]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
mips: Do not malloc on getdents64 fallback
[thirdparty/glibc.git] / ChangeLog
CommitLineData
edcda4c0
AZ
12019-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2
3 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
4 Add small optimization for older kernel to avoid issuing
5 __NR_getdents64 on each call and replace scratch_buffer usage with
6 a static allocated buffer.
7
00fe3c66
FW
82019-10-09 Florian Weimer <fweimer@redhat.com>
9
10 * config.h.in (HAVE_GCC_GOTDATA): Remove.
11 * sysdeps/sparc/configure.ac: Remove checks for HAVE_GCC_GOTDATA
12 and PI_STATIC_AND_HIDDEN. Always define PI_STATIC_AND_HIDDEN.
13 * sysdeps/sparc/configure: Regenerate.
14
112a630b
PV
152019-10-09 Petr Vorel <pvorel@suse.cz>
16
17 * include/dirent.h (__getdents64): Update comment.
18
52151051
GG
192019-10-08 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
20
21 * Makefile: Fix locale dependency for a couple of tests.
22 ($(objpfx)tst-strftime2.out): New rule.
23 ($(objpfx)tst-strftime3.out): Likewise.
24
25465ee0
FW
252019-10-08 Florian Weimer <fweimer@redhat.com>
26
27 * posix/tst-wordexp-nocmd.c (do_test): Fix diagnostics output.
28
32036901
FW
292019-10-08 Florian Weimer <fweimer@redhat.com>
30
31 * posix/Makefile (tests): Add tst-wordexp-nocmd.
32 * posix/wordexp-test.c (__app_register_atfork): Remove function.
33 (registered_forks): Remove variable.
34 (register_fork): Remove function.
35 (test_case): Remove WRDE_NOCMD tests.
36 (main): Do not set up fork tracking. Remove integer overflow in
37 division tests.
38 (testit): Do not check for unexpected forks.
39 * posix/tst-wordexp-nocmd.c: New file containing the tests removed
40 from posix/wordexp-test.c.
41
ca602c15
FW
422019-10-07 Florian Weimer <fweimer@redhat.com>
43
44 nptl: Move pthread_attr_setschedparam implementation into libc.
45 * nptl/Makefile (routines): Add pthread_attr_setschedparam.
46 (libpthread-routines): Remove pthread_attr_setschedparam.
47 * nptl/Versions (libpthread GLIBC_2.0): Remove
48 pthread_attr_setschedparam.
49 * nptl/forward.c (pthread_attr_setschedparam): Remove definition.
50 * nptl/nptl-init.c (pthread_functions): Remove initializer for
51 ptr_pthread_attr_setschedparam.
52 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
53 Remove ptr_pthread_attr_setschedparam member.
54 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
55 Remove pthread_attr_setschedparam.
56 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
57 Likewise.
58 * sysdeps/unix/sysv/linux/arm/be/libpthread.abilist (GLIBC_2.4):
59 Likewise.
60 * sysdeps/unix/sysv/linux/arm/le/libpthread.abilist (GLIBC_2.4):
61 Likewise.
62 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
63 Likewise.
64 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
65 Likewise.
66 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
67 Likewise.
68 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
69 Likewise.
70 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
71 (GLIBC_2.4): Likewise.
72 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
73 (GLIBC_2.0): Likewise.
74 * sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist
75 (GLIBC_2.18): Likewise.
76 * sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist
77 (GLIBC_2.18): Likewise.
78 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
79 (GLIBC_2.0): Likewise.
80 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
81 (GLIBC_2.0): Likewise.
82 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
83 Likewise.
84 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
85 (GLIBC_2.0): Likewise.
86 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
87 (GLIBC_2.3): Likewise.
88 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
89 (GLIBC_2.17): Likewise.
90 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
91 (GLIBC_2.27): Likewise.
92 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
93 (GLIBC_2.0): Likewise.
94 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
95 (GLIBC_2.2): Likewise.
96 * sysdeps/unix/sysv/linux/sh/be/libpthread.abilist (GLIBC_2.2):
97 Likewise.
98 * sysdeps/unix/sysv/linux/sh/le/libpthread.abilist (GLIBC_2.2):
99 Likewise.
100 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
101 (GLIBC_2.0): Likewise.
102 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
103 (GLIBC_2.2): Likewise.
104 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
105 (GLIBC_2.2.5): Likewise.
106 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
107 (GLIBC_2.16): Likewise.
108
921abe47
FW
1092019-10-07 Florian Weimer <fweimer@redhat.com>
110
111 riscv: Remove support for variable page sizes.
112 * sysdeps/unix/sysv/linux/riscv/Makefile [$(subdir) == elf]
113 (sysdep_routines): Do not add dl-static.
114 * sysdeps/unix/sysv/linux/riscv/dl-static.c: Remove file.
115 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
116
0caab663
FW
1172019-10-07 Florian Weimer <fweimer@redhat.com>
118
119 nptl: Move pthread_attr_getschedparam implementation into libc.
120 * nptl/Makefile (routines): Add pthread_attr_getschedparam.
121 (libpthread-routines): Remove pthread_attr_getschedparam.
122 * nptl/Versions (libpthread GLIBC_2.0): Remove
123 pthread_attr_getschedparam.
124 * nptl/forward.c (pthread_attr_getschedparam): Remove definition.
125 * nptl/nptl-init.c (pthread_functions): Remove initializer for
126 ptr_pthread_attr_getschedparam.
127 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
128 Remove ptr_pthread_attr_getschedparam member.
129 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
130 Remove pthread_attr_getschedparam.
131 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
132 Likewise.
133 * sysdeps/unix/sysv/linux/arm/be/libpthread.abilist (GLIBC_2.4):
134 Likewise.
135 * sysdeps/unix/sysv/linux/arm/le/libpthread.abilist (GLIBC_2.4):
136 Likewise.
137 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
138 Likewise.
139 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
140 Likewise.
141 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
142 Likewise.
143 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
144 Likewise.
145 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
146 (GLIBC_2.4): Likewise.
147 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
148 (GLIBC_2.0): Likewise.
149 * sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist
150 (GLIBC_2.18): Likewise.
151 * sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist
152 (GLIBC_2.18): Likewise.
153 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
154 (GLIBC_2.0): Likewise.
155 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
156 (GLIBC_2.0): Likewise.
157 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
158 Likewise.
159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
160 (GLIBC_2.0): Likewise.
161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
162 (GLIBC_2.3): Likewise.
163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
164 (GLIBC_2.17): Likewise.
165 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
166 (GLIBC_2.27): Likewise.
167 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
168 (GLIBC_2.0): Likewise.
169 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
170 (GLIBC_2.2): Likewise.
171 * sysdeps/unix/sysv/linux/sh/be/libpthread.abilist (GLIBC_2.2):
172 Likewise.
173 * sysdeps/unix/sysv/linux/sh/le/libpthread.abilist (GLIBC_2.2):
174 Likewise.
175 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
176 (GLIBC_2.0): Likewise.
177 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
178 (GLIBC_2.2): Likewise.
179 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
180 (GLIBC_2.2.5): Likewise.
181 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
182 (GLIBC_2.16): Likewise.
183
77523d5e
FW
1842019-10-04 Florian Weimer <fweimer@redhat.com>
185
186 [BZ #24930]
187 * elf/dl-load.c (_dl_map_object_from_fd): Only assign TLS modid if
188 the link map will be returned to the caller.
189 * elf/Makefile [$(have-fpie) && $(build-shared)] (tests, tests-pie):
190 Add tst-dlopen-aout-pie.
191 (tst-tst-dlopen-aout-no-pie): Set.
192 (CFLAGS-tst-dlopen-aout-pie.c): Build with -fpie.
193 (tst-dlopen-aout-pie): Link with -ldl -lpthread.
194 * elf/tst-dlopen-aout-pie.c: New file.
195
2b26b084
FW
1962019-10-04 Florian Weimer <fweimer@redhat.com>
197
198 [BZ #24900]
199 * elf/dl-load.c (_dl_map_object_from_fd): Do not use the file ID
200 when loading the executable as part of an explicit loader
201 invocation.
202
eaad14b5
FW
2032019-10-04 Florian Weimer <fweimer@redhat.com>
204
205 nptl: Move pthread_attr_setinheritsched implementation into libc.
206 * nptl/Makefile (routines): Add pthread_attr_setinheritsched.
207 (libpthread-routines): Remove pthread_attr_setinheritsched.
208 * nptl/Versions (libpthread GLIBC_2.0): Remove
209 pthread_attr_setinheritsched.
210 * nptl/forward.c (pthread_attr_setinheritsched): Remove definition.
211 * nptl/nptl-init.c (pthread_functions): Remove initializer for
212 ptr_pthread_attr_setinheritsched.
213 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
214 Remove ptr_pthread_attr_setinheritsched member.
215 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
216 Remove pthread_attr_setinheritsched.
217 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
218 Likewise.
219 * sysdeps/unix/sysv/linux/arm/be/libpthread.abilist (GLIBC_2.4):
220 Likewise.
221 * sysdeps/unix/sysv/linux/arm/le/libpthread.abilist (GLIBC_2.4):
222 Likewise.
223 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
224 Likewise.
225 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
226 Likewise.
227 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
228 Likewise.
229 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
230 Likewise.
231 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
232 (GLIBC_2.4): Likewise.
233 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
234 (GLIBC_2.0): Likewise.
235 * sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist
236 (GLIBC_2.18): Likewise.
237 * sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist
238 (GLIBC_2.18): Likewise.
239 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
240 (GLIBC_2.0): Likewise.
241 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
242 (GLIBC_2.0): Likewise.
243 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
244 Likewise.
245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
246 (GLIBC_2.0): Likewise.
247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
248 (GLIBC_2.3): Likewise.
249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
250 (GLIBC_2.17): Likewise.
251 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
252 (GLIBC_2.27): Likewise.
253 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
254 (GLIBC_2.0): Likewise.
255 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
256 (GLIBC_2.2): Likewise.
257 * sysdeps/unix/sysv/linux/sh/be/libpthread.abilist (GLIBC_2.2):
258 Likewise.
259 * sysdeps/unix/sysv/linux/sh/le/libpthread.abilist (GLIBC_2.2):
260 Likewise.
261 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
262 (GLIBC_2.0): Likewise.
263 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
264 (GLIBC_2.2): Likewise.
265 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
266 (GLIBC_2.2.5): Likewise.
267 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
268 (GLIBC_2.16): Likewise.
269
2334a78a
JM
2702019-10-02 Joseph Myers <joseph@codesourcery.com>
271
272 * sunrpc/clnt_udp.c: Include <libc-diag.h>.
273 (clntudp_call): Disable -Wmaybe-uninitialized around declaration
274 of total_deadline.
275
0095a3e8
AF
2762019-10-02 Alistair Francis <alistair.francis@wdc.com>
277
278 * string/endian.h: Restore the __USE_MISC conditionals.
279
eed00527
JM
2802019-10-02 Joseph Myers <joseph@codesourcery.com>
281
282 * string/tester.c: Ignore -Warray-bounds and
283 -Wmemset-transposed-args at top level.
284 [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict and -Wstringop-overflow=
285 at top level.
286 [__GNUC_PREREQ (8, 0)]: Ignore -Wstringop-truncation at top level.
287 (test_stpncpy): Do not ignore warnings here.
288 (test_strncat): Likewise.
289 (test_strncpy): Likewise.
290 (test_memset): Likewise.
291
4973abcb
LM
2922019-10-02 Łukasz Majewski <lukma@denx.de>
293 * include/time.h: Add #include <bits/types/struct_timeval.h>
294
02119748
PC
2952019-10-02 Paul A. Clarke <pc@us.ibm.com>
296
297 * sysdeps/powerpc/fpu/fenv_private.h:
298 (__TEST_AND_BEGIN_NON_STOP): New.
299 (__TEST_AND_END_NON_STOP): New.
300 (libc_feholdexcept_setround_ppc): Use __TEST_AND_BEGIN_NON_STOP.
301 (__libc_femergeenv_ppc): Use __TEST_AND_BEGIN_NON_STOP and
302 __TEST_AND_END_NON_STOP.
303 (libc_feholdsetround_noex_ppc_ctx): Use __TEST_AND_END_NON_STOP.
304
21417aaa
AS
3052019-10-02 Arjun Shankar <arjun@redhat.com>
306
307 debugglibc.sh: Implement program arguments
308 * Makefile (debugglibc): Change variable definition.
309
69fd157a
AF
3102019-10-01 Alistair Francis <alistair.francis@wdc.com>
311
312 * time/bits/types/struct_timespec.h: Add padding for the timespec if
313 required.
314
aa706e13
AF
3152019-10-01 Zack Weinberg <zackw@panix.com>
316 Alistair Francis <alistair.francis@wdc.com>
317
318 * string/endian.h: Unconditionally define LITTLE_ENDIAN,
319 BIG_ENDIAN, PDP_ENDIAN, and BYTE_ORDER. Condition byteswapping
320 macros only on !__ASSEMBLER__. Move the definitions of
321 __BIG_ENDIAN, __LITTLE_ENDIAN, __PDP_ENDIAN, __FLOAT_WORD_ORDER,
322 and __LONG_LONG_PAIR to...
323 * string/bits/endian.h: ...this new file, which includes
324 the renamed header bits/endianness.h for the definition of
325 __BYTE_ORDER and possibly __FLOAT_WORD_ORDER.
326
327 * string/Makefile: Install bits/endianness.h.
328 * include/bits/endian.h: New wrapper.
329
330 * bits/endian.h: Rename to bits/endianness.h.
331 Add multiple-include guard. Rewrite the comment explaining what
332 the machine-specific variants of this file should do.
333
334 * sysdeps/unix/sysv/linux/ia64/bits/endian.h:
335 Move to sysdeps/ia64.
336
337 * sysdeps/aarch64/bits/endian.h
338 * sysdeps/alpha/bits/endian.h
339 * sysdeps/arm/bits/endian.h
340 * sysdeps/csky/bits/endian.h
341 * sysdeps/hppa/bits/endian.h
342 * sysdeps/ia64/bits/endian.h
343 * sysdeps/m68k/bits/endian.h
344 * sysdeps/microblaze/bits/endian.h
345 * sysdeps/mips/bits/endian.h
346 * sysdeps/nios2/bits/endian.h
347 * sysdeps/powerpc/bits/endian.h
348 * sysdeps/riscv/bits/endian.h
349 * sysdeps/s390/bits/endian.h
350 * sysdeps/sh/bits/endian.h
351 * sysdeps/sparc/bits/endian.h
352 * sysdeps/x86/bits/endian.h:
353 Rename to endianness.h; canonicalize form of file; remove
354 redundant definitions of __FLOAT_WORD_ORDER.
355
356 * sysdeps/powerpc/bits/endianness.h: Remove logic to check for
357 broken compilers.
358
359 * ctype/ctype.h
360 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
361 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
362 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h
363 * sysdeps/ia64/ieee754.h
364 * sysdeps/ieee754/ieee754.h
365 * sysdeps/ieee754/ldbl-128/ieee754.h
366 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
367 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
368 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
369 * sysdeps/mips/ieee754/ieee754.h
370 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
371 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
372 * sysdeps/nptl/pthread.h
373 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h
374 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
375 * sysdeps/sparc/sparc32/ieee754.h
376 * sysdeps/unix/sysv/linux/generic/bits/stat.h
377 * sysdeps/unix/sysv/linux/generic/bits/statfs.h
378 * sysdeps/unix/sysv/linux/sys/acct.h
379 * wctype/bits/wctype-wchar.h:
380 Include bits/endian.h, not endian.h.
381
382 * sysdeps/unix/sysv/linux/hppa/pthread.h: Don’t include endian.h.
383
384 * sysdeps/mips/ieee754/ieee754.h: Use __LDBL_MANT_DIG__
385 in ifdefs, instead of LDBL_MANT_DIG. Only include float.h
386 when __LDBL_MANT_DIG__ is not predefined, in which case
387 define __LDBL_MANT_DIG__ to equal LDBL_MANT_DIG.
388
8e42fc68
MF
3892019-09-17 Mike FABIAN <mfabian@redhat.com>
390
391 * localedata/locales/az_AZ: Make lang_name agree with CLDR
392 * localedata/locales/be_BY@latin: Make lang_name agree with langtable
393 * localedata/locales/ber_DZ: Make language, country_name, lang_name agree with langtable
394 * localedata/locales/ber_MA: Add country_name from langtable, make language, lang_name agree with langtable
395 * localedata/locales/bhb_IN: Add country_name from langtable, make lang_name agree with langtable
396 * localedata/locales/bho_IN: Add country_name from langtable
397 * localedata/locales/chr_US: Make country_name agree with CLDR
398 * localedata/locales/crh_UA: Make lang_name agree with langtable
399 * localedata/locales/csb_PL: Add country_name from langtable
400 * localedata/locales/doi_IN: Add country_name from langtable
401 * localedata/locales/dv_MV: Add country_name from langtable
402 * localedata/locales/eo: Fix capitalisation of lang_name, agree with CLDR
403 * localedata/locales/hak_TW: Make lang_name agree with langtable
404 * localedata/locales/hif_FJ: Make lang_name agree with langtable
405 * localedata/locales/hne_IN: Add country_name from langtable
406 * localedata/locales/ia_FR: Fix capitalisation of lang_name, agree with CLDR
407 * localedata/locales/id_ID: Make lang_name agree with CLDR
408 * localedata/locales/ig_NG: Make country_name, lang_name agree with CLDR
409 * localedata/locales/kab_DZ: Make country_name agree with CLDR
410 * localedata/locales/ks_IN: Make country_name agree with CLDR
411 * localedata/locales/ku_TR: Make country_name, lang_name agree with CLDR
412 * localedata/locales/mag_IN: Add country_name from langtable
413 * localedata/locales/mfe_MU: Make country_name agree with CLDR
414 * localedata/locales/mhr_RU: Add lang_name from langtable
415 * localedata/locales/mi_NZ: Make lang_name agree with CLDR
416 * localedata/locales/ms_MY: Make lang_name agree with CLDR
417 * localedata/locales/nan_TW: Make lang_name agree with langtable
418 * localedata/locales/nan_TW@latin: Make lang_name agree with langtable
419 * localedata/locales/nds_DE: Make lang_name agree with langtable
420 * localedata/locales/nds_NL: Make lang_name agree with langtable
421 * localedata/locales/nhn_MX: Add country_name from langtable, make lang_name agree with langtable
422 * localedata/locales/niu_NU: Add country_name, lang_name from langtable
423 * localedata/locales/niu_NZ: Add lang_name from langtable
424 * localedata/locales/nr_ZA: Fix capitalisation of lang_name from langtable
425 * localedata/locales/oc_FR: Fix capitalisation of lang_name from langtable
426 * localedata/locales/or_IN: Fix spelling of language from langtable
427 * localedata/locales/pa_PK: Make country_name agree with CLDR
428 * localedata/locales/ps_AF: Make country_name agree with CLDR
429 * localedata/locales/quz_PE: Make language, lang_name agree with langtable
430 * localedata/locales/raj_IN: Make country_name, lang_name agree with langtable
431 * localedata/locales/rw_RW: Make country_name agree with CLDR
432 * localedata/locales/sah_RU: Make langauge, country_name, lang_name agree with CLDR
433 * localedata/locales/sat_IN: Make country_name, lang_name agree with langtable
434 * localedata/locales/sc_IT: Fix capitalisaton of lang_name according to langtable
435 * localedata/locales/sd_IN: Make country_name, lang_name agree with CLDR
436 * localedata/locales/sd_IN@devanagari: Make lang_name agree with langtable
437 * localedata/locales/shn_MM: Make country_name agree with langtable
438 * localedata/locales/shs_CA: Make language, lang_name agree with langtable
439 * localedata/locales/sm_WS: Make country_name agree with langtable
440 * localedata/locales/ss_ZA: Fix capitalisation of lang_name from langtable
441 * localedata/locales/szl_PL: Add country_name from langtable
442 * localedata/locales/te_IN: Fix country_name from CLDR
443 * localedata/locales/tg_TJ: Add lang_name from CLDR
444 * localedata/locales/the_NP: Add country_name, lang_name from langtable
445 * localedata/locales/tk_TM: Make lang_name agree with CLDR
446 * localedata/locales/tl_PH: Add lang_name from langtable
447 * localedata/locales/to_TO: Make lang_name agree with CLDR
448 * localedata/locales/tpi_PG: Make country_name, lang_name agree with langtable
449 * localedata/locales/tt_RU@iqtelif: Add country_name, lang_name from langtable
450 * localedata/locales/ug_CN: Add lang_name from CLDR
451 * localedata/locales/unm_US: Add lang_name from langtable
452 * localedata/locales/wa_BE: Fix capitalisation of lang_name from langtable
453 * localedata/locales/wo_SN: Add lang_name from CLDR
454 * localedata/locales/xh_ZA: Fix capitalisation of country_name, lang_name from CLDR
455 * localedata/locales/yo_NG: Make country_name agree with CLDR
456 * localedata/locales/yuw_PG: Make langauge, lang_name agree with langtable
457 * localedata/locales/zh_HK: Add lang_name from langtable
458 * localedata/locales/zh_SG: Add lang_name from langtable
459
b5b67ece
JM
4602019-09-30 Joseph Myers <joseph@codesourcery.com>
461
462 * scripts/build-many-glibcs.py (Context.checkout): Default
463 binutils version to 2.33 branch.
464
9c44c6a9
LM
4652019-10-01 Lukasz Majewski <lukma@denx.de>
466
467 * include/time.h (valid_timeval_to_timespec64): Add.
468 * include/time.h (valid_timespec_to_timespec64): Likewise.
469 * include/time.h (valid_timespec64_to_timespec): Likewise.
470 * include/time.h (valid_timespec64_to_timeval): Likewise.
471
71bdf29a
JM
4722019-09-30 Joseph Myers <joseph@codesourcery.com>
473
474 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
475 (MAP_SYNC): New macro.
476 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
477 (MAP_SYNC): Likewise.
478 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Update Linux
479 kernel version number to 5.3.
480
d7a568af
PC
4812019-09-27 Paul A. Clarke <pc@us.ibm.com>
482
483 * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_mode): Rename to
484 fesetenv_control.
485 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Accommodate
486 rename of fesetenv_mode to fegetenv_control.
487 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
488 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Likewise.
489 * sysdeps/powerpc/fpu/fenv_private.h (__libc_femergeenv_ppc): Likewise.
490 (libc_feholdsetround_noex_ppc_ctx): Likewise.
491
36c17c70
PC
4922019-09-27 Paul A. Clarke <pc@us.ibm.com>
493
494 * sysdeps/powerpc/fpu/fenv_private.h
495 (libc_feholdsetround_noex_ppc_ctx): Call fesetenv_mode instead
496 of fesetenv_register.
497
81ecb0ee
PC
4982019-09-27 Paul A. Clarke <pc@us.ibm.com>
499
500 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status): Rename to
501 fegetenv_control.
502 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Accommodate
503 rename of fegetenv_status to fegetenv_control.
504 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
505 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
506 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Likewise.
507 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
508 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Likewise.
509
e68b1151
PC
5102019-09-27 Paul A. Clarke <pc@us.ibm.com>
511
512 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline): Use
513 'mffscrn' instruction on POWER9.
514 (__fesetround_inline_nocheck): Likewise.
515
7413c188
PC
5162019-09-27 Paul A. Clarke <pc@us.ibm.com>
517
518 * sysdeps/powerpc/fpu/fenv_libc.h (FPSCR_EXCEPTIONS_MASK): New.
519 * sysdeps/powerpc/fpu/fenv_private.h (__libc_femergeenv_ppc): Optimize
520 to write FPSCR control only, if exceptions have not changed.
521
e3d85df5
PC
5222019-09-27 Paul A. Clarke <pc@us.ibm.com>
523
524 * sysdeps/powerpc/fpu/fenv_libc.h:
525 (__TEST_AND_ENTER_NON_STOP): New.
526 (__TEST_AND_EXIT_NON_STOP): New.
527 * sysdeps/powerpc/fpu/fenv_private.h
528 (_FPU_ALL_TRAPS): Delete, replace with FPSCR_ENABLES_MASK.
529 (_FPU_MASK_RN): Delete.
530 (_FPU_MASK_NOT_RN_NI): Delete.
531 (_FPU_MASK_TRAPS_RN): Delete, replace with ~FPSCR_CONTROL_MASK.
532 (_FPU_MASK_FRAC_INEX_RET_CC): Delete, replace with ~FPSCR_STATUS_MASK.
533 (__libc_feholdbits_ppc): Delete, move code into
534 libc_feholdexcept_setround_ppc.
535 (libc_feholdexcept_ppc): Delete.
536 (libc_fesetround_ppc): Delete.
537 (libc_fetestexcept_ppc): Delete.
538 (libc_feholdsetround_ppc): Delete.
539 (__libc_femergeenv_ppc): Use __TEST_AND_ENTER/EXIT_NON_STOP.
540 (libc_feholdsetround_noex_ppc_ctx): Likewise.
541 (libc_feupdateenv_test_ppc): Use FPSCR defines.
542 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
543 __TEST_AND_ENTER_NON_STOP.
544 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
545 * sysdeps/powerpc/fpu/feholdexcpt.c (__feholdexcept): Likewise.
546 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
547 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Likewise.
548 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
549 (_FPU_MASK_ALL): Delete.
550
9a44050e
JM
5512019-09-27 Joseph Myers <joseph@codesourcery.com>
552
553 * sysdeps/gnu/netinet/tcp.h (TCP_TX_DELAY): New macro.
554
464cd3a9
LM
5552019-09-26 Lukasz Majewski <lukma@denx.de>
556
557 * include/time.h: Add struct __timespec64 definition
558
8b45cac0
SP
5592019-09-26 Siddhesh Poyarekar <siddhesh@gotplt.org>
560
561 * scripts/vcs_to_changelog/misc_util.py (decode): Remove latin1
562 from codecs.
563
bacd3227
AZ
5642019-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
565
b2b3b759
AZ
566 * rt/Makefile (CFLAGS-clock_nanosleep.c): Move to ...
567 * time/Makefile (CFLAGS-clock_nanosleep.c): ... here.
568
bacd3227
AZ
569 * sysdeps/unix/sysv/linux/Makefile
570 (CFLAGS-tst-sigcontextinfo-get_pc.c): Rename to
571 CFLAGS-tst-sigcontext-get_pc.c.
572
5d245b5f 5732019-09-24 Alistair Francis <alistair.francis@wdc.com>
6a7041a2 574
5d245b5f
AF
575 * inet/net-internal.h: Fix uninitalised clntudp_call() variable.
576
eb502f72
AS
5772019-09-24 Andreas Schwab <schwab@suse.de>
578
579 * sysdeps/unix/sysv/linux/arm/sysdep.h
580 (HAVE_CLOCK_GETTIME_VSYSCALL): Define to "__vdso_clock_gettime",
581 not "__vdso_gettimeofday".
582 (HAVE_GETTIMEOFDAY_VSYSCALL): Define to "__vdso_gettimeofday", not
583 "__vdso_clock_gettime".
584 * sysdeps/unix/sysv/linux/mips/sysdep.h
585 (HAVE_CLOCK_GETTIME_VSYSCALL): Define to "__vdso_clock_gettime",
586 not "__vdso_gettimeofday".
587 (HAVE_GETTIMEOFDAY_VSYSCALL): Define to "__vdso_gettimeofday", not
588 "__vdso_clock_gettime".
589
f1c56cdf 5902019-09-19 Paul A. Clarke <pc@us.ibm.com>
eb502f72 591
f1c56cdf
PC
592 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_and_set_rn): New.
593 (__fe_mffscrn): New.
594 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc_ctx):
595 Do not clear enable bits, remove obsolete code, use
596 fegetenv_and_set_rn.
597 (libc_feresetround_ppc): Remove obsolete code, use
598 fegetenv_and_set_rn.
599
64fab363
SL
6002019-09-19 Stefan Liebler <stli@linux.ibm.com>
601
602 * support/support_ptrace.c: Remove inclusion of sys/prctl.h.
603
73d9051d
SL
6042019-09-19 Stefan Liebler <stli@linux.ibm.com>
605
606 * sysdeps/s390/hp-timing.h (_HP_TIMING_H): Undefine.
607 (_HP_TIMING_S390_H): Define.
608
2dd8d4a7
JM
6092019-09-18 Joseph Myers <joseph@codesourcery.com>
610
0f02b6cf
JM
611 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
612 version to 5.3.
613 (clone3): New syscall.
614 (pidfd_open): Likewise.
615
2dd8d4a7
JM
616 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
617 version to 5.3.
618
2b680878
SL
6192019-09-18 Stefan Liebler <stli@linux.ibm.com>
620
621 * sysdeps/s390/hp-timing.h: New file.
622
8cacbcf4
JM
6232019-09-18 Joseph Myers <joseph@codesourcery.com>
624
625 * sysdeps/unix/sysv/linux/riscv/vfork.S: Do not include
626 <linux/sched.h>.
627 (CLONE_VM): New macro.
628 (CLONE_VFORK): Likewise.
629
2f9046fb
SL
6302019-09-18 Stefan Liebler <stli@linux.ibm.com>
631
632 * elf/tst-pldd.c (do_test): Add UNSUPPORTED check.
633 Rearrange subprocesses.
634 (pldd_process): New function.
635 * support/Makefile (libsupport-routines): Add support_ptrace.
636 * support/xptrace.h: New file.
637 * support/support_ptrace.c: Likewise.
638
b8386c28
AZ
6392019-09-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
640
87accae3
AZ
641 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Remove file.
642
7c3eed78
AZ
643 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
644 (INTERNAL_VSYSCALL_CALL): Remove.
645 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
646 (INTERNAL_VSYSCALL_CALL): Likewise.
647 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
648 (INTERNAL_VSYSCALL_CALL): Likewise.
649 * sysdeps/unix/sysv/linux/mips/sysdep.h (INTERNAL_VSYSCALL_CALL):
650 New macro.
651
986a5064
AZ
652 * sysdeps/unix/sysv/linux/libc-vdso.h (VDSO_IFUNC_RET): Define if not
653 defined.
654 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
655 (__get_timebase_freq): Remove use of
656 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK.
657 (get_timebase_freq_fallback): New symbol.
658 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (time): Use
659 HAVE_GETTIMEOFDAY_VSYSCALL.
660 * sysdeps/unix/sysv/linux/powerpc/time.c (gettimeofday): Use
661 HAVE_TIME_VSYSCALL.
662 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Include generic
663 implementation.
664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
665 (INTERNAL_VSYSCALL_CALL_TYPE): Make calling convention similar to
666 powerpc64.
667 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove macro.
668 * .../sysv/linux/powerpc/powerpc64/sysdep.h
669 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Likewise.
670 * sysdeps/unix/sysv/linux/powerpc/sysdep.h
671 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
672
b8a7c7da
AZ
673 * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address,
674 is_sigtramp_address_rt): Use HAVE_SIGTRAMP_{RT}32 instead of SHARED.
675 * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address):
676 Likewise.
677 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove file.
678 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Likewise.
679 * sysdeps/unix/sysv/linux/arm/init-first.c: Likewise.
680 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Likewise.
681 * sysdeps/unix/sysv/linux/mips/init-first.c: Likewise.
682 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Likewise.
683 * sysdeps/unix/sysv/linux/i386/init-first.c: Likewise.
684 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
685 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
686 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
687 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
688 * sysdeps/unix/sysv/linux/sparc/init-first.c: Likewise.
689 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
690 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Likewise.
691 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
692 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
693 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
694 HAVE_GETTIMEOFDAY_VSYSCALL): Define value based on kernel exported
695 name.
696 * sysdeps/unix/sysv/linux/arm/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
697 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
698 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
699 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
700 * sysdeps/unix/sysv/linux/mips/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
701 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
702 * sysdeps/unix/sysv/linux/powerpc/sysdep.h
703 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
704 HAVE_GETCPU_VSYSCALL, HAVE_TIME_VSYSCALL, HAVE_GET_TBFREQ,
705 HAVE_SIGTRAMP_RT64, HAVE_SIGTRAMP_32, HAVE_SIGTRAMP_RT32i,
706 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
707 * sysdeps/unix/sysv/linux/riscv/sysdep.h (HAVE_CLOCK_GETRES_VSYSCALL,
708 HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
709 HAVE_GETCPU_VSYSCALL): Likewise.
710 * sysdeps/unix/sysv/linux/s390/sysdep.h (HAVE_CLOCK_GETRES_VSYSCALL,
711 HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
712 HAVE_GETCPU_VSYSCALL): Likewise.
713 * sysdeps/unix/sysv/linux/sparc/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
714 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
715 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
716 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
717 HAVE_GETCPU_VSYSCALL): Likewise.
718 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME, VDSO_HASH): Define to
719 invalid names if architecture does not define them.
720 (get_vdso_mangle_symbol): New symbol.
721 * sysdeps/unix/sysv/linux/init-first.c: New file.
722 * sysdeps/unix/sysv/linux/libc-vdso.h: Likewise.
723 * sysdeps/unix/sysv/linux/powerpc/init-first.c (gettimeofday,
724 clock_gettime, clock_getres, getcpu, time): Remove declaration.
725 (__libc_vdso_platform_setup_arch): Likewise and use
726 get_vdso_mangle_symbol to setup vDSO symbols.
727 (sigtramp_rt64, sigtramp32, sigtramp_rt32, get_tbfreq): Add
728 attribute_hidden.
729 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Likewise.
730 * sysdeps/unix/sysv/linux/sysdep-vdso.h (VDSO_SYMBOL): Remove
731 definition.
732
b8386c28
AZ
733 * sysdeps/unix/make-syscalls.sh: Make vDSO call use get_vdso_symbol.
734 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (__gettimeofday):
735 Use get_vdso_symbol instead of _dl_vdso_vsym.
736 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
737 * sysdeps/unix/sysv/linux/riscv/flush-icache.c
738 (__lookup_riscv_flush_icache): Likewise.
739 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
740 Likewise.
741 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
742 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
743 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
744 * sysdeps/unix/sysv/linux/arm/init-first.c: Likewise.
745 * sysdeps/unix/sysv/linux/i386/init-first.c: Likewise.
746 * sysdeps/unix/sysv/linux/mips/init-first.c: Likewise.
747 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
748 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
749 * sysdeps/unix/sysv/linux/sparc/init-first.c: Likewise.
750 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
751 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
752 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (VDSO_NAME, VDSO_HASH):
753 Define.
754 * sysdeps/unix/sysv/linux/arm/sysdep.h (VDSO_NAME, VDSO_HASH):
755 Likewise.
756 * sysdeps/unix/sysv/linux/i386/sysdep.h (VDSO_NAME, VDSO_HASH):
757 Likewise.
758 * sysdeps/unix/sysv/linux/riscv/sysdep.h (VDSO_NAME, VDSO_HASH):
759 Likewise.
760 * sysdeps/unix/sysv/linux/sparc/sysdep.h (VDSO_NAME, VDSO_HASH):
761 Likewise.
762 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (VDSO_NAME, VDSO_HASH):
763 Likewise.
764 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
765 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Remove
766 definition.
767 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
768 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
769 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
770 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
772 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
774 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
775 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
776 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
777 HAVE_GETTIMEOFDAY_VSYSCALL, HAVE_GETCPU_VSYSCALL): Likewise.
778 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
779 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
780 HAVE_GETTIMEOFDAY_VSYSCALL, HAVE_GETCPU_VSYSCALL): Likewise.
781 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
782 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
783 * sysdeps/unix/sysv/linux/s390/sysdep.h: Likewise.
784 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION,
785 PREPARE_VERSION_KNOWN, VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6,
786 VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15,
787 VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29,
788 VDSO_NAME_LINUX_4_15, VDSO_HASH_LINUX_4_15): Remove defines.
789 (get_vdso_symbol): New function.
790
b881217f
CLT
7912019-09-17 Chung-Lin Tang <cltang@codesourcery.com>
792
793 * sysdeps/generic/hp-timing-common.h (HP_TIMING_PRINT): Correct
794 position of string null termination.
795
1a656609
AJ
7962019-09-14 Aurelien Jarno <aurelien@aurel32.net>
797
798 [BZ #24986]
799 * sysdeps/unix/alpha/getegid.S: Move to ...
800 * sysdeps/unix/sysv/linux/alpha/getegid.S: ... here.
801 * sysdeps/unix/alpha/geteuid.S: Move to ...
802 * sysdeps/unix/sysv/linux/alpha/geteuid.S: ... here.
803 * sysdeps/unix/alpha/getppid.S: Move to ...
804 * sysdeps/unix/sysv/linux/alpha/getppid.S: ... here
805
3f02b772
PE
8062019-09-09 Paul Eggert <eggert@cs.ucla.edu>
807
02d35f06
PE
808 Fix http: URL in 'configure'
809 * configure.ac: Add URL to AC_INIT so that it generates an
810 https: URL instead of an http: URL.
811 * configure: Regenerate.
812
3f02b772
PE
813 Regenerate charmap-kw.h, locfile-kw.h
814 This propagates the recent http->https URL changes.
815 Since I used gperf 3.1 to regenerate, this is also a minor
816 internal-to-localedef API change.
817 URL problem reported by Joseph Myers in:
818 https://www.sourceware.org/ml/libc-alpha/2019-09/msg00143.html
819 * locale/programs/charmap-kw.h, locale/programs/locfile-kw.h:
820 Regenerate with gperf 3.1.
821 * locale/programs/linereader.h (kw_hash_fct_t):
822 * locale/programs/repertoire.c (repertoiremap_hash):
823 2nd arg is now size_t not unsigned, for compatibility with gperf 3.1.
824
de18a706
FW
8252019-09-05 Florian Weimer <fweimer@redhat.com>
826
827 [BZ #24962]
828 * locale/localeinfo.h (_nl_category_names): Remove union wrapper.
829 (_nl_category_names_get): New function.
830 * intl/dcigettext.c (category_to_name): Call it.
831 * locale/findlocale.c (_nl_find_locale): Likewise.
832 * intl/loadlocale.c (_nl_load_locale): Likewise.
833 * locale/newlocale.c (__newlocale): Likewise.
834 * locale/setlocale.c (_nl_category_names): Adjust definition.
835 (_nl_category_name_idxs): Likewise.
836 (new_composite_name): Call _nl_category_names_get.
837 (setlocale): Likewise.
838
ab41100b
GG
8392019-09-05 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
840
841 * math/bits/mathcalls.h (totalorder, totalordermag): Replace
842 const attribute with pure attribute.
843
a26918cf
LM
8442019-09-04 Lukasz Majewski <lukma@denx.de>
845
846 * sysdeps/unix/sysv/linux/kernel-features.h
847 (__ASSUME_TIME64_SYSCALLS): New macro.
848
7b5af2d8
ZW
8492019-09-04 Zack Weinberg <zackw@panix.com>
850
851 [BZ #24959]
852 * rt/clock_getcpuclockid.c: Move to time/clock_getcpuclockid.c.
853 * rt/clock_getres.c: Move to time/clock_getres.c.
854 * rt/clock_gettime.c: Move to time/clock_gettime.c.
855 * rt/clock_nanosleep.c: Move to time/clock_nanosleep.c.
856 * rt/clock_settime.c: Move to time/clock_settime.c.
857 * rt/tst-clock.c: Move to time/tst-clock.c.
858 * rt/tst-clock2.c: Move to time/tst-clock2.c.
859 * rt/tst-clock_nanosleep.c: Move to time/tst-clock_nanosleep.c.
860 * rt/tst-cpuclock1.c: Move to time/tst-cpuclock1.c.
861 * rt/clock-compat.c: Delete file.
862
863 * time/clock_getcpuclockid.c
864 * time/clock_getres.c
865 * time/clock_gettime.c
866 * time/clock_nanosleep.c
867 * time/clock_settime.c
868 * sysdeps/posix/clock_getres.c
869 * sysdeps/unix/clock_gettime.c
870 * sysdeps/unix/clock_nanosleep.c
871 * sysdeps/unix/clock_settime.c
872 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
873 * sysdeps/unix/sysv/linux/clock_getres.c
874 * sysdeps/unix/sysv/linux/clock_gettime.c
875 * sysdeps/unix/sysv/linux/clock_nanosleep.c
876 * sysdeps/unix/sysv/linux/clock_settime.c: Define the function
877 defined by this file with default symbol version GLIBC_2_17,
878 and optionally a compatibility alias at symbol version GLIBC_2_2.
879 * include/time.h: Remove internal prototypes for clock_getres,
880 clock_nanosleep, and clock_getcpuclockid.
881
882 * sysdeps/unix/sysv/linux/clock_gettime.c: Prune includes.
883 Remove unused function realtime_gettime.
884
885 * rt/Makefile (clock-routines, routines): Remove variable.
886 (librt-routines): Remove clock-compat.
887 (tests): Remove tst-clock, tst-clock2, tst-clock_nanosleep,
888 and tst-cpuclock1.
889 * time/Makefile (routines): Add clock_getres, clock_gettime,
890 clock_settime, clock_getcpuclockid, and clock_nanosleep.
891 (tests): Add tst-clock, tst-clock2, tst-clock_nanosleep,
892 and tst-cpuclock1.
893
894 * rt/Versions (libc): Remove entire stanza.
895 (librt GLIBC_2.2): Remove all clock_* functions.
896 * time/Versions (libc GLIBC_2.2, libc GLIBC_2.17):
897 Add clock_getres, clock_gettime, clock_settime,
898 clock_getcpuclockid, and clock_nanosleep.
899 (libc GLIBC_PRIVATE): Add __clock_gettime.
900
901 * sysdeps/mach/hurd/i386/librt.abilist
902 * sysdeps/unix/sysv/linux/alpha/librt.abilist
903 * sysdeps/unix/sysv/linux/arm/be/librt.abilist
904 * sysdeps/unix/sysv/linux/arm/le/librt.abilist
905 * sysdeps/unix/sysv/linux/hppa/librt.abilist
906 * sysdeps/unix/sysv/linux/i386/librt.abilist
907 * sysdeps/unix/sysv/linux/ia64/librt.abilist
908 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist
909 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist
910 * sysdeps/unix/sysv/linux/microblaze/be/librt.abilist
911 * sysdeps/unix/sysv/linux/microblaze/le/librt.abilist
912 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist
913 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist
914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist
915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/librt.abilist
916 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist
917 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist
918 * sysdeps/unix/sysv/linux/sh/librt.abilist
919 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist
920 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist
921 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist
922 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist:
923 Remove entries for clock_getres, clock_gettime, clock_settime,
924 clock_getcpuclockid, and clock_nanosleep.
925
926 * sysdeps/mach/hurd/i386/libc.abilist
927 * sysdeps/unix/sysv/linux/alpha/libc.abilist
928 * sysdeps/unix/sysv/linux/arm/libc.abilist
929 * sysdeps/unix/sysv/linux/hppa/libc.abilist
930 * sysdeps/unix/sysv/linux/i386/libc.abilist
931 * sysdeps/unix/sysv/linux/ia64/libc.abilist
932 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
933 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
934 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
935 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
936 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
937 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
941 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
942 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
943 * sysdeps/unix/sysv/linux/sh/be/libc.abilist
944 * sysdeps/unix/sysv/linux/sh/le/libc.abilist
945 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
946 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
947 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
948 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
949 Add another set of entries for clock_getres, clock_gettime,
950 clock_settime, clock_getcpuclockid, and clock_nanosleep at
951 whatever version GLIBC_2.2 maps to.
952
b5367a08
AJ
9532019-09-03 Aurelien Jarno <aurelien@aurel32.net>
954
955 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated using GCC 9.2.
956
1471fa55
FW
9572019-09-03 Florian Weimer <fweimer@redhat.com>
958
959 [BZ #24950]
960 * locale/programs/charmap.h (struct charseq): Turn bytes into a
961 flexible array member.
962 * locale/programs/ld-ctype.c (ctype_finish): Use initializer for
963 replace.
964
9a1e7257
FW
9652019-09-02 Florian Weimer <fweimer@redhat.com>
966
967 * misc/tst-mntent-autofs.c: New file.
968 * misc/Makefile (tests): Add misc/tst-mntent-autofs.
969
08b7e998
IK
9702019-09-02 Ian Kent <ikent@redhat.com>
971
972 Use autofs "ignore" mount hint in getmntent_r/getmntent.
973 * misc/mntent_r.c (get_mnt_entry): New function, extracted from
974 getmntent_r.
975 (__getmntent_r): Call it. Filter out autofs entries with an
976 "ignore" mount option.
977
3c05dd79
WD
9782019-08-30 Wilco Dijkstra <wdijkstr@arm.com>
979
980 * benchtests/bench-memcpy.c (simple_memcpy): Remove.
981 (generic_memcpy): Include generic C memcpy.
982 * benchtests/bench-memmove.c (simple_memmove): Remove.
983 (generic_memmove): Include generic C memmove.
984 * benchtests/bench-memset.c (simple_memset): Remove.
985 (generic_memset): Include generic C memset.
986 * benchtests/bench-memset-large.c (simple_memset): Remove.
987 (generic_memset): Include generic C memset.
988 * benchtests/bench-memset-walk.c (simple_memset): Remove.
989 (generic_memset): Include generic C memset.
990 * string/memcpy.c (MEMCPY): Add defines to enable redirection.
991 * string/memset.c (MEMSET): Likewise.
992 * sysdeps/x86_64/memcopy.h: Remove empty file.
993
9743c627
FW
9942019-08-30 Florian Weimer <fweimer@redhat.com>
995
996 nptl: Move pthread_attr_getinheritsched implementation into libc.
997 * nptl/Makefile (routines): Add pthread_attr_getinheritsched.
998 (libpthread-routines): Remove pthread_attr_getinheritsched.
999 * nptl/Versions (libpthread GLIBC_2.0): Remove
1000 pthread_attr_getinheritsched.
1001 * nptl/forward.c (pthread_attr_getinheritsched): Remove definition.
1002 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1003 ptr_pthread_attr_getinheritsched.
1004 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1005 Remove ptr_pthread_attr_getinheritsched member.
1006 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1007 Remove pthread_attr_getinheritsched.
1008 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1009 Likewise.
1010 * sysdeps/unix/sysv/linux/arm/be/libpthread.abilist (GLIBC_2.4):
1011 Likewise.
1012 * sysdeps/unix/sysv/linux/arm/le/libpthread.abilist (GLIBC_2.4):
1013 Likewise.
1014 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1015 Likewise.
1016 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1017 Likewise.
1018 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1019 Likewise.
1020 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1021 Likewise.
1022 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1023 (GLIBC_2.4): Likewise.
1024 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1025 (GLIBC_2.0): Likewise.
1026 * sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist
1027 (GLIBC_2.18): Likewise.
1028 * sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist
1029 (GLIBC_2.18): Likewise.
1030 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1031 (GLIBC_2.0): Likewise.
1032 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1033 (GLIBC_2.0): Likewise.
1034 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1035 Likewise.
1036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1037 (GLIBC_2.0): Likewise.
1038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1039 (GLIBC_2.3): Likewise.
1040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1041 (GLIBC_2.17): Likewise.
1042 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1043 (GLIBC_2.27): Likewise.
1044 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1045 (GLIBC_2.0): Likewise.
1046 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1047 (GLIBC_2.2): Likewise.
1048 * sysdeps/unix/sysv/linux/sh/be/libpthread.abilist (GLIBC_2.2):
1049 Likewise.
1050 * sysdeps/unix/sysv/linux/sh/le/libpthread.abilist (GLIBC_2.2):
1051 Likewise.
1052 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1053 (GLIBC_2.0): Likewise.
1054 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1055 (GLIBC_2.2): Likewise.
1056 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1057 (GLIBC_2.2.5): Likewise.
1058 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1059 (GLIBC_2.16): Likewise.
1060
90f0f97c
ST
10612019-08-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
1062
90f0f97c
ST
1063 * sysdeps/mach/hurd/getcwd.c
1064 (_hurd_canonicalize_directory_name_internal): Do not remove the heading
1065 slash if we got an unknown root directory. (__getcwd): Do not fail with
1066 EGRATUITOUS if we got an unknown root directory.
d76d187c
ST
1067 * hurd/hurdselect.c (SELECT_ERROR): New macro.
1068 (_hurd_select):
1069 - Add `error' field to `d' structures array.
1070 - If a poll descriptor is bogus, set EBADF, but continue with a zero
1071 timeout.
1072 - Go through the whole fd_set, not only until _hurd_dtablesize. Return
1073 EBADF there is any bit set above _hurd_dtablesize.
1074 - Do not request io_select on bogus descriptors (SELECT_ERROR).
1075 - On io_select request error, record the error.
1076 - On io_select bogus reply, use EIO error code.
1077 - On io_select bogus or error reply, record the error.
1078 - Do not destroy reply port for bogus FDs.
1079 - On error, make poll set POLLHUP in the EPIPE case, POLLNVAL in the
1080 EBADF case, or else POLLERR.
1081 - On error, make select simulated readiness.
90f0f97c 1082
c9536b7b
ST
1083 [BZ #19903]
1084 * sysdeps/mach/hurd/mmap.c (__mmap): Remove optimizing anonymous maps
1085 as __vm_allocate.
1086
a644a4b2
ST
1087 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn2): New function,
1088 unlocks SS and returns to the saved PC.
1089 (__sigreturn): Do not unlock SS, and "return" into __sigreturn2 on the
1090 thread stack instead of the saved PC.
1091
90f0f97c 10922019-08-30 Richard Braun <rbraun@sceen.net>
4b068090
RB
1093
1094 * hurd/hurdselect.c (_hurd_select): Always call __io_select with no
1095 timeout.
f0e84494 1096 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Fix preemptor setup.
c3010778
RB
1097 * hurd/Makefile (user-interfaces): Add io_reply and io_request.
1098 * hurd/hurdselect.c: Include <sys/time.h>, <hurd/io_request.h> and
1099 <limits.h>.
1100 (_hurd_select): Replace the call to __io_select with either
1101 __io_select_request or __io_select_timeout_request, depending on the
1102 timeout. Count the number of ready descriptors (replies for which at
1103 least one type bit is set). Implement the timeout locally when there is
1104 no file descriptor.
4b068090 1105
23c1c256
MS
11062019-08-29 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
1107
1108 * elf/dl-addr.c (determine_info): Calculate the symbol index
1109 using the newly defined ELF_MACHINE_HASH_SYMIDX macro.
1110 * elf/dl-lookup.c (do_lookup_x): Ditto.
1111 (_dl_setup_hash): Initialize MIPS xhash translation table.
1112 * elf/elf.h (SHT_MIPS_XHASH): New define.
1113 (DT_MIPS_XHASH): New define.
1114 * sysdeps/generic/ldsodefs.h (ELF_MACHINE_GNU_HASH_ADDRIDX): New
1115 define.
1116 (ELF_MACHINE_HASH_SYMIDX): Ditto.
1117 (ELF_MACHINE_XHASH_SETUP): Ditto.
1118 * sysdeps/mips/ldsodefs.h (ELF_MACHINE_GNU_HASH_ADDRIDX): New
1119 define.
1120 (ELF_MACHINE_HASH_SYMIDX): Ditto.
1121 (ELF_MACHINE_XHASH_SETUP): Ditto.
1122 * sysdeps/mips/linkmap.h (struct link_map_machine): New member.
1123 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increment valid ABI
1124 version.
1125 * sysdeps/unix/sysv/linux/mips/libc-abis: New ABI version.
1126
1673ba87
AZ
11272019-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1128
605f3817
AZ
1129 * sysdeps/sh/preconfigure.ac: New file.
1130 * sysdeps/sh/preconfigure: Regenerate.
1131 * sysdeps/sh/be/sh3/Implies: New file.
1132 * sysdeps/sh/be/sh4/Implies: Likewise.
1133 * sysdeps/sh/le/sh3/Implies: Likewise.
1134 * sysdeps/sh/le/sh4/Implies: Likewise.
1135 * sysdeps/unix/sysv/linux/sh/le/sh3/Implies: Likewise.
1136 * sysdeps/unix/sysv/linux/sh/le/sh4/Implies: Likewise.
1137 * sysdeps/unix/sysv/linux/sh/*.abilist: Move to
1138 sysdeps/unix/sysv/linux/sh/le/*.abilist.
1139 * sysdeps/unix/sysv/linux/sh/be/*.abilist: New files.
1140
c7fca8d4
AZ
1141 * sysdeps/microblaze/preconfigure.ac: New file.
1142 * sysdeps/microblaze/preconfigure: Regenerate.
1143 * sysdeps/microblaze/be/implies: New file.
1144 * sysdeps/microblaze/le/implies: Likewise.
1145 * sysdeps/unix/sysv/linux/microblaze/be/implies: Likewise.
1146 * sysdeps/unix/sysv/linux/microblaze/le/implies: Likewise.
1147 * sysdeps/unix/sysv/linux/microblaze/*.abilist. Move to
1148 sysdeps/unix/sysv/linux/microblaze/be/*.abilist.
1149 * sysdeps/unix/sysv/linux/microblaze/le/*.abilist: New files.
1150
1673ba87
AZ
1151 * sysdeps/arm/preconfigure.ac: Set machine based on endianness.
1152 * sysdeps/arm/preconfigure: Regenerate.
1153 * sysdeps/arm/be/Implies: New file.
1154 * sysdeps/arm/be/armv6/Implies: Likewise.
1155 * sysdeps/arm/be/armv6t2/Implies: Likewise.
1156 * sysdeps/arm/be/armv7/Implies: Likewise.
1157 * sysdeps/arm/le/Implies: Likewise.
1158 * sysdeps/unix/sysv/linux/arm/be/Implies: Likewise.
1159 * sysdeps/unix/sysv/linux/arm/le/Implies: Likewise.
1160 * sysdeps/unix/sysv/linux/arm/*.abilist: Move to
1161 sysdeps/unix/sysv/linux/arm/le/*.abilist.
1162 * sysdeps/unix/sysv/linux/arm/be/l*.abilist: New files.
1163
a22a582e
PE
11642019-08-27 Paul Eggert <eggert@cs.ucla.edu>
1165
1166 Fix posix/tst-regex by using UTF-8 and own test input
1167 Problem reported by Stefan Liebler in:
1168 https://sourceware.org/ml/libc-alpha/2019-08/msg00658.html
1169 * posix/tst-regex.c: Convert this file from Latin-1 to UTF-8.
1170 (do_test, test_expr): Adjust to the fact that this source file,
1171 and the test data in ChangeLog.8, is now UTF-8 instead of Latin-1.
1172 * posix/tst-regex.input: Copy from ChangeLog.old/ChangeLog.8,
1173 so that it is now UTF-8.
1174
0b3c9e57 11752019-08-28 Paul A. Clarke <pc@us.ibm.com>
3f02b772 1176
6a7041a2
FW
1177 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): Delete.
1178 (fegetenv_status): Generate 'mffsl' unconditionally.
0b3c9e57 1179
fec2bd2c 11802019-08-28 Paul A. Clarke <pc@us.ibm.com>
3f02b772 1181
6a7041a2
FW
1182 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Utilize lightweight
1183 FPSCR read.
1184 (_FPU_MASK_ALL): Delete.
fec2bd2c 1185
e9052126 11862019-08-28 Paul A. Clarke <pc@us.ibm.com>
3f02b772 1187
6a7041a2
FW
1188 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc_ctx):
1189 Utilize lightweight FPSCR read if possible, set fewer FPSCR bits
1190 if possible.
1191 (libc_feresetround_ppc): Replace call to __libc_femergeenv_ppc
1192 with simpler required steps, set fewer FPSCR bits if possible.
e9052126 1193
3c1766ea 11942019-08-28 Paul A. Clarke <pc@us.ibm.com>
3f02b772 1195
6a7041a2
FW
1196 * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_mode): New.
1197 (FPSCR_FPRF_MASK): New. (FPSCR_STATUS_MASK): New.
1198 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use lighter-
1199 weight access to FPSCR; remove unnecessary second FPSCR read and
1200 validate.
1201 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1202 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Use lighter-weight
1203 access to FPSCR; Use macros in fenv_libc.h in favor of local.
3c1766ea 1204
cd7ce12a 12052019-08-28 Paul A. Clarke <pc@us.ibm.com>
3f02b772 1206
6a7041a2
FW
1207 * sysdeps/powerpc/fpu/fenv_libc.h: Define FPSCR bitmasks.
1208 (fenv_reg_to_exceptions): Replace bitwise operations with mask-shift.
1209 (fenv_exceptions_to_reg): New.
1210 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Replace bitwise
1211 operation with call to fenv_exceptions_to_reg().
1212 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
cd7ce12a 1213
35ffd20d
FW
12142019-08-28 Florian Weimer <fweimer@redhat.com>
1215
1216 * misc/mntent.c (struct mntent_buffer): Define.
1217 (mntent_buffer): Adjust type to void *.
1218 (allocate): Adjust for allocate_once.
1219 (deallocate): New function.
1220 (getmntent): Call allocate_once.
1221
ffced383
FW
12222019-08-28 Florian Weimer <fweimer@redhat.com>
1223
1224 nptl: Move pthread_attr_setdetachstate implementation into libc.
1225 * nptl/Makefile (routines): Add pthread_attr_setdetachstate.
1226 (libpthread-routines): Remove pthread_attr_setdetachstate.
1227 * nptl/Versions (libpthread GLIBC_2.0): Remove
1228 pthread_attr_setdetachstate.
1229 * nptl/forward.c (pthread_attr_setdetachstate): Remove definition.
1230 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1231 ptr_pthread_attr_setdetachstate.
1232 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1233 Remove ptr_pthread_attr_setdetachstate member.
1234 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1235 Remove pthread_attr_setdetachstate.
1236 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1237 Likewise.
1238 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1239 Likewise.
1240 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1241 Likewise.
1242 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1243 Likewise.
1244 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1245 Likewise.
1246 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1247 Likewise.
1248 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1249 (GLIBC_2.4): Likewise.
1250 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1251 (GLIBC_2.0): Likewise.
1252 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1253 (GLIBC_2.18): Likewise.
1254 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1255 (GLIBC_2.0): Likewise.
1256 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1257 (GLIBC_2.0): Likewise.
1258 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1259 Likewise.
1260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1261 (GLIBC_2.0): Likewise.
1262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1263 (GLIBC_2.3): Likewise.
1264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1265 (GLIBC_2.17): Likewise.
1266 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1267 (GLIBC_2.27): Likewise.
1268 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1269 (GLIBC_2.0): Likewise.
1270 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1271 (GLIBC_2.2): Likewise.
1272 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1273 Likewise.
1274 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1275 (GLIBC_2.0): Likewise.
1276 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1277 (GLIBC_2.2): Likewise.
1278 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1279 (GLIBC_2.2.5): Likewise.
1280 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1281 (GLIBC_2.16): Likewise.
1282
61d3db42
FW
12832019-08-28 Florian Weimer <fweimer@redhat.com>
1284
1285 [BZ #24902]
1286 * login/Makefile (tests): Add tst-pututxline-lockfail.
1287 (tst-pututxline-lockfail): Link with -lpthread.
1288 * login/utmp_file.c (internal_getut_r): Remove buffer argument.
1289 (__libc_getutid_r): Adjust.
1290 (__libc_pututline): Likewise. Check for file_offset == -1.
1291 * login/tst-pututxline-lockfail.c: New file.
1292
3a9d025f
SL
12932019-08-28 Stefan Liebler <stli@linux.ibm.com>
1294
1295 * posix/tst-regex.c (do_test): Use tst-regex.input as input file.
1296 * posix/tst-regex.input: New file.
1297
edd8d70b
MS
12982019-08-23 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
1299
1300 [BZ #24916]
1301 * sysdeps/mips/Makefile [$(subdir) = elf] (tests): Add
1302 tst-undefined-weak.
1303 [$(subdir) = elf] (modules-names): Add tst-undefined-weak-lib.
1304 [$(subdir) = elf] ($(objpfx)tst-undefined-weak): Add dependency.
1305 * sysdeps/mips/tst-undefined-weak-lib.S: New file.
1306 * sysdeps/mips/tst-undefined-weak.c: Likewise.
1307 * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
1308 Increment highest valid ABIVERSION value.
1309
33bc9efd
DM
13102019-08-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
1311
1312 * sysdeps/unix/sysv/linux/mips/Makefile
1313 (test-xfail-check-execstack):
1314 Move under mips-has-gnustack != yes.
1315 (CFLAGS-.o*, ASFLAGS-.o*): New rules.
1316 Apply -Wa,-execstack if mips-force-execstack == yes.
1317 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1318 * sysdeps/unix/sysv/linux/mips/configure.ac
1319 (mips-force-execstack): New var.
1320 Set to yes for hard-float builds with minimum_kernel < 4.8.0
1321 or minimum_kernel not set at all.
1322 (mips-has-gnustack): New var.
1323 Use value of libc_cv_as_noexecstack
1324 if mips-force-execstack != yes, otherwise set to no.
1325
a43565ac
AZ
13262019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1327 Florian Weimer <fweimer@redhat.com>
1328
08d57105
AZ
1329 * gmon/Versions (libc) [GLIBC_2.31]: New entry.
1330 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
1331 Make a compat_symbol.
1332 * sysdeps/unix/sysv/linux/sparc/profil-counter.h
1333 (__profil_counter_global): Likewise.
1334
a43565ac
AZ
1335 * debug/segfault.c (install_handler): Use SA_SIGINFO if defined.
1336 * sysdeps/generic/profil-counter.h (__profil_counter): Cast to
1337 uintptr_t.
1338 * sysdeps/generic/sigcontextinfo.h (GET_PC): Rename to
1339 sigcontext_get_pc and return aligned cast to uintptr_t.
1340 * sysdeps/mach/hurd/i386/sigcontextinfo.h (GET_PC): Likewise.
1341 * sysdeps/posix/profil.c (profil_count): Change PC argument to
1342 uintptr_t.
1343 (__profil): Use SA_SIGINFO.
1344 * sysdeps/posix/sprofil.c (profil_count): Change PCP argument to
1345 uintptr_t.
1346 (__sprofil): Use SA_SIGINFO.
1347 * sysdeps/unix/sysv/linux/profil-counter.h: New file.
1348 * sysdeps/unix/sysv/linux/aarch64/profil-counter.h: Remove file.
1349 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
1350 * sysdeps/unix/sysv/linux/hppa/profil-counter.h: Likewise.
1351 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise.
1352 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: Likewise.
1353 * sysdeps/unix/sysv/linux/microblaze/profil-counter.h: Likewise.
1354 * sysdeps/unix/sysv/linux/mips/profil-counter.h: Likewise.
1355 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: Likewise.
1356 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Likewise.
1357 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h: Likewise.
1358 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
1359 * sysdeps/sysv/linux/s390/s390-32/profil-counter.h: Likewise.
1360 * sysdeps/sysv/linux/s390/s390-64/profil-counter.h: Likewise.
1361 * sysdeps/unix/sysv/linux/sh/profil-counter.h: Likewise.
1362 * sysdeps/unix/sysv/linux/arm/profil-counter.h (__profil_counter):
1363 Assume SA_SIGINFO and use sigcontext_get_pc instead of GET_PC.
1364 * sysdeps/unix/sysv/linux/sparc/profil-counter.h: New file.
1365 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Remove file.
1366 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Likewise.
1367 * sysdpes/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT,
1368 GET_PC, __sigaction, sigaction): Remove defines.
1369 (sigcontext_get_pc): New function.
1370 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
1371 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1372 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
1373 * sysdeps/unix/sysv/linux/hppa/sigcontextinfo.h: Likewise.
1374 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
1375 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h: Likewise.
1376 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
1377 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
1378 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: Likewise.
1379 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
1380 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h: Likewise.
1381 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
1382 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
1383 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
1384 * sysdeps/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
1385 * sysdeps/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
1386 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Likewise.
1387 * sysdeps/unix/sysv/linux/alpha/register-dump.h (register_dump):
1388 Handle CTX argument as ucontext_t.
1389 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1390 Likewise.
1391 * sysdeps/unix/sysv/linux/m68k/register-dump.h: Likewise.
1392 * sysdeps/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1393 * sysdeps/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1394 * sysdeps/unix/sysv/linux/sh/register-dump.h: New file.
1395 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Remove File.
1396 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1397 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1398 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1399 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
1400 tst-sigcontextinfo-get_pc.
1401 * sysdeps/unix/sysv/linux/tst-sigcontextinfo-get_pc.c: New file.
1402 (CFLAGS-tst-sigcontextinfo-get_pc.c): New rule.
1403
624c109b
AZ
14042019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1405
1406 * sysdeps/generic/single-thread.h (RTLD_SINGLE_THREAD_P): Add
1407 definition.
1408
ab74d59f 14092019-08-23 Rafał Lużyński <digitalfreak@lingonborough.com>
c0fd3244
RL
1410
1411 [BZ #24682]
1412 * localedata/locales/bo_CN (first_weekday): Add, set to 2 (Monday).
1413 * localedata/locales/ug_CN (first_weekday): Likewise.
1414 * localedata/locales/zh_CN (first_weekday): Likewise.
1415
c8c8160c
GR
14162019-08-22 Gustavo Romero <gromero@linux.vnet.ibm.com>
1417
1418 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix typos and
1419 field name in mcontext_t struct.
1420
c737ef0d
JM
14212019-08-22 Joseph Myers <joseph@codesourcery.com>
1422
42f527c8
JM
1423 * resolv/tst-resolv-ai_idn-latin1.c (do_test): Mark test
1424 unsupported with libidn2 before 2.0.5.
1425 * resolv/tst-resolv-ai_idn.c (do_test): Likewise.
1426
c737ef0d
JM
1427 * manual/time.texi (strftime): Document %Ob and %OB as C2X
1428 features.
1429
8a80ee5e
PE
14302019-08-21 Paul Eggert <eggert@cs.ucla.edu>
1431
f615e3fc
PE
1432 Remove dead regex code
1433 * posix/regex_internal.c (re_node_set_insert):
1434 Remove unnecessary assignment. Reported by Tim Rühsen in:
1435 https://lists.gnu.org/r/bug-gnulib/2019-08/msg00026.html
1436
8a80ee5e
PE
1437 Fix bad pointer / leak in regex code
1438 This was found by Coverity (CID 1484201). [BZ#24844]
1439 * posix/regex_internal.c (create_cd_newstate): Fix use of bad
1440 pointer and/or memory leak when storage is exhausted.
1441
1baae4aa
ZW
14422019-08-21 Zack Weinberg <zackw@panix.com>
1443
1444 * misc/syslog.c (__vsyslog_internal)
1445 * time/getdate.c (__getdate_r)
1446 * time/tst_wcsftime.c (main):
1447 Use return value of time, not its argument.
1448
1449 * string/strfry.c (strfry)
1450 * sysdeps/mach/sleep.c (__sleep):
1451 Remove unnecessary casts of NULL in calls to time.
1452
f9fabc1b
JM
14532019-08-21 Joseph Myers <joseph@codesourcery.com>
1454
1455 * math/tgmath.h [__HAVE_FLOAT128X]: Give error.
1456 [(__HAVE_FLOAT64X && !__HAVE_FLOAT128)
1457 || (__HAVE_FLOAT128 && !__HAVE_FLOAT64X)]: Likewise.
1458 (__TGMATH_2_NARROW_F): Likewise.
1459 (__TGMATH_2_NARROW_D): New macro.
1460 (__TGMATH_2_NARROW_F16): Likewise.
1461 (__TGMATH_2_NARROW_F32): Likewise.
1462 (__TGMATH_2_NARROW_F64): Likewise.
1463 (__TGMATH_2_NARROW_F32X): Likewise.
1464 (__TGMATH_2_NARROW_F64X): Likewise.
1465 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F): Likewise.
1466 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F16): Likewise.
1467 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32): Likewise.
1468 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F64): Likewise.
1469 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32X): Likewise.
1470 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fadd): Likewise.
1471 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dadd): Likewise.
1472 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fdiv): Likewise.
1473 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (ddiv): Likewise.
1474 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fmul): Likewise.
1475 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dmul): Likewise.
1476 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fsub): Likewise.
1477 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dsub): Likewise.
1478 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16add):
1479 Likewise.
1480 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16div):
1481 Likewise.
1482 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16mul):
1483 Likewise.
1484 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16sub):
1485 Likewise.
1486 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32add):
1487 Likewise.
1488 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32div):
1489 Likewise.
1490 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32mul):
1491 Likewise.
1492 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32sub):
1493 Likewise.
1494 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
1495 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64add): Likewise.
1496 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
1497 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64div): Likewise.
1498 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
1499 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64mul): Likewise.
1500 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
1501 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64sub): Likewise.
1502 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xadd):
1503 Likewise.
1504 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xdiv):
1505 Likewise.
1506 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xmul):
1507 Likewise.
1508 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xsub):
1509 Likewise.
1510 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1511 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xadd): Likewise.
1512 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1513 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xdiv): Likewise.
1514 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1515 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xmul): Likewise.
1516 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1517 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xsub): Likewise.
1518 * math/gen-tgmath-tests.py (Type): Add members
1519 non_standard_real_argument_types_list, long_double_type,
1520 complex_float64_type and float32x_ext_type.
1521 (Type.__init__): Set the new members.
1522 (Type.floating_type): Add new argument floatn.
1523 (Type.real_floating_type): Likewise.
1524 (Type.can_combine_types): Likewise.
1525 (Type.combine_types): Likewise.
1526 (Type.init_types): Create internal Float32x_ext type.
1527 (Tests.__init__): Define Float32x_ext in generated C code.
1528 (Tests.add_tests): Handle narrowing functions.
1529 (Tests.add_all_tests): Likewise.
1530 (Tests.tests_text): Allow variation in mant_dig for narrowing
1531 functions with compilers before GCC 8.
1532 * math/Makefile (tgmath3-narrow-types): New variable.
1533 (tgmath3-narrow-macros): Likewise.
1534 (tgmath3-macros): Add $(tgmath3-narrow-macros).
1535
b7297184
AS
15362019-08-20 Andreas Schwab <schwab@suse.de>
1537
1538 * sysdeps/i386/fpu/libm-test-ulps: Update.
1539
d34d4c80
CD
15402019-08-19 Carlos O'Donell <carlos@redhat.com>
1541
1542 * nscd/nscd.conf: Add warning and comment about shared option.
1543
4b7c7417
CD
15442019-08-19 Carlos O'Donell <carlos@redhat.com>
1545
1546 * nss/nsswitch.conf: Expand comments, and simplify defaults.
1547 * manual/nss.texi (NSS Basics): List all known databases.
1548 (Services in the NSS configuration): Mention automount.
1549
a289ea09
FW
15502019-08-19 Florian Weimer <fweimer@redhat.com>
1551
1552 Do not print backtraces on fatal errors.
1553 * debug/fortify_fail.c (__libc_argv): Remove declaration.
1554 (__fortify_fail_abort): Remove definition.
1555 (__fortify_fail): Call __libc_message directly.
1556 * debug/stack_chk_fail.c (__libc_argv): Remove declaration.
1557 (__stack_chk_fail): Call __fortify_fail instead of
1558 __fortify_fail_abort.
1559 * include/stdio.h (__fortify_fail_abort): Remove declaration.
1560 * sysdeps/posix/libc_fatal.c (BEFORE_ABORT, before_abort): Remove
1561 definitions.
1562 (__libc_message): Do not handle do_backtrace. Do not call
1563 BEFORE_ABORT.
1564 (__libc_fatal): Do not pass do_backtrace to __libc_message.
1565 * sysdeps/unix/sysv/linux/libc_fatal.c (BEFORE_ABORT)
1566 (before_abort): Remove definitions.
1567
1d714fd9
FW
15682019-08-16 Florian Weimer <fweimer@redhat.com>
1569
1570 nptl: Move pthread_attr_getdetachstate implementation into libc.
1571 * nptl/Makefile (routines): Add pthread_attr_getdetachstate.
1572 (libpthread-routines): Remove pthread_attr_getdetachstate.
1573 * nptl/Versions (libpthread GLIBC_2.0): Remove
1574 pthread_attr_getdetachstate.
1575 * nptl/forward.c (pthread_attr_getdetachstate): Remove definition.
1576 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1577 ptr_pthread_attr_getdetachstate.
1578 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1579 Remove ptr_pthread_attr_getdetachstate member.
1580 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1581 Remove pthread_attr_getdetachstate.
1582 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1583 Likewise.
1584 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1585 Likewise.
1586 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1587 Likewise.
1588 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1589 Likewise.
1590 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1591 Likewise.
1592 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1593 Likewise.
1594 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1595 (GLIBC_2.4): Likewise.
1596 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1597 (GLIBC_2.0): Likewise.
1598 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1599 (GLIBC_2.18): Likewise.
1600 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1601 (GLIBC_2.0): Likewise.
1602 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1603 (GLIBC_2.0): Likewise.
1604 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1605 Likewise.
1606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1607 (GLIBC_2.0): Likewise.
1608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1609 (GLIBC_2.3): Likewise.
1610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1611 (GLIBC_2.17): Likewise.
1612 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1613 (GLIBC_2.27): Likewise.
1614 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1615 (GLIBC_2.0): Likewise.
1616 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1617 (GLIBC_2.2): Likewise.
1618 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1619 Likewise.
1620 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1621 (GLIBC_2.0): Likewise.
1622 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1623 (GLIBC_2.2): Likewise.
1624 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1625 (GLIBC_2.2.5): Likewise.
1626 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1627 (GLIBC_2.16): Likewise.
1628
4745f4c1
JM
16292019-08-16 Joseph Myers <joseph@codesourcery.com>
1630
1631 * math/libm-test-compat_totalorder.inc (do_test)
1632 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Change condition to
1633 [TEST_COMPAT (libm, COMPAT_VER, GLIBC_2_31)].
1634 * math/libm-test-compat_totalordermag.inc (do_test)
1635 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Likewise.
1636
a635d756
FW
16372019-08-15 Florian Weimer <fweimer@redhat.com>
1638
1639 nptl: Move pthread_attr_init implementation into libc.
1640 * nptl/Makefile (routines): Add pthread_attr_init.
1641 (libpthread-routines): Remove pthread_attr_init.
1642 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_attr_init.
1643 (libpthread GLIBC_2.0): Likewise.
1644 * nptl/pthread_attr_init.c: Check for libc compat version instead
1645 of libpthread compat version.
1646 * nptl/forward.c (__pthread_attr_init_2_0)
1647 (__pthread_attr_init_2_1): Remove definitions.
1648 * nptl/nptl-init.c (pthread_functions): Remove initializers for
1649 ptr___pthread_attr_init_2_0, ptr___pthread_attr_init_2_1.
1650 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1651 Remove members ptr___pthread_attr_init_2_0,
1652 ptr___pthread_attr_init_2_1.
1653 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1654 Remove pthread_attr_init.
1655 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1656 Likewise.
1657 (GLIBC_2.1): Likewise.
1658 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1659 Likewise.
1660 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1661 Likewise.
1662 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1663 Likewise.
1664 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1665 Likewise.
1666 (GLIBC_2.1): Likewise.
1667 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1668 Likewise.
1669 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1670 (GLIBC_2.4): Likewise.
1671 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1672 (GLIBC_2.0): Likewise.
1673 (GLIBC_2.1): Likewise.
1674 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1675 (GLIBC_2.18): Likewise.
1676 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1677 (GLIBC_2.0): Likewise.
1678 (GLIBC_2.1): Likewise.
1679 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1680 (GLIBC_2.0): Likewise.
1681 (GLIBC_2.1): Likewise.
1682 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1683 Likewise.
1684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1685 (GLIBC_2.0): Likewise.
1686 (GLIBC_2.1): Likewise.
1687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1688 (GLIBC_2.3): Likewise.
1689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1690 (GLIBC_2.17): Likewise.
1691 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1692 (GLIBC_2.27): Likewise.
1693 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1694 (GLIBC_2.0): Likewise.
1695 (GLIBC_2.1): Likewise.
1696 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1697 (GLIBC_2.2): Likewise.
1698 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1699 Likewise.
1700 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1701 (GLIBC_2.0): Likewise.
1702 (GLIBC_2.1): Likewise.
1703 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1704 (GLIBC_2.2): Likewise.
1705 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1706 (GLIBC_2.2.5): Likewise.
1707 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1708 (GLIBC_2.16): Likewise.
1709
23d2e5fa
FW
17102019-08-15 Florian Weimer <fweimer@redhat.com>
1711
1712 [BZ #24900]
1713 * elf/dl-object.c (_dl_new_object): Do not store pathnames in the
1714 new object in __RTLD_OPENEXEC mode (except for the origin).
1715 * elf/tst-dlopen-aout.c (check_dlopen_failure): New function with
1716 check for the error message.
1717 (do_test): Call it. Add check using relative path.
1718 * elf/Makefile (tests-container): Add tst-dlopen-aout-container.
1719 (tst-dlopen-aout-container): Link with libpthread.
1720 (LDFLAGS-tst-dlopen-aout-container): Set RPATH to $ORIGIN.
1721
42760d76
JM
17222019-08-15 Joseph Myers <joseph@codesourcery.com>
1723
1724 * math/bits/mathcalls.h
1725 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
1726 (totalorder): Take pointer arguments.
1727 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
1728 (totalordermag): Likewise.
1729 * manual/arith.texi (totalorder): Likewise.
1730 (totalorderf): Likewise.
1731 (totalorderl): Likewise.
1732 (totalorderfN): Likewise.
1733 (totalorderfNx): Likewise.
1734 (totalordermag): Likewise.
1735 (totalordermagf): Likewise.
1736 (totalordermagl): Likewise.
1737 (totalordermagfN): Likewise.
1738 (totalordermagfNx): Likewise.
1739 * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): Remove macro.
1740 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder): Likewise.
1741 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag): Likewise.
1742 * math/Versions (GLIBC_2.31): Add totalorder, totalorderf,
1743 totalorderl, totalordermag, totalordermagf, totalordermagl,
1744 totalorderf32, totalorderf64, totalorderf32x, totalordermagf32,
1745 totalordermagf64, totalordermagf32x, totalorderf64x,
1746 totalordermagf64x, totalorderf128 and totalordermagf128.
1747 * math/Makefile (libm-test-funcs-noauto): Add compat_totalorder
1748 and compat_totalordermag.
1749 (libm-test-funcs-compat): New variable.
1750 (libm-tests-compat): Likewise.
1751 (tests): Do not include compat tests.
1752 (tests-internal): Add compat tests.
1753 ($(foreach t,$(libm-tests-base),
1754 $(objpfx)$(t)-compat_totalorder.o)): Depend
1755 on $(objpfx)libm-test-totalorder.c.
1756 ($(foreach t,$(libm-tests-base),
1757 $(objpfx)$(t)-compat_totalordermag.o): Depend on
1758 $(objpfx)libm-test-totalordermag.c.
1759 (tgmath3-macros): Remove totalorder and totalordermag.
1760 * math/libm-test-compat_totalorder.inc: New file.
1761 * math/libm-test-compat_totalordermag.inc: Likewise.
1762 * math/libm-test-driver.c (struct test_ff_i_data): Update comment.
1763 (RUN_TEST_fpfp_b): New macro.
1764 (RUN_TEST_LOOP_fpfp_b): Likewise.
1765 * math/libm-test-totalorder.inc (totalorder_test_data): Use
1766 TEST_fpfp_b.
1767 (totalorder_test): Condition on [!COMPAT_TEST].
1768 (do_test): Likewise.
1769 * math/libm-test-totalordermag.inc (totalordermag_test_data): Use
1770 TEST_fpfp_b.
1771 (totalordermag_test): Condition on [!COMPAT_TEST].
1772 (do_test): Likewise.
1773 * math/gen-tgmath-tests.py (Tests.add_all_tests): Remove
1774 totalorder and totalordermag.
1775 * math/test-tgmath.c (NCALLS): Change to 132.
1776 (F(compile_test)): Do not call totalorder or totalordermag.
1777 (F(totalorder)): Remove.
1778 (F(totalordermag)): Likewise.
1779 * include/float.h (__STDC_WANT_IEC_60559_TYPES_EXT__): Do not
1780 define if [__STDC_WANT_IEC_60559_TYPES_EXT__].
1781 * include/setjmp.h [!_ISOMAC] (STR_HELPER): Rename to
1782 SJSTR_HELPER.
1783 [!_ISOMAC] (STR): Rename to SJSTR. Update call to STR_HELPER.
1784 [!_ISOMAC] (TEST_SIZE): Update call to STR.
1785 [!_ISOMAC] (TEST_ALIGN): Likewise.
1786 [!_ISOMAC] (TEST_OFFSET): Likewise.
1787 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include <shlib-compat.h>
1788 and <first-versions.h>.
1789 (__totalorder): Take pointer arguments. Add symbol versions and
1790 compat symbols.
1791 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
1792 <shlib-compat.h> and <first-versions.h>.
1793 (__totalordermag): Take pointer arguments. Add symbol versions
1794 and compat symbols.
1795 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
1796 <shlib-compat.h> and <first-versions.h>.
1797 (__totalorder): Take pointer arguments. Add symbol versions and
1798 compat symbols.
1799 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
1800 <shlib-compat.h> and <first-versions.h>.
1801 (__totalordermag): Take pointer arguments. Add symbol versions
1802 and compat symbols.
1803 * sysdeps/ieee754/float128/float128_private.h
1804 (__totalorder_compatl): New macro.
1805 (__totalordermag_compatl): Likewise.
1806 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include <shlib-compat.h>
1807 and <first-versions.h>.
1808 (__totalorderf): Take pointer arguments. Add symbol versions and
1809 compat symbols.
1810 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
1811 <shlib-compat.h> and <first-versions.h>.
1812 (__totalordermagf): Take pointer arguments. Add symbol versions
1813 and compat symbols.
1814 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
1815 <shlib-compat.h> and <first-versions.h>.
1816 (__totalorderl): Take pointer arguments. Add symbol versions and
1817 compat symbols.
1818 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
1819 <shlib-compat.h> and <first-versions.h>.
1820 (__totalordermagl): Take pointer arguments. Add symbol versions
1821 and compat symbols.
1822 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
1823 <shlib-compat.h>.
1824 (__totalorderl): Take pointer arguments. Add symbol versions and
1825 compat symbols.
1826 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
1827 <shlib-compat.h>.
1828 (__totalordermagl): Take pointer arguments. Add symbol versions
1829 and compat symbols.
1830 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
1831 <shlib-compat.h> and <first-versions.h>.
1832 (__totalorderl): Take pointer arguments. Add symbol versions and
1833 compat symbols.
1834 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
1835 <shlib-compat.h> and <first-versions.h>.
1836 (__totalordermagl): Take pointer arguments. Add symbol versions
1837 and compat symbols.
1838 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c (totalorderl): Take
1839 pointer arguments.
1840 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c (totalordermagl):
1841 Likewise.
1842 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
1843 (do_test): Update calls to totalorderl and totalordermagl.
1844 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
1845 Update calls to totalorderl and totalordermagl.
1846 * sysdeps/mach/hurd/i386/libm.abilist: Update.
1847 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1848 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1849 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1850 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
1851 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1852 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1853 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1854 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1855 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1856 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1857 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1858 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1859 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1861 Likewise.
1862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1863 Likewise.
1864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libm.abilist:
1865 Likewise.
1866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libm.abilist:
1867 Likewise.
1868 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
1869 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1870 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1871 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1872 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1873 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1874 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1875 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1876
c2adefba
FW
18772019-08-15 Florian Weimer <fweimer@redhat.com>
1878
1879 [BZ #24899]
1880 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Add
1881 __attribute_nonstring__ to ut_line, ut_id, ut_user, ut_host.
1882 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmpx):
1883 Likewise.
1884 * sysdeps/gnu/bits/utmp.h (struct utmp): Add
1885 __attribute_nonstring__ to ut_id.
1886 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmp):
1887 Likewise.
1888
0d5b2917
FW
18892019-08-15 Florian Weimer <fweimer@redhat.com>
1890
1891 [BZ #24880]
1892 * login/utmp_file.c (file_locking_failed): Use struct flock64.
1893 (file_locking_unlock): Likewise.
1894
628598be
FW
18952019-08-15 Florian Weimer <fweimer@redhat.com>
1896
1897 [BZ #24879]
1898 login: Disarm timer after utmp lock acquisition.
1899 * login/utmp_file.c (struct file_locking): Remove.
1900 (try_file_lock): Adjust.
1901 (file_lock_restore): Remove function.
1902 (__libc_getutent_r): .
1903 (internal_getut_r): Likewise.
1904 (__libc_getutline_r): Likewise.
1905 (__libc_pututline): Likewise.
1906 (__libc_updwtmp): Likewise.
1907
17e13474
FW
19082019-08-15 Florian Weimer <fweimer@redhat.com>
1909
1910 nptl: Remove pthread_self compatibility symbol from libpthread.
1911 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_self,
1912 pthread_equal.
1913 * nptl/Makefile (libpthread-routines): Remove compat-pthread_self.
1914 * nptl/compat-pthread_self.c: Remove file.
1915 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1916 Remove pthread_self.
1917 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1918 Likewise.
1919 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1920 Likewise.
1921 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1922 Likewise.
1923 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1924 Likewise.
1925 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1926 Likewise.
1927 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1928 (GLIBC_2.4): Likewise.
1929 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1930 (GLIBC_2.0): Likewise.
1931 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1932 (GLIBC_2.18): Likewise.
1933 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1934 (GLIBC_2.0): Likewise.
1935 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1936 (GLIBC_2.0): Likewise.
1937 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1938 Likewise.
1939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1940 (GLIBC_2.0): Likewise.
1941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1942 (GLIBC_2.3): Likewise.
1943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1944 (GLIBC_2.17): Likewise.
1945 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1946 (GLIBC_2.0): Likewise.
1947 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1948 (GLIBC_2.2): Likewise.
1949 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1950 Likewise.
1951 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1952 (GLIBC_2.0): Likewise.
1953 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1954 (GLIBC_2.2): Likewise.
1955 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1956 (GLIBC_2.2.5): Likewise.
1957 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1958 (GLIBC_2.16): Likewise.
1959
fa57c301
FW
19602019-08-15 Florian Weimer <fweimer@redhat.com>
1961
1962 nptl: Move pthread_attr_destroy implementation into libc.
1963 * nptl/Makefile (routines): Add pthread_attr_destroy.
1964 (libpthread-routines): Remove pthread_attr_destroy.
1965 * nptl/Versions (libpthread GLIBC_2.0): Remove
1966 pthread_attr_destroy.
1967 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Check for
1968 libc compat version instead of libpthread compat version.
1969 * nptl/forward.c (pthread_attr_destroy): Remove definition.
1970 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1971 ptr_pthread_attr_destroy.
1972 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1973 Remove ptr_pthread_attr_destroy member.
1974 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1975 Remove pthread_attr_destroy.
1976 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1977 Likewise.
1978 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1979 Likewise.
1980 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1981 Likewise.
1982 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1983 Likewise.
1984 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1985 Likewise.
1986 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1987 Likewise.
1988 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1989 (GLIBC_2.4): Likewise.
1990 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1991 (GLIBC_2.0): Likewise.
1992 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1993 (GLIBC_2.18): Likewise.
1994 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1995 (GLIBC_2.0): Likewise.
1996 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1997 (GLIBC_2.0): Likewise.
1998 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1999 Likewise.
2000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2001 (GLIBC_2.0): Likewise.
2002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2003 (GLIBC_2.3): Likewise.
2004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2005 (GLIBC_2.17): Likewise.
2006 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2007 (GLIBC_2.27): Likewise.
2008 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2009 (GLIBC_2.0): Likewise.
2010 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2011 (GLIBC_2.2): Likewise.
2012 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
2013 Likewise.
2014 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2015 (GLIBC_2.0): Likewise.
2016 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2017 (GLIBC_2.2): Likewise.
2018 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2019 (GLIBC_2.2.5): Likewise.
2020 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2021 (GLIBC_2.16): Likewise.
2022
56e09811
AS
20232019-08-15 Andreas Schwab <schwab@suse.de>
2024
2025 * sysdeps/i386/fpu/libm-test-ulps: Update.
2026
f9769a23
FW
20272019-08-15 Florian Weimer <fweimer@redhat.com>
2028
2029 * malloc/Makefile (tests): Only add tst-mxfast for
2030 $(have-tunables).
2031 * malloc/tst-mxfast.c: Fix copyright year.
2032 (do_test): Fix GNU style issues. Use TEST_COMPARE instead of
2033 assert for checks.
2034
341da5b4
FW
20352019-08-15 Florian Weimer <fweimer@redhat.com>
2036
2037 * login/utmp_file.c (__libc_updwtmp): Unlock the right file
2038 descriptor.
2039 * login/Makefile (tests): Add tst-updwtmpx.
2040 * login/tst-updwtmpx.c: New file.
2041
dda373b0
FW
20422019-08-15 Florian Weimer <fweimer@redhat.com>
2043
2044 nptl: Move pthread_equal implementation into libc.
2045 * nptl/Makefile (routines): Add pthread_equal.
2046 * nptl/forward.c (pthread_equal): Remove definition.
2047 * nptl/nptl-init.c (pthread_functions): Remove initializer for
2048 ptr_pthread_equal.
2049 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
2050 Remove ptr_pthread_equal member.
2051 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
2052 Remove pthread_equal.
2053 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
2054 Likewise.
2055 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
2056 Likewise.
2057 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
2058 Likewise.
2059 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
2060 Likewise.
2061 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
2062 Likewise.
2063 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
2064 Likewise.
2065 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2066 (GLIBC_2.4): Likewise.
2067 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2068 (GLIBC_2.0): Likewise.
2069 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2070 (GLIBC_2.18): Likewise.
2071 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2072 (GLIBC_2.0): Likewise.
2073 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2074 (GLIBC_2.0): Likewise.
2075 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
2076 Likewise.
2077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2078 (GLIBC_2.0): Likewise.
2079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2080 (GLIBC_2.3): Likewise.
2081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2082 (GLIBC_2.17): Likewise.
2083 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2084 (GLIBC_2.27): Likewise.
2085 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2086 (GLIBC_2.0): Likewise.
2087 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2088 (GLIBC_2.2): Likewise.
2089 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
2090 Likewise.
2091 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2092 (GLIBC_2.0): Likewise.
2093 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2094 (GLIBC_2.2): Likewise.
2095 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2096 (GLIBC_2.2.5): Likewise.
2097 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2098 (GLIBC_2.16): Likewise.
2099
c54d8649
FW
21002019-08-14 Florian Weimer <fweimer@redhat.com>
2101
2102 * support/support_descriptors.c: Include <support/descriptors.h>.
2103
b68fabfb
FX
21042019-08-14 Feng Xue <fxue@os.amperecomputing.com>
2105
2106 * sysdeps/aarch64/multiarch/memset_base64.S (DC_ZVA_THRESHOLD):
2107 Disable DC ZVA code if this macro is defined as zero.
2108 * sysdeps/aarch64/multiarch/memset_emag.S (DC_ZVA_THRESHOLD):
2109 Change to zero to disable using DC ZVA.
2110
c3ce62cc
JM
21112019-08-13 Joseph Myers <joseph@codesourcery.com>
2112
2113 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT):
2114 Update comment.
2115 (__GLIBC_USE_IEC_60559_FUNCS_EXT_C2X): New macro.
2116 * bits/math-finite.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]: Change
2117 to [__GLIBC_USE (IEC_60559_FUNCS_EXT_C2X)].
2118 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]:
2119 Likewise.
2120
5a3afa97
FW
21212019-08-13 Florian Weimer <fweimer@redhat.com>
2122
2123 * login/utmp_file.c (LOCK_FILE, LOCKING_FAILED, UNLOCK_FILE):
2124 Remove macros.
2125 (struct file_locking): New.
2126 (try_file_lock, file_unlock, file_lock_restore): New functions.
2127 (__libc_getutent_r): Use the new functions.
2128 (internal_getut_r): Likewise.
2129 (__libc_getutline_r): Likewise.
2130 (__libc_pututline): Likewise.
2131 (__libc_updwtmp): Likewise.
2132
777d75fb
JM
21332019-08-13 Joseph Myers <joseph@codesourcery.com>
2134
0175c9e9
JM
2135 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): Update
2136 comment.
2137 (__GLIBC_USE_IEC_60559_BFP_EXT_C2X): New macro.
2138 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Change to
2139 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)].
2140 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
2141 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
2142 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
2143 * stdlib/bits/stdlib-ldbl.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2144 Likewise.
2145 * stdlib/stdint.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
2146 * stdlib/stdlib.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
2147 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2148 Likewise.
2149 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2150 Likewise.
2151 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2152 Likewise.
2153 * sysdeps/csky/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2154 Likewise.
2155 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2156 Likewise.
2157 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2158 Likewise.
2159 * sysdeps/m68k/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2160 Likewise.
2161 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE
2162 (IEC_60559_BFP_EXT)]: Likewise.
2163 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2164 Likewise.
2165 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2166 Likewise.
2167 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2168 Likewise.
2169 * sysdeps/riscv/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2170 Likewise.
2171 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2172 Likewise.
2173 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2174 Likewise.
2175 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2176 Likewise.
2177 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2178 Likewise.
2179 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
2180 Likewise, except for totalorder, totalordermag, getpayload,
2181 setpayload and setpayloadsig.
2182 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise,
2183 except for totalorder and totalordermag.
2184
a8c2fa98
JM
2185 * string/string.h (memccpy): Also declare if [__GLIBC_USE (ISOC2X)].
2186 (strdup): Likewise.
2187 (strndup): Likewise.
2188
777d75fb
JM
2189 * include/features.h (_ISOC2X_SOURCE): New feature test macro.
2190 Undefine and define to 1 if [_GNU_SOURCE].
2191 (__GLIBC_USE_ISOC2X): New macro. Undefine and redefine depending
2192 on [_ISOC2X_SOURCE] and [__STDC_VERSION__ > 201710L].
2193 (__USE_ISOC11): Also define to 1 if [_ISOC2X_SOURCE].
2194 (__USE_ISOC99): Likewise.
2195 (__USE_ISOC95): Likewise.
2196 * manual/creature.texi (_ISOC2X_SOURCE): Document.
2197
a33b817f
FW
21982019-08-13 Florian Weimer <fweimer@redhat.com>
2199
2200 * login/getutid_r.c (__getutid_r): _HAVE_UT_ID and _HAVE_UT_TYPE
2201 are always true.
2202 * login/getutmp.c (getutmp): _HAVE_UT_TYPE, _HAVE_UT_PID,
2203 _HAVE_UT_ID, _HAVE_UT_HOST, _HAVE_UT_TV are always true.
2204 * login/getutmpx.c (getutmpx): Likewise.
2205 * login/login.c (login): _HAVE_UT_TYPE, _HAVE_UT_PID are always
2206 true.
2207 * login/logout.c (logout): _HAVE_UT_TYPE, _HAVE_UT_HOST,
2208 _HAVE_UT_TV are always true.
2209 * login/logwtmp.c (logwtmp): _HAVE_UT_PID, _HAVE_UT_TYPE,
2210 _HAVE_UT_HOST, _HAVE_UT_TV are always true.
2211 * login/tst-utmp.c: _HAVE_UT_TYPE, _HAVE_UT_TV are always true.
2212 * login/utmp_file.c (__libc_setutent): _HAVE_UT_TYPE, _HAVE_UT_ID
2213 are always true.
2214 (internal_getut_r): _HAVE_UT_TYPE is always true.
2215 (__libc_pututline): Likewise.
2216 * login/programs/utmpdump.c (print_entry): Assume that
2217 _HAVE_UT_TYPE, _HAVE_UT_PID, _HAVE_UT_ID, _HAVE_UT_HOST,
2218 _HAVE_UT_TV are always true.
2219 * sysdeps/generic/utmp-equal.h (__utmp_equal): _HAVE_UT_TYPE,
2220 _HAVE_UT_ID are always true.
2221 * sysdeps/gnu/bits/utmp.h: Move to ...
2222 * bits/utmp.h: ... here, replacing the old file.
2223
9b9670fc
FW
22242019-08-12 Florian Weimer <fweimer@redhat.com>
2225
2226 * elf/Makefile (tests): Unconditionally add tst-dlopen-aout.
2227 [$(build-hardcoded-path-in-tests)] (tst-dlopen-aout-no-pie): Do
2228 not set.
2229 * elf/tst-dlopen-aout.c: Do not included <assert.h>.
2230 (do_test): Open the executable using an absolute path. Print
2231 error message to standard output.
2232
c48d92b4
DD
22332019-08-09 DJ Delorie <dj@redhat.com>
2234
2235 * elf/dl-tunables.list: Add glibc.malloc.mxfast.
2236 * manual/tunables.texi: Document it.
2237 * malloc/malloc.c (do_set_mxfast): New.
2238 (__libc_mallopt): Call it.
2239 * malloc/arena.c: Add mxfast tunable.
2240 * malloc/tst-mxfast.c: New.
2241 * malloc/Makefile: Add it.
2242
b6d2c447
NH
22432019-08-08 Niklas Hambüchen <mail@nh2.me>
2244 Carlos O'Donell <carlos@redhat.com>
2245
2246 [BZ #24026]
2247 * malloc/malloc.c (__malloc_info): Account for top chunk.
2248
a02cd8e4
JM
22492019-08-07 Joseph Myers <joseph@codesourcery.com>
2250
2251 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2252 (SYNC_FILE_RANGE_WRITE_AND_WAIT): New macro.
2253
d8b97803
JM
22542019-08-06 Joseph Myers <joseph@codesourcery.com>
2255
2256 * io/fcntl.h [__USE_GNU] (AT_RECURSIVE): New macro.
2257
8d454abe
SL
22582019-07-02 Stefan Liebler <stli@linux.ibm.com>
2259
2260 * sysdeps/unix/sysv/linux/s390/init-first.c (VDSO_SETUP): New define.
2261
98013846
JM
22622019-08-05 Joseph Myers <joseph@codesourcery.com>
2263
2264 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU] (CLONE_PIDFD):
2265 New macro.
2266
503fc587
AZ
22672019-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2268
d665367f
AZ
2269 [BZ #19767]
2270 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (ALWAYS_USE_VSYSCALL):
2271 Remove definition.
2272 * sysdeps/unix/sysv/linux/arm/sysdep.h (ALWAYS_USE_VSYSCALL):
2273 Likewise.
2274 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
2275 Likewise.
2276 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (ALWAYS_USE_VSYSCALL):
2277 Likewise.
2278 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
2279 (ALWAYS_USE_VSYSCALL): Likewise.
2280 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
2281 (ALWAYS_USE_VSYSCALL): Likewise.
2282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2283 (ALWAYS_USE_VSYSCALL): Likewise.
2284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2285 (ALWAYS_USE_VSYSCALL): Likewise.
2286 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
2287 Likewise.
2288 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2289 (ALWAYS_USE_VSYSCALL): Likewise.
2290 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2291 (ALWAYS_USE_VSYSCALL): Likewise.
2292 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
2293 Likewise.
2294 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
2295 Likewise.
2296 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Remove #if USE_VSYSCALL.
2297 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Likewise.
2298 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL,
2299 USE_VSYSCALL): Remove defitions.
2300
c9c1a413
AZ
2301 [BZ #19767]
2302 * sysdeps/unix/sysv/linux/sparc/init-first.c: Remove #ifdef SHARED.
2303 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
2304 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
2305 Define.
2306
27a0914e 2307 [BZ #19767]
5e855c89
AZ
2308 * sysdeps/unix/sysv/linux/s390/init-first.c: Remove #ifdef SHARED.
2309 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
2310 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2311 (ALWAYS_USE_VSYSCALL): Define.
2312 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2313 (ALWAYS_USE_VSYSCALL): Likewise.
2314
2315 [BZ #19767]
27a0914e
AZ
2316 * sysdeps/unix/sysv/linux/riscv/init-first.c: Remove #ifdef SHARED.
2317 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
2318 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
2319 Define.
2320
503fc587
AZ
2321 * sysdeps/sh/libm-test-ulps: Update.
2322
1a7fe2eb
FW
23232019-08-05 Florian Weimer <fweimer@redhat.com>
2324
2325 [BZ #23518]
2326 * login/uptmp-private.h (struct ufuncs): Remove definition.
2327 (__libc_utmp_file_functions, __libc_utmp_unknown_functions)
2328 (__libc_utmp_jump_table): Remove declarations.
2329 (__libc_setutent, __libc_getutent_r, __libc_getutid_r)
2330 (__libc_getutline_r, __libc_pututline, __libc_endutent)
2331 (__libc_updwtmp): Declare.
2332 * login/getutent_r.c (__libc_utmp_unknown_functions)
2333 (__libc_utmp_jump_table, setutent_unknown, getutent_r_unknown)
2334 (getutid_r_unknown, getutline_r_unknown, pututline_unknown)
2335 (endutent_unknown): Remove definitions.
2336 (__setutent): Call __libc_setutent.
2337 (__getutent_r): Call __libc_getutent_r.
2338 (__pututline): Call __libc_pututline.
2339 (__endutent): Call __libc_endutent.
2340 * login/getutid_r.c (__getutid_r): Call __libc_getutid_r.
2341 * login/getutline_r.c (__getutline_r): Call __libc_getutline_r.
2342 * login/updwtmp.c (__updwtmp): Call __libc_updwtmp.
2343 * login/utmp_file.c (__libc_utmp_file_functions): Remove definition
2344 (__libc_setutent): Rename from stetutent_file. Drop static.
2345 (maybe_setutent): New function.
2346 (__libc_getutent_r): Rename from getutent_r_file. Drop static.
2347 Check for initialization.
2348 (__libc_getutid_r): Rename from getutid_r_file. Drop static.
2349 Check for initialization.
2350 (__libc_getutline_r): Rename from getutline_r_file. Drop static.
2351 Check for initialization.
2352 (__libc_pututline): Rename from pututline_file. Drop static.
2353 Check for initialization.
2354 (__libc_endutent): Rename from endutent_file. Drop static. Check
2355 for initialization.
2356 (__libc_updwtmp): Rename from updwtmp_file. Drop static.
2357 * login/utmpname.c (__utmpname): Call __libc_endutent.
2358 * sysdeps/unix/getlogin_r (__getlogin_r): Call __libc_setutent,
2359 __libc_getutlien_r, __libc_endutent.
2360 * manual/users.texi (Who Logged In, Manipulating the Database):
2361 Adjust.
2362
ab74d59f 23632019-08-05 Alexandra Hájková <ahajkova@redhat.com>
a6c1ce77
AH
2364
2365 * elf/tst-ldconfig-bad-aux-cache.c: Use support_capture_subprocess.
2366
c7a26cba
JM
23672019-08-02 Joseph Myers <joseph@codesourcery.com>
2368
9c37bde5
JM
2369 * sysdeps/unix/sysv/linux/syscall-names.list: Update comment.
2370
c7a26cba
JM
2371 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Update Linux
2372 kernel version number to 5.2.
2373
066020c5
RFF
23742019-08-01 Raoni Fassina Firmino <raoni@linux.ibm.com>
2375
2376 * sysdeps/powerpc/powerpc64/power8/memchr.S: Update power8
2377 mnemonics and set .machine power8.
2378 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
2379 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Likewise.
2380 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
2381 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
2382 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
2383 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
2384 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
2385 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
2386 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
2387 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
2388
3175dcc1
AZ
23892019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2390
2391 * sysdeps/hppa/fpu/libm-test-ulps: Update.
2392
b0f6679b
FW
23932019-08-01 Florian Weimer <fweimer@redhat.com>
2394
2395 [BZ #24867]
2396 * malloc/malloc.c (__malloc_info): Remove unwanted leading
2397 whitespace.
2398
e1df30fb
AZ
23992019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2400
2401 [BZ #15813]
2402 sysdeps/posix/tempname.c (__gen_tempname): get entropy on each
2403 attempt.
2404
e7124906
CD
24052019-08-01 Carlos O'Donell <carlos@redhat.com>
2406
0a8262a1
CD
2407 * version.h (RELEASE): Set to "stable".
2408 (VERSION): Set to "2.30".
2409 * include/features.h (__GLIBC_MINOR__): Set to 2.30.
2410
e7124906
CD
2411 * manual/install.texi: Update component versions.
2412 * INSTALL: Regenerate.
2413 * NEWS: Update.
2414
cc3bf319
CD
24152019-07-31 Carlos O'Donell <carlos@redhat.com>
2416
2417 * po/be.po: Update translations.
2418 * po/bg.po: Likewise.
2419 * po/ca.po: Likewise.
2420 * po/cs.po: Likewise.
2421 * po/da.po: Likewise.
2422 * po/de.po: Likewise.
2423 * po/el.po: Likewise.
2424 * po/eo.po: Likewise.
2425 * po/es.po: Likewise.
2426 * po/fi.po: Likewise.
2427 * po/fr.po: Likewise.
2428 * po/gl.po: Likewise.
2429 * po/hr.po: Likewise.
2430 * po/hu.po: Likewise.
2431 * po/ia.po: Likewise.
2432 * po/id.po: Likewise.
2433 * po/it.po: Likewise.
2434 * po/ja.po: Likewise.
2435 * po/ko.po: Likewise.
2436 * po/lt.po: Likewise.
2437 * po/nb.po: Likewise.
2438 * po/nl.po: Likewise.
2439 * po/pl.po: Likewise.
2440 * po/pt_BR.po: Likewise.
2441 * po/ru.po: Likewise.
2442 * po/rw.po: Likewise.
2443 * po/sk.po: Likewise.
2444 * po/sl.po: Likewise.
2445 * po/sv.po: Likewise.
2446 * po/tr.po: Likewise.
2447 * po/uk.po: Likewise.
2448 * po/vi.po: Likewise.
2449 * po/zh_CN.po: Likewise.
2450 * po/zh_TW.po: Likewise.
2451
0bfddfc9
FW
24522019-07-31 Florian Weimer <fweimer@redhat.com>
2453
2454 [BZ #24583]
2455 [BZ #24677]
2456 iconv, libio: Revert reference counting changes.
2457 * iconv/gconv_cache.c (__gconv_release_cache): Unconditionally
2458 free the steps array.
2459 * libio/Makefile (tests): Remove tst-wfile-gconv.
2460 (tests-container): Do not add tst-wfile-ascii.
2461 (tst-wfile-gconv-ENV): Do not set.
2462 (generated): Do not add tst-wfile-gconv.mtrace,
2463 tst-wfile-gconv.check.
2464 [($run-built-tests)] (tests-special): Do not add
2465 tst-wfile-gconv-mem.out.
2466 (tst-wfile-gconv.out, tst-wfile-gconv-mem.out): Remove targets.
2467 * libio/iofclose.c (_IO_new_fclose): Call __gconv_release_step
2468 instead of __wcsmbs_clone_conv.
2469 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Remove definition.
2470 * wcsmbs/wcsmbsload.h (__wcsmbs_clone_conv): Remove declaration.
2471
c86b8e75
JM
24722019-07-30 Joseph Myers <joseph@codesourcery.com>
2473
2474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
2475 (__CONTEXT_FUNC_NAME): Restore setting of r31.
2476
8a814e20
FW
24772019-07-30 Florian Weimer <fweimer@redhat.com>
2478
2479 * nptl/tst-pthread-getattr.c (allocate_and_test): Change return
2480 type to uintptr_t. Update comment.
2481 (check_stack_top): Adjust.
2482
b8b3d5a1
FW
24832019-07-29 Florian Weimer <fweimer@redhat.com>
2484
2485 Linux: Move declaration of getdents64 to <dirent.h>.
2486 * bits/dirent_ext.h: New file.
2487 * dirent/Makefile (headers): Add bits/dirent_ext.h.
2488 * dirent/dirent.h: Include <bits/dirent_ext.h>.
2489 * sysdeps/unix/sysv/linux/bits/dirent_ext.h: New file.
2490 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Remove
2491 declaration.
2492 * manual/filesys.texi (Low-level Directory Access): Update header
2493 to dirent.h.
2494
354e4c1a
TMQMF
24952019-07-29 DJ Delorie <dj@redhat.com>
2496 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2497
2498 [BZ #24794]
2499 * Makeconfig (all-subdirs): Improved source comments.
2500 * Makefile (testroot.pristine/install.stamp): Pass
2501 subdirs='$(sorted-subdirs)' to make install.
2502
50ce3eae
FW
25032019-07-25 Florian Weimer <fweimer@redhat.com>
2504
2505 [BZ #24677]
2506 * iconv/gconv_cache.c (__gconv_release_cache): Check reference
2507 counter before freeing array.
2508
7e681561
L
25092019-07-24 H.J. Lu <hongjiu.lu@intel.com>
2510
2511 [BZ #24603]
2512 * sysdeps/x86_64/configure.ac: Check if -mprefer-vector-width=128
2513 works.
2514 * sysdeps/x86_64/configure: Regenerated.
2515 * sysdeps/x86_64/fpu/Makefile (CFLAGS-branred.c): New. Set
2516 to -mprefer-vector-width=128 if supported.
2517
82c664ed
FW
25182019-07-24 Florian Weimer <fweimer@redhat.com>
2519
2520 * scripts/build-many-glibcs.py (Context.checkout): Default to
2521 Linux 5.2.
2522
7854ebf8
FW
25232019-07-24 Florian Weimer <fweimer@redhat.com>
2524
2525 [BZ #24532]
2526 Linux: Use in-tree copy of SO_ constants for !__USE_MISC.
2527 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == socket]
2528 (sysdep_headers): Add bits/socket-constants.h.
2529 (tests-special): Add tst-socket-consts.out.
2530 (tst-socket-consts.out): New target.
2531 * sysdeps/unix/sysv/linux/bits/socket.h: Remove macro tracking
2532 around <asm/unistd.h>.
2533 [__USE_MISC]: Include <bits/types/time_t.h> before <asm/socket.h>.
2534 [!__USE_MISC]: Include <sys/socket-constants.h> instead of
2535 <asm/socket.h>.
2536 * sysdeps/unix/sysv/linux/bits/tst-socket-consts.py: New file.
2537 * sysdeps/unix/sysv/linux/bits/socket-constants.h: Likewise.
2538 * sysdeps/unix/sysv/linux/alpha/bits/socket-constants.h: Likewise.
2539 * sysdeps/unix/sysv/linux/hppa/bits/socket-constants.h: Likewise.
2540 * sysdeps/unix/sysv/linux/mips/bits/socket-constants.h: Likewise.
2541 * sysdeps/unix/sysv/linux/powerpc/bits/socket-constants.h:
2542 Likewise.
2543 * sysdeps/unix/sysv/linux/sparc/bits/socket-constants.h: Likewise.
2544
95da14da
TMQMF
25452019-07-23 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2546
35e038c1
TMQMF
2547 [BZ #24794]
2548 * Makefile (testroot.pristine/install.stamp): Pass
2549 subdirs='$(all-subdirs)' to make install.
2550
95da14da
TMQMF
2551 * Makefile (testroot.pristine/install.stamp): Execute ld.so with
2552 the same arguments used in all tests.
2553
dcf36bca
SN
25542019-07-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
2555
2556 * NEWS: Mention the AArch64 IFUNC resolver ABI change.
2557
c7e4b684
EK
25582019-07-20 Egor Kobylkin <egor@kobylkin.com>
2559
2560 [BZ #2872]
2561 * locale/C-translit.h.in: Add Cyrillic transliteration.
2562
1f7097d0
FW
25632019-07-19 Florian Weimer <fweimer@redhat.com>
2564
2565 * sysdeps/unix/sysv/linux/syscall-names.list: Add system calls
2566 from Linux 5.2.
2567 (fsconfig): Add system call name.
2568 (fsmount): Likewise.
2569 (fsopen): Likewise.
2570 (fspick): Likewise.
2571 (move_mount): Likewise.
2572 (open_tree): Likewise.
2573
3556658c
CD
25742019-07-18 Carlos O'Donell <carlos@redhat.com>
2575
2576 * po/libc.pot: Regenerate.
2577
4a8f6d31
MC
25782019-07-18 Mike Crowe <mac@mcrowe.com>
2579
2ab9ad57
AZ
2580 * sysdeps/unix/sysv/linux/hppa/pthread.h: Add declarations of
2581 functions recently added to sysdeps/nptl/pthread.h:
2582 pthread_mutex_clocklock, pthread_rwlock_clockrdlock,
2583 pthread_rwlock_clockwrlock and pthread_cond_clockwait.
2584
4a8f6d31
MC
2585 * nptl/forward.c: Remove unnecessary __pthread_cond_clockwait and
2586 pthread_cond_clockwait forwarding functions. There are no internal
2587 users, so it is unnecessary to expose these functions in libc.so.
2588 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
2589 unnecessary ptr___pthread_cond_clockwait member.
2590 * nptl/nptl-init.c (pthread_functions): Remove assignment of
2591 removed member.
2592
ab74d59f 25932019-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
9208c3b8
RL
2594
2595 [BZ #21897]
2596 * localedata/locales/aa_DJ (abday): Update from CLDR, all words
2597 begin with an uppercase letter now.
2598 (abmon): Likewise.
2599 (mon): Update from CLDR, reword February from "Kudo" to
2600 "Naharsi Kudo", April from "Agda Baxisso" to "Agda Baxis",
2601 and August from "Liiqen" to "Leqeeni".
2602 * localedata/locales/aa_ER (mon): Update from CLDR, reword
2603 April from "Agda Baxisso" to "Agda Baxis" and August from
2604 "Leqeeni" to "Liiqen".
2605 * localedata/locales/aa_ER@saaho (mon): Likewise.
2606 * localedata/locales/aa_ET (abmon): Update from CLDR, reword
2607 abbreviated February from "Kud" to "Nah".
2608 (mon): Update from CLDR, reword February from "Kudo" to
2609 "Naharsi Kudo" and April from "Agda Baxisso" to "Agda Baxis".
2610
ab74d59f 26112019-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
fba6d4bb
RL
2612
2613 [BZ #23996]
2614 * localedata/locales/nl_BE (LC_NAME): Replace with “copy "nl_NL"”.
2615
3cc7c9c5
P
26162019-07-17 PanderMusubi <pander@users.sourceforge.net>
2617
2618 [BZ #23996]
2619 * localedata/locales/nl_BE (LC_NAME): Add name_gen, name_mr,
2620 name_mrs, name_miss, and name_ms.
2621 * localedata/locales/nl_NL (LC_NAME): Likewise.
2622
cce7b6a5
DZ
26232019-07-17 Daniil Zhilin <generalfailer@protonmail.com>
2624
2625 [BZ #24200]
2626 * localedata/locales/ga_IE (first_weekday): Add, set to 2 (Monday).
2627 * localedata/locales/en_IE (first_weekday): Likewise.
2628
99d01ffc
MC
26292019-07-12 Mike Crowe <mac@mcrowe.com>
2630
1ff1373b
MC
2631 * nptl/pthread_cond_wait.c: (__pthread_cond_clockwait): Remove code
2632 that is only useful if futex_supports_exact_relative_timeouts ()
2633 returns false.
2634 * nptl/pthread_condattr_setclock.c: (pthread_condattr_setclock):
2635 Likewise.
2636 * sysdeps/nptl/futex-internal.h: Remove comment about relative
2637 timeouts potentially being imprecise since it's no longer true.
2638 Remove declaration of futex_supports_exact_relative_timeouts.
2639 * sysdeps/unix/sysv/linux/futex-internal.h: Remove implementation
2640 of futex_supports_exact_relative_timeouts.
2641
65dd7e9c
MC
2642 * NEWS: Mention recently-added pthread_cond_clockwait,
2643 pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and
2644 sem_clockwait functions.
2645
9d20e22e
MC
2646 nptl: Add POSIX-proposed pthread_mutex_clocklock function that
2647 works like pthread_mutex_timedlock but takes a clockid parameter to
2648 measure the abstime parameter against.
2649 * sysdeps/nptl/pthread.h: Add pthread_mutex_clocklock.
2650 * nptl/DESIGN-systemtap-probes.txt: Likewise.
2651 * nptl/pthread_mutex_timedlock.c
2652 (__pthread_mutex_clocklock_common): Rename from
2653 __pthread_mutex_timedlock and add clockid parameter. Pass this
2654 parameter to lll_clocklock and lll_clocklock_elision in place of
2655 CLOCK_REALTIME. (__pthread_mutex_clocklock): New function to add
2656 LIBC_PROBE and validate clockid parameter before calling
2657 __pthread_mutex_clocklock_common. (__pthread_mutex_timedlock): New
2658 implementation to add LIBC_PROBE and calls
2659 __pthread_mutex_clocklock_common passing CLOCK_REALTIME as the
2660 clockid.
2661 * nptl/Makefile: Add tst-mutex11.c.
2662 * nptl/tst-abstime.c (th): Add tests for pthread_mutex_clocklock.
2663 * nptl/tst-mutex11.c: New tests for passing invalid and unsupported
2664 clockid parameters to pthread_mutex_clocklock.
2665 * nptl/tst-mutex5.c (do_test_clock): Rename from do_test and take
2666 clockid parameter to indicate which clock to be used. Call
2667 pthread_mutex_timedlock or pthread_mutex_clocklock as appropriate.
2668 (do_test): Call do_test_clock to separately test
2669 pthread_mutex_timedlock, pthread_mutex_clocklock(CLOCK_REALTIME)
2670 and pthread_mutex_clocklock(CLOCK_MONOTONIC).
2671 * nptl/tst-mutex9.c: Likewise.
2672 * nptl/Versions (GLIBC_2.30): Add pthread_mutex_clocklock.
2673 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30):
2674 Likewise.
2675 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30):
2676 Likewise.
2677 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30):
2678 Likewise.
2679 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30):
2680 Likewise.
2681 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30):
2682 Likewise.
2683 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30):
2684 Likewise.
2685 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30):
2686 Likewise.
2687 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2688 (GLIBC_2.30): Likewise.
2689 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2690 (GLIBC_2.30): Likewise.
2691 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2692 (GLIBC_2.30): Likewise.
2693 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2694 (GLIBC_2.30): Likewise.
2695 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2696 (GLIBC_2.30): Likewise.
2697 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30):
2698 Likewise.
2699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2700 (GLIBC_2.30): Likewise.
2701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2702 (GLIBC_2.30): Likewise.
2703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2704 (GLIBC_2.30): Likewise.
2705 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2706 (GLIBC_2.30): Likewise.
2707 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2708 (GLIBC_2.30): Likewise.
2709 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2710 (GLIBC_2.30): Likewise.
2711 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30):
2712 Likewise.
2713 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2714 (GLIBC_2.30): Likewise.
2715 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2716 (GLIBC_2.30): Likewise.
2717 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2718 (GLIBC_2.30): Likewise.
2719 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2720 (GLIBC_2.30): Likewise.
2721
59213094
MC
2722 nptl: Rename lll_timedlock to lll_clocklock and add clockid
2723 parameter to indicate the clock that the abstime parameter should
2724 be measured against in preparation for adding
2725 pthread_mutex_clocklock.
2726 * sysdeps/nptl/lowlevellock.h (lll_clocklock): Rename from
2727 lll_timedlock and add clockid parameter. (__lll_clocklock): Rename
2728 from __lll_timedlock and add clockid parameter.
2729 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_clocklock):
2730 Likewise.
2731 * nptl/lll_timedlock_wait.c (__lll_clocklock_wait): Rename from
2732 __lll_timedlock_wait and add clockid parameter. Use __clock_gettime
2733 rather than __gettimeofday so that clockid can be used. This means
2734 that conversion from struct timeval is no longer required.
2735 * sysdeps/sparc/sparc32/lowlevellock.c (lll_clocklock_wait):
2736 Likewise.
2737 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: Update comment to
2738 refer to __lll_clocklock_wait rather than __lll_timedlock_wait.
2739 * nptl/pthread_mutex_timedlock.c (lll_clocklock_elision): Rename
2740 from lll_timedlock_elision, add clockid parameter and use
2741 meaningful names for other parameters. (__pthread_mutex_timedlock):
2742 Pass CLOCK_REALTIME where necessary to lll_clocklock and
2743 lll_clocklock_elision.
2744 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
2745 (lll_clocklock_elision): Rename from lll_timedlock_elision and add
2746 clockid parameter. (__lll_clocklock_elision): Rename from
2747 __lll_timedlock_elision and add clockid parameter.
2748 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2749 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: Likewise.
2750 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c
2751 (__lll_lock_elision): Call __lll_clocklock_elision rather than
2752 __lll_timedlock_elision. (EXTRAARG): Add clockid parameter.
2753 (LLL_LOCK): Likewise.
2754 * sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2755 * sysdeps/unix/sysv/linux/x86/elision-timed.c: Likewise.
2756
e996fa72
MC
2757 nptl: Add POSIX-proposed pthread_rwlock_clockrdlock &
2758 pthread_rwlock_clockwrlock which behave like
2759 pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock
2760 respectively, except they always measure abstime against the
2761 supplied clockid. The functions currently support CLOCK_REALTIME
2762 and CLOCK_MONOTONIC and return EINVAL if any other clock is
2763 specified.
2764 * sysdeps/nptl/pthread.h: Add pthread_rwlock_clockrdlock and
2765 pthread_wrlock_clockwrlock.
2766 * nptl/Makefile: Build pthread_rwlock_clockrdlock.c and
2767 pthread_rwlock_clockwrlock.c.
2768 * nptl/pthread_rwlock_clockrdlock.c: Implement
2769 pthread_rwlock_clockrdlock.
2770 * nptl/pthread_rwlock_clockwrlock.c: Implement
2771 pthread_rwlock_clockwrlock.
2772 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Add
2773 clockid parameter and verify that it indicates a supported clock on
2774 entry so that we fail even if it doesn't end up being used. Pass
2775 that clock on to futex_abstimed_wait when necessary.
2776 (__pthread_rwlock_wrlock_full): Likewise.
2777 * nptl/pthread_rwlock_rdlock.c: (__pthread_rwlock_rdlock): Pass
2778 CLOCK_REALTIME to __pthread_rwlock_rdlock_full even though it won't
2779 be used because there's no timeout.
2780 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Pass
2781 CLOCK_REALTIME to __pthread_rwlock_wrlock_full even though it won't
2782 be used because there is no timeout.
2783 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2784 Pass CLOCK_REALTIME to __pthread_rwlock_rdlock_full since abstime
2785 uses that clock.
2786 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2787 Pass CLOCK_REALTIME to __pthread_rwlock_wrlock_full since abstime
2788 uses that clock.
2789 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2790 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2791 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2792 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2793 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2794 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2795 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2796 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2797 (GLIBC_2.30): Likewise.
2798 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2799 (GLIBC_2.30): Likewise.
2800 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2801 (GLIBC_2.30): Likewise.
2802 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2803 (GLIBC_2.30): Likewise.
2804 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2805 (GLIBC_2.30): Likewise.
2806 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2808 (GLIBC_2.30): Likewise.
2809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2810 (GLIBC_2.30): Likewise.
2811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2812 (GLIBC_2.30): Likewise.
2813 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2814 (GLIBC_2.30): Likewise.
2815 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2816 (GLIBC_2.30): Likewise.
2817 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2818 (GLIBC_2.30): Likewise.
2819 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2820 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2821 (GLIBC_2.30): Likewise.
2822 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2823 (GLIBC_2.30): Likewise.
2824 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2825 (GLIBC_2.30): Likewise.
2826 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2827 (GLIBC_2.30): Likewise.
2828 * nptl/tst-abstime.c (th): Add pthread_rwlock_clockrdlock and
2829 pthread_rwlock_clockwrlock timeout tests to match the existing
2830 pthread_rwlock_timedrdloock and pthread_rwlock_timedwrlock tests.
2831 * nptl/tst-rwlock14.c (do_test): Likewise.
2832 * nptl/tst-rwlock6.c Invent verbose_printf macro, and use for
2833 ancillary output throughout. (tf): Accept thread_args structure so
2834 that rwlock, a clockid and function name can be passed to the
2835 thread. (do_test_clock): Rename from do_test. Accept clockid
2836 parameter to specify test clock. Use the magic clockid value of
2837 CLOCK_USE_TIMEDLOCK to indicate that pthread_rwlock_timedrdlock and
2838 pthread_rwlock_timedwrlock should be tested, otherwise pass the
2839 specified clockid to pthread_rwlock_clockrdlock and
2840 pthread_rwlock_clockwrlock. Use xpthread_create and xpthread_join.
2841 (do_test): Call do_test_clock to test each clockid in turn.
2842 * nptl/tst-rwlock7.c: Likewise.
2843 * nptl/tst-rwlock9.c (writer_thread, reader_thread): Accept
2844 thread_args structure so that the (now int) thread number, the
2845 clockid and the function name can be passed to the thread.
2846 (do_test_clock): Renamed from do_test. Pass the necessary
2847 thread_args when creating the reader and writer threads. Use
2848 xpthread_create and xpthread_join.
2849 (do_test): Call do_test_clock to test each clockid in turn.
2850 * manual/threads.texi: Add documentation for
2851 pthread_rwlock_clockrdlock and pthread_rwlock_clockwrclock.
2852
600b4be4
MC
2853 nptl: pthread_rwlock: Move timeout validation into _full functions
2854 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full):
2855 Check validity of abstime parameter.
2856 (__pthread_rwlock_rwlock_full): Likewise.
2857 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2858 Remove check for validity of abstime parameter.
2859 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2860 Likewise.
2861
afe4de7d
MC
2862 nptl: Add POSIX-proposed pthread_cond_clockwait which behaves just
2863 like pthread_cond_timedwait except it always measures abstime
2864 against the supplied clockid.
2865 * nptl/Makefile: Add tst-cond26 and tst-cond27
2866 * nptl/Versions (GLIBC_2.30): Add pthread_cond_clockwait
2867 * sysdeps/nptl/pthread.h: Likewise
2868 * nptl/forward.c: Add __pthread_cond_clockwait
2869 * nptl/forward.c: Likewise
2870 * nptl/pthreadP.h: Likewise
2871 * sysdeps/nptl/pthread-functions.h: Likewise
2872 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Add
2873 clockid parameter and comment describing why we don't need to check
2874 its value. Use that value when calling
2875 futex_abstimed_wait_cancelable rather than reading the clock from
2876 the flags. (__pthread_cond_wait): Pass unused clockid parameter.
2877 (__pthread_cond_timedwait): Read clock from flags and pass it to
2878 __pthread_cond_wait_common. (__pthread_cond_clockwait): Add new
2879 function with weak alias from pthread_cond_clockwait.
2880 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2881 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2882 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2883 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2884 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2885 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2886 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2887 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2888 (GLIBC_2.30): Likewise.
2889 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2890 (GLIBC_2.30): Likewise.
2891 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2892 (GLIBC_2.30): Likewise.
2893 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2894 (GLIBC_2.30): Likewise.
2895 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2896 (GLIBC_2.30): Likewise.
2897 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2899 (GLIBC_2.30): Likewise.
2900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2901 (GLIBC_2.30): Likewise.
2902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2903 (GLIBC_2.30): Likewise.
2904 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2905 (GLIBC_2.30): Likewise.
2906 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2907 (GLIBC_2.30): Likewise.
2908 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2909 (GLIBC_2.30): Likewise.
2910 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2911 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2912 (GLIBC_2.30): Likewise.
2913 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2914 (GLIBC_2.30): Likewise.
2915 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2916 (GLIBC_2.30): Likewise.
2917 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2918 (GLIBC_2.30): Likewise.
2919 * nptl/tst-cond11.c (run_test): Support testing
2920 pthread_cond_clockwait too by using a special magic
2921 CLOCK_USE_ATTR_CLOCK value to determine whether to call
2922 pthread_cond_timedwait or pthread_cond_clockwait. (do_test): Pass
2923 CLOCK_USE_ATTR_CLOCK for existing tests, and add new tests using
2924 all combinations of CLOCK_MONOTONIC and CLOCK_REALTIME.
2925 * ntpl/tst-cond26.c: New test for passing unsupported and invalid
2926 clocks to pthread_cond_clockwait.
2927 * nptl/tst-cond27.c: Add test similar to tst-cond5.c, but using
2928 struct timespec and pthread_cond_clockwait.
2929 * manual/threads.texi: Document pthread_cond_clockwait.
2930
6615f779
MC
2931 nptl: Add POSIX-proposed sem_clockwait which behaves just like
2932 sem_timedwait, but measures abstime against the specified clock.
2933 * nptl/sem_waitcommon.c (do_futex_wait, __new_sem_wait_slow): Add
2934 clockid parameters to indicate the clock which abstime should be
2935 measured against.
2936 * nptl/sem_timedwait.c (sem_timedwait), nptl/sem_wait.c
2937 (__new_sem_wait): Pass CLOCK_REALTIME as clockid to
2938 __new_sem_wait_slow.
2939 * nptl/sem_clockwait.c: New file to implement sem_clockwait based
2940 on sem_timedwait.c.
2941 * nptl/Makefile: Add sem_clockwait.c source file. Add CFLAGS for
2942 sem_clockwait.c to match those used for sem_timedwait.c.
2943 * sysdeps/pthread/semaphore.h: Add sem_clockwait.
2944 * nptl/Versions (GLIBC_2.30): Likewise.
2945 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2946 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2947 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2948 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2949 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2950 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2951 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2952 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2953 (GLIBC_2.30): Likewise.
2954 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2955 (GLIBC_2.30): Likewise.
2956 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2957 (GLIBC_2.30): Likewise.
2958 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2959 (GLIBC_2.30): Likewise.
2960 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2961 (GLIBC_2.30): Likewise.
2962 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2964 (GLIBC_2.30): Likewise.
2965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2966 (GLIBC_2.30): Likewise.
2967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2968 (GLIBC_2.30): Likewise.
2969 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2970 (GLIBC_2.30): Likewise.
2971 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2972 (GLIBC_2.30): Likewise.
2973 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2974 (GLIBC_2.30): Likewise.
2975 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2976 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2977 (GLIBC_2.30): Likewise.
2978 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2979 (GLIBC_2.30): Likewise.
2980 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2981 (GLIBC_2.30): Likewise.
2982 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2983 (GLIBC_2.30): Likewise.
2984 * nptl/tst-sem17.c: Add new test for passing invalid clock to
2985 sem_clockwait.
2986 * nptl/tst-sem13.c, nptl/tst-sem5.c: Modify existing sem_timedwait
2987 tests to also test sem_clockwait.
2988 * manual/threads.texi: Document sem_clockwait.
2989
99d01ffc
MC
2990 nptl: Add clockid parameter to futex timed wait calls
2991 * sysdeps/nptl/lowlevellock-futex.h,
2992 sysdeps/unix/sysv/linux/lowlevellock-futex.h: Replace
2993 lll_futex_timed_wait_bitset with lll_futex_clock_wait_bitset that
2994 takes a clockid rather than a special clockbit.
2995 * sysdeps/nptl/lowlevellock-futex.h: Add
2996 lll_futex_supported_clockid so that client functions can check
2997 whether their clockid parameter is valid even if they don't
2998 ultimately end up calling lll_futex_clock_wait_bitset.
2999 * sysdeps/nptl/futex-internal.h,
3000 sysdeps/unix/sysv/linux/futex-internal.h
3001 (futex_abstimed_wait, futex_abstimed_wait_cancelable): Add
3002 clockid_t parameter to indicate which clock the absolute time
3003 passed should be measured against. Pass that clockid onto
3004 lll_futex_clock_wait_bitset. Add invalid clock as reason for
3005 returning -EINVAL.
3006 * sysdeps/nptl/futex-internal.h,
3007 sysdeps/unix/sysv/linux/futex-internal.h: Introduce
3008 futex_abstimed_supported_clockid so that client functions can check
3009 whether their clockid parameter is valid even if they don't
3010 ultimately end up calling futex_abstimed_wait.
3011 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Remove
3012 code to calculate relative timeout for
3013 __PTHREAD_COND_CLOCK_MONOTONIC_MASK and just pass CLOCK_MONOTONIC
3014 or CLOCK_REALTIME as required to futex_abstimed_wait_cancelable.
3015 * nptl/pthread_rwlock_common (__pthread_rwlock_rdlock_full)
3016 (__pthread_wrlock_full), nptl/sem_waitcommon (do_futex_wait): Pass
3017 additional CLOCK_REALTIME to futex_abstimed_wait_cancelable.
3018 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
3019 Switch to lll_futex_clock_wait_bitset and pass CLOCK_REALTIME
3020
a008c76b
AZ
30212019-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3022
3023 [BZ #24699]
3024 * posix/tst-mmap-offset.c: Mention BZ #24699.
3025 (do_test_bz21270): Rename to do_test_large_offset and use
3026 mmap64_maximum_offset to check for maximum expected offset value.
3027 * sysdeps/generic/mmap_info.h: New file.
3028 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
3029 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
3030 __NR_mmap2 is used.
3031
99135114
DD
30322019-07-10 DJ Delorie <dj@redhat.com>
3033 Sergei Trofimovich <slyfox@inbox.ru>
3034
3035 [BZ #24696]
3036 [BZ #24695]
3037 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
3038 mappings.
3039 * nss/tst-nss-db-endgrent.c: New.
3040 * nss/tst-nss-db-endgrent.root: New.
3041 * nss/tst-nss-db-endpwent.c: New.
3042 * nss/tst-nss-db-endpwent.root: New.
3043 * nss/Makefile: Add new tests.
3044 * support/links-dso-program-c.c: Add selinux dependency.
3045 * support/links-dso-program.cc: Add selinux dependency.
3046 * support/Makefile: Build those with -lselinux if enabled.
3047
30ba0375
SN
30482019-07-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
3049
3050 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove the
3051 DT_AARCH64_VARIANT_PCS check.
3052 (elf_machine_lazy_rel): Use l_info[DT_AARCH64 (VARIANT_PCS)].
3053 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Remove
3054 variant_pcs.
3055
32b8188a
AS
30562019-07-10 Andreas Schwab <schwab@suse.de>
3057
3058 [BZ #23352]
3059 * malloc/malloc.h (__malloc_check_init): Don't declare.
3060 * include/malloc.h (__malloc_check_init): Likewise.
3061 * malloc/malloc-internal.h (__malloc_check_init): Declare it here.
3062 * manual/memory.texi (__malloc_check_init): Don't mention it.
3063
7901d4ee
MH
30642019-07-10 Mao Han <han_mao@c-sky.com>
3065
3066 * locale/Makefile: Fix tst-locale-locpath arguments passing.
3067
b5232c9f 30682019-07-09 Paul A. Clarke <pc@us.ibm.com>
32b8188a 3069
b5232c9f
PC
3070 * sysdeps/powerpc/fpu/fenv_libc.h (_FPU_GET_RC): Protect use of
3071 __builtin_cpu_supports with __BUILTIN_CPU_SUPPORTS__.
3072
6ba205b2
DD
30732019-07-08 DJ Delorie <dj@redhat.com>
3074
3075 [BZ #23501]
3076 * io/ftw.c (process_entry): Fill in statbuf for dangling links.
3077 * io/tst-ftw-lnk.c: New test.
3078 * io/Makefile: Run it.
3079
f215dbbd
AZ
30802019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3081
6ea21bfe
AZ
3082 * sysdeps/powerpc/power7/fpu/s_logb.c: Move to ...
3083 * sysdeps/powerpc/fpu/s_logb.c: ... here. Use inline FP constants.
3084 * sysdeps/powerpc/power7/fpu/s_logbf.c: Move to ...
3085 * sysdeps/powerpc/fpu/s_logbf.c: ... here. Use inline FP constants.
3086 * sysdeps/powerpc/power7/fpu/s_logbl.c: Move to ...
3087 * sysdeps/powerpc/fpu/s_logbl.c: ... here. Use inline FP constants.
3088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c:
3089 Adjust implementation path.
3090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c:
3091 Adjust implementation path.
3092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-power7.c:
3093 Adjust implementation path.
3094 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3095 (libm-sysdep_routines): Add s_log* objects.
3096 (CFLAGS-s_logbf-power7.c, CFLAGS-s_logbl-power7.c,
3097 CFLAGS-s_logb-power7.c): New fule.
3098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: Move
3099 to ...
3100 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-power7.c:
3101 ... here.
3102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: Move
3103 to ...
3104 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-ppc64.c:
3105 ... here.
3106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Move to ...
3107 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb.c: ... here.
3108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: Move
3109 to ...
3110 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-power7.c:
3111 ... here.
3112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: Move
3113 to ...
3114 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-ppc64.c:
3115 ... here.
3116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Move to ...
3117 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf.c: ... here.
3118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: Move
3119 to ...
3120 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-power7.c:
3121 ... here.
3122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: Move
3123 to ...
3124 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-ppc64.c:
3125 ... here.
3126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: Move to ...
3127 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl.c: ... here.
3128 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Remove file.
3129 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Remove file.
3130 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
3131 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
3132
105f2ed3
AZ
3133 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ...
3134 * sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for
3135 powerpc32 integer 0 converting to -0.
3136
0cccd37f
AZ
3137 * benchtests/Makefile (bench-math): Add logb.
3138 * benchtests/logb-inputs: New file.
3139 * benchtests/logbf-inputs: New file.
3140
931c616e
AZ
3141 * sysdeps/powerpc/power5+/fpu/s_modf.c: Move to ...
3142 * sysdeps/powerpc/fpu/s_modf.c: ... here. Add ISA 2.07 optimization.
3143 * sysdeps/powerpc/power5+/fpu/s_modff.c: Move to ...
3144 * sysdeps/powerpc/fpu/s_modff.c: ... here. Add ISA 2.07 optimization.
3145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
3146 Adjust include.
3147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
3148 Likewise.
3149 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile (sysdep_calls,
3150 sysdep_routines): Add s_modf* objects.
3151 (CFLAGS-s_modf-power5+.c, CFLAGS-s_modff-power5+.c,
3152 CFLAGS-s_modf-ppc64.c, CFLAGS-s_modff-ppc64.c): New rule.
3153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Move
3154 to ...
3155 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c:
3156 ... here.
3157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Movo
3158 to ...
3159 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c: Move
3160 ... here.
3161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Move to ...
3162 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf.c: ... here.
3163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: Move
3164 to ...
3165 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-power5+.c:
3166 ... here.
3167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: Move to ...
3168 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-ppc64.c:
3169 ... here.
3170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Move to ...
3171 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff.c: ... here.
3172
69461d98
AZ
3173 * sysdeps/powerpc/fpu/e_hypot.c (two60, two500, two600, two1022,
3174 twoM500, twoM600, two60factor, pdnum): Remove.
3175 (TEST_INFO_NAN, GET_TW0_HIGH_WORD): Remove macro.
3176 (__ieee754_hypot): Replace static variables with inline definition,
3177 remove ununsed branches.
3178 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3179 (libm-sysdep_routines): Remove e_hypot-* objects.
3180 (CFLAGS-e_hypot-power7.c, CFLAGS-e_hypotf-power7.c): Remove rule.
3181 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: Remove
3182 file.
3183 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: Likewise.
3184 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: Likewise.
3185 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: Likewise.
3186 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: Likewise.
3187 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: Likewise.
3188
f215dbbd
AZ
3189 * benchtests/Makefile (bench-math): Add hypot.
3190 * benchtests/hypot-inputs: New file.
3191
97274b18
VC
31922019-07-08 Vincent Chen <vincentc@andestech.com>
3193
3194 * sysdeps/unix/sysv/linux/dl-vdso.h
3195 (VDSO_NAME_LINUX_4, VDSO_HASH_LINUX_4): New defines.
3196
484b7af3
AS
31972019-07-04 Andreas Schwab <schwab@suse.de>
3198
3199 [BZ #24484]
3200 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Define.
3201
2b8a3c86
SN
32022019-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
3203
3204 * sysdeps/aarch64/Makefile: Install sys/ifunc.h and add tests.
3205 * sysdeps/aarch64/dl-irel.h (elf_ifunc_invoke): Update to new ABI.
3206 * sysdeps/aarch64/sys/ifunc.h: New file.
3207 * sysdeps/aarch64/tst-ifunc-arg-1.c: New file.
3208 * sysdeps/aarch64/tst-ifunc-arg-2.c: New file.
3209
41d6f74e
FW
32102019-07-01 Florian Weimer <fweimer@redhat.com>
3211
3212 [BZ #20188]
3213 * nptl/Versions (libpthread): Remove __fork from GLIBC_2.0.
3214 Replace __vfork with __libpthread_version_placeholder for
3215 GLIBC_2.1.2.
3216 (libc): Remove __libc_vfork from GLIBC_PRIVATE.
3217 * nptl/Makefile (libpthread-routines): Remove pt-vfork. Add
3218 libpthread-compat.
3219 * nptl/pt-vfork.c: Remove file.
3220 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: Likewise.
3221 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Likewise.
3222 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
3223 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
3224 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: Likewise.
3225 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: Likewise.
3226 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Likewise.
3227 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: Likewise.
3228 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: Likewise.
3229 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
3230 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: Likewise.
3231 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Likewise.
3232 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: Likewise.
3233 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
3234 Remove vfork, __vfork.
3235 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
3236 Remove vfork.
3237 (GLIBC_2.1.2): Replace __vfork with
3238 __libpthread_version_placeholder.
3239 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
3240 Remove vfork, __vfork.
3241 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
3242 Likewise.
3243 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
3244 Remove vfork.
3245 (GLIBC_2.1.2): Replace __vfork with
3246 __libpthread_version_placeholder.
3247 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
3248 Remove vfork.
3249 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
3250 (GLIBC_2.4): Remove vfork, __vfork.
3251 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
3252 (GLIBC_2.0): Remove vfork.
3253 (GLIBC_2.1.2): Replace __vfork with
3254 __libpthread_version_placeholder.
3255 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
3256 (GLIBC_2.18): Remove vfork, __vfork.
3257 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
3258 (GLIBC_2.0): Remove vfork.
3259 (GLIBC_2.2): Remove __vfork.
3260 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist:
3261 (GLIBC_2.2): Remove vfork, __vfork.
3262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
3263 (GLIBC_2.0): Remove vfork.
3264 (GLIBC_2.1.2): Replace __vfork with
3265 __libpthread_version_placeholder.
3266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
3267 (GLIBC_2.3): Remove vfork, __vfork.
3268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
3269 (GLIBC_2.17): Likewise.
3270 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
3271 (GLIBC_2.0): Remove vfork.
3272 (GLIBC_2.1.2): Replace __vfork with
3273 __libpthread_version_placeholder.
3274 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
3275 (GLIBC_2.2): Remove vfork, __vfork.
3276 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
3277 Likewise.
3278 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
3279 (GLIBC_2.0): Remove vfork.
3280 (GLIBC_2.1.2): Replace __vfork with
3281 __libpthread_version_placeholder.
3282 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
3283 (GLIBC_2.2): Remove vfork, __vfork.
3284 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
3285 (GLIBC_2.2.5): Likewise.
3286 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
3287 (GLIBC_2.16): Likewise.
3288 * sysdeps/unix/sysv/linux/hppa/localplt.data (libpthread.so):
3289 Remove __errno_location.
3290
27cec9ae
FW
32912019-07-02 Florian Weimer <fweimer@redhat.com>
3292
3293 [BZ #24757]
3294 * malloc/Depend: Add nptl and htl, due to potential indirect
3295 libpthread dependency of memusagestat.
3296
d1bc2cbb
SL
32972019-07-02 Stefan Liebler <stli@linux.ibm.com>
3298
3299 * resolv/res_send.c (__res_context_send): Disable maybe-uninitialized
3300 warning.
3301
72edea80
FW
33022019-07-01 Florian Weimer <fweimer@redhat.com>
3303
3304 * scripts/build-many-glibcs.py (Context.add_all_configs): Add v4t
3305 variant for arm-linux-gnueabi.
3306
d0093c5c
L
33072019-07-01 H.J. Lu <hongjiu.lu@intel.com>
3308
3309 [BZ #24259]
3310 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
3311 relocation.
3312 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
3313 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
3314 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
3315 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
3316 and tst-cet-legacy-mod-6c.
3317 (CFLAGS-tst-cet-legacy-5a.c): New.
3318 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
3319 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
3320 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
3321 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
3322 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
3323 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
3324 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
3325 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
3326 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
3327 ($(objpfx)tst-cet-legacy-5a): Likewise.
3328 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
3329 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
3330 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
3331 ($(objpfx)tst-cet-legacy-5b): Likewise.
3332 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
3333 (tst-cet-legacy-5b-ENV): Likewise.
3334 ($(objpfx)tst-cet-legacy-6a): Likewise.
3335 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
3336 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
3337 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
3338 ($(objpfx)tst-cet-legacy-6b): Likewise.
3339 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
3340 (tst-cet-legacy-6b-ENV): Likewise.
3341 * sysdeps/x86/tst-cet-legacy-5.c: New file.
3342 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
3343 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
3344 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
3345 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
3346 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
3347 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
3348 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
3349 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
3350 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
3351 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
3352 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
3353 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
3354 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
3355
3db85a98
PC
33562019-06-30 Paul A. Clarke <pc@us.ibm.com>
3357
3358 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
3359 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
3360 (__fegetround_ISA300) New.
3361 (__fegetround_ISA2) New.
3362 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
3363 (_FPU_MFFS): Move implementation...
3364 (_FPU_GETCW): Here.
3365 (_FPU_MFFSL): Move implementation....
3366 (_FPU_GET_RC_ISA300): Here. New.
3367 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
3368 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
3369 (fegetenv_status): New.
3370 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
3371 instead of fegetenv_register().
3372 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
3373
d0645912
WD
33742019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
3375
3376 * benchtests/bench-math-inlines.c: Increase iterations.
3377 * benchtests/bench-memcmp.c: Likewise.
3378 * benchtests/bench-rawmemchr.c: Likewise.
3379 * benchtests/bench-strcmp.c: Likewise.
3380 * benchtests/bench-strcpy_chk.c: Likewise.
3381 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
3382 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
3383 (INNER_LOOP_ITERS_SMALL): Likewise.
3384 * benchtests/bench-strncat.c: Increase iterations.
3385 * benchtests/bench-strncmp.c: Increase iterations.
3386 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
3387 * benchtests/bench-strrchr.c: Increase iterations.
3388 * benchtests/bench-strstr.c: Keep iterations unchanged.
3389 * benchtests/bench-strtod.c: Increase iterations.
3390
afe23eb0
AY
33912019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
3392
3393 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
3394 with INNER_LOOP_ITERS_LARGE.
3395 * benchtests/bench-memchr.c: Likewise.
3396 * benchtests/bench-rawmemchr.c: Likewise.
3397 * benchtests/bench-strcat.c: Likewise.
3398 * benchtests/bench-strchr.c: Likewise.
3399 * benchtests/bench-string.h: Likewise.
3400 * benchtests/bench-strlen.c: Likewise.
3401 * benchtests/bench-strncpy.c: Likewise.
3402 * benchtests/bench-strnlen.c: Likewise.
3403
507f55c0
FW
34042019-06-28 Florian Weimer <fweimer@redhat.com>
3405
3406 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
3407 Use mmap instead of malloc. malloc with M_PERTURB writes to the
3408 entire allocated memory range.
3409
589787f8
TK
34102019-06-28 Tobias Klauser <tklauser@distanz.ch>
3411
3412 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
3413 (prepare_version_base): New helper inline function.
3414 (prepare_version): New macro replacing PREPARE_VERSION.
3415 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
3416
f0b2132b
FW
34172019-06-28 Florian Weimer <fweimer@redhat.com>
3418
3419 [BZ #24741]
3420 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
3421 mismatch in a versioned symbol reference.
3422 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
3423 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
3424 tst-sonamemove-dlopen.
3425 (module-names): Add tst-sonamemove-linkmod1,
3426 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
3427 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
3428 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
3429 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
3430 (tst-sonamemove-runmod1.so): Link against
3431 tst-sonamemove-runmod2.so.
3432 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
3433 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
3434 tst-sonamemove-runmod2.so.
3435 (tst-sonamemove-dlopen): Link with -ldl.
3436 (tst-sonamemove-dlopen.out): Likewise.
3437 * elf/tst-sonamemove-link.c: New file.
3438 * elf/tst-sonamemove-dlopen.c: Likewise.
3439 * elf/tst-sonamemove-linkmod1.c: Likewise.
3440 * elf/tst-sonamemove-linkmod1.map: Likewise.
3441 * elf/tst-sonamemove-runmod1.c: Likewise.
3442 * elf/tst-sonamemove-runmod1.map: Likewise.
3443 * elf/tst-sonamemove-runmod2.c: Likewise.
3444 * elf/tst-sonamemove-runmod2.map: Likewise.
3445
17432d71
FW
34462019-06-28 Florian Weimer <fweimer@redhat.com>
3447
3448 * support/xdlfcn.h (xdlvsym): Declare function.
3449 * support/xdlfcn.c (xdlvsym): Define funciton.
3450
5a659ccc
FW
34512019-06-28 Florian Weimer <fweimer@redhat.com>
3452
3453 [BZ #24744]
3454 io: Remove the copy_file_range emulation.
3455 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
3456 not define and call copy_file_range_compat.
3457 * io/Makefile (tests-static, tests-internal): Do not add
3458 tst-copy_file_range-compat.
3459 * io/copy_file_range-compat.c: Remove file.
3460 * io/copy_file_range.c (copy_file_range): Define as stub.
3461 * io/tst-copy_file_range-compat.c: Remove file.
3462 * io/tst-copy_file_range.c (xdevfile): Remove variable.
3463 (typical_sizes): Update comment. Remove 16K sizes.
3464 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
3465 Remove variables.
3466 (find_maximum_offset, pipe_as_source, pipe_as_destination)
3467 (delayed_write_failure_beginning, delayed_write_failure_end)
3468 (cross_device_failure, enospc_failure_1, enospc_failure)
3469 (oappend_failure): Remove functions.
3470 (tests): Adjust test case list.
3471 (do_test): Remove file system search code. Check for ENOSYS from
3472 copy_file_range. Do not free xdevfile.
3473 * manual/llio.texi (Copying File Data): Document ENOSYS error from
3474 copy_file_range. Do not document the EXDEV error, which future
3475 kernels may not report. Update the wording to reflect that
3476 further errors are possible.
3477 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3478 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
3479 not undefine.
3480 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3481 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
3482 Likewise.
3483 * sysdeps/unix/sysv/linux/kernel-features.h
3484 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
3485 Remove definition.
3486 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3487 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
3488 not undefine.
3489 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3490 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
3491 Likewise.
3492
1626f499
GG
34932019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
3494
3495 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
3496 used as a mask for the mode argument of __vfprintf_internal.
3497 * stdio-common/printf-parse.h (printf_arg): New union member:
3498 pa_float128.
3499 * stdio-common/vfprintf-internal.c
3500 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
3501 (PARSE_FLOAT_VA_ARG): Likewise.
3502 (SETUP_FLOAT128_INFO): Likewise.
3503 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
3504 SETUP_FLOAT128_INFO.
3505 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
3506 floating-point value to the new union member, pa_float128.
3507 (printf_positional): Zero-initialize args_value[cnt] with memset.
3508
a620bd79
FW
35092019-06-27 Florian Weimer <fweimer@redhat.com>
3510
3511 [BZ #24740]
3512 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
3513 buffer size if necessary.
3514 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
3515 Likewise.
3516 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
3517 New function.
3518 (large_buffer_checks): Likewise.
3519 (do_test): Call large_buffer_checks.
3520
d039da1c
L
35212019-06-26 H.J. Lu <hongjiu.lu@intel.com>
3522
3523 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
3524 * sysdeps/x86/dl-lookupcfg.h: Here.
3525 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
3526
9d5d214e
AZ
35272019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3528
aa32f5bf
AZ
3529 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3530 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
3531 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
3532 file.
3533 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
3534 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
3535 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
3536 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
3537 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
3538
9d5d214e
AZ
3539 * sysdeps/powerpc/powerpc32/fpu/Makefile
3540 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
3541 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
3542 and fctidz optimization.
3543 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
3544 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
3545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3546 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
3547 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
3548 CFLAGS-s_lround-power5+.c): New rule.
3549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
3550 New file.
3551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
3552 Likewise.
3553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
3554 Likewise.
3555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
3556 Likewise.
3557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
3558 Likewise.
3559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
3560 Remove file.
3561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
3562 Likewise.
3563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
3564 Likewise.
3565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
3566 Likewise.
3567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
3568 Likewise.
3569 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3570 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
3571 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3572 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
3573 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3574 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3575 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
3576
a63b96fb
VC
35772019-06-26 Vincent Chen <vincentc@andestech.com>
3578
3579 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
3580 specific system calls, fp_udfiex_crtl and udftrap.
3581
c78b3f55
SL
35822019-06-26 Stefan Liebler <stli@linux.ibm.com>
3583
3584 * nptl/tst-eintr1.c (tf1): Add return statement.
3585 (do_test): Remove unused th variable.
3586
9e6a7d9c
SL
35872019-06-26 Stefan Liebler <stli@linux.ibm.com>
3588
3589 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
3590 Return error if get_character fails.
3591
c89e669a
SL
35922019-06-25 Stefan Liebler <stli@linux.ibm.com>
3593
3594 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3595
ab74d59f 35962019-06-24 Rafał Lużyński <digitalfreak@lingonborough.com>
a55541fd
RL
3597
3598 [BZ #24652]
3599 * localedata/locales/szl_PL (day): Use the correct Unicode
3600 sequences instead of non-ASCII characters.
3601
2bd81b60
GK
36022019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
3603
3604 [BZ #24652]
3605 * localedata/locales/szl_PL (abday): Spelling corrections.
3606 (day): Likewise.
3607 (abmon): Likewise.
3608 (mon): Rename to...
3609 (alt_mon): This, then apply spelling corrections.
3610 (mon): New entry, month names in the genitive case.
3611
ab74d59f 36122019-06-21 Rafał Lużyński <digitalfreak@lingonborough.com>
fefa2179
RL
3613
3614 [BZ #23831]
3615 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
3616 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
3617 (thousands_sep): Likewise.
3618 (grouping): Set to 3;3.
3619
85c748f9
TK
36202019-06-21 Tobias Klauser <tklauser@distanz.ch>
3621
3622 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
3623 PREPARE_VERSION_KNOWN.
3624 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
3625 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
3626 define.
3627 (VDSO_HASH_LINUX_2_6_39): Likewise.
3628 (VDSO_NAME_LINUX_4_9): Likewise.
3629 (VDSO_HASH_LINUX_4_9): Likewise.
3630 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
3631 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3632 (_libc_vdso_platform_setup): Likewise.
3633 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
3634 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
3635 Likewise.
3636 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
3637 Likewise.
3638
db13e32c
MC
36392019-06-20 Mike Crowe <mac@mcrowe.com>
3640
ce5b73a7
MC
3641 * nptl/eintr.c: Use libsupport.
3642 * nptl/tst-eintr1.c: Likewise.
3643 * nptl/tst-eintr2.c: Likewise.
3644 * nptl/tst-eintr3.c: Likewise.
3645 * nptl/tst-eintr4.c: Likewise.
3646 * nptl/tst-eintr5.c: Likewise.
3647 * nptl/tst-mutex-errorcheck.c: Likewise.
3648 * nptl/tst-mutex5.c: Likewise.
3649
8bf225d5
MC
3650 * support/test-driver.h: Add verbose_printf macro.
3651
db13e32c
MC
3652 * support/xtime.h: Add xclock_now() helper function.
3653
21cc130b
DL
36542019-06-20 Dmitry V. Levin <ldv@altlinux.org>
3655 Florian Weimer <fweimer@redhat.com>
3656
3657 [BZ #24228]
3658 * libio/genops.c (_IO_unbuffer_all)
3659 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
3660 buffers and access _IO_FILE_complete members of legacy libio streams.
3661 * libio/tst-bz24228.c: New file.
3662 * libio/tst-bz24228.map: Likewise.
3663 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
3664 [build-shared] (generated): Add tst-bz24228.mtrace and
3665 tst-bz24228.check.
3666 [run-built-tests && build-shared] (tests-special): Add
3667 $(objpfx)tst-bz24228-mem.out.
3668 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
3669 ($(objpfx)tst-bz24228-mem.out): New rule.
3670
49bc41b6
PC
36712019-06-19 Paul A. Clarke <pc@us.ibm.com>
3672
3673 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
3674 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
3675 (__FPU_MFFSL): Likewise.
3676 (_FPU_SETCW): Likewise.
3677
335c1007
SS
36782019-06-19 Stan Shebs <stanshebs@google.com>
3679 Raoni Fassina Firmino <raoni@linux.ibm.com>
3680
3681 [BZ #24640]
3682 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
3683 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
3684 static-linking version.
3685 * sysdeps/unix/sysv/linux/powerpc/Makefile
3686 (tests-static): Add test-gettimebasefreq-static.
3687 (tests): Likewise.
3688 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
3689 New file.
3690
ab74d59f 36912019-06-19 Rafał Lużyński <digitalfreak@lingonborough.com>
f59a54ab
RL
3692
3693 [BZ #24614]
3694 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
3695 between the currency symbol and the minus sign).
3696 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
3697
f0c5a803
SL
36982019-06-19 Stefan Liebler <stli@linux.ibm.com>
3699
3700 [BZ #24556]
3701 * string/test-strcasestr.c (check_result): Add NULL check.
3702 * nss/tst-field.c (check_rewrite): Likewise.
3703 * benchtests/bench-strstr.c (do_one_test): Likewise.
3704 * string/test-strstr.c (check_result): Likewise.
3705 * argp/argp-test.c (popt): Increase size of buf to 12.
3706 * benchtests/bench-malloc-simple.c (bench):
3707 Do not initialize tests array out of bounds.
3708
fabf5e49
FW
37092019-06-19 Florian Weimer <fweimer@redhat.com>
3710
3711 [BZ #24166]
3712 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
3713 dls_serpath field.
3714
2c75b545
FW
37152019-06-18 Florian Weimer <fweimer@redhat.com>
3716
3717 [BZ #24323]
3718 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
3719 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
3720 fail when called from dlopen.
3721 * elf/Makefile [have-fpie && build-shared] (tests): Add
3722 tst-dlopen-pie.
3723 (tst-dlopen-pie): Link with -ldl.
3724 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
3725 * elf/tst-dlopen-pie.c (do_test): New file.
3726
ab74d59f 37272019-06-17 Rafał Lużyński <digitalfreak@lingonborough.com>
02d8b5ab
RL
3728
3729 [BZ #24614]
3730 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
3731 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
3732 between the currency symbol and the minus sign).
3733 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
3734 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
3735
78049de0
AZ
37362019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3737
112a0ae1
AZ
3738 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
3739 sysdep-rtld-routines): Remove rules.
3740 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
3741 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
3742 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
3743 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
3744 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
3745 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
3746 vDSO path for SHARED.
3747 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
3748 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
3749 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3750 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
3751 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
3752 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
3753
dee07df1
AZ
3754 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3755 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
3756 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
3757 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
3758 CFLAGS-s_llround-power5+.c): New rule.
3759 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
3760 New file.
3761 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
3762 Likewise.
3763 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
3764 Likewise.
3765 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
3766 Likewise.
3767 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
3768 Likewise.
3769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
3770 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
3771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
3772 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
3773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
3774 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
3775 * sysdeps/powerpc/powerpc64/fpu/Makefile
3776 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
3777 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3778 (libm-sysdep_routines): Remove s_llround-* objects.
3779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
3780 file.
3781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
3782 Likewise.
3783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
3784 Likewise.
3785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
3786 Likewise.
3787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
3788 Likewise.
3789 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3790 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3791 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
3792 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
3793 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
3794 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
3795 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
3796 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
3797 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3798 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
3799 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3800 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
3801 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
3802 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
3803
2166283f
AZ
3804 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
3805 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
3806 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
3807 * sysdeps/powerpc/powerpc32/fpu/Makefile
3808 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
3809 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
3810 optimization.
3811 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
3812 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
3813 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
3814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3815 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
3816 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
3817 CFLAGS-s_lrint-ppc32.c): New rule.
3818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
3819 Remove file.
3820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
3821 Likewise.
3822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
3823 Likewise.
3824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
3825 Likewise.
3826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
3827 Likewise.
3828 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3829 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3830 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3831 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
3833 New file.
3834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
3835 Likewise.
3836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
3837 Likewise.
3838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
3839 Likewise.
3840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
3841 Likewise.
3842
78049de0
AZ
3843 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3844 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
3845 s_llrint-ppc64.
3846 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
3847 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
3848 file.
3849 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
3850 Likewise.
3851 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
3852 Likewise.
3853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
3854 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
3855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
3856 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
3857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
3858 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
3859 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
3860 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
3861 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3862 (libm-sysdep_routines): Remove s_llrint-* objects.
3863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
3864 file.
3865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
3866 Likewise.
3867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
3868 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
3869 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
3870 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
3871 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
3872 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
3873 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3874 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
3875 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3876 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
3877
48c3c123
FW
38782019-06-14 Florian Weimer <fweimer@redhat.com>
3879
3880 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
3881 argument to __glibc_has_include to inhibit macro expansion.
3882
8d141877
FW
38832019-06-14 Florian Weimer <fweimer@redhat.com>
3884
3885 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
3886 function-like macro, so that __has_include can inhibit expansion
3887 of its argument.
3888
a26e2e9f
JM
38892019-06-13 Joseph Myers <joseph@codesourcery.com>
3890
cf274686
JM
3891 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
3892 New macro.
3893
a26e2e9f
JM
3894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3895 Allow memset in libc.so.
3896
82bc69c0
SN
38972019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3898
3899 * sysdeps/aarch64/dl-dtprocnum.h: New file.
3900 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
3901 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
3902 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
3903 symbols at load time.
3904 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
3905
55f82d32
SN
39062019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3907
3908 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
3909 (DT_AARCH64_VARIANT_PCS): Define.
3910
21bd039b
AZ
39112019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3912
11926960
AZ
3913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3914 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
3915 objects.
3916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
3917 Remove file.
3918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
3919 Likewise.
3920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
3921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
3922 Likewise.
3923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
3924 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3925 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
3926 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
3927 Remove s_finite* objects.
3928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
3929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
3930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
3931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
3933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
3934 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3935 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
3936 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3937 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
3938
a7218676
AZ
3939 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
3940 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
3941
6427a6ac
AZ
3942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3943 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
3944 objects.
3945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
3946 Remove file.
3947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
3948 Likewise.
3949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
3950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
3951 Likewise.
3952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
3953 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3954 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
3955 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
3956 Remove s_isinf* and s_isinf* objects.
3957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
3958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
3959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
3960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
3962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
3963 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3964 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
3965 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3966 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
3967
a8c590f7
AZ
3968 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
3969 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
3970
2666f963
AZ
3971 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
3972 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
3973 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3975 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
3976 s_isnanf-* objects.
3977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
3978 Remove file
3979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
3980 Likewise.
3981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
3982 Likewise.
3983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
3984 Likewise.
3985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
3986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
3987 Likewise.
3988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3989 Likewise.
3990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
3991 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3992 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
3993 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3994 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
3995 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3996 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
3997 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
3998 Remove s_isnan-* and s_isnanf-* objects.
3999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
4000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
4001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
4002 Likewise.
4003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
4004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
4005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
4006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
4007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
4008 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4009 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4010 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4011 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4012 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
4013 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
4014 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
4015 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
4016
197dbda1
AZ
4017 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
4018 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
4019
2731a326
AZ
4020 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
4021 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
4022 CFLAGS-bench-isfinite.c): New rule.
4023 * benchtests/isnan-input: New file.
4024 * benchtests/isinf-input: New file.
4025 * benchtests/isfinite-input: New file.
4026
e41d66e4
AZ
4027 * sysdeps/powerpc/fpu/s_copysign.c: New file.
4028 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
4029 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
4030 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
4031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
4032 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
4033 s_copysign-ppc32.
4034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
4035 Remove file.
4036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
4037 Likewise.
4038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
4039 Likewise.
4040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
4041 Likewise.
4042 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
4043 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
4044 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
4045 Remove s_copysign-power6 s_copysign-ppc64.
4046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
4047 Remove file.
4048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
4049 Likewise.
4050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
4051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
4052 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
4053 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
4054 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4055 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
4056
21bd039b
AZ
4057 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
4058 round_to_integer_float, round_mode): Add RINT handling.
4059 (reset_fenv_mode): New symbol.
4060 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
4061 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
4062 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
4063 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4064 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4065 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4066
cfa61144
FW
40672019-06-12 Florian Weimer <fweimer@redhat.com>
4068
4069 [BZ #24632]
4070 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
4071 * libio/freopen.c (freopen): Use it.
4072
744e8296
FW
40732019-06-12 Florian Weimer <fweimer@redhat.com>
4074
4075 Linux: Deprecate sysctl.
4076 * include/sysctl.h (__sysctl): Remove declaration.
4077 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
4078 check.
4079 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
4080 (sysctl): Add deprecation attribute.
4081 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
4082 directly, to avoid the deprecation warning. Do not include
4083 <string.h>.
4084 (__sysctl): Remove hidden alias.
4085
5dad6ffb
FW
40862019-06-12 Florian Weimer <fweimer@redhat.com>
4087
4088 Linux: Use kernel headers for statx definitions if available.
4089 * include/bits/statx-generic.h: New file.
4090 * include/bits/types/struct_statx.h: Likewise.
4091 * include/bits/types/struct_statx_timestamp.h: Likewise.
4092 * io/Makefile (headers): Add bits/statx-generic.h.
4093 * io/bits/statx-generic.h: New file. Partly copied from
4094 io/bits/statx.h.
4095 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
4096 define original_statx.
4097 * io/bits/types/struct_statx.h: Likewise.
4098 * io/bits/types/struct_statx_timestamp.h: Likewise.
4099 (statx_generic): Use original_statx.
4100 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
4101 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
4102
4e75c2a4
FW
41032019-06-12 Florian Weimer <fweimer@redhat.com>
4104
4105 * misc/sys/cdefs.h (__glibc_has_include): Define.
4106
680942b0
WD
41072019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
4108
4109 * string/memmem.c (__memmem): Rewrite to improve performance.
4110
5e0a7ecb
WD
41112019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
4112
4113 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
4114 warning.
4115 (two_way_long_needle): Block inlining.
4116 * string/strstr.c (strstr2): Add new function.
4117 (strstr3): Likewise.
4118 (STRSTR): Completely rewrite strstr to improve performance.
4119
80b2bfb5
WD
41202019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
4121
4122 * benchtests/bench-strstr.c (test_hard_needle): New function.
4123
e6e24243
JM
41242019-06-10 Joseph Myers <joseph@codesourcery.com>
4125
4126 * malloc/tst-calloc.c: Include <libc-diag.h>.
4127 (null_test): Ignore -Wunused-result around calls to calloc.
4128 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
4129 (do_test): Ignore -Wunused-result around call to malloc.
4130
51ea67d5
FW
41312019-06-07 Florian Weimer <fweimer@redhat.com>
4132
4133 Linux: Add getdents64 system call.
4134 * include/dirnent.h (getdents): Add comment and change buffer
4135 argument type to void *.
4136 (getdents64): Likewise. Add hidden prototype.
4137 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
4138 getdents64.
4139 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
4140 Add tst-getdents64.
4141 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
4142 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
4143 argument type to void *.
4144 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
4145 Add hidden definition and getdents64 alias.
4146 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
4147 Likewise.
4148 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
4149 * manual/filesys.texi (Accessing Directories): Add Low-level
4150 Directory Access node reference.
4151 (Opening a Directory): Cross-reference it.
4152 (Low-level Directory Access): New node.
4153 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
4154 getdents64.
4155 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
4156 Likewise.
4157 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
4158 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
4159 Likewise.
4160 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
4161 Likewise.
4162 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
4163 Likewise.
4164 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
4165 Likewise.
4166 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
4167 Likewise.
4168 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
4169 Likewise.
4170 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
4171 Likewise.
4172 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4173 (GLIBC_2.30): Likewise.
4174 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4175 (GLIBC_2.30): Likewise.
4176 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4177 (GLIBC_2.30): Likewise.
4178 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4179 (GLIBC_2.30): Likewise.
4180 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
4181 Likewise.
4182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4183 (GLIBC_2.30): Likewise.
4184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4185 (GLIBC_2.30): Likewise.
4186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
4187 (GLIBC_2.30): Likewise.
4188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
4189 (GLIBC_2.30): Likewise.
4190 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
4191 Likewise.
4192 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
4193 Likewise.
4194 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
4195 Likewise.
4196 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
4197 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
4198 Likewise.
4199 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
4200 Likewise.
4201 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
4202 Likewise.
4203 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
4204 Likewise.
4205
de751ebc
PC
42062019-06-06 Paul A. Clarke <pc@us.ibm.com>
4207
4208 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
4209 (__FPU_MFFS): New.
4210 (__FPU_MFFSL): New.
4211 (_FPU_GET_RC): New.
4212 (_FPU_GETCW): Use __FPU_MFFS().
4213 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
4214
28dd3939
FW
42152019-06-06 Florian Weimer <fweimer@redhat.com>
4216
4217 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
4218 internal GCC preprocessor identifier __has_include__.
4219
0158473d
PC
42202019-06-05 Paul A. Clarke <pc@us.ibm.com>
4221
4222 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
4223 with call to equivalent function.
4224
e863dbf6
FW
42252019-06-04 Florian Weimer <fweimer@redhat.com>
4226
4227 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
4228 (do_release_shlib): Adjust for __twalk_r.
4229 (__gconv_release_shlib): Call __twalk_r.
4230
4802be92
AS
42312019-06-04 Andreas Schwab <schwab@suse.de>
4232
4233 [BZ #18830]
4234 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
4235 no irreversible characters occurred.
4236 * iconv/gconv_simple.c (internal_ucs4_loop)
4237 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
4238 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
4239 (ucs4_internal_loop_single, internal_ucs4le_loop)
4240 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
4241 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
4242 (ucs4le_internal_loop_single): Add const to outend.
4243 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
4244 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
4245 * iconv/Makefile (tests): Add tst-iconv7.
4246 * iconv/tst-iconv7.c: New file.
4247
dc91a19e
JM
42482019-06-03 Joseph Myers <joseph@codesourcery.com>
4249
4250 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
4251
6a1a9a49 42522019-06-01 Florian Weimer <fweimer@redhat.com>
6b33f373
FW
4253
4254 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
4255 * sysdeps/unix/sysv/linux/arm/Makefile
4256 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
4257 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
4258 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
4259 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
4260 compatibility symbols.
4261
0bb8f8c7
FW
42622019-05-31 Florian Weimer <fweimer@redhat.com>
4263
4264 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
4265 system calls for the arm architecture: breakpoint, get_tls,
4266 set_tls, usr26, usr32.
4267
9250e661
GG
42682019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
4269
4270 * sysdeps/powerpc/Makefile
4271 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
4272 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
4273 Declare '.machine power7' to get support for ldbrx.
4274 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
4275 directive based on the directory of the file.
4276 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
4277 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
4278 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
4279 '.machine' directive.
4280 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
4281 (VADDUQM_V7_V8): Remove.
4282 (__STRCASECMP): Replace macros with actual instructions.
4283 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
4284 '.machine' directive.
4285 (VCLZD_V8_v7): Remove.
4286 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
4287
fbd6c928
AZ
42882019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4289
4290 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
4291 Remove file.
4292 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
4293
e47308c9
AZ
42942019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4295
4296 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
4297 NEARBYINT handling.
4298 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
4299 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
4300 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
4301 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
4302 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
4303 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4304
157cda1f 43052019-05-28 mansayk <6688000@gmail.com>
4306
4307 [BZ #24370]
4308 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
4309
182a3746 43102019-05-28 mansayk <6688000@gmail.com>
4311
4312 [BZ #24369]
4313 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
4314 (abmon): Likewise, but remove the trailing dots.
4315
c6df1ce3
JM
43162019-05-28 Joseph Myers <joseph@codesourcery.com>
4317
4318 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
4319
85188d82
FW
43202019-05-27 Florian Weimer <fweimer@redhat.com>
4321
4322 * nptl/nptl-init.c: Add comment.
4323
5c23c821
FW
43242019-05-24 Florian Weimer <fweimer@redhat.com>
4325
4326 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
4327 struct in_addr/struct in6_addr alignment.
4328
bee1f2c4
JM
43292019-05-23 Joseph Myers <joseph@codesourcery.com>
4330
4331 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
4332 (F_SEAL_FUTURE_WRITE): New macro.
4333
ab74d59f 43342019-05-23 Alexandra Hájková <ahajkova@redhat.com>
481c30cb
AH
4335
4336 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
4337 * elf/tst-ldconfig-bad-aux-cache.c: New file.
4338 * elf/tst-ldconfig_aux-cache.root: New directory.
4339 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
4340 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
4341 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
4342
cb755eed
ZW
43432019-05-22 Zack Weinberg <zackw@panix.com>
4344
4345 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
4346 host type.
4347 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
4348 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
4349
4350 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
4351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
4352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
4353 Delete.
4354
4355 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
4356 Issue an #error if used with a compiler in SPE-float mode.
4357 * sysdeps/powerpc/powerpc32/__longjmp_common.S
4358 * sysdeps/powerpc/powerpc32/setjmp_common.S
4359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
4361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
4362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
4363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4365 Remove code to preserve SPE register state.
4366
4367 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4368 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
4369 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
4370 Remove __SPE__ ifndefs.
4371
46ae0732
WD
43722019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
4373
4374 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
4375 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
4376 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
4377 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
4378 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
4379 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
4380 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
4381 (INNER_LOOP_ITERS_MEDIUM): New define.
4382 (INNER_LOOP_ITERS_SMALL): New define.
4383 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
4384 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
4385 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
4386 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
4387 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
4388
e6855a3b 43892019-05-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
004e52fe
AZ
4390
4391 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
4392 New define.
4393 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
4394 (SEMTIMEDOP_IPC_ARGS): Likewise.
4395
c9c15ac3
FW
43962019-05-21 Florian Weimer <fweimer@redhat.com>
4397
4398 [BZ #24584]
4399 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
4400 before updating __counter field and release it afterwards. Add
4401 overflow check.
4402 * iconv/gconv.h (struct __gconv_step): Mention synchronization
4403 requirement for __counter member.
4404
7e740ab2
FW
44052019-05-21 Florian Weimer <fweimer@redhat.com>
4406
4407 [BZ #24583]
4408 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
4409 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
4410 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
4411 instead of __gconv_release_step.
4412 * libio/Makefile (tests): Add tst-wfile-gconv.
4413 (tests-container): Add tst-wfile-ascii.
4414 (tst-wfile-gconv-ENV): Enable mtrace.
4415 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
4416 (tests-special): Add tst-wfile-gconv-mem.out.
4417 (tst-wfile-gconv.out): Depend on locales.
4418 (tst-wfile-gconv-mem.out): Add mtrace rule.
4419 * libio/tst-wfile-ascii.c: New file.
4420 * libio/tst-wfile-gconv.c: Likewise.
4421
09e1b0e3
FW
44222019-05-20 Florian Weimer <fweimer@redhat.com>
4423
4424 [BZ #24588]
4425 libio: Remove codecvt vtable.
4426 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
4427 __libio_codecvt.
4428 * libio/iofgetpos.c (_IO_new_fgetpos): Call
4429 __libio_codecvt_encoding.
4430 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
4431 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
4432 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
4433 * libio/iofwide.c (__libio_codecvt): Remove variable.
4434 (_IO_fwide): Do not copy __libio_codecvt.
4435 (__libio_codecvt_out): Rename from do_out and export.
4436 (do_unshift): Remove function.
4437 (__libio_codecvt_in): Rename from do_in and export.
4438 (__libio_codecvt_encoding): Rename from do_encoding and export.
4439 (do_always_noconv): Remove function.
4440 (__libio_codecvt_length): Rename from do_length and export.
4441 (do_max_length): Remove function.
4442 * libio/libio.h (enum __codecvt_result): Remove definition; moved
4443 to libioP.h.
4444 (struct _IO_codecvt): Remove fields __codecvt_destr,
4445 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
4446 __codecvt_do_encoding, __codecvt_do_always_noconv,
4447 __codecvt_do_length, __codecvt_do_max_length.
4448 * libio/libioP.h (enum __codecvt_result): Define; moved from
4449 libio.h.
4450 (__libio_codecvt_out, __libio_codecvt_in)
4451 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
4452 functions.
4453 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
4454 (_IO_wfile_underflow): Call __libio_codecvt_in.
4455 (_IO_wfile_underflow): Likewise.
4456 (_IO_wfile_underflow_mmap): Likewise.
4457 (_IO_wfile_sync): Call __libio_codecvt_encoding,
4458 __libio_codecvt_length.
4459 (adjust_wide_data): Call __libio_codecvt_encoding,
4460 __libio_codecvt_in.
4461 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
4462 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
4463 __libio_codecvt_length.
4464
75c51570
FW
44652019-05-20 Florian Weimer <fweimer@redhat.com>
4466
4467 * support/support.h (support_sbindir_prefix): Declare.
4468 (support_install_rootsbindir): Update comment.
4469 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
4470 * support/support_paths.c (support_sbindir_prefix): Define.
4471
ff6bec7d
MC
44722019-05-20 Mike Crowe <mac@mcrowe.com>
4473
b62bb3bc
MC
4474 * support/timespec.c: Add backslash to correct newline in failure
4475 message.
4476
ff6bec7d
MC
4477 * support/timespec.h: Correct confusing comment.
4478
dfba907f
AZ
44792019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4480
236c18e5
AZ
4481 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
4482 define.
4483 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
4484 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
4485 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
4486 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
4487
dfba907f
AZ
4488 [BZ #24570]
4489 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
4490 usage.
4491
13886008
JM
44922019-05-20 Joseph Myers <joseph@codesourcery.com>
4493
4494 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
4495 (NT_ARM_PACG_KEYS): Likewise.
4496
1f50f2ad
WD
44972019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
4498
4499 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
4500 (tcache_put): Remove redundant assert.
4501 (tcache_get): Remove redundant asserts.
4502 (__libc_malloc): Check tcache count is not zero.
4503 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
4504
fef7c63c
FW
45052019-05-17 Florian Weimer <fweimer@redhat.com>
4506
4507 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
4508
5f161b23
JM
45092019-05-16 Joseph Myers <joseph@codesourcery.com>
4510
4511 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4512 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
4513 0x050100].
4514 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
4515 Likewise.
4516 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4517 (__ASSUME_STATX): Likewise.
4518
ec255a97
FW
45192019-05-16 Florian Weimer <fweimer@redhat.com>
4520
4521 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
4522 flags argument.
4523 (LINE_PARSER): Do not map IPv4 addresses.
4524 (internal_nis_gethostent_r): Remove flags argument. Adjust call
4525 to parse_line.
4526 (_nss_nis_gethostent_r): Always pass AF_INET to
4527 internal_nis_gethostent_r.
4528 (internal_gethostbyname2_r): Remove flags argument. Adjust call
4529 to parse_line.
4530 (_nss_nis_gethostbyname2_r): Adjust call to
4531 internal_nis_gethostent_r.
4532 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
4533 call to internal_nis_gethostent_r.
4534 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
4535 from parse_line.
4536 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
4537 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
4538 Remove flags argument. Do not map IPv4 addresses.
4539 (internal_nisplus_gethostent_r): Adjust call to
4540 _nss_nisplus_parse_hostent.
4541 (internal_gethostbyname2_r): Remove flags argument. Adjust call
4542 to _nss_nisplus_parse_hostent.
4543 (_nss_nisplus_gethostbyname2_r): Adjust call to
4544 internal_gethostbyname2_r.
4545 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
4546 Adjust call to internal_gethostbyname2_r.
4547 (_nss_nisplus_gethostbyaddr_r): Adjust call to
4548 _nss_nisplus_parse_hostent.
4549 (_nss_nisplus_gethostbyname4_r): Adjust call to
4550 internal_gethostbyname2_r.
4551
9c02d078
FW
45522019-05-16 Florian Weimer <fweimer@redhat.com>
4553
4554 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
4555 Remove flags.
4556 (LINE_PARSER): Remove address mapping.
4557 (EXTRA_ARGS_VALUE): Remove flags argument.
4558 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
4559 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
4560 gethostbyname3_multi.
4561 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
4562 _nss_files_gethostbyname3_r.
4563 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
4564
85b0e1e8
FW
45652019-05-16 Florian Weimer <fweimer@redhat.com>
4566
4567 * support/support_test_compare_blob.c (report_blob): Report
4568 incorrect NULL blobs.
4569
11b451c8
MW
45702019-05-15 Mark Wielaard <mark@klomp.org>
4571
4572 [BZ# 24476]
4573 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
4574 __libc_once_get (once) and static_buf == NULL.
4575 (__dlerror): Check we have a valid key, set result to static_buf
4576 otherwise.
4577
32ff3975
AS
45782019-05-15 Andreas Schwab <schwab@suse.de>
4579
4580 [BZ #20568]
4581 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
4582 __codecvt_do_length.
4583 * libio/Makefile (tests): Add tst-wfile-sync.
4584 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
4585 * libio/tst-wfile-sync.c: New file.
4586 * libio/tst-wfile-sync.input: New file.
4587
a9368c34
FW
45882019-05-15 Florian Weimer <fweimer@redhat.com>
4589
4590 nss: Turn __nss_database_lookup into a compatibility symbol.
4591 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
4592 __nss_database_lookup.
4593 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
4594 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
4595 __nss_database_lookup.
4596 (__nss_next): Move to …
4597 * nss/compat-lookup.c (nss_next): … here. Change it to fail
4598 unconditionally.
4599 (__nss_database_lookup): New function.
4600 * nss/Versions (GLIBC_2.0): Update comment.
4601 (GLIBC_PRIVATE): Export __nss_database_lookup2.
4602 * grp/initgroups.c (internal_getgrouplist): Call
4603 __nss_database_lookup2 instead of __nss_database_lookup.
4604 * nscd/aicache.c (addhstaiX): Likewise.
4605 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4606 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4607 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
4608 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
4609 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
4610 Likewise.
4611 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
4612 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
4613 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4614
ab74d59f 46152019-05-15 Alexandra Hájková <ahajkova@redhat.com>
32ff3975 4616
d50f0918
AH
4617 * support/support.h (support_install_rootsbindir): New variable.
4618 * support/support_paths.c: Likewise.
4619 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
4620
7ac6fad9
FW
46212019-05-15 Florian Weimer <fweimer@redhat.com>
4622
4623 * iconv/gconv.h (__gconv_transliterate): Move declaration …
4624 * iconv/gconv_int.h (__gconv_transliterate): … here.
4625 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
4626 * iconv/skeleton.c: Likewise.
4627
04b261bd
FW
46282019-05-14 Florian Weimer <fweimer@redhat.com>
4629
4630 Linux: Add the tgkill function.
4631 * bits/signal_ext.h: New file.
4632 * manual/signal.texi (Signaling Another Process): Document tgkill.
4633 * signal/Makefile (headers): Add bits/signal_ext.h.
4634 * signal/signal.h: Include <bits/signal_ext.h>.
4635 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
4636 (tst-tgkill): Link with libpthread.
4637 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
4638 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
4639 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
4640 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
4641 tgkill.
4642 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4643 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4644 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
4645 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4646 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4647 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4648 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4649 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4650 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4651 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4652 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
4653 Likewise.
4654 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4655 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4656 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4658 Likewise.
4659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4660 Likewise.
4661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
4662 Likewise.
4663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
4664 Likewise.
4665 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
4666 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4667 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4668 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4669 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4670 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4671 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4672 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4673
6807f47b
CD
46742019-05-14 Carlos O'Donell <carlos@redhat.com>
4675
4676 * manual/search.texi (Tree Search Function): Adjust twalk_r
4677 documentation.
4678
fdb8a0be
AZ
46792019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4680
da2b83ef
AZ
4681 [BZ #24544]
4682 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
4683 pre-defined value.
4684
c7ac9caa
AZ
4685 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
4686 * support/support.h (support_bindir_prefix): New variable.
4687 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
4688
91f043ae
AZ
4689 * config.make.in (bindir): New variable.
4690
c50e1c26
AZ
4691 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
4692 (lll_trylock): Call __lll_trylock.
4693 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
4694 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
4695 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
4696 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4697 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
4698 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
4699 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4700 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4701 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
4702 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
4703 lowlevellock-futex.h.
4704
959aff9f
AZ
4705 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
4706 initialization for LLL_LOCK_INITIALIZER different than 0.
4707 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
4708 Assume LLL_LOCK_INITIALIZER being 0.
4709 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
4710 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
4711 Likewise.
4712 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
4713 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
4714
d7e4c642
AZ
4715 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
4716 Optimize futex call and add systemtap probe.
4717
fdb8a0be
AZ
4718 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
4719 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
4720 __libc_disable_asynccancel, __librt_enable_asynccancel,
4721 __libc_disable_asynccancel, __librt_enable_asynccancel,
4722 __librt_disable_asynccancel): Move to ...
4723 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
4724 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
4725 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
4726 * sysdeps/generic/single-thread.h: New file.
4727 * sysdeps/unix/sysdep.h: Include single-thread.h.
4728 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
4729 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4730
f6efec90
MF
47312019-05-08 Mike FABIAN <mfabian@redhat.com>
4732
4733 [BZ #24535]
4734 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
4735 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
4736 Unicode 12.1.0.
4737 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
4738 * localedata/unicode-gen/PropList.txt: Likewise.
4739 * localedata/unicode-gen/UnicodeData.txt: Likewise.
4740 * localedata/charmaps/UTF-8: Regenerate.
4741 * localedata/locales/i18n_ctype: Likewise.
4742 * localedata/locales/tr_TR: Likewise.
4743 * localedata/locales/translit_circle: Likewise.
4744 * localedata/locales/translit_cjk_compat: Likewise.
4745 * localedata/locales/translit_combining: Likewise.
4746 * localedata/locales/translit_compat: Likewise.
4747 * localedata/locales/translit_font: Likewise.
4748 * localedata/locales/translit_fraction: Likewise.
4749
5ad533e8
WD
47502019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
4751
4752 [BZ #24531]
4753 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
4754 (do_set_tcache_count): Only update if count is small enough.
4755 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
4756
4aee85f9
FW
47572019-05-10 Florian Weimer <fweimer@redhat.com>
4758
4759 * nptl/sem_close.c (struct walk_closure): Define.
4760 (walker): Adjust for __twalk_r.
4761 (sem_close): Call __twalk_r.
4762
eb669ff5
AZ
47632019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4764
4765 * support/timespec.c (test_timespec_before_impl,
4766 test_timespec_equal_or_after_impl): print timespec member as intmax_t
4767 insted of long int.
4768
51983996
MC
47692019-05-09 Mike Crowe <mac@mcrowe.com>
4770
44ac6ee9
MC
4771 * nptl/tst-abstime.c: Use libsupport.
4772
495514ee
MC
4773 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
4774 small bug where only tv.tv_usec was checked which could cause an
4775 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
4776 than a second.
4777
4778 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
4779 libsupport.
4780
40d0816f
MC
4781 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
4782 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
4783
d8e0b901
MC
4784 * nptl/tst-cond11.c: Use libsupport.
4785
51983996
MC
4786 * support/timespec.h: New file. Provide timespec helper functions
4787 along with macros in the style of those in check.h.
4788 * support/timespec.c: New file. Implement check functions declared
4789 in support/timespec.h.
4790 * support/timespec-add.c: New file from gnulib containing
4791 timespec_add implementation that handles overflow.
4792 * support/timespec-sub.c: New file from gnulib containing
4793 timespec_sub implementation that handles overflow.
4794 * support/README: Mention timespec.h.
4795
18aa51ee
SN
47962019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
4797
4798 [BZ #24537]
4799 * nptl/Makefile: Move tst-eintr1 to xtests.
4800
252296c6
AZ
48012019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4802
ae45cf84
AZ
4803 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
4804 TRUNC handling.
4805 (round_mode): Add definition for TRUNC.
4806 * sysdeps/powerpc/fpu/s_trunc.c: New file.
4807 * sysdeps/powerpc/fpu/s_truncf.c: New file.
4808 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
4809 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4810 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
4811 Likewise.
4812 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
4813 Likewise.
4814 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
4815 Likewise.
4816 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
4817 Likewise.
4818 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
4819 file.
4820 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
4821 Likewise.
4822 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
4823 Likewise.
4824 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
4825 Likewise.
4826 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
4827 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
4828 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
4829 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
4830 s_truncf-power5+, and s_truncf-ppc64.
4831 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
4832 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
4833 file.
4834 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
4835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
4836 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
4837 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
4838 file.
4839 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
4840 Likewise.
4841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
4842 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
4843 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4844 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
4845 s_truncf-power5+, and s_truncf-ppc64.
4846 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
4847 file.
4848 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
4849 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
4850 Likewise.
4851 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
4852 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4853 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4854 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
4855 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
4856
a1cb1888
AZ
4857 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
4858 ROUND handling.
4859 (round_mode): Add definition for ROUND.
4860 (round_to_integer_float): Likewise.
4861 * sysdeps/powerpc/fpu/s_round.c: New file.
4862 * sysdeps/powerpc/fpu/s_roundf.c: New file.
4863 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
4864 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4865 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
4866 Likewise.
4867 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
4868 Likewise.
4869 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
4870 Likewise.
4871 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
4872 Likewise.
4873 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
4874 file.
4875 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
4876 Likewise.
4877 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
4878 Likewise.
4879 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
4880 Likewise.
4881 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
4882 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
4883 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
4884 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
4885 s_roundf-power5+, and s_roundf-ppc64.
4886 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
4887 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
4888 file.
4889 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
4890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
4891 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
4892 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
4893 file.
4894 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
4895 Likewise.
4896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
4897 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
4898 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4899 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
4900 s_roundf-power5+, and s_roundf-ppc64.
4901 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
4902 file.
4903 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
4904 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
4905 Likewise.
4906 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
4907 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4908 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4909 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
4910 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
4911
252296c6
AZ
4912 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
4913 Add FLOOR option.
4914 (round_mode): Add definition for FLOOR.
4915 * sysdeps/powerpc/fpu/s_floor.c: New file.
4916 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
4917 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
4918 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
4920 Remove file.
4921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
4922 Likewise
4923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
4924 Likewise.
4925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
4926 Likewise.
4927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
4928 New file.
4929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
4930 Likewise.
4931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
4932 Likewise.
4933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
4934 Likewise.
4935 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
4936 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
4937 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
4938 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
4939 s_floorf-power5+, and s_floorf-ppc64.
4940 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
4941 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
4942 file.
4943 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
4944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
4945 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
4946 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
4947 file.
4948 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
4949 Likewise.
4950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
4951 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
4952 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4953 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
4954 s_floorf-power5+, and s_floorf-ppc64.
4955 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
4956 file.
4957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
4958 file.
4959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
4960 Likewise.
4961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
4962 Likewise.
4963 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4964 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4965 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
4966 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
4967
33647a72
MC
49682019-05-08 Mike Crowe <mac@mcrowe.com>
4969
4970 * support/xclock_gettime.c (xclock_gettime): New file. Provide
4971 clock_gettime wrapper for use in tests that fails the test rather
4972 than returning failure.
4973
4974 * support/xtime.h: New file to declare xclock_gettime.
4975
4976 * support/Makefile: Add xclock_gettime.c.
4977
4978 * support/README: Mention xtime.h.
4979
b2f601ba
FW
49802019-05-08 Florian Weimer <fweimer@redhat.com>
4981
4982 malloc/tst-mallocfork2: Use process-shared barriers.
4983 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
4984 (signal_count, sigusr1_sender_pid): Remove.
4985 (iterations): Define constant.
4986 (shared): New variable.
4987 (sigusr1_received): Update comment.
4988 (sigusr1_handler): Do not send SIGSTOP to the sender process.
4989 (signal_sender): Optional use barriers to avoid sending signals
4990 during irrelevant times.
4991 (do_it): Initialize variable shared. Use xfork for error
4992 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
4993 the iteration count, independent of signal delivery. Check for
4994 deadlocks in fork. Introduce barriers for reducing signal
4995 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
4996 replaced by the barriers. Count signals during fork/free/malloc
4997 and report them.
4998 * malloc/Makefile (tst-mallocfork): Link with libpthread.
4999
c4a392cf
JM
50002019-05-07 Joseph Myers <joseph@codesourcery.com>
5001
7621676f
JM
5002 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5003 version to 5.1.
5004 (clock_adjtime64) New syscall.
5005 (clock_getres_time64) Likewise.
5006 (clock_gettime64) Likewise.
5007 (clock_nanosleep_time64) Likewise.
5008 (clock_settime64) Likewise.
5009 (futex_time64) Likewise.
5010 (io_pgetevents_time64) Likewise.
5011 (io_uring_enter) Likewise.
5012 (io_uring_register) Likewise.
5013 (io_uring_setup) Likewise.
5014 (mq_timedreceive_time64) Likewise.
5015 (mq_timedsend_time64) Likewise.
5016 (pidfd_send_signal) Likewise.
5017 (ppoll_time64) Likewise.
5018 (pselect6_time64) Likewise.
5019 (recvmmsg_time64) Likewise.
5020 (rt_sigtimedwait_time64) Likewise.
5021 (sched_rr_get_interval_time64) Likewise.
5022 (semtimedop_time64) Likewise.
5023 (timer_gettime64) Likewise.
5024 (timer_settime64) Likewise.
5025 (timerfd_gettime64) Likewise.
5026 (timerfd_settime64) Likewise.
5027 (utimensat_time64) Likewise.
5028
c4a392cf
JM
5029 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
5030 version to 9 branch.
5031
32e902a9
AY
50322019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
5033
5034 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
5035 __memmove_thunderx2 to the list of implementations
5036 * sysdeps/aarch64/multiarch/memmove.c: Likewise
5037 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
5038 (__memmove_thunderx2): Rewritten using SIMD ld/st
5039 (__memcpy_thunderx2): Fixed handling overlapping cases.
5040 Used ldp/stp instead of ldr/str if possible. Made loops
5041 tails branchless.
5042
ac3da35d
FW
50432019-05-03 Florian Weimer <fweimer@redhat.com>
5044
5045 * misc/tst-tsearch.c (walk_tree): Add more error checking.
5046
b2af6fb2
AZ
50472019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5048
7dfde28a 5049 [BZ #24506]
b2af6fb2
AZ
5050 * elf/tst-pldd.c (in_str_list): New function.
5051 (do_test): Add default names for ld and libc as one option.
5052
7b807a35
FW
50532019-05-02 Florian Weimer <fweimer@redhat.com>
5054
5055 misc: Add twalk_r function.
5056 * include/search.h (__twalk_r): Declare.
5057 * manual/examples/twalk.c: New file.
5058 * manual/search.texi (Tree Search Function): Document twalk_r.
5059 * misc/Versions (2.30): Export twalk_r.
5060 (GLIBC_PRIVATE): Export __twalk_r.
5061 * misc/search.h [__USE_GNU] (twalk_r): Declare.
5062 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
5063 (twalk_r): Add weak alias.
5064 * misc/tst-tsearch.c (struct walk_trace_element): Define.
5065 (walk_trace): New variable.
5066 (struct twalk_with_twalk_r_closure): Define.
5067 (twalk_with_twalk_r_action): New function.
5068 (twalk_with_twalk_r): Likewise.
5069 (walk_action): Call walk_trace_add.
5070 (walk_tree_with): Rename from walk_tree. Add walk argument.
5071 (walk_tree): New function.
5072 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
5073 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
5074 Likewise.
5075 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
5076 Likewise.
5077 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
5078 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
5079 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
5080 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
5081 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
5082 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
5083 Likewise.
5084 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
5085 Likewise.
5086 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
5087 Likewise.
5088 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5089 (GLIBC_2.30): Likewise.
5090 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5091 (GLIBC_2.30): Likewise.
5092 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5093 (GLIBC_2.30): Likewise.
5094 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5095 (GLIBC_2.30): Likewise.
5096 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
5097 Likewise.
5098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5099 (GLIBC_2.30): Likewise.
5100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5101 (GLIBC_2.30): Likewise.
5102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
5103 (GLIBC_2.30): Likewise.
5104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
5105 (GLIBC_2.30): Likewise.
5106 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
5107 Likewise.
5108 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
5109 Likewise.
5110 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
5111 Likewise.
5112 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
5113 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
5114 Likewise.
5115 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
5116 Likewise.
5117 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
5118 Likewise.
5119 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
5120 Likewise.
5121
20aa5819
PE
51222019-04-30 Paul Eggert <eggert@cs.ucla.edu>
5123
5124 Make mktime etc. compatible with __time64_t
5125 Keep these functions compatible with Gnulib while adding
5126 __time64_t support. The basic idea is to move private API
5127 declarations from include/time.h to time/mktime-internal.h, since
5128 the former file cannot easily be shared with Gnulib whereas the
5129 latter can.
5130 Also, do some other minor cleanup while in the neighborhood.
5131 * include/time.h: Include stdbool.h, time/mktime-internal.h.
5132 (__mktime_internal): Move this prototype to time/mktime-internal.h,
5133 since Gnulib needs it.
5134 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
5135 Move these macros to time/mktime-internal.h, since Gnulib needs them.
5136 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
5137 (in_time_t_range): New static function.
5138 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
5139 so that glibc users are not tempted to use __time64_t.
5140 * time/mktime-internal.h: Rewrite so that it does both glibc
5141 and Gnulib work. Include time.h if not _LIBC.
5142 (mktime_offset_t) [!_LIBC]: Define for gnulib.
5143 (__time64_t): New type or macro, moved here from
5144 posix/bits/types.h.
5145 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
5146 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
5147 from include/time.h.
5148 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
5149 New macros, taken from GNulib.
5150 (__mktime_internal): New prototype, moved here from include/time.h.
5151 * time/mktime.c (mktime_min, mktime_max, convert_time)
5152 (ranged_convert, __mktime_internal, __mktime64):
5153 * time/timegm.c (__timegm64):
5154 Use __time64_t, not time_t.
5155 * time/mktime.c: Stop worrying about whether time_t is floating-point.
5156 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
5157 Rename from mktime.
5158 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
5159 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
5160 for libc_hidden_def.
5161 Include errno.h.
5162 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
5163 Rename from timegm.
5164 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
5165
87c266d7
MR
51662019-04-30 Maciej W. Rozycki <macro@wdc.com>
5167
5168 [BZ #19444]
5169 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
5170 from `-Wmaybe-uninitialized'.
5171 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
5172
c4c0848b
AZ
51732019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5174
6cac323c
AZ
5175 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
5176 function.
5177 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
5178 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
5179 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
5180 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
5181 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
5183 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
5184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
5185 Remove file.
5186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
5187 Likewise.
5188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
5189 Likewise.
5190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
5191 Likewise.
5192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
5193 New file.
5194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
5195 Likewise.
5196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
5197 Likewise.
5198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
5199 Likewise.
5200 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
5201 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
5202 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
5203 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
5204 Likewise.
5205 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
5206 Likewise.
5207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
5208 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
5209 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
5210 file.
5211 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
5212 Likewise.
5213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
5214 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
5215 * here.
5216 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
5217 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
5218 s_ceilf-power5+, and s_ceilf-ppc64.
5219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
5220 file.
5221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
5222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
5223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
5224 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
5225 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
5226 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
5227 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
5228
c4c0848b
AZ
5229 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
5230 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
5231 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
5232
f492fc99
YD
52332019-04-29 Yann Droneaud <ydroneaud@opteya.com>
5234
5235 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
5236 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
5237 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
5238 (sem_getvalue): Likewise.
5239
c57afec0
FW
52402019-04-26 Florian Weimer <fweimer@redhat.com>
5241
5242 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
5243 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
5244
a8ff215e
FW
52452019-04-26 Florian Weimer <fweimer@redhat.com>
5246
5247 Makeconfig: Move -Wl,-rpath-link options before library references.
5248 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
5249 (link-libc): Remove $(link-libc-rpath-link).
5250
52512019-04-25 Florian Weimer <fweimer@redhat.com>
5252
5253 * Makeconfig (+link-pie-before-libc): Remove $(CC).
5254 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
5255 (+link-static-before-libc): Remove $(CC).
5256 (+link-static, +link-static-tests): Add $(CC).
5257 (+link-before-libc): Remove $(CC).
5258 (+link, +link-pie, +link-pie-printers): Add $(CC).
5259
e30fb31c
FW
52602019-04-26 Florian Weimer <fweimer@redhat.com>
5261
5262 * Makeconfig (+link-pie-before-libc): Remove $(CC).
5263 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
5264 (+link-static-before-libc): Remove $(CC).
5265 (+link-static, +link-static-tests): Add $(CC).
5266 (+link-before-libc): Remove $(CC).
5267 (+link, +link-pie, +link-pie-printers): Add $(CC).
5268
deacca00
DA
52692019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
5270
5271 [BZ#24484]
5272 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
5273
b5ffdc48
FW
52742019-04-25 Florian Weimer <fweimer@redhat.com>
5275
5276 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
5277 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
5278 (bench-link-targets): New variable.
5279 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
5280
94a4e9e4
FW
52812019-04-25 Florian Weimer <fweimer@redhat.com>
5282
5283 Also enable BIND_NOW for programs if --enable-bind-now.
5284 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
5285 (+link-pie): Use $(link-extra-flags).
5286 (+link-static): Likewise.
5287 [! $(build-pie-default)] (+link): Likewise.
5288 * manual/install.texi (Configuring and compiling): Update
5289 --enable-bind-now description.
5290 * INSTALL: Regenerated.
5291
fe92a91f
WD
52922019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
5293
5294 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
5295 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
5296
f9b645b4
MF
52972019-04-24 Mike Frysinger <vapier@gentoo.org>
5298
5299 [BZ #18465]
5300 * malloc/Makefile (others): Add memusagestat.
5301 ($(objpfx)memusagestat): Delete rule.
5302 (LDLIBS-memusagestat): New variable.
5303
439bf534
FW
53042019-04-24 Florian Weimer <fweimer@redhat.com>
5305
5306 * locale/Makefile (tests-special): Guard setting by
5307 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
5308 to run while cross-compiling.
5309
1a4c2735
AZ
53102019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5311
5312 [BZ #18035]
5313 * elf/Makefile (tests-container): Add tst-pldd.
5314 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
5315 (E(find_maps)): Avoid use alloca, use default read file operations
5316 instead of explicit LFS names, and fix infinite loop.
5317 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
5318 (get_process_info): Use _Static_assert instead of assert, use default
5319 directory operations instead of explicit LFS names, and free some
5320 leadek pointers.
5321 * elf/tst-pldd.c: New file.
5322
2d398aa2
L
53232019-04-23 H.J. Lu <hongjiu.lu@intel.com>
5324
5325 * malloc/arena.c (do_set_mallopt_check): Removed.
5326
e485b2b6
FW
53272019-04-23 Florian Weimer <fweimer@redhat.com>
5328
5329 locale: Add LOCPATH diagnostics to the locale program.
5330 * locale/programs/locale.c (setlocale_failed): New variable.
5331 (try_setlocale): New function.
5332 (quote_string): Likewise.
5333 (setlocale_diagnostics): Likewise.
5334 (main): Call try_setlocale instead of setlocale. Call
5335 setlocale_diagnostics.
5336 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
5337 (tst-locale-locpath.out): New target.
5338 * locale/tst-locale-locpath.sh: New file.
5339
25f7a3c9
AZ
53402019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5341
5342 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
5343 to 2.30 notes.
5344
9bf8e29c
AZ
53452019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5346
5347 [BZ #23741]
5348 * malloc/hooks.c (malloc_check, realloc_check): Use
5349 __builtin_add_overflow on overflow check and adapt to
5350 checked_request2size change.
5351 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
5352 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
5353 allocation size to PTRDIFF_MAX.
5354 (REQUEST_OUT_OF_RANGE): Remove macro.
5355 (checked_request2size): Change to inline function and limit maximum
5356 requested size to PTRDIFF_MAX.
5357 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
5358 maximum allocation size to PTRDIFF_MAX.
5359 (_mid_memalign): Use _int_memalign call for overflow check.
5360 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
5361 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
5362 limit maximum requested size to PTRDIFF_MAX.
5363 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
5364 valloc, pvalloc): Add __attribute_alloc_size__.
5365 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
5366 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
5367 larger than PTRDIFF_MAX.
5368 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
5369 around tests of malloc with negative sizes.
5370 * malloc/tst-posix_memalign.c (do_test): Likewise.
5371 * malloc/tst-pvalloc.c (do_test): Likewise.
5372 * malloc/tst-valloc.c (do_test): Likewise.
5373 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
5374 with resulting size allocation larger than PTRDIFF_MAX with
5375 reallocarray_nowarn.
5376 (reallocarray_nowarn): New function.
5377 * NEWS: Mention the malloc function semantic change.
5378
0e169691
AZ
53792019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5380
52faba65
AZ
5381 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
5382 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
5383
3a16dd78
AZ
5384 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
5385 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
5386 * sysdeps/powerpc/fpu/s_fma.c: New file.
5387 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
5388
1dac8bd6
AZ
5389 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
5390 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
5391
a3ae315a
AZ
5392 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
5393 the magic flag store.
5394 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
5395 Likewise.
5396 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
5397 Likewise.
5398 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
5399 Remove rt_sigreturn call.
5400
ffe8a9a8
AZ
5401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5402 Remove rt_sigreturn call.
5403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5404 Likewise.
5405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
5406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
5407
0e169691
AZ
5408 * support/Makefile (libsupport-routines): Add support_subprocess,
5409 xposix_spawn, xposix_spawn_file_actions_addclose, and
5410 xposix_spawn_file_actions_adddup2.
5411 (tst-support_capture_subprocess-ARGS): New rule.
5412 * support/capture_subprocess.h (support_capture_subprogram): New
5413 prototype.
5414 * support/support_capture_subprocess.c (support_capture_subprocess):
5415 Refactor to use support_subprocess and support_capture_poll.
5416 (support_capture_subprogram): New function.
5417 * support/tst-support_capture_subprocess.c (write_mode_to_str,
5418 str_to_write_mode, test_common, parse_int, handle_restart,
5419 do_subprocess, do_subprogram, do_multiple_tests): New functions.
5420 (do_test): Add support_capture_subprogram tests.
5421 * support/subprocess.h: New file.
5422 * support/support_subprocess.c: Likewise.
5423 * support/xposix_spawn.c: Likewise.
5424 * support/xposix_spawn_file_actions_addclose.c: Likewise.
5425 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
5426 * support/xspawn.h: Likewise.
5427
bae8cf0e
MG
54282019-04-17 Mike Gerow <gerow@google.com>
5429
5430 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
5431 groups limit.
5432
e3f454ba
FW
54332019-04-11 Florian Weimer <fweimer@redhat.com>
5434
5435 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
5436 domain with empty string.
5437 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5438
32d85c11
FW
54392019-04-11 Florian Weimer <fweimer@redhat.com>
5440
5441 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
5442 comment.
5443 (alloc_buffer_next): Change return type to non-const. Update
5444 comment.
5445
221710af
FW
54462019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
5447
5448 * manual/time.texi (Formatting Calendar Time): Add missing percent
5449 sign to conversion specifier.
5450
e621246e
CD
54512019-04-09 Carlos O'Donell <carlos@redhat.com>
5452 Kwok Cheung Yeung <kcy@codesourcery.com>
5453
5454 [BZ #16573]
5455 * malloc/mtrace.c: Define prototypes for all hooks.
5456 (set_default_hooks): New function.
5457 (set_trace_hooks): Likewise.
5458 (save_default_hooks): Likewise.
5459 (tr_freehook): Use new s*_hooks functions.
5460 (tr_mallochook): Likewise.
5461 (tr_reallochook): Likewise.
5462 (tr_memalignhook): Likewise.
5463 (mtrace): Likewise.
5464 (muntrace): Likewise.
5465
648279f4
WD
54662019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
5467
5468 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
5469 (generic_stpcpy): New function.
5470 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
5471 (generic_stpncpy): New function.
5472 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
5473 (generic_strcat): New function.
5474 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
5475 (generic_strcpy): New function.
5476 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
5477 (STUPID_STRNCAT): Remove function.
5478 (generic_strncat): New function.
5479 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
5480 (STUPID_STRNCPY): Remove function.
5481 (generic_strncpy): New function.
5482 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
5483 (generic_strnlen): New function.
5484 (memchr_strnlen): New function.
5485 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
5486 (memchr_strlen): Likewise.
5487
93eebae5
WD
54882019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
5489
5490 * benchtests/bench-strstr.c (input): Add realistic input text.
5491 (stupid_strstr): Remove function.
5492 (basic_strstr): Add function.
5493 (twoway_strstr): Add function.
5494 (do_one_test): Add result checking.
5495 (do_test): Use new input text. Remove accidental early matches.
5496 (test_main): Improve range of tests, reduce unaligned cases.
5497
a173d09f
WD
54982019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
5499
5500 * benchtests/bench-memmem.c (simple_memmem): Remove function.
5501 (basic_memmem): Add function.
5502 (twoway_memmem): Add function.
5503
6103c0a8
WD
55042019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
5505
5506 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
5507 * benchtests/bench-malloc-thread.c: Likewise.
5508 * benchtests/bench-skeleton.c: Likewise.
5509 * benchtests/bench-strtod.c: Likewise.
5510 * benchtests/bench-timing.h: Likewise.
5511
33322186
FW
55122019-04-08 Florian Weimer <fweimer@redhat.com>
5513
5514 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
5515 definitions.
5516 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
5517 RES_INSECURE2 security checks.
5518 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
5519 RES_INSECURE2 handling.
5520
3f8b44be
FW
55212019-04-08 Florian Weimer <fweimer@redhat.com>
5522
5523 resolv: Remove support for RES_USE_INET6 and the inet6 option.
5524 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
5525 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
5526 GETHOSTBYNAME.
5527 * resolv/Makefile (tests): Remove tst-res_use_inet6.
5528 (tests-internal): Update justification for tst-resolv-res_init,
5529 tst-resolv-res_init-thread.
5530 (tst-res_use_inet6): Remove target.
5531 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
5532 * resolv/res_debug.c (p_option): Remove "inet6" support.
5533 * resolv/res_init.c (res_setoptions): Likewise.
5534 * resolv/res_use_inet6.h: Remove file.
5535 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
5536 definition.
5537 (res_use_inet6): Always return false.
5538 * resolv/resolv.h (RES_USE_INET6): Remove definition.
5539 * resolv/resolv_context.h: Adjust file comment.
5540 (struct resolv_context): Update comment on __next field.
5541 (__resolv_context_put): Update comment.
5542 * resolv/tst-res_use_inet6.c: Remove file.
5543 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
5544 "inet6" support.
5545 (test_cases): Adjust test case.
5546 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
5547 (thread_byname2_af_inet6): Use old byname_inet6 code.
5548 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
5549 (gai): Remove do_inet6 argument.
5550 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
5551 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
5552 (thread_gai_unspec_inet6): Remove functions.
5553 (do_test): Adjust thread_funcs.
5554 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
5555 RES_USE_INET6 flag.
5556 (gaih_inet): Do not disable RES_USE_INET6 flag.
5557
6b5c8607 55582019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
94e358f6
AY
5559
5560 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
5561 and remove redundant code.
5562
e3fd0b0e
AZ
55632019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5564
f82ed45d
AZ
5565 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
5566 New rule.
5567 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
5568 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
5569 Likewise.
5570 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
5571 Likewise.
5572 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
5573 Likewise.
5574 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
5575 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
5576 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
5577 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
5578 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
5579 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
5580 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5581 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
5582 wcsrchr-power7.
5583 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
5584 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5585 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5586 Remove wcsrchr optimizations.
5587 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5588
662c2cc4
AZ
5589 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
5590 the loop unroll.
5591
421e3005
AZ
5592 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
5593 New rule.
5594 * sysdeps/powerpc/power6/wcschr.c: Remove file.
5595 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
5596 Likewise.
5597 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
5598 Likewise.
5599 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
5600 Likewise.
5601 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
5602 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
5603 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
5604 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
5605 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5606 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
5607 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5608 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
5609 wcschr-power7.
5610 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
5611 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5612 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5613 Remove wcschr optimizations.
5614 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5615
7ba0100c
AZ
5616 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
5617 the loop unroll.
5618
447a1306
AZ
5619 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
5620 New rule.
5621 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
5622 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
5623 Likewise.
5624 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
5625 Likewise.
5626 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
5627 Likewise.
5628 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
5629 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
5630 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
5631 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
5632 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5633 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
5634 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5635 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
5636 wcscpy-power7.
5637 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
5638 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5639 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5640 Remove wcscpy optimizations.
5641 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5642
e3fd0b0e
AZ
5643 * include/loop_unroll.h: New file.
5644 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
5645 besides generic implementation.
5646
8260f236
DD
56472019-04-03 DJ Delorie <dj@redhat.com>
5648
5649 * time/tst-strftime3.c (tm_to_printed): Disable warning about
5650 snprintf truncating output.
5651
0bd545ee
DD
56522019-04-02 DJ Delorie <dj@redhat.com>
5653
5654 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
5655 warning.
5656
466afec3
TS
56572019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5658
5659 [BZ #22964]
5660 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
5661 era.
5662 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
5663 (mkreftable): Add rules for the new Japanese era and the new dates.
5664
2f1d6155 56652019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
ab74d59f 5666 Rafał Lużyński <digitalfreak@lingonborough.com>
2f1d6155
TS
5667
5668 * time/tst-strftime2.c (date_t): Explicitly define the type.
5669 (dates): Use natural month and year numbers to express a date.
5670 (is_before): New function to compare dates.
5671 (mkreftable): Minor improvements to simplify maintenance.
5672 (do_test): Reflect the changes in dates array.
5673
84aea169
TS
5674 [BZ #24293]
5675 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
5676 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
5677 * time/tst-strftime2.c (locales): Likewise.
5678 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
5679 2010-04-01, and 2011-04-01.
5680 (mkreftable): Add rules for the new locales and the new dates.
5681
62449176
CD
56822019-04-01 Carlos O'Donell <carlos@redhat.com>
5683
5684 * localedata/locales/ja_JP: Add comments to era entries.
5685
e0e4c321
DD
56862019-04-01 DJ Delorie <dj@redhat.com>
5687
5688 [BZ #24394]
5689 * time/strptime_l.c (%Ey): Fix fencepost error.
5690 * time/tst-strftime3.c: New.
5691 * time/Makefile (tests): Add tst-strftime3.
5692
ab74d59f 56932019-04-01 Uroš Bizjak <ubizjak@gmail.com>
993e3107
UB
5694
5695 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
5696 conditional branch to DIVBYZERO. Fix unwind info.
5697 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
5698 excb after conditional branch to $powerof2. Add missing unop
5699 instructions and .align directives and reorder instructions to
5700 match __divqu.
5701
d5ecee82
RH
57022019-04-01 Richard Henderson <rth@twiddle.net>
5703
5704 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
5705 Do not redefine.
5706 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
5707 Do not redefine.
5708
656dd306
MR
57092019-03-30 Maciej W. Rozycki <macro@wdc.com>
5710
5711 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
5712 $libc_cv_riscv_float_abi in `test' invocation.
5713 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
5714
10cce669
PC
57152019-03-29 Paul A. Clarke <pc@us.ibm.com>
5716
5717 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
5718 asm with builtin.
5719 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
5720 Likewise.
5721 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5722 (_GET_SI_FPSCR): Likewise.
5723 (_SET_SI_FPSCR): Likewise.
5724
5e67e4bf 57252019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4997e8f3
AZ
5726
5727 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
5728 clang 2.8.
5729 (signbit): Use builtin for clang 3.3.
5730 (isinf): Use builtin for clang 3.7.
5731
01963891
AZ
57322019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5733
5734 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
5735
67112f7a
AH
57362019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
5737
5738 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
5739 quote in printf.
5740
7a773abf
MC
57412019-03-25 Mike Crowe <mac@mcrowe.com>
5742
82849fde
MC
5743 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
5744 pthread_rwlock_timedrdlock with calls to
5745 pthread_rwlock_timedwrlock to ensure that the latter is tested
5746 too. Use new function name in diagnostic messages too.
5747
7a773abf
MC
5748 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
5749 (do_test) Use libsupport test macros rather than hand-coded
5750 conditionals and error messages. Ensure that sem_init returns zero
5751 rather than not -1. Use <support/test-driver.c> rather than
5752 test-skeleton.c.
5753
5754 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
5755 test macros rather than hand-coded conditionals and error messages.
5756 Use <support/test-driver.c> rather than test-skeleton.c.
5757
9ac2de69
JM
57582019-03-25 Joseph Myers <joseph@codesourcery.com>
5759
d7563e62
JM
5760 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
5761
9ac2de69
JM
5762 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
5763 (NT_MIPS_MSA): Likewise.
5764
38cc11da
AZ
57652019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5766
7621e38b
WD
5767 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
5768 * benchtests/README: Update description.
5769 * benchtests/bench-timing.h: Default to hp-timing.
5770 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
5771 HP_TIMING_PRINT): Remove.
5772 (HP_TIMING_NOW): Add generic implementation.
5773 (hp_timing_t): Change to uint64_t.
5774
1e372ded
AZ
5775 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
5776 HP_TIMING_INLINE.
5777 * nptl/descr.h: Likewise.
5778 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
5779 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
5780 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
5781 Abstract hp-timing usage with RTLD_* macros.
5782 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
5783 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
5784 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
5785 HP_TIMING_NONAVAIL): Likewise.
5786 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
5787 Likewise.
5788 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
5789 HP_SMALL_TIMING_AVAIL): Likewise.
5790 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
5791 HP_SMALL_TIMING_AVAIL): Likewise.
5792 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
5793 HP_SMALL_TIMING_AVAIL): Likewise.
5794 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
5795 HP_SMALL_TIMING_AVAIL): Likewise.
5796 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
5797 Likewise.
5798 * sysdeps/generic/hp-timing-common.h: Update comment with
5799 HP_TIMING_AVAIL removal.
5800
359653aa
AZ
5801 * include/random-bits.h: New file.
5802 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
5803 (__res_context_mkquery): Remove usage hp-timing usage and replace with
5804 random_bits.
5805 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
5806 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
5807 Likewise.
5808
6e8ba7fd
AZ
5809 * include/libc-internal.h (__get_clockfreq): Remove prototype.
5810 * rt/Makefile (clock-routines): Remove get_clockfreq.
5811 * rt/get_clockfreq.c: Remove file.
5812 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
5813 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
5814 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
5815 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
5816 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
5817
77b6f553
AZ
5818 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
5819 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
5820 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
5821 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
5822 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
5823
38cc11da
AZ
5824 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
5825 pthread_clock_settime.
5826 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
5827 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
5828 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
5829 * elf/rtld.c (_dl_start_final): Likewise.
5830 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
5831 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
5832 Remove.
5833 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
5834 (_dl_cpuclock_offset): Remove.
5835 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
5836 cpuclock_offset_ununsed.
5837 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
5838 cpuclock_offset set.
5839 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
5840 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
5841 * nptl/pthread_clock_gettime.c: Remove file.
5842 * nptl/pthread_clock_settime.c: Likewise.
5843 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
5844 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
5845 and CLOCK_PROCESS_CPUTIME_ID support.
5846 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
5847 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
5848 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
5849 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
5850 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
5851 Likewise.
5852 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
5853
421749d6
SL
58542019-03-22 Stefan Liebler <stli@linux.ibm.com>
5855
5856 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
5857 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
5858 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
5859 New defines.
5860 * sysdeps/s390/memmem-arch13.S: New file.
5861 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
5862 if it is only used as fallback.
5863 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
5864 * sysdeps/s390/multiarch/ifunc-impl-list.c
5865 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
5866
6f47401b
SL
58672019-03-22 Stefan Liebler <stli@linux.ibm.com>
5868
5869 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
5870 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
5871 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
5872 New defines.
5873 * sysdeps/s390/multiarch/ifunc-impl-list.c
5874 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
5875 * sysdeps/s390/strstr-arch13.S: New file.
5876 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
5877 if it is only used as fallback.
5878 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
5879
96fbb9a3
SL
58802019-03-22 Stefan Liebler <stli@linux.ibm.com>
5881
5882 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
5883 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
5884 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
5885 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
5886 ifunc selector.
5887 * sysdeps/s390/multiarch/ifunc-impl-list.c
5888 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
5889 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
5890 S390_IS_ARCH13_MIE3): New defines.
5891
a899a551
SL
58922019-03-22 Stefan Liebler <stli@linux.ibm.com>
5893
5894 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
5895 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
5896 * sysdeps/s390/configure.ac: Add checks for arch13 support.
5897 * sysdeps/s390/configure: Regenerated.
5898
1a7df49c
SL
58992019-03-22 Stefan Liebler <stli@linux.ibm.com>
5900
5901 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
5902 Add vxe2, vxp, dflt, sort flags.
5903 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
5904 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
5905 capabilities.
5906 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
5907 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
5908 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
5909 HWCAP_S390_DFLT): Define.
5910
5e67e4bf 59112019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5abcddd7
GG
5912
5913 [BZ #24372]
5914 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
5915 of compiler warning.
5916 * locale/programs/ld-collate.c (collate_output): Likewise.
5917
ac64195c
DD
59182019-03-21 DJ Delorie <dj@redhat.com>
5919
5920 [BZ #24372]
5921 * iconv/iconvconfig.c (write_output): Replace floating point math
5922 with integer math to avoid imprecise results.
5923 * locale/programs/ld-collate.c (collate_output): Likewise.
5924
61f5e947
SL
59252019-03-21 Stefan Liebler <stli@linux.ibm.com>
5926
5927 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
5928 Add HWCAP_S390_VX and HWCAP_S390_VXE.
5929
57ada43c 59302019-03-20 mansayk <6688000@gmail.com>
5931
5932 [BZ #24296]
5933 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
5934 (abday): Likewise, but remove the trailing dots.
5935
a2e57f89
JM
59362019-03-19 Joseph Myers <joseph@codesourcery.com>
5937
5938 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
5939 macro.
5940 (HWCAP_PACA): Likewise.
5941 (HWCAP_PACG): Likewise.
5942 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
5943 Increase to 32.
5944 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
5945
e87d8ada
ST
59462019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5947
5948 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
5949 should be handled.
5950
477e739b
JM
59512019-03-15 Joseph Myers <joseph@codesourcery.com>
5952
5953 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5954 version to 5.0.
5955 (old_getpagesize): New syscall.
5956
238d60a1
FY
59572019-03-15 Felix Yan <felixonmars@archlinux.org>
5958
5959 [BZ #24293]
5960 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
5961 * localedata/locales/cmn_TW (era): Likewise.
5962 * localedata/locales/hak_TW (era): Likewise.
5963 * localedata/locales/lzh_TW (era): Likewise.
5964 * localedata/locales/nan_TW (era): Likewise.
5965
5dde9ef7
DD
59662019-03-14 Adam Maris <amaris@redhat.com>
5967
5968 * malloc/malloc.c (_int_malloc): Check for large bin list
5969 corruption when inserting unsorted chunk.
5970
a0a0dc83
FW
59712019-03-14 Florian Weimer <fweimer@redhat.com>
5972
5973 Remove obsolete, never-implemented XSI STREAMS declarations.
5974 * manual/terminal.texi (Allocation): Remove portability note and
5975 adjust example.
5976 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
5977 _SC_STREAMS.
5978 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
5979 * sysdeps/unix/inet/Subdirs (streams): Remove.
5980 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
5981 (conformtest-headers-UNIX98): Likewise.
5982 (conformtest-headers-XOPEN2K): Likewise.
5983 (conformtest-headers-POSIX2008): Likewise.
5984 * posix/compat-streams.c: New file.
5985 * posix/Makefile (routines): Add it.
5986 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
5987 getpmsg, isastream, putmsg, putpmsg.
5988 (GLIBC_2.30): New section.
5989 * bits/stropts.h: Remove file.
5990 * bits/xtitypes.h: Likewise.
5991 * conform/data/stropts.h-data: Likewise.
5992 * include/stropts.h: Likewise.
5993 * include/sys/stropts.h: Likewise.
5994 * include/xtitypes.h: Likewise.
5995 * streams/Makefile: Likewise.
5996 * streams/fattach.c: Likewise.
5997 * streams/fdetach.c: Likewise.
5998 * streams/getmsg.c: Likewise.
5999 * streams/getpmsg.c: Likewise.
6000 * streams/isastream.c: Likewise.
6001 * streams/putmsg.c: Likewise.
6002 * streams/putpmsg.c: Likewise.
6003 * streams/stropts.h: Likewise.
6004 * streams/sys/stropts.h: Likewise.
6005 * sysdeps/ia64/bits/xtitypes.h: Likewise.
6006 * sysdeps/s390/bits/xtitypes.h: Likewise.
6007 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
6008 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
6009 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
6010 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
6011 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
6012 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
6013 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
6014 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
6015 * sysdeps/x86/bits/xtitypes.h: Likewise.
6016
081bdf94
FW
60172019-03-14 Florian Weimer <fweimer@redhat.com>
6018
6019 * nss/tst-nss-files-alias-truncated.c (do_test): Load
6020 libnss_files.
6021 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
6022 but not with libnss_files.
6023 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
6024
97f8225d
ZW
60252019-03-14 Zack Weinberg <zackw@panix.com>
6026
6027 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
6028 Specify encoding="utf-8" when opening headers to check.
6029
0c1041ee
JM
60302019-03-13 Joseph Myers <joseph@codesourcery.com>
6031
6032 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6033 version to 5.0.
6034 (Context.checkout_tar): Handle variable major version for Linux
6035 kernel.
6036
043440e7
FW
60372019-03-13 Florian Weimer <fweimer@redhat.com>
6038
6039 [BZ #24047]
6040 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
6041
29218b26
ZW
60422019-03-13 Zack Weinberg <zackw@panix.com>
6043
6044 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
6045 Move to stdlib.
6046 * include/inttypes.h: Adjust to match.
6047 * include/stdint.h: New wrapper.
6048
711a322a
ZW
60492019-03-13 Zack Weinberg <zackw@panix.com>
6050
6051 * scripts/check-obsolete-constructs.py: New test script.
6052 * scripts/check-installed-headers.sh: Remove tests for
6053 obsolete typedefs, superseded by check-obsolete-constructs.py.
6054 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
6055 as a special test. Update commentary.
6056 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
6057 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
6058 Update commentary.
6059 * posix/sys/types.h (__u_intN_t): Remove.
6060 (u_int8_t): Typedef using __uint8_t.
6061 (u_int16_t): Typedef using __uint16_t.
6062 (u_int32_t): Typedef using __uint32_t.
6063 (u_int64_t): Typedef using __uint64_t.
6064
7c651308
SL
60652019-03-13 Stefan Liebler <stli@linux.ibm.com>
6066
6067 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
6068 call _dl_procinfo.
6069 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
6070 Ignore types other than AT_HWCAP.
6071 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
6072 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
6073 Likewise.
6074 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
6075 in the case of falling back to generic output mechanism.
6076 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
6077 Likewise.
6078
38b52865
FW
60792019-03-12 Florian Weimer <fweimer@redhat.com>
6080
6081 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
6082
08504de7
FW
60832019-03-12 Florian Weimer <fweimer@redhat.com>
6084
6085 [BZ #24047]
6086 resolv: Enable full ICMP errors for UDP DNS sockets
6087 * resolv/res_enable_icmp.c: New file.
6088 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
6089 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
6090 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
6091 socket.
6092
5fbcd763
MH
60932019-03-11 Mao Han <han_mao@c-sky.com>
6094
6095 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
6096 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
6097
c4e5f34b
MH
60982019-03-11 Mao Han <han_mao@c-sky.com>
6099
6100 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
6101 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
6102 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
6103
827e30f3
MH
61042019-03-11 Mao Han <han_mao@c-sky.com>
6105
6106 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
6107 directly.
6108 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
6109 definition.
6110
6229c9bf
MH
61112019-03-11 Mao Han <han_mao@c-sky.com>
6112
6113 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
6114 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
6115 in mcontext_t
6116
86bdd49d
MF
61172019-03-08 Mike FABIAN <mfabian@redhat.com>
6118
6119 [BZ #24307]
6120 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
6121 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
6122 Unicode 12.0.0.
6123 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
6124 * localedata/unicode-gen/PropList.txt: Likewise.
6125 * localedata/unicode-gen/UnicodeData.txt: Likewise.
6126 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
6127 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
6128 * localedata/charmaps/UTF-8: Regenerate.
6129 * localedata/locales/i18n_ctype: Likewise.
6130 * localedata/locales/tr_TR: Likewise.
6131 * localedata/locales/translit_circle: Likewise.
6132 * localedata/locales/translit_cjk_compat: Likewise.
6133 * localedata/locales/translit_combining: Likewise.
6134 * localedata/locales/translit_compat: Likewise.
6135 * localedata/locales/translit_font: Likewise.
6136 * localedata/locales/translit_fraction: Likewise.
6137
c5f65462
JM
61382019-03-07 Joseph Myers <joseph@codesourcery.com>
6139
6140 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
6141 than after operators.
6142 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
6143 (setitimer_locked): Likewise.
6144 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
6145 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
6146 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
6147 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
6148 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
6149 (PPC_CPU_SUPPORTED): Likewise.
6150 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
6151 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
6152 (stat_overflow): Likewise.
6153 (statfs_overflow): Likewise.
6154 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
6155 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
6156 (eq_ttyname_r): Likewise.
6157 (run_chroot_tests): Likewise.
6158
27a2f2f3
FW
61592019-03-07 Florian Weimer <fweimer@redhat.com>
6160
6161 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
6162 header check.
6163
ae514971 61642019-03-07 Martin Liska <mliska@suse.cz>
6165
6166 * math/Makefile: Change location where math-vector-fortran.h is
6167 installed.
6168 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
6169 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
6170 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
6171 * scripts/check-installed-headers.sh: Skip Fortran header files.
6172 * scripts/check-wrapper-headers.py: Likewise.
6173
0ddb7ea8
AZ
61742019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6175
6176 * nptl/nptl-init.c (__have_futex_clock_realtime,
6177 __have_futex_clock_realtime): Remove definition.
6178 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
6179 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
6180 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
6181 __ASSUME_FUTEX_CLOCK_REALTIME support.
6182 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
6183 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
6184 * sysdeps/unix/sysv/linux/kernel-features.h
6185 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
6186 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
6187 Adjust comment.
6188
590675c0
GG
61892019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6190
6191 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
6192 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
6193 __GI___wcscpy and wcscpy.
6194
de71ee7b
FW
61952019-03-04 Florian Weimer <fweimer@redhat.com>
6196
6197 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
6198 declaration.
6199 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
6200 defined.
6201
ce6ddae0
SL
62022019-03-04 Stefan Liebler <stli@linux.ibm.com>
6203
6204 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
6205 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6206
31efface
TS
62072019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
6208
6209 [BZ #24162]
6210 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
6211 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
6212
f0eaf862
GG
62132019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6214
6215 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
6216 tests.
6217 (do_test): Likewise.
6218 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
6219 (do_test_call_varg): Likewise.
6220 (do_test_call_rarg): Likewise.
6221 * sysdeps/ieee754/ldbl-opt/Makefile
6222 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
6223 tst-nldbl-error.
6224 ($(objpfx)tst-nldbl-warn.c): New rule.
6225 ($(objpfx)tst-nldbl-error.c): Likewise.
6226 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
6227 New variables.
6228
d11086a9
GG
62292019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6230
6231 [BZ #23984]
6232 * include/bits/error-ldbl.h: New file.
6233 * include/error.h: Include stdarg.h. Declare internal functions
6234 __error_internal and __error_at_line_internal.
6235 * misc/Makefile (headers): Add bits/error-ldbl.h.
6236 * misc/bits/error-ldbl.h: New file.
6237 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
6238 avoid the inclusion of bits/error.h.
6239 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
6240 and __nldbl_error_at_line.
6241 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
6242 (__nldbl_error, __ndlbl_error_at_line): New functions.
6243 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
6244 Redirect error and error_at_line.
6245 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
6246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6247 Likewise.
6248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6249 Likewise.
6250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
6251 Likewise.
6252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
6253 Likewise.
6254 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6255 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6256 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6257
90188e7d
GG
62582019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6259
6260 [BZ #23984]
6261 * include/bits/err-ldbl.h: New file.
6262 * include/err.h: Add prototypes for the internal functions:
6263 __vwarnx_internal and __vwarn_internal.
6264 * misc/Makefile (headers): Add bits/err-ldbl.h.
6265 * misc/bits/err-ldbl.h: New file.
6266 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
6267 defined, i.e.: when -mlong-double-64 is in use.
6268 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
6269 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
6270 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
6271 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
6272 (VA_CALL): New macro.
6273 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
6274 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
6275 functions.
6276 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
6277 declare prototypes for the new functions.
6278 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
6279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6280 Likewise.
6281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6282 Likewise.
6283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
6284 Likewise.
6285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
6286 Likewise.
6287 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6288 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6289 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6290
ea2d89d0
GG
62912019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6292
6293 * sysdeps/ieee754/ldbl-opt/Makefile
6294 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
6295 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
6296 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
6297
6e1f6440
GG
62982019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6299
6300 [BZ #23983]
6301 * argp/Makefile (headers): Add bits/argp-ldbl.h.
6302 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
6303 * argp/bits/argp-ldbl.h: New file.
6304 * include/argp.h: Include stdarg.h. Add prototypes for internal
6305 functions: __argp_error_internal and __argp_failure_internal.
6306 * include/bits/argp-ldbl.h: New file.
6307 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
6308 __nldbl_argp_error and __nldbl_argp_failure.
6309 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
6310 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
6311 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
6312 Redirect argp_error and argp_failure calls.
6313 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
6314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6315 Likewise.
6316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6317 Likewise.
6318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
6319 Likewise.
6320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
6321 Likewise.
6322 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6323 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6324 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6325
c259196b
FW
63262019-03-01 Florian Weimer <fweimer@redhat.com>
6327
6328 [BZ #20419]
6329 * elf/tst-big-note-lib.S: Create a syntactically valid note.
6330 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
6331 code, to avoid creating an ABI tag note.
6332 (modules-names-nobuild): Add tst-big-note-lib.
6333
928b305d
SL
63342019-03-01 Stefan Liebler <stli@linux.ibm.com>
6335
6336 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
6337 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
6338
36f30c10
FW
63392019-03-01 Florian Weimer <fweimer@redhat.com>
6340
6341 [BZ #20271]
6342 * sysdeps/unix/sysv/linux/netlink_assert_response.c
6343 (__netlink_assert_response): Add additional missing newlines.
6344
462e83a4
JM
63452019-02-28 Joseph Myers <joseph@codesourcery.com>
6346
6347 * sysdeps/powerpc/powerpc32/dl-machine.c
6348 (__elf_machine_fixup_plt): Use space before '('.
6349 (__process_machine_rela): Likewise.
6350 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
6351 Likewise.
6352 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
6353 Likewise.
6354 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
6355 Likewise.
6356 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
6357 (pattern): Likewise.
6358 (delta): Likewise.
6359 (check_result): Likewise.
6360 (check_excepts): Likewise.
6361 (check_op): Likewise.
6362 (fail_xr): Likewise.
6363 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
6364 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
6365 (SCNHSZ): Likewise.
6366 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
6367 Likewise.
6368 (ARGS): Likewise.
6369 (__makecontext): Likewise.
6370 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
6371 Likewise.
6372
cc3e573c
FW
63732019-02-28 Florian Weimer <fweimer@redhat.com>
6374
6375 [BZ #23937]
6376 elf: Add test with a local IFUNC resolver.
6377 * elf/ifuncmain9.c: New file.
6378 * elf/ifuncmain9pic.c: Likewise.
6379 * elf/ifuncmain9picstatic.c: Likewise.
6380 * elf/ifuncmain9pie.c: Likewise.
6381 * elf/ifuncmain9static.c: Likewise.
6382 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
6383 ifuncmain9static, ifuncmain9picstatic.
6384 * elf/Makefile [multi-arch && build-shared] (tests-internal):
6385 Add ifuncmain9, ifuncmain9pic.
6386 * elf/Makefile [multi-arch && build-shared && have-fpie]
6387 (ifunc-pie-tests): Add ifuncmain9pie.
6388 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
6389 (CFLAGS-ifuncmain9picstatic.c): Likewise.
6390 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
6391
92ad88fe
L
63922019-02-27 H.J. Lu <hongjiu.lu@intel.com>
6393
6394 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
6395 * configure: Regenerated.
6396 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
6397
6bd4d02e
AZ
63982019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6399
6400 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
6401 symbol as __wcspcy instead of wcscpy.
6402
1b218417
ST
64032019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6404
6405 * include/stdio.h (__renameat2): New hidden prototype.
6406 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
6407 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
6408 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
6409 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
6410
c4f50205
JM
64112019-02-27 Joseph Myers <joseph@codesourcery.com>
6412
f627dd4d
JM
6413 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
6414 if statement.
6415
c4f50205
JM
6416 * benchtests/bench-strcpy.c (do_test): Use space before '('.
6417 * benchtests/bench-string.h (cmdline_process_function): Likewise.
6418 * benchtests/bench-strlen.c (do_test): Likewise.
6419 (test_main): Likewise.
6420 * catgets/gencat.c (read_old): Likewise.
6421 * elf/cache.c (load_aux_cache): Likewise.
6422 * iconvdata/bug-iconv8.c (do_test): Likewise.
6423 * math/test-tgmath-ret.c (do_test): Likewise.
6424 * nis/nis_call.c (rec_dirsearch): Likewise.
6425 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6426 * nptl/tst-audit-threads.c (do_test): Likewise.
6427 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
6428 * nss/nss_test1.c (init): Likewise.
6429 * nss/test-netdb.c (test_hosts): Likewise.
6430 * posix/execvpe.c (maybe_script_execute): Likewise.
6431 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
6432 * stdio-common/tst-printf.c (do_test): Likewise.
6433 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
6434 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
6435 * stdlib/qsort.c (STACK_SIZE): Likewise.
6436 * stdlib/test-canon.c (do_test): Likewise.
6437 * stdlib/tst-swapcontext1.c (do_test): Likewise.
6438 * string/memcmp.c (OPSIZ): Likewise.
6439 * string/test-strcpy.c (do_test): Likewise.
6440 (do_random_tests): Likewise.
6441 * string/test-strlen.c (do_test): Likewise.
6442 (test_main): Likewise.
6443 * string/test-strrchr.c (do_test): Likewise.
6444 (do_random_tests): Likewise.
6445 * string/tester.c (test_memrchr): Likewise.
6446 (test_memchr): Likewise.
6447 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
6448 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
6449 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
6450 (read_encoded_value_with_base): Likewise.
6451 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
6452 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
6453 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
6454 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
6455 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
6456 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
6457 Likewise.
6458 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
6459 Likewise.
6460 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
6461 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
6462 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
6463 Likewise.
6464 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
6465 Likewise.
6466 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
6467 Likewise.
6468 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
6469 Likewise.
6470 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
6471 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
6472 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6473 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
6474 * time/test_time.c (main): Likewise.
6475
7b3fb620
AZ
64762019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6477
457208b1
AZ
6478 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
6479
30a7e208
AZ
6480 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
6481 wmemcpy.
6482
ddf21ec7
AZ
6483 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
6484 wmemcpy.
6485
4d801563
AZ
6486 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
6487
81a14439
AZ
6488 * include/wchar.h (__wcscpy): New prototype.
6489 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
6490 (__wcscpy): Route internal symbol to generic implementation.
6491 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
6492 Add internal __wcscpy alias.
6493 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
6494 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
6495 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
6496 * wcsmbs/wcscpy.c (wcscpy): Add
6497 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
6498 use generic implementation.
6499 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
6500
39ef0744
AZ
6501 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
6502 wmemset.
6503
7b3fb620
AZ
6504 * sysdeps/m68k/wcpcpy.c: Remove file.
6505 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
6506
e0cb7b61
JM
65072019-02-26 Joseph Myers <joseph@codesourcery.com>
6508
aa0e4663
JM
6509 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
6510 than after operators.
6511 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
6512 * sysdeps/mach/hurd/getcwd.c
6513 (__hurd_canonicalize_directory_name_internal): Likewise.
6514 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
6515 (pthread_mutex_consistent): Likewise.
6516 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
6517 Likewise.
6518 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
6519 (__pthread_mutex_transfer_np): Likewise.
6520 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
6521 (__pthread_mutex_unlock): Likewise.
6522 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
6523 (mtx_owned_p): Likewise.
6524 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
6525 (pthread_mutexattr_getrobust): Likewise.
6526 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
6527 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
6528 Likewise.
6529 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
6530 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
6531 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
6532 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
6533 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
6534 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6535 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
6536 Likewise.
6537 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
6538 Likewise.
6539 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
6540 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
6541 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
6542 (____longjmp_chk): Likewise.
6543 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
6544 Likewise.
6545 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6546 (INTERNAL_SYSCALL): Likewise.
6547 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6548 (INTERNAL_SYSCALL): Likewise.
6549 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6550 (__get_clockfreq_via_cpuinfo): Likewise.
6551
e0cb7b61
JM
6552 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
6553 comments.
6554 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
6555 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
6556 (WORD_COPY_BWD): Likewise.
6557 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
6558 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6559 Likewise.
6560 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
6561 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
6562 comment.
6563 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
6564
a04549c1
JM
65652019-02-25 Joseph Myers <joseph@codesourcery.com>
6566
6567 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
6568 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
6569 rather than after operators.
6570 * elf/cache.c (print_cache): Likewise.
6571 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
6572 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
6573 * hurd/hurdinit.c (_hurd_setproc): Likewise.
6574 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
6575 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
6576 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
6577 (reauth_proc): Likewise.
6578 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
6579 (__file_name_split_at): Likewise.
6580 (__directory_name_split_at): Likewise.
6581 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
6582 * hurd/port2fd.c (_hurd_port2fd): Likewise.
6583 * iconv/gconv_dl.c (do_print): Likewise.
6584 * inet/netinet/in.h (struct sockaddr_in): Likewise.
6585 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
6586 * locale/setlocale.c (new_composite_name): Likewise.
6587 * malloc/memusagestat.c (main): Likewise.
6588 * misc/fstab.c (fstab_convert): Likewise.
6589 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
6590 Likewise.
6591 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
6592 (getgrent_next_file): Likewise.
6593 (internal_getgrnam_r): Likewise.
6594 (internal_getgrgid_r): Likewise.
6595 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
6596 Likewise.
6597 (internal_getgrent_r): Likewise.
6598 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
6599 (getpwent_next_nss): Likewise.
6600 (getpwent_next_file): Likewise.
6601 (internal_getpwnam_r): Likewise.
6602 (internal_getpwuid_r): Likewise.
6603 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
6604 Likewise.
6605 (getspent_next_nss): Likewise.
6606 (internal_getspnam_r): Likewise.
6607 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
6608 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
6609 * string/strchr.c (STRCHR): Likewise.
6610 * string/strchrnul.c (STRCHRNUL): Likewise.
6611 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
6612 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6613 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
6614 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
6615 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
6616 Likewise.
6617 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
6618 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
6619 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
6620 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
6621 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
6622 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
6623 (open_file): Likewise.
6624 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
6625 (pthread_mutexattr_setprotocol): Likewise.
6626 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
6627 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
6628 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
6629 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
6630 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
6631 Likewise.
6632 (elf_machine_rela): Likewise.
6633 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6634 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6635 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
6636 * sysdeps/posix/rename.c (rename): Likewise.
6637 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
6638 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
6639 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
6640 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
6641 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6642 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
6643 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
6644 Likewise.
6645 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
6646 Likewise.
6647 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
6648 * time/tzfile.c (__tzfile_compute): Likewise.
6649
34a5a146
JM
66502019-02-22 Joseph Myers <joseph@codesourcery.com>
6651
6652 * benchtests/bench-memmem.c (simple_memmem): Break lines before
6653 rather than after operators.
6654 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
6655 * crypt/md5.c (md5_finish_ctx): Likewise.
6656 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
6657 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
6658 * elf/cache.c (load_aux_cache): Likewise.
6659 * elf/dl-load.c (open_verify): Likewise.
6660 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
6661 * elf/readelflib.c (process_elf_file): Likewise.
6662 * elf/rtld.c (dl_main): Likewise.
6663 * elf/sprof.c (generate_call_graph): Likewise.
6664 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
6665 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
6666 * hurd/dtable.c (reauth_dtable): Likewise.
6667 * hurd/getdport.c (__getdport): Likewise.
6668 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
6669 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
6670 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
6671 Likewise.
6672 * hurd/hurdioctl.c (fioctl): Likewise.
6673 * hurd/hurdselect.c (_hurd_select): Likewise.
6674 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
6675 (STOPSIGS): Likewise.
6676 * hurd/hurdstartup.c (_hurd_startup): Likewise.
6677 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
6678 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
6679 * hurd/msgportdemux.c (msgport_server): Likewise.
6680 * hurd/setauth.c (_hurd_setauth): Likewise.
6681 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
6682 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
6683 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
6684 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
6685 * login/tst-utmp.c (do_check): Likewise.
6686 (simulate_login): Likewise.
6687 * mach/lowlevellock.h (lll_lock): Likewise.
6688 (lll_trylock): Likewise.
6689 * math/test-fenv.c (ALL_EXC): Likewise.
6690 * math/test-fenvinline.c (ALL_EXC): Likewise.
6691 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
6692 * nis/nis_call.c (__do_niscall3): Likewise.
6693 * nis/nis_callback.c (cb_prog_1): Likewise.
6694 * nis/nis_defaults.c (searchaccess): Likewise.
6695 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6696 * nis/nis_ismember.c (internal_ismember): Likewise.
6697 * nis/nis_local_names.c (nis_local_principal): Likewise.
6698 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
6699 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
6700 Likewise.
6701 * nis/ypclnt.c (yp_match): Likewise.
6702 (yp_first): Likewise.
6703 (yp_next): Likewise.
6704 (yp_master): Likewise.
6705 (yp_order): Likewise.
6706 * nscd/hstcache.c (cache_addhst): Likewise.
6707 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6708 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
6709 (internal_getpwuid_r): Likewise.
6710 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
6711 * posix/glob.h (__GLOB_FLAGS): Likewise.
6712 * posix/regcomp.c (peek_token): Likewise.
6713 (peek_token_bracket): Likewise.
6714 (parse_expression): Likewise.
6715 * posix/regexec.c (sift_states_iter_mb): Likewise.
6716 (check_node_accept_bytes): Likewise.
6717 * posix/tst-spawn3.c (do_test): Likewise.
6718 * posix/wordexp-test.c (testit): Likewise.
6719 * posix/wordexp.c (parse_tilde): Likewise.
6720 (exec_comm): Likewise.
6721 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
6722 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
6723 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
6724 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
6725 * stdio-common/tst-fileno.c (do_test): Likewise.
6726 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
6727 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
6728 * stdlib/strtod_l.c (round_and_return): Likewise.
6729 (____STRTOF_INTERNAL): Likewise.
6730 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
6731 * string/strcspn.c (STRCSPN): Likewise.
6732 * string/test-memmem.c (simple_memmem): Likewise.
6733 * termios/tcsetattr.c (tcsetattr): Likewise.
6734 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
6735 * time/asctime.c (asctime_internal): Likewise.
6736 * time/strptime_l.c (__strptime_internal): Likewise.
6737 * time/sys/time.h (timercmp): Likewise.
6738 * time/tzfile.c (__tzfile_compute): Likewise.
6739
b0b50fe0
PF
67402019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
6741
b39d961c
TS
6742 [BZ #21915]
6743 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
b0b50fe0 6744
f43b8dd5
GG
67452019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6746
6747 * argp/argp-help.c (__argp_error_internal): New function,
6748 renamed from __argp_error, but that takes a 'mode_flags'
6749 parameter to control the format of long double parameters.
6750 (__argp_error): Converted into a call __argp_error_internal.
6751 (__argp_failure_internal): New function, renamed from
6752 __argp_failure, but that takes a 'mode_flags' parameter.
6753 (__argp_failure): Converted into a call __argp_failure_internal.
6754 * misc/err.c (__vwarnx_internal): New function, renamed from
6755 vwarnx, but that takes a 'mode_flags' parameter.
6756 (vwarnx): Converted into a call to __vwarnx_internal.
6757 (__vwarn_internal): New function, renamed from vwarn, but that
6758 takes a 'mode_flags' parameter.
6759 (vwarn): Converted into a call to __vwarn_internal.
6760 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
6761 call to __vfxprintf with 'mode_flags'.
6762 (__error_internal): New function, renamed from error, but that
6763 takes a 'mode_flags' parameter.
6764 (error): Converted into a call to __error_internal.
6765 (__error_at_line_internal): New function, renamed from
6766 error_at_line, but that takes a 'mode_flags' parameter.
6767 (error_at_line): Converted into a call to
6768 __error_at_line_internal.
6769 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
6770 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
6771 Likewise.
6772
dc0afac3 67732019-02-20 Martin Liska <mliska@suse.cz>
6774
6775 * math/Makefile: Install math-vector-fortran.h.
6776 * bits/math-vector-fortran.h: New file.
6777 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
6778
4a2dd41c
GG
67792019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6780
6781 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
6782 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
6783
04de9302
WS
67842019-02-19 Wolfram Sang <wsa@the-dreams.de>
6785
6786 * nptl/pthread_mutex_trylock.c: Fix comment.
6787
b026ce1e
CD
67882019-02-19 Carlos O'Donell <carlos@redhat.com>
6789
6790 * nptl/pthread_tryjoin.c: Fix comment.
6791
8c9289b6
JM
67922019-02-18 Joseph Myers <joseph@codesourcery.com>
6793
6794 [BZ #24231]
6795 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
6796 after R_SPARC_H34 case.
6797
308e022f
FW
67982019-02-18 Florian Weimer <fweimer@redhat.com>
6799
6800 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
6801 (getanswer): Do not call Dprintf.
6802 (res_gethostbyname2_context): Likewise.
6803 (res_gethostbyaddr_context): Likewise.
6804
a5406364
FW
68052019-02-18 Florian Weimer <fweimer@redhat.com>
6806
6807 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
6808 declaration.
6809 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
6810 Remove definitions.
6811 * libio/stdfiles.c: Update comment.
6812 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
6813 set _IO_stdin, _IO_stdout, _IO_stderr.
6814 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
6815 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
6816 inline function.
6817 (_IO_deallocate_file): New inline function.
6818 * libio/iolibio.h (_IO_vprintf): Remove definition.
6819 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
6820 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
6821 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
6822 _IO_legacy_file.
6823 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
6824 __builtin_expect. Use _IO_legacy_file.
6825
6c29942c
SL
68262019-02-18 Stefan Liebler <stli@linux.ibm.com>
6827
6828 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
6829 Initialize ctid with a known value and remove update of ctid
6830 after clone.
6831 (wait_tid): Adjust arguments and call futex_wait with ctid_val
6832 as assumed current value of ctid_ptr.
6833
225d9445 68342019-02-16 Florian Weimer <fweimer@redhat.com>
ad18dade
FW
6835
6836 Check that non-sysdeps headers have wrapper headers.
6837 * scripts/check-wrapper-headers.py: New file.
6838 * Makefile (tests-special): Add check-wrapper-headers.out.
6839 (check-wrapper-headers.out): New target.
6840 * Rules (tests-special): Add check-wrapper-headers.out.
6841 (check-wrapper-headers.out): New target.
6842
225d9445 68432019-02-16 Florian Weimer <fweimer@redhat.com>
ebd32784
FW
6844
6845 Add missing header wrappers under include/.
6846 * include/ar.h: New file.
6847 * include/bits/mqueue2.h: Likewise.
6848 * include/bits/stdio.h: Likewise.
6849 * include/bits/stdio2.h: Likewise.
6850 * include/fstab.h: Likewise.
6851 * include/fts.h: Likewise.
6852 * include/lastlog.h: Likewise.
6853 * include/netinet/icmp6.h: Likewise.
6854 * include/netinet/igmp.h: Likewise.
6855 * include/netinet/ip6.h: Likewise.
6856 * include/re_comp.h: Likewise.
6857 * include/regexp.h: Likewise.
6858 * include/rpcsvc/bootparam.h: Likewise.
6859 * include/rpcsvc/yp_prot.h: Likewise.
6860 * include/sys/random.h: Likewise.
6861 * include/sys/stropts.h: Likewise.
6862 * include/sys/ttychars.h: Likewise.
6863 * include/sys/vfs.h: Likewise.
6864 * include/wait.h: Likewise.
6865
225d9445 68662019-02-16 Florian Weimer <fweimer@redhat.com>
a198d37a
FW
6867
6868 * nptl_db/proc_service.h: Move to ...
6869 * sysdeps/nptl/proc_service.h: ... here.
6870 * nptl_db/thread_db.h: Move to ...
6871 * sysdeps/nptl/thread_db.h: ... here.
6872 * nptl/descr.h: Include <thread_db.h>.
6873
e442e40d
AZ
68742019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6875
6876 * io/Makefile (tests): Add tst-lockf.
6877 * io/lockf.c (lockf): Use __fcntl and only define for
6878 !__OFF_T_MATCHES_OFF64_T.
6879 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
6880 __OFF_T_MATCHES_OFF64_T case.
6881 * io/tst-lockf.c: New file.
6882 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
6883 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
6884 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
6885 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
6886 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
6887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
6888 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
6889 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
6890 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
6891
bc10e22c
FW
68922019-02-15 Florian Weimer <fweimer@redhat.com>
6893
6894 [BZ #24211]
6895 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
6896 pd->result after the thread descriptor has been freed.
6897
365f05c7
JM
68982019-02-15 Joseph Myers <joseph@codesourcery.com>
6899
8a11f970
JM
6900 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
6901 from function return type.
6902
365f05c7
JM
6903 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
6904
6b5c8607 69052019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
56a731d4
JK
6906
6907 * scripts/test_printers_common.py: Set TERM to a known harmless
6908 value.
6909
712182c8
JM
69102019-02-14 Joseph Myers <joseph@codesourcery.com>
6911
6912 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
6913 (xdr_u_int): Likewise.
6914 (xdr_enum): Likewise.
6915 (xdr_bytes): Reword fall-through comment.
6916 (xdr_string): Likewise.
6917
eb76e5b4
AZ
69182019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6919
6920 [BZ #2421]
6921 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
6922 (tests): Add tst-join8 tst-join9.
6923 * nptl/lll_timedwait_tid.c: Remove file.
6924 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
6925 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
6926 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
6927 * nptl/pthread_join_common.c (timedwait_tid): New function.
6928 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
6929 is set.
6930 * nptl/tst-join5.c (thread_join): New function.
6931 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
6932 check.
6933 * nptl/tst-join8.c: New file.
6934 * nptl/tst-join9.c: Likewise.
6935 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
6936 lll_futex_timed_wait_cancel): Add generic macros.
6937 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
6938 Remove definitions.
6939 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6940 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6941 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6942 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
6943 Remove function.
6944 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
6945 Likewise.
6946 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
6947 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
6948 (lll_futex_timed_wait_cancel): New macro.
6949
3904fd85
WD
69502019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
6951
6952 * benchtests/Makefile: Add malloc-simple benchmark.
6953 * benchtests/bench-malloc-simple.c: New benchmark.
6954
24ca04fe
SP
69552019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
6956
6957 * benchtests/bench-memmove.c (do_one_test): Remove unused
6958 ORIG_SRC.
6959 (do_test): Adjust.
6960 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
6961 ORIG_SRC.
6962 (do_test): Adjust.
6963
85bd1ddb
JW
69642019-01-13 Jim Wilson <jimw@sifive.com>
6965
6966 [BZ #24040]
6967 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
6968 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
6969 (func): New.
6970 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
6971 call func directly.
6972 * nptl/Makefile (tests): Add tst-unwind-thread.
6973 (CFLAGS-tst-unwind-thread.c): Define.
6974 * nptl/tst-unwind-thread.c: New file.
6975 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
6976 as undefined.
6977
86140c62
JM
69782019-02-13 Joseph Myers <joseph@codesourcery.com>
6979
10756268
JM
6980 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
6981 comment wording.
6982 * nis/nis_call.c (__do_niscall3): Likewise.
6983
05383720
JM
6984 * catgets/gencat.c (normalize_line): Use braces around empty
6985 'else' body.
6986 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6987 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
6988 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
6989 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
6990 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
6991 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
6992 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
6993 definition.
6994
86140c62
JM
6995 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
6996 execlp returns.
6997
16f87cfd
WD
69982019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
6999
7000 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
7001 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
7002 * benchtests/bench-strchr.c (stupid_strchr): Remove.
7003 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
7004 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
7005 * benchtests/bench-strlen.c (builtin_strlen): Remove.
7006 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
7007 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
7008 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
7009 * benchtests/bench-strspn.c (stupid_strspn): Remove.
7010 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
7011 * benchtests/bench-bcopy.c: Delete file.
7012 * benchtests/bench-bzero.c: Likewise.
7013 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
7014 (simple_memccpy): Remove.
7015 (generic_memccpy): Add function.
7016 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
7017 * benchtests/bench-memmove.c (simple_bcopy): Remove.
7018 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
7019 (generic_mempcpy): Add new function.
7020 * benchtests/bench-memset.c (simple_bzero): Remove.
7021 (builtin_bzero): Remove.
7022 (builtin_memset): Remove.
7023 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
7024 (generic_rawmemchr): Add new function.
7025
0c6d82e9
FW
70262019-02-12 Florian Weimer <fweimer@redhat.com>
7027
7028 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
7029
b3fbfe81
AZ
70302019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7031
7032 [BZ #24122]
7033 * elf/Makefile (tests): Add tst-audit13.
7034 (modules-names): Add tst-audit13mod1.
7035 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
7036 rule.
7037 * elf/tst-audit13.c: New file.
7038 * elf/tst-audit13mod1.c: Likewise.
7039
3b856d09
FW
70402019-02-12 Florian Weimer <fweimer@redhat.com>
7041
7042 [BZ #24122]
7043 * elf/rtld.c (unload_audit_module): New function.
7044 (report_audit_module_load_error): Likewise.
7045 (load_audit_module): Likewise. Extracted from dl_main. Call
7046 _dl_close if the laversion symbol cannot be found. Use early
7047 returns for error handling. Add malloc error check. Check for a
7048 zero return value from la_version. Remove spurious comment about
7049 static TLS initialization. Remove useless casts.
7050 (notify_audit_modules_of_loaded_object): New function. Extracted
7051 from dl_main.
7052 (load_audit_module): Likewise.
7053 (dl_main): Call load_audit_modules.
7054
32db86d5
JM
70552019-02-12 Joseph Myers <joseph@codesourcery.com>
7056
7057 * elf/dl-exception.c (_dl_exception_create_format): Add
7058 fall-through comments.
7059 * elf/ldconfig.c (parse_conf_include): Likewise.
7060 * elf/rtld.c (print_statistics): Likewise.
7061 * locale/programs/charmap.c (parse_charmap): Likewise.
7062 * misc/mntent_r.c (__getmntent_r): Likewise.
7063 * posix/wordexp.c (parse_arith): Likewise.
7064 (parse_backtick): Likewise.
7065 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
7066 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
7067 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7068
a51bc4fe
PC
70692019-02-11 Paul A. Clarke <pc@us.ibm.com>
7070
7071 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
7072 Use float instead of double.
7073
fb25b135
TS
70742019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
7075
7076 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
7077
32ea7299
JM
70782019-02-08 Joseph Myers <joseph@codesourcery.com>
7079
7080 * sysdeps/powerpc/bits/mathinline.h: Remove.
7081
eef4d4f8
FW
70822019-02-08 Florian Weimer <fweimer@redhat.com>
7083
7084 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
7085 * math/bits/math-finite.h: Move to ...
7086 * bits/math-finite.h: ... here.
7087
fdfbd47d
FW
70882019-02-08 Florian Weimer <fweimer@redhat.com>
7089
7090 * sysdeps/generic/bits/unistd_ext.h: Move to ...
7091 * bits/unistd_ext.h: here.
7092
11eb21c4
PF
70932019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
7094
7095 [BZ #21915]
7096 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
7097 * nss/tst-nss-files-hosts-long.c: New file.
7098 * nss/tst-nss-files-hosts-long.root: New directory.
7099 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
7100 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
7101
e47d82c9
FW
71022019-02-08 Florian Weimer <fweimer@redhat.com>
7103
7104 * include/bits/unistd_ext.h: Remove file.
7105 * posix/bits/unistd_ext.h: Move to ...
7106 * sysdeps/generic/bits/unistd_ext.h: ... here.
7107
8f89ab21
FW
71082019-02-08 Florian Weimer <fweimer@redhat.com>
7109
7110 * include/bits/unistd_ext.h: New file.
7111
144a794e
TS
71122019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
7113
7114 * time/tst-strftime2.c: Use array_length macros instead of magic
7115 numbers.
7116
669ff911
FW
71172019-02-08 Florian Weimer <fweimer@redhat.com>
7118
7119 [BZ #24161]
7120 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
7121 argument.
7122 * nptl/register-atfork.c (__run_fork_handlers): Only perform
7123 locking if the new do_locking argument is true.
7124 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
7125 __run_fork_handlers.
7126
d0bd87d4 71272019-02-08 Florian Weimer <fweimer@redhat.com>
1d0fc213
FW
7128
7129 [BZ #6399]
7130 Linux: Add gettid system call wrapper.
7131 * posix/Makefile (headers): Add bits/unistd_ext.h.
7132 * posix/bits/unistd_ext.h: New file.
7133 * posix/unistd.h: Include it.
7134 * manual/process.texi (Process Identification): Document gettid.
7135 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
7136 tst-gettid, tst-gettid-kill.
7137 (tst-gettid): Link with $(shared-thread-library).
7138 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
7139 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
7140 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
7141 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
7142 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
7143 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
7144 Add gettid.
7145 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
7146 Likewise.
7147 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
7148 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
7149 Likewise.
7150 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
7151 Likewise.
7152 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
7153 Likewise.
7154 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
7155 Likewise.
7156 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
7157 Likewise.
7158 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
7159 Likewise.
7160 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
7161 Likewise.
7162 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7163 (GLIBC_2.30): Likewise.
7164 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7165 (GLIBC_2.30): Likewise.
7166 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7167 (GLIBC_2.30): Likewise.
7168 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7169 (GLIBC_2.30): Likewise.
7170 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
7171 Likewise.
7172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7173 (GLIBC_2.30): Likewise.
7174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7175 (GLIBC_2.30): Likewise.
7176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
7177 (GLIBC_2.30): Likewise.
7178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
7179 (GLIBC_2.30): Likewise.
7180 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
7181 Likewise.
7182 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
7183 Likewise.
7184 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
7185 Likewise.
7186 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
7187 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
7188 Likewise.
7189 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
7190 Likewise.
7191 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
7192 Likewise.
7193 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
7194 Likewise.
7195 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
7196
225d9445 71972019-02-08 Florian Weimer <fweimer@redhat.com>
f289e656
FW
7198
7199 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
7200 compatibility symbols.
7201
823624bd
SL
72022019-02-07 Stefan Liebler <stli@linux.ibm.com>
7203
7204 [BZ #24180]
7205 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7206 Add compiler barriers and comments.
7207
8311c83f
FW
72082019-02-07 Florian Weimer <fweimer@redhat.com>
7209
7210 * include/array_length.h (array_length): Do not use a statement
7211 expression and _Static_assert, so that array_length can be used at
7212 file scope and as a constant expression.
7213
94b63e66
FW
72142019-02-07 Florian Weimer <fweimer@redhat.com>
7215
7216 * support/xdlfcn.h (xdlmopen): Declare.
7217 * support/xdlmopen.c: New file.
7218 * support/Makefile (libsupport-routines): Add xdlmopen.
7219
c2d8f0b7
JM
72202019-02-06 Joseph Myers <joseph@codesourcery.com>
7221
7222 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
7223 before return type, without separate inline.
7224 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
7225 * elf/dl-tunables.h (tunable_is_name): Likewise.
7226 * malloc/malloc.c (do_set_trim_threshold): Likewise.
7227 (do_set_top_pad): Likewise.
7228 (do_set_mmap_threshold): Likewise.
7229 (do_set_mmaps_max): Likewise.
7230 (do_set_mallopt_check): Likewise.
7231 (do_set_perturb_byte): Likewise.
7232 (do_set_arena_test): Likewise.
7233 (do_set_arena_max): Likewise.
7234 (do_set_tcache_max): Likewise.
7235 (do_set_tcache_count): Likewise.
7236 (do_set_tcache_unsorted_limit): Likewise.
7237 * nis/nis_subr.c (count_dots): Likewise.
7238 * nptl/allocatestack.c (advise_stack_range): Likewise.
7239 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
7240 (do_sin): Likewise.
7241 (reduce_sincos): Likewise.
7242 (do_sincos): Likewise.
7243 * sysdeps/unix/sysv/linux/x86/elision-conf.c
7244 (do_set_elision_enable): Likewise.
7245 (TUNABLE_CALLBACK_FNDECL): Likewise.
7246
3b935595
FW
72472019-02-06 Florian Weimer <fweimer@redhat.com>
7248
7249 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
7250 (xdlsym): Use dlerror to detect a NULL symbol.
7251
b4333340
FW
72522019-02-06 Florian Weimer <fweimer@redhat.com>
7253
7254 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
7255 <stap-probe.h>.
7256 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7257
b6d8a999
SL
72582019-02-06 Stefan Liebler <stli@linux.ibm.com>
7259
7260 * libio/tst-bz24153.c (wide): Use wide char format specifier.
7261
94eeeec0
SL
72622019-02-06 Stefan Liebler <stli@linux.ibm.com>
7263
7264 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
7265 __wmemcmp and weak alias to wmemcmp.
7266
bc79db3f
SL
72672019-02-06 Stefan Liebler <stli@linux.ibm.com>
7268
7269 [BZ #23403]
7270 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
7271 TLS_TCB_AT_TP tls variant.
7272 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
7273 Add alignment checks.
7274 * support/Makefile (libsupport-routines): Add xposix_memalign and
7275 xpthread_setstack.
7276 * support/support.h: Add xposix_memalign.
7277 * support/xthread.h: Add xpthread_attr_setstack.
7278 * support/xposix_memalign.c: New File.
7279 * support/xpthread_attr_setstack.c: Likewise.
7280
f1ac7455
FW
72812019-02-05 Florian Weimer <fweimer@redhat.com>
7282
7283 [BZ #24164]
7284 arm: Use "nr" constraint for Systemtap probes, to avoid the
7285 compiler using memory operands for constants, due to the "o"
7286 alternative in the default "nor" constraint.
7287 * include/stap-probe.h [USE_STAP_PROBE]: Include
7288 <stap-probe-machine.h>
7289 * sysdeps/generic/stap-probe-machine.h: New file.
7290 * sysdeps/arm/stap-probe-machine.h: Likewise.
7291
7a0dcfc6
JM
72922019-02-04 Joseph Myers <joseph@codesourcery.com>
7293
77dc0d86
JM
7294 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
7295 with 0, not tcache->entries[tc_idx].
7296
7a0dcfc6
JM
7297 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
7298 once.
7299
65f7767a
AS
73002019-02-04 Andreas Schwab <schwab@suse.de>
7301
7302 [BZ #16976]
7303 [BZ #17396]
7304 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
7305 looking up collating elements match against (wide) character
7306 sequence instead of name. Correct alignment adjustment.
7307 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
7308 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
7309 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
7310 (LOCALES): Add cs_CZ.ISO-8859-2.
7311 * posix/tst-fnmatch4.c: New file.
7312 * posix/tst-fnmatch5.c: New file.
7313 * include/wchar.h (__wmemcmp): Declare.
7314 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
7315 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
7316 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
7317 * sysdeps/s390/wmemcmp.c: Likewise.
7318
3f635fb4
L
73192019-02-04 H.J. Lu <hongjiu.lu@intel.com>
7320
7321 [BZ #24155]
7322 CVE-2019-7309
7323 * NEWS: Updated for CVE-2019-7309.
7324 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
7325 upper 32 bits of RDX register for x32. Use unsigned Jcc
7326 instructions, instead of signed.
7327 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
7328 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
7329
2ab5741b
FW
73302019-02-04 Florian Weimer <fweimer@redhat.com>
7331
7332 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
7333 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
7334 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
7335 Likewise.
7336 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
7337 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
7338 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
7339 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
7340 Likewise.
7341 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
7342 Likewise.
7343 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
7344 Likewise.
7345 (posix_spawn_file_actions_addopen): Likewise.
7346 (posix_spawn_file_actions_addclose): Likewise.
7347 (posix_spawn_file_actions_adddup2): Likewise.
7348 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
7349 qualifiers.
7350 (posix_spawn_file_actions_addfchdir_np): Likewise.
7351
8692ebdb
DN
73522019-02-04 David Newall <glibc@davidnewall.com>
7353
7354 elf: Implement --preload option for the dynamic linker.
7355 * elf/rtld.c (preloadarg): New variable.
7356 (handle_preload_list): Pass through “where” argument to
7357 do_preload.
7358 (dl_main): Handle "--preload" and add second call to
7359 handle_preload_list.
7360 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
7361 (tst-rtld-preload-OBJS): Set variable.
7362 (tst-rtld-preload.out): New target.
7363 * elf/tst-rtld-preload.sh: New file.
7364
5e10136b
MM
73652019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
7366
7367 * Makefile (testrun.sh): Exit in case of incorrect argument.
7368
221baae0
FW
73692019-02-04 Florian Weimer <fweimer@redhat.com>
7370
7371 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
7372 alignment gaps.
7373
b8c72381
FW
73742019-02-03 Florian Weimer <fweimer@redhat.com>
7375
7376 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
7377 implicit overflow checks.
7378
11f382ee
AJ
73792019-02-03 Aurelien Jarno <aurelien@aurel32.net>
7380
7381 * stdlib/isomac.c: Include <unistd.h>.
7382
77c7d55e
FW
73832019-02-03 Florian Weimer <fweimer@redhat.com>
7384
7385 * include/time.h (__tzfile_default): Use int, not long int, for
7386 the GMT offsets.
7387 * time/tzfile.c (struct ttinfo): Change type of the offset member
7388 to int.
7389 (__tzfile_read): Remove useless cast.
7390 (__tzfile_default): Adjust prototype.
7391 * time/tzset.c (tz_rule): Change type of the offset member to int.
7392 (parse_offset): Change the type of the sign variable to int.
7393
ee9941f9
FW
73942019-02-03 Florian Weimer <fweimer@redhat.com>
7395
7396 [BZ #24153]
7397 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
7398 * libio/getchar.c (getchar): Likewise.
7399 * libio/getchar_u.c (getchar_unlocked): Likewise.
7400 * libio/getwchar.c (getwchar): Likewise.
7401 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7402 * libio/iogets.c (_IO_gets): Likewise.
7403 * libio/vscanf.c (_IO_vscanf): Likewise.
7404 * libio/vwscanf.c (__vwscanf): Likewise.
7405 * libio/tst-bz24153.c: New file.
7406 * libio/Makefile (tests): Add it.
7407
c70824b9
FW
74082019-02-02 Florian Weimer <fweimer@redhat.com>
7409
7410 [BZ #14829]
7411 * manual/resource.texi (Basic Scheduling Functions): Add
7412 portability note. Change process to task throughout the section.
7413 Remove incorrect comment about sched_yield as it affects
7414 tasks/threads, not entire processes.
7415 * sysdeps/unix/sysv/linux/bits/posix_opt.h
7416 (_POSIX_PRIORITY_SCHEDULING): Update comment.
7417
4dcbbc3b
JM
74182019-02-01 Joseph Myers <joseph@codesourcery.com>
7419
7420 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
7421 * configure: Regenerated.
7422 * manual/install.texi (Tools for Compilation): Update minimum GCC
7423 version.
7424 * INSTALL: Regenerated.
7425
6175507c
FW
74262019-02-01 Florian Weimer <fweimer@redhat.com>
7427
7428 * support/support_test_compare_string.c
7429 (support_test_compare_string): Use "string" in error message.
7430 * support/tst-test_compare_string.c (do_test): Adjust.
7431
baef1943
FW
74322019-02-01 Florian Weimer <fweimer@redhat.com>
7433
7434 * support/support_format_address_family.c
7435 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
7436
395599f0
FW
74372019-02-01 Florian Weimer <fweimer@redhat.com>
7438
7439 * manual/socket.texi (Internet Address Formats): Clarify the byte
7440 order of struct sockaddr_in, struct sockaddr_in6. Document
7441 sin6_flowinfo and sin6_scope_id.
7442
b06f4c00
WD
74432019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
7444
7445 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
7446 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
7447 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
7448 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
7449 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
7450 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
7451
83d1cc42
FX
74522019-02-01 Feng Xue <fxue@os.amperecomputing.com>
7453
7454 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
7455 [!MEMCHR](MEMCHR): Set to __memchr.
7456 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
7457 Add memchr_generic and memchr_nosimd.
7458 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
7459 (__libc_ifunc_impl_list): Add memchr ifuncs.
7460 * sysdeps/aarch64/multiarch/memchr.c: New file.
7461 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
7462 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
7463
c7d3890f
FX
74642019-02-01 Feng Xue <fxue@os.amperecomputing.com>
7465
7466 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
7467 Add memset_emag.
7468 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
7469 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
7470 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
7471 Add IS_EMAG check for ifunc dispatch.
7472 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
7473 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
7474
07c3d1ec
FX
74752019-02-01 Feng Xue <fxue@os.amperecomputing.com>
7476
7477 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
7478 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
7479 Add emag.
7480 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
7481 New macro.
7482
114f792e
SL
74832019-02-01 Stefan Liebler <stli@linux.ibm.com>
7484
7485 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
7486
d5627550
VG
74872019-01-31 Vineet Gupta <vgupta@synopsys.com>
7488
7489 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
7490 syscall-template file.
7491
5fc9ed4c
CD
74922019-01-31 Carlos O'Donell <carlos@redhat.com>
7493 Torvald Riegel <triegel@redhat.com>
7494 Rik Prohaska <prohaska7@gmail.com>
7495
7496 [BZ# 23844]
7497 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
7498 tst-rwlock-trywrlock-stall.
7499 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
7500 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
7501 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
7502 Set __wrphase_fute to 1 only if we started the write phase.
7503 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
7504 * nptl/tst-rwlock-trywrlock-stall.c: New file.
7505 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
7506 * support/xpthread_rwlock_destroy.c: New file.
7507 * support/xthread.h: Declare xpthread_rwlock_destroy.
7508
932329a5
JM
75092019-02-01 Joseph Myers <joseph@codesourcery.com>
7510
7511 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
7512 version to 4.0.2.
7513
5f10701f
PP
75142019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7515
7516 [BZ #24051]
7517 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
7518 * libio/fileops.c (_IO_new_file_underflow): Likewise
7519 * libio/wfileops.c (_IO_wfile_underflow): Likewise
7520 * libio/putchar.c (putchar): Likewise.
7521 * libio/putchar_u.c (putchar_unlocked): Likewise.
7522 * libio/putwchar.c (putchar): Likewise.
7523 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
7524 * libio/tst-bz24051.c: New test.
7525 * libio/Makefile (tests): Add tst-bz24051
7526
583dd860
PE
75272019-01-31 Paul Eggert <eggert@cs.ucla.edu>
7528
b626c5aa 7529 CVE-2019-9169
583dd860
PE
7530 regex: fix read overrun [BZ #24114]
7531 Problem found by AddressSanitizer, reported by Hongxu Chen in:
7532 https://debbugs.gnu.org/34140
7533 * posix/regexec.c (proceed_next_node):
7534 Do not read past end of input buffer.
7535
2bac7daa
FW
75362019-01-31 Florian Weimer <fweimer@redhat.com>
7537
7538 [BZ #24059]
7539 * nss/nss_files/files-alias.c (get_next_alias): Handle
7540 continuation line without newline at the end.
7541 * nss/tst-nss-files-alias-truncated.c: New file.
7542 * nss/Makefile [$(build-shared)] (tests): Add
7543 tst-nss-files-alias-truncated.
7544 (tst-nss-files-alias-truncated): Link with libnss_files.so.
7545 * support/namespace.h (struct support_chroot_configuration): Add
7546 aliases member.
7547 (struct support_chroot): Add path_aliases member.
7548 * support/support_chroot.c (support_chroot_create): Handle
7549 aliases.
7550 (support_chroot_free): Free path_aliases.
7551
330c9d0d
SP
75522019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
7553
de44ab67
SP
7554 * version.h (RELEASE): Set to "development".
7555 (VERSION): Set to "2.29.9000".
7556 * NEWS: Add section for 2.30.
7557
56c86f5d
SP
7558 * version.h (RELEASE): Set to "stable".
7559 (VERSION): Set to "2.29".
7560 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
7561
330c9d0d
SP
7562 * NEWS: Add the list of bugs fixed in 2.29.
7563 * manual/contrib.texi: Update contributors list with some more
7564 names.
7565 * manual/install.texi: Update latest versions of packages
7566 tested.
7567 * INSTALL: Regenerated.
7568
e1e47c91
SP
75692019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
7570
7571 * po/be.po: Update translations.
7572 * po/bg.po: Likewise.
7573 * po/ca.po: Likewise.
7574 * po/cs.po: Likewise.
7575 * po/da.po: Likewise.
7576 * po/de.po: Likewise.
7577 * po/el.po: Likewise.
7578 * po/eo.po: Likewise.
7579 * po/es.po: Likewise.
7580 * po/fi.po: Likewise.
7581 * po/fr.po: Likewise.
7582 * po/gl.po: Likewise.
7583 * po/hr.po: Likewise.
7584 * po/hu.po: Likewise.
7585 * po/ia.po: Likewise.
7586 * po/id.po: Likewise.
7587 * po/it.po: Likewise.
7588 * po/ja.po: Likewise.
7589 * po/ko.po: Likewise.
7590 * po/lt.po: Likewise.
7591 * po/nb.po: Likewise.
7592 * po/nl.po: Likewise.
7593 * po/pl.po: Likewise.
7594 * po/pt_BR.po: Likewise.
7595 * po/ru.po: Likewise.
7596 * po/rw.po: Likewise.
7597 * po/sk.po: Likewise.
7598 * po/sl.po: Likewise.
7599 * po/sv.po: Likewise.
7600 * po/tr.po: Likewise.
7601 * po/uk.po: Likewise.
7602 * po/vi.po: Likewise.
7603 * po/zh_CN.po: Likewise.
7604 * po/zh_TW.po: Likewise.
7605
8d016826
UB
76062019-01-24 Uroš Bizjak <ubizjak@gmail.com>
7607
7608 [BZ #24130]
7609 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
7610 of $f3 register on $y_is_neg path.
7611
a0bb5abd
ST
76122019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
7613
b96e22d0 7614 [BZ #24110]
a0bb5abd
ST
7615 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
7616 sigaltstack.ss_flags.
7617
b22eed37
TS
76182019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
7619
7620 [BZ #23758]
7621 * manual/time.texi (strftime): Document "%Ey".
7622 * time/strftime_l.c (__strftime_internal): Set the default width
7623 padding with zero of "%Ey" to 2.
7624
32f600a2
TS
7625 [BZ #24096]
7626 * manual/time.texi (strftime): Document "%EC" and "%EY".
7627 * time/Makefile (tests): Add tst-strftime2.
7628 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
7629 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
7630 override padding for "%Ey".
7631 If an optional flag ('_' or '-') is specified to "%EY", interpret the
7632 "%Ey" in the subformat as if decorated with that flag.
7633 * time/tst-strftime2.c: New file.
7634
8e889c5d
AZ
76352019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7636
3367acdb
AZ
7637 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
7638 are not defined.
7639
8e889c5d
AZ
7640 [BZ #24122]
7641 * elf/Makefile (tests): Add tst-audit13.
7642 (modules-names): Add tst-audit13mod1.
7643 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
7644 rule.
7645 * elf/rtld.c (dl_main): Handle invalid audit module version.
7646 * elf/tst-audit13.c: New file.
7647 * elf/tst-audit13mod1.c: Likewise.
7648
a95dc01c
ST
76492019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7650
7651 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
7652 returned by __hurd_at_flags.
ee4d7902
ST
7653 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
7654 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
7655 directly instead of __hurd_file_name_lookup.
a95dc01c 7656
712f1167
JM
76572019-01-21 Joseph Myers <joseph@codesourcery.com>
7658
7659 * scripts/build-many-glibcs.py (Context.checkout): Default
7660 binutils version to 2.32 branch.
7661
108bc404
FW
76622019-01-21 Florian Weimer <fweimer@redhat.com>
7663
7664 [BZ #20018]
7665 CVE-2016-10739
7666 resolv: Reject trailing characters in host names
7667 * include/arpa/inet.h (__inet_aton_exact): Declare.
7668 (inet_aton): Remove hidden prototype. No longer used internally.
7669 * nscd/gai.c (__inet_aton): Do not define.
7670 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
7671 * nss/digits_dots.c (__inet_aton): Likewise.
7672 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
7673 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
7674 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
7675 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
7676 (tst-resolv-trailing): Likewise.
7677 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
7678 libc.
7679 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
7680 Make static. Add endp parameter.
7681 (__inet_aton_exact): New function.
7682 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
7683 (__inet_addr): Call inet_aton_end.
7684 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
7685 not just IPv6. Call __inet_aton_exact.
7686 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
7687 (tests): Make const. Add additional test cases with trailing
7688 characters.
7689 (do_test): Use array_length.
7690 * resolv/tst-inet_aton_exact.c: New file.
7691 * resolv/tst-resolv-trailing.c: Likewise.
7692 * resolv/tst-resolv-nondecimal.c: Likewise.
7693 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
7694
5165de69
L
76952019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7696
7697 [BZ# 24097]
7698 CVE-2019-6488
7699 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
7700 Clear the upper 32 bits of RSI register.
7701 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
7702 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
7703 and tst-size_t-wcsnlen.
7704 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
7705 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
7706
c7c54f65
L
77072019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7708
7709 [BZ# 24097]
7710 CVE-2019-6488
7711 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
7712 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7713 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7714 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
7715 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
7716
ee915088
L
77172019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7718
7719 [BZ# 24097]
7720 CVE-2019-6488
7721 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
7722 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7723 * sysdeps/x86_64/strcmp.S: Likewise.
7724 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
7725 tst-size_t-strncmp and tst-size_t-wcsncmp.
7726 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
7727 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
7728 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
7729
82d0b4a4
L
77302019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7731
7732 [BZ# 24097]
7733 CVE-2019-6488
7734 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
7735 RDX_LP for length. Clear the upper 32 bits of RDX register.
7736 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
7737 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
7738 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
7739 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
7740
ecd8b842
L
77412019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7742
7743 [BZ# 24097]
7744 CVE-2019-6488
7745 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
7746 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
7747 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
7748 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
7749
231c5676
L
77502019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7751
7752 [BZ# 24097]
7753 CVE-2019-6488
7754 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
7755 length. Clear the upper 32 bits of RDX register.
7756 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7757 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
7758 Likewise.
7759 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7760 Likewise.
7761 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
7762 tst-size_t-wmemchr.
7763 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
7764
b304fc20
L
77652019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7766
7767 [BZ# 24097]
7768 CVE-2019-6488
7769 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
7770 length. Clear the upper 32 bits of RDX register.
7771 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7772 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7773 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
7774 tst-size_t-wmemcmp.
7775 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
7776 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
7777
97700a34
L
77782019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7779
7780 [BZ# 24097]
7781 CVE-2019-6488
7782 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
7783 upper 32 bits of RDX register.
7784 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
7785 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
7786 tst-size_t-wmemchr.
7787 * sysdeps/x86_64/x32/test-size_t.h: New file.
7788 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
7789 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
7790
6ca53a24
FW
77912019-01-18 Florian Weimer <fweimer@redhat.com>
7792
7793 [BZ #24112]
7794 resolv: Do not send queries for non-host-names in nss_dns.
7795 * resolv/nss_dns/dns-host.c (check_name): New function.
7796 (_nss_dns_gethostbyname2_r): Use it.
7797 (_nss_dns_gethostbyname_r): Likewise.
7798 (_nss_dns_gethostbyname4_r): Likewise.
7799
5e30b8ef
FW
78002019-01-21 Florian Weimer <fweimer@redhat.com>
7801
7802 * resolv/inet_addr.c: Reformat to GNU style.
7803 (__inet_addr, __inet_aton): Update comment.
7804
71effcea
FW
78052019-01-18 Florian Weimer <fweimer@redhat.com>
7806
7807 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
7808 ("malloc: Use current (C11-style) atomics for fastbin access").
7809 This commit introduces a substantial performance regression on
7810 POWER and Aarch64.
7811 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
7812 (REMOVE_FB): Define.
7813 (_int_malloc): Use it and reindent.
7814 (_int_free): Use CAS loop with
7815 catomic_compare_and_exchange_val_rel.
7816 (malloc_consolidate): Use atomic_exchange_acq.
7817
7818
562f4362
L
78192019-01-18 H.J. Lu <hongjiu.lu@intel.com>
7820
7821 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
7822 -Wl,-z,now.
7823 (LDFLAGS-tst-minsigstksz-2): Likewise.
7824 (LDFLAGS-tst-minsigstksz-3): Likewise.
7825 (LDFLAGS-tst-minsigstksz-3a): Likewise.
7826 (LDFLAGS-tst-minsigstksz-4): Likewise.
7827
80dfa298
TS
78282019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
7829
7830 * manual/time.texi (strftime): Fix the wording to "alternative" rather
7831 than "alternate".
7832
008b598e
PC
78332019-01-16 Paul A. Clarke <pc@us.ibm.com>
7834
7835 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
7836
fbbc9a4e
ZW
78372019-01-16 Zack Weinberg <zackw@panix.com>
7838
6b5c8607
TS
7839 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
7840 (xget_sigstack_location): New test support functions.
7841 * support/xsigstack.c: New file, implementing them.
7842 * support/tst-xsigstack.c: New test for them.
7843 * support/Makefile: Update.
fbbc9a4e 7844
6b5c8607
TS
7845 * signal/tst-minsigstksz-1.c
7846 * signal/tst-minsigstksz-2.c
7847 * signal/tst-minsigstksz-3.c
7848 * signal/tst-minsigstksz-3a.c
7849 * signal/tst-minsigstksz-4.c: New tests.
7850 * signal/Makefile: Run them.
fbbc9a4e 7851
5f1135e4
SP
78522019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
7853
7854 * po/libc.pot: Regenerate.
7855
ecdacd34
TMQMF
78562019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7857
7858 * math/libm-test-fma.inc (fma_test_data): Set
7859 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
7860
56054664
RA
78612019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
7862
7863 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
7864 (do_test): Changed __vector __int128_t to __vector unsigned int.
7865
1a153e47
LS
78662019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7867
7868 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7869 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
7870 stpcpy-avx2 and stpncpy-avx2.
7871 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
7872 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
7873 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
7874 and __stpncpy_avx2.
7875 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
7876 ifunc-strcpy.h}: rename header for a more generic name.
7877 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
7878 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
7879 AVX unaligned load is fast and vzeroupper is preferred.
7880 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
7881 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
7882 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
7883 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
7884 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
7885 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
7886
a1b02ae7
DL
78872019-01-12 Dmitry V. Levin <ldv@altlinux.org>
7888
7889 * argp/argp-help.c: Fix typo in comment.
7890 * misc/sys/cdefs.h: Likewise.
7891 * posix/regexec.c (sift_states_iter_mb): Likewise.
7892 * socket/sockatmark.c: Likewise.
7893 * socket/sys/socket.h: Likewise.
7894 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
7895 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
7896 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
7897 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7898 * sysdeps/unix/sockatmark.c: Likewise.
7899 * time/strptime_l.c: Likewise.
7900
5cbbf01e
TS
79012019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
7902
7903 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
7904 missing space after the cast of "_NL_CURRENT".
7905
0bc9bdf1
RA
79062019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
7907
7908 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
7909 ifdef to fix read of VSCR.
7910 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
7911 tst-ucontext-ppc64-vscr.c to test list.
7912 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
7913
5494af04
AH
79142019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
7915
7916 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
7917 fall-through.
7918
e17f63ff
JW
79192019-01-09 Jim Wilson <jimw@sifive.com>
7920
7921 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
7922
02f440c1
WD
79232019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
7924
7925 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
7926 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
7927 __memcpy_falkor for ares.
7928 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
7929 Add new define.
7930 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
7931 Add ares cpu.
7932
69da3c9e
L
79332019-01-07 H.J. Lu <hongjiu.lu@intel.com>
7934
7935 [BZ #24066]
7936 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
7937 4_FP_W_TYPEs are used for IEEE quad precision.
7938 * soft-fp/extendhftf2.c: Likewise.
7939 * soft-fp/extendsftf2.c: Likewise.
7940 * soft-fp/extendxftf2.c: Likewise.
7941 * soft-fp/trunctfdf2.c: Likewise.
7942 * soft-fp/trunctfhf2.c: Likewise.
7943 * soft-fp/trunctfsf2.c: Likewise.
7944 * soft-fp/trunctfxf2.c: Likewise.
7945 * sysdeps/alpha/ots_cvttx.c: Likewise.
7946 * sysdeps/alpha/ots_cvtxt.c: Likewise.
7947 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
7948 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
7949 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
7950 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
7951 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
7952 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
7953 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
7954 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
7955 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
7956 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
7957 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
7958 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
7959 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
7960 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
7961 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
7962 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
7963
2ef42716
AJ
79642019-01-07 Aurelien Jarno <aurelien@aurel32.net>
7965
7966 [BZ #24024]
7967 * Makeconfig: Build libm with -fno-math-errno but build the remaining
7968 code with -fmath-errno.
7969 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
7970 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
7971 * string/test-strerror-errno.c: New file.
7972
7395f3a0
AJ
79732019-01-07 Aurelien Jarno <aurelien@aurel32.net>
7974
7975 [BZ #24046]
7976 * localedata/locales/en_US (date_fmt): Add, set to
7977 "%a %d %b %Y %r %Z".
7978
010fe231
FW
79792019-01-07 Florian Weimer <fweimer@redhat.com>
7980
7981 [BZ #24063]
7982 * manual/arith.texi (Math Error Reporting): Use @code{errno}
7983 instead of @var{errno}.
7984 (Parsing of Integers): Likewise.
7985 (Parsing of Floats): Likewise.
7986 * manual/filesys.texi (Working with Directory Trees): Likewise.
7987 (Temporary Files): Likewise.
7988 * manual/job.texi (Terminal Access Functions): Likewise.
7989 * manual/llio.texi (Synchronizing I/O): Likewise.
7990 * manual/math.texi (SVID Random): Likewise.
7991 * manual/message.texi (The catgets Functions): Likewise.
7992 (Translation with gettext): Likewise.
7993 (Locating gettext catalog): Likewise.
7994 (Charset conversion in gettext): Likewise.
7995 * manual/nss.texi (NSS Module Function Internals): Likewise.
7996 * manual/search.texi (Hash Search Function): Likewise.
7997 * manual/setjmp.texi (System V contexts): Likewise.
7998 * manual/time.texi (Sleeping): Likewise.
7999 * manual/users.texi (Lookup User): Likewise.
8000 (Lookup Group): Likewise.
8001
b79dc8d0
AZ
80022019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8003
8004 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
8005 fix typo.
8006
890461fe 80072019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
27c5e756
MJ
8008
8009 [BZ #19444]
8010 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
8011 __builtin_unreachable for default case in switch.
8012 (__ieee754_yn): Likewise.
8013 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8014 (__ieee754_ynl): Likewise.
8015 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8016 (__ieee754_ynl): Likewise.
8017 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8018 (__ieee754_ynl): Likewise.
8019
8b18d418
SN
80202019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
8021
8022 * manual/maint.texi: Use @{ and @}.
8023
4392898d
FW
80242019-01-04 Florian Weimer <fweimer@redhat.com>
8025
8026 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
8027 function.
8028 (do_in_chroot_1): Call it.
8029 (run_chroot_tests):
8030 Improve error reporting in case it is not possible to create a
8031 collision for the PTY name required by the test.
8032
17cc27d5
AZ
80332019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8034
ce7eb0e9
AZ
8035 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
8036 lll_wait_tid with timeout.
8037 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
8038 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
8039 futex_reltimed_wait_cancelable for cancelabla mode.
8040 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
8041 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
8042 macros.
8043 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
8044 * sysdeps/posix/waitid.c (__sigwait): Likewise.
8045 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
8046 SYSCALL_CANCEL_NCS): New macro.
8047 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
8048 (lll_timedwait_tid): Remove macro.
8049 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
8050 Likewise.
8051 (lll_timedwait_tid): Likewise.
8052 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
8053 Likewise.
8054 (lll_timedwait_tid): Likewise.
8055 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
8056 Likewise.
8057 (lll_timedwait_tid): Likewise.
8058 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
8059 Use INTERNAL_SYSCALL_CANCEL.
8060 * sysdeps/unix/sysv/linux/futex-internal.h
8061 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
8062 instead of __pthread_{enable,disable}_asynccancel.
8063 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
8064 (lll_futex_wait_cancel): New macro.
8065
0b13e255
AZ
8066 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
8067 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
8068
85c828a4
AZ
8069 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
8070 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
8071
d0d7f85f
AZ
8072 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
8073 in backtrace analysis.
8074 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
8075 side-effects.
8076 (tf_send): Likewise.
8077
17cc27d5
AZ
8078 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
8079 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
8080 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
8081 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
8082 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
8083 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
8084 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
8085 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
8086 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
8087 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
8088 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
8089 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
8090 Likewise.
8091 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
8092 tst-cancel-wrappers.sh.
8093 (generated): Remove tst-cancel-wrappers.out.
8094 (tst-cancel-wrappers.out): Remove rule.
8095 * nptl/tst-cancel-wrappers.sh: Remove file.
8096
7d7af8f1
SN
80972019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
8098
8099 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
8100 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
8101 Update.
8102
805334b2
AZ
81032019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8104
8105 [BZ #23640]
8106 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
8107 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
8108 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
8109 close-on-exec reset for adddup2 file action.
8110 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
8111
03992356
ZW
81122019-01-03 Zack Weinberg <zackw@panix.com>
8113
8114 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
8115 parameter. Only use deprecated scanf when __USE_GNU is defined
8116 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
8117 than 201103L, whichever is relevant for the language being compiled.
8118
8119 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
8120 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
8121 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
8122 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
8123 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
8124
8125 * libio/iovsscanf.c
8126 * libio/fwscanf.c
8127 * libio/iovswscanf.c
8128 * libio/swscanf.c
8129 * libio/vscanf.c
8130 * libio/vwscanf.c
8131 * libio/wscanf.c
8132 * stdio-common/fscanf.c
8133 * stdio-common/scanf.c
8134 * stdio-common/vfscanf.c
8135 * stdio-common/vfwscanf.c
8136 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
8137 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
8138 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
8139 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
8140 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
8141 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
8142 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
8143 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
8144 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
8145 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
8146 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
8147 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
8148 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
8149 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
8150 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
8151
8152 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
8153 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
8154 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
8155 not sscanf.
8156 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
8157 with a preprocessor macro.
8158
8159 * stdio-common/bug21.c, stdio-common/scanf14.c:
8160 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
8161 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
8162 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
8163 to xscanf, xfscanf, xsscanf.
8164
8165 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
8166 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
8167 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
8168 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
8169 xfscanf, xsscanf.
8170 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
8171 override feature selection macros or provide definitions of u_char etc.
8172 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
8173 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
8174 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
8175 with -std=gnu89.
8176
8083afa5
AZ
81772019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8178
6f343c1f
AZ
8179 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8180 bits/termios-misc.h.
8181 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
8182 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
8183 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8184 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8185 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
8186 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
8187
51f4beb0
AZ
8188 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
8189 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
8190 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
8191 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
8192 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
8193 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
8194 termios-misc.h.
8195 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
8196 (sysdep_headers): Add termios-misc.h.
8197
f69c5cb2
AZ
8198 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
8199 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
8200 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
8201
3aa4a07e
AZ
8202 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8203 termios-tcflow.h.
8204 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
8205 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
8206 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
8207 TCSAFLUSH): Move to termios-tcflow.h.
8208 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
8209 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
8210 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8211 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8212
22679ddf
AZ
8213 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8214 termios-c_lflag.h.
8215 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
8216 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
8217 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
8218 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
8219 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
8220 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
8221 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
8222 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
8223 Likewise.
8224 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
8225 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
8226 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8227 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8228
72eb6ecc
AZ
8229 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8230 termios-c_cflag.h.
8231 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
8232 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
8233 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
8234 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
8235 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
8236 termios-c_cflag.h.
8237 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
8238 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
8239 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8240 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8241
9c5d0d02
AZ
8242 [BZ #23783]
8243 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8244 termios-baud.h.
8245 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
8246 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
8247 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
8248 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
8249 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
8250 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
8251 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
8252 __MAX_BAUD): Move to termios-baud.h.
8253 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
8254 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
8255 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
8256 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8257 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8258
7b832018
AZ
8259 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
8260 termios-c_oflag.h.
8261 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
8262 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
8263 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
8264 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
8265 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
8266 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
8267 termios-c_oflag.h.
8268 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
8269 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
8270 FFR1): Likewise.
8271 [USE_MISC] (XTABS): Likewise.
8272 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
8273 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
8274 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8275 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
8276
3127003e
AZ
8277 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
8278 termios-c_iflag.h.
8279 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
8280 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
8281 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
8282 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
8283 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
8284 IUTF8): Move to termios-c_iflag.h.
8285 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
8286 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
8287 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8288 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8289
48c1dd96
AZ
8290 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
8291 termios-cc.h.
8292 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
8293 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
8294 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
8295 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
8296 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
8297 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
8298 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
8299 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
8300 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
8301 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
8302 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8303 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8304
e5a50db3
AZ
8305 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
8306 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
8307 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
8308 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
8309 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8310 termios-struct.h.
8311 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
8312 termios-struct.h.
8313 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
8314 Likewise.
8315 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
8316 Likewise.
8317 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
8318 Likewise.
8319 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
8320 Likewise.
8321 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
8322 _HAVE_C_OSPEED): Define.
8323 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
8324 _HAVE_C_OSPEED): Likewise.
8325 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
8326 _HAVE_C_OSPEED): Likewise.
8327 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
8328 (cfsetospeed): Check for define value instead of existence.
8329 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
8330 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
8331 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
8332 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
8333 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
8334
8083afa5
AZ
8335 [BZ #17783]
8336 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
8337 Define.
8338 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
8339 (TIOCSER_TEMT): Likewise.
8340 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
8341 (TEOCSER_TEMT): Likewise.
8342
4d7d7dc6
P
83432019-01-02 PanderMusubi <pander@users.sourceforge.net>
8344
8345 [BZ #24011]
8346 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
8347
8e291a29
JM
83482019-01-02 Joseph Myers <joseph@codesourcery.com>
8349
8350 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
8351
55137f7d
ST
83522019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8353
8354 * sysdeps/htl/pt-barrierattr-setpshared.c
8355 (pthread_barrierattr_setpshared): Add stub warning.
8356 * sysdeps/htl/pt-condattr-setpshared.c
8357 (pthread_condattr_setpshared): Likewise.
8358 * sysdeps/htl/pt-mutexattr-setpshared.c
8359 (pthread_mutexattr_setpshared): Likewise.
8360 * sysdeps/htl/pt-rwlockattr-setpshared.c
8361 (pthread_rwlockattr_setpshared): Likewise.
8362 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
8363 (pthread_mutexattr_setpshared): Likewise.
8364
2ce09e01
JM
83652019-01-02 Joseph Myers <joseph@codesourcery.com>
8366
acb55dcb
JM
8367 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
8368 constants to match with Linux 4.20.
8369
2ce09e01
JM
8370 * sysdeps/mips/mips32/libm-test-ulps: Update.
8371 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8372
fe20bb1d
AJ
83732019-01-02 Aurelien Jarno <aurelien@aurel32.net>
8374
8375 [BZ #24034]
8376 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
8377 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
8378 than __typeof (...) for the a_ptr variable.
8379
2d9837c1
GG
83802019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8381
8382 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
8383 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
8384 * libio/Makefile (tests): Add tst-sprintf-ub and
8385 tst-sprintf-chk-ub.
8386 (CFLAGS-tst-sprintf-ub.c): New variable.
8387 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
8388 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
8389 destination buffer and check for overflows in fortified mode.
8390 * libio/libioP.h (PRINTF_CHK): New macro.
8391 * libio/tst-sprintf-chk-ub.c: New file.
8392 * libio/tst-sprintf-ub.c: Likewise.
8393
d5c6df0b 83942019-01-02 Florian Weimer <fweimer@redhat.com>
8c1aafc1
FW
8395
8396 [BZ #24018]
8397 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
8398 failure.
8399
66081e38
FW
84002019-01-02 Florian Weimer <fweimer@redhat.com>
8401
8402 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
8403
04277e02
JM
84042019-01-01 Joseph Myers <joseph@codesourcery.com>
8405
6ef3d225
JM
8406 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
8407 macro.
8408
e3d4e292
JM
8409 * sysdeps/unix/sysv/linux/netpacket/packet.h
8410 (PACKET_IGNORE_OUTGOING): New macro.
8411
f4507797
JM
8412 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
8413 macro.
8414
47ad5e1a
JM
8415 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8416 version to 4.20.
8417 (riscv_flush_icache): New syscall.
8418
7628a1b0
JM
8419 * manual/texinfo.tex: Update to version 2018-12-28.17 with
8420 trailing whitespace removed.
8421 * scripts/config.guess: Update to version 2019-01-01.
8422 * scripts/config.sub: Update to version 2019-01-01.
8423 * scripts/move-if-change: Update from gnulib.
8424
c9123888
JM
8425 * NEWS: Update copyright dates.
8426 * catgets/gencat.c (print_version): Likewise.
8427 * csu/version.c (banner): Likewise.
8428 * debug/catchsegv.sh: Likewise.
8429 * debug/pcprofiledump.c (print_version): Likewise.
8430 * debug/xtrace.sh (do_version): Likewise.
8431 * elf/ldconfig.c (print_version): Likewise.
8432 * elf/ldd.bash.in: Likewise.
8433 * elf/pldd.c (print_version): Likewise.
8434 * elf/sotruss.sh: Likewise.
8435 * elf/sprof.c (print_version): Likewise.
8436 * iconv/iconv_prog.c (print_version): Likewise.
8437 * iconv/iconvconfig.c (print_version): Likewise.
8438 * locale/programs/locale.c (print_version): Likewise.
8439 * locale/programs/localedef.c (print_version): Likewise.
8440 * login/programs/pt_chown.c (print_version): Likewise.
8441 * malloc/memusage.sh (do_version): Likewise.
8442 * malloc/memusagestat.c (print_version): Likewise.
8443 * malloc/mtrace.pl: Likewise.
8444 * manual/libc.texinfo: Likewise.
8445 * nptl/version.c (banner): Likewise.
8446 * nscd/nscd.c (print_version): Likewise.
8447 * nss/getent.c (print_version): Likewise.
8448 * nss/makedb.c (print_version): Likewise.
8449 * posix/getconf.c (main): Likewise.
8450 * scripts/test-installation.pl: Likewise.
8451 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8452
04277e02
JM
8453 * All files with FSF copyright notices: Update copyright dates
8454 using scripts/update-copyrights.
8455 * locale/programs/charmap-kw.h: Regenerated.
8456 * locale/programs/locfile-kw.h: Likewise.
8457
e740e5b1
JM
84582018-12-31 Joseph Myers <joseph@codesourcery.com>
8459
8460 * timezone/zdump.c: Update from tzcode 2018i.
8461 * timezone/zic.c: Likewise.
8462
9b7f98b3
PE
84632018-12-31 Paul Eggert <eggert@cs.ucla.edu>
8464
8465 regex: improve Gnulib port to AIX
8466 From the glibc point of view, this removes duplicate macro
8467 definitions and is obviously safe.
8468 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
8469 * posix/regex_internal.h:
8470 (__attribute__, __attribute_warn_unused_result__):
8471 Remove; already defined elsewhere.
8472
b50dd3bc
FW
84732018-12-31 Florian Weimer <fw@deneb.enyo.de>
8474
8475 [BZ #24027]
8476 * malloc/malloc.c (_int_realloc): Always call memcpy for the
8477 copying operation. (ncopies had the wrong type, resulting in an
8478 integer wraparound and too few elements being copied.)
8479
0b9c8490
L
84802018-12-31 H.J. Lu <hongjiu.lu@intel.com>
8481
8482 [BZ #24022]
8483 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
8484 <asm/syscalls.h> exists with __has_include__ before including it.
8485
01047fa6
JM
84862018-12-31 Joseph Myers <joseph@codesourcery.com>
8487
8488 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8489 version to 4.20.
8490
6b5c8607 84912018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
065957a3
JW
8492
8493 * hurd/lookup-retry: Include <unistd.h>.
8494 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
8495 Release it on return. Handle "pid" magical lookup retry.
8496
ab74d59f 84972018-12-28 Rafał Lużyński <digitalfreak@lingonborough.com>
989182c4
RL
8498
8499 [BZ #10496]
8500 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
8501 (t_fmt_ampm): Likewise.
8502 * localedata/locales/aa_ER (t_fmt): Likewise.
8503 (t_fmt_ampm): Likewise.
8504 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
8505 (t_fmt_ampm): Likewise.
8506 * localedata/locales/aa_ET (t_fmt): Likewise.
8507 (t_fmt_ampm): Likewise.
8508 * localedata/locales/am_ET (t_fmt): Likewise.
8509 (t_fmt_ampm): Likewise.
8510 * localedata/locales/byn_ER (t_fmt): Likewise.
8511 (t_fmt_ampm): Likewise.
8512 * localedata/locales/om_ET (t_fmt): Likewise.
8513 (t_fmt_ampm): Likewise.
8514 * localedata/locales/sid_ET (t_fmt): Likewise.
8515 (t_fmt_ampm): Likewise.
8516 * localedata/locales/so_DJ (t_fmt): Likewise.
8517 (t_fmt_ampm): Likewise.
8518 * localedata/locales/so_ET (t_fmt): Likewise.
8519 (t_fmt_ampm): Likewise.
8520 * localedata/locales/so_SO (t_fmt): Likewise.
8521 (t_fmt_ampm): Likewise.
8522 * localedata/locales/ti_ER (t_fmt): Likewise.
8523 (t_fmt_ampm): Likewise.
8524 * localedata/locales/ti_ET (t_fmt): Likewise.
8525 (t_fmt_ampm): Likewise.
8526 * localedata/locales/tig_ER (t_fmt): Likewise.
8527 (t_fmt_ampm): Likewise.
8528 * localedata/locales/wal_ET (t_fmt): Likewise.
8529 (t_fmt_ampm): Likewise.
8530
8531 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
8532 * localedata/locales/ar_IN (t_fmt): Likewise.
8533 * localedata/locales/bhb_IN (t_fmt): Likewise.
8534 * localedata/locales/bho_IN (t_fmt): Likewise.
8535 * localedata/locales/bi_VU (t_fmt): Likewise.
8536 * localedata/locales/bn_BD (t_fmt): Likewise.
8537 * localedata/locales/bn_IN (t_fmt): Likewise.
8538 * localedata/locales/brx_IN (t_fmt): Likewise.
8539 * localedata/locales/doi_IN (t_fmt): Likewise.
8540 * localedata/locales/en_HK (t_fmt): Likewise.
8541 (t_fmt_ampm): Likewise.
8542 * localedata/locales/en_IN (t_fmt): Likewise.
8543 * localedata/locales/en_PH (t_fmt): Likewise.
8544 * localedata/locales/gu_IN (t_fmt): Likewise.
8545 * localedata/locales/hi_IN (t_fmt): Likewise.
8546 * localedata/locales/hif_FJ (t_fmt): Likewise.
8547 * localedata/locales/hne_IN (t_fmt): Likewise.
8548 * localedata/locales/kn_IN (t_fmt): Likewise.
8549 * localedata/locales/kok_IN (t_fmt): Likewise.
8550 * localedata/locales/ks_IN (t_fmt): Likewise.
8551 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
8552 * localedata/locales/mag_IN (t_fmt): Likewise.
8553 * localedata/locales/mai_IN (t_fmt): Likewise.
8554 * localedata/locales/mjw_IN (t_fmt): Likewise.
8555 * localedata/locales/ml_IN (t_fmt): Likewise.
8556 * localedata/locales/mni_IN (t_fmt): Likewise.
8557 * localedata/locales/mr_IN (t_fmt): Likewise.
8558 * localedata/locales/ms_MY (t_fmt): Likewise.
8559 * localedata/locales/pa_IN (t_fmt): Likewise.
8560 * localedata/locales/raj_IN (t_fmt): Likewise.
8561 * localedata/locales/sa_IN (t_fmt): Likewise.
8562 * localedata/locales/sat_IN (t_fmt): Likewise.
8563 * localedata/locales/sd_IN (t_fmt): Likewise.
8564 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
8565 * localedata/locales/tcy_IN (t_fmt): Likewise.
8566 * localedata/locales/the_NP (t_fmt): Likewise.
8567 * localedata/locales/to_TO (t_fmt): Likewise.
8568 * localedata/locales/ur_IN (t_fmt): Likewise.
8569
8570 * localedata/locales/hif_FJ (d_t_fmt): Set to
8571 "%A %d %b %Y %I:%M:%S %p".
8572 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
8573
8574 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
8575 * localedata/locales/ar_BH (t_fmt): Likewise.
8576 * localedata/locales/ar_DZ (t_fmt): Likewise.
8577 * localedata/locales/ar_EG (t_fmt): Likewise.
8578 * localedata/locales/ar_IQ (t_fmt): Likewise.
8579 * localedata/locales/ar_JO (t_fmt): Likewise.
8580 * localedata/locales/ar_KW (t_fmt): Likewise.
8581 * localedata/locales/ar_LB (t_fmt): Likewise.
8582 * localedata/locales/ar_LY (t_fmt): Likewise.
8583 * localedata/locales/ar_OM (t_fmt): Likewise.
8584 * localedata/locales/ar_QA (t_fmt): Likewise.
8585 * localedata/locales/ar_SD (t_fmt): Likewise.
8586 * localedata/locales/ar_SS (t_fmt): Likewise.
8587 * localedata/locales/ar_SY (t_fmt): Likewise.
8588 * localedata/locales/ar_TN (t_fmt): Likewise.
8589 * localedata/locales/ar_YE (t_fmt): Likewise.
8590
8591 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
8592 (t_fmt_ampm): Likewise.
8593 * localedata/locales/gez_ET (t_fmt): Likewise.
8594 (t_fmt_ampm): Likewise.
8595
8596 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
8597 (t_fmt_ampm): Likewise.
8598 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
8599
8600 * localedata/locales/zh_HK (t_fmt):
8601 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
8602
8603 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
8604 because this locale does not use the 12-hour clock.
8605 (t_fmt): Set to "%Z %H:%M:%S".
8606 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
8607
8608 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
8609 because this locale does not use the 12-hour clock.
8610 (t_fmt): Set to "%H:%M:%S %Z".
8611 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
8612
8613 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
8614 because this locale does not use the 12-hour clock.
8615 (t_fmt): Set to "%T".
8616 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
8617 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
8618
8619 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
8620 because this locale does not use the 12-hour clock.
8621 (t_fmt): Set to "%H:%M:%S %Z".
8622 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
8623
8624 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
8625 because this locale does not use the 12-hour clock.
8626 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
8627 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
8628
ab74d59f 86292018-12-28 Rafał Lużyński <digitalfreak@lingonborough.com>
27841a7d
RL
8630
8631 [BZ #10496]
8632 [BZ #23724]
8633 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
8634 (t_fmt_ampm): Likewise.
8635 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
8636 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
8637 (d_fmt): Set to "%-d.%-m.%y".
8638
0253580a
AZ
86392018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8640
8641 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
8642 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
8643 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
8644 Likewise.
8645 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
8646 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
8647 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
8648 function.
8649 * support/blob_repeat.c (check_mul_overflow_size_t,
8650 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
8651
09104e5b
AJ
86522018-12-28 Aurelien Jarno <aurelien@aurel32.net>
8653
8654 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
8655
c0feb731
PE
86562018-12-27 Paul Eggert <eggert@cs.ucla.edu>
8657
8658 regex: simplify Gnulib port
8659 This simplifies the code, by removing stuff intended for porting
8660 to Gnulib but no longer needed there.
8661 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
8662 uses of libc_hidden_def, weak_alias.
8663 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
8664 _Restrict_ except for public-facing headers.
8665 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
8666 Remove; already defined elsewhere.
8667 * posix/regex.c, posix/regex_internal.h:
8668 Use __GNUC_PREREQ instead of rolling our own.
8669 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
8670
5289f1f5
WD
86712018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
8672
8673 * benchtests/bench-strlen.c (generic_strlen): New function.
6b5c8607 8674 (memchr_strlen): New function.
5289f1f5 8675
ba4b8fab
L
86762018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8677
8678 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
8679 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
8680 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
8681
9412979a
L
86822018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8683
8684 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8685
8700a785
L
86862018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8687
8688 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
8689 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
8690 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
8691 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
8692 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
8693 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
8694 <sysdeps/ieee754/flt-32/s_sincosf.c>.
8695
57b3ff8e
JM
86962018-12-21 Joseph Myers <joseph@codesourcery.com>
8697
8698 [BZ #24023]
8699 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
8700 PLT reference in libc.so.
8701 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
8702 _Q_lltoq and _Q_qtod PLT references in libc.so.
8703
90d3320d
WD
87042018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
8705
8706 * benchtests/bench-memchr.c: Cleanup defines.
8707 * benchtests/bench-memcmp.c: Likewise.
8708 * benchtests/bench-memset.c: Likewise.
8709 * benchtests/bench-memset-large.c: Likewise.
8710 * benchtests/bench-memset-walk.c: Likewise.
8711 * benchtests/bench-stpcpy.c: Likewise.
8712 * benchtests/bench-stpncpy.c: Likewise.
8713 * benchtests/bench-strcat.c: Likewise.
8714 * benchtests/bench-strchr.c: Likewise.
8715 * benchtests/bench-strcmp.c: Likewise.
8716 * benchtests/bench-strcpy.c: Likewise.
8717 * benchtests/bench-strcspn.c: Likewise.
8718 * benchtests/bench-string.h: Likewise.
8719 * benchtests/bench-strlen.c: Likewise.
8720 * benchtests/bench-strncat.c: Likewise.
8721 * benchtests/bench-strncmp.c: Likewise.
8722 * benchtests/bench-strncpy.c: Likewise.
8723 * benchtests/bench-strnlen.c: Likewise.
8724 * benchtests/bench-strpbrk.c: Likewise.
8725 * benchtests/bench-strrchr.c: Likewise.
8726 * benchtests/bench-strspn.c: Likewise.
8727
192963be
JM
87282018-12-21 Joseph Myers <joseph@codesourcery.com>
8729
5d025ea6
JM
8730 * stdlib/longlong.h: Update from GCC.
8731
192963be
JM
8732 [BZ #23993]
8733 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
8734 * configure: Regenerated.
8735 * manual/install.texi (Tools for Compilation): Update minimum GCC
8736 version.
8737 * INSTALL: Regenerated.
8738
6b5c8607 87392018-12-21 Istvan Kurucsai <pistukem@gmail.com>
c0e82f11
IK
8740
8741 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
8742
6b5c8607 87432018-12-20 Istvan Kurucsai <pistukem@gmail.com>
ebe544bf
IK
8744
8745 * malloc/malloc.c (mremap_chunk): Additional checks.
8746
5f72b005
MH
87472018-12-21 Mao Han <han_mao@c-sky.com>
8748
8749 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
8750 * scripts/build-many-glibcs.py: Add C-SKY targets.
8751 * sysdeps/csky/Implies: New file.
8752 * sysdeps/csky/Makefile: Likewise.
8753 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
8754 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
8755 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
8756 * sysdeps/csky/abiv2/memcmp.S: Likewise.
8757 * sysdeps/csky/abiv2/memcpy.S: Likewise.
8758 * sysdeps/csky/abiv2/memmove.S: Likewise.
8759 * sysdeps/csky/abiv2/memset.S: Likewise.
8760 * sysdeps/csky/abiv2/setjmp.S: Likewise.
8761 * sysdeps/csky/abiv2/start.S: Likewise.
8762 * sysdeps/csky/abiv2/strcmp.S: Likewise.
8763 * sysdeps/csky/abiv2/strcpy.S: Likewise.
8764 * sysdeps/csky/abiv2/strlen.S: Likewise.
8765 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
8766 * sysdeps/csky/abort-instr.h: Likewise.
8767 * sysdeps/csky/atomic-machine.h: Likewise.
8768 * sysdeps/csky/bits/endian.h: Likewise.
8769 * sysdeps/csky/bits/fenv.h: Likewise.
8770 * sysdeps/csky/bits/link.h: Likewise.
8771 * sysdeps/csky/bits/setjmp.h: Likewise.
8772 * sysdeps/csky/bsd-_setjmp.S: Likewise.
8773 * sysdeps/csky/bsd-setjmp.S: Likewise.
8774 * sysdeps/csky/configure: Likewise.
8775 * sysdeps/csky/configure.ac: Likewise.
8776 * sysdeps/csky/dl-machine.h: Likewise.
8777 * sysdeps/csky/dl-procinfo.c: Likewise.
8778 * sysdeps/csky/dl-procinfo.h: Likewise.
8779 * sysdeps/csky/dl-sysdep.h: Likewise.
8780 * sysdeps/csky/dl-tls.h: Likewise.
8781 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
8782 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
8783 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
8784 * sysdeps/csky/fpu/fegetenv.c: Likewise.
8785 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
8786 * sysdeps/csky/fpu/fegetmode.c: Likewise.
8787 * sysdeps/csky/fpu/fegetround.c: Likewise.
8788 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
8789 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
8790 * sysdeps/csky/fpu/fenv_private.h: Likewise.
8791 * sysdeps/csky/fpu/fesetenv.c: Likewise.
8792 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
8793 * sysdeps/csky/fpu/fesetmode.c: Likewise.
8794 * sysdeps/csky/fpu/fesetround.c: Likewise.
8795 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
8796 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
8797 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
8798 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
8799 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
8800 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
8801 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
8802 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
8803 * sysdeps/csky/fpu_control.h: Likewise.
8804 * sysdeps/csky/gccframe.h: Likewise.
8805 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
8806 * sysdeps/csky/ldsodefs.h: Likewise.
8807 * sysdeps/csky/libc-tls.c: Likewise.
8808 * sysdeps/csky/linkmap.h: Likewise.
8809 * sysdeps/csky/machine-gmon.h: Likewise.
8810 * sysdeps/csky/memusage.h: Likewise.
8811 * sysdeps/csky/nofpu/Implies: Likewise.
8812 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
8813 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
8814 * sysdeps/csky/nptl/Makefile: Likewise.
8815 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
8816 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
8817 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
8818 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
8819 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
8820 * sysdeps/csky/nptl/tls.h: Likewise.
8821 * sysdeps/csky/preconfigure: Likewise.
8822 * sysdeps/csky/sfp-machine.h: Likewise.
8823 * sysdeps/csky/sotruss-lib.c: Likewise.
8824 * sysdeps/csky/stackinfo.h: Likewise.
8825 * sysdeps/csky/sysdep.h: Likewise.
8826 * sysdeps/csky/tininess.h: Likewise.
8827 * sysdeps/csky/tst-audit.h: Likewise.
8828 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
8829 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
8830 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
8831 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
8832 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
8833 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
8834 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
8835 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
8836 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
8837 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
8838 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
8839 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
8840 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
8841 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
8842 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
8843 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
8844 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
8845 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
8846 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
8847 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
8848 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
8849 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
8850 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
8851 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
8852 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
8853 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
8854 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
8855 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
8856 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
8857 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
8858 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
8859 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
8860 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
8861 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
8862 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
8863 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
8864 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
8865 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
8866 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
8867 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
8868 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
8869 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
8870 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
8871 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
8872
6b5c8607 88732018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
ac253355
AA
8874
8875 * include/time.h (__difftime64): Add.
8876 * time/difftime.c (subtract): convert to 64-bit time.
8877 * time/difftime.c (__difftime64): Add.
8878 * time/difftime.c (__difftime): Wrap around __difftime64.
8879
ab416931
L
88802018-12-20 H.J. Lu <hongjiu.lu@intel.com>
8881
8882 * manual/examples/add.c: Remove redundant "if not".
8883 * manual/examples/argp-ex1.c: Likewise.
8884 * manual/examples/argp-ex2.c: Likewise.
8885 * manual/examples/argp-ex3.c: Likewise.
8886 * manual/examples/argp-ex4.c: Likewise.
8887 * manual/examples/atexit.c: Likewise.
8888 * manual/examples/db.c: Likewise.
8889 * manual/examples/dir.c: Likewise.
8890 * manual/examples/dir2.c: Likewise.
8891 * manual/examples/execinfo.c: Likewise.
8892 * manual/examples/filecli.c: Likewise.
8893 * manual/examples/filesrv.c: Likewise.
8894 * manual/examples/fmtmsgexpl.c: Likewise.
8895 * manual/examples/genpass.c: Likewise.
8896 * manual/examples/inetcli.c: Likewise.
8897 * manual/examples/inetsrv.c: Likewise.
8898 * manual/examples/isockad.c: Likewise.
8899 * manual/examples/longopt.c: Likewise.
8900 * manual/examples/memopen.c: Likewise.
8901 * manual/examples/memstrm.c: Likewise.
8902 * manual/examples/mkdirent.c: Likewise.
8903 * manual/examples/mkfsock.c: Likewise.
8904 * manual/examples/mkisock.c: Likewise.
8905 * manual/examples/mygetpass.c: Likewise.
8906 * manual/examples/pipe.c: Likewise.
8907 * manual/examples/popen.c: Likewise.
8908 * manual/examples/rprintf.c: Likewise.
8909 * manual/examples/search.c: Likewise.
8910 * manual/examples/select.c: Likewise.
8911 * manual/examples/setjmp.c: Likewise.
8912 * manual/examples/sigh1.c: Likewise.
8913 * manual/examples/sigusr.c: Likewise.
8914 * manual/examples/stpcpy.c: Likewise.
8915 * manual/examples/strdupa.c: Likewise.
8916 * manual/examples/strftim.c: Likewise.
8917 * manual/examples/subopt.c: Likewise.
8918 * manual/examples/swapcontext.c: Likewise.
8919 * manual/examples/termios.c: Likewise.
8920 * manual/examples/testopt.c: Likewise.
8921 * manual/examples/testpass.c: Likewise.
8922 * manual/examples/timeval_subtract.c: Likewise.
8923
515f463f
JM
89242018-12-19 Joseph Myers <joseph@codesourcery.com>
8925
da75c1b1
JM
8926 * sysdeps/x86/fpu/math_private.h: New file.
8927 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
8928
515f463f
JM
8929 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
8930 definition.
8931 (cosh): Likewise.
8932 (tanh): Likewise.
8933
1616d034
TMQMF
89342018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8935
8936 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
8937 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
8938 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
8939 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
8940 fields.
8941 (_dl_show_auxv): Give a special treatment to
8942 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
8943 and AT_L3_CACHEGEOMETRY.
8944 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
8945 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
8946 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
8947 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
8948
61595e3d
AS
89492018-12-19 Andreas Schwab <schwab@suse.de>
8950
8951 * nscd/connections.c (check_use): Don't abort on invalid len.
8952
bbb7dc84
ST
89532018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
8954
8955 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
8956 values in the 64bit value cases.
8957
6b5c8607 89582018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
64c2277d 8959
c4c2836a
AA
8960 * include/time.h
8961 (__ctime64_r): Add.
8962 * time/ctime_r.c
8963 (__ctime64_r): Add.
8964 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
8965
7755e504
AA
8966 * include/time.h
8967 (__ctime64): Add.
8968 * time/gmtime.c
8969 (__ctime64): Add.
8970 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
8971
a1d346ce
AA
8972 * include/time.h
8973 (__gmtime64_r): Add.
8974 * time/gmtime.c
8975 (__gmtime64_r): Add.
8976 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
8977
131db8b0
AA
8978 * include/time.h
8979 (__gmtime64): Add.
8980 * time/gmtime.c
8981 (__gmtime64): Add.
8982 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
8983
64c2277d
AA
8984 * include/time.h
8985 (__localtime64_r): Add.
8986 * time/localtime.c
8987 (__localtime64_r): Add.
8988 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
8989
56b98bf1
AZ
89902018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8991
64dd7a16
AZ
8992 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
8993 kernel_sigction definition.
8994
8b1d5da5
AZ
8995 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
8996
f9eabb19
AZ
8997 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
8998
56b98bf1
AZ
8999 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
9000 __syscall_rt_sigaction.
9001 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
9002 (kernel_sigaction): Use Linux generic defintion.
9003 (STUB): Define.
9004 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
9005 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
9006 (__syscall_rt_sigaction): Remove implementation.
9007 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
9008 hidden.
9009 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
9010 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
9011 INTERNAL_SYSCALL): Remove definitions.
9012 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
9013 action and signal set size.
9014 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
9015 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
9016
43a45c2d
AZ
90172018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9018 James Clarke <jrtc27@jrtc27.com>
9019
dfa6216f 9020 [BZ #23967]
43a45c2d
AZ
9021 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
9022 Define if SA_RESTORER is defined.
9023 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
9024 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
9025 already defined.
9026 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
9027 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
9028 definitions.
9029 (HAS_SA_RESTORER): Define.
9030 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
9031 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
9032 (HAS_SA_RESTORER): Define.
9033 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
9034 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
9035 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
9036 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
9037 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9038
646ce7e0
JM
90392018-12-18 Joseph Myers <joseph@codesourcery.com>
9040
9041 * sysdeps/unix/sysv/linux/kernel-features.h
9042 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
9043 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9044 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
9045 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9046 (__ASSUME_ST_INO_64_BIT): Likewise.
9047 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
9048 <kernel-features.h>.
9049 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
9050 Remove conditional code.
9051 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
9052 <kernel-features.h>.
9053 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
9054 Remove conditional code.
9055 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
9056 <kernel-features.h>.
9057 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
9058 Remove conditional code.
9059 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
9060 <kernel-features.h>.
9061 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
9062 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
9063
80190d2b
SL
90642018-12-18 Stefan Liebler <stli@linux.ibm.com>
9065
9066 * sysdeps/s390/multiarch/ifunc-resolve.h
9067 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
9068 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
9069 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
9070 Delete macro definition.
9071 (s390_libc_ifunc_init): Rename to
9072 s390_libc_ifunc_expr_stfle_init.
9073 * sysdeps/s390/bzero: Use
9074 s390_libc_ifunc_expr_stfle_init instead of
9075 s390_libc_ifunc_init.
9076 * sysdeps/s390/memcmp.c: Likewise.
9077 * sysdeps/s390/memcpy.c: Likewise.
9078 * sysdeps/s390/mempcpy.c: Likewise.
9079 * sysdeps/s390/memset.c: Likewise.
9080
12f0dcb8
SL
90812018-12-18 Stefan Liebler <stli@linux.ibm.com>
9082
9083 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
9084 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
9085
25654a8c
SL
90862018-12-18 Stefan Liebler <stli@linux.ibm.com>
9087
9088 * sysdeps/s390/multiarch/Makefile
9089 (sysdep_routines): Remove wmemcmp variants.
9090 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
9091 * sysdeps/s390/multiarch/ifunc-impl-list.c
9092 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
9093 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
9094 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
9095 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
9096 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
9097 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
9098 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
9099 * sysdeps/s390/ifunc-wmemcmp.h: New file.
9100
d2a7436c
SL
91012018-12-18 Stefan Liebler <stli@linux.ibm.com>
9102
9103 * sysdeps/s390/multiarch/Makefile
9104 (sysdep_routines): Remove wmemset variants.
9105 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
9106 * sysdeps/s390/multiarch/ifunc-impl-list.c
9107 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
9108 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
9109 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
9110 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
9111 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
9112 * sysdeps/s390/multiarch/wmemset.c: Move to ...
9113 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
9114 * sysdeps/s390/ifunc-wmemset.h: New file.
9115
c62534ae
SL
91162018-12-18 Stefan Liebler <stli@linux.ibm.com>
9117
9118 * sysdeps/s390/multiarch/Makefile
9119 (sysdep_routines): Remove wmemchr variants.
9120 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
9121 * sysdeps/s390/multiarch/ifunc-impl-list.c
9122 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
9123 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
9124 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
9125 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
9126 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
9127 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
9128 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
9129 * sysdeps/s390/ifunc-wmemchr.h: New file.
9130
79b44cf6
SL
91312018-12-18 Stefan Liebler <stli@linux.ibm.com>
9132
9133 * sysdeps/s390/multiarch/Makefile
9134 (sysdep_routines): Remove wcscspn variants.
9135 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
9136 * sysdeps/s390/multiarch/ifunc-impl-list.c
9137 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
9138 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
9139 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
9140 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
9141 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
9142 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
9143 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
9144 * sysdeps/s390/ifunc-wcscspn.h: New file.
9145
8e87c1f6
SL
91462018-12-18 Stefan Liebler <stli@linux.ibm.com>
9147
9148 * sysdeps/s390/multiarch/Makefile
9149 (sysdep_routines): Remove wcspbrk variants.
9150 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
9151 * sysdeps/s390/multiarch/ifunc-impl-list.c
9152 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
9153 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
9154 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
9155 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
9156 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
9157 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
9158 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
9159 * sysdeps/s390/ifunc-wcspbrk.h: New file.
9160
8507e831
SL
91612018-12-18 Stefan Liebler <stli@linux.ibm.com>
9162
9163 * sysdeps/s390/multiarch/Makefile
9164 (sysdep_routines): Remove wcsspn variants.
9165 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
9166 * sysdeps/s390/multiarch/ifunc-impl-list.c
9167 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
9168 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
9169 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
9170 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
9171 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
9172 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
9173 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
9174 * sysdeps/s390/ifunc-wcsspn.h: New file.
9175
4753713a
SL
91762018-12-18 Stefan Liebler <stli@linux.ibm.com>
9177
9178 * sysdeps/s390/multiarch/Makefile
9179 (sysdep_routines): Remove wcsrchr variants.
9180 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
9181 * sysdeps/s390/multiarch/ifunc-impl-list.c
9182 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
9183 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
9184 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
9185 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
9186 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
9187 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
9188 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
9189 * sysdeps/s390/ifunc-wcsrchr.h: New file.
9190
c09c1b6f
SL
91912018-12-18 Stefan Liebler <stli@linux.ibm.com>
9192
9193 * sysdeps/s390/multiarch/Makefile
9194 (sysdep_routines): Remove wcschrnul variants.
9195 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
9196 * sysdeps/s390/multiarch/ifunc-impl-list.c
9197 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
9198 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
9199 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
9200 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
9201 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
9202 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
9203 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
9204 * sysdeps/s390/ifunc-wcschrnul.h: New file.
9205
cf3ccc31
SL
92062018-12-18 Stefan Liebler <stli@linux.ibm.com>
9207
9208 * sysdeps/s390/multiarch/Makefile
9209 (sysdep_routines): Remove wcschr variants.
9210 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
9211 * sysdeps/s390/multiarch/ifunc-impl-list.c
9212 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
9213 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
9214 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
9215 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
9216 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
9217 * sysdeps/s390/multiarch/wcschr.c: Move to ...
9218 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
9219 * sysdeps/s390/ifunc-wcschr.h: New file.
9220
e9873e1d
SL
92212018-12-18 Stefan Liebler <stli@linux.ibm.com>
9222
9223 * sysdeps/s390/multiarch/Makefile
9224 (sysdep_routines): Remove wcsncmp variants.
9225 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
9226 * sysdeps/s390/multiarch/ifunc-impl-list.c
9227 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
9228 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
9229 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
9230 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
9231 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
9232 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
9233 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
9234 * sysdeps/s390/ifunc-wcsncmp.h: New file.
9235
3459e23d
SL
92362018-12-18 Stefan Liebler <stli@linux.ibm.com>
9237
9238 * sysdeps/s390/multiarch/Makefile
9239 (sysdep_routines): Remove wcscmp variants.
9240 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
9241 * sysdeps/s390/multiarch/ifunc-impl-list.c
9242 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
9243 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
9244 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
9245 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
9246 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
9247 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
9248 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
9249 * sysdeps/s390/ifunc-wcscmp.h: New file.
9250
814a76e1
SL
92512018-12-18 Stefan Liebler <stli@linux.ibm.com>
9252
9253 * sysdeps/s390/multiarch/Makefile
9254 (sysdep_routines): Remove wcsncat variants.
9255 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
9256 * sysdeps/s390/multiarch/ifunc-impl-list.c
9257 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
9258 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
9259 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
9260 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
9261 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
9262 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
9263 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
9264 * sysdeps/s390/ifunc-wcsncat.h: New file.
9265
3389cae4
SL
92662018-12-18 Stefan Liebler <stli@linux.ibm.com>
9267
9268 * sysdeps/s390/multiarch/Makefile
9269 (sysdep_routines): Remove wcscat variants.
9270 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
9271 * sysdeps/s390/multiarch/ifunc-impl-list.c
9272 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
9273 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
9274 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
9275 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
9276 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
9277 * sysdeps/s390/multiarch/wcscat.c: Move to ...
9278 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
9279 * sysdeps/s390/ifunc-wcscat.h: New file.
9280
c3081bcb
SL
92812018-12-18 Stefan Liebler <stli@linux.ibm.com>
9282
9283 * sysdeps/s390/multiarch/Makefile
9284 (sysdep_routines): Remove wcpncpy variants.
9285 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
9286 * sysdeps/s390/multiarch/ifunc-impl-list.c
9287 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
9288 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
9289 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
9290 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
9291 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
9292 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
9293 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
9294 * sysdeps/s390/ifunc-wcpncpy.h: New file.
9295
0966dd86
SL
92962018-12-18 Stefan Liebler <stli@linux.ibm.com>
9297
9298 * sysdeps/s390/multiarch/Makefile
9299 (sysdep_routines): Remove wcsncpy variants.
9300 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
9301 * sysdeps/s390/multiarch/ifunc-impl-list.c
9302 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
9303 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
9304 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
9305 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
9306 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
9307 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
9308 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
9309 * sysdeps/s390/ifunc-wcsncpy.h: New file.
9310
0582e428
SL
93112018-12-18 Stefan Liebler <stli@linux.ibm.com>
9312
9313 * sysdeps/s390/multiarch/Makefile
9314 (sysdep_routines): Remove wcpcpy variants.
9315 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
9316 * sysdeps/s390/multiarch/ifunc-impl-list.c
9317 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
9318 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
9319 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
9320 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
9321 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
9322 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
9323 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
9324 * sysdeps/s390/ifunc-wcpcpy.h: New file.
9325
804f2e5c
SL
93262018-12-18 Stefan Liebler <stli@linux.ibm.com>
9327
9328 * sysdeps/s390/multiarch/Makefile
9329 (sysdep_routines): Remove wcscpy variants.
9330 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
9331 * sysdeps/s390/multiarch/ifunc-impl-list.c
9332 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
9333 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
9334 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
9335 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
9336 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
9337 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
9338 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
9339 * sysdeps/s390/ifunc-wcscpy.h: New file.
9340
c7e7cd26
SL
93412018-12-18 Stefan Liebler <stli@linux.ibm.com>
9342
9343 * sysdeps/s390/multiarch/Makefile
9344 (sysdep_routines): Remove wcsnlen variants.
9345 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
9346 * sysdeps/s390/multiarch/ifunc-impl-list.c
9347 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
9348 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
9349 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
9350 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
9351 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
9352 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
9353 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
9354 * sysdeps/s390/ifunc-wcsnlen.h: New file.
9355
2e02d0b7
SL
93562018-12-18 Stefan Liebler <stli@linux.ibm.com>
9357
9358 * sysdeps/s390/multiarch/Makefile
9359 (sysdep_routines): Remove wcslen variants.
9360 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
9361 * sysdeps/s390/multiarch/ifunc-impl-list.c
9362 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
9363 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
9364 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
9365 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
9366 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
9367 * sysdeps/s390/multiarch/wcslen.c: Move to ...
9368 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
9369 * sysdeps/s390/ifunc-wcslen.h: New file.
9370
89bfcbdf
SL
93712018-12-18 Stefan Liebler <stli@linux.ibm.com>
9372
9373 * sysdeps/s390/multiarch/Makefile
9374 (sysdep_routines): Remove memrchr variants.
9375 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
9376 * sysdeps/s390/multiarch/ifunc-impl-list.c
9377 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
9378 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
9379 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
9380 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
9381 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
9382 * sysdeps/s390/multiarch/memrchr.c: Move to ...
9383 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
9384 * sysdeps/s390/ifunc-memrchr.h: New file.
9385
196655ba
SL
93862018-12-18 Stefan Liebler <stli@linux.ibm.com>
9387
9388 * sysdeps/s390/multiarch/Makefile
9389 (sysdep_routines): Remove memccpy variants.
9390 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
9391 * sysdeps/s390/multiarch/ifunc-impl-list.c
9392 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
9393 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
9394 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
9395 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
9396 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
9397 * sysdeps/s390/multiarch/memccpy.c: Move to ...
9398 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
9399 * sysdeps/s390/ifunc-memccpy.h: New file.
9400
4c7b3cec
SL
94012018-12-18 Stefan Liebler <stli@linux.ibm.com>
9402
9403 * sysdeps/s390/multiarch/Makefile
9404 (sysdep_routines): Remove rawmemchr variants.
9405 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
9406 * sysdeps/s390/multiarch/ifunc-impl-list.c
9407 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
9408 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
9409 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
9410 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
9411 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
9412 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
9413 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
9414 * sysdeps/s390/ifunc-rawmemchr.h: New file.
9415
581a051c
SL
94162018-12-18 Stefan Liebler <stli@linux.ibm.com>
9417
9418 * sysdeps/s390/multiarch/Makefile
9419 (sysdep_routines): Remove memchr variants.
9420 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
9421 * sysdeps/s390/multiarch/ifunc-impl-list.c
9422 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
9423 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
9424 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
9425 * sysdeps/s390/multiarch/memchr.c: Move to ...
9426 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
9427 * sysdeps/s390/ifunc-memchr.h: New file.
9428 * sysdeps/s390/s390-64/memchr.S: Move to ...
9429 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
9430 for 31/64bit and ifunc handling.
9431 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
9432 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
9433 * sysdeps/s390/s390-32/memchr.S: Likewise.
9434
5d2ec20a
SL
94352018-12-18 Stefan Liebler <stli@linux.ibm.com>
9436
9437 * sysdeps/s390/multiarch/Makefile
9438 (sysdep_routines): Remove strcspn variants.
9439 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
9440 * sysdeps/s390/multiarch/ifunc-impl-list.c
9441 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
9442 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
9443 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
9444 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
9445 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
9446 * sysdeps/s390/multiarch/strcspn.c: Move to ...
9447 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
9448 * sysdeps/s390/ifunc-strcspn.h: New file.
9449
572cca93
SL
94502018-12-18 Stefan Liebler <stli@linux.ibm.com>
9451
9452 * sysdeps/s390/multiarch/Makefile
9453 (sysdep_routines): Remove strpbrk variants.
9454 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
9455 * sysdeps/s390/multiarch/ifunc-impl-list.c
9456 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
9457 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
9458 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
9459 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
9460 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
9461 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
9462 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
9463 * sysdeps/s390/ifunc-strpbrk.h: New file.
9464
483fc569
SL
94652018-12-18 Stefan Liebler <stli@linux.ibm.com>
9466
9467 * sysdeps/s390/multiarch/Makefile
9468 (sysdep_routines): Remove strspn variants.
9469 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
9470 * sysdeps/s390/multiarch/ifunc-impl-list.c
9471 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
9472 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
9473 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
9474 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
9475 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
9476 * sysdeps/s390/multiarch/strspn.c: Move to ...
9477 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
9478 * sysdeps/s390/ifunc-strspn.h: New file.
9479
26ea8760
SL
94802018-12-18 Stefan Liebler <stli@linux.ibm.com>
9481
9482 * sysdeps/s390/multiarch/Makefile
9483 (sysdep_routines): Remove strrchr variants.
9484 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
9485 * sysdeps/s390/multiarch/ifunc-impl-list.c
9486 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
9487 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
9488 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
9489 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
9490 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
9491 * sysdeps/s390/multiarch/strrchr.c: Move to ...
9492 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
9493 * sysdeps/s390/ifunc-strrchr.h: New file.
9494
a1361e65
SL
94952018-12-18 Stefan Liebler <stli@linux.ibm.com>
9496
9497 * sysdeps/s390/multiarch/Makefile
9498 (sysdep_routines): Remove strchrnul variants.
9499 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
9500 * sysdeps/s390/multiarch/ifunc-impl-list.c
9501 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
9502 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
9503 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
9504 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
9505 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
9506 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
9507 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
9508 * sysdeps/s390/ifunc-strchrnul.h: New file.
9509
32f12653
SL
95102018-12-18 Stefan Liebler <stli@linux.ibm.com>
9511
9512 * sysdeps/s390/multiarch/Makefile
9513 (sysdep_routines): Remove strchr variants.
9514 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
9515 * sysdeps/s390/multiarch/ifunc-impl-list.c
9516 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
9517 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
9518 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
9519 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
9520 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
9521 * sysdeps/s390/multiarch/strchr.c: Move to ...
9522 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
9523 * sysdeps/s390/ifunc-strchr.h: New file.
9524
316b8842
SL
95252018-12-18 Stefan Liebler <stli@linux.ibm.com>
9526
9527 * sysdeps/s390/multiarch/Makefile
9528 (sysdep_routines): Remove strncmp variants.
9529 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
9530 * sysdeps/s390/multiarch/ifunc-impl-list.c
9531 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
9532 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
9533 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
9534 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
9535 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
9536 * sysdeps/s390/multiarch/strncmp.c: Move to ...
9537 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
9538 * sysdeps/s390/ifunc-strncmp.h: New file.
9539
cdab85fe
SL
95402018-12-18 Stefan Liebler <stli@linux.ibm.com>
9541
9542 * sysdeps/s390/multiarch/Makefile
9543 (sysdep_routines): Remove strcmp variants.
9544 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
9545 * sysdeps/s390/multiarch/ifunc-impl-list.c
9546 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
9547 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
9548 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
9549 * sysdeps/s390/multiarch/strcmp.c: Move to ...
9550 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
9551 * sysdeps/s390/ifunc-strcmp.h: New file.
9552 * sysdeps/s390/s390-64/strcmp.S: Move to ...
9553 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
9554 for 31/64bit and ifunc handling.
9555 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
9556 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
9557 * sysdeps/s390/s390-32/strcmp.S: Likewise.
9558
b9353351
SL
95592018-12-18 Stefan Liebler <stli@linux.ibm.com>
9560
9561 * sysdeps/s390/multiarch/Makefile
9562 (sysdep_routines): Remove strncat variants.
9563 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
9564 * sysdeps/s390/multiarch/ifunc-impl-list.c
9565 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
9566 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
9567 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
9568 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
9569 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
9570 * sysdeps/s390/multiarch/strncat.c: Move to ...
9571 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
9572 * sysdeps/s390/ifunc-strncat.h: New file.
9573
8e5a0afb
SL
95742018-12-18 Stefan Liebler <stli@linux.ibm.com>
9575
9576 * sysdeps/s390/multiarch/Makefile
9577 (sysdep_routines): Remove strcat variants.
9578 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
9579 * sysdeps/s390/multiarch/ifunc-impl-list.c
9580 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
9581 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
9582 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
9583 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
9584 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
9585 * sysdeps/s390/multiarch/strcat.c: Move to ...
9586 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
9587 * sysdeps/s390/ifunc-strcat.h: New file.
9588
25218822
SL
95892018-12-18 Stefan Liebler <stli@linux.ibm.com>
9590
9591 * sysdeps/s390/multiarch/Makefile
9592 (sysdep_routines): Remove stpncpy variants.
9593 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
9594 * sysdeps/s390/multiarch/ifunc-impl-list.c
9595 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
9596 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
9597 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
9598 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
9599 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
9600 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
9601 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
9602 * sysdeps/s390/ifunc-stpncpy.h: New file.
9603
d1bdbf38
SL
96042018-12-18 Stefan Liebler <stli@linux.ibm.com>
9605
9606 * sysdeps/s390/multiarch/Makefile
9607 (sysdep_routines): Remove strncpy variants.
9608 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
9609 * sysdeps/s390/multiarch/ifunc-impl-list.c
9610 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
9611 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
9612 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
9613 * sysdeps/s390/multiarch/strncpy.c: Move to ...
9614 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
9615 * sysdeps/s390/ifunc-strncpy.h: New file.
9616 * sysdeps/s390/s390-64/strncpy.S: Move to ...
9617 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
9618 and adjust ifunc handling.
9619 * sysdeps/s390/s390-32/strncpy.S: Move to ...
9620 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
9621 and adjust ifunc handling.
9622 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
9623 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
9624
97044931
SL
96252018-12-18 Stefan Liebler <stli@linux.ibm.com>
9626
9627 * sysdeps/s390/multiarch/Makefile
9628 (sysdep_routines): Remove stpcpy variants.
9629 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
9630 * sysdeps/s390/multiarch/ifunc-impl-list.c
9631 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
9632 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
9633 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
9634 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
9635 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
9636 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
9637 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
9638 * sysdeps/s390/ifunc-stpcpy.h: New file.
9639
914a4e05
SL
96402018-12-18 Stefan Liebler <stli@linux.ibm.com>
9641
9642 * sysdeps/s390/multiarch/Makefile
9643 (sysdep_routines): Remove strcpy variants.
9644 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
9645 * sysdeps/s390/multiarch/ifunc-impl-list.c
9646 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
9647 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
9648 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
9649 * sysdeps/s390/multiarch/strcpy.c: Move to ...
9650 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
9651 * sysdeps/s390/ifunc-strcpy.h: New file.
9652 * sysdeps/s390/s390-64/strcpy.S: Move to ...
9653 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
9654 for 31/64bit and ifunc handling.
9655 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
9656 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
9657 * sysdeps/s390/s390-32/strcpy.S: Likewise.
9658
de10e44d
SL
96592018-12-18 Stefan Liebler <stli@linux.ibm.com>
9660
9661 * sysdeps/s390/multiarch/Makefile
9662 (sysdep_routines): Remove strnlen variants.
9663 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
9664 * sysdeps/s390/multiarch/ifunc-impl-list.c
9665 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
9666 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
9667 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
9668 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
9669 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
9670 * sysdeps/s390/multiarch/strnlen.c: Move to ...
9671 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
9672 * sysdeps/s390/ifunc-strnlen.h: New file.
9673
ff3ca374
SL
96742018-12-18 Stefan Liebler <stli@linux.ibm.com>
9675
9676 * sysdeps/s390/multiarch/Makefile
9677 (sysdep_routines): Remove strlen variants.
9678 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
9679 * sysdeps/s390/multiarch/ifunc-impl-list.c
9680 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
9681 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
9682 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
9683 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
9684 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
9685 * sysdeps/s390/multiarch/strlen.c: Move to ...
9686 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
9687 * sysdeps/s390/ifunc-strlen.h: New file.
9688
d2c4c403
SL
96892018-12-18 Stefan Liebler <stli@linux.ibm.com>
9690
9691 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
9692 * sysdeps/s390/multiarch/ifunc-impl-list.c
9693 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
9694 * sysdeps/s390/ifunc-memmem.h: New file.
9695 * sysdeps/s390/memmem.c: Likewise.
9696 * sysdeps/s390/memmem-c.c: Likewise.
9697 * sysdeps/s390/memmem-vx.c: Likewise.
9698
8c25dddd
SL
96992018-12-18 Stefan Liebler <stli@linux.ibm.com>
9700
9701 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
9702 * sysdeps/s390/multiarch/ifunc-impl-list.c
9703 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
9704 * sysdeps/s390/ifunc-strstr.h: New file.
9705 * sysdeps/s390/strstr.c: Likewise.
9706 * sysdeps/s390/strstr-c.c: Likewise.
9707 * sysdeps/s390/strstr-vx.c: Likewise.
9708
cdd927d9
SL
97092018-12-18 Stefan Liebler <stli@linux.ibm.com>
9710
9711 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
9712 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
9713 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
9714 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
9715 New defines.
9716 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
9717 * sysdeps/s390/memmove-c.c: New file.
9718 * sysdeps/s390/memmove.c: Likewise.
9719 * sysdeps/s390/multiarch/ifunc-impl-list.c
9720 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
9721
2ee1bc57
SL
97222018-12-18 Stefan Liebler <stli@linux.ibm.com>
9723
9724 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
9725 * sysdeps/s390/configure.ac: Add check for z13 support.
9726 * sysdeps/s390/configure: Regenerated.
9727
d097d976
SL
97282018-12-18 Stefan Liebler <stli@linux.ibm.com>
9729
9730 * sysdeps/s390/memcopy.h: New file.
9731
e099aab0
SL
97322018-12-18 Stefan Liebler <stli@linux.ibm.com>
9733
9734 * sysdeps/s390/s390-32/bcopy.S: Remove.
9735 * sysdeps/s390/s390-64/bcopy.S: Likewise.
9736
18eb862d
SL
97372018-12-18 Stefan Liebler <stli@linux.ibm.com>
9738
9739 * sysdeps/s390/ifunc-memcpy.h: New File.
9740 * sysdeps/s390/memcpy.S: Move to ...
9741 * sysdeps/s390/memcpy-z900.S ... here.
9742 Move implementations from memcpy-s390x.s to here.
9743 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
9744 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9745 Remove memcpy/mempcpy variants.
9746 * sysdeps/s390/Makefile (sysdep_routines):
9747 Add memcpy/mempcpy variants.
9748 * sysdeps/s390/multiarch/ifunc-impl-list.c
9749 (__libc_ifunc_impl_list): Adjust ifunc variants for
9750 memcpy and mempcpy.
9751 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
9752 to ...
9753 * sysdeps/s390/memcpy.c: ... here.
9754 Adjust ifunc variants for memcpy.
9755 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
9756 * sysdeps/s390/mempcpy.c: ... here.
9757 Adjust ifunc variants for mempcpy.
9758 * sysdeps/s390/mempcpy.S: Delete file.
9759
df3eb8de
SL
97602018-12-18 Stefan Liebler <stli@linux.ibm.com>
9761
9762 * sysdeps/s390/s390-64/memcpy.S: Move to ...
9763 * sysdeps/s390/memcpy.S: ... here.
9764 Adjust to be usable for 31/64bit.
9765 * sysdeps/s390/s390-32/memcpy.S: Delete File.
9766 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
9767 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
9768 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9769 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
9770 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
9771 Adjust to be usable for 31/64bit.
9772 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
9773 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
9774 * sysdeps/s390/multiarch/memcpy.c: ... here.
9775 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
9776
b7e024a8
SL
97772018-12-18 Stefan Liebler <stli@linux.ibm.com>
9778
9779 * sysdeps/s390/ifunc-memcmp.h: New File.
9780 * sysdeps/s390/memcmp.S: Move to ...
9781 * sysdeps/s390/memcmp-z900.S ... here.
9782 Move implementations from memcmp-s390x.s to here.
9783 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
9784 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9785 Remove memcmp variants.
9786 * sysdeps/s390/Makefile (sysdep_routines):
9787 Add memcmp variants.
9788 * sysdeps/s390/multiarch/ifunc-impl-list.c
9789 (__libc_ifunc_impl_list): Adjust ifunc variants for
9790 memcmp.
9791 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
9792 to ...
9793 * sysdeps/s390/memcmp.c: ... here.
9794 Adjust ifunc variants for memcmp.
9795
6c6b8c74
SL
97962018-12-18 Stefan Liebler <stli@linux.ibm.com>
9797
9798 * sysdeps/s390/s390-64/memcmp.S: Move to ...
9799 * sysdeps/s390/memcmp.S: ... here.
9800 Adjust to be usable for 31/64bit.
9801 * sysdeps/s390/s390-32/memcmp.S: Delete File.
9802 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
9803 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9804 Remove memcmp.
9805 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9806 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
9807 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
9808 Adjust to be usable for 31/64bit.
9809 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
9810 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
9811 * sysdeps/s390/multiarch/memcmp.c: ... here.
9812 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
9813
07be3928
SL
98142018-12-18 Stefan Liebler <stli@linux.ibm.com>
9815
9816 * sysdeps/s390/s390-32/bzero.S: Delete file.
9817 * sysdeps/s390/s390-64/bzero.S: Likewise.
9818 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
9819 * sysdeps/s390/bzero.c: New file.
9820 * sysdeps/s390/memset-z900.S: Add bzero entry points.
9821 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
9822 * sysdeps/s390/multiarch/ifunc-impl-list.c
9823 (__libc_ifunc_impl_list): Add bzero ifunc variants.
9824
712a254a
SL
98252018-12-18 Stefan Liebler <stli@linux.ibm.com>
9826
9827 * sysdeps/s390/ifunc-memset.h: New File.
9828 * sysdeps/s390/memset.S: Move to ...
9829 * sysdeps/s390/memset-z900.S ... here.
9830 Move implementations from memset-s390x.s to here.
9831 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
9832 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9833 Remove memset variants.
9834 * sysdeps/s390/Makefile (sysdep_routines):
9835 Add memset variants.
9836 * sysdeps/s390/multiarch/ifunc-impl-list.c
9837 (__libc_ifunc_impl_list): Adjust ifunc variants for
9838 memset.
9839 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
9840 to ...
9841 * sysdeps/s390/memset.c: ... here.
9842 Adjust ifunc variants for memset.
9843
5f1743d1
SL
98442018-12-18 Stefan Liebler <stli@linux.ibm.com>
9845
9846 * sysdeps/s390/s390-64/memset.S: Move to ...
9847 * sysdeps/s390/memset.S: ... here.
9848 Adjust to be usable for 31/64bit.
9849 * sysdeps/s390/s390-32/memset.S: Delete File.
9850 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
9851 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9852 Remove memset.
9853 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9854 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
9855 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
9856 Adjust to be usable for 31/64bit.
9857 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
9858 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
9859 * sysdeps/s390/multiarch/memset.c: ... here.
9860 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
9861
e8023f26
SL
98622018-12-18 Stefan Liebler <stli@linux.ibm.com>
9863
9864 * sysdeps/s390/multiarch/ifunc-resolve.h
9865 (s390_libc_ifunc_init, s390_libc_ifunc,
9866 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
9867
b8686c0d
SL
98682018-12-18 Stefan Liebler <stli@linux.ibm.com>
9869
9870 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
9871 * sysdeps/s390/configure.ac: Add check for z10 support.
9872 * sysdeps/s390/configure: Regenerated.
9873
cd815050
L
98742018-12-18 H.J. Lu <hongjiu.lu@intel.com>
9875
9876 * sysdeps/i386/atomic-machine.h: Merged with ...
9877 * sysdeps/x86_64/atomic-machine.h: To ...
9878 * sysdeps/x86/atomic-machine.h: This. New file.
9879
053c52b1
FW
98802018-12-18 Florian Weimer <fweimer@redhat.com>
9881
9882 Rewrite locale/gen-translit.pl in Python.
9883 * locale/Makefile (generated): Add C-translit.h.
9884 (before-compile): Add $(objpfx)C-translit.h.
9885 (C-translit.h): Move to $(objpfx). Create target directory.
9886 Build using Python script.
9887 * locale/gen-translit.py: New file.
9888 * locale/gen-translit.pl: Remove file.
9889 * locale/C-translit.h.in: Change comment character to '#' for
9890 easier parsing without a C preprocessor.
9891 * locale/C-translit.h: Remove generated file.
9892 * manual/install.texi (Tools for Compilation): Do not mention
9893 C-translit.h.
9894 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
9895 Remove locale/C-translit.h.
9896 * scripts/update-copyrights: Likewise.
9897 * INSTALL: Regenerate.
9898
40e6c1ec
FW
98992018-12-18 Florian Weimer <fweimer@redhat.com>
9900
9901 [BZ #23995]
9902 * localedata/locales/bi_VU: Remove executable bit from file.
9903
6b5c8607 99042018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
6e15f3e2
AA
9905
9906 * include/time.h
9907 (__localtime64): Add.
9908 * manual/maint.texi: Document Y2038 symbol handling.
9909 * time/localtime.c
9910 (__localtime64): Add.
bfb79db4 9911 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6e15f3e2 9912
df648905
JM
99132018-12-17 Joseph Myers <joseph@codesourcery.com>
9914
551e81d9
JM
9915 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
9916 Do not clobber r12.
9917
df648905
JM
9918 * scripts/glibcextract.py (compare_macro_consts): Take parameters
9919 to allow extra macros from first or second sources.
9920 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
9921 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9922 (tests-special): Add $(objpfx)tst-mman-consts.out.
9923 ($(objpfx)tst-mman-consts.out): New makefile target.
9924
6bbfc5c0
MH
99252018-12-17 Mao Han <han_mao@c-sky.com>
9926
9927 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
9928 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
9929 without stat64 system call support.
9930 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
9931 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
9932 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9933 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
9934 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
9935 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
9936 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
9937 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
9938 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
9939 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
9940 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
9941
ef202e53
PE
99422018-12-15 Paul Eggert <eggert@cs.ucla.edu>
9943
9944 regex: fix storage-exhaustion error
9945 [BZ #18040]
9946 * posix/regexec.c (get_subexp):
9947 Do not continue if storage is exhausted.
9948
077caf61
AG
99492018-12-15 Assaf Gordon <assafgordon@gmail.com>
9950
9951 regex: fix heap-use-after-free error
9952 [BZ #18040]
9953 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
9954 https://debbugs.gnu.org/32592
9955 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
9956 call extend_buffers which reallocates the re_string_t internal buffer.
9957 Local variable 'buf' was not updated in such case, resulting in
9958 use-after-free.
9959 * posix/regexec.c (get_subexp): Update 'buf' after call to
9960 get_subexp_sub.
9961
0c1719e6
FW
99622018-12-15 Florian Weimer <fweimer@redhat.com>
9963
9964 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
9965 (minimum_stride_size): Use it.
9966 (support_blob_repeat_allocate): Likewise.
9967
033a2c0a
JM
99682018-12-14 Joseph Myers <joseph@codesourcery.com>
9969
9970 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
9971 definition.
9972 (acosh): Likewise.
9973 (atanh): Likewise.
9974
e361dc04
FW
99752018-12-14 Florian Weimer <fweimer@redhat.com>
9976
9977 * manual/process.texi (Process Creation Concepts): Remove
9978 documentation of process (ID) lifetime. List more process
9979 creation functions. Reference Process Identification section.
9980 (Process Identification): Add information about process ID
9981 lifetime. Describe Linux thread/task IDs.
9982 * manual/signal.texi (Signaling Another Process): Mention that the
9983 signal is always sent to the process.
9984
bd51ff5e
GG
99852018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9986
9987 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
9988 and tst-ldbl-efgcvt.
9989 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
9990 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
9991 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
9992 (fcvt_tests, output_error, output_r_error, do_test): Use the
9993 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
9994 select the type of floating-point variables and arguments; to
9995 produce extra tests for double and conversion specifiers for
9996 printf; and to set the names of called functions.
9997 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
9998 in tst-efgcvt-template.c.
9999 * misc/tst-ldbl-efgcvt.c: Likewise.
10000
268bb71e
SL
100012018-12-14 Stefan Liebler <stli@linux.ibm.com>
10002
10003 * nss/Makefile (tst-nss-test3.out): New rule.
10004
db6df070
JM
100052018-12-13 Joseph Myers <joseph@codesourcery.com>
10006
10007 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
10008 clobber sp.
10009
ade8b817
CD
100102018-12-13 fanjinke <fanjinke@hygon.cn>
10011
10012 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
10013 "HygonGenuine".
10014
3d265911
AS
100152018-12-13 Andreas Schwab <schwab@suse.de>
10016
f21e8f8c 10017 [BZ #23861]
3d265911 10018 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
f21e8f8c
AS
10019 (__pthread_rwlock_rdlock_full): Update expected value for
10020 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
10021 * nptl/tst-rwlock-pwn.c: New file.
10022 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3d265911 10023
bf8ae8c0
JM
100242018-12-12 Joseph Myers <joseph@codesourcery.com>
10025
10026 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
10027 definition.
10028
de099757
LS
100292018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10030
10031 * benchtests/scripts/compare_bench.py (do_compare): write to
10032 stderr in casestat is not present.
10033 * benchtests/scripts/compare_bench.py (plot_graphs): write to
10034 stderr in case timings field is not present. Also string showing
10035 the output filename goes into the stderr.
10036
1990185f
LS
100372018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10038
10039 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
10040 and ZeroDivisorError exceptions.
10041 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
10042 argument to loop through user provided statistics.
10043 * benchtests/scripts/compare_bench.py (main): Include the --stats
10044 argument.
10045
587426d4
LS
100462018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10047
10048 * benchtests/scripts/compare_bench.py (compare_runs): Continue
10049 instead of return.
10050
46703efa
FW
100512018-12-12 Florian Weimer <fweimer@redhat.com>
10052
10053 * sysdeps/posix/timespec_get.c: Add missing “any later version”
10054 clause to copyright header.
10055
1d880d4a
TMQMF
100562018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10057
10058 [BZ #23614]
10059 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
10060 registers saved in the stack frame.
10061 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
10062 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
10063
1a502f52
GG
100642018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10065
10066 * include/bits/monetary-ldbl.h: New file.
10067 * include/bits/printf-ldbl.h: Likewise.
10068 * include/bits/stdio-ldbl.h: Likewise.
10069 * include/bits/stdlib-ldbl.h: Likewise.
10070 * include/bits/syslog-ldbl.h: Likewise.
10071 * include/bits/wchar-ldbl.h: Likewise.
10072
df682d1d
GG
100732018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10074
10075 * libio/libio.h: Remove redirection for _IO_vfprintf.
10076
c2c082c1
AS
100772018-12-11 Andreas Schwab <schwab@suse.de>
10078
10079 * Makerules: Remove all references to abilist-pattern.
10080 (update-all-abi): Simplify find expression.
10081
505b5b29
SN
100822018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
10083
10084 [BZ #23961]
10085 * math/auto-libm-test-in: Add new test case.
10086 * math/auto-libm-test-out-pow: Regenerated.
10087 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
10088
304c61a2
DD
100892018-12-10 DJ Delorie <dj@redhat.com>
10090
10091 [BZ #23948]
10092 * support/test-container.c: Move postclean step to before we
10093 change namespaces.
10094
a8110b72
JM
100952018-12-10 Joseph Myers <joseph@codesourcery.com>
10096
cb7be159
JM
10097 * scripts/gen-as-const.py (main): Handle --python option.
10098 * scripts/gen-py-const.awk: Remove.
10099 * Makerules (py-const-script): Use gen-as-const.py.
10100 ($(py-const)): Likewise.
10101 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
10102 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
10103 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
10104 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
10105 ~PTHREAD_MUTEX_NO_ELISION_NP.
10106 * manual/README.pretty-printers: Update reference to
10107 gen-py-const.awk.
10108
a8110b72
JM
10109 * scripts/glibcextract.py: New file.
10110 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
10111 or tempfile. Import glibcexctract.
10112 (compute_c_consts): Remove. Moved to glibcextract.py.
10113 (gen_test): Update reference to compute_c_consts.
10114 (main): Likewise.
10115 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
10116 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
10117 * sysdeps/unix/sysv/linux/Makefile
10118 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
10119 Redirect stderr as well as stdout.
10120
f9ba9eb8
RÁE
101212018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
10122
10123 [BZ #19767]
10124 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
b39d961c
TS
10125 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
10126 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
f9ba9eb8 10127 ALWAYS_USE_VSYSCALL.
b39d961c 10128 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
f9ba9eb8
RÁE
10129 ALWAYS_USE_VSYSCALL.
10130 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
10131 ALWAYS_USE_VSYSCALL.
10132
8d20a2f4
FW
101332018-12-10 Florian Weimer <fweimer@redhat.com>
10134
10135 [BZ #23972]
10136 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
10137 offset instead of count for clarity. Fix typo in comment.
10138 (__old_getdents64): Keep track of previous offset. Use it to call
10139 handle_overflow.
10140 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
10141 that d_off is never zero.
10142
80472e2f
AS
101432018-12-10 Andreas Schwab <schwab@suse.de>
10144
10145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
10146 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
10147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
10148 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
10149 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
10150
0afcb29d
JM
101512018-12-10 Joseph Myers <joseph@codesourcery.com>
10152
10153 * timezone/private.h: Update from tzcode 2018g.
10154 * timezone/tzfile.h: Likewise.
10155 * timezone/tzselect.ksh: Likewise.
10156 * timezone/zdump.c: Likewise.
10157 * timezone/zic.c: Likewise.
10158
b93f4052
PP
101592018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
10160
10161 [BZ #23490]
10162 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
10163 (do_test): Adjust buffer size and fix format.
10164
7c9a7c68
DD
101652018-12-07 DJ Delorie <dj@redhat.com>
10166
10167 [BZ #23907]
10168 * malloc/tst-tcfree3.c: New.
10169 * malloc/Makefile: Add it.
10170
37caec3a
L
101712018-12-07 H.J. Lu <hongjiu.lu@intel.com>
10172
10173 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
10174
10446f5d
GG
101752018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10176
10177 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
10178 used as a mask for the mode argument of __vfscanf_internal and
10179 __vfwscanf_internal.
10180 * stdio-common/vfscanf-internal.c
10181 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
10182 (__strtof128_internal): Define to __wcstof128_internal.
10183 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
10184 __strtof128_internal or __wcstof128_internal when the format of
10185 long double is the same as _Float128.
10186
45f33aac
ST
101872018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
10188
10189 * include/unistd.h (__confstr): Add prototype and hidden prototype.
10190 * posix/confstr.c (confstr): Rename to __confstr.
10191 (__confstr): Add hidden def.
10192 (confstr): Add weak alias for __confstr.
10193 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
10194 confstr.
10195
a092ca94
L
101962018-12-07 H.J. Lu <hongjiu.lu@intel.com>
10197
10198 * NEWS: Mention getcpu.
10199 * include/sched.h (__getcpu): New libc_hidden_proto.
10200 * manual/resource.texi: Document getcpu.
10201 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
10202 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
10203 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
10204 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10205 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10206 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10207 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10208 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10209 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10210 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10211 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10212 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10213 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
10214 Likewise.
10215 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10216 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10217 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10219 Likewise.
10220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10221 Likewise.
10222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
10223 Likewise.
10224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
10225 Likewise.
10226 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10227 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10228 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10229 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10230 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10231 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10232 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10233 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10234 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
10235 * sysdeps/unix/sysv/linux/getcpu.c: New file.
10236 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
10237 Also check getcpu.
10238
7c857b6f
ST
102392018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
10240
10241 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
10242 functions.
10243 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
10244
3a3fb755
FW
102452018-12-07 Florian Weimer <fweimer@redhat.com>
10246
10247 [BZ #17405]
10248 * posix/Makefile (routines): Add spawn_faction_addfchdir.
10249 * posix/Versions (GLIBC_2.29): Export
10250 posix_spawn_file_actions_addfchdir_np.
10251 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
10252 * posix/spawn_faction_destroy.c
10253 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
10254 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
10255 and the field action.fchdir_action.
10256 * posix/tst-spawn-chdir.c (add_chdir): New function.
10257 (do_test): Add do_fchdir loop. Call add_chdir.
10258 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
10259 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
10260 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
10261 posix_spawn_file_actions_addfchdir_np.
10262 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
10263 Likewise.
10264 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
10265 Likewise.
10266 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
10267 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
10268 Likewise.
10269 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
10270 Likewise.
10271 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
10272 Likewise.
10273 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
10274 Likewise.
10275 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
10276 Likewise.
10277 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
10278 Likewise.
10279 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
10280 (GLIBC_2.29): Likewise.
10281 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
10282 (GLIBC_2.29): Likewise.
10283 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
10284 (GLIBC_2.29): Likewise.
10285 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
10286 (GLIBC_2.29): Likewise.
10287 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
10288 Likewise.
10289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10290 (GLIBC_2.29): Likewise.
10291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
10292 (GLIBC_2.29): Likewise.
10293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
10294 (GLIBC_2.29): Likewise.
10295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
10296 (GLIBC_2.29): Likewise.
10297 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
10298 Likewise.
10299 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
10300 Likewise.
10301 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
10302 Likewise.
10303 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
10304 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
10305 Likewise.
10306 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
10307 Likewise.
10308 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
10309 Likewise.
10310 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
10311 Likewise.
10312
c37cd439
JM
103132018-12-06 Joseph Myers <joseph@codesourcery.com>
10314
10315 * manual/texinfo.tex: Update to version 2018-09-21.20 with
10316 trailing whitespace removed.
10317 * scripts/config.guess: Update to version 2018-11-28.
10318 * scripts/config.sub: Update to version 2018-11-28.
10319 * scripts/install-sh: Update to version 2018-03-11.20.
10320 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
10321 * scripts/move-if-change: Update to version 2018-03-07 03:47.
10322
899478c2
FW
103232018-12-07 Florian Weimer <fweimer@redhat.com>
10324
10325 [BZ #23927]
10326 CVE-2018-19591
10327 * inet/tst-if_index-long.c: New file.
10328 * inet/Makefile (tests): Add tst-if_index-long.
10329
f255336a
FW
103302018-12-07 Florian Weimer <fweimer@redhat.com>
10331
10332 * support/check.h (support_record_failure_is_failed): Declare.
10333 * support/descriptors.h: New file.
10334 * support/support_descriptors.c: Likewise.
10335 * support/tst-support_descriptors.c: Likewise.
10336 * support/support_record_failure.c
10337 (support_record_failure_is_failed): New function.
10338 * support/Makefile (libsupport-routines): Add support_descriptors.
10339 (tests): Add tst-support_descriptors.
10340
35caceb1
ZW
103412018-12-05 Zack Weinberg <zackw@panix.com>
10342 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10343
10344 * stdio-common/vfprintf-internal.c
10345 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
10346 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
10347 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
10348 and __no_long_double.
10349 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
10350 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
10351 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
10352 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
10353 and __nldbl_*syslog* functions.
10354 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
10355 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
10356 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
10357 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
10358 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
10359 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
10360 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
10361 (__nldbl_vwprintf, __nldbl_wprintf):
10362 Directly call the appropriate __v*printf_internal routine, passing
10363 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
10364 variable names.
10365 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
10366 (__nldbl___printf_chk, __nldbl___snprintf_chk)
10367 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
10368 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
10369 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
10370 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
10371 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
10372 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
10373 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
10374 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
10375 Likewise, and also pass PRINTF_FORTIFY when appropriate.
10376 (__nldbl_syslog, __nldbl_vsyslog):
10377 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
10378 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
10379 appropriate.
10380 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
10381 appropriate.
10382
4e2f43f8
ZW
103832018-12-05 Zack Weinberg <zackw@panix.com>
10384 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10385
10386 [BZ #11319]
10387 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
10388 Moved here from debug/vsprintf_chk.c.
10389 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
10390 and completion logic for the strfile to match exactly what
10391 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
10392 _IO_str_init_static_internal instead of maxlen-1.
10393 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
10394 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
10395 __vsprintf_internal.
10396
10397 * debug/vsprintf_chk.c (__vsprintf_chk)
10398 * debug/sprintf_chk.c (__sprintf_chk):
10399 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
10400 'flags' argument is positive, and slen as maxlen. No need to lock
10401 the FILE and/or construct a temporary FILE. Minimize and normalize
10402 header inclusions and variable names. Do not libc_hidden_def anything.
10403
10404 * debug/asprintf_chk.c (__asprintf_chk)
10405 * debug/dprintf_chk.c (__dprintf_chk)
10406 * debug/fprintf_chk.c (__fprintf_chk)
10407 * debug/fwprintf_chk.c (__fwprintf_chk)
10408 * debug/printf_chk.c (__printf_chk)
10409 * debug/snprintf_chk.c (__snprintf_chk)
10410 * debug/swprintf_chk.c (__swprintf_chk)
10411 * debug/vasprintf_chk.c (__vasprintf_chk)
10412 * debug/vdprintf_chk.c (__vdprintf_chk)
10413 * debug/vfprintf_chk.c (__vfprintf_chk)
10414 * debug/vfwprintf_chk.c (__vfwprintf_chk)
10415 * debug/vprintf_chk.c (__vprintf_chk)
10416 * debug/vsnprintf_chk.c (__vsnprintf_chk)
10417 * debug/vswprintf_chk.c (__vswprintf_chk)
10418 * debug/vwprintf_chk.c (__vwprintf_chk)
10419 * debug/wprintf_chk.c (__wprintf_chk):
10420 Directly call the corresponding vxxprintf_internal function, passing
10421 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
10422 the FILE and/or construct a temporary FILE. Minimize and normalize
10423 header inclusions and variable names. Do not libc_hidden_def anything.
10424
10425 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
10426 __obstack_vprintf_internal.
10427 (__obstack_vprintf_chk): Convert into a wrapper that calls
10428 __obstack_vprintf_internal (these two functions already had the
10429 same code) and move to new file...
10430 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
10431 file.
10432 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
10433 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
10434 * debug/Makefile (routines): Add vobprintf_chk.
10435
10436 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
10437 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
10438 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
10439 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
10440 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
10441 (__nldbl___obstack_vfprintf_chk):
10442 Directly call the corresponding vxxprintf_internal function,
10443 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
10444 duplicate comparison of slen with 0 or maxlen from the corresponding
10445 non-__nldbl function.
10446
10447 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
10448 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
10449 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
10450 Remove libc_hidden_proto.
10451
10452 * stdio-common/vfprintf-internal.c
10453 (__vfprintf_internal, __vfwprintf_internal):
10454 Do not check _IO_FLAGS2_FORTIFY.
10455 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
10456 * libio/libioP.h: Update prototype of __vsprintf_internal and add
10457 a comment explaining why it has the maxlen argument.
10458 (_IO_acquire_lock_clear_flags2_fct): Remove.
10459 (_IO_acquire_lock_clear_flags2): Remove.
10460 (_IO_release_lock): Remove conditional statement which will
10461 now never execute.
10462 (_IO_acquire_lock): Remove variable which is now unused.
10463 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
10464 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
10465
10466 * stdio-common/Makefile (tests): Add tst-bz11319 and
10467 tst-bz11319-fortify2.
10468 (CFLAGS-tst-bz11319-fortify2.c): New macro.
10469 * stdio-common/tst-bz11319-fortify2.c: New file.
10470 * stdio-common/tst-bz11319.c: Likewise.
10471
124fc732
ZW
104722018-12-05 Zack Weinberg <zackw@panix.com>
10473 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10474
10475 * misc/syslog.c: Include libioP.h, not iolibio.h.
10476 (__vsyslog_internal): New function with the former body of
10477 __vsyslog_chk; takes mode_flags argument same as
10478 __v*printf_internal. Call __vfprintf_internal directly.
10479
10480 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
10481 Remove libc_hidden_def.
10482 (__syslog, __syslog_chk): Use __vsyslog_internal.
10483 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
10484
10485 * include/sys/syslog.h: Add multiple inclusion guard.
10486 Add prototype for __vsyslog_internal.
10487 Remove declaration and libc_hidden_proto for __vsyslog_chk.
10488
10489 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
10490 Use __vsyslog_internal.
10491
698fb75b
ZW
104922018-12-05 Zack Weinberg <zackw@panix.com>
10493 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10494
10495 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
10496 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
10497 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
10498 New functions.
10499 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
10500 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
10501
10502 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
10503 Include wctype.h here if COMPILE_WPRINTF is defined.
10504 Define __vfprintf_internal or __vfwprintf_internal, depending
10505 on COMPILE_WPRINTF.
10506 Temporarily, on entry to this function, update mode_flags
10507 according to the environmental settings corresponding to
10508 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
10509 Throughout, check mode_flags instead of __ldbl_is_dbl and
10510 _IO_FLAGS2_FORTIFY on the destination FILE.
10511 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
10512 Include vfprintf-internal.c. Don't include wctype.h.
10513 * stdio-common/vfprintf.c: New file. Just define __vfprintf
10514 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
10515 and vfprintf.
10516 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
10517 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
10518 and vfwprintf.
10519 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
10520
10521 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
10522 and add mode_flags argument; use __vfprintf_internal.
10523 (__vdprintf): New function. Alias vdprintf to this.
10524 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
10525 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
10526 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
10527 (__obstack_printf): Use __obstack_printf_internal.
10528 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
10529 public aliases __vsnprintf and vsnprintf.
10530 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
10531 called internally.
10532 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
10533 public aliases _IO_vsprintf and vsprintf.
10534 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
10535 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
10536 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
10537 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
10538 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
10539
10540 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
10541 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
10542 * stdio-common/fprintf.c, stdio-common/fxprintf.c
10543 * stdio-common/printf.c: Use __vfprintf_internal.
10544
10545 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
10546 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
10547 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
10548
10549 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
10550 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
10551 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
10552 __vfwprintf_internal.
10553
10554 * libio/libio.h: Remove libc_hidden_proto and declaration for
10555 _IO_vfprintf.
10556 Remove declaration of _IO_vfwprintf.
10557 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
10558 _IO_vsprintf.
10559 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
10560 _IO_obstack_printf.
10561 * include/stdio.h: Add prototype for __vasprintf.
10562 (__vsnprintf): Remove declaration, because there are no more
10563 internal calls.
10564 * include/wchar.h (__vfwprintf, __vswprintf): Remove
10565 declaration, because there are no more internal calls.
10566
10567 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
10568 __vsnprintf_internal, instead of _IO_vsnprintf.
10569 * argp/argp-help.c (__argp_error, __argp_failure): Use
10570 __vasprintf_internal, instead of _IO_vasprintf.
10571 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
10572 redefine, because there are no more internal calls.
10573
d91798b3
ZW
105742018-12-05 Zack Weinberg <zackw@panix.com>
10575 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10576
10577 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
10578 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
10579 Include libio/strfile.h instead of libioP.h.
10580 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
10581 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
10582 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
10583 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
10584 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
10585 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
10586 necessary. Do not set __no_long_double. Normalize variable names.
10587 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
10588 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
10589 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
10590 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
10591 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
10592 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
10593 Call __vfscanf_internal / __vfwscanf_internal directly, passing
10594 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
10595 Do not set __no_long_double. Normalize variable names.
10596
b87eb3f8
ZW
105972018-12-05 Zack Weinberg <zackw@panix.com>
10598 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10599
10600 * stdio-common/isoc99_scanf.c
10601 * stdio-common/isoc99_fscanf.c
10602 * stdio-common/isoc99_sscanf.c
10603 * stdio-common/isoc99_vscanf.c
10604 * stdio-common/isoc99_vfscanf.c
10605 * stdio-common/isoc99_vsscanf.c
10606 * wcsmbs/isoc99_wscanf.c
10607 * wcsmbs/isoc99_fwscanf.c
10608 * wcsmbs/isoc99_swscanf.c
10609 * wcsmbs/isoc99_vwscanf.c
10610 * wcsmbs/isoc99_vfwscanf.c
10611 * wcsmbs/isoc99_vswscanf.c:
10612 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
10613 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
10614 No need to lock and unlock the FILE passed to that function.
10615
10616 * stdio-common/vfscanf-internal.c
10617 (__vfscanf_internal, __vfwscanf_internal):
10618 Don't look at _IO_FLAGS2_SCANF_STD.
10619 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
10620 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
10621 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
10622
349718d4
ZW
106232018-12-05 Zack Weinberg <zackw@panix.com>
10624 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10625
10626 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
10627 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
10628 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
10629 * libio/strfile.h: Add multiple inclusion guard.
10630 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
10631
10632 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
10633 consistency with the other version of this file.
10634 (ldbl_compat_symbol): New macro.
10635 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
10636 New macro.
10637
10638 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
10639 Define __vfscanf_internal or __vfwscanf_internal, depending on
10640 COMPILE_WSCANF; don't define any other public symbols.
10641 Remove errval and code to set errp.
10642 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
10643 as the mode_flags argument.
10644 (encode_error, conv_error, input_error): Don't set errval.
10645 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
10646 Include vfscanf-internal.c.
10647 * stdio-common/vfscanf.c: New file defining the public entry
10648 point vfscanf, which calls __vfscanf_internal.
10649 * stdio-common/vfwscanf.c: New file defining the public entry
10650 point vfwscanf, which calls __vfwscanf_internal.
10651
10652 * stdio-common/iovfscanf.c: New file.
10653 * stdio-common/iovfwscanf.c: Likewise.
10654
10655 * stdio-common/Makefile (routines): Add vfscanf-internal,
10656 vfwscanf-internal, iovfscanf, iovfwscanf.
10657 * stdio-common/Versions: Mention GLIBC_2.29, so that
10658 it can be used in SHLIB_COMPAT expressions.
10659 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
10660 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
10661 Call __vfscanf_internal, instead of _IO_vfscanf.
10662 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
10663 _IO_vfscanf.
10664 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
10665 _IO_vfwscanf.
10666
10667 * libio/iovsscanf.c: Clean up includes, when possible. Use
10668 _IO_strfile_read or _IO_strfile_readw, when needed. Call
10669 __vfscanf_internal or __vfwscanf_internal directly.
10670 * libio/iovswscanf.c: Likewise.
10671 * libio/swscanf.c: Likewise.
10672 * libio/vscanf.c: Likewise.
10673 * libio/vwscanf.c: Likewise.
10674 * libio/wscanf.c: Likewise.
10675 * stdio-common/isoc99_fscanf.c: Likewise.
10676 * stdio-common/isoc99_scanf.c: Likewise.
10677 * stdio-common/isoc99_sscanf.c: Likewise.
10678 * stdio-common/isoc99_vfscanf.c: Likewise.
10679 * stdio-common/isoc99_vscanf.c: Likewise.
10680 * stdio-common/isoc99_vsscanf.c: Likewise.
10681 * stdio-common/scanf.c: Likewise.
10682 * stdio-common/sscanf.c: Likewise.
10683 * wcsmbs/isoc99_fwscanf.c: Likewise.
10684 * wcsmbs/isoc99_swscanf.c: Likewise.
10685 * wcsmbs/isoc99_vfwscanf.c: Likewise.
10686 * wcsmbs/isoc99_vswscanf.c: Likewise.
10687 * wcsmbs/isoc99_vwscanf.c: Likewise.
10688 * wcsmbs/isoc99_wscanf.c: Likewise.
10689
6b5c8607 106902018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
72b8692d
AA
10691
10692 * include/time.h
10693 (__tz_compute): Replace time_t with __time64_t.
10694 (__tz_convert): Replace time_t* with __time64_t.
10695 (__offtime): Replace time_t* with __time64_t.
10696 * time/gmtime.c
10697 (__gmtime_r): Adjust call to __tz_convert.
10698 (gmtime): Likewise.
10699 * time/localtime.c
10700 (__localtime_r): Likewise.
10701 (localtime): Likewise.
10702 * time/offtime.c: Replace time_t with __time64_t.
10703 * time/tzset.c: Likewise.
10704
bd598da9
JM
107052018-12-04 Joseph Myers <joseph@codesourcery.com>
10706
10707 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
10708 dynamic linker unless [$(run-built-tests) = yes].
10709
b2e93de0
DD
107102018-12-03 DJ Delorie <dj@delorie.com>
10711
10712 * support/test-container.c (check_for_unshare_hints): New.
10713 (main): Call it if unshare fails. Add support for "su" scriptlet
10714 command.
10715
477a02f6
JM
107162018-12-03 Joseph Myers <joseph@codesourcery.com>
10717
10718 * scripts/gen-as-const.py (compute_c_consts): Take an argument
10719 'START' to indicate that start text should be output.
10720 (gen_test): Likewise.
10721 (main): Generate 'START' for first symbol or '--' line, or at end
10722 of input if not previously generated.
10723
6af956e5
RÁE
107242018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
10725
10726 [BZ #19767]
10727 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
10728 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
10729 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
10730 ALWAYS_USE_VSYSCALL.
10731
f5ec0ea9
AZ
107322018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10733
10734 [BZ #23913]
10735 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
10736 new_argv by one.
10737
8cebd4ff
CD
107382018-12-03 Carlos O'Donell <carlos@redhat.com>
10739
10740 [BZ #23923]
10741 * locale/programs/localedef.c: Declare boolean hard_links default true.
10742 (options): Add --no-hard-links option.
10743 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
10744 * locale/programs/localedef.h: Declare prototype for hard_links.
10745 * locale/programs/locfile.c (write_locale_data): Don't use hard
10746 links if hard_links is false.
10747
c22e4c2a
L
107482018-12-03 H.J. Lu <hongjiu.lu@intel.com>
10749
10750 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
10751 cpu_features_basic.
10752 (__cache_sysconf): Likewise.
10753 (init_cacheinfo): Likewise.
10754 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
10755 populate COMMON_CPUID_INDEX_80000007 and
10756 COMMON_CPUID_INDEX_80000008.
10757 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
10758 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
10759 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
10760 (init_cpu_features): Use _Static_assert on
10761 index_arch_Fast_Unaligned_Load.
10762 __get_cpuid_registers and __get_arch_feature. Updated for
10763 cpu_features_basic. Set stepping in cpu_features.
10764 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
10765 (FEATURE_INDEX_2): New.
10766 (FEATURE_INDEX_MAX): Changed to enum.
10767 (COMMON_CPUID_INDEX_D_ECX_1): New.
10768 (COMMON_CPUID_INDEX_80000007): Likewise.
10769 (COMMON_CPUID_INDEX_80000008): Likewise.
10770 (cpuid_registers): Likewise.
10771 (cpu_features_basic): Likewise.
10772 (CPU_FEATURE_USABLE): Likewise.
10773 (bit_arch_XXX_Usable): Likewise.
10774 (cpu_features): Use cpuid_registers and cpu_features_basic.
10775 (bit_arch_XXX): Reweritten.
10776 (bit_cpu_XXX): Likewise.
10777 (index_cpu_XXX): Likewise.
10778 (reg_XXX): Likewise.
10779 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
10780 <support/check.h>.
10781 (CHECK_CPU_FEATURE): New.
10782 (CHECK_CPU_FEATURE_USABLE): Likewise.
10783 (cpu_kinds): Likewise.
10784 (do_test): Print vendor, family, model and stepping. Check
10785 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
10786 (TEST_FUNCTION): Removed.
10787 Include <support/test-driver.c> instead of
10788 "../../test-skeleton.c".
10789 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
10790 Check POPCNT instead of POPCOUNT.
10791 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
10792
7b36d26b
ST
107932018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
10794
10795 * scripts/gen-as-const.py (main): Avoid emitting empty line when
10796 there is no element in `consts'.
10797
02cd5c1a
FW
107982018-12-01 Florian Weimer <fweimer@redhat.com>
10799
10800 * support/support_capture_subprocess.c
10801 (support_capture_subprocess): Check that pipe descriptors have
10802 expected values. Close original pipe descriptors in subprocess.
10803
fc493bc9
ST
108042018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10805
10806 [BZ #23032]
10807 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
10808 attr with __pthread_default_barrierattr.
10809 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
10810 attr with __pthread_default_condattr.
10811 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
10812 attr with __pthread_default_mutexattr.
10813 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
10814 attr with __pthread_default_rwlockattr.
10815
6310e6be
KW
108162018-12-01 Kemi Wang <kemi.wang@intel.com>
10817
10818 * manual/tunables.texi (POSIX Thread Tunables): New node.
10819 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
10820 * nptl/nptl-init.c: Include pthread_mutex_conf.h
10821 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
10822 __pthread_tunables_init.
10823 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
10824 (max_adaptive_count): Define.
10825 * nptl/pthread_mutex_conf.c: New file.
10826 * nptl/pthread_mutex_conf.h: New file.
10827 * sysdeps/generic/adaptive_spin_count.h: New file.
10828 * sysdeps/nptl/dl-tunables.list: New file.
10829 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
10830 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
10831 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
10832 Likewise.
10833
8e67b39e
PP
108342018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
10835
10836 [BZ #20544]
10837 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
10838 * stdlib/on_exit.c (__on_exit): Likewise.
10839 * stdlib/Makefile (tests): Add tst-bz20544.
10840 * stdlib/tst-bz20544.c: New test.
10841
15b8d67e
RÁE
108422018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
10843
10844 [BZ #19767]
10845 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
10846 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
10847 New.
10848
5e63c240
FW
108492018-11-30 Florian Weimer <fweimer@redhat.com>
10850
10851 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
10852 Extend error logging.
10853 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
10854 symbol.
10855
71058602 108562018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14d0e87d 10857
5fb7fc96
AZ
10858 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
10859 __sigismember instead of sigismember.
10860 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
10861 cancel_handler): New definitions.
10862 (do_system): Use posix_spawn instead of fork and execl and remove
10863 reentracy code.
10864 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
10865 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
10866 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
10867 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10868 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10869 * sysdeps/unix/sysv/linux/system.c: Likewise.
10870
14d0e87d
AZ
10871 [BZ #22834]
10872 [BZ #17490]
10873 * NEWS: Add new semantic for atfork with popen and system.
10874 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
10875 fork and execl.
10876
e5d262ef
TMQMF
108772018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10878
10879 [BZ #23690]
10880 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
10881 modification order when accessing reloc_result->addr.
10882 * include/link.h (reloc_result): Add field init.
10883 * nptl/Makefile (tests): Add tst-audit-threads.
10884 (modules-names): Add tst-audit-threads-mod1 and
10885 tst-audit-threads-mod2.
10886 Add rules to build tst-audit-threads.
10887 * nptl/tst-audit-threads-mod1.c: New file.
10888 * nptl/tst-audit-threads-mod2.c: Likewise.
10889 * nptl/tst-audit-threads.c: Likewise.
10890 * nptl/tst-audit-threads.h: Likewise.
10891
7e1d4240
JM
108922018-11-30 Joseph Myers <joseph@codesourcery.com>
10893
10894 * scripts/gen-as-const.py: New file.
10895 * scripts/gen-as-const.awk: Remove.
10896 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
10897 gen-as-const.py.
10898 ($(objpfx)test-as-const-%.c): Likewise.
10899
ce7387cc
L
109002018-11-29 H.J. Lu <hongjiu.lu@intel.com>
10901
10902 * elf/dl-exception.c: Include <_itoa.h>.
10903
c6a5bdc1
ST
109042018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10905
10906 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
10907 returned by __f_setlk.
10908
a5275ba5
L
109092018-11-29 H.J. Lu <hongjiu.lu@intel.com>
10910 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10911
10912 * elf/Makefile (tests-internal): Add tst-create_format1.
10913 * elf/dl-exception.c (_dl_exception_create_format): Support
10914 %x, %lx and %zx.
10915 * elf/tst-create_format1.c: New file.
10916
3a67e81d
CAC
109172018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
10918
10919 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
10920 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
10921 gnulib.)
10922 * argp/argp-help.c (__argp_failure): Likewise.
10923
4975f0c3
MH
109242018-11-29 Mao Han <han_mao@c-sky.com>
10925
10926 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
10927 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
10928 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
10929 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
10930 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
10931 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
10932 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
10933 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
10934 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
10935 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
10936 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
10937 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
10938 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
10939 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
10940 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
10941 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
10942 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
10943 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
10944 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
10945 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
10946 (R_CKCORE_TLS_TPOFF32): New defines.
10947
250102c8
FW
109482018-11-29 Florian Weimer <fweimer@redhat.com>
10949
10950 * posix/Makefile (before-compile): Remove testcases.h and
10951 ptestcases.h.
10952 (generated): Add testcases.h and ptestcases.h.
10953 (testcases.h, ptestcases.h): Move to $(objpfx).
10954 (runtests.o): Add dependency on testcases.h.
10955 (runptests.o): Add dependency on ptestcases.h.
10956 * posix/testcases.h, posix/ptestcases.h: Remove files.
10957 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
10958 not touch posix/testcases.h and posix/ptestcases.h.
10959
96cd0558
FW
109602018-11-28 Florian Weimer <fweimer@redhat.com>
10961
10962 support: Add signal support to support_capture_subprocess_check.
10963 * support/capture_subprocess.h (support_capture_subprocess_check):
10964 Adjust comment and rename parameter.
10965 * support/support_capture_subprocess_check.c
10966 (print_actual_status): New function.
10967 (support_capture_subprocess_check): Support negative
10968 status_or_signal. Call print_actual_status.
10969 * support/tst-support_capture_subprocess.c (do_test): Call
10970 support_capture_subprocess_check.
10971 * libio/tst-vtables-common.c (termination_status)
10972 (init_termination_status): Remove.
10973 (check_for_termination): Adjust support_capture_subprocess_check
10974 call.
10975 (do_test): Remove call to init_termination_status.
10976
530504e3
JM
109772018-11-28 Joseph Myers <joseph@codesourcery.com>
10978
10979 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
10980 source directory instead of a copy.
10981 (CommandList.create_copy_dir): Remove.
10982
9a0b6970
SL
109832018-11-28 Stefan Liebler <stli@linux.ibm.com>
10984
10985 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10986
47d8d9a2
FW
109872018-11-28 Florian Weimer <fweimer@redhat.com>
10988
10989 * support/support.h (support_quote_string): Do not use str
10990 parameter name.
10991
b473b7d8
JM
109922018-11-27 Joseph Myers <joseph@codesourcery.com>
10993
10994 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
10995 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
10996
c74a91de
FW
109972018-11-27 Florian Weimer <fweimer@redhat.com>
10998
10999 * support/support.h (support_quote_string): Declare.
11000 * support/support_quote_string.c: New file.
11001 * support/tst-support_quote_string.c: Likewise.
11002 * support/Makefile (libsupport-routines): Add
11003 support_quote_string.
11004 (tests): Add tst-support_quote_string.
11005
d527c860
FW
110062018-11-27 Florian Weimer <fweimer@redhat.com>
11007
11008 [BZ #23927]
11009 CVE-2018-19591
11010 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
11011 descriptor leak in case of ENODEV error.
11012
979cfed0
RÁE
110132018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
11014
11015 [BZ #19767]
11016 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
11017 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
11018 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
11019
ce035c6e
CD
110202018-11-26 Carlos O'Donell <carlos@redhat.com>
11021
11022 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
11023 Error for unknown lines.
11024
2bd0bfcc
JM
110252018-11-26 Joseph Myers <joseph@codesourcery.com>
11026
11027 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
11028 Touch additional files.
11029
affec03b
FW
110302018-11-26 Florian Weimer <fweimer@redhat.com>
11031
11032 [BZ #23907]
11033 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
11034 double-frees.
11035
8ae74ead
RÁE
110362018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
11037
11038 [BZ #19767]
11039 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
11040 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
11041 SHARED. Include sysdep.h.
11042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
11043 ALWAYS_USE_VSYSCALL.
11044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
11045 ALWAYS_USE_VSYSCALL.
11046
1e8bdc3a
RÁE
110472018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
11048
11049 [BZ #19767]
11050 * nptl/Makefile (tests-static): Add tst-cond11-static.
11051 (tests): Likewise.
11052 * nptl/tst-cond11-static.c: New File.
11053 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
11054 tst-affinity-static.
11055 (tests): Likewise.
11056 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
11057 instead of SHARED.
11058 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
11059 (USE_VSYSCALL): Likewise.
11060 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
11061 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
11062 instead of SHARED.
11063 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
11064 SHARED.
11065 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
11066 New.
11067
1283c478
JM
110682018-11-23 Joseph Myers <joseph@codesourcery.com>
11069
11070 [BZ #23915]
11071 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11072 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
11073 Undefine.
11074
c089fd80
L
110752018-11-23 H.J. Lu <hongjiu.lu@intel.com>
11076
11077 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
11078 (tst-cet-legacy-1a-ARGS): New.
11079 ($(objpfx)tst-cet-legacy-1a): New target.
11080 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
11081
cc6c89fa
JM
110822018-11-22 Joseph Myers <joseph@codesourcery.com>
11083
95edd05c
JM
11084 * conform/conformtest.py (CompileSubTest.__init__): Set
11085 self.run_early to False.
11086 (ExecuteSubTest.__init__): Likewise.
11087 (HeaderTests.run): Try running all non-optional, non-XFAILed
11088 compilation tests in a single execution of the compiler.
11089
cc6c89fa
JM
11090 * conform/conformtest.py (CompileSubTest): New class.
11091 (ExecuteSubTest): Likewise.
11092 (ElementTest.run): Rename to gen_subtests. Append tests to
11093 self.subtests instead of running them.
11094 (ConstantTest.run): Likewise.
11095 (SymbolTest.run): Likewise.
11096 (TypeTest.run): Likewise.
11097 (TagTest.run): Likewise.
11098 (FunctionTest.run): Likewise.
11099 (VariableTest.run): Likewise.
11100 (MacroFunctionTest.run): Likewise.
11101 (MacroStrTest.run): Likewise.
11102 (HeaderTests.handle_test_line): Generate subtests for tests.
11103 (HeaderTests.run): Run subtests for tests.
11104
a502c529
SN
111052018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
11106
11107 * math/Versions (GLIBC_2.29): Add pow.
11108 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
11109 symbol.
11110 * math/w_pow.c: New file.
11111 * sysdeps/i386/fpu/w_pow.c: New file.
11112 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
11113 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
11114 and add necessary aliases.
11115 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
11116 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
11117 * sysdeps/mach/hurd/i386/libm.abilist: Update.
11118 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
11119 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
11120 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
11121 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
11122 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
11123 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
11124 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
11125 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
11126 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
11127 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
11128 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
11129 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
11130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
11131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
11132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
11133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
11134 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
11135 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
11136 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
11137 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
11138 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
11139 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
11140 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
11141 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
11142 __pow.
11143 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
11144 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
11145 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
11146
718d6542
SN
111472018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
11148
11149 * math/Versions (GLIBC_2.29): Add log2.
11150 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
11151 symbol.
11152 * math/w_log2.c: New file.
11153 * sysdeps/i386/fpu/w_log2.c: New file.
11154 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
11155 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
11156 and add necessary aliases.
11157 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
11158 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
11159 * sysdeps/mach/hurd/i386/libm.abilist: Update.
11160 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
11161 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
11162 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
11163 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
11164 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
11165 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
11166 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
11167 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
11168 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
11169 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
11170 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
11171 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
11172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
11173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
11174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
11175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
11176 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
11177 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
11178 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
11179 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
11180 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
11181 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
11182 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
11183
f29b7c49
SN
111842018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
11185
11186 * math/Versions (GLIBC_2.29): Add log.
11187 * math/w_log_compat.c (__log_compat): Change to versioned compat
11188 symbol.
11189 * math/w_log.c: New file.
11190 * sysdeps/i386/fpu/w_log.c: New file.
11191 * sysdeps/ia64/fpu/e_log.S: Update.
11192 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
11193 and add necessary aliases.
11194 * sysdeps/ieee754/dbl-64/w_log.c: New file.
11195 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
11196 * sysdeps/mach/hurd/i386/libm.abilist: Update.
11197 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
11198 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
11199 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
11200 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
11201 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
11202 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
11203 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
11204 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
11205 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
11206 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
11207 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
11208 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
11209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
11210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
11211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
11212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
11213 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
11214 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
11215 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
11216 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
11217 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
11218 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
11219 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
11220 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
11221 __log.
11222 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
11223 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
11224 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
11225 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
11226
c20a1056
SN
112272018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
11228
11229 * math/Versions (GLIBC_2.29): Add exp and exp2.
11230 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
11231 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
11232 * math/w_exp_compat.c (__exp_compat): Likewise.
11233 * math/w_exp.c: New file.
11234 * math/w_exp2.c: New file.
11235 * sysdeps/i386/fpu/w_exp.c: New file.
11236 * sysdeps/i386/fpu/w_exp2.c: New file.
11237 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
11238 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
11239 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
11240 and add necessary aliases.
11241 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
11242 and add necessary aliases.
11243 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
11244 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
11245 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
11246 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
11247 * sysdeps/mach/hurd/i386/libm.abilist: Update.
11248 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
11249 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
11250 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
11251 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
11252 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
11253 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
11254 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
11255 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
11256 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
11257 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
11258 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
11259 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
11260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
11261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
11262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
11263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
11264 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
11265 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
11266 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
11267 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
11268 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
11269 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
11270 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
11271 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
11272 (__ieee754_exp): Rename to __exp.
11273 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
11274 (__ieee754_exp): Rename to __exp.
11275 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
11276 (__ieee754_exp): Rename to __exp.
11277 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
11278 __exp.
11279 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
11280
bcdaad21
DD
112812018-11-20 DJ Delorie <dj@redhat.com>
11282
11283 * malloc/malloc.c (tcache_entry): Add key field.
11284 (tcache_put): Set it.
11285 (tcache_get): Likewise.
11286 (_int_free): Check for double free in tcache.
11287 * malloc/tst-tcfree1.c: New.
11288 * malloc/tst-tcfree2.c: New.
11289 * malloc/Makefile: Run the new tests.
11290 * manual/probes.texi: Document memory_tcache_double_free probe.
11291
11292 * dlfcn/dlerror.c (check_free): Prevent double frees.
11293
5770c0ad
WD
112942018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
11295
11296 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
11297
9a62a939
JM
112982018-11-20 Joseph Myers <joseph@codesourcery.com>
11299
11300 * conform/conformtest.py (ElementTest.run): Use unique identifiers
11301 in tests. Use names for format arguments.
11302 (ConstantTest.run): Likewise.
11303 (SymbolTest.run): Likewise.
11304 (TypeTest.run): Likewise.
11305 (TagTest.run): Likewise.
11306 (FunctionTest.run): Likewise.
11307 (VariableTest.run): Likewise.
11308 (MacroFunctionTest.run): Likewise.
11309 (MacroStrTest.run): Likewise.
11310 (HeaderTests.__init__): Set self.num_tests.
11311 (HeaderTests.handle_test_line): Set test.num. Increment
11312 self.num_tests.
11313
b15b1a95
ST
113142018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
11315
11316 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
11317 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
11318 SEEK_SET.
11319
0c7f97ae
MH
113202018-11-19 Mao Han <han_mao@c-sky.com>
11321
11322 * scripts/config.guess: Update to version 2018-08-29.
11323 * scripts/config.sub: Update to version 2018-08-29.
11324
35e3fbc4
FW
113252018-11-19 Florian Weimer <fweimer@redhat.com>
11326
11327 support: Print timestamps in timeout handler.
11328 * support/support_test_main.c (print_timestamp): New function.
11329 (signal_handler): Use it to print the termination time and the
11330 time of the last write to standard output.
11331
c75772e3
ZW
113322018-11-16 Zack Weinberg <zackw@panix.com>
11333 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11334
11335 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
11336 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
11337 argument.
11338 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
11339 and add flags argument. Check flags instead of __ldbl_is_dbl when
11340 deciding whether to set is_long_double.
11341 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
11342 passing zero for flags argument.
11343 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
11344
11345 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
11346 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
11347 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
11348 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
11349 variable names. Remove libc_hidden_def/libc_hidden_proto from
11350 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
11351 longer called from within the library.
11352 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
11353 for __nldbl___vstrfmon_l, declare it explicitly.
11354
11355 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
11356
346ef23f
ST
113572018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
11358
11359 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
11360 macros
11361 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
11362 F_SETLK64, F_SETLKW64, respectively.
11363 * sysdeps/mach/hurd/f_setlk.c: New file.
11364 * sysdeps/mach/hurd/f_setlk.h: New file.
11365 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
11366 f_setlk.
11367 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
11368 (__libc_fcntl): Move non-flock operations to...
11369 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
11370 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
11371
de20b81a
PE
113722018-11-15 Paul Eggert <eggert@cs.ucla.edu>
11373
5d8af156
PE
11374 mktime: DEBUG_MKTIME cleanup
11375 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
11376 And it’s no longer needed now that glibc and Gnulib both have
11377 their own testing mechanisms for mktime.
11378 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
11379
86aece3b
PE
11380 mktime: fix non-EOVERFLOW errno handling
11381 [BZ#23789]
11382 mktime was not properly reporting failures when the underlying
11383 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
11384 them like EOVERFLOW failures, and set errno to EOVERFLOW.
11385 The problem could happen on non-glibc platforms, with Gnulib.
11386 * time/mktime.c (guess_time_tm): Remove, replacing with ...
11387 (tm_diff): ... this simpler function, which does not change errno.
11388 All callers changed to deal with errno themselves.
11389 (ranged_convert, __mktime_internal): Return failure immediately if
11390 the underlying function reports any failure other than EOVERFLOW.
11391 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
11392 gap code fails.
11393
f6b3331b
PE
11394 mktime: fix bug with Y2038 DST transition
11395 [BZ#23789]
11396 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
11397 mishandle a DST transition that jumps over the Y2038 boundary.
11398 No such DST transitions are known so this is only a theoretical
11399 bug, but we might as well do things right.
11400
efbdddc3
PE
11401 mktime: make more room for overflow
11402 [BZ#23789]
11403 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
11404 This is so that we can add tm_diff results to a previous guess,
11405 which will be useful in a later patch.
11406
6c90d759
PE
11407 mktime: simplify offset guess
11408 [BZ#23789]
11409 * time/mktime.c (__mktime_internal): Omit excess precision.
11410
32c12f3f
PE
11411 mktime: new test for mktime failure
11412 [BZ#23789]
11413 Based on a test suggested by Albert Aribaud in:
11414 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
11415 * time/Makefile (tests): Add bug-mktime4.
11416 * time/bug-mktime4.c: New file.
11417
de20b81a
PE
11418 mktime: fix EOVERFLOW bug
11419 [BZ#23789]
11420 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
11421 Include libc-config.h, not config.h, for __set_errno.
11422 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
11423
8c6c3fb0
ST
114242018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
11425
11426 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
11427 __attribute_copy__ to copy attributes from name. Drop static qualifier
11428 to avoid warnings about leaf attribute not having effect on static
11429 functions.
11430
6923f6db
FW
114312018-11-13 Florian Weimer <fweimer@redhat.com>
11432
11433 * malloc/malloc.c (fastbin_push_entry): New function.
11434 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
11435 (REMOVE_FB): Remove macro.
11436 (_int_malloc): Use fastbin_pop_entry and reindent.
11437 (_int_free): Use fastbin_push_entry.
11438 (malloc_consolidate): Use atomic_exchange_acquire.
11439
53f5c659
JM
114402018-11-13 Joseph Myers <joseph@codesourcery.com>
11441
0c096dcf
JM
11442 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
11443 alias attribute, not with strong_alias.
11444
9c4b457e
JM
11445 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
11446 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
11447 with additional parameter thread.
11448 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
11449 in terms of __hidden_ver2.
11450 (hidden_tls_def): New macro.
11451 (libc_hidden_tls_def): Likewise.
11452 (rtld_hidden_tls_def): Likewise.
11453 (libm_hidden_tls_def): Likewise.
11454 (libmvec_hidden_tls_def): Likewise.
11455 (libresolv_hidden_tls_def): Likewise.
11456 (librt_hidden_tls_def): Likewise.
11457 (libdl_hidden_tls_def): Likewise.
11458 (libnss_files_hidden_tls_def): Likewise.
11459 (libnsl_hidden_tls_def): Likewise.
11460 (libnss_nisplus_hidden_tls_def): Likewise.
11461 (libutil_hidden_tls_def): Likewise.
11462 (libutil_hidden_tls_def): Likweise.
11463 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
11464 libc_hidden_tls_def.
11465 (__sim_disabled_exceptions_thread): Likewise.
11466 (__sim_round_mode_thread): Likewise.
11467
53f5c659
JM
11468 * sysdeps/sparc/sparc-ifunc.h [SHARED]
11469 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
11470 copy attributes from name.
11471
092dfde6
JM
114722018-11-12 Joseph Myers <joseph@codesourcery.com>
11473
f578f97b
JM
11474 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
11475 Use __attribute_copy__ to copy attributes from name.
11476
9a7c643a
JM
11477 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
11478 with __hidden_ver1 call.
11479 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
11480 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
11481 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
11482 (__cosf): Do not declare here.
11483 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
11484 (__sincosf): Do not declare here.
11485 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
11486 (__sinf): Do not declare here.
11487
092dfde6
JM
11488 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
11489 (__BIG_ENDIAN): Likewise.
11490 (__BYTE_ORDER): Likewise.
11491 (strong_alias): Likewise.
11492 (_strong_alias): Likewise.
11493
1ecba1fa
FW
114942018-11-12 Florian Weimer <fweimer@redhat.com>
11495
11496 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
11497 function. Move after the definition of in_smallbin_range. Do not
11498 use __builtin_expect for paths that lead to a noreturn function.
11499 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
11500 because it is unclear whether this is in fact an unlikely
11501 condition.
11502 (_int_malloc, _int_free): Adjust.
11503 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
11504 variables.
11505 * malloc/arena.c (heap_trim): Likewise.
11506
434c34bd
ST
115072018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11508
11509 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
11510 it, free it if needed.
11511 (reauthenticate): Test and use ccwdir.
11512 (child_init_port): In non-resetids case, test and use ccwdir.
11513 (child_chdir): New nested function to set ccwdir.
7fa495cd
ST
11514 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
11515 * hurd/hurd/port.h (_hurd_port_move): New function.
11516 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
11517 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
88b26b7e
ST
11518 * hurd/Versions (_hurd_port_move): Export function.
11519 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
11520 symbol.
58bb655a
ST
11521 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
11522 of dtablesize for allocating dtable_cloexec.
434c34bd 11523
1626a1cf
MS
115242018-11-09 Martin Sebor <msebor@redhat.com>
11525
11526 * include/libc-symbols.h (__attribute_copy__): Define macro unless
11527 it's already defined.
11528 (_strong_alias): Use __attribute_copy__.
11529 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
11530 * misc/sys/cdefs.h (__attribute_copy__): New macro.
11531 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
11532 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
11533 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
11534 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
11535 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
11536 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
11537 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
11538 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
11539 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
11540 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
11541 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
11542 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
11543 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
11544 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
11545 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
11546 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
11547 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
11548
968ed530
GG
115492018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11550
11551 * misc/tst-efgcvt.c: Include support/check.h and
11552 support/test-driver.c. Do not include test-skeleton.c.
11553 (error_count): Remove.
11554 (output_error): Replace increments to error_count with calls to
11555 support_record_failure.
11556 (output_r_error): Likewise.
11557 (special): Likewise.
11558 (do_test): Unconditionally return zero.
11559 (TEST_FUNCTION): Remove.
11560
c3ec0972
JM
115612018-11-09 Joseph Myers <joseph@codesourcery.com>
11562
91faaa93
JM
11563 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
11564 not $(@D)/scratch.
11565 ($(linknamespace-header-tests)): Likewise.
11566
c3ec0972
JM
11567 * conform/conformtest.py: New file.
11568 * conform/conformtest.pl: Remove.
11569 * conform/GlibcConform.pm: Likewise.
11570 * conform/glibcconform.py (KEYWORDS_C90): New constant.
11571 (KEYWORDS_C99): Likewise.
11572 (KEYWORDS): Likewise.
11573 * conform/Makefile ($(conformtest-header-tests)): Use
11574 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
11575 option. Use --header instead of --headers.
11576 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
11577 function entries.
11578 * conform/data/spawn.h-data: Likewise.
11579 * conform/data/fcntl.h-data (openat): Add space after function
11580 name.
11581 * conform/data/wchar.h-data (wcscasecmp): Likewise.
11582 (wcscasecmp_l): Likewise.
11583 * conform/data/termios.h-data (c_cc): Add space after element
11584 name.
11585
43257c33
GG
115862018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11587
11588 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
11589 instead of manually comparing and reporting mismatching strings.
11590 * misc/tst-ldbl-error.c (do_one_test): Likewise.
11591 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
11592
e5de3b5b
JM
115932018-11-08 Joseph Myers <joseph@codesourcery.com>
11594
11595 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
11596 __ASSUME_SOCKETCALL.
11597 * sysdeps/unix/sysv/linux/i386/kernel-features.h
11598 (__ASSUME_SOCKETCALL): Remove.
11599 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11600 (__ASSUME_SOCKETCALL): Likewise.
11601 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11602 (__ASSUME_SOCKETCALL): Likewise.
11603 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11604 (__ASSUME_SOCKETCALL): Likewise.
11605 * sysdeps/unix/sysv/linux/s390/kernel-features.h
11606 (__ASSUME_SOCKETCALL): Likewise.
11607 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11608 (__ASSUME_SOCKETCALL): Likewise.
11609 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11610 (__ASSUME_SOCKETCALL): Likewise.
11611
d524fa6c
L
116122018-11-08 H.J. Lu <hongjiu.lu@intel.com>
11613
11614 [BZ #23509]
11615 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
11616 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
11617 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
11618 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
11619 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
11620 lc_unknown.
11621
ac806026
AH
116222018-11-08 Alexandra Hájková <ahajkova@redhat.com>
11623
11624 [BZ #17630]
11625 * resolv/tst-resolv-network.c: Add test for getnetbyname.
11626
596cc360
JM
116272018-11-07 Joseph Myers <joseph@codesourcery.com>
11628
11629 [BZ #23867]
11630 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11631 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
11632 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11633 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
11634
00c86a37
AZ
116352018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11636
11637 * support/support_test_compare_string.c
11638 (support_test_compare_string): Fix printf format.
11639
1df872fd
FW
116402018-11-07 Florian Weimer <fweimer@redhat.com>
11641
11642 Implement TEST_COMPARE_STRING.
11643 * support/check.h (TEST_COMPARE_STRING): Define.
11644 (support_test_compare_string): Declare.
11645 * support/Makefile (libsupport-routines): Add
11646 support_test_compare_string.
11647 (tests): Add tst-test_compare_string.
11648 * support/support_test_compare_string.c: New file.
11649 * support/tst-test_compare_string.c: Likewise.
11650
295132ff
AS
116512018-11-07 Andreas Schwab <schwab@suse.de>
11652
11653 [BZ #23864]
11654 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
11655 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
11656 Undef.
11657
e143ceba
JM
116582018-11-06 Joseph Myers <joseph@codesourcery.com>
11659
11660 [BZ #23862]
11661 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11662 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
11663 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
11664 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
11665 Likewise.
11666
4a938cb2
FW
116672018-11-06 Florian Weimer <fweimer@redhat.com>
11668
11669 [BZ #17405]
11670 * posix/Makefile (routines): Add spawn_faction_addchdir.
11671 (tests): Add tst-spawn-chdir.
11672 * posix/Versions (GLIBC_2.29): Add
11673 posix_spawn_file_actions_addchdir_np.
11674 * posix/spawn_faction_addchdir.c: New file.
11675 * posix/spawn_faction_destroy.c
11676 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
11677 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
11678 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
11679 chdir_action.
11680 * posix/tst-spawn-chdir.c: New file.
11681 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
11682 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
11683 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
11684 posix_spawn_file_actions_addchdir_np.
11685 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
11686 Likewise.
11687 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
11688 Likewise.
11689 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
11690 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
11691 Likewise.
11692 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
11693 Likewise.
11694 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
11695 Likewise.
11696 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
11697 Likewise.
11698 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
11699 Likewise.
11700 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
11701 Likewise.
11702 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11703 (GLIBC_2.29): Likewise.
11704 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11705 (GLIBC_2.29): Likewise.
11706 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11707 (GLIBC_2.29): Likewise.
11708 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11709 (GLIBC_2.29): Likewise.
11710 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
11711 Likewise.
11712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11713 (GLIBC_2.29): Likewise.
11714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11715 (GLIBC_2.29): Likewise.
11716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11717 (GLIBC_2.29): Likewise.
11718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11719 (GLIBC_2.29): Likewise.
11720 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
11721 Likewise.
11722 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
11723 Likewise.
11724 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
11725 Likewise.
11726 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
11727 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
11728 Likewise.
11729 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
11730 Likewise.
11731 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
11732 Likewise.
11733 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
11734 Likewise.
11735
7597b0c7
GG
117362018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11737
11738 * misc/Makefile (tests): Add tst-ldbl-error.
11739 * misc/tst-ldbl-error.c: New file.
11740
9771e6cb
GG
117412018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11742
11743 * misc/Makefile (tests): Add tst-ldbl-warn.
11744 * misc/tst-ldbl-warn.c: New file.
11745
2c03961f
GG
117462018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11747
11748 * argp/Makefile (tests): Add tst-ldbl-argp.
11749 * argp/tst-ldbl-argp.c: New file.
11750
6d6ee046
AS
117512018-11-05 Arjun Shankar <arjun@redhat.com>
11752
11753 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
11754 __gconv_path_elem and call __gconv_get_path unconditionally.
11755
bd3b0fba
AS
117562018-11-05 Andreas Schwab <schwab@suse.de>
11757
11758 [BZ #22927]
11759 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
11760 creating the first helper thread failed.
11761
2e96e980
ST
117622018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
11763
11764 * sysdeps/mach/hurd/msync.c: New file.
11765
6e36266c
FW
117662018-11-02 Florian Weimer <fweimer@redhat.com>
11767
11768 * support/shell-container.c (copy_func): Call
11769 support_copy_file_range instead of copy_file_range to support
11770 cross-device copies.
11771
599f7bee
FW
117722018-11-02 Florian Weimer <fweimer@redhat.com>
11773
11774 * support/test-container.c: Include <libc-pointer-arith.h> for
11775 ALIGN_UP.
11776
ff48ea67
ZL
117772018-11-01 Zong Li <zong@andestech.com>
11778
af1d5782
ZL
11779 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
11780 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
11781 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
11782 (__FP_FRAC_SET_8): Add implementation for RV32 use.
11783
ff48ea67
ZL
11784 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
11785 variable to avoid overlap arguments.
11786
daea71c2
JM
117872018-11-01 Joseph Myers <joseph@codesourcery.com>
11788
eac4405a
JM
11789 * posix/bug-regex22.c (main): Use puts with distinct error
11790 messages for unexpected success of re_compile_pattern, not printf
11791 with NULL argument to %s.
11792
6f30e59f
JM
11793 * stdio-common/bug22.c: Include <libc-diag.h>.
11794 (do_test): Disable -Wformat-overflow= warnings around fprintf
11795 calls outputting more than INT_MAX characters.
11796 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
11797 around printf call with NULL %s argument.
11798
daea71c2
JM
11799 [BZ #23848]
11800 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
11801 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
11802 Undefine.
11803 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11804 (__ASSUME_RECVMSG_SYSCALL): Likewise.
11805 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11806 (__ASSUME_SENDTO_SYSCALL): Likewise.
11807 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11808 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
11809 [!__arch64__].
11810 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11811 (__ASSUME_CONNECT_SYSCALL): Likewise.
11812 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11813 (__ASSUME_RECVFROM_SYSCALL): Likewise.
11814 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
11815 Define.
11816 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
11817 Likewise.
11818 [__LINUX_KERNEL_VERSION >= 0x040400]
11819 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11820 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
11821 Remove.
11822 (listen): Likewise.
11823 (setsockopt): Likewise.
11824
8e3c00db
FN
118252018-11-01 Fredrik Noring <noring@nocrew.org>
11826
11827 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
11828 with the ISA override.
11829
ab74d59f 118302018-10-31 Rafael Ávila de Espíndola <rafael@espindo.la>
9c3dbdbe
RAE
11831
11832 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
11833 #endif.
11834
e3a88b3e
ST
118352018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11836
a67377e7 11837 * manual/errno.texi (EIEIO): Document how translators should
e3a88b3e 11838 translate the error message.
a67377e7
ST
11839 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
11840 printing trailing whitespaces refused by git.
11841 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
11842 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fc783076 11843 * hurd/Makefile (user-interfaces): Add pci.
e3a88b3e 11844
3ca235ed
JM
118452018-10-30 Joseph Myers <joseph@codesourcery.com>
11846
11847 * conform/linknamespace.py: New file.
11848 * conform/linknamespace.pl: Remove file.
11849 * conform/Makefile ($(linknamespace-header-tests)): Use
11850 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
11851 option.
11852
60708030
FW
118532018-10-30 Florian Weimer <fweimer@redhat.com>
11854
11855 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
11856 memory leaks.
11857
a91e9301
FW
118582018-10-30 Florian Weimer <fweimer@redhat.com>
11859
11860 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
11861
07da99aa
FW
118622018-10-30 Florian Weimer <fweimer@redhat.com>
11863
11864 * stdlib/tst-strtod-overflow.c (do_test): Switch to
11865 support_blob_repeat.
11866
f5e7e959
FW
118672018-10-30 Florian Weimer <fweimer@redhat.com>
11868
11869 Avoid spurious test failures in stdlib/test-bz22786.
11870 * support/Makefile (libsupport-routines): Add blob_repeat.
11871 (tests): Add tst-support_blob_repeat.
11872 * support/blob_repeat.h: New file.
11873 * support/blob_repeat.c: Likewise.
11874 * support/tst-support_blob_repeat.c: Likewise.
11875 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
11876 support_blob_repeat_allocate.
11877
2dd12baa
AS
118782018-10-30 Andreas Schwab <schwab@suse.de>
11879
11880 [BZ #23125]
11881 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
11882 Don't use tail call.
11883 * elf/tst-unwind-main.c: New file.
11884 * elf/Makefile (tests): Add tst-unwind-main.
11885 (CFLAGS-tst-unwind-main.c): Define.
11886
6b5c8607 118872018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
fec8bb7c
SAA
11888
11889 [BZ #23791]
11890 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
11891 n_cs_precedes to 0.
11892 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
11893
c6982f7e
JM
118942018-10-29 Joseph Myers <joseph@codesourcery.com>
11895
954cf3c2
JM
11896 * conform/glibcconform.py: Do not import shutil.
11897 (list_exported_functions): Use tempfile.TemporaryDirectory instead
11898 of mkdtemp.
11899
c6982f7e
JM
11900 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
11901 critic_missing for versions before 3.4.
11902 * configure: Regenerated.
11903 * manual/install.texi (Tools for Compilation): Document
11904 requirement for Python to build glibc.
11905 * INSTALL: Regenerated.
11906 * Rules [PYTHON]: Make code unconditional.
11907 * benchtests/Makefile [PYTHON]: Likewise.
11908 * conform/Makefile [PYTHON]: Likewise.
11909 * manual/Makefile [PYTHON]: Likewise.
11910 * math/Makefile [PYTHON]: Likewise.
11911
46a7f24c
ST
119122018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11913
11914 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
2d0d1d38 11915 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
b6e7c449 11916 answer to interrupt_operation, return EIEIO instead of EINTR.
5c81be53
ST
11917 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
11918 _hurd_intr_rpc_msg_about_to global point to start of controlled
11919 assembly snippet. Make it check canceled flag.
11920 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
11921 the _hurd_intr_rpc_msg_about_to point.
11922 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
11923 issue, remove cancel flag check.
46a7f24c 11924
e5b8756d
JM
119252018-10-26 Joseph Myers <joseph@codesourcery.com>
11926
11927 * scripts/build-many-glibcs.py: Remove compatibility for missing
11928 os.cpu_count and re.fullmatch.
11929
ba5b14c7
SN
119302018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
11931
11932 [BZ #23822]
11933 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
11934 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
11935 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
11936
fe61f17c
JM
119372018-10-25 Joseph Myers <joseph@codesourcery.com>
11938
11939 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
11940 macro.
11941
7c5e34d7
FW
119422018-10-25 Florian Weimer <fweimer@redhat.com>
11943
11944 [BZ #23562]
11945 [BZ #23821]
11946 XFAIL siginfo_t si_band conform test on sparc64.
11947 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
11948 (__SI_BAND_TYPE): Only override long int default type on sparc64.
11949 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11950 (conformtest-xfail-conds): Add sparc64-linux.
11951 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
11952 sparc64.
11953 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
11954
5b784e88
JM
119552018-10-25 Joseph Myers <joseph@codesourcery.com>
11956
11957 * elf/elf.h (NT_MIPS_DSP): New macro.
11958 (NT_MIPS_FP_MODE): Likewise.
11959
41432ebe
ZL
119602018-10-25 Zong Li <zong@andestech.com>
11961
11962 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
11963 name by adding the file extension (.so).
11964
d026efea
ST
119652018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
11966
11967 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
11968 (test-xfail-ISO11/threads.h/linknamespace,
11969 test-xfail-ISO11/threads.h/conform): Add.
11970
b71ac2b9
JM
119712018-10-24 Joseph Myers <joseph@codesourcery.com>
11972
11973 * math/gen-libm-test.py: Import os.
11974 (ALL_FLOATS_MANUAL): New constant.
11975 (ALL_FLOATS_SUFFIX): Likewise.
11976 (Ulps.all_functions): New function.
11977 (real_all_ulps): Likewise.
11978 (generate_err_table_sub): Likewise.
11979 (generate_err_table): Likewise.
11980 (main): Handle -s and -m options.
11981 * manual/libm-err-tab.pl: Remove.
11982 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
11983 instead of libm-err-tab.pl.
11984 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
11985 != no].
11986 * manual/install.texi (Tools for Compilation): Document
11987 requirement for Python to build manual.
11988 * INSTALL: Regenerated.
11989
6b5c8607 119902018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
d51f99ce
AA
11991
11992 * bits/time64.h: New file.
11993 * include/time.h: Replace internal_time_t with __time64_t.
11994 * posix/bits/types (__time64_t): Add.
11995 * stdlib/Makefile: Add bits/time64.h to includes.
11996 * time/tzfile.c: Replace internal_time_t with __time64_t.
11997
97d91fcc 119982018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2a973ab7
AZ
11999
12000 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
12001 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
12002 __posix_spawn_file_actions_init, __posix_spawnattr_init,
12003 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
12004 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
12005 prototype.
12006 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
12007 * posix/spawn_faction_addclose.c
12008 (__posix_spawn_file_actions_addclose): Add hidden definition.
12009 * posix/spawn_faction_adddup2.c
12010 (__posix_spawn_file_actions_adddup2): Likewise.
12011 * posix/spawn_faction_destroy.c
12012 (__posix_spawn_file_actions_destroy): Likewise.
12013 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
12014 Likewise.
12015 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
12016 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
12017 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
12018 Likewise.
12019 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
12020 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
12021 Likewise.
12022
2954daf0
AS
120232018-10-24 Andreas Schwab <schwab@suse.de>
12024
12025 [BZ #18093]
12026 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
12027 format cache.
12028 * elf/cache.c (print_cache): Likewise.
12029
6b5c8607 120302018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
a27a4f47
AA
12031
12032 * bits/timesize.h: New file.
12033 * stdlib/Makefile (headers): Add bits/timesize.h.
12034 * sysdeps/unix/sysv/linux/bits/msq-pad.h
12035 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
12036 * sysdeps/unix/sysv/linux/bits/sem-pad.h
12037 (__SEM_PAD_AFTER_TIME): Likewise.
12038 * sysdeps/unix/sysv/linux/bits/shm-pad.h
12039 (__SHM_PAD_AFTER_TIME): Likewise.
12040 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
12041 (__MSQ_PAD_BEFORE_TIME): Likewise.
12042 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
12043 (__SEM_PAD_BEFORE_TIME): Likewise.
12044 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
12045 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
12046 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
b39d961c
TS
12047 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
12048 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
12049 (__MSQ_PAD_BEFORE_TIME): Likewise.
a27a4f47
AA
12050 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
12051 (__SEM_PAD_BEFORE_TIME): Likewise.
12052 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
12053 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
12054 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
12055 (__MSQ_PAD_BEFORE_TIME): Likewise.
12056 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
12057 (__SEM_PAD_BEFORE_TIME): Likewise.
12058 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
12059 (__SHM_PAD_BEFORE_TIME): Likewise.
12060 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
12061 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
12062 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
12063
7cc65773
L
120642018-10-24 H.J. Lu <hongjiu.lu@intel.com>
12065
12066 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
12067 USE_RDTSCP is defined.
12068 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
12069 USE_RDTSCP is defined.
12070
c3d8dc45
AZ
120712018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12072
18ad0de6
AZ
12073 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
12074 defined.
12075
c3d8dc45
AZ
12076 [BZ #23709]
12077 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
12078 independently of other flags.
12079
f1034472
FW
120802018-10-23 Florian Weimer <fweimer@redhat.com>
12081
12082 * time/tst-mktime2.c (N_STRINGS): Remove.
12083 (set_timezone): New function.
12084 (spring_forward_gap): Call it. Use FAIL_EXIT1.
12085 (mktime_test1): Report localtime failure and check errno value.
12086 Use TEST_COMPARE.
12087 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
12088 (do_test): Remove alarm call. Use set_timezone and array_length.
12089
367d7cc2
AS
120902018-10-23 Andreas Schwab <schwab@suse.de>
12091
12092 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
12093 (__start_context): Use END instead of PSEUDO_END.
12094
be8ff03f
JM
120952018-10-22 Joseph Myers <joseph@codesourcery.com>
12096
029ad711
JM
12097 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12098 version to 4.19.
12099
8190520f
JM
12100 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12101 version to 4.19.
12102
be8ff03f
JM
12103 [BZ #23793]
12104 * wcsmbs/c32rtomb.c: New file.
12105 * wcsmbs/mbrtoc32.c: Likewise.
12106 * wcsmbs/tst-c32-state.c: Likewise.
12107 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
12108 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
12109 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
12110 (tests): Add tst-c32-state.
12111 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
12112 $(gen-locales).
12113
2dd8e58c
L
121142018-10-21 H.J. Lu <hongjiu.lu@intel.com>
12115
12116 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
12117 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
12118
d0a74159
JM
121192018-10-19 Joseph Myers <joseph@codesourcery.com>
12120
12121 [BZ #23794]
12122 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
12123 pair and return 0 in that case, and use saved character to
12124 interpret following character.
12125 * wcsmbs/tst-c16-surrogate.c: New file.
12126 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
12127 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
12128 Depend on $(gen-locales)
12129
f997b4be
IYM
121302018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
12131
12132 [BZ #23562]
12133 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
12134 (struct siginfo_t): Use correct type for si_band.
12135
53b2bb87
FW
121362018-10-19 Florian Weimer <fweimer@redhat.com>
12137
12138 [BZ #23689]
12139 * resource/bits/types/struct_rusage.h (struct rusage): Update
12140 comment on struct. Remove extraneous field comment.
12141
0a271c8f
DM
121422018-10-18 David S. Miller <davem@davemloft.net>
12143
94a3a27f
DM
12144 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
12145 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
12146 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
12147 sysdep_routines in subdir elf.
12148 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
12149 version for __vdso_clock_gettime.
12150 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
12151 Define.
12152 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
12153 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
12154
0a271c8f
DM
12155 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
12156
72771e53
L
121572018-10-17 H.J. Lu <hongjiu.lu@intel.com>
12158
12159 * sysdeps/i386/init-arch.h: Removed.
12160 * sysdeps/i386/i586/init-arch.h: Likewise.
12161 * sysdeps/i386/i686/init-arch.h: Likewise.
12162 * sysdeps/i386/i686/hp-timing.h: Likewise.
12163 * sysdeps/x86_64/hp-timing.h: Likewise.
12164 * sysdeps/i386/isa.h: New file.
12165 * sysdeps/i386/i586/isa.h: Likewise.
12166 * sysdeps/i386/i686/isa.h: Likewise.
12167 * sysdeps/x86_64/isa.h: Likewise.
12168 * sysdeps/x86/hp-timing.h: New file.
12169 * sysdeps/x86/init-arch.h: Include <isa.h>.
12170
c2b7ccad
JM
121712018-10-17 Joseph Myers <joseph@codesourcery.com>
12172
12173 * math/libm-test-pow.inc (pow_test_data): Do not allow
12174 divide-by-zero exception for pow(+/- 0, -Inf).
12175
26756e57
ZW
121762018-10-17 Zack Weinberg <zackw@panix.com>
12177
12178 * manual/job.texi (Job Control is Optional): Remove node, as
12179 job control has not been optional in quite some time.
12180 (Job Control): Mention briefly that systems older than
12181 POSIX.1-2001 might not support job control.
12182 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
12183 defined on systems conforming to POSIX.1-2001.
12184
c5288d37
AS
121852018-10-17 Arjun Shankar <arjun@redhat.com>
12186
12187 [BZ #22062]
12188 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
12189 indentation.
12190 * (__gconv_read_conf): Mark function static.
12191 * (once): New static variable.
12192 * (__gconv_load_conf): New function.
12193 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
12194 * iconv/gconv_db.c (once): Remove static variable.
12195 * (__gconv_compare_alias): Use __gconv_load_conf instead of
12196 __gconv_read_conf.
12197 * (__gconv_find_transform): Likewise.
12198 * iconv/tst-iconv-mt.c: New test.
12199 * iconv/Makefile: Add tst-iconv_mt.
12200
8c8d2a8a
JM
122012018-10-17 Joseph Myers <joseph@codesourcery.com>
12202
12203 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
729f3402
JM
12204 bits/shm-pad.h.
12205 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
12206 (shmatt_t): Define as __syscall_ulong_t.
12207 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
12208 and [__SHM_PAD_AFTER_TIME].
12209 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
12210 Define shm_segsz and associated padding based on
12211 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
12212 Use __syscall_ulong_t instead of unsigned long int.
12213 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
12214 unsigned long int.
12215 [__USE_MISC] (struct shm_info): Likewise.
12216 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
12217 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
12218 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
12219 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
12220 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
12221 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
12222 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
12223 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
12224 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
12225 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12226 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12227
12228 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8c8d2a8a
JM
12229 bits/shmlba.h.
12230 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
12231 (SHMLBA): Remove macro.
12232 (__getpagesize): Remove function declaration.
12233 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
12234 <bits/shmlba.h>.
12235 (SHMLBA): Remove macro.
12236 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
12237 <bits/shmlba.h>.
12238 (SHMLBA): Remove macro.
12239 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
12240 <bits/shmlba.h>.
12241 (SHMLBA): Remove macro.
12242 (__getpagesize): Remove function declaration.
12243 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
12244 <bits/shmlba.h>.
12245 (SHMLBA): Remove macro.
12246 (__getshmlba): Remove function declaration.
12247 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
12248 (SHMLBA): Remove macro.
12249 (__getpagesize): Remove function declaration.
12250 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
12251 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
12252 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
12253 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
12254 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
12255 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
12256 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
12257 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
12258 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
12259 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
12260
403b4feb
SL
122612018-10-17 Stefan Liebler <stli@linux.ibm.com>
12262
12263 [BZ #23275]
12264 * nptl/tst-mutex10.c: New File.
12265 * nptl/Makefile (tests): Add tst-mutex10.
12266 (tst-mutex10-ENV): New variable.
12267 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
12268 Ensure that elision path is used if elision is available.
12269 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
12270 Likewise.
12271 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
12272 Likewise.
12273 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
12274 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
12275 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
12276 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
12277 Likewise.
12278 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
12279 (__pthread_mutex_cond_lock_adjust): Likewise.
12280 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
12281 Likewise.
12282 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
12283 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
12284 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12285 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
12286 Add comments.
12287 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
12288 Use atomic_load_relaxed and atomic_store_relaxed.
12289 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
12290 Use atomic_store_relaxed.
12291
ce5a7de6
AS
122922018-10-17 Andreas Schwab <schwab@suse.de>
12293
12294 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
12295 * crypt/badsalttest.c (TIMEOUT): Likewise.
12296 * crypt/sha256c-test.c (TIMEOUT): Likewise.
12297 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
12298 * io/test-lfs.c (TIMEOUT): Likewise.
12299 * libio/tst-atime.c (TIMEOUT): Likewise.
12300 * localedata/tst-leaks.c (TIMEOUT): Likewise.
12301 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
12302 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
12303 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
12304 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
12305 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
12306 * nptl/tst-cond11.c (TIMEOUT): Likewise.
12307 * nptl/tst-cond14.c (TIMEOUT): Likewise.
12308 * nptl/tst-cond15.c (TIMEOUT): Likewise.
12309 * nptl/tst-cond24.c (TIMEOUT): Likewise.
12310 * nptl/tst-cond25.c (TIMEOUT): Likewise.
12311 * nptl/tst-kill2.c (TIMEOUT): Likewise.
12312 * nptl/tst-kill3.c (TIMEOUT): Likewise.
12313 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
12314 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
12315 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
12316 * nptl/tst-once2.c (TIMEOUT): Likewise.
12317 * nptl/tst-once3.c (TIMEOUT): Likewise.
12318 * nptl/tst-once4.c (TIMEOUT): Likewise.
12319 * nptl/tst-robust8.c (TIMEOUT): Likewise.
12320 * nptl/tst-robust9.c (TIMEOUT): Likewise.
12321 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
12322 * nptl/tst-sem14.c (TIMEOUT): Likewise.
12323 * nptl/tst-sem6.c (TIMEOUT): Likewise.
12324 * nptl/tst-signal3.c (TIMEOUT): Likewise.
12325 * nptl/tst-spin4.c (TIMEOUT): Likewise.
12326 * nptl/tst-tls3.c (TIMEOUT): Likewise.
12327 * nptl/tst-tls4.c (TIMEOUT): Likewise.
12328 * posix/tst-chmod.c (TIMEOUT): Likewise.
12329 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
12330 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
12331 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
12332 * posix/tst-regex2.c (TIMEOUT): Likewise.
12333 * posix/tst-waitid.c (TIMEOUT): Likewise.
12334 * rt/tst-aio.c (TIMEOUT): Likewise.
12335 * rt/tst-aio10.c (TIMEOUT): Likewise.
12336 * rt/tst-aio4.c (TIMEOUT): Likewise.
12337 * rt/tst-aio5.c (TIMEOUT): Likewise.
12338 * rt/tst-aio6.c (TIMEOUT): Likewise.
12339 * rt/tst-aio64.c (TIMEOUT): Likewise.
12340 * rt/tst-aio7.c (TIMEOUT): Likewise.
12341 * rt/tst-aio9.c (TIMEOUT): Likewise.
12342 * rt/tst-clock.c (TIMEOUT): Likewise.
12343 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
12344 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
12345 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
12346 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
12347 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
12348 * rt/tst-timer4.c (TIMEOUT): Likewise.
12349 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
12350 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
12351 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
12352 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
12353 * time/tst-ftime.c (TIMEOUT): Likewise.
12354 * timezone/tst-tzset.c (TIMEOUT): Likewise.
12355
6b5c8607 123562018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
75c1aee5
AY
12357
12358 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
12359 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
12360 for thunderX2.
12361
bcdb1bfa
JM
123622018-10-15 Joseph Myers <joseph@codesourcery.com>
12363
12364 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12365 bits/sem-pad.h.
12366 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
12367 instead of <bits/wordsize.h>.
12368 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
12369 and [__SEM_PAD_AFTER_TIME].
12370 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
12371 __syscall_ulong_t instead of unsigned long int.
12372 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
12373 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
12374 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
12375 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
12376 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
12377 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
12378 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
12379 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
12380 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12381 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12382 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12383
f4efbdfb
PE
123842018-10-14 Paul Eggert <eggert@cs.ucla.edu>
12385
620a5d4c
PE
12386 regex: simplify by using intprops.h
12387 [BZ#23744]
12388 * posix/regex_internal.h [_LIBC]: Include intprops.h.
12389 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
12390 intprops.h defines them.
12391
f4efbdfb
PE
12392 regex: __builtin_expect → __glibc_unlikely
12393 [BZ#23744]
12394 This refactoring was prompted by a problem when the regex code is
12395 used as part of Gnulib and when the builder’s compiler does not grok
12396 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
12397 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
12398 Although this refactoring does not fix the problem directly,
12399 we might as well have Gawk use the now-preferred glibc style for when
12400 __builtin_expect is unavailable.
12401 * posix/regex_internal.h (BE): Remove.
12402 All uses replaced by __glibc_unlikely or __glibc_likely.
12403
9f9feb6d
JM
124042018-10-11 Joseph Myers <joseph@codesourcery.com>
12405
12406 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12407 bits/msq-pad.h.
12408 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
12409 instead of <bits/wordsize.h>.
12410 (msgqnum_t): Define as __syscall_ulong_t.
12411 (msglen_t): Likewise.
12412 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
12413 and [__MSQ_PAD_AFTER_TIME].
12414 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
12415 __syscall_ulong_t instead of unsigned long int.
12416 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
12417 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
12418 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
12419 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
12420 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
12421 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
12422 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
12423 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
12424 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12425 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12426 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12427
b9c0f6c1
JM
124282018-10-10 Joseph Myers <joseph@codesourcery.com>
12429
2a4b25fa
JM
12430 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
12431 (struct shmid_ds): Condition padding after time fields on
12432 [__WORDSIZE == 32].
12433 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
12434 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
12435 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12436
19e62f26
JM
12437 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
12438 (struct semid_ds): Condition padding after time fields on
12439 [__WORDSIZE == 32].
12440 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
12441 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
12442 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
12443 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12444
b9c0f6c1
JM
12445 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
12446 (struct msqid_ds): Condition padding after time fields on
12447 [__WORDSIZE == 32].
12448 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
12449 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
12450 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
12451 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12452
97785a61
SN
124532018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
12454
12455 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
12456
ed643089
SN
124572018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
12458
12459 * libio/tst-readline.c (TIMEOUT): Define.
12460
5a580643
PE
124612018-10-08 Paul Eggert <eggert@cs.ucla.edu>
12462
12463 mktime fix for Gnulib + coreutils
12464 [BZ#23745]
12465 This fix affects only Gnulib. Problem discovered when
12466 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
12467 * time/mktime.c:
12468 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
12469 Do not define since it is not used. Defining an unused static
12470 function prompts a warning from GCC when Coreutils is configured
12471 with --enable-gcc-warnings.
12472
c892ae04
LS
124732018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12474
12475 * benchtests/scripts/compare_bench.py (main): set float type on
12476 threshold argument.
12477
ab74d59f 124782018-10-08 Rafał Lużyński <digitalfreak@lingonborough.com>
a68ec8ea
RL
12479
12480 [BZ #23740]
12481 * localedata/locales/kl_GL (mon): Update, the relative case.
12482 (alt_mon): Add, fill with month names in the nominative case.
12483 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
12484 (d_fmt): Set to "%b %d %Y".
12485
a1987621
JM
124862018-10-04 Joseph Myers <joseph@codesourcery.com>
12487
47c49251
JM
12488 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
12489 <bits/mman-linux.h>.
12490 (PROT_READ): Don't define here.
12491 (PROT_WRITE): Likewise.
12492 (PROT_EXEC): Likewise.
12493 (PROT_NONE): Likewise.
12494 (PROT_GROWSDOWN): Likewise.
12495 (PROT_GROWSUP): Likewise.
12496 (MAP_SHARED): Likewise.
12497 (MAP_PRIVATE): Likewise.
12498 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
12499 [__USE_MISC] (MAP_FILE): Likewise.
12500 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
12501 [__USE_MISC] (MAP_ANON): Likewise.
12502 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
12503 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
12504 (MCL_CURRENT): Likewise.
12505 (MCL_FUTURE): Likewise.
12506 (MCL_ONFAULT): Likewise.
12507 [__USE_MISC] (MADV_NORMAL): Likewise.
12508 [__USE_MISC] (MADV_RANDOM): Likewise.
12509 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
12510 [__USE_MISC] (MADV_WILLNEED): Likewise.
12511 [__USE_MISC] (MADV_DONTNEED): Likewise.
12512 [__USE_MISC] (MADV_FREE): Likewise.
12513 [__USE_MISC] (MADV_REMOVE): Likewise.
12514 [__USE_MISC] (MADV_DONTFORK): Likewise.
12515 [__USE_MISC] (MADV_DOFORK): Likewise.
12516 [__USE_MISC] (MADV_HWPOISON): Likewise.
12517 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
12518 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
12519 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
12520 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
12521 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
12522 (__MAP_ANONYMOUS): New macro.
12523 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
12524 <bits/mman-linux.h> inclusion.
12525 (MAP_FIXED): Likewise.
12526 (MS_SYNC): Likewise.
12527 (MS_ASYNC): Likewise.
12528 (MS_INVALIDATE): Likewise.
12529 [__USE_MISC] (MADV_MERGEABLE): Likewise.
12530 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
12531 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
12532 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
12533 [__USE_MISC] (MADV_DONTDUMP): Likewise.
12534 [__USE_MISC] (MADV_DODUMP): Likewise.
12535 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
12536 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
12537
a1987621
JM
12538 [BZ #23735]
12539 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
12540 Define.
12541 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
12542 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
12543 Add test-nldbl-redirect.
12544 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
12545 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
12546 $(objpfx)libnldbl_nonshared.a.
12547
e7624d70
SL
125482018-10-04 Stefan Liebler <stli@linux.ibm.com>
12549
12550 * support/support.h (support_objdir_elf_ldso): New variable.
12551 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
12552 * support/Makefile (CFLAGS-support_paths.c): Add definition
12553 for OBJDIR_ELF_LDSO_PATH.
12554 * support/test-container.c (main): Search for the ld.so
12555 which is also used by the testsuite.
12556
ab74d59f 125572018-10-02 Rafał Lużyński <digitalfreak@lingonborough.com>
dae3ed95
RL
12558
12559 [BZ #20209]
12560 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
12561 should be "sap" rather than "sab".
12562 (day): Fix spelling of Sunday, should be "sapaat" rather than
12563 "sabaat".
12564
f346b5b3
JM
125652018-10-02 Joseph Myers <joseph@codesourcery.com>
12566
12567 * math/libm-test-fma.inc (fma_test_data): Add more tests.
12568
4a06ceea
MJ
125692018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
12570
12571 [BZ #19444]
12572 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
12573 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
12574 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
12575
a06fc4a5
AZ
125762018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12577
12578 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
12579
a1ccc065
L
125802018-10-02 H.J. Lu <hongjiu.lu@intel.com>
12581
12582 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
12583 Add -mrtm.
12584 (CFLAGS-elision-unlock.c): Likewise.
12585 (CFLAGS-elision-timed.c): Likewise.
12586 (CFLAGS-elision-trylock.c): Likewise.
12587 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
12588
0b727ed4
AZ
125892018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12590
12591 [BZ #21037]
12592 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
12593 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
12594 new fd_to_filename interface.
12595 * libio/freopen64.c (freopen64): Likewise.
12596 * libio/tst-memstream.h: New file.
12597 * libio/tst-memstream4.c: Likewise.
12598 * libio/tst-wmemstream4.c: Likewise.
12599 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
12600 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
12601 and remove internal dynamic allocation.
12602
d0e91e8c
JM
126032018-10-01 Joseph Myers <joseph@codesourcery.com>
12604
12605 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
12606 (MREMAP_MAYMOVE): Do not define here.
12607 [__USE_GNU] (MREMAP_FIXED): Likewise.
12608 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
12609 (MREMAP_MAYMOVE): Define here instead.
12610 [__USE_GNU] (MREMAP_FIXED): Likewise.
12611 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
12612 (MREMAP_MAYMOVE): Remove.
12613 [__USE_GNU] (MREMAP_FIXED): Likewise.
12614
c52944e8
JM
126152018-09-28 Joseph Myers <joseph@codesourcery.com>
12616
12617 * math/fromfp.h: Do not include <math_private.h>.
12618 * math/s_cacosh_template.c: Likewise.
12619 * math/s_casin_template.c: Likewise.
12620 * math/s_casinh_template.c: Likewise.
12621 * math/s_ccos_template.c: Likewise.
12622 * math/s_cproj_template.c: Likewise.
12623 * math/s_fdim_template.c: Likewise.
12624 * math/s_fmaxmag_template.c: Likewise.
12625 * math/s_fminmag_template.c: Likewise.
12626 * math/s_iseqsig_template.c: Likewise.
12627 * math/s_ldexp_template.c: Likewise.
12628 * math/s_nextdown_template.c: Likewise.
12629 * math/w_log1p_template.c: Likewise.
12630 * math/w_scalbln_template.c: Likewise.
12631 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
12632 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
12633 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
12634 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
12635 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
12636 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
12637 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
12638 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
12639 * sysdeps/i386/fpu/s_atanl.c: Likewise.
12640 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
12641 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12642 * sysdeps/i386/fpu/s_fdim.c: Likewise.
12643 * sysdeps/i386/fpu/s_logbl.c: Likewise.
12644 * sysdeps/i386/fpu/s_rintl.c: Likewise.
12645 * sysdeps/i386/fpu/s_significandl.c: Likewise.
12646 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
12647 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
12648 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12649 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12650 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12651 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12652 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
12653 * sysdeps/ieee754/k_standardf.c: Likewise.
12654 * sysdeps/ieee754/k_standardl.c: Likewise.
12655 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12656 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
12657 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
12658 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
12659 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
12660 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
12661 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
12662 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12663 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12664 * sysdeps/ieee754/s_signgam.c: Likewise.
12665 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
12666 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
12667 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
12668 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12669 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12670 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
12671 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12672 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
12673 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12674 * sysdeps/riscv/rvd/s_finite.c: Likewise.
12675 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
12676 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
12677 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
12678 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
12679 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
12680 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
12681 * sysdeps/riscv/rvf/fegetround.c: Likewise.
12682 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
12683 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
12684 * sysdeps/riscv/rvf/fesetround.c: Likewise.
12685 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
12686 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
12687 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
12688 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12689 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
12690 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12691 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
12692 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
12693 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
12694 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
12695 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
12696 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
12697 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
12698 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
12699 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12700 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12701 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
12702 <math_private.h>.
12703 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
12704
7b1f9406
L
127052018-09-28 H.J. Lu <hongjiu.lu@intel.com>
12706
12707 [BZ #23716]
12708 * sysdeps/i386/dl-cet.c: Removed.
12709 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
12710 prototype.
12711 (_dl_runtime_profile_shstk): Likewise.
12712 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
12713 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
12714
7a16bdbb
AZ
127152018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12716
12717 [BZ #23579]
12718 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
12719 do_test_with_invalid_iov): New tests.
12720 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
12721 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
12722 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
12723 errno is ENOSYS.
12724 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
12725 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
12726 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
12727
9755bc46
JM
127282018-09-27 Joseph Myers <joseph@codesourcery.com>
12729
81dca813
JM
12730 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12731 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
12732 (MATH_REDIRECT_BINARY_ARGS): New macro.
12733 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12734 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
12735 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
12736 header inclusion.
12737 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
12738 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12739 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
12740 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12741 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12742 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12743 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
12745 Likewise.
12746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
12747 Likewise.
12748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
12749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
12750 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
12751 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
12752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
12753 Likewise.
12754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
12755 Likewise.
12756 * sysdeps/generic/math_private_calls.h
12757 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
12758 Do not declare and define as an inline function.
12759 * math/divtc3.c (__divtc3): Use copysign functions instead of
12760 __copysign variants.
12761 * math/multc3.c (__multc3): Likewise.
12762 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
12763 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
12764 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12765 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12766 Likewise.
12767 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12768 (__ieee754_yn): Likewise.
12769 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12770 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
12771 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
12772 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12773 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
12774 (__sin): Likewise.
12775 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12776 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
12777 Likewise.
12778 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
12779 Likewise.
12780 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
12781 Likewise.
12782 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12783 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12784 Likewise.
12785 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12786 (__ieee754_ynf): Likewise.
12787 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
12788 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
12789 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
12790 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12791 Likewise.
12792 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12793 (__ieee754_ynl): Likewise.
12794 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
12795 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
12796 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12797 Likewise.
12798 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12799 (__ieee754_ynl): Likewise.
12800 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
12801 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12802 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12803 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12804 Likewise.
12805 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12806 (__ieee754_ynl)
12807 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
12808 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
12809 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
12810 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12811 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12812
9755bc46
JM
12813 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12814 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
12815 using MATH_REDIRECT.
12816 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
12817 header inclusion.
12818 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
12819 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12820 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12821 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
12822 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12823 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12824 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
12826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
12827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
12828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
12829 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12830 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12831 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12832 (round): Redirect to __round.
12833 (__roundl): Call round instead of __round.
12834 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
12835 Remove macro.
12836 [_ARCH_PWR5X] (__roundf): Likewise.
12837 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
12838 functions instead of __round variants.
12839 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12840 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
12841 Likewise.
12842 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
12843 Likewise.
12844 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
12845 Likewise.
12846 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
12847 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
12848 __lroundl.
12849 (__ieee754_expl): Call roundl instead of __roundl.
12850
f841c97e
AS
128512018-09-27 Andreas Schwab <schwab@suse.de>
12852
12853 [BZ #23717]
12854 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
12855 (do_test): Make st1 static.
12856
6ca8284e
AS
128572018-09-26 Andreas Schwab <schwab@suse.de>
12858
12859 [BZ #23707]
12860 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
12861 * elf/Makefile (tests): Add tst-unwind-ctor.
12862 (modules-names): Add tst-unwind-ctor-lib.
12863 ($(objpfx)tst-unwind-ctor): Depend on
12864 $(objpfx)tst-unwind-ctor-lib.so.
12865
61d8b5fe
JM
128662018-09-26 Joseph Myers <joseph@codesourcery.com>
12867
12868 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
12869 file. Most contents moved from ....
12870 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
12871 and include <bits/mman-map-flags-generic.h>.
12872 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12873 (sysdep_headers): Add bits/mman-map-flags-generic.h.
12874 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
12875 <bits/mman-map-flags-generic.h>.
12876 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
12877 macros defined in <bits/mman-map-flags-generic.h>.
12878 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
12879 <bits/mman-map-flags-generic.h>.
12880 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
12881 defined in <bits/mman-map-flags-generic.h>.
12882
46341286
AS
128832018-09-26 Andreas Schwab <schwab@suse.de>
12884
12885 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
12886 output.
12887
b5c45e83
AZ
128882018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
12889 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12890 Fangrui Song <maskray@google.com>
12891
12892 [BZ #20480]
12893 * config.make.in (have-textrel_ifunc): New define.
12894 * configure.ac: Add check if linker supports textrel relocation with
12895 ifunc.
12896 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
12897 tst-ifunc-textrel.
12898 (CFLAGS-tst-ifunc-textrel.c): New rule.
12899 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
12900 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
12901 * elf/tst-ifunc-textrel.c: New file.
12902
8ea4d2b7
JM
129032018-09-25 Joseph Myers <joseph@codesourcery.com>
12904
d62f9ec0
JM
12905 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
12906 <bits/procfs-prregset.h>.
12907 (prgregset_t): Define using __prgregset_t.
12908 (prfpregset_t): Define using __prfpregset_t.
12909 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12910 (sysdep_headers): Add bits/procfs-prregset.h.
12911 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
12912 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
12913 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
12914 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
12915
d0d8eb43
JM
12916 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
12917 <bits/procfs-id.h> and <bits/procfs-extra.h>.
12918 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
12919 pr_uid and pr_gid.
12920 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12921 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
12922 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
12923 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
12924 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
12925 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
12926 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
12927 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
12928 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
12929 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
12930 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
12931 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
12932 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
12933 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
12934 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
12935 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
12936 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
12937 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
12938 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
12939 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
12940 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
12941 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
12942 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12943 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
12944
8ea4d2b7
JM
12945 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
12946 AArch64 version. Include <bits/procfs.h>.
12947 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12948 (sysdep_headers): Add bits/procfs.h.
12949 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
12950 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
12951 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
12952 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
12953 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
12954 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
12955 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
12956 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
12957 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
12958 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
12959 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
12960 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
12961 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
12962 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
12963 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
12964 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12965 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
12966
c7027166
AZ
129672018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12968
12969 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
12970 Use libsupport.
12971
335a3b0a
AS
129722018-09-25 Arjun Shankar <arjun@redhat.com>
12973
12974 * iconv/gconv_int.h (__gconv_path_elem): Remove.
12975 (__gconv_max_path_elem_len): Likewise.
12976 (__gconv_nmodules): Likewise.
12977 (__gconv_get_path): Likewise.
12978 (path_elem): Move to ...
12979 * iconv/gconv_conf.c: ... here.
12980 (__gconv_get_path): Mark function static.
12981 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
12982 * iconv/gconv_open.c: ... here.
12983
462d348c
AS
129842018-09-24 Andreas Schwab <schwab@suse.de>
12985
12986 * scripts/haveversions.awk: New file.
12987 * Makerules ($(common-objpfx)Versions.def)
12988 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
12989 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
12990 Move rules ...
12991 * Makeconfig ($(common-objpfx)Versions.def)
12992 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
12993 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
12994 ... here.
12995 ($(common-objpfx)Versions.mk): New rule. Include it.
12996 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
12997 Emit error if build-obsolete-nsl = yes.
12998 * manual/install.texi (Configuring and compiling): Describe
12999 --enable-obsolete-nsl as unavaiable after version 2.28.
13000 * INSTALL: Regenerate.
13001
f0458cf4
AZ
130022018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13003
13004 * NEWS: Add note about new TLE support on powerpc64le.
13005 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
13006 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
13007 __ununsed1.
13008 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
13009 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
13010 * sysdeps/powerpc/powerpc32/sysdep.h,
13011 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
13012 ABORT_TRANSACTION): Remove macros.
13013 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
13014 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
13015 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
13016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
13017 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13018 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
13019 usage.
13020 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
13021
ab74d59f 130222018-09-21 Rafał Lużyński <digitalfreak@lingonborough.com>
434d45fd
RL
13023
13024 [BZ #10425]
13025 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
13026 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
13027 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
13028 which is the same as in it_IT.
13029 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
13030 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
13031
d90c9b1a
JM
130322018-09-20 Joseph Myers <joseph@codesourcery.com>
13033
7abf97be
JM
13034 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
13035 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
13036 using MATH_REDIRECT.
13037 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
13038 header inclusion.
13039 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
13040 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13041 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
13042 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13043 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13044 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
13046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
13047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
13048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
13049 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
13050 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
13051 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
13052 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
13053 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
13054 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
13055 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
13056 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
13057 (ceil): Redirect to __ceil.
13058 (floor): Redirect to __floor.
13059 (trunc): Redirect to __trunc.
13060 (__truncl): Call trunc instead of __trunc.
13061 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
13062 Remove macro.
13063 [_ARCH_PWR5X] (__truncf): Likewise.
13064 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
13065 trunc functions instead of __trunc variants.
13066 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
13067 Likewise.
13068 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
13069 Likewise.
13070 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13071 Likewise.
13072 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13073 Likewise.
13074
d90c9b1a
JM
13075 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
13076 [__i586__ || __pentium__].
13077 [__i486__]: Handle explicitly.
13078 (HAS_CPUID): Define to 1 if above macros are undefined.
13079 (HAS_I586): Likewise.
13080 (HAS_I686): Likewise.
13081
db9a8ad4
FW
130822018-09-20 Florian Weimer <fweimer@redhat.com>
13083
13084 * misc/tst-gethostid.c: New file.
13085 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
13086 (tst-gethostid): Link with -ldl.
13087
1214ba06
MY
130882018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
13089
13090 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
13091 value from gethostbyname_r.
13092
791b350d
CD
130932018-09-19 Carlos O'Donell <carlos@redhat.com>
13094
13095 * stdlib/tst-setcontext9.c (f1): Rename to...
13096 (f1a): ... this.
13097 (f1b): New function implementing lower half of f1 in alternate stack.
13098
8e6fd2bd
PE
130992018-09-19 Paul Eggert <eggert@cs.ucla.edu>
13100
e1080e7e
PE
13101 Fix mktime localtime offset confusion
13102 [BZ #23603]
13103 * include/time.h (__mktime_internal): The localtime offset is now
13104 of type long int instead of time_t. This is the longstanding type
13105 in glibc, and it is more than enough to represent difference
13106 between localtime and gmtime even if it is 32 bits and time_t is
13107 64. Changing it now will let us avoid an unnecessary change when
13108 time_t is widened to 64 bits on 32-bit platforms.
13109 * time/mktime-internal.h (mktime_offset_t): Now long int.
13110
8e6fd2bd
PE
13111 Merge mktime, timegm from upstream Gnulib
13112 [BZ #23603][BZ #16346]
13113 This fixes some obscure problems with integer overflow.
13114 Although it looks scary, it is almost all a byte-for-byte copy
13115 from Gnulib, and the Gnulib code has been tested reasonably well.
13116 * include/intprops.h: New file, copied from Gnulib.
13117 * include/verify.h, time/mktime-internal.h:
13118 New tiny files, simplified from Gnulib.
13119 * time/mktime.c: Copy from Gnulib. This has the following changes:
13120 Do not include config.h if DEBUG_MKTIME is nonzero.
13121 Include stdbool.h, intprops.h, verify.h.
13122 Include string.h only if needed.
13123 Include stdlib.h on MS-Windows.
13124 Include mktime-internal.h.
13125 (DEBUG_MKTIME): Default to 0, and simplify later uses.
13126 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
13127 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
13128 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
13129 simplify later conditionals; default the others to zero. Use
13130 these conditionals to express only the code needed on the current
13131 platform. In uses of these conditionals, explicitly spell out how
13132 _LIBC affects things, so it’s easier to review from a glibc
13133 viewpoint.
13134 (WRAPV): Remove; no longer needed now that we have
13135 systematic overflow checking.
13136 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
13137 compartmentalize tzset issues. Move system-dependent tzsettish
13138 code here from mktime.
13139 (verify): Remove; now done by verify.h. All uses changed.
13140 (long_int): Use a more-conservative definition, to avoid
13141 integer overflow.
13142 (SHR): Remove, replacing with ...
13143 (shr): New function, which means we needn’t worry about side
13144 effects in args, and conversion analysis is simpler.
13145 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
13146 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
13147 (time_t_avg, time_t_add_ok): Remove.
13148 (mktime_min, mktime_max): New constants.
13149 (leapyear, isdst_differ): Use bool for booleans.
13150 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
13151 Use long_int, not time_t, for mktime differences.
13152 (long_int_avg): New function, replacing time_t_avg.
13153 INT_ADD_WRAPV replaces time_t_add_ok.
13154 (guess_time_tm): 6th arg is now long_int, not time_t const *.
13155 All uses changed.
13156 (convert_time): New function.
13157 (ranged_convert): Use it.
13158 (__mktime_internal): Last arg now points to mktime_offset_t, not
13159 time_t. All uses changed. This is a no-op on glibc, where
13160 mktime_offset_t is always time_t. Use int, not time_t, for UTC
13161 offset guess. Directly check for integer overflow instead of
13162 using a heuristic that works only 99.9...% of the time.
13163 Access *OFFSET only once, to avoid an unlikely race if the
13164 compiler delays a load and if this cascades into a signed integer
13165 overflow.
13166 (mktime): Move tzsettish code to my_tzset, and move
13167 localtime_offset to within mktime so that it doesn’t
13168 need a separate ifdef.
13169 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
13170 instead of localtime.
13171 * time/timegm.c: Copy from Gnulib. This has the following changes:
13172 Include mktime-internal.h.
13173 [!_LIBC]: Include config.h and time.h. Do not include
13174 timegm.h or time_r.h. Make __mktime_internal a macro,
13175 and include mktime-internal.h to get its declaration.
13176 (timegm): Temporary is now mktime_offset_t, not time_t.
13177 This affects only Gnulib.
13178
83a552b0
WD
131792018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
13180
13181 [BZ #23637]
13182 * string/test-strstr.c (pr23637): New function.
13183 (test_main): Add tests with longer needles.
13184 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
13185 * string/strstr.c (AVAILABLE): Likewise.
13186
d7347278
SN
131872018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
13188
13189 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
13190
424c4f60
SN
131912018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
13192
13193 * NEWS: Mention pow improvements.
13194 * math/Makefile (type-double-routines): Add e_pow_log_data.
13195 * sysdeps/generic/math_private.h (__exp1): Remove.
13196 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
13197 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
13198 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
13199 contraction.
13200 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
13201 (exp_inline): Remove.
13202 (__ieee754_exp): Only single double input is handled.
13203 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
13204 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
13205 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
13206 (__pow_log_data): Define.
13207 * sysdeps/ieee754/dbl-64/upow.h: Remove.
13208 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
13209 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
13210 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
13211 contraction.
13212 (CFLAGS-e_pow-fma4.c): Likewise.
13213
e4e4fde5
PE
132142018-09-18 Paul Eggert <eggert@cs.ucla.edu>
13215
dab9c348
PE
13216 Simplify tzfile fstat failure code
13217 [BZ #21716]
13218 * time/tzfile.c (__tzfile_read): Simplify slightly.
13219
e4e4fde5
PE
13220 Fix tzfile low-memory assertion failure
13221 [BZ #21716]
13222 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
13223 when registering time zone abbreviations.
13224
50bc59ca
JM
132252018-09-18 Joseph Myers <joseph@codesourcery.com>
13226
d3a43e49
JM
13227 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
13228 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
13229 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
13230 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
13231 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
13232 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
13233 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
13234 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13235 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13236
50bc59ca
JM
13237 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
13238 __ceil.
13239 (__ceill): Call ceil instead of __ceil.
13240 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
13241 __floor.
13242 (__floorl): Call floor instead of __floor.
13243
89983cb3
JM
132442018-09-17 Joseph Myers <joseph@codesourcery.com>
13245
71223ef9
JM
13246 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
13247 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
13248 using MATH_REDIRECT.
13249 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
13250 header inclusion.
13251 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
13252 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13253 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13254 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
13255 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13256 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13257 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
13258 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
13259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
13260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
13261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
13262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
13263 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
13264 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
13265 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
13266 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
13267 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
13268 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
13269 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
13270 Remove macro.
13271 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
13272 functions instead of __ceil variants.
13273 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
13274 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
13275 Likewise.
13276 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
13277 Likewise.
13278 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
13279 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
13280 Likewise.
13281 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
13282 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
13283
89983cb3
JM
13284 [BZ #21286]
13285 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
13286 constant.
13287 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
13288 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
13289 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
13290 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
13291 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
13292 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
13293 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
13294 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
13295 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
13296 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
13297 (ILL_BADIADDR): Remove constant.
13298 (TRAP_BRANCH): Likewise.
13299 (TRAP_HWBKPT): Likewise.
13300
e44acb20
JM
133012018-09-14 Joseph Myers <joseph@codesourcery.com>
13302
3f7f1d18
JM
13303 [BZ #23656]
13304 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
13305 Remove [_MIPS_SIM = _ABIN32] conditional case.
13306 (struct elf_prpsinfo): Likewise.
13307
d59f3e5e
JM
13308 [BZ #23649]
13309 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
13310 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
13311 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
13312 Likewise.
13313 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
13314 elf_prpsinfo): Likewise.
13315 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
13316 elf_prpsinfo): Likewise.
13317 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
13318 Likewise.
13319
f29b6f17
JM
13320 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
13321 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
13322 using MATH_REDIRECT.
13323 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
13324 header inclusion.
13325 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
13326 * sysdeps/alpha/fpu/s_rint.c: Likewise.
13327 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
13328 * sysdeps/i386/fpu/s_rintl.c: Likewise.
13329 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13330 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13331 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
13332 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13333 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13334 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13335 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
13336 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
13337 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
13338 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
13339 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
13340 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13341 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13342 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
13343 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
13344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
13345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
13346 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
13347 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
13348 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
13349 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
13350 * sysdeps/x86_64/fpu/math_private.h: Remove file.
13351 * math/e_scalb.c (invalid_fn): Use rint functions instead of
13352 __rint variants.
13353 * math/e_scalbf.c (invalid_fn): Likewise.
13354 * math/e_scalbl.c (invalid_fn): Likewise.
13355 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
13356 Likewise.
13357 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
13358 Likewise.
13359 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
13360 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
13361 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
13362 Likewise.
13363 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13364 Likewise.
13365 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13366 Likewise.
13367 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
13368 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
13369
e44acb20
JM
13370 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
13371 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
13372 New macro.
13373 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
13374 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
13375 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
13376 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
13377 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
13378 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
13379 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
13380 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
13381 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
13382 && !NO_MATH_REDIRECT] (floor): Likewise.
13383 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
13384 header inclusion.
13385 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
13386 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13387 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13388 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
13389 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13390 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13391 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
13392 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
13393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
13394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
13395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
13396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
13397 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
13398 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
13399 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
13400 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
13401 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
13402 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
13403 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
13404 Remove macro.
13405 [_ARCH_PWR5X] (__floorf): Likewise.
13406 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
13407 inline function.
13408 [__SSE4_1__] (__floorf): Likewise.
13409 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
13410 instead of __floor variants.
13411 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
13412 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
13413 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
13414 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
13415 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
13416 * math/w_tgamma_compat.c (__tgamma): Likewise.
13417 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
13418 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
13419 * math/w_tgammal_compat.c (__tgammal): Likewise.
13420 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
13421 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
13422 Likewise.
13423 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
13424 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
13425 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
13426 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13427 Likewise.
13428 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13429 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
13430 Likewise.
13431 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
13432 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
13433 Likewise.
13434 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13435 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
13436 Likewise.
13437 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13438 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
13439 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
13440 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
13441 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
13442 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
13443
221e4bab
JM
134442018-09-12 Joseph Myers <joseph@codesourcery.com>
13445
13446 * elf/Makefile (modules-names-tests): New variable.
13447
3e08ff54
SN
134482018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
13449
13450 * NEWS: Mention log2 improvements.
13451 * math/Makefile (type-double-routines): Add e_log2_data.
13452 * sysdeps/i386/fpu/e_log2_data.c: New file.
13453 * sysdeps/ia64/fpu/e_log2_data.c: New file.
13454 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
13455 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
13456 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
13457 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
13458 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
13459
f41b0a43
SN
134602018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
13461
13462 * NEWS: Mention log improvement.
13463 * math/Makefile (type-double-routines): Add e_log_data.
13464 * sysdeps/i386/fpu/e_log_data.c: New file.
13465 * sysdeps/ia64/fpu/e_log_data.c: New file.
13466 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
13467 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
13468 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
13469 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
13470 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
13471 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
13472
5a274db4
L
134732018-09-12 H.J. Lu <hongjiu.lu@intel.com>
13474 Xuepeng Guo <xuepeng.guo@intel.com>
13475
13476 [BZ #23606]
13477 * sysdeps/i386/start.S: Include <sysdep.h>
13478 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
13479 enabled. Add cfi_undefined (eip).
13480
b1176270
JM
134812018-09-11 Joseph Myers <joseph@codesourcery.com>
13482
4e7fbdd7
JM
13483 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
13484 (MOVQ): Likewise.
13485 (EXTRACT_WORDS64): Likewise.
13486 (INSERT_WORDS64): Likewise.
13487 (GET_FLOAT_WORD): Likewise.
13488 (SET_FLOAT_WORD): Likewise.
13489
b1176270
JM
13490 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
13491 argument.
13492 (Config.build_gcc): Use --disable-libsanitizer for first GCC
13493 build, but not for second build if --full-gcc. Use
13494 --enable-languages=all for second build if --full-gcc.
13495 (get_parser): Add --full-gcc option.
13496 (main): Update call to Context.
13497
ab74d59f 134982018-09-10 Rafał Lużyński <digitalfreak@lingonborough.com>
527f355e
RL
13499
13500 [BZ #10797]
13501 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
13502 Single Quotation Mark).
13503 (thousands_sep): Likewise.
13504 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
13505 * localedata/locales/it_IT (thousands_sep): Use ".".
13506 (grouping): Use "3;3".
13507
7244f13d
JM
135082018-09-10 Joseph Myers <joseph@codesourcery.com>
13509
13510 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
13511 x86_64 and i686 configs using --enable-obsolete-rpc
13512 --enable-obsolete-nsl.
13513
38245425
SL
135142018-09-06 Stefan Liebler <stli@linux.ibm.com>
13515
13516 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13517
28669f86
SL
135182018-09-06 Stefan Liebler <stli@linux.ibm.com>
13519
13520 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
13521 Increment size of new_argv by one.
13522
ab74d59f 135232018-09-05 Rafał Lużyński <digitalfreak@lingonborough.com>
a33650d1
RL
13524
13525 [BZ #17426]
13526 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
13527 * localedata/locales/ar_IN (d_fmt): Likewise.
13528 * localedata/locales/bhb_IN (d_fmt): Likewise.
13529 * localedata/locales/bho_IN (d_fmt): Likewise.
13530 * localedata/locales/bn_BD (d_fmt): Likewise.
13531 * localedata/locales/bn_IN (d_fmt): Likewise.
13532 * localedata/locales/doi_IN (d_fmt): Likewise.
13533 * localedata/locales/gu_IN (d_fmt): Likewise.
13534 * localedata/locales/hi_IN (d_fmt): Likewise.
13535 * localedata/locales/hne_IN (d_fmt): Likewise.
13536 * localedata/locales/kn_IN (d_fmt): Likewise.
13537 * localedata/locales/mag_IN (d_fmt): Likewise.
13538 * localedata/locales/mai_IN (d_fmt): Likewise.
13539 * localedata/locales/mjw_IN (d_fmt): Likewise.
13540 * localedata/locales/ml_IN (d_fmt): Likewise.
13541 * localedata/locales/mni_IN (d_fmt): Likewise.
13542 * localedata/locales/mr_IN (d_fmt): Likewise.
13543 * localedata/locales/pa_IN (d_fmt): Likewise.
13544 * localedata/locales/raj_IN (d_fmt): Likewise.
13545 * localedata/locales/sat_IN (d_fmt): Likewise.
13546 * localedata/locales/sd_IN (d_fmt): Likewise.
13547 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
13548 * localedata/locales/ta_IN (d_fmt): Likewise.
13549 * localedata/locales/ta_LK (d_fmt): Likewise.
13550 * localedata/locales/tcy_IN (d_fmt): Likewise.
13551 * localedata/locales/ur_IN (d_fmt): Likewise.
13552
13553 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
13554 * localedata/locales/ks_IN (d_fmt): Likewise.
13555 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
13556
13557 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
13558 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
13559 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
13560 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
13561
d114e6a7
SN
135622018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
13563
13564 * NEWS: Mention exp and exp2 improvements.
13565 * math/Makefile (libm-support): Remove t_exp.
13566 (type-double-routines): Add math_err and e_exp_data.
13567 * sysdeps/aarch64/libm-test-ulps: Update.
13568 * sysdeps/arm/libm-test-ulps: Update.
13569 * sysdeps/i386/fpu/e_exp_data.c: New file.
13570 * sysdeps/i386/fpu/math_err.c: New file.
13571 * sysdeps/i386/fpu/t_exp.c: Remove.
13572 * sysdeps/ia64/fpu/e_exp_data.c: New file.
13573 * sysdeps/ia64/fpu/math_err.c: New file.
13574 * sysdeps/ia64/fpu/t_exp.c: Remove.
13575 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
13576 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
13577 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
13578 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
13579 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
13580 * sysdeps/ieee754/dbl-64/math_config.h: New file.
13581 * sysdeps/ieee754/dbl-64/math_err.c: New file.
13582 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
13583 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
13584 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
13585 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
13586 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
13587 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
13588 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
13589 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13590 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13591
b9d8c474
JM
135922018-09-05 Joseph Myers <joseph@codesourcery.com>
13593
b7cdc2ae
JM
13594 * sysdeps/alpha/fpu/math_private.h: Remove.
13595
b9d8c474
JM
13596 * sysdeps/generic/math_private.h
13597 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
13598 Move this inline function ....
13599 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
13600 * include/math.h [!_ISOMAC]: To here....
13601
418d99e6
JM
136022018-09-04 Joseph Myers <joseph@codesourcery.com>
13603
13604 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
13605 code ....
13606 [!FE_HAVE_ROUNDING_MODES]: And this code ....
13607 * include/fenv.h [!_ISOMAC]: ... to here.
13608 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
13609 (feraiseexcept): Likewise.
13610 * math/fromfp.h: Do not include <fenv_private.h>.
13611 * math/s_cexp_template.c: Likewise.
13612 * math/s_csin_template.c: Likewise.
13613 * math/s_csinh_template.c: Likewise.
13614 * math/s_ctan_template.c: Likewise.
13615 * math/s_ctanh_template.c: Likewise.
13616 * math/s_iseqsig_template.c: Likewise.
13617 * math/w_acos_compat.c: Likewise.
13618 * math/w_acosf_compat.c: Likewise.
13619 * math/w_acosl_compat.c: Likewise.
13620 * math/w_asin_compat.c: Likewise.
13621 * math/w_asinf_compat.c: Likewise.
13622 * math/w_asinl_compat.c: Likewise.
13623 * math/w_j0_compat.c: Likewise.
13624 * math/w_j0f_compat.c: Likewise.
13625 * math/w_j0l_compat.c: Likewise.
13626 * math/w_j1_compat.c: Likewise.
13627 * math/w_j1f_compat.c: Likewise.
13628 * math/w_j1l_compat.c: Likewise.
13629 * math/w_jn_compat.c: Likewise.
13630 * math/w_jnf_compat.c: Likewise.
13631 * math/w_log10_compat.c: Likewise.
13632 * math/w_log10f_compat.c: Likewise.
13633 * math/w_log10l_compat.c: Likewise.
13634 * math/w_log2_compat.c: Likewise.
13635 * math/w_log2f_compat.c: Likewise.
13636 * math/w_log2l_compat.c: Likewise.
13637 * math/w_log_compat.c: Likewise.
13638 * math/w_logf_compat.c: Likewise.
13639 * math/w_logl_compat.c: Likewise.
13640 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13641 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13642 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13643 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13644 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13645 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13646 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13647 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13648 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13649 * sysdeps/ieee754/k_standardl.c: Likewise.
13650 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13651 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13652 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13653 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13654 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13655 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13656 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13657 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13658 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13659 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13660 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13661 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13662 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13663 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13664 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13665 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13666 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13667 * math/w_ilogb_template.c: Include <fenv.h> instead of
13668 <fenv_private.h>.
13669 * math/w_llogb_template.c: Likewise.
13670 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13671 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13672
70e2ba33
JM
136732018-09-03 Joseph Myers <joseph@codesourcery.com>
13674
13675 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
13676 * math/fromfp.h: Include <fenv_private.h>.
13677 * math/math-narrow.h: Likewise.
13678 * math/s_cexp_template.c: Likewise.
13679 * math/s_csin_template.c: Likewise.
13680 * math/s_csinh_template.c: Likewise.
13681 * math/s_ctan_template.c: Likewise.
13682 * math/s_ctanh_template.c: Likewise.
13683 * math/s_iseqsig_template.c: Likewise.
13684 * math/w_acos_compat.c: Likewise.
13685 * math/w_acosf_compat.c: Likewise.
13686 * math/w_acosl_compat.c: Likewise.
13687 * math/w_asin_compat.c: Likewise.
13688 * math/w_asinf_compat.c: Likewise.
13689 * math/w_asinl_compat.c: Likewise.
13690 * math/w_ilogb_template.c: Likewise.
13691 * math/w_j0_compat.c: Likewise.
13692 * math/w_j0f_compat.c: Likewise.
13693 * math/w_j0l_compat.c: Likewise.
13694 * math/w_j1_compat.c: Likewise.
13695 * math/w_j1f_compat.c: Likewise.
13696 * math/w_j1l_compat.c: Likewise.
13697 * math/w_jn_compat.c: Likewise.
13698 * math/w_jnf_compat.c: Likewise.
13699 * math/w_llogb_template.c: Likewise.
13700 * math/w_log10_compat.c: Likewise.
13701 * math/w_log10f_compat.c: Likewise.
13702 * math/w_log10l_compat.c: Likewise.
13703 * math/w_log2_compat.c: Likewise.
13704 * math/w_log2f_compat.c: Likewise.
13705 * math/w_log2l_compat.c: Likewise.
13706 * math/w_log_compat.c: Likewise.
13707 * math/w_logf_compat.c: Likewise.
13708 * math/w_logl_compat.c: Likewise.
13709 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
13710 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
13711 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
13712 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
13713 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13714 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13715 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13716 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13717 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13718 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13719 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13720 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13721 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
13722 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
13723 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13724 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
13725 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13726 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13727 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13728 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13729 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13730 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13731 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13732 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13733 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13734 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13735 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13736 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
13737 * sysdeps/ieee754/float128/float128_private.h: Likewise.
13738 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13739 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13740 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13741 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13742 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13743 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13744 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13745 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13746 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13747 * sysdeps/ieee754/k_standardl.c: Likewise.
13748 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13749 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13750 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13751 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13752 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
13753 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
13754 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13755 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13756 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13757 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13758 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13759 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13760 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13761 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13762 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13763 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13764 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13765 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
13766 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13767 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13768 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13769 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13770 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13771 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13772 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13773 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13774 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13775 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
13776 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
13777 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13778 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13779 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13780 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13781 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13782 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13783 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13784 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13785 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13786 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
13787 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
13788 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
13789 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
13790 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
13791 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
13792 * sysdeps/riscv/rvd/s_finite.c: Likewise.
13793 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
13794 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
13795 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
13796 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
13797 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
13798 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
13799 * sysdeps/riscv/rvf/fegetround.c: Likewise.
13800 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
13801 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
13802 * sysdeps/riscv/rvf/fesetround.c: Likewise.
13803 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
13804 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
13805 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
13806 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
13807 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
13808 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
13809 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
13810 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
13811 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
13812 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
13813 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
13814 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
13815 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
13816 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
13817 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
13818 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
13819
a6e8926f
PP
138202018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13821
13822 [BZ #20271]
13823 * include/stdio.h (__libc_fatal): Mention newline in comment.
13824 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
13825 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
13826 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13827 * nss/nsswitch.c (__nss_next2): Likewise.
13828 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
13829 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
13830 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
13831 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
13832 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
13833 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
13834 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
13835 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
13836 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
13837 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
13838 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
13839 * sysdeps/unix/sysv/linux/netlink_assert_response.c
13840 (__netlink_assert_response): Likewise.
13841
2bbd06bc
JM
138422018-08-31 Joseph Myers <joseph@codesourcery.com>
13843
13844 * conform/glibcconform.py: New file.
13845 * conform/list-header-symbols.py: Likewise.
13846 * conform/list-header-symbols.pl: Remove.
13847 * conform/Makefile (tests-special): Only add linknamespace tests
13848 if [PYTHON].
13849 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
13850
81b9d87b
L
138512018-08-31 H.J. Lu <hongjiu.lu@intel.com>
13852
13853 [BZ #23597]
13854 * support/Makefile (libsupport-routines): Add
13855 support_copy_file_range and xcopy_file_range.
13856 * support/support.h: Include <sys/types.h>.
13857 (support_copy_file_range): New prototype.
13858 * support/support_copy_file_range.c: New file. Copied and
13859 modified from io/copy_file_range-compat.c.
13860 * support/test-container.c (copy_one_file): Call xcopy_file_rang
13861 instead of copy_file_range.
13862 * support/xcopy_file_range.c: New file.
13863 * support/xunistd.h (xcopy_file_range): New prototype.
13864
d330f31a
CD
138652018-08-30 Carlos O'Donell <carlos@redhat.com>
13866
13867 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
13868 xpthread_create and xpthread_join.
13869
2bda273a
FW
138702018-08-30 Florian Weimer <fweimer@redhat.com>
13871
13872 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
13873
3bad2358
SL
138742018-08-30 Stefan Liebler <stli@linux.ibm.com>
13875
13876 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
13877 if malloc fails.
13878
09c12efc
JM
138792018-08-29 Joseph Myers <joseph@codesourcery.com>
13880
13881 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
13882 and minus_oflow as non-finite.
13883
ff6b2450
JM
138842018-08-28 Joseph Myers <joseph@codesourcery.com>
13885
13886 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
13887 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
13888 moved to fenv_private.h except for ...
13889 (TOINT_INTRINSICS): Kept in math_private.h.
13890 (roundtoint): Likewise.
13891 (converttoint): Likewise.
13892 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
13893 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13894 * sysdeps/arm/math_private.h: Remove.
13895 * sysdeps/generic/fenv_private.h: New file. Contents moved from
13896 ....
13897 * sysdeps/generic/math_private.h: ... this file. Include
13898 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
13899 Include <fenv_private.h>. Remove functions and macros moved to
13900 fenv_private.h.
13901 * sysdeps/i386/fpu/math_private.h: Remove.
13902 * sysdeps/mips/math_private.h: Move to ....
13903 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
13904 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
13905 [__mips_hard_float] conditional. Include next <fenv_private.h>.
13906 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
13907 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13908 * sysdeps/powerpc/fpu/math_private.h: Do not include
13909 <fenv_private.h>.
13910 * sysdeps/riscv/rvf/math_private.h: Move to ....
13911 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
13912 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
13913 <fenv_private.h>.
13914 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
13915 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13916 * sysdeps/sparc/fpu/math_private.h: Remove.
13917 * sysdeps/i386/fpu/fenv_private.h: Move to ....
13918 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
13919 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
13920 <fenv_private.h>.
13921 * sysdeps/x86_64/fpu/math_private.h: Do not include
13922 <sysdeps/i386/fpu/fenv_private.h>.
13923
761404b7
FW
139242018-08-28 Florian Weimer <fweimer@redhat.com>
13925
13926 [BZ #23578]
13927 * posix/tst-regcomp-truncated.c: New file.
13928 * posix/Makefile (tests): Add it.
13929 (tst-regcomp-truncated.out): Depend on generated locales.
13930
d6c44c3d
FW
139312018-08-28 Florian Weimer <fweimer@redhat.com>
13932
13933 * support/test-container.c (main): Treat unshare failure with
13934 EPERM as an unsupported test.
13935
745664bd
FW
139362018-08-28 Florian Weimer <fweimer@redhat.com>
13937
13938 [BZ #23520]
13939 nscd: Fix use-after-free in addgetnetgrentX and its callers.
13940 * nscd/netgroupcache.c
13941 (addgetnetgrentX): Add tofreep parameter. Do not free
13942 heap-allocated buffer.
13943 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
13944 (addgetnetgrentX_ignore): New function.
13945 (addgetnetgrent): Call it.
13946 (readdgetnetgrent): Likewise.
13947
c8dd67e7
RS
139482018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13949
13950 * string/memmem.c: Use memcmp for first match.
13951
ab74d59f 139522018-08-28 Rafał Lużyński <digitalfreak@lingonborough.com>
5abedf97
RL
13953
13954 [BZ #17426]
13955 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
13956
86de0499
DD
139572018-08-27 DJ Delorie <dj@redhat.com>
13958
13959 * support/Makefile (others): Don't list programs explicitly as a
13960 dependency of "others".
13961
c3ab2110
JM
139622018-08-27 Joseph Myers <joseph@codesourcery.com>
13963
13964 * sysdeps/generic/math-tests-trap-force.h: New file.
13965 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
13966 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
13967 * sysdeps/powerpc/math-tests.h: Remove file.
13968 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
13969
6b5c8607
TS
139702018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
13971 Torvald Riegel <triegel@redhat.com>
99ea93ca
MK
13972
13973 [BZ #23538]
13974 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
13975 Update r to include the set wake-request flag if waiters are
13976 remaining after spinning.
13977
4061791f
JM
139782018-08-27 Joseph Myers <joseph@codesourcery.com>
13979
13980 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
13981
bc680b33
PE
139822018-08-25 Paul Eggert <eggert@cs.ucla.edu>
13983
761404b7 13984 [BZ #23578]
bc680b33
PE
13985 regex: fix uninitialized memory access
13986 I introduced this bug into gnulib in commit
13987 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
13988 eventually it was merged into glibc. The bug was found by
13989 project-repo <bugs@feusi.co> and reported here:
13990 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
13991 Diagnosis and draft fix reported by Assaf Gordon here:
13992 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
13993 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
13994 * posix/regex_internal.c (build_wcs_upper_buffer):
13995 Fix bug when mbrtowc returns 0.
13996
02458a52
CD
139972018-08-24 Carlos O'Donell <carlos@redhat.com>
13998
13999 * po/be.po: Update translation.
14000
acc2842a
DD
140012018-08-24 DJ Delorie <dj@delorie.com>
14002
14003 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
14004 $(libunwind).
14005
6c3a8a9d
PP
140062018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14007
b39d961c
TS
14008 [BZ #23400]
14009 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
14010 create temporary files in source tree.
6c3a8a9d 14011
895ef79e
JM
140122018-08-24 Joseph Myers <joseph@codesourcery.com>
14013
14014 * sysdeps/generic/math-tests-trap.h: New file.
14015 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
14016 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
14017 * sysdeps/aarch64/math-tests.h: Remove file.
14018 * sysdeps/arm/math-tests.h: Likewise.
14019 * sysdeps/riscv/math-tests.h: Likewise.
14020 * sysdeps/aarch64/math-tests-trap.h: New file.
14021 * sysdeps/arm/math-tests-trap.h: Likewise.
14022 * sysdeps/riscv/math-tests-trap.h: Likewise.
14023
ca3aac57
WD
140242018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
14025
14026 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
14027 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
14028 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
14029 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
14030 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
14031 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
14032 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14033 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
14034 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
14035 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14036 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14037 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14038 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14039 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
14040 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
14041 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
14042 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
14043 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
14044
60bcac09
JM
140452018-08-23 Joseph Myers <joseph@codesourcery.com>
14046
14047 * sysdeps/generic/math-tests-exceptions.h: New file.
14048 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
14049 (EXCEPTION_TESTS_float): Do not define here.
14050 (EXCEPTION_TESTS_double): Likewise.
14051 (EXCEPTION_TESTS_long_double): Likewise.
14052 (EXCEPTION_TESTS_float128): Likewise.
14053 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
14054 Likewise.
14055 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
14056 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
14057 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
14058 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
14059 * sysdeps/mips/math-tests.h: Likewise.
14060 * sysdeps/nios2/math-tests.h: Likewise.
14061 * sysdeps/riscv/math-tests.h [!__riscv_flen]
14062 (EXCEPTION_TESTS_float): Do not define here.
14063 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
14064 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
14065 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
14066
3bded567
WD
140672018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
14068
14069 * NEWS: Move optimized sinf entry to 2.29.
14070
900fb446
WD
140712018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
14072
14073 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
14074
561b0bec
DD
140752018-08-22 DJ Delorie <dj@redhat.com>
14076
14077 * Makefile (testroot.pristine): New rules to initialize the
14078 test-in-container "testroot".
14079 * Makerules (all-testsuite): Add tests-container.
14080 * Rules (tests-expected): Add tests-container.
14081 (binaries-all-tests): Likewise.
14082 (tests-container): New, run these tests in the testroot container.
14083 * support/Makefile (others): Add *-container, support_paths.c,
14084 xmkdirp, and links-dso-program.
14085 * support/links-dso-program-c.c: New.
14086 * support/links-dso-program.cc: New.
14087 * support/test-container.c: New.
14088 * support/shell-container.c: New.
14089 * support/echo-container.c: New.
14090 * support/true-container.c: New.
14091 * support/xmkdirp.c: New.
14092 * support/xsymlink.c: New.
14093 * support/support_paths.c: New.
14094 * support/support.h: Add support paths prototypes.
14095 * support/xunistd.h: Add xmkdirp () and xsymlink ().
14096
14097 * nss/tst-nss-test3.c: Convert to test-in-container.
14098 * nss/tst-nss-test3.root/: New.
14099
b35d3509
PE
141002018-08-22 Paul Eggert <eggert@cs.ucla.edu>
14101
14102 regex: port Gnulib code to z/OS POSIX environment
14103 Problem reported by Arnold Robbins in:
14104 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
14105 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
14106 Undef.
14107
16a25138
JM
141082018-08-22 Joseph Myers <joseph@codesourcery.com>
14109
debc4c98
JM
14110 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
14111 (ROUNDING_TESTS_double): Remove.
14112 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
14113 (ROUNDING_TESTS_double): Remove.
14114 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
14115 (ROUNDING_TESTS_double): Remove.
14116 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
14117 (ROUNDING_TESTS_float): Remove.
14118 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
14119 (ROUNDING_TESTS_float): Remove.
14120 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
14121 (ROUNDING_TESTS_float): Remove.
14122 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
14123 !TEST_MATHVEC here.
14124 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14125 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14126
16a25138
JM
14127 * sysdeps/generic/math-tests-rounding.h: New file.
14128 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
14129 (ROUNDING_TESTS_float): Do not define here.
14130 (ROUNDING_TESTS_double): Likewise.
14131 (ROUNDING_TESTS_long_double): Likewise.
14132 (ROUNDING_TESTS_float128): Likewise.
14133 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
14134 (ROUNDING_TESTS_double): Undefine before defining.
14135 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
14136 (ROUNDING_TESTS_double): Undefine before defining.
14137 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
14138 (ROUNDING_TESTS_double): Undefine before defining.
14139 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
14140 (ROUNDING_TESTS_float): Undefine before defining.
14141 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
14142 (ROUNDING_TESTS_float): Undefine before defining.
14143 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
14144 (ROUNDING_TESTS_float): Undefine before defining.
14145 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
14146 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
14147 not define here.
14148 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
14149 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
14150 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
14151 * sysdeps/riscv/math-tests.h [!__riscv_flen]
14152 (ROUNDING_TESTS_float): Do not define here.
14153 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
14154 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
14155 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
14156 (ROUNDING_TESTS_float): Likewise.
14157 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
14158 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
14159 * sysdeps/mips/math-tests.h [__mips_soft_float]
14160 (ROUNDING_TESTS_float): Likewise.
14161 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
14162 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
14163 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
14164 (ROUNDING_TESTS_double): Likewise.
14165 (ROUNDING_TESTS_long_double): Likewise.
14166
38b0593e
TK
141672018-08-21 Tobias Klauser <tklauser@distanz.ch>
14168
14169 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
14170 (PF_XDP): New macro.
14171 (AF_XDP): New macro.
14172 (SOL_XDP): New macro.
14173
5cd7dbde
JM
141742018-08-21 Joseph Myers <joseph@codesourcery.com>
14175
14176 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
14177 (TCP_INQ): Likewise.
14178 (TCP_CM_INQ): Likewise.
14179 (TCP_REPAIR_ON): Likewise.
14180 (TCP_REPAIR_OFF): Likewise.
14181 (TCP_REPAIR_OFF_NO_WP): Likewise.
14182 (struct tcp_zerocopy_receive): New type.
14183
aa42b3db
FW
141842018-08-21 Florian Weimer <fweimer@redhat.com>
14185
14186 * support/support.h (support_descriptor_supports_holes): Declare.
14187 * support/Makefile (libsupport-routines): Add
14188 support_descriptor_supports_holes.
14189 * support/support_descriptor_supports_holes.c: New file.
14190 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
14191 and stop testing if holes are not supported.
14192 * io/test-lfs.c (do_prepare): Likewise.
14193 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
14194 Likewise.
14195 * timezone/tst-tzset.c (create_tz_file): Likewise.
14196 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
14197 variable.
14198 (do_prepare): Set it.
14199 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
14200
c7627f41
FW
142012018-08-21 Florian Weimer <fweimer@redhat.com>
14202
14203 [BZ #17248]
14204 * Makeconfig (+cflags): Do not sort (and deduplicate).
14205
ef939d92
FW
142062018-08-21 Florian Weimer <fweimer@redhat.com>
14207
14208 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
14209 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
14210
88ffb39d
FW
142112018-08-20 Florian Weimer <fweimer@redhat.com>
14212
14213 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
14214 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
14215
17419540
JM
142162018-08-20 Joseph Myers <joseph@codesourcery.com>
14217
e6edd40d
JM
14218 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
14219 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
14220 and ssi_arch members.
14221
17419540
JM
14222 * elf/elf.c (NT_VMCOREDD): New macro.
14223 (AT_MINSIGSTKSZ): Likewise.
14224
fa78896b
RS
142252018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14226
14227 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
14228 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
14229 s_cosf-ppc64 and s_cosf-power8.
14230 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
14231 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
14232 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14233 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
14234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
14235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
14236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
14237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
14238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
14239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
14240 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
14241 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
14242
86a6c75a
FW
142432018-08-17 Florian Weimer <fweimer@redhat.com>
14244
14245 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14246
35cfefd9
FW
142472018-08-17 Istvan Kurucsai <pistukem@gmail.com>
14248
14249 * malloc/malloc.c (_int_malloc): Additional binning code checks.
14250
6413fcde
FW
142512018-08-16 Florian Weimer <fweimer@redhat.com>
14252
14253 * configure.ac: Add --with-nonshared-cflags option.
14254 * config.make.in (extra-nonshared-cflags): Set variable.
14255 * Makeconfig (CFLAGS-.oS): Use it.
14256 * manual/install.texi (Configuring and compiling): Document
14257 --with-nonshared-cflags.
14258 * configure: Regenerate.
14259 * INSTALL: Likewise.
14260
93a2584c
FW
142612018-08-16 Florian Weimer <fweimer@redhat.com>
14262
14263 * Makeconfig (ASFLAGS): Always append required assembler flags.
14264
f6f275d2 142652018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
d6db68e6
ME
14266
14267 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
14268 (malloc_consolidate): Likewise.
14269
30a17d8c
PC
142702018-08-16 Pochang Chen <johnchen902@gmail.com>
14271
14272 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
14273
953a5a4a
SP
142742018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
14275
34f86d61
SP
14276 * benchtests/bench-strlen.c (do_test): Allocate buffers before
14277 every strlen call.
14278
953a5a4a
SP
14279 * benchtests/bench-strlen.c: Print performance numbers in json.
14280
7793ad7a
RS
142812018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14282
14283 * sysdeps/powerpc/powerpc64/multiarch/Makefile
14284 (sysdep_routines): Build strcmp-power9 and strncmp-power9
14285 only for little endian.
14286 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14287 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
14288 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
14289 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
14290 Add check for little endian.
14291 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
14292 (__strcmp_power9): Add check for little endian.
14293 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
14294 Add check for little endian.
14295 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
14296 (__strncmp_power9): Add check for little endian.
14297 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
14298 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
14299 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
14300 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
14301 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
14302
436e4d5b
SP
143032018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
14304
14305 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
14306 [!STRLEN](STRLEN): Set to __strlen.
14307 * sysdeps/aarch64/multiarch/strlen.c: New file.
14308 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
14309 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
14310 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
14311 (__libc_ifunc_impl_list): Add strlen.
14312 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
14313 strlen_generic and strlen_asimd.
14314
126c4e3f
WD
143152018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
14316
14317 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
14318 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
14319 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
14320
49acec17
WD
143212018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
14322
14323 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
14324
fdb16de3
FW
143252018-08-14 Florian Weimer <fweimer@redhat.com>
14326
14327 [BZ #23519]
14328 * include/stdio.h (__vfxprintf): Declare.
14329 * stdio-common/fxprintf.c (__vfxprintf): New function.
14330 (__fxprintf): Call it.
14331 * misc/err.c (convert_and_print): Remove function.
14332 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
14333 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
14334 * misc/Makefile (tests): Add tst-warn-wide.
14335 * misc/tst-warn-wide.c: New file.
14336
599cf397
WD
143372018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
14338 Szabolcs Nagy <szabolcs.nagy@arm.com>
14339
14340 * NEWS: Mention sinf, cosf, sincosf.
14341 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
14342 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
14343 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
14344 constants rather than including generic sincosf.h.
14345 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
14346 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
14347 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
14348 (reduced_cos): Remove.
14349 (sinf_poly): New function.
14350 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
14351
e95c6f61
FW
143522018-08-14 Florian Weimer <fweimer@redhat.com>
14353
14354 [BZ #23521]
14355 [BZ #23522]
14356 * nss/nss_files/files-alias.c (get_next_alias): During :include:
14357 processing, bail out if no room, and close the stream before
14358 returning ERANGE.
14359 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
14360 (tst-nss-files-alias-leak): Link with libdl.
14361 (tst-nss-files-alias-leak.out): Depend on nss_files.
14362
14363 * nss/tst-nss-files-alias-leak.c: New file.
14364
2d7acfac
FW
143652018-08-14 Florian Weimer <fweimer@redhat.com>
14366
14367 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
14368 server_user, stat_user.
14369
f3cd0904
JM
143702018-08-13 Joseph Myers <joseph@codesourcery.com>
14371
17b26500
JM
14372 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14373 version to 4.18.
14374 (io_pgetevents): New syscall.
14375 (rseq): Likewise.
14376
3c1622eb
JM
14377 * manual/install.texi (Configuring and compiling): Do not list
14378 tools used for testing pretty printers here.
14379 (Tools for Compilation): List Python, PExpect and GDB here.
14380 Update descriptions of uses of Perl and Python.
14381 * INSTALL: Regenerate.
14382
f3cd0904
JM
14383 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
14384 version to 4.18.
14385
b7b52b9d
FW
143862018-08-13 Florian Weimer <fweimer@redhat.com>
14387
14388 * misc/error.c (error): Add missing va_end call.
14389 (error_at_line): Likewise.
14390
01780188
FW
143912018-08-13 Florian Weimer <fweimer@redhat.com>
14392
14393 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
14394
44727aec
SP
143952018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
14396
8cac1f26
SP
14397 * benchtests/scripts/benchout.schema.json (properties): Add
14398 new properties.
14399
44727aec
SP
14400 * benchtests/bench-skeleton.c (main): Add duration and
14401 iterations attributes.
14402
c77bf91b
PE
144032018-08-10 Paul Eggert <eggert@cs.ucla.edu>
14404
14405 regex: Gnulib unibyte RRI uses bytes not chars
14406 Adjust the non-glibc code to agree with what Gawk needs for
14407 rational range interpretation (RRI) for regular expression ranges.
14408 In unibyte locales, Gawk wants ranges to use the underlying byte
14409 rather than the character code point. This change does not affect
14410 glibc proper.
14411 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
14412 In unibyte locales, use the byte value rather than
14413 running it through btowc.
14414
2ce7ba7d
JM
144152018-08-10 Joseph Myers <joseph@codesourcery.com>
14416
14417 * sysdeps/generic/math-tests-snan.h: New file.
14418 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
14419 (SNAN_TESTS_float): Do not define here.
14420 (SNAN_TESTS_double): Likewise.
14421 (SNAN_TESTS_long_double): Likewise.
14422 (SNAN_TESTS_float128): Likewise.
14423 * sysdeps/i386/fpu/math-tests-snan.h: New file.
14424 * sysdeps/i386/fpu/math-tests.h: Remove file.
14425 * sysdeps/ia64/math-tests-snan.h: New file.
14426 * sysdeps/ia64/math-tests.h: Remove file.
14427 * sysdeps/x86/math-tests.h: Likewise.
14428 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
14429
ea5c662c
WD
144302018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
14431 Szabolcs Nagy <szabolcs.nagy@arm.com>
14432
14433 * math/Makefile: Add s_sincosf_data.c.
14434 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
14435 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
14436 (sincosf_poly): Likewise.
14437 (reduce_small): Likewise.
14438 (reduce_large): Likewise.
14439 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
14440 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
14441 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
14442 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
14443
43cfdf8f
SN
144442018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
14445 Szabolcs Nagy <szabolcs.nagy@arm.com>
14446
14447 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
14448 (converttoint): Use lround.
14449 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
14450 document the semantics when TOINT_INTRINSICS is set.
14451 (converttoint): Likewise.
14452 (TOINT_RINT): Remove.
14453 (TOINT_SHIFT): Remove.
14454 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
14455 path.
14456
69065288
FW
144572018-08-10 Florian Weimer <fweimer@redhat.com>
14458
14459 [BZ #23497]
14460 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
14461 function.
14462 (__old_getdents64): Use getdents64. Convert entries without
14463 moving them.
14464 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
14465 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
14466 tst-readdir64-compat.
14467
8f135efc
IL
144682018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14469
14470 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
14471 Fix unwind.
14472
71c01af5
IL
144732018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14474
14475 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
14476 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
14477 code to s390x-mcount.h and #include it.
14478 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
14479 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
14480 (__fentry__): Add.
14481
8d997d22
IL
144822018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14483
14484 * stdlib/Versions: Remove __fentry__.
14485 * sysdeps/i386/Versions: Add __fentry__.
14486 * sysdeps/x86_64/Versions: Add __fentry__.
14487
69e2444a
IL
144882018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14489
14490 * sysdeps/s390/Makefile: Register the new tests.
14491 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
14492 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
14493 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
14494 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
14495 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
14496 * sysdeps/s390/tst-dl-runtime.c: New file.
14497
bde6320f
IL
144982018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14499
14500 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
14501 Do not clobber R0.
14502
5755f5e4
IL
145032018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14504
14505 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
14506 Do not clobber R0.
14507
c8ad8522
IL
145082018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14509
14510 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
14511 Do not clobber R0.
14512
b215eee1
IL
145132018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14514
14515 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
14516 Do not clobber R0.
14517
329c6fec
IL
145182018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14519
14520 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
14521 Use symbolic offsets for stack variables.
14522
0fb7afa2
IL
145232018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14524
14525 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
14526 Use symbolic offsets for stack variables.
14527
6954059a
IL
145282018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14529
14530 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
14531 Use symbolic offsets for stack variables.
14532
c7099673
IL
145332018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14534
14535 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
14536 Use symbolic offsets for stack variables.
14537
2813e41e
JM
145382018-08-09 Joseph Myers <joseph@codesourcery.com>
14539
14540 * math/gen-libm-test.py: New file.
14541 * math/gen-libm-test.pl: Remove.
14542 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
14543 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
14544 gen-libm-test.pl.
14545 ($(libm-test-c-noauto-obj)): Likewise.
14546 ($(libm-test-c-auto-obj)): Likewise.
14547 ($(libm-test-c-narrow-obj)): Likewise.
14548 (regen-ulps): Likewise.
14549 * math/README.libm-test: Update references to gen-libm-test.pl.
14550 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
14551 referencing gen-libm-test.pl.
14552 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
14553 * math/libm-test-support.c: Likewise.
14554 * math/libm-test-support.h: Likewise.
14555 * sysdeps/generic/libm-test-ulps: Likewise.
14556
be64b194
SP
145572018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
14558
14559 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
14560 Fix value.
14561
140137fb
JM
145622018-08-08 Joseph Myers <joseph@codesourcery.com>
14563
14564 * math/libm-test-nextdown.inc (do_test): Move comment to ....
14565 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
14566
b5403eca
ST
145672018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
14568
14569 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
14570 symbols.
8ac0f9e6
ST
14571 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
14572 __pthread_setspecific): Add hidden proto.
14573 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
14574 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
b5403eca 14575
014efdd7
SP
145762018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
14577
14578 * benchtests/bench-string.h (buf1_size, buf2_size): New
14579 variables.
14580 (init_sizes): New function.
14581 (test_init): Use it.
14582 (alloc_buf, exit_error): New functions.
14583 (alloc_bufs): Use ALLOC_BUF.
14584 (realloc_bufs): Remove.
14585 * benchtests/bench-memcmp.c (do_test): Adjust.
14586 * benchtests/bench-memset-large.c (do_test): Likewise.
14587 * benchtests/bench-memset-walk.c (do_test): Likewise.
14588 * benchtests/bench-memset.c (do_test): Likewise.
14589 * benchtests/bench-strncmp.c (do_test): Likewise.
14590
92a4cba7
AS
145912018-08-06 Andreas Schwab <schwab@suse.de>
14592
14593 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
14594 of CONST_THREAD_AREA.
14595
fb4c32ae
L
145962018-08-06 H.J. Lu <hongjiu.lu@intel.com>
14597
14598 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
14599 (STATE_SAVE_MASK): Likewise.
14600 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
14601 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
14602 (STATE_SAVE_MASK): Likewise.
14603 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
14604 instead of <cpu-features.h>.
14605
bf418187
DD
146062018-08-03 DJ Delorie <dj@redhat.com>
14607
14608 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
e5721f45 14609 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
bf418187 14610
bb17621a
DD
14611 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
14612
ea705eb5
JM
146132018-08-03 Joseph Myers <joseph@codesourcery.com>
14614
14615 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
14616 after TEST_* calls.
14617 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
14618 * math/libm-test-logb.inc (logb_test_data): Likewise.
14619
284f42bc
WD
146202018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
14621
14622 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
14623 * string/strstr.c (AVAILABLE): Likewise.
14624
430388d5
L
146252018-08-03 H.J. Lu <hongjiu.lu@intel.com>
14626
14627 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
14628 <init-arch.h>.
14629 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
14630 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
14631 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
14632
c5760aa9
CD
146332018-08-03 Carlos O'Donell <carlos@redhat.com>
14634
14635 * po/be.po: Update translation.
14636
6b535b84
CD
14637 * po/be.po: Update translation.
14638
ae67f2e5
L
146392018-08-03 H.J. Lu <hongjiu.lu@intel.com>
14640
14641 * sysdeps/x86/cpu-features-offsets.sym
14642 (rtld_global_ro_offsetof): Removed.
14643 (CPU_FEATURES_SIZE): Likewise.
14644 (CPUID_OFFSET): Likewise.
14645 (CPUID_SIZE): Likewise.
14646 (CPUID_EAX_OFFSET): Likewise.
14647 (CPUID_EBX_OFFSET): Likewise.
14648 (CPUID_ECX_OFFSET): Likewise.
14649 (CPUID_EDX_OFFSET): Likewise.
14650 (FAMILY_OFFSET): Likewise.
14651 (MODEL_OFFSET): Likewise.
14652 (FEATURE_OFFSET): Likewise.
14653 (FEATURE_SIZ): Likewise.
14654 (COMMON_CPUID_INDEX_1): Likewise.
14655 (COMMON_CPUID_INDEX_7): Likewise.
14656 (FEATURE_INDEX_1): Likewise.
14657 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
14658
6b5c8607 146592018-08-02 Carlos O'Donell <carlos@redhat.com>
08a5ee14
CD
14660
14661 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
14662 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
14663 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
14664 (install-locales): Depend on install-locale-archive.
14665 (install-locale-archive): Define.
7b7adbd8 14666 (install-locale-files): Define.
08a5ee14
CD
14667 (build-one-locale): Define macro.
14668 * manual/install.texi (Running make install): Document.
14669 * manual/INSTALL: Regenerate.
14670
525691bd
SP
146712018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
14672
d67d634b
SP
14673 * benchtests/scripts/compare_strings.py: Import traceback.
14674 (parse_file): Pretty-print error.
14675
525691bd
SP
14676 * NEWS: Mention the change.
14677 * elf/dl-tunables.list: Rename tune namespace to cpu.
14678 * sysdeps/powerpc/dl-tunables.list: Likewise.
14679 * sysdeps/x86/dl-tunables.list: Likewise.
14680 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
14681 cpu.name.
14682 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
14683 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
14684 * manual/README.tunables: Likewise.
14685 * manual/tunables.texi: Likewise.
14686 * sysdeps/powerpc/cpu-features.c: Likewise.
14687 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
14688 (init_cpu_features): Likewise.
14689 * sysdeps/x86/cpu-features.c: Likewise.
14690 * sysdeps/x86/cpu-features.h: Likewise.
14691 * sysdeps/x86/cpu-tunables.c: Likewise.
14692 * sysdeps/x86_64/Makefile: Likewise.
14693 * sysdeps/x86/dl-cet.c: Likewise.
14694
506d7fb1
JM
146952018-08-02 Joseph Myers <joseph@codesourcery.com>
14696
14697 [BZ #23479]
14698 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
14699 [__mips_hard_float].
14700 (FE_UNDERFLOW): Likewise.
14701 (FE_OVERFLOW): Likewise.
14702 (FE_DIVBYZERO): Likewise.
14703 (FE_INVALID): Likewise.
14704 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
14705 (FE_TOWARDZERO): Define only if [__mips_hard_float].
14706 (FE_UPWARD): Likewise.
14707 (FE_DOWNWARD): Likewise.
14708 (__FE_UNDEFINED): Define if [!__mips_hard_float]
14709 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
14710 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
14711 [__mips_hard_float].
14712 (FP_ROUNDMODE): Likewise.
14713 (FP_RND_NEAREST): Likewise.
14714 (FP_RND_ZERO): Likewise.
14715 (FP_RND_PINF): Likewise.
14716 (FP_RND_MINF): Likewise.
14717 (FP_EX_INVALID): Likewise.
14718 (FP_EX_OVERFLOW): Likewise.
14719 (FP_EX_UNDERFLOW): Likewise.
14720 (FP_EX_DIVZERO): Likewise.
14721 (FP_EX_INEXACT): Likewise.
14722 (FP_INIT_ROUNDMODE): Likewise.
14723 * sysdeps/mips/nofpu/fesetenv.c: New file.
14724 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
14725
f6dcefbe
JM
147262018-08-01 Joseph Myers <joseph@codesourcery.com>
14727
14728 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
14729 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
14730 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
14731 conditional on [FE_UPWARD].
14732
fa67ba06
PE
147332018-08-01 Paul Eggert <eggert@cs.ucla.edu>
14734
14735 regex: fix memory leak in Gnulib
14736 Problem and fix reported by Assaf Gordon in:
14737 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
14738 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
14739 range_ends members too, as they are defined in 'struct
14740 re_charset_t' even if not _LIBC. This affects only Gnulib.
14741
82c80ac2
L
147422018-08-01 H.J. Lu <hongjiu.lu@intel.com>
14743
14744 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
14745 ...
14746 (get_common_indices): This.
14747 (init_cpu_features): Updated.
14748
c0e7e2c1
JM
147492018-08-01 Joseph Myers <joseph@codesourcery.com>
14750
46f8cf57
JM
14751 * sysdeps/generic/math-tests-snan-payload.h: New file.
14752 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
14753 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
14754 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
14755 * sysdeps/generic/math-tests.h: Include
14756 <math-tests-snan-payload.h>.
14757 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
14758 * sysdeps/hppa/math-tests.h: Remove file.
14759 * sysdeps/mips/math-tests.h [!__mips_nan2008]
14760 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
14761 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
14762 Likewise.
14763
c0e7e2c1
JM
14764 * sysdeps/generic/math-tests-snan-cast.h: New file.
14765 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
14766 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
14767 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
14768 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
14769
e6855a3b 147702018-08-01 Carlos O'Donell <carlos@redhat.com>
74939c83 14771
b029723b
CD
14772 * version.h (RELEASE): Set to "development".
14773 (VERSION): Set to "2.28.9000".
14774 * NEWS (2.29): New section.
14775
3c03baca
CD
14776 * version.h (RELEASE): Set to "stable".
14777 (VERSION): Set to "2.28".
14778 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
14779 * NEWS: Add the list of bugs fixed in 2.28.
14780
74939c83
CD
14781 * po/ca.po: Update to latest version.
14782 * po/cs.po: Likewise
14783 * po/da.po: Likewise
14784 * po/el.po: Likewise
14785 * po/eo.po: Likewise
14786 * po/es.po: Likewise
14787 * po/fi.po: Likewise
14788 * po/fr.po: Likewise
14789 * po/gl.po: Likewise
14790 * po/hu.po: Likewise
14791 * po/ia.po: Likewise
14792 * po/id.po: Likewise
14793 * po/it.po: Likewise
14794 * po/ja.po: Likewise
14795 * po/ko.po: Likewise
14796 * po/lt.po: Likewise
14797 * po/nb.po: Likewise
14798 * po/nl.po: Likewise
14799 * po/pt_BR.po: Likewise
14800 * po/ru.po: Likewise
14801 * po/rw.po: Likewise
14802 * po/sk.po: Likewise
14803 * po/sl.po: Likewise
14804 * po/tr.po: Likewise
14805 * po/zh_CN.po: Likewise
14806 * po/zh_TW.po: Likewise
14807
d4b54bdf
ST
148082018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14809
14810 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
14811 initialization...
14812 (init): ... before initializing libpthread.
14813
42fc12ef
ST
14814 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
14815 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
14816 (__mach_setup_tls): ... new function.
14817 (mach_setup_tls): New alias.
14818 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
14819 __mach_setup_thread.
14820 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
14821 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
14822 * mach/Versions [libc] (mach_setup_tls): Add symbol.
14823 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
14824
6cca855e
CD
148252018-07-31 Carlos O'Donell <carlos@redhat.com>
14826
f650932b
CD
14827 * manual/install.texi: Update versions.
14828 * INSTALL: Regenerate.
14829
6cca855e
CD
14830 * manual/contrib.texi (Contributors): Update contributions.
14831
07fdea47
CD
148322018-07-31 Carlos O'Donell <carlos@redhat.com>
14833
14834 * po/be.po: Update translations.
14835
63d5fad4
AZ
148362018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14837
14838 * sysdeps/sh/libm-test-ulps: Update.
14839
1ff712a6
CD
148402018-07-30 Carlos O'Donell <carlos@redhat.com>
14841
14842 * po/bg.po: Update translations.
14843 * po/de.po: Likewise.
14844 * po/hr.po: Likewise.
14845 * po/pt_BR.po: Likewise.
14846 * po/sv.po: Likewise.
14847 * po/vi.po: Likewise.
14848
98864ed0
L
148492018-07-30 H.J. Lu <hongjiu.lu@intel.com>
14850
14851 [BZ #23467]
14852 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
14853 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
14854 (CFLAGS-tst-cet-property-1.o): New.
14855 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
14856 ($(objpfx)tst-cet-property-2): Likewise.
14857 ($(objpfx)tst-cet-property-2.out): Likewise.
14858 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
14859 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
14860 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
14861 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
14862 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
14863
c92a00d8
L
148642018-07-30 H.J. Lu <hongjiu.lu@intel.com>
14865
14866 [BZ #23458]
14867 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
14868
99bc6241
ST
148692018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
14870
14871 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
14872 __sbrk): Do not set attribute_hidden.
af86087f 14873 * sysdeps/mach/hurd/not-errno.h: New file.
99bc6241
ST
14874 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
14875 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
14876
bcb1c4af
CD
148772018-07-27 Carlos O'Donell <carlos@redhat.com>
14878
14879 * po/uk.po: Update translations.
14880 * po/cs.po: Likewise.
14881 * po/pl.po: Likewise.
14882
4591b7db
L
148832018-07-27 H.J. Lu <hongjiu.lu@intel.com>
14884
14885 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
14886 parse beyond the note end.
14887
2c6da2f4
AZ
148882018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14889
14890 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
14891 kernel does not support OFD locks.
14892 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
14893
20365a31
ST
148942018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14895
14896 * sysdeps/mach/hurd/Versions (libc): Make __access and
14897 __access_noerrno external so they can override the ld symbols.
14898 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
14899 __writev, __open64, __access_noerrno extern so they can be overrided.
14900 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
14901 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
14902
cb1a43db
CD
149032018-07-26 Carlos O'Donell <carlos@redhat.com>
14904
14905 * po/libc.pot: Regenerate.
14906
74759ae5
JM
149072018-07-26 Joseph Myers <joseph@codesourcery.com>
14908
14909 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
14910
da80612d
L
149112018-07-26 H.J. Lu <hongjiu.lu@intel.com>
14912
14913 [BZ #23459]
14914 * sysdeps/x86/cpu-features.c (get_extended_indices): New
14915 function.
14916 (init_cpu_features): Call get_extended_indices for both Intel
14917 and AMD CPUs.
14918 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
14919 Remove "for AMD" comment.
14920
65d87ade
L
149212018-07-26 H.J. Lu <hongjiu.lu@intel.com>
14922
14923 [BZ # 23456]
14924 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
14925 COMMON_CPUID_INDEX_80000001.
14926
c9dc4d51
SL
149272018-07-26 Stefan Liebler <stli@linux.ibm.com>
14928
14929 * string/tst-xbzero-opt.c (use_test_buffer): New function.
14930 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
14931
cfba5dbb
FW
149322018-07-26 Florian Weimer <fweimer@redhat.com>
14933
14934 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
14935 aliases for symbols not in the implementation namespace.
14936
6b5c8607 149372018-07-25 Carlos O'Donell <carlos@redhat.com>
7cd7d36f
CD
14938
14939 [BZ #23393]
14940 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
14941 lowercase in LATIN script.
14942 * localedata/Makefile (test-input): Add en_US.UTF-8.
14943 * localedata/en_US.UTF-8.in: New file.
14944 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
14945 and restore old tests.
14946 * posix/tst-regexloc.c (do_test): Add back range expression test.
14947
3fb455b3
L
149482018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14949
14950 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
14951
d6499b70
AZ
149522018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14953
14954 * nptl/threads.h: Move to ...
14955 * sysdeps/nptl/threads.h: ... here.
14956 * sysdeps/hurd/stdc-predef.h: New file.
14957
08ac6bed
L
149582018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14959
14960 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
14961 tst-cet-setcontext-1 if CET is enabled.
14962 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
14963 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
14964
9faaf938
AZ
149652018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14966
14967 * include/threads.h: Move to ...
14968 * sysdeps/nptl/threads.h: ... here.
14969 * sysdeps/htl/threads.h: New file.
14970 * conform/Makefile (linknamespace-libs-ISO11): Use
14971 static-thread-library instead of linking libpthread.
14972 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
14973
d6b8f847
FW
149742018-07-25 Florian Weimer <fweimer@redhat.com>
14975
14976 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
14977 nanoseconds into seconds.
14978 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
14979 (do_test): Likewise.
14980 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
14981 (do_test): Likewise. Avoid nanosecond overflow and spurious
14982 timeouts due to system load.
14983 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
14984 (child_wait): Increment it.
14985 (do_test): Wait as long as necessary until all expected threads
14986 have arrived.
14987
25123a1c
L
149882018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
14989 H.J. Lu <hongjiu.lu@intel.com>
14990
14991 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
14992 __ssp.
14993 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
14994 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
14995 (__push___start_context): New.
14996 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
14997 <asm/prctl.h>.
14998 (__getcontext): Record the current shadow stack base. Save the
14999 caller's shadow stack pointer and base.
15000 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
15001 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
15002 (__push___start_context): New prototype.
15003 (__makecontext): Call __push___start_context to allocate a new
15004 shadow stack, push __start_context onto the new stack as well
15005 as the new shadow stack.
15006 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
15007 <asm/prctl.h>.
15008 (__setcontext): Restore the target shadow stack.
15009 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
15010 <asm/prctl.h>.
15011 (__swapcontext): Record the current shadow stack base. Save
15012 the caller's shadow stack pointer and base. Restore the target
15013 shadow stack.
15014 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
15015 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
15016 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
15017
375a4844
L
150182018-07-25 H.J. Lu <hongjiu.lu@intel.com>
15019
15020 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
15021 tst-setcontext8 and tst-setcontext9.
15022 * stdlib/tst-setcontext6.c: New file.
15023 * stdlib/tst-setcontext7.c: Likewise.
15024 * stdlib/tst-setcontext8.c: Likewise.
15025 * stdlib/tst-setcontext9.c: Likewise.
15026
bd4f7903
L
150272018-07-25 H.J. Lu <hongjiu.lu@intel.com>
15028
15029 * stdlib/Makefile ((tests): Add tst-setcontext5.
15030 * stdlib/tst-setcontext5.c: New file.
15031
7e28f203
L
150322018-07-25 H.J. Lu <hongjiu.lu@intel.com>
15033
15034 * stdlib/Makefile (tests): Add tst-setcontext4.
15035 * stdlib/tst-setcontext4.c: New file.
15036
8516ad2d
L
150372018-07-25 H.J. Lu <hongjiu.lu@intel.com>
15038
15039 * stdlib/Makefile (tests): Add tst-swapcontext1.
15040 * stdlib/tst-swapcontext1.c: New test.
15041
fddcd003
L
150422018-07-25 H.J. Lu <hongjiu.lu@intel.com>
15043
15044 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
15045 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
15046 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
15047 and tst-cet-legacy-4c.
15048 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
15049 and tst-cet-legacy-mod-4.
15050 (CFLAGS-tst-cet-legacy-2.c): New.
15051 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
15052 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
15053 (CFLAGS-tst-cet-legacy-3.c): Likewise.
15054 (CFLAGS-tst-cet-legacy-4.c): Likewise.
15055 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
15056 ($(objpfx)tst-cet-legacy-1): Likewise.
15057 ($(objpfx)tst-cet-legacy-2): Likewise.
15058 ($(objpfx)tst-cet-legacy-2.out): Likewise.
15059 ($(objpfx)tst-cet-legacy-2a): Likewise.
15060 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
15061 ($(objpfx)tst-cet-legacy-4): Likewise.
15062 ($(objpfx)tst-cet-legacy-4.out): Likewise.
15063 ($(objpfx)tst-cet-legacy-4a): Likewise.
15064 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
15065 (tst-cet-legacy-4a-ENV): Likewise.
15066 ($(objpfx)tst-cet-legacy-4b): Likewise.
15067 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
15068 (tst-cet-legacy-4b-ENV): Likewise.
15069 ($(objpfx)tst-cet-legacy-4c): Likewise.
15070 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
15071 (tst-cet-legacy-4c-ENV): Likewise.
15072 * sysdeps/x86/tst-cet-legacy-1.c: New file.
15073 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
15074 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
15075 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
15076 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
15077 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
15078 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
15079 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
15080 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
15081 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
15082 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
15083
9aa3113a
L
150842018-07-25 H.J. Lu <hongjiu.lu@intel.com>
15085
15086 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
15087 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
15088 with ssp_base.
15089 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
15090 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
15091 with ssp_base.
15092
9c79cec8
AS
150932018-07-25 Andreas Schwab <schwab@suse.de>
15094
15095 [BZ #23442]
15096 * locale/weightwc.h (findidx): Handle the case where usrc is a
15097 prefix of cp but one character too short.
15098
969c3355
AZ
150992018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15100
15101 * NEWS: Add ISO C threads addition.
15102
e0f9c462
FW
151032018-07-24 Florian Weimer <fweimer@redhat.com>
15104
15105 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15106 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
15107 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
15108 4.13.
15109
394df381
L
151102018-07-24 H.J. Lu <hongjiu.lu@intel.com>
15111
15112 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
15113 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
15114 <sys/prctl.h> and <asm/prctl.h>.
15115 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
15116 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
15117 and <asm/prctl.h>.
15118 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
15119 ARCH_CET_LEGACY_BITMAP.
15120 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
15121 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
15122 * sysdeps/x86/libc-start.c: Include <startup.h>.
15123
46545530
FW
151242018-07-24 Florian Weimer <fweimer@redhat.com>
15125
15126 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
15127 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
15128
6b5c8607 151292018-07-24 Rical Jasan <rj@2c3t.io>
9d0a979e 15130 Adhemerval Zanella <adhemerval.zanella@linaro.org>
0a07288b
AZ
15131 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
15132
15133 [BZ #14092]
9d0a979e
RJ
15134 * manual/debug.texi: Update adjacent chapter name.
15135 * manual/probes.texi: Likewise.
15136 * manual/threads.texi (ISO C Threads): New section.
15137 (POSIX Threads): Convert to a section.
15138
151392018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15140 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
15141
15142 [BZ# 14092]
0a07288b
AZ
15143 * nptl/Makefile (tests): Add new test files.
15144 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
15145 * nptl/tst-cnd-basic.c: Likewise.
15146 * nptl/tst-cnd-broadcast.c: Likewise.
15147 * nptl/tst-cnd-timedwait.c: Likewise.
15148 * nptl/tst-mtx-basic.c: Likewise.
15149 * nptl/tst-mtx-recursive.c: Likewise.
15150 * nptl/tst-mtx-timedlock.c: Likewise.
15151 * nptl/tst-mtx-trylock.c: Likewise.
15152 * nptl/tst-thrd-basic.c: Likewise.
15153 * nptl/tst-thrd-detach.c: Likewise.
15154 * nptl/tst-thrd-sleep.c: Likewise.
15155 * nptl/tst-tss-basic.c: Likewise.
15156
ce7528f6
AZ
151572018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15158
c6dd669b
AZ
15159 [BZ #14092]
15160 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
15161 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
15162 symbols.
15163 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15164 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15165 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15166 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15167 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15168 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15169 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15170 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15171 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15172 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15173 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15174 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15176 Likewise.
15177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15178 Likewise.
15179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
15180 Likewise.
15181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15182 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15183 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15184 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15185 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15186 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15187 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15188 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15189 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15190 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
15191 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
15192 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
15193 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
15194 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
15195 Likewise.
15196 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
15197 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
15198 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
15199 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
15200 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
15201 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
15202 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
15203 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
15204 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
15205 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
15206 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
15207 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
15208 ikewise.
15209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
15210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
15211 Likewise.
15212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
15213 Likewise.
15214 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
15215 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
15216 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
15217 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
15218 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
15219 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
15220 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
15221 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
15222
78d40132
AZ
15223 [BZ #14092]
15224 * conform/data/threads.h-data (thread_local): New macro.
15225 (TSS_DTOR_ITERATIONS): Likewise.
15226 (tss_t): New type.
15227 (tss_dtor_t): Likewise.
15228 (tss_create): New function.
15229 (tss_get): Likewise.
15230 (tss_set): Likewise.
15231 (tss_delete): Likewise.
15232 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
15233 tss_get, and tss_set objects.
15234 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
15235 * nptl/tss_create.c: New file.
15236 * nptl/tss_delete.c: Likewise.
15237 * nptl/tss_get.c: Likewise.
15238 * nptl/tss_set.c: Likewise.
15239 * sysdeps/nptl/threads.h (thread_local): New define.
15240 (TSS_DTOR_ITERATIONS): Likewise.
15241 (tss_t): New typedef.
15242 (tss_dtor_t): Likewise.
15243 (tss_create): New prototype.
15244 (tss_get): Likewise.
15245 (tss_set): Likewise.
15246 (tss_delete): Likewise.
15247
918311a3
AZ
15248 [BZ #14092]
15249 * conform/data/threads.h-data (cnd_t): New type.
15250 (cnd_init): New function.
15251 (cnd_signal): Likewise.
15252 (cnd_broadcast): Likewise.
15253 (cnd_wait): Likewise.
15254 (cnd_timedwait): Likewise.
15255 (cnd_destroy): Likewise.
15256 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
15257 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
15258 object.
15259 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
15260 * nptl/cnd_broadcast.c: New file.
15261 * nptl/cnd_destroy.c: Likewise.
15262 * nptl/cnd_init.c: Likewise.
15263 * nptl/cnd_signal.c: Likewise.
15264 * nptl/cnd_timedwait.c: Likewise.
15265 * nptl/cnd_wait.c: Likewise.
15266 * sysdeps/nptl/threads.h (cnd_t): New type.
15267 (cnd_init): New prototype.
15268 (cnd_signa): Likewise.
15269 (cnd_broadcast): Likewise.
15270 (cnd_wait): Likewise.
15271 (cnd_timedwait): Likewise.
15272 (cnd_destroy): Likewise.
15273
3c20a679
AZ
15274 [BZ #14092]
15275 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
15276 (once_flag): New type.
15277 (call_once): New function.
15278 * nptl/Makefile (libpthread-routines): Add call_once object.
15279 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
15280 * nptl/call_once.c: New file.
15281 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
15282 (once_flag): New type.
15283 (call_once): New prototype.
15284
18d59c1b
AZ
15285 [BZ #14092]
15286 * conform/data/threads.h-data (mtx_plain): New constant.
15287 (mtx_recursive): Likewise.
15288 (mtx_timed): Likewise.
15289 (mtx_t): New type.
15290 (mtx_init): New function.
15291 (mtx_lock): Likewise.
15292 (mtx_timedlock): Likewise.
15293 (mtx_trylock): Likewise.
15294 (mtx_unlock): Likewise.
15295 (mtx_destroy): Likewise.
15296 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
15297 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
15298 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
15299 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
15300 * nptl/mtx_destroy.c: New file.
15301 * nptl/mtx_init.c: Likewise.
15302 * nptl/mtx_lock.c: Likewise.
15303 * nptl/mtx_timedlock.c: Likewise.
15304 * nptl/mtx_trylock.c: Likewise.
15305 * nptl/mtx_unlock.c: Likewise.
15306 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
15307 (mtx_recursive): Likewise.
15308 (mtx_timed): Likewise.
15309 (mtx_t): New type.
15310 (mtx_init): New prototype.
15311 (mtx_lock): Likewise.
15312 (mtx_timedlock): Likewise.
15313 (mtx_trylock): Likewise.
15314 (mtx_unlock): Likewise.
15315 (mtx_destroy): Likewise.
15316
ce7528f6
AZ
15317 [BZ #14092]
15318 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
15319 (linknamespace-libs-ISO11): Add libpthread.a.
15320 * conform/data/threads.h-data: New file: add C11 thrd_* types and
15321 functions.
15322 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
15323 * nptl/Makefile (headers): Add threads.h.
15324 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
15325 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
15326 thrd_yield.
15327 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
15328 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
15329 thrd_join, thrd_sleep, and thrd_yield symbols.
15330 * nptl/descr.h (struct pthread): Add c11 field.
15331 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
15332 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
15333 routine with expected function prototype.
15334 (__pthread_create_2_1): Add C11 threads check based on attribute
15335 value.
15336 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
15337 * nptl/thrd_create.c: New file.
15338 * nptl/thrd_current.c: Likewise.
15339 * nptl/thrd_detach.c: Likewise.
15340 * nptl/thrd_equal.c: Likewise.
15341 * nptl/thrd_exit.c: Likewise.
15342 * nptl/thrd_join.c: Likewise.
15343 * nptl/thrd_priv.h: Likewise.
15344 * nptl/thrd_sleep.c: Likewise.
15345 * nptl/thrd_yield.c: Likewise.
15346 * include/threads.h: Likewise.
15347
e27f41ba
L
153482018-07-24 H.J. Lu <hongjiu.lu@intel.com>
15349
15350 * bits/indirect-return.h: New file.
15351 * misc/sys/cdefs.h (__glibc_has_attribute): New.
15352 * sysdeps/x86/bits/indirect-return.h: Likewise.
15353 * stdlib/Makefile (headers): Add bits/indirect-return.h.
15354 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
15355 (swapcontext): Add __INDIRECT_RETURN.
15356 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
15357 (prepare_test_buffer): Use it.
15358
21526a50
AS
153592018-07-24 Andreas Schwab <schwab@suse.de>
15360
15361 [BZ #23448]
15362 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
15363 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
15364
3650e1d9
L
153652018-07-24 H.J. Lu <hongjiu.lu@intel.com>
15366
15367 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
15368 Redefine if shadow stack is enabled.
15369 (SYSCALL_ERROR_LABEL): Likewise.
15370 (__vfork): Pop shadow stack and jump back to to caller directly
15371 when shadow stack is in use.
15372 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
15373 Redefine if shadow stack is enabled.
15374 (SYSCALL_ERROR_LABEL): Likewise.
15375 (__vfork): Pop shadow stack and jump back to to caller directly
15376 when shadow stack is in use.
15377
ca027e0f
L
153782018-07-24 H.J. Lu <hongjiu.lu@intel.com>
15379
15380 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
15381 enabled.
15382 (foo): Likewise.
15383 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
15384 (foo): Likewise.
15385
b99f1c95
JM
153862018-07-20 Joseph Myers <joseph@codesourcery.com>
15387
15388 * scripts/build-many-glibcs.py (Context.checkout): Default
15389 binutils version to 2.31 branch.
15390
c8fabb84
ZL
153912018-07-20 Zong Li <zong@andestech.com>
15392
15393 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
15394 URL of gcc's tarball.
15395
786658a0
FW
153962018-07-20 Florian Weimer <fweimer@redhat.com>
15397
15398 [BZ #23396]
15399 * posix/regcomp.c (build_equiv_class): When comparing weights, do
15400 not compare an extra byte after the end of the weights.
15401
46f2474e
ST
154022018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
15403
15404 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
15405 to 1.
8ba1520e
ST
15406 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
15407 hidden prototypes.
15408 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
15409 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
2d5c41de
ST
15410 * scripts/check-execstack.awk: Consider `xfail' variable containing a
15411 list of libraries whose stack executability is expected.
15412 * elf/Makefile ($(objpfx)check-execstack.out): Pass
15413 $(check-execstack-xfail) to check-execstack.awk through `xfail'
15414 variable.
15415 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
15416 libc.so libpthread.so.
46f2474e 15417
60088242
TS
154182018-07-20 Thomas Schwinge <tschwinge@gnu.org>
15419
15420 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
15421 SOCK_NONBLOCK.
75d5e4a0
TS
15422 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
15423 and SOCK_NONBLOCK.
de195be0
TS
15424 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
15425 implement __pipe2.
15426 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
60088242 15427
1cf4ae7f
LS
154282018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
15429
15430 * benchtests/scripts/compare_bench.py (__main__): use the argparse
15431 library to improve command line parsing.
15432 (__main__): make schema file as optional parameter (--schema),
15433 defaulting to benchtests/scripts/benchout.schema.json.
15434 (main): move out of the parsing stuff to __main_  and leave it
15435 only as caller of main comparison functions.
15436
e84bd851
L
154372018-07-19 H.J. Lu <hongjiu.lu@intel.com>
15438
15439 * NEWS: Add a note for Intel CET status.
15440 * manual/install.texi: Likewise.
15441 * INSTALL: Regenerated.
15442
df467d22
QP
154432018-07-18 Quentin PAGÈS <provaires@quentino.fr>
15444
15445 [BZ #23140]
15446 * localedata/locales/oc_FR (mon): Rename to...
15447 (alt_mon): This, then update October (typo fix).
15448 (mon): New content (genitive case, month names preceded by
15449 "de" or "d’").
15450
15451 [BZ #23422]
15452 * localedata/locales/oc_FR (abday): Update all items.
15453 (day): Update Wednesday and Saturday (typo fixes).
15454 (abmon): Update all items, except May.
15455 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
15456 (LC_IDENTIFICATION): Bump the revision number and date.
15457 Keep the "category" entries in alphabetic order.
15458 (LC_ADDRESS): Remove no longer needed comment.
15459 (LC_COLLATE): Use “copy "ca_ES"”.
15460 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
15461 "name_mrs".
15462
5c112f1b
JM
154632018-07-18 Joseph Myers <joseph@codesourcery.com>
15464
15465 * grp/tst_fgetgrent.c: Include <unistd.h>.
15466 (main): Use mkstemp instead of tmpnam.
15467 * io/test-utime.c (main): Likewise.
15468 * posix/annexc.c (macrofile): Change to modifiable array.
15469 (main): Remove macrofile here.
15470 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
15471 macrofile here.
15472 (check_header): Do not remove macrofile here.
15473 * posix/bug-getopt1.c: Include <stdlib.h>.
15474 (do_test): Use mkstemp instead of tmpnam.
15475 * posix/bug-getopt2.c: Include <stdlib.h>.
15476 (do_test): Use mkstemp instead of tmpnam.
15477 * posix/bug-getopt3.c: Include <stdlib.h>.
15478 (do_test): Use mkstemp instead of tmpnam.
15479 * posix/bug-getopt4.c: Include <stdlib.h>.
15480 (do_test): Use mkstemp instead of tmpnam.
15481 * posix/bug-getopt5.c: Include <stdlib.h>.
15482 (do_test): Use mkstemp instead of tmpnam.
15483 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
15484 (main): Use mkstemp instead of tmpnam.
15485 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
15486 (main): Use mkstemp instead of tmpnam.
15487 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
15488 (main): use mkstemp instead of tmpnam.
15489 * stdlib/isomac.c (macrofile): Change to modifiable array.
15490 (main): Remove macrofile here.
15491 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
15492 macrofile here.
15493 (check_header): Do not remove macrofile here.
15494
6d90776d
L
154952018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15496
15497 * manual/tunables.texi: Document glibc.tune.x86_ibt and
15498 glibc.tune.x86_shstk.
15499
e6c69509
L
155002018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15501
15502 * NEWS: Mention --enable-cet.
15503 * manual/install.texi: Document --enable-cet.
15504 * INSTALL: Regenerated.
15505
e2d40a88
L
155062018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15507
15508 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
15509 Add _CET_NOTRACK before indirect jump to jump table.
15510
77a8ae09
L
155112018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15512
15513 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
15514 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15515 to jump table.
15516
90d15dc5
L
155172018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15518
15519 * sysdeps/i386/i686/multiarch/strcat-sse2.S
15520 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15521 to jump table.
15522
f1574581
L
155232018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15524
15525 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
15526 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15527 to jump table.
15528
7fb61336
L
155292018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15530
15531 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
15532 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15533 to jump table.
15534
0a899af0
L
155352018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15536
15537 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
15538 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15539 to jump table.
15540 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
15541
177824e2
L
155422018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15543
15544 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
15545 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15546 to jump table.
15547
00e7b76a
L
155482018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15549
15550 * sysdeps/i386/i686/multiarch/memset-sse2.S
15551 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15552 to jump table.
15553
7e119cd5
L
155542018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15555
15556 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
15557 indirect jump to jump table.
15558
03aaf49b
L
155592018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15560
15561 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
15562 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15563 to jump table.
15564 (MEMCPY): Likewise.
15565
811e9e52
L
155662018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15567
15568 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
15569 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15570 to jump table.
15571 (MEMCPY): Likewise.
15572
8817df42
L
155732018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15574
15575 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
15576 _CET_NOTRACK before indirect jump to jump table.
15577
921595d1
L
155782018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15579
15580 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
15581 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15582 to jump table.
15583
4ef60d95
L
155842018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15585
15586 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
15587 indirect jump to jump table.
15588
61c4aad7
VT
155892018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
15590
15591 [BZ #22241]
15592 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
15593 (LOCALES): Likewise.
15594 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
15595 * localedata/locales/sah_RU: New file.
15596 * localedata/sah_RU.UTF-8.in: New file.
15597
be9ccd27
L
155982018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15599
15600 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
15601 "sysdep.h".
15602 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
15603 _CET_ENDBR to indirect jump targets and adjust jump destination
15604 for _CET_ENDBR.
15605 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
15606 "sysdep.h".
15607 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
15608 _CET_ENDBR to indirect jump targets and adjust jump destination
15609 for _CET_ENDBR.
15610 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
15611 "sysdep.h".
15612 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
15613 _CET_ENDBR to indirect jump targets and adjust jump destination
15614 for _CET_ENDBR.
15615
5efc6777
L
156162018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15617
15618 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
15619 _CET_ENDBR.
15620
562837c0
L
156212018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15622
15623 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
15624 _CET_ENDBR.
15625 (_dl_tlsdesc_undefweak): Likewise.
15626 (_dl_tlsdesc_dynamic): Likewise.
15627 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
15628 (_dl_tlsdesc_resolve_rel): Likewise.
15629 (_dl_tlsdesc_resolve_rela): Likewise.
15630 (_dl_tlsdesc_resolve_hold): Likewise.
15631 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
15632 (_dl_tlsdesc_undefweak): Likewise.
15633 (_dl_tlsdesc_dynamic): Likewise.
15634 (_dl_tlsdesc_resolve_rela): Likewise.
15635 (_dl_tlsdesc_resolve_hold): Likewise.
15636
124bcde6
L
156372018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15638
15639 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
15640 (_fini): Likewise.
15641 * sysdeps/x86_64/crti.S (_init): Likewise.
15642 (_fini): Likewise.
15643
ab74d59f 156442018-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
9145f033
RL
15645
15646 [BZ #23140]
15647 * localedata/locales/os_RU (mon): Rename to...
15648 (alt_mon): This.
15649 (mon): Import from CLDR (genitive case).
15650
ba2ea23d
L
156512018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15652
15653 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
15654 cet-tunables.h> when CET is enabled.
15655
f753fa7d
L
156562018-07-16 H.J. Lu <hongjiu.lu@intel.com>
15657
6b5c8607 15658 [BZ #21598]
f753fa7d
L
15659 * configure.ac: Add --enable-cet.
15660 * configure: Regenerated.
15661 * elf/Makefille (all-built-dso): Add a comment.
15662 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
15663 Include <dl-prop.h>.
15664 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
15665 segment.
15666 * elf/dl-open.c: Include <dl-prop.h>.
15667 (dl_open_worker): Call _dl_open_check.
15668 * elf/rtld.c: Include <dl-prop.h>.
15669 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
15670 _rtld_main_check.
15671 * sysdeps/generic/dl-prop.h: New file.
15672 * sysdeps/i386/dl-cet.c: Likewise.
15673 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
15674 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
15675 * sysdeps/x86/cet-tunables.h: Likewise.
15676 * sysdeps/x86/check-cet.awk: Likewise.
15677 * sysdeps/x86/configure: Likewise.
15678 * sysdeps/x86/configure.ac: Likewise.
15679 * sysdeps/x86/dl-cet.c: Likewise.
15680 * sysdeps/x86/dl-procruntime.c: Likewise.
15681 * sysdeps/x86/dl-prop.h: Likewise.
15682 * sysdeps/x86/libc-start.h: Likewise.
15683 * sysdeps/x86/link_map.h: Likewise.
15684 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
15685 _CET_ENDBR.
15686 (_dl_runtime_profile): Likewise.
15687 (_dl_runtime_resolve_shstk): New.
15688 (_dl_runtime_profile_shstk): Likewise.
15689 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
15690 if CET is enabled.
15691 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
15692 (CFLAGS-.os): Likewise.
15693 (CFLAGS-.op): Likewise.
15694 (CFLAGS-.oS): Likewise.
15695 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
15696 is enabled.
15697 (tests-special): Add $(objpfx)check-cet.out.
15698 (cet-built-dso): New.
15699 (+$(cet-built-dso:=.note)): Likewise.
15700 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
15701 ($(objpfx)check-cet.out): New.
15702 (generated): Add check-cet.out.
15703 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
15704 <cet-tunables.h>.
15705 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
15706 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
15707 (init_cpu_features): Call get_cet_status to check CET status
15708 and update dl_x86_feature_1 with CET status. Call
15709 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
15710 (set_x86_shstk). Disable and lock CET in libc.a.
15711 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
15712 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
15713 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
15714 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
15715 (_CET_ENDBR): Define if not defined.
15716 (ENTRY): Add _CET_ENDBR.
15717 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
15718 x86_shstk.
15719 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
15720 _CET_ENDBR.
15721 (_dl_runtime_profile): Likewise.
15722
52b2a80f
RA
157232018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
15724
15725 [BZ #21895]
15726 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
15727 restore r2 on longjmp.
15728 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
15729 test list.
15730 Added rules to build test tst-setjmp-bug21895-static.
15731 Added module setjmp-bug21895 and rules to build a shared object from it.
15732 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
15733 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
15734
3ae725df
WD
157352018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
15736
15737 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
15738 * benchtests/bench-strstr.c: Likewise.
15739 * string/memmem.c (FASTSEARCH): Define.
15740 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
15741 Add support for FASTSEARCH.
15742 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
15743 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
15744 (FASTSEARCH): Define.
15745 * string/test-strcasestr.c: Rename __strnlen to strnlen.
15746 * string/test-strstr.c: Likewise.
15747
31e422ca
L
157482018-07-15 H.J. Lu <hongjiu.lu@intel.com>
15749
15750 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
15751 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
15752
faaee1f0
L
157532018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
15754 H.J. Lu <hongjiu.lu@intel.com>
15755
15756 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
15757 (__longjmp): Restore shadow stack pointer if shadow stack is
15758 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
15759 isn't defined for __longjmp_cancel.
15760 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
15761 (_setjmp): Save shadow stack pointer if shadow stack is enabled
15762 and SHADOW_STACK_POINTER_OFFSET is defined.
15763 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
15764 (setjmp): Save shadow stack pointer if shadow stack is enabled
15765 and SHADOW_STACK_POINTER_OFFSET is defined.
15766 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
15767 (__sigsetjmp): Save shadow stack pointer if shadow stack is
15768 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15769 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
15770 <jmp_buf-ssp.h>.
15771 (____longjmp_chk): Restore shadow stack pointer if shadow stack
15772 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15773 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
15774 Remove jmp_buf-ssp.sym.
15775 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
15776 <jmp_buf-ssp.h>.
15777 (____longjmp_chk): Restore shadow stack pointer if shadow stack
15778 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15779 * sysdeps/x86/Makefile (gen-as-const-headers): Add
15780 jmp_buf-ssp.sym.
15781 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
15782 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
15783 (__longjmp): Restore shadow stack pointer if shadow stack is
15784 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
15785 isn't defined for __longjmp_cancel.
15786 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
15787 (__sigsetjmp): Save shadow stack pointer if shadow stack is
15788 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15789
ebff9c5c
L
157902018-07-14 H.J. Lu <hongjiu.lu@intel.com>
15791
15792 [BZ #22563]
15793 * nptl/pthread_create.c: Include <tls-setup.h>.
15794 (__pthread_create_2_1): Call tls_setup_tcbhead.
15795 * sysdeps/generic/tls-setup.h: New file.
15796 * sysdeps/x86/nptl/tls-setup.h: Likewise.
15797 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
15798 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
15799 Likewise.
15800 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
15801 to feature_1.
15802 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
15803 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
15804 (X86_FEATURE_1_SHSTK): Likewise.
15805 (CET_ENABLED): Likewise.
15806 (IBT_ENABLED): Likewise.
15807 (SHSTK_ENABLED): Likewise.
15808
ab74d59f 158092018-07-13 Rafał Lużyński <digitalfreak@lingonborough.com>
0a83bad2
RL
15810
15811 [BZ #23208]
15812 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
15813 (LOCALES): Likewise.
15814 * localedata/dsb_DE.UTF-8.in: New file.
15815 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
15816
046bfed9
FW
158172018-07-12 Florian Weimer <fweimer@redhat.com>
15818
15819 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
15820 __mprotect, not mprotect.
15821
93304f5f
FW
158222018-07-11 Florian Weimer <fweimer@redhat.com>
15823
15824 * io/Makefile (headers): Add bits/statx.h.
15825
4beefeeb
MF
158262018-07-10 Mike FABIAN <mfabian@redhat.com>
15827
15828 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
15829 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
15830 and headers.
15831 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
15832 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
15833 for utf8_gen.py
15834
fd70af45
FW
158352018-07-10 Florian Weimer <fweimer@redhat.com>
15836
15837 * io/Makefile (routines): Add statx.
15838 (tests-internal): Add tst-statx.
15839 * io/Versions (GLIBC_2.28): Export statx.
15840 * io/bits/statx.h: New file.
15841 * io/sys/stat.h [__USE_GNU]: Include it.
15842 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
15843 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
15844 Define.
15845 * io/statx.c: New file.
15846 * io/statx_generic.: Likewise.
15847 * io/tst-statx.: Likewise.
15848 * include/bits/statx.h: Likewise.
15849 * sysdeps/unix/sysv/linux/kernel-features.h
15850 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
15851 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15852 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
15853 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
15854 Undefine.
15855 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15856 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
15857 * sysdeps/unix/sysv/linux/statx.c: New file.
15858 * manual/filesys.texi: Note that statx is undocumented.
15859 * sysdeps/**/libc*.abilist: Update.
15860
b444e8f7
AZ
158612018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15862
15863 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
15864 a kernel issue which lead to test failure in some cases.
15865
7b2f4ced
FW
158662018-07-10 Florian Weimer <fweimer@redhat.com>
15867
15868 [BZ #23036]
15869 * posix/regexec.c (check_node_accept_bytes): When comparing
15870 weights, do not compare an extra byte after the end of the
15871 weights.
15872
4fa34da6
FW
158732018-07-10 Florian Weimer <fweimer@redhat.com>
15874
15875 * libio/readline.c: Fix copyright year.
15876 * libio/tst-readline.c Likewise.
15877 * nss/tst-nss-files-hosts-getent.c: Likewise.
15878
916124ed
FW
158792018-07-06 Florian Weimer <fweimer@redhat.com>
15880
15881 [BZ #18991]
15882 * nss/nss_files/files-XXX.c (internal_getent): Use
15883 __libc_readline_unlocked. Seek back to the start of the line if
15884 parsing failes with ERANGE.
15885 (get_contents_ret, get_contents): Remove.
15886 * nss/tst-nss-files-hosts-getent.c: New file.
15887 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
15888 (tst-nss-files-hosts-getent): Link with -ldl.
15889
3f5e3f5d
FW
158902018-07-06 Florian Weimer <fweimer@redhat.com>
15891
15892 * include/stdio.h (__libc_readline_unlocked): Declare.
15893 (__ftello64, __fseeko64): Declare aliases.
15894 * libio/readline.c: New file.
15895 * libio/tst-readline.c: Likewise.
15896 (routines): Add readline.
15897 (tests-internal): Add tst-readlime.
15898 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
15899 __libc_readline_unlocked.
15900 * libio/fseeko.c (__fseeko): Rename from fseeko.
15901 (fseeko): Add alias.
15902 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
15903 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
15904 (fseeko64): Add alias.
15905 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
15906 * libio/ftello64.c (__ftello64): Rename from ftello64.
15907 (ftello64): Add alias.
15908
397c54c1
SN
159092018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
15910
15911 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
15912 HWCAP_ATOMICS.
15913
d0cd7980
SN
159142018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
15915
15916 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
15917 Use dl_hwcap without masking.
15918 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
15919 Remove HWCAP_CPUID.
15920
ddb3c626
FW
159212018-07-06 Florian Weimer <fweimer@redhat.com>
15922
15923 * conform/conformtest.pl (checknamespace): Escape literal braces
15924 in regular expressions.
15925
bce5911b
AP
159262018-07-06 Amit Pawar <amit.pawar@amd.com>
15927
15928 * sysdeps/x86/cpu-features.c (get_common_indeces):
15929 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
15930 * sysdeps/x86/cpu-features.c (init_cpu_features):
15931 AVX_Fast_Unaligned_Load is disabled for Excavator core.
15932
3a885c1f
FW
159332018-07-05 Florian Weimer <fweimer@redhat.com>
15934
15935 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
15936 protector.
15937 (CFLAGS-elf-init.oS): Likewise.
15938
38cade0c
FW
159392018-07-05 Florian Weimer <fweimer@redhat.com>
15940 Carlos O'Donell <carlos@redhat.com>
15941
15942 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
15943 $(no-stack-protector). stack_chk_fail_local.c can be compiled
15944 with stack protector enabled because there is no risk of infinite
15945 recursion.
15946
9449a295
MR
159472018-07-05 Maciej W. Rozycki <macro@mips.com>
15948
15949 [BZ #19818]
15950 [BZ #23307]
15951 * libc-abis (ABSOLUTE): New ABI.
15952 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
15953 * NEWS: Mention the new ABI.
15954
d6da5cb6
FW
159552018-07-05 Florian Weimer <fweimer@redhat.com>
15956
15957 [BZ # 17662]
15958 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
15959 (RENAME_WHITEOUT): Define.
15960 [__USE_GNU] (renameat2): Declare.
15961 * stdio-common/Makefile (routines): Add renameat2.
15962 (tests): Add tst-renameat2.
15963 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
15964 * stdio-common/renameat2.c: New file.
15965 * stdio-common/tst-renameat2.c: Likewise.
15966 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
15967 * manual/filesys.texi (Temporary Files): Note that renameat2 is
15968 undocumented.
15969 * sysdeps/unix/sysv/linux/kernel-features.h
15970 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
15971 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15972 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
15973 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15974 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
15975 * sysdeps/unix/sysv/linux/sh/kernel-features.h
15976 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
15977 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15978 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
15979 * include/stdio.h (__renameat): Add alias for renameat.
15980 * stdio-common/renameat.c (__renameat): Rename from renameat.
15981 Add hidden definition and alias.
15982 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
15983 * sysdeps/mach/hurd/renameat.c: Likewise.
15984 * sysdeps/**/libc*.abilist: Add renameat2.
15985
1002d708
AZ
159862018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15987
15988 * posix/bug-regex33.c: Fix build after regex sync.
15989
34fdb893
CD
159902018-07-04 Carlos O'Donell <carlos@redhat.com>
15991
15992 [BZ #23164]
15993 * localedata/tst-langinfo-setlocale.c: New file.
15994 * localedata/tst-langinfo-setlocale-static.c: New file.
15995 * localedata/tst-langinfo-newlocale.c: New file.
15996 * localedata/tst-langinfo-newlocale-static.c: New file.
15997 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
15998 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
15999 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
16000 (tests-static): Remove tst-langinfo-static. Add
16001 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
16002 (tests-special): Remove $(objpfx)tst-langinfo.out,
16003 $(objpfx)tst-langinfo-static.out. Add
16004 $(objpfx)tst-langinfo-setlocale.out,
16005 $(objpfx)tst-langinfo-newlocale.out,
16006 $(objpfx)tst-langinfo-setlocale-static.out,
16007 $(objpfx)tst-langinfo-newlocale-static.out.
16008 ($(objpfx)tst-langinfo.out): Remove.
16009 ($(objpfx)tst-langinfo-static.out): Remove.
16010 ($(objpfx)tst-langinfo-newlocale.out): New target.
16011 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
16012 (test-xfail-tst-langinfo-newlocale-static): Add.
16013 ($(objpfx)tst-langinfo-setlocale.out): New target.
16014 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
16015 * localedata/tst-langinfo.c: Call test_locale.
16016 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
16017 data.
16018
f2873d2d
FW
160192018-07-04 Florian Weimer <fweimer@redhat.com>
16020
16021 testrun.sh: Implement --tool=strace, --tool=valgrind
16022 * Makefile (testrun-script): Define variable.
16023 (testrun.sh): Use variable.
16024 * manual/install.texi (Tools for Compilation): make 4.0 or later
16025 is required.
16026 * configure.ac: Check for make 4.0 or later.
16027 * INSTALL: Regenerate.
16028 * configure: Likewise.
16029
eb04c213
AZ
160302018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16031
16032 [BZ #23233]
16033 [BZ #21163]
16034 [BZ #18986]
16035 [BZ #13762]
16036 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
16037 * posix/PCRE.tests: Remove invalid test.
16038 * posix/bug-regex28.c: Fix expected values for used syntax.
16039 * posix/bug-regex37.c: New file.
16040 * posix/bug-regex38.c: Likewise.
16041 * posix/regcomp.c: Sync with gnulib.
16042 * posix/regex.c: Likewise.
16043 * posix/regex.h: Likewise.
16044 * posix/regex_internal.c: Likewise.
16045 * posix/regex_internal.h: Likewise.
16046 * posix/regexec.c: Likewise.
16047
b11643c2
MF
160482018-06-26 Mike FABIAN <mfabian@redhat.com>
16049
16050 [BZ #23308]
16051 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
16052 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
16053 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
16054 * localedata/unicode-gen/PropList.txt: likewise.
16055 * localedata/unicode-gen/UnicodeData.txt: likewise.
16056 * localedata/charmaps/UTF-8: Regenerate.
16057 * localedata/locales/i18n_ctype: likewise.
16058 * localedata/locales/tr_TR: likewise.
16059 * localedata/locales/translit_circle: likewise.
16060 * localedata/locales/translit_cjk_compat: likewise.
16061 * localedata/locales/translit_combining: likewise.
16062 * localedata/locales/translit_compat: likewise.
16063 * localedata/locales/translit_font: likewise.
16064 * localedata/locales/translit_fraction: likewise.
16065
5a357506
FW
160662018-07-03 Florian Weimer <fweimer@redhat.com>
16067
16068 [BZ #23363]
16069 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
16070 * stdio-common/tst-printf.sh: Adjust expected output.
16071 * LICENSES: Update.
16072
7279af00
AZ
160732018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16074
16075 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
16076 symbol.
16077
b7b88cea
GG
160782018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16079
16080 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
16081 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
16082 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
16083 * stdio-common/tst-printfsz-islongdouble.c: New file.
16084 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
16085 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
16086 [subdir == stdio-common] (routines): Add ieee128-printf_size.
16087 [subdir == stdio-common] (tests-internal): Add
16088 test-printf-size-ieee128, and test-printf-size-ibm128.
16089 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
16090 (CFLAGS-test-printf-size-ibm128.c): New variables.
16091 [subdir == stdio-common] (tests-special): Add
16092 $(objpfx)test-printf-size-ieee128.out and
16093 $(objpfx)test-printf-size-ibm128.out.
16094 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
16095 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
16096 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
16097 __printf_sizeieee128.
16098 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
16099 New file.
16100 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
16101 Likewise.
16102 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
16103 Likewise.
16104
2b445206
SN
161052018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
16106
16107 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
16108 (exp2f_inline): Likewise.
16109 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
16110 (__math_uflowf): Likewise.
16111 (__math_may_uflowf): Likewise.
16112 (__math_divzerof): Likewise.
16113 (__math_invalidf): Likewise.
16114 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
16115 (__math_oflowf): Likewise.
16116 (__math_uflowf): Likewise.
16117 (__math_may_uflowf): Likewise.
16118 (__math_divzerof): Likewise.
16119 (__math_invalidf): Likewise.
16120
2827ab99
CD
161212018-06-29 DJ Delorie <dj@redhat.com>
16122 Carlos O'Donell <carlos@redhat.com>
16123
16124 [BZ #23329]
16125 * include/libc-symbols.h: Comment the freeres framework.
16126 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
16127 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
16128 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
16129 * dlfcn/dlerror.c: Include libc-symbols.h
16130 (__dlerror_main_freeres): New function.
16131 * dlfcn/dlfreeres.c: New file.
16132 * dlfcn/sdlfreeres.c: New file.
16133 * include/dlfcn.h: Declare __dlerror_main_freeres.
16134 * malloc/set-freeres.c: Declare __libdl_freeres, and
16135 __libpthread_freeres.
16136 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
16137 the releavant libraries are loaded.
16138 * malloc/thread-freeres.c: Add comments.
16139 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
16140 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
16141 * nptl/allocatestack.c (__nptl_free_stacks): New function.
16142 (__free_stacks): Rename to...
16143 (free_stacks): ...this. Mark static.
16144 (queue_stack): Call free_stacks.
16145 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
16146 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
16147 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
16148 ptr_freeres element from struct.
16149 (pthread_functions): Remove .ptr_freeres from struct initializer.
16150 [SHARED] (nptl_freeres): Remove.
16151 * nptl/nptlfreeres.c: New file.
16152 * nptl/pthreadP.h
16153 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
16154 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
16155 attribute_hidden.
16156 (__free_stacks): Rename to...
16157 (__nptl_stacks_freeres): ...this.
16158 (__shm_directory_freeres): Declare.
16159 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
16160 (__nptl_unwind_freeres): ...this.
16161 * resolv/res-close.c: Add comment.
16162 * resolv/resolv_conf.c: Include libc-symbols.h.
16163 * string/strerror_l.c: Include libc-symbols.h.
16164 * sunrpc/rpc_thread.c: Include libc-symbols.h.
16165 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
16166 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
16167 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
16168
37d3d244
RS
161692018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16170
16171 * stdlib/tst-strfmon_l.c: Add tests for long double.
16172
a1e0c5fa
MW
161732018-06-29 Michael Wolf <milupo@sorbzilla.de>
16174
16175 [BZ #23208]
16176 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
16177 * localedata/locales/dsb_DE: New file.
16178
ab74d59f 161792018-06-29 Rafał Lużyński <digitalfreak@lingonborough.com>
2e0c5de6
RL
16180
16181 [BZ #23140]
16182 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
16183 genitive case).
16184 (alt_mon): New entry, import from CLDR (nominative case).
16185
cdb52c71
SL
161862018-06-29 Sylvain Lesage <severo@rednegra.net>
16187
16188 [BZ #22996]
16189 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
16190
ce76a5cb
SP
161912018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
16192
0aec4c1d
SP
16193 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
16194 Use vector registers.
16195
ce76a5cb
SP
16196 * sysdeps/aarch64/multiarch/memmove_falkor.S
16197 (__memcpy_falkor): Use vector registers.
16198
7e8989d0
MS
161992018-06-29 Martin Sebor <msebor@redhat.com>
16200
16201 * manual/stdio.texi (Customizing Printf): Mention interaction
16202 with GCC built-ins.
16203
bac15a72
MR
162042018-06-29 Maciej W. Rozycki <macro@mips.com>
16205
16206 [BZ #23307]
16207 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
16208 `st_value' is 0 if `st_shndx' is SHN_ABS.
16209 * elf/tst-absolute-zero.c: New file.
16210 * elf/tst-absolute-zero-lib.c: New file.
16211 * elf/tst-absolute-zero-lib.lds: New file.
16212 * elf/Makefile (tests): Add `tst-absolute-zero'.
16213 (modules-names): Add `tst-absolute-zero-lib'.
16214 (LDLIBS-tst-absolute-zero-lib.so): New variable.
16215 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
16216 ($(objpfx)tst-absolute-zero: New dependency.
16217
e69d994a
ZW
162182018-06-29 Zack Weinberg <zackw@panix.com>
16219
16220 * configure.ac: New command-line option --disable-crypt.
16221 Force --disable-nss-crypt when --disable-crypt is given, with a
16222 warning if it was explicitly enabled.
16223 * configure: Regenerate.
16224 * config.make.in: New boolean substitution variable $(build-crypt).
16225 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
16226 when $(build-crypt).
16227 * manual/install.texi: Document --disable-crypt.
16228 * INSTALL: Regenerate.
16229
16230 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
16231 which is never set.
16232 * conform/Makefile: Only include libcrypt.a in
16233 linknamespace-libs-xsi and linknamespace-libs-XPG4
16234 when $(build-crypt).
16235 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
16236 USE_CRYPT to 1 when $(build-crypt).
16237 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
16238 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
16239 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
16240
841785ba
ZW
162412018-06-29 Zack Weinberg <zackw@panix.com>
16242
16243 * crypt/crypt.h, posix/unistd.h: Update comments and
16244 prototypes for crypt and crypt_r.
16245
16246 * manual/crypt.texi (Cryptographic Functions): New initial
16247 exposition.
16248 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
16249 (Unpredictable Bytes): Improve initial exposition. Clarify error
16250 behavior of getentropy and getrandom.
16251 * manual/examples/genpass.c: Generate a salt using getentropy
16252 instead of the current time. Use hash $5$ (SHA-2-256).
16253 * manual/examples/testpass.c: Demonstrate validation against
16254 hashes generated with three different one-way functions.
16255
16256 * manual/intro.texi: crypt.texi does not need an overview
16257 anymore.
16258
16259 * manual/nss.texi, manual/memory.texi, manual/socket.texi
16260 * manual/terminal.texi: Consistently refer to "passphrases"
16261 * instead of "passwords", and to the "user database" instead
16262 * of the "password database".
16263 * manual/users.texi: Similarly. Add notes about how actual
16264 passphrase hashes are now stored in the shadow database.
16265 Remove 20-year-old junk todo note.
16266
6ab902e4
ZW
162672018-06-29 Zack Weinberg <zackw@panix.com>
16268
16269 * manual/crypt.texi: Use a normal top-level @node declaration.
16270 Move most of the introductory text to the 'crypt' section.
16271 Move the example programs below the @deftypefun for 'crypt_r'.
16272 Move the 'getpass' section...
16273 * manual/terminal.texi: ...here.
16274
b10a0acc
ZW
162752018-06-29 Zack Weinberg <zackw@panix.com>
16276 Florian Weimer <fweimer@redhat.com>
16277
16278 * posix/unistd.h: Do not declare encrypt.
16279 (_XOPEN_CRYPT): Remove macro definition.
16280 (crypt): Declare only for _USE_MISC.
16281 * stdlib/stdlib.h: Do not declare setkey.
16282 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
16283 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
16284
16285 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
16286 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
16287 into compat symbols. Don't define initial_perm if it's not
16288 going to be used.
16289 * crypt/cert.c: Link explicitly with the expected versions for
16290 setkey and encrypt. If they are not available at all, mark
16291 the test as unsupported.
16292
16293 * sunrpc/des_crypt.c: Unconditionally block linkage with
16294 cbc_crypt and ecb_crypt for new binaries.
16295 * sunrpc/des_soft.c: Unconditionally block linkage with
16296 des_setparity for new binaries.
16297
16298 * manual/crypt.texi: Remove the entire "DES Encryption"
16299 section. Also remove the paragraph talking about FIPS 140-2
16300 from the introduction.
16301 * manual/string.texi (strfry, memfrob): Revise. Recommend use
16302 of libgcrypt for "real" encryption, not DES.
16303 * manual/conf.texi (Constants for Sysconf): Mention that
16304 _XOPEN_CRYPT is no longer impelemented.
16305
16306 * conform/data/unistd.h-data: Remove crypt function declaration.
16307
524d796d
FW
163082018-06-29 Florian Weimer <fweimer@redhat.com>
16309
16310 [BZ #23351]
16311 * malloc/hooks.c: Update comments on restoring of dumped heaps.
16312 (disallow_malloc_check): Remove variable.
16313 (__malloc_check_init): Adjust.
16314 (malloc_set_state): Update comment.
16315 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
16316 declarations.
16317
ab74d59f 163182018-06-29 Rafał Lużyński <digitalfreak@lingonborough.com>
339124ab
RL
16319
16320 [BZ #23140]
16321 * localedata/locales/ast_ES (mon): Rename to...
16322 (alt_mon): This.
16323 (mon): Import from CLDR (genitive case).
16324
c1f86a33
DA
163252018-06-29 Daniel Alvarez <dalvarez@redhat.com>
16326 Jakub Sitnicki <jkbs@redhat.com>
16327
16328 [BZ #21812]
16329 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
16330 on NLM_F_DUMP_INTR.
16331
0b11b649
SN
163322018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
16333
16334 * manual/llio.texi: Remove spurious space.
16335
c1c2848b
FW
163362018-06-28 Florian Weimer <fweimer@redhat.com>
16337
16338 [BZ #23349]
16339 * time/bits/types/struct_timespec.h: Change header inclusion guard to
16340 _STRUCT_TIMESPEC.
16341
86a0f561
RS
163422018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16343
16344 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
6b5c8607 16345 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
86a0f561
RS
16346 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
16347 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
16348 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
16349 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
16350 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
16351
780684eb
MR
163522018-06-27 Maciej W. Rozycki <macro@mips.com>
16353
16354 [BZ #23266]
16355 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
16356 Copy and null-terminate entries that are not terminated, in
16357 addition to empty ones.
16358
c49e1822
FW
163592018-06-27 Florian Weimer <fweimer@redhat.com>
16360
16361 [BZ #18023]
b39d961c
TS
16362 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
16363 (extend_alloca_account): Remove.
c49e1822
FW
16364 * manual/stdio.texi (Variable Arguments Output): Update comment.
16365
a833e627
JM
163662018-06-27 Joseph Myers <joseph@codesourcery.com>
16367
16368 * nptl/sockperf.c: Remove file.
16369
92d6aa85
FW
163702018-06-27 Florian Weimer <fweimer@redhat.com>
16371
16372 [BZ #18023]
16373 * elf/dl-deps.c (_dl_map_object_deps): Use struct
16374 scratch_buffer instead of extend_alloca.
16375
890c2ced
FW
163762018-06-27 Florian Weimer <fweimer@redhat.com>
16377
16378 [BZ #18023]
16379 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
16380 scratch_buffer instead of extend_alloca. Update comments.
16381
4272059d
FW
163822018-06-27 Florian Weimer <fweimer@redhat.com>
16383
16384 [BZ #18023]
16385 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
16386 instead of extend_alloca.
16387
27f10a09
JM
163882018-06-26 Joseph Myers <joseph@codesourcery.com>
16389
16390 [BZ #13888]
16391 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
16392 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
16393 /tmp.
16394 * scripts/test-installation.pl: Put temporary files in build
16395 directory, not /tmp.
16396 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
16397 (CFLAGS-bug4.c): Likewise.
16398 (CFLAGS-bug5.c): Likewise.
16399 (CFLAGS-test-fseek.c): Likewise.
16400 (CFLAGS-test-popen.c): Likewise.
16401 (CFLAGS-test_rdwr.c): Likewise.
16402 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
16403 /tmp.
16404 * stdio-common/bug4.c (main): Likewise.
16405 * stdio-common/bug5.c (main): Likewise.
16406 * stdio-common/test-fseek.c (TESTFILE): Likewise.
16407 * stdio-common/test-popen.c (do_test): Likewise.
16408 * stdio-common/test_rdwr.c (main): Likewise.
16409
05598a09
PF
164102018-06-26 Patsy Franklin <pfrankli@redhat.com>
16411
16412 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
16413 (sem_open): Set sem.newsem.pad to zero for valgrind.
16414
06ab719d
AZ
164152018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16416
16417 [BZ #20251]
16418 * NEWS: Mention fcntl64 addition.
16419 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
16420 * login/utmp_file.c: Likewise.
16421 * sysdeps/posix/fdopendir.c: Likewise.
16422 * sysdeps/posix/opendir.c: Likewise.
16423 * sysdeps/unix/pt-fcntl.c: Likewise.
16424 * include/fcntl.h (__libc_fcntl64, __fcntl64,
16425 __fcntl64_nocancel_adjusted): New prototype.
16426 (__fcntl_nocancel_adjusted): Remove prototype.
16427 * io/Makefile (routines): Add fcntl64.
16428 (CFLAGS-fcntl64.c): New rule.
16429 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
16430 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
16431 * io/fcntl.h (fcntl64): Add prototype and redirect if
16432 __USE_FILE_OFFSET64 is defined.
16433 * io/fcntl64.c: New file.
16434 * manual/llio.text: Add a note for which commands fcntl acts a
16435 cancellation point.
16436 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
16437 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
16438 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
16439 New symbols.
16440 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
16441 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
16442 non-LFS case.
16443 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
16444 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
16445 to __fcntl64_nocancel.
16446 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
16447 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
16448 to __fcntl64_nocancel.
16449 * sysdeps/generic/not-cancel.h: Likewise.
16450 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
16451 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
16452 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
16453 (fcntl64): New symbol.
16454 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16455 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16456 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16459 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
16460 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16461 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16462 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16463 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16464 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
16465 fcntl64): Likewise.
16466 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
16467 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
16468 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16469 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16470 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16471 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16472 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
16473 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16474 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
16475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
16476 Likewise.
16477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16478 Likewise.
16479 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16480 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16481 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16482
124e0258
FW
164832018-06-26 Florian Weimer <fweimer@redhat.com>
16484
16485 Run thread shutdown functions in an explicit order.
16486 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
16487 definition.
16488 (__libc_thread_freeres): Call thread shutdown functions
16489 explicitly.
16490 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
16491 * include/string.h (__strerror_thread_freeres): Declare.
16492 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
16493 arena_thread_freeres. No longer static. Remove thread shutdown
16494 hook registration.
16495 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
16496 Declare.
16497 * resolv/res-close.c (__res_thread_freeres): Renamed from
16498 res_thread_freeres. No longer static. Remove thread shutdown
16499 hook registration.
16500 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
16501 * resolv/resolv_conf.c (freeres): Remove incorrect section
16502 attribute and use libc_freeres_fn.
16503 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
16504 strerror_thread_freeres. No longer static. Remove thread
16505 shutdown hook registration.
16506 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
16507 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
16508 shutdown hook registration.
16509 * Makerules (shlib.lds): Do not provide section boundary symbols
16510 for __libc_thread_subfreeres.
16511 * manual/memory.texi (Basic Allocation): Update comment.
16512
935d920e
FW
165132018-06-26 Florian Weimer <fweimer@redhat.com>
16514
16515 Remove always-defined _RPC_THREAD_SAFE_ macro.
16516 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
16517 Do not define _RPC_THREAD_SAFE_.
16518 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
16519 conditional.
16520 * sunrpc/clnt_perr.c: Likewise.
16521 * sunrpc/clnt_raw.c: Likewise.
16522 * sunrpc/clnt_simp.c: Likewise.
16523 * sunrpc/key_call.c: Likewise.
16524 * sunrpc/rpc_common.c: Likewise.
16525 * sunrpc/rpc_main.c: Likewise.
16526 * sunrpc/rpc_thread.c: Likewise.
16527 * sunrpc/svc.c: Likewise.
16528 * sunrpc/svc_raw.c: Likewise.
16529 * sunrpc/svc_simple.c: Likewise.
16530 * sumrpc/svcauth_des.c: Likewise.
16531
29055464
FW
165322018-06-26 Florian Weimer <fweimer@redhat.com>
16533
16534 * libio/Makefile (tests-internal): Add tst-vtables,
16535 tst-vtables-interposed.
16536 * libio/tst-vtables.c: New file.
16537 * libio/tst-vtables-common.c: Likewise.
16538 * libio/tst-vtables-interposed.c: Likewise.
16539
5c0202af
FW
165402018-06-26 Florian Weimer <fweimer@redhat.com>
16541
16542 * support/support_test_main.c (support_test_main): Only call
16543 setvbuf if not disables.
16544 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
16545 * support/test-driver.h (struct test_config): Add no_setvbuf member.
16546
c402355d
FW
165472018-06-26 Florian Weimer <fweimer@redhat.com>
16548
16549 [BZ #23313]
16550 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
16551
43b1048a
FW
165522018-06-25 Florian Weimer <fweimer@redhat.com>
16553
16554 [BZ #18023]
16555 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16556 Use struct scratch_buffer instead of extend_alloca.
16557
1599ed4e
FW
165582018-06-25 Florian Weimer <fweimer@redhat.com>
16559
16560 [BZ #18023]
16561 * nss/getent.c (initgroups_keys): Use dynarray instead of
16562 extend_alloca.
16563
a26fe163
FW
165642018-06-25 Florian Weimer <fweimer@redhat.com>
16565
16566 [BZ #18023]
16567 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
16568 Use struct scratch_buffer instead of extend_alloca.
16569
90d9d9ce
FW
165702018-06-25 Florian Weimer <fweimer@redhat.com>
16571
16572 [BZ #18023]
16573 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
16574 back to malloc directly, without stack allocations.
16575
6b7b2aba
FW
165762018-06-25 Florian Weimer <fweimer@redhat.com>
16577
16578 [BZ #18023]
16579 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
16580 of extend_alloca.
16581
2f9f0d18
FW
165822018-06-25 Florian Weimer <fweimer@redhat.com>
16583
16584 [BZ #18023]
16585 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
16586 of extend_alloca.
16587 * nscd/hstcache.c (addhstbyX): Likewise.
16588 * nscd/pwdcache.c (addpwbyX): Likewise.
16589 * nscd/servicescache.c (addservbyX): Likewise.
16590
318bad78
FW
165912018-06-25 Florian Weimer <fweimer@redhat.com>
16592
16593 [BZ #18023]
16594 * nscd/connections.c (read_cmdline): New function.
16595 (restart): Use it. Update comment.
16596
ab74d59f 165972018-06-25 Rafał Lużyński <digitalfreak@lingonborough.com>
189699ab
RL
16598
16599 [BZ #23140]
16600 * localedata/locales/csb_PL (mon): Rename to...
16601 (alt_mon): This.
16602 (abmon): Rename to...
16603 (ab_alt_mon): This.
16604 (mon): Add with proper genitive forms, copy from Wikipedia.
16605 (abmon): Likewise.
16606
ab74d59f 166072018-06-25 Rafał Lużyński <digitalfreak@lingonborough.com>
0ea3f13c
RL
16608
16609 [BZ #19485]
16610 * localedata/locales/csb_PL (mon): Fix typos:
16611 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
16612 (yesstr): Add, value is "jo".
16613 (nostr): Add, value is "nié".
16614
d93f4ff1
TMQMF
166152018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16616
16617 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
16618 all log1p and significand functions on m680x0.
16619 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
16620 of s_significand.c..
16621 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
16622 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
16623 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
16624 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
16625 s_log1p.c and include it..
16626
f6299d2a
VC
166272018-06-21 Vincent Chen <vincentc@andestech.com>
16628
16629 * elf/elf.h (R_NDS32_NONE): New define.
16630 (R_NDS32_32_RELA): Likewise.
16631 (R_NDS32_COPY): Likewise.
16632 (R_NDS32_GLOB_DAT): Likewise.
16633 (R_NDS32_JUMP_SLOT): Likewise.
16634 (R_NDS32_RELATIVE): Likewise.
16635 (R_NDS32_TLS_TPOFF): Likewise.
16636 (R_NDS32_TLS_DESC): Likewise.
16637
61ab61c2
MW
166382018-06-21 Mark Wielaard <mark@klomp.org>
16639
16640 * elf/elf.h (R_BPF_MAP_FD): Removed.
16641 (R_BPF_64_64, R_BPF_64_32): New.
16642
f496b28e
FW
166432018-06-21 Florian Weimer <fweimer@redhat.com>
16644
16645 [BZ #23253]
16646 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
16647 Renamed from libc_feholdsetround_ctx.
16648 (default_libc_feresetround_ctx): Renamed from
16649 libc_feresetround_ctx.
16650 (default_libc_feholdsetround_noex_ctx): Renamed from
16651 libc_feholdsetround_noex_ctx.
16652 (default_libc_feresetround_noex_ctx): Renamed from
16653 libc_feresetround_noex_ctx.
16654 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
16655 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
16656 forwardning to the old implementations under the new names.
16657 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
16658 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
16659 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
16660 (libc_feresetround_ctx): Forward to default implements for i386
16661 and MATH_SET_BOTH_ROUNDING_MODES.
16662 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
16663 Add -DMATH_SET_BOTH_ROUNDING_MODES.
16664
1760daad
JM
166652018-06-20 Joseph Myers <joseph@codesourcery.com>
16666
99c7adf9
JM
16667 * string/tst-cmp.c: Include <libc-diag.h>.
16668 (strncmp_max): Disable -Wstringop-overflow= around call to
16669 strncmp.
16670 (strncasecmp_max): Disable -Wstringop-overflow= around call to
16671 strncasecmp.
16672
1760daad
JM
16673 * string/bug-strpbrk1.c: Include <libc-diag.h>.
16674 (main): Disable -Wunused-value around call to strpbrk.
16675 * string/bug-strspn1.c: Include <libc-diag.h>.
16676 (main): Disable -Wunused-value around call to strspn.
16677
209ae17c
TMQMF
166782018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16679 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16680
16681 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
16682 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
16683
badba23c
TMQMF
166842018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16685
5e79e029
TMQMF
16686 * math/Makefile (libm-calls): Move s_significandF to...
16687 (gen-libm-calls): ... here.
16688 * math/s_significand_template.c: New file.
16689 * math/s_significand.c: Removed.
16690 * math/s_significandf.c: Removed.
16691 * math/s_significandl.c: Removed.
16692 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
16693 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
16694
badba23c
TMQMF
16695 * math/e_exp2_template.c (declare_mgen_finite_alias,
16696 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
16697 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
16698 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
16699
2d1c89a5
FW
167002018-06-20 Florian Weimer <fweimer@redhat.com>
16701
16702 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
16703
646c2833
JM
167042018-06-19 Joseph Myers <joseph@codesourcery.com>
16705
16706 [BZ #23280]
16707 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
16708 floating-point number to strtod functions rather than possibly
16709 negating result of those functions.
16710 * stdio-common/tst-scanf-round.c: New file.
16711 * stdio-common/Makefile (tests): Add tst-scanf-round.
16712 ($(objpfx)tst-scanf-round): Depend on $(libm).
16713
c77e4dc0
ST
167142018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16715
16716 * sysdeps/mach/hurd/localplt.data: Move to...
16717 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
16718 R_386_GLOB_DAT like on Linux i386.
16719
91b2f3e5
JM
167202018-06-18 Joseph Myers <joseph@codesourcery.com>
16721
f2857da7
JM
16722 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
16723 (SHM_STAT_ANY): New macro.
16724 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
16725 (SHM_STAT_ANY): Likewise.
16726 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
16727 (SHM_STAT_ANY): Likewise.
16728 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
16729 (SHM_STAT_ANY): Likewise.
16730 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
16731 (SHM_STAT_ANY): Likewise.
16732 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
16733 (SHM_STAT_ANY): Likewise.
16734 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
16735 (SHM_STAT_ANY): Likewise.
16736 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
16737 (SHM_STAT_ANY): Likewise.
16738 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
16739 (SHM_STAT_ANY): Likewise.
16740 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
16741 (SHM_STAT_ANY): Likewise.
16742 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
16743 (SHM_STAT_ANY): Likewise.
16744 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
16745 (SHM_STAT_ANY): Likewise.
16746
176c7fee
JM
16747 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
16748 (SEM_STAT_ANY): New macro.
16749 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
16750 (SEM_STAT_ANY): Likewise.
16751 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
16752 (SEM_STAT_ANY): Likewise.
16753 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
16754 (SEM_STAT_ANY): Likewise.
16755 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
16756 (SEM_STAT_ANY): Likewise.
16757 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
16758 (SEM_STAT_ANY): Likewise.
16759 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
16760 (SEM_STAT_ANY): Likewise.
16761 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
16762 (SEM_STAT_ANY): Likewise.
16763 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
16764 (SEM_STAT_ANY): Likewise.
16765 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
16766 (SEM_STAT_ANY): Likewise.
16767
86bf0019
JM
16768 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
16769 (MSG_STAT_ANY): New macro.
16770 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
16771 (MSG_STAT_ANY): Likewise.
16772 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
16773 (MSG_STAT_ANY): Likewise.
16774 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
16775 (MSG_STAT_ANY): Likewise.
16776 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
16777 (MSG_STAT_ANY): Likewise.
16778 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
16779 (MSG_STAT_ANY): Likewise.
16780 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
16781 (MSG_STAT_ANY): Likewise.
16782 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
16783 (MSG_STAT_ANY): Likewise.
16784 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
16785 (MSG_STAT_ANY): Likewise.
16786 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
16787 (MSG_STAT_ANY): Likewise.
16788
91b2f3e5
JM
16789 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16790 (MAP_TYPE): Change value to 0x2b.
16791
3fe8fc79
FW
167922018-06-18 Florian Weimer <fweimer@redhat.com>
16793
16794 [BZ #15722]
16795 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
16796 socket with SOCK_CLOEXEC.
16797
809dc95d
JM
167982018-06-18 Joseph Myers <joseph@codesourcery.com>
16799
16800 [BZ #23303]
16801 * sysdeps/powerpc/powerpc64/le/Makefile
16802 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
16803 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
16804 (gnulib-tests): Also add $(f128-loader-link) for
16805 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
16806
298a8b59
ST
168072018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
16808
16809 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
16810 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
16811 of sendfile.
16812 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
16813 (sendfile64): New strong alias.
faf7bbc2
ST
16814 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
16815 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
16816 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
f96a85e0
ST
16817 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
16818 attribute.
16819 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
16820 ___pthread_get_cleanup_stack.
932d05f0 16821 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
c1b7586c
ST
16822 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
16823 * mach/shortcut.awk: Make syscall stubs include
16824 <mach-shortcuts-hidden.h> and add hidden definition.
16825 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
7a646a93
ST
16826 (__mach_msg): Add hidden prototype.
16827 * mach/msg.c: Include <mach.h>.
16828 (__mach_msg): Add hidden definition.
b0344cf5
ST
16829 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
16830 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
16831 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
16832 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
8c9d5342
ST
16833 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
16834 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
4d0ac037
ST
16835 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
16836 prototype and definition.
16837 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
16838 hidden target for _hurd_self_sigstate.
298a8b59 16839
b12c1e79
JM
168402018-06-15 Joseph Myers <joseph@codesourcery.com>
16841
16842 [BZ #23007]
16843 * stdlib/tst-strtod-nan-sign-main.c: New file.
16844 * stdlib/tst-strtod-nan-sign.c: Likewise.
16845 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
16846 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
16847 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
16848 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
16849 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
16850
b0debe14
HB
168512018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
16852
16853 [BZ #23007]
16854 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
16855 appropriate sign.
16856
14beef75
FW
168572018-06-14 Florian Weimer <fweimer@redhat.com>
16858
16859 [BZ #23290]
16860 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
16861 that the result stays within the ISO-8859-1 range.
16862 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
16863 characters are defined in IBM273.
16864
c596630b
ST
168652018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
16866
16867 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
16868 __mach_task_self): Remove attribute_hidden.
16869
35ebb6b0
JM
168702018-06-14 Joseph Myers <joseph@codesourcery.com>
16871
16872 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
16873 ignore -Wrestrict for one test.
16874
3c7b9f1f
SE
168752018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
16876 Szabolcs Nagy <szabolcs.nagy@arm.com>
16877
16878 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
16879
c59ee916
FW
168802018-06-14 Florian Weimer <fweimer@redhat.com>
16881
16882 * scripts/update-abilist.sh: Accept empty list of files to patch.
16883
43b5ff50
ST
168842018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
16885
16886 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
16887 test-xfail-check-abi-libmachuser): Add.
c8c910ed
ST
16888 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
16889 __libc_read and __libc_write to __read and __write.
c8c6e6d6 16890 * sysdeps/hurd/include/hurd/port.h: New file.
126b3ec3
ST
16891 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
16892 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
16893 __thread_switch, __evc_wait): Move declarations to...
16894 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
16895 attribute_hidden.
06d1a826
ST
16896 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
16897 use PLT to call _hurd_self_sigstate.
43b5ff50 16898
fcd6b5ac
JM
168992018-06-13 Joseph Myers <joseph@codesourcery.com>
16900
16901 [BZ #23279]
16902 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
16903 MAX_EXP as overflowing.
16904 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
16905 overflow flag.
16906 (round_str): Output also whether result overflows in each rounding
16907 mode.
16908 * stdlib/tst-strtod-round-data: Add more tests.
16909 * stdlib/tst-strtod-round-data.h: Regenerated.
16910 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
16911 (TEST): Handle extra arguments for overflow flags.
16912 (struct test_overflow): New type.
16913 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
16914 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
16915 (test_in_one_mode): Take argument with overflow information.
16916 (do_test): Update calls to test_in_one_mode.
16917
35df5a77
CD
169182018-06-12 Carlos O'Donell <carlos@redhat.com>
16919
a745c837
CD
16920 * elf/dl-load (_dl_dst_substitute): Correct comment.
16921 (_dl_dst_count): Likewise.
16922
35df5a77
CD
16923 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
16924 lll_futex_timed_wait.
16925
48b12ed5
JM
169262018-06-12 Joseph Myers <joseph@codesourcery.com>
16927
16928 [BZ #23277]
16929 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
16930 attribute.
16931 * math/test-nan-const.c: New file.
16932 * math/Makefile (tests): Add test-nan-const.
16933 (CFLAGS-test-nan-const.c): New variable.
16934
cb8f6aff
L
169352018-06-12 H.J. Lu <hongjiu.lu@intel.com>
16936
16937 * benchtests/scripts/compare_strings.py (process_results): Add
16938 funcs argument. Compare only functions which are selected.
16939 (main): Check if base function is among selected functions.
16940 Pass selected functions to process_results.
16941 (__main__): Add -f/--functions argument.
16942
fc2ba803
HZ
169432018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
16944 Hongbo Zhang <hongbo.zhang@linaro.org>
16945
16946 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
16947 __memcpy_falkor for phecda core.
16948 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
16949 __memmove_falkor for phecda core.
16950 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
16951 __memset_falkor for phecda core.
16952 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
16953 for phecda core.
16954 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
16955 macro to identify phecda core.
16956
5aad5f61
CD
169572018-06-12 Carlos O'Donell <carlos@redhat.com>
16958 Andreas Schwab <schwab@suse.de>
16959 Dmitry V. Levin <ldv@altlinux.org>
6b5c8607 16960 Florian Weimer <fweimer@redhat.com>
5aad5f61
CD
16961
16962 [BZ #23102]
16963 [BZ #21942]
16964 [BZ #18018]
16965 [BZ #23259]
16966 CVE-2011-0536
16967 * elf/dl-dst.h: Remove DL_DST_COUNT.
16968 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
16969 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
16970 (is_dst): Comment. Support ELF gABI.
16971 (_dl_dst_count): Comment. Simplify and count DSTs.
16972 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
16973 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
16974 locals.
16975
329ea513
ZW
169762018-06-12 Zack Weinberg <zackw@panix.com>
16977
16978 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
16979 * sysdeps/unix/sysv/linux/dl-sysdep.c
16980 Include not-cancel.h. Use __close_nocancel instead of __close,
16981 __open64_nocancel instead of __open, __read_nocancel instead of
16982 __libc_read, and __write_nocancel instead of __libc_write.
16983
16984 * csu/check_fds.c (check_one_fd)
16985 * sysdeps/posix/fdopendir.c (__fdopendir)
16986 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
b39d961c 16987 instead of __fcntl and/or __libc_fcntl.
329ea513
ZW
16988
16989 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
16990 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
b39d961c 16991 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
329ea513
ZW
16992 Use __open64_nocancel instead of __open_nocancel.
16993
16994 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
16995 hidden_proto declarations to the end and issue them if either
16996 IS_IN(libc) or IS_IN(rtld).
16997 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
16998 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
16999 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
17000 read_nocancel, waitpid_nocancel, write_nocancel.
17001
b39d961c
TS
17002 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
17003 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
17004 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
329ea513 17005
b39d961c
TS
17006 * nptl/pt-fcntl.c: New file.
17007 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
17008 (libpthread-routines): Add pt-fcntl.
17009 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
17010 (__libc_fcntl): Remove attribute_hidden.
329ea513
ZW
17011 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
17012 __fcntl_nocancel_adjusted, not fcntl_common.
b39d961c 17013 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
329ea513
ZW
17014 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
17015 to fcntl_nocancel.c.
17016 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
17017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
17018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17019 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
17020
17021 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
17022 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
17023 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
17024 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
17025 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
17026 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
17027 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
17028 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
17029 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
17030 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
17031 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
17032 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
17033 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
17034 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
17035 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
17036 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
17037 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
17038 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
17039 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
17040 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
17041
b39d961c
TS
17042 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
17043 libpthread-routines.
17044 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
17045 defines nothing.
329ea513 17046
b39d961c
TS
17047 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
17048 __libc_read, and __write instead of __libc_write. Define
17049 __open64 in addition to __open.
329ea513 17050
0221ce2a
L
170512018-06-12 H.J. Lu <hongjiu.lu@intel.com>
17052
17053 [BZ #23250]
17054 [BZ #10686]
17055 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
17056 to _private_tm[3] and add __glibc_reserved2.
17057 Add _Static_assert of offset of __private_ss == 0x30.
17058 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
17059 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
17060
e826574c
FW
170612018-06-12 Florian Weimer <fweimer@redhat.com>
17062
17063 x86: Make strncmp usable from rtld.
17064 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
17065 __strncmp_ia32 if in libc (and not in rtld).
17066 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
17067 strncmp if not in libc (and not to __strncmp_sse2).
17068
ab74d59f 170692018-06-12 Rafał Lużyński <digitalfreak@lingonborough.com>
c4ad5782
RL
17070
17071 [BZ #23140]
17072 * localedata/locales/gd_GB (mon): Rename to...
17073 (alt_mon): This.
17074 (mon): Import from CLDR (genitive case).
17075 * localedata/locales/hsb_DE (mon): Rename to...
17076 (alt_mon): This.
17077 (mon): Import from CLDR (genitive case).
17078 * localedata/locales/wa_BE (mon): Rename to...
17079 (alt_mon): This.
17080 (mon): Add, fill with the proper genitive forms, but CLDR data
17081 is incomplete; completed according to the comments in this file.
17082 (d_t_fmt): Do not use "di" before the month name, no longer needed.
17083
17084 * localedata/locales/wa_BE (country_name): Reword
17085 "Beljike" -> "Beldjike".
17086
ca121b11
JM
170872018-06-11 Joseph Myers <joseph@codesourcery.com>
17088
17089 [BZ #23272]
17090 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
17091 cases of non-finite arguments.
17092 * math/libm-test-fma.inc (fma_test_data): Add more tests.
17093
2b69fecb
JDA
170942018-06-10 John David Anglin <danglin@gcc.gnu.org>
17095
17096 [BZ #23174]
17097 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
17098
283d9851
AZ
170992018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17100
17101 [BZ #23264]
17102 * include/unistd.h (__execvpex): New prototype.
17103 * posix/Makefile (tests): Add tst-spawn4.
17104 (tests-internal): Add tst-spawn4-compat.
17105 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
17106 * posix/tst-spawn4-compat.c: New file.
17107 * posix/tst-spawn4.c: Likewise.
17108 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
17109 binaries as shell scripts.
17110 * sysdeps/posix/spawni.c (__spawni): Likewise.
17111
67c05796
L
171122018-06-08 H.J. Lu <hongjiu.lu@intel.com>
17113
17114 [BZ #23145]
17115 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
17116 ($(all-built-dso:=.dynsym): New target.
17117 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
17118 ($(objpfx)check-initfini.out): New target.
17119 (generated): Add check-initfini.out.
17120 * scripts/check-initfini.awk: New file.
17121 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
17122 (_fini): Likewise.
17123 * sysdeps/alpha/crti.S (_init): Mark as hidden.
17124 (_fini): Likewise.
17125 * sysdeps/arm/crti.S (_init): Mark as hidden.
17126 (_fini): Likewise.
17127 * sysdeps/hppa/crti.S (_init): Mark as hidden.
17128 (_fini): Likewise.
17129 * sysdeps/i386/crti.S (_init): Mark as hidden.
17130 (_fini): Likewise.
17131 * sysdeps/ia64/crti.S (_init): Mark as hidden.
17132 (_fini): Likewise.
17133 * sysdeps/m68k/crti.S (_init): Mark as hidden.
17134 (_fini): Likewise.
17135 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
17136 (_fini): Likewise.
17137 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
17138 (_fini): Likewise.
17139 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
17140 (_fini): Likewise.
17141 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
17142 (_fini): Likewise.
17143 * sysdeps/nios2/crti.S (_init): Mark as hidden.
17144 (_fini): Likewise.
17145 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
17146 (_fini): Likewise.
17147 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
17148 (_fini): Likewise.
17149 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
17150 (_fini): Likewise.
17151 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
17152 (_fini): Likewise.
17153 * sysdeps/sh/crti.S (_init): Mark as hidden.
17154 (_fini): Likewise.
17155 * sysdeps/sparc/crti.S (_init): Mark as hidden.
17156 (_fini): Likewise.
17157 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
17158 (_fini): Likewise.
17159
1c09524e
TMQMF
171602018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17161
17162 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
17163 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
17164 and TF redirection to KFtype and KF only when the default
17165 long double type is not the IEEE 128-bit floating point type.
17166
0e0577c9
JM
171672018-06-05 Joseph Myers <joseph@codesourcery.com>
17168
0c1c33b2
JM
17169 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
17170 macro.
17171 (HWCAP_USCAT): Likewise.
17172 (HWCAP_ILRCPC): Likewise.
17173 (HWCAP_FLAGM): Likewise.
17174 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
17175 Increase to 28.
17176 (_dl_aarch64_cap_flags): Add new flag names.
17177
bef1cbf4
JM
17178 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
17179 (MAP_FIXED_NOREPLACE): New macro.
17180 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
17181 (MAP_FIXED_NOREPLACE): Likewise.
17182 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
17183 (MAP_FIXED_NOREPLACE): Likewise.
17184 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
17185 (MAP_FIXED_NOREPLACE): Likewise.
17186 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
17187 (MAP_FIXED_NOREPLACE): Likewise.
17188 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
17189 (MAP_FIXED_NOREPLACE): Likewise.
17190 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
17191 (MAP_FIXED_NOREPLACE): Likewise.
17192 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
17193 (MAP_FIXED_NOREPLACE): Likewise.
17194 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
17195 (MAP_FIXED_NOREPLACE): Likewise.
17196 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
17197 (MAP_FIXED_NOREPLACE): Likewise.
17198 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
17199 (MAP_FIXED_NOREPLACE): Likewise.
17200 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
17201 (MAP_FIXED_NOREPLACE): Likewise.
17202 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
17203 (MAP_FIXED_NOREPLACE): Likewise.
17204 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
17205 (MAP_FIXED_NOREPLACE): Likewise.
17206 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
17207 (MAP_FIXED_NOREPLACE): Likewise.
17208
0e0577c9
JM
17209 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
17210 version to 4.17.
17211
ab3a0da0
JM
172122018-06-04 Joseph Myers <joseph@codesourcery.com>
17213
17214 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
17215 version to 4.17
17216
d2d9dfb6
ST
172172018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17218
17219 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
17220 int.
17221 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
17222
a650b05e
LS
172232018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
17224
17225 * benchtests/scripts/compare_string.py: (process_results) Catch
17226 exception in non-existent base_func and catch exception in
17227 non-existent attribute.
17228 (parse_file) Catch exception if input file does not exist.
17229
195abbf4
LS
172302018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
17231
17232 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
17233 options to avoid diff calculation and omit header, respectively.
17234 (main): process --no-diff and --no-header
17235
14570163
LS
172362018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
17237 H.J. Lu <hongjiu.lu@intel.com>
17238
17239 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17240 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
17241 wcsncmp-sse2.
17242 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17243 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
17244 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
17245 and __wcsncmp_sse2.
17246 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
17247 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
17248 AVX unaligned load is fast and vzeroupper is preferred.
17249 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
17250 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
17251 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
17252 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
17253 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
17254 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
17255 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
17256 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
17257 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
17258 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
17259 is undefined.
17260
e02c026f
FW
172612018-06-01 Florian Weimer <fweimer@redhat.com>
17262
17263 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
17264 configuring with --disable-multi-arch, building with
17265 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
17266 Haswell-era CPU.
17267
d8c19275
FW
172682018-06-01 Florian Weimer <fweimer@redhat.com>
17269
17270 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
17271 results from building with “-march=x86-64 -mtune=generic
17272 -mfpmath=sse” and running on a Haswell-era CPU.
17273
0d2163eb
JM
172742018-06-01 Joseph Myers <joseph@codesourcery.com>
17275
17276 [BZ #18473]
17277 * soft-fp/sqrttf2.c: Remove file.
17278 * soft-fp/sqrtdf2.c: Move to ....
17279 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
17280 <shlib-compat.h>.
17281 (__sqrtdf2): Make conditional on
17282 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
17283 symbol.
17284 * soft-fp/sqrtsf2.c: Move to ....
17285 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
17286 <shlib-compat.h>.
17287 (__sqrtsf2): Make conditional on
17288 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
17289 symbol.
17290 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
17291 (gcc-double-routines): Remove sqrtdf2.
17292 (gcc-quad-routines): Remove sqrttf2.
17293 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
17294 Do not filter out sqrtsf2 and sqrtdf2.
17295 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
17296 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
17297
10450210
FW
172982018-06-01 Florian Weimer <fweimer@redhat.com>
17299
17300 * sysdeps/generic/libcidn.abilist: Remove file.
17301
4e8a6346
FW
173022018-06-01 Florian Weimer <fweimer@redhat.com>
17303
17304 [BZ #23236]
17305 * libio/strfile.h (struct _IO_str_fields): Rename members to
17306 discourage their use and add comment.
17307 (_IO_STR_DYNAMIC): Remove unused macro.
17308 * libio/strops.c (_IO_str_init_static_internal): Do not use
17309 callback pointers. Call malloc and free.
17310 (_IO_str_overflow): Do not use callback pointers. Call malloc
17311 and free.
17312 (enlarge_userbuf): Likewise.
17313 (_IO_str_finish): Call free.
17314 * libio/wstrops.c (_IO_wstr_init_static): Initialize
17315 _allocate_buffer_unused.
17316 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
17317 and free.
17318 (enlarge_userbuf): Likewise.
17319 (_IO_wstr_finish): Call free.
17320 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
17321 _allocate_buffer_unused, _free_buffer_unused.
17322 * libio/memstream.c (__open_memstream): Likewise.
17323 * libio/vasprintf.c (_IO_vasprintf): Likewise.
17324 * libio/wmemstream.c (open_wmemstream): Likewise.
17325
50d004c9
PP
173262018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
17327
17328 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
17329 AMD Ryzen 7 1800X.
17330
2c93fce7
RS
173312018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17332
17333 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
17334 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
17335 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
17336 New file.
17337 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
17338 Likewise.
17339 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
17340
0ce2fa69
FW
173412018-05-29 Florian Weimer <fweimer@redhat.com>
17342
17343 * support/Makefile (libsupport-routines): Add
17344 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
17345 xpthread_barrierattr_setpshared.
17346 * support/xpthread_barrierattr_destroy.c: New file.
17347 * support/xpthread_barrierattr_init.c: Likewise.
17348 * support/xpthread_barrierattr_setpshared.c: Likewise.
17349
7f7b5d8d
L
173502018-05-29 H.J. Lu <hongjiu.lu@intel.com>
17351
17352 [BZ #23206]
17353 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
17354 _r_debug and update DT_DEBUG for debugger.
17355
e4890300
FW
173562018-05-29 Florian Weimer <fweimer@redhat.com>
17357
17358 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
17359 (tst-strtod5i.out): Likewise.
17360
2c753f3e
JM
173612018-05-25 Joseph Myers <joseph@codesourcery.com>
17362
b5453d9f
JM
17363 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
17364 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
17365 (sparc64-quad-routines): New variable. Moved from ....
17366 [$(subdir) = soft-fp] (sysdep_routines): Add
17367 $(sparc64-quad-routines). Moved from ....
17368 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
17369 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
17370 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
17371 moved from ....
17372 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
17373 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
17374 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
17375 * sysdeps/sparc/sparc64/qp_add.c: ... here.
17376 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
17377 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
17378 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
17379 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
17380 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
17381 * sysdeps/sparc/sparc64/qp_div.c: ... here.
17382 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
17383 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
17384 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
17385 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
17386 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
17387 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
17388 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
17389 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
17390 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
17391 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
17392 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
17393 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
17394 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
17395 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
17396 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
17397 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
17398 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
17399 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
17400 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
17401 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
17402 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
17403 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
17404 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
17405 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
17406 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
17407 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
17408 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
17409 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
17410 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
17411 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
17412 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
17413 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
17414 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
17415 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
17416 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
17417 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
17418 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
17419 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
17420 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
17421 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
17422 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
17423 * sysdeps/sparc/sparc64/qp_util.c: ... here.
17424 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
17425 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
17426 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
17427 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
17428 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
17429 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
17430
2c753f3e
JM
17431 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
17432 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
17433 (sparc32-quad-routines): New variable. Moved from ....
17434 [$(subdir) = soft-fp] (sysdep_routines): Add
17435 $(sparc32-quad-routines). Moved from ....
17436 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
17437 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
17438 moved from ....
17439 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
17440 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
17441 * sysdeps/sparc/sparc32/q_add.c: ... here.
17442 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
17443 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
17444 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
17445 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
17446 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
17447 * sysdeps/sparc/sparc32/q_div.c: ... here.
17448 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
17449 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
17450 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
17451 * sysdeps/sparc/sparc32/q_feq.c: ... here.
17452 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
17453 * sysdeps/sparc/sparc32/q_fge.c: ... here.
17454 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
17455 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
17456 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
17457 * sysdeps/sparc/sparc32/q_fle.c: ... here.
17458 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
17459 * sysdeps/sparc/sparc32/q_flt.c: ... here.
17460 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
17461 * sysdeps/sparc/sparc32/q_fne.c: ... here.
17462 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
17463 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
17464 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
17465 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
17466 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
17467 * sysdeps/sparc/sparc32/q_mul.c: ... here.
17468 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
17469 * sysdeps/sparc/sparc32/q_neg.c: ... here.
17470 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
17471 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
17472 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
17473 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
17474 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
17475 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
17476 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
17477 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
17478 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
17479 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
17480 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
17481 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
17482 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
17483 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
17484 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
17485 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
17486 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
17487 * sysdeps/sparc/sparc32/q_sub.c: ... here.
17488 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
17489 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
17490 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
17491 * sysdeps/sparc/sparc32/q_util.c: ... here.
17492 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
17493 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
17494 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
17495 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
17496
c1dc1e1b
TMQMF
174972018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17498 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17499
17500 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
17501 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
17502 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
17503 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
17504
14186e8d
JM
175052018-05-24 Joseph Myers <joseph@codesourcery.com>
17506
17507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
17508 powerpc/soft-fp.
17509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
17510 Likewise.
17511 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
17512 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
17513
fb0e10b8
GG
175142018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17515
17516 [BZ #23171]
17517 * math/math.h [C++] (iseqsig): Fix parameter type for the long
17518 double version.
17519
1dfeb17e
JM
175202018-05-23 Joseph Myers <joseph@codesourcery.com>
17521
17522 * sysdeps/sh/Implies: Remove sh/soft-fp.
17523 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
17524 * sysdeps/sh/sfp-machine.h: ... here.
17525
727b38df
L
175262018-05-23 H.J. Lu <hongjiu.lu@intel.com>
17527
17528 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17529 (__mempcpy_erms): Skip zero length.
17530 (__memmove_erms): Likewise.
17531 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17532 (__memset_erms): Likewise.
17533
2834fb46
JM
175342018-05-23 Joseph Myers <joseph@codesourcery.com>
17535
17536 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
17537 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
17538 Add functions moved from ....
17539 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
17540 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
17541 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
17542 from ....
17543 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
17544 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
17545 * sysdeps/alpha/e_sqrtl.c: ... here.
17546 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
17547 * sysdeps/alpha/local-soft-fp.h: ... here.
17548 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
17549 * sysdeps/alpha/ots_add.c: ... here.
17550 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
17551 * sysdeps/alpha/ots_cmp.c: ... here.
17552 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
17553 * sysdeps/alpha/ots_cmpe.c: ... here.
17554 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
17555 * sysdeps/alpha/ots_cvtqux.c: ... here.
17556 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
17557 * sysdeps/alpha/ots_cvtqx.c: ... here.
17558 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
17559 * sysdeps/alpha/ots_cvttx.c: ... here.
17560 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
17561 * sysdeps/alpha/ots_cvtxq.c: ... here.
17562 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
17563 * sysdeps/alpha/ots_cvtxt.c: ... here.
17564 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
17565 * sysdeps/alpha/ots_div.c: ... here.
17566 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
17567 * sysdeps/alpha/ots_mul.c: ... here.
17568 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
17569 * sysdeps/alpha/ots_nintxq.c: ... here.
17570 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
17571 * sysdeps/alpha/ots_sub.c: ... here.
17572 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
17573 * sysdeps/alpha/sfp-machine.h: ... here.
17574
7f9f1ecb
FW
175752018-05-23 Florian Weimer <fweimer@redhat.com>
17576
17577 [BZ #19728]
17578 [BZ #19729]
17579 [BZ #22247]
17580 CVE-2016-6261
17581 CVE-2016-6263
17582 CVE-2017-14062
17583 Switch to extern IDNA implementation (libidn2).
17584 * libidn: Remove subdirectory.
17585 * LICENSES: Do not mention licensing conditions for the removed
17586 libidn code.
17587 * config.h.in (HAVE_LIBIDN): Remove.
17588 * include/dlfcn.h (__libc_dlopen): Update comment.
17589 * include/idna.h: Remove file.
17590 * inet/Makefile (routines): Add idna.
17591 (tests-static, tests-internal): Add tst-idna_name_classify.
17592 (LOCALES): Generate locales for tests.
17593 (tst-idna_name_classify.out): Depend on generated locales.
17594 * inet/idna_name_classify.c: New file.
17595 * inet/tst-idna_name_classify.c: Likewise.
17596 * inet/net-internal.h (__idna_to_dns_encoding)
17597 (__idna_from_dns_encoding): Declare.
17598 * inet/net-internal.h (enum idna_name_classification): Define.
17599 (__idna_name_classify): Declare.
17600 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
17601 __idna_from_dns_encoding.
17602 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
17603 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
17604 name as a fallback in case of encoding errors.
17605 (getnameinfo): Use DEPRECATED_NI_IDN.
17606 * inet/idna.c: New file.
17607 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
17608 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
17609 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
17610 (modules-names): Add tst-no-libidn2.
17611 (extra-test-objs): Add tst-no-libidn2.os.
17612 (LDFLAGS-tst-no-libidn2.so): Set soname.
17613 (LOCALES): Set, and generate locales.
17614 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
17615 (tst-resolv-ai_idn-latin1): Likewise.
17616 (tst-resolv-ai_idn-nolibidn2): Likewise.
17617 (tst-resolv-ai_idn.out): Depend on locales.
17618 (tst-resolv-ai_idn-latin1.out): Depend on locales.
17619 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
17620 tst-no-libidn2.so.
17621 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
17622 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
17623 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
17624 * resolv/tst-resolv-ai_idn.c: New file.
17625 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
17626 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
17627 * resolv/tst-no-libidn2.c: Likewise.
17628 * support/support_format_addrinfo.c (format_ai_flags): Do not
17629 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
17630 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
17631 (gaih_inet): Call __idna_to_dns_encoding and
17632 __idna_from_dns_encoding, and use the original (punycode) name if
17633 __idna_from_dns_encoding fails due to an encoding error.
17634 (getaddrinfo): Use DEPRECATED_AI_IDN.
17635 * sysdeps/unix/inet/Subdirs (libidn): Remove.
17636 * sysdeps/unix/inet/configure: Remove file.
17637 * sysdeps/unix/inet/configure.ac: Likewise.
17638
5f7b841d
FW
176392018-05-23 Florian Weimer <fweimer@redhat.com>
17640
17641 Implement allocate_once.
17642 * include/allocate_once.h: New file.
17643 * misc/allocate_once.c: Likewise.
17644 * misc/tst-allocate_once.c: Likewise.
17645 * misc/Makefile (routines): Add allocate_once.
17646 (tests-internal): Add tst-allocate_once.
17647 (generated): Add tst-allocate_once.mtrace,
17648 tst-allocate_once-mem.out.
17649 (tests-special): Add tst-allocate_once-mem.out.
17650 (tst-allocate_once-ENV): Set MALLOC_TRACE.
17651 (tst-allocate_once-mem.out): Call mtrace.
17652 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
17653
ed983107
L
176542018-05-23 H.J. Lu <hongjiu.lu@intel.com>
17655
17656 [BZ #23196]
17657 * string/test-memcpy.c (do_test1): New function.
17658 (test_main): Call it.
17659
9aaaab7c
AS
176602018-05-23 Andreas Schwab <schwab@suse.de>
17661
17662 [BZ #23196]
17663 CVE-2018-11237
17664 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
17665 (L(preloop_large)): Save initial destination pointer in %r11 and
17666 use it instead of %rax after the loop.
17667 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
17668
5c5c0dd7
JM
176692018-05-22 Joseph Myers <joseph@codesourcery.com>
17670
8f145c77
JM
17671 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
17672 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
17673 -I../soft-fp. Moved from ....
17674 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
17675 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
17676 * sysdeps/aarch64/e_sqrtl.c: ... here.
17677 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
17678 * sysdeps/aarch64/sfp-machine.h: ... here.
17679
3d6302a5
JM
17680 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
17681 -Wmaybe-uninitialized around access to fq[0].
17682 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17683 Likewise.
17684
5c5c0dd7
JM
17685 [BZ #18471]
17686 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
17687 aliases for non-libc case of versioned symbols.
17688 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
17689 (llseek): Define as compat symbol if
17690 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
17691 with link warning.
17692 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
17693 Make into a compat symbol, disabled for minimum symbol version
17694 GLIBC_2.28 and later.
17695 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
17696
ed0d6988
FW
176972018-05-22 Florian Weimer <fweimer@redhat.com>
17698
17699 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
17700 not add -mpreferred-stack-boundary=4.
17701 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
17702 (stack-align-test-flags): Likewise.
17703 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
17704 Likewise.
17705 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
17706 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
17707 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
17708 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
17709 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
17710 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
17711 (CFLAGS-tst-align2.c): Likewise.
17712
e28e9b1e
L
177132018-05-21 H.J. Lu <hongjiu.lu@intel.com>
17714
17715 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
17716 (index_arch_Prefer_FSRM): Likewise.
17717 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
17718 Also check Prefer_FSRM.
17719 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
17720 Also return OPTIMIZE (erms) for Prefer_FSRM.
17721
1af30adc
L
177222018-05-21 H.J. Lu <hongjiu.lu@intel.com>
17723
17724 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
17725 (index_cpu_FSRM): Likewise.
17726 (reg_FSRM): Likewise.
17727
78274dc8
JM
177282018-05-18 Joseph Myers <joseph@codesourcery.com>
17729
7c67e6e8
JM
17730 * math/gen-tgmath-tests.py: Import sys.
17731 (Tests.__init__): Initialize macros_seen.
17732 (Tests.add_tests): Add macro to macros_seen. Only generate tests
17733 if requested to do so for this macro.
17734 (Tests.add_all_tests): Take argument for macro for which to
17735 generate tests.
17736 (Tests.check_macro_list): New function.
17737 (main): Handle check-list argument and argument specifying macro
17738 for which to generate tests.
17739 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
17740 [PYTHON] (tgmath3-macro-tests): Likewise.
17741 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
17742 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
17743 not test-tgmath3.c.
17744 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
17745 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
17746 to CFLAGS.
17747 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
17748 [PYTHON] ($(foreach
17749 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
17750 rule.
17751 [PYTHON] (tests-special): Add
17752 $(objpfx)test-tgmath3-macro-list.out.
17753 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
17754
ebc129fd
JM
17755 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
17756 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
17757 later.
17758
78274dc8
JM
17759 [BZ #22639]
17760 * time/tzset.c (SECSPERDAY): Cast to time_t.
17761 * time/tst-y2039.c: New file.
17762 * time/Makefile (tests): Add tst-y2039.
17763
6f7fdeeb
LS
177642018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
17765
17766 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17767 (PREFETCH_ONE_SET): Remove duplicate line.
17768
e363a91c
FW
177692018-05-17 Florian Weimer <fweimer@redhat.com>
17770
17771 * sysdeps/generic/math-type-macros-double.h: Include
17772 <math-nan-payload-double.h> after <libm-alias-double.h>.
17773 * sysdeps/generic/math-type-macros-float.h: Include
17774 <math-nan-payload-float.h> after <libm-alias-float.h>.
17775 * sysdeps/generic/math-type-macros-float128.h: Include
17776 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
17777 * sysdeps/generic/math-type-macros-ldouble.h: Include
17778 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
17779
dae6c43c
AS
177802018-05-17 Andreas Schwab <schwab@suse.de>
17781
17782 * resolv/res_send.c (__res_context_send): Don't set errno when
17783 returing error after malloc failure.
17784
0068c085
L
177852018-05-17 H.J. Lu <hongjiu.lu@intel.com>
17786
17787 * nptl/allocatestack.c (allocate_stack): Remove the
17788 !__ASSUME_PRIVATE_FUTEX paths.
17789 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
17790 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
17791 Likewise.
17792 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
17793 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17794 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17795 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17796 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
17797 !__ASSUME_PRIVATE_FUTEX path.
17798 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
17799 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
17800 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
17801 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
17802 !__ASSUME_PRIVATE_FUTEX macros.
17803 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
17804 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
17805 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
17806 * sysdeps/unix/sysv/linux/kernel-features.h
17807 (__ASSUME_PRIVATE_FUTEX): Removed.
17808
632a6cbe
JM
178092018-05-17 Joseph Myers <joseph@codesourcery.com>
17810
17811 * math/Makefile (libm-narrow-fns): Add div.
17812 (libm-test-funcs-narrow): Likewise.
17813 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
17814 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
17815 * math/gen-auto-libm-tests.c (test_functions): Add div.
17816 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
17817 (NARROW_DIV_ROUND_TO_ODD): Likewise.
17818 (NARROW_DIV_TRIVIAL): Likewise.
17819 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
17820 macro.
17821 (__ddivl): Likewise.
17822 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
17823 ddiv.
17824 (CFLAGS-nldbl-ddiv.c): New variable.
17825 (CFLAGS-nldbl-fdiv.c): Likewise.
17826 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17827 __nldbl_ddivl.
17828 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
17829 prototype.
17830 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
17831 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
17832 * math/auto-libm-test-in: Add tests of div.
17833 * math/auto-libm-test-out-narrow-div: New generated file.
17834 * math/libm-test-narrow-div.inc: New file.
17835 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
17836 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
17837 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
17838 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
17839 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
17840 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
17841 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
17842 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
17843 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
17844 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
17845 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
17846 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
17847 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
17848 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
17849 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
17850 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
17851 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
17852 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
17853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17854 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17855 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17856 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17857 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17858 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17859 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17860 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17861 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17862 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17863 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17864 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17865 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17866 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17871 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17872 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17873 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17874 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17875 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17876 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17877 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17878 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17879
8c78faa9
AZ
178802018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17881
17882 [BZ #23178]
17883 * nscd/nscd-client.h (sendfileall): Remove prototype.
17884 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
17885 (handle_request): Use writeall instead of sendfileall.
17886 * nscd/aicache.c (addhstaiX): Likewise.
17887 * nscd/grpcache.c (cache_addgr): Likewise.
17888 * nscd/hstcache.c (cache_addhst): Likewise.
17889 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17890 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
17891 * nscd/pwdcache.c (cache_addpw): Likewise.
17892 * nscd/servicescache.c (cache_addserv): Likewise.
17893 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
17894 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
17895 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
17896 Remove define.
17897
04958880
L
178982018-05-16 H.J. Lu <hongjiu.lu@intel.com>
17899
17900 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
17901 Include <string/strncat.c>.
17902 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
17903 alias.
17904 (__GI___strncat): New hidden alias.
17905
c9992d13
JM
179062018-05-16 Joseph Myers <joseph@codesourcery.com>
17907
17908 * sysdeps/mips/mips32/libm-test-ulps: Update.
17909 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17910
2afece36
FW
179112018-05-16 Florian Weimer <fweimer@redhat.com>
17912
17913 * support/Makefile (libsupport-routines): Add support_quote_blob,
17914 support_test_compare_blob.
17915 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
17916 * support/check.h (TEST_COMPARE_BLOB): Define.
17917 (support_test_compare_blob): Declare.
17918 * support/support.h (support_quote_blob): Declare.
17919 * support/support_quote_blob.c: New file.
17920 * support/support_test_compare_blob.c: Likewise.
17921 * support/tst-support_quote_blob.c: Likewise.
17922 * support/tst-test_compare_blob.c: Likewise.
17923
9761bf4d
FW
179242018-05-16 Florian Weimer <fweimer@redhat.com>
17925
17926 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
17927 of <strtod_nan_double.h>.
17928 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
17929 instead of SET_MANTISSA.
17930 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
17931 of include <strtod_nan_float.h>.
17932 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
17933 instead of <strtod_nan_ldouble.h>.
17934 * stdlib/strtod_nan_double.h: Move to ...
17935 * sysdeps/generic/math-nan-payload-double.h: ... here.
17936 (FLOAT): Remove definition.
17937 (SET_MANTISSA): Rename to ...
17938 (SET_NAN_PAYLOAD): ... this.
17939 * stdlib/strtod_nan_float.h: Move to ...
17940 * sysdeps/generic/math-nan-payload-float.h: ... here.
17941 (FLOAT): Remove definition.
17942 (SET_MANTISSA): Rename to ...
17943 (SET_NAN_PAYLOAD): ... this.
17944 * sysdeps/generic/math-type-macros-double.h: Include
17945 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
17946 instead of <math-svid-compat.h>.
17947 * sysdeps/generic/math-type-macros-float.h: Include
17948 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
17949 instead of <math-svid-compat.h>.
17950 * sysdeps/generic/math-type-macros-float128.h: Include
17951 <math-nan-payload-float128.h>.
17952 * sysdeps/generic/math-type-macros-ldouble.h: Include
17953 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
17954 instead of <math-svid-compat.h>.
17955 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
17956 check for definition.
17957 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
17958 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
17959 Include <ieee754_float128.h>.
17960 (FLOAT): Remove definition.
17961 (SET_MANTISSA): Rename to ...
17962 (SET_NAN_PAYLOAD): ... this.
17963 * sysdeps/ieee754/float128/strtof128_nan.c: Include
17964 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
17965 Do not include <float128_private.h>.
17966 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
17967 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
17968 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
17969 (FLOAT): Remove definition.
17970 (SET_MANTISSA): Rename to ...
17971 (SET_NAN_PAYLOAD): ... this.
17972 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
17973 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
17974 (FLOAT): Remove definition.
17975 (SET_MANTISSA): Rename to ...
17976 (SET_NAN_PAYLOAD): ... this.
17977 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
17978 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
17979 (FLOAT): Remove definition.
17980 (SET_MANTISSA): Rename to ...
17981 (SET_NAN_PAYLOAD): ... this.
17982 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
17983 of "../stdlib/strtod_nan_double.h".
17984 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
17985 of "../stdlib/strtod_nan_float.h".
17986 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
17987 instead of "../stdlib/strtod_nan_ldouble.h".
17988 * manual/arith.texi (Parsing of Floats): Adjust comment.
17989
69a01461
JM
179902018-05-16 Joseph Myers <joseph@codesourcery.com>
17991
17992 * math/Makefile (libm-narrow-fns): Add mul.
17993 (libm-test-funcs-narrow): Likewise.
17994 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
17995 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
17996 * math/gen-auto-libm-tests.c (test_functions): Add mul.
17997 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
17998 (NARROW_MUL_ROUND_TO_ODD): Likewise.
17999 (NARROW_MUL_TRIVIAL): Likewise.
18000 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
18001 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
18002 macro.
18003 (__dmull): Likewise.
18004 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
18005 dmul.
18006 (CFLAGS-nldbl-dmul.c): New variable.
18007 (CFLAGS-nldbl-fmul.c): Likewise.
18008 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
18009 __nldbl_dmull.
18010 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
18011 prototype.
18012 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
18013 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
18014 * math/auto-libm-test-in: Add tests of mul.
18015 * math/auto-libm-test-out-narrow-mul: New generated file.
18016 * math/libm-test-narrow-mul.inc: New file.
18017 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
18018 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
18019 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
18020 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
18021 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
18022 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
18023 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
18024 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
18025 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
18026 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
18027 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
18028 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
18029 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
18030 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
18031 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
18032 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
18033 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
18034 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
18035 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18036 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
18037 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18038 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18039 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18040 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18041 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18042 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18043 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18044 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18045 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18046 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18047 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18048 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
18051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18053 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18054 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18055 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18056 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18057 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18058 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18059 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18060 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18061
a15529fd
L
180622018-05-14 H.J. Lu <hongjiu.lu@intel.com>
18063
18064 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
18065 with *%eax in call.
18066
98ee36c7
L
180672018-05-14 H.J. Lu <hongjiu.lu@intel.com>
18068
18069 * sysdeps/i386/ldsodefs.h: Removed.
18070 * sysdeps/x86_64/ldsodefs.h: Moved to ...
18071 * sysdeps/x86/ldsodefs.h: This.
18072 (La_i86_regs): New.
18073 (La_i86_retval): Likewise.
18074 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
18075 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
18076
e322ec32
L
180772018-05-14 H.J. Lu <hongjiu.lu@intel.com>
18078
18079 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
18080 unnecessary testl.
18081
0937e209
AM
180822018-05-13 Alan Modra <amodra@gmail.com>
18083
18084 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
18085 R_PARISC_TLS_DTPOFF32 reloc addend.
18086
5db7d705
TMQMF
180872018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18088
18089 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
18090 * math/math.h: Restrict the prototype definition for the functions
18091 issignaling(_Float128) and iszero(_Float128); and template
18092 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
18093 __HAVE_FLOAT128_UNLIKE_LDBL.
18094 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
18095 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18096 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
18097 __f128() constants; define the type _Float128 as long double;
18098 and reuse long double in __CFLOAT128.
18099
b4d5b8b0
JM
181002018-05-11 Joseph Myers <joseph@codesourcery.com>
18101
18102 * sysdeps/generic/math_private.h: Do not include
18103 <math-barriers.h>.
18104 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
18105 <math_private.h>.
18106 * math/fromfp.h: Include <math-barriers.h>.
18107 * math/math-narrow.h: Likewise.
18108 * math/s_nextafter.c: Likewise.
18109 * math/s_nexttowardf.c: Likewise.
18110 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
18111 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
18112 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
18113 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
18114 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18115 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18116 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18117 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18118 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18119 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18120 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18121 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18122 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18123 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18124 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
18125 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
18126 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18127 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18128 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18129 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18130 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18131 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18132 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18133 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18134 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18135 * sysdeps/ieee754/k_standardl.c: Likewise.
18136 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18137 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18138 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18139 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
18140 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18141 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18142 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18143 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18144 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18145 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
18146 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18147 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18148 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18149 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18150 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18151 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18152 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
18153 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
18154 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18155 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18156 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
18157 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
18158
fc79706a
FW
181592018-05-11 Florian Weimer <fweimer@redhat.com>
18160
18161 Use 64-bit epoch values in the time zone file parser.
18162 * include/time.h (internal_time_t): Define.
18163 (__tzfile_compute): Use it.
18164 * time/tzfile.c (struct leap): Use internal_time_t for epoch
18165 member.
18166 (transitions): Switch to internal_time_t.
18167 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
18168 types.
18169 (__tzfile_compute): Use internal_time_t for timer argument. Check
18170 for truncation before calling __offtime.
18171
89aacb51
FW
181722018-05-11 Florian Weimer <fweimer@redhat.com>
18173
18174 [BZ #23166]
18175 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
18176 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
18177 Likewise.
18178 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
18179 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
18180 export without --enable-obsolete-rpc.
18181 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
18182 symbol. This should not have been exported, ever.
18183
ab74d59f 181842018-05-11 Rafał Lużyński <digitalfreak@lingonborough.com>
bb066cb8
RL
18185
18186 [BZ #23152]
18187 * localedata/locales/gd_GB (abmon): Fix typo in May:
18188 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
18189
70c97f84
SP
181902018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
18191
db725a45
SP
18192 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
18193 Use multiple registers to copy data in loop tail.
18194
70c97f84
SP
18195 * sysdeps/aarch64/multiarch/memmove_falkor.S
18196 (__memmove_falkor): Use multiple registers to move data in
18197 loop tail.
18198
8f5b00d3
JM
181992018-05-10 Joseph Myers <joseph@codesourcery.com>
18200
18201 * math/math-underflow.h: New file.
18202 * sysdeps/generic/math_private.h: Do not include <float.h>.
18203 (fabs_tg): Remove macro. Moved to math-underflow.h.
18204 (min_of_type_f): Likewise.
18205 (min_of_type_): Likewise.
18206 (min_of_type_l): Likewise.
18207 (min_of_type_f128): Likewise.
18208 (min_of_type): Likewise.
18209 (math_check_force_underflow): Likewise.
18210 (math_check_force_underflow_nonneg): Likewise.
18211 (math_check_force_underflow_complex): Likewise.
18212 * math/e_exp2_template.c: Include <math-underflow.h>.
18213 * math/k_casinh_template.c: Likewise.
18214 * math/s_catan_template.c: Likewise.
18215 * math/s_catanh_template.c: Likewise.
18216 * math/s_ccosh_template.c: Likewise.
18217 * math/s_cexp_template.c: Likewise.
18218 * math/s_clog10_template.c: Likewise.
18219 * math/s_clog_template.c: Likewise.
18220 * math/s_csin_template.c: Likewise.
18221 * math/s_csinh_template.c: Likewise.
18222 * math/s_csqrt_template.c: Likewise.
18223 * math/s_ctan_template.c: Likewise.
18224 * math/s_ctanh_template.c: Likewise.
18225 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18226 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18227 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18228 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18229 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18230 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18231 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18232 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18233 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18234 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18235 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18236 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18237 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18238 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18239 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18240 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18241 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18242 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18243 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18244 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18245 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18246 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18247 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18248 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18249 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18250 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18251 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18252 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18253 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18254 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18255 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18256 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18257 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18258 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18259 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18260 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18261 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18262 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18263 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18264 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18265 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18266 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18267 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18268 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18269 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18270 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18271 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18272 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18273 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18274 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18275 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18276 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18277 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18278 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
18279 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18280 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18281 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18282 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18283 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18284 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18285 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18286 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18287 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18288 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
18289 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18290 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18291 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18292 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18293 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18294 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18295 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18296 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18297 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18298 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
18299 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18300 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18301 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18302 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18303 * sysdeps/x86/fpu/powl_helper.c: Likewise.
18304 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
18305 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
18306 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
18307 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
18308 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
18309
9ed2e15f
JM
183102018-05-09 Joseph Myers <joseph@codesourcery.com>
18311
18312 * sysdeps/generic/math-barriers.h: New file.
18313 * sysdeps/generic/math_private.h [!math_opt_barrier]
18314 (math_opt_barrier): Move to math-barriers.h.
18315 [!math_opt_barrier] (math_force_eval): Likewise.
18316 * sysdeps/aarch64/fpu/math-barriers.h: New file.
18317 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
18318 math-barriers.h.
18319 (math_force_eval): Likewise.
18320 * sysdeps/alpha/fpu/math-barriers.h: New file.
18321 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
18322 math-barriers.h.
18323 (math_force_eval): Likewise.
18324 * sysdeps/x86/fpu/math-barriers.h: New file.
18325 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
18326 math-barriers.h.
18327 (math_force_eval): Likewise.
18328 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
18329 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
18330 multiple-include guard for rename.
18331 * sysdeps/powerpc/fpu/math-barriers.h: New file.
18332 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
18333 math-barriers.h.
18334 (math_force_eval): Likewise.
18335
5460617d
PP
183362018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
18337
18338 [BZ #22786]
43d4f3d5 18339 CVE-2018-11236
5460617d
PP
18340 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
18341 computation.
18342 * stdlib/Makefile (test-bz22786): New test.
18343 * stdlib/test-bz22786.c: New test.
18344
aaee3cd8
JM
183452018-05-09 Joseph Myers <joseph@codesourcery.com>
18346
18347 * include/math-narrow-eval.h: New file. Contents moved from ....
18348 * sysdeps/generic/math_private.h: ... here.
18349 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
18350 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
18351 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
18352 * stdlib/strtod_l.c: Likewise.
18353 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
18354 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
18355 * sysdeps/i386/fpu/s_fdim.c: Likewise.
18356 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18357 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18358 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18359 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18360 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18361 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18362 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18363 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18364 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
18365 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18366 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18367 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18368 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18369 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18370 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18371 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18372 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18373 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18374 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18375 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18376 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18377 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
18378 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18379 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18380 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18381 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18382
0555c477
AS
183832018-05-08 Andreas Schwab <schwab@suse.de>
18384
18385 * sysdeps/nptl/internaltypes.h: Fix comment.
18386
50d7d351
L
183872018-05-07 H.J. Lu <hongjiu.lu@intel.com>
18388
18389 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
18390 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
18391 hidden.
18392
543477f7
SP
183932018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
18394
18395 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
18396 of I into loop header.
18397 * benchtests/bench-memmove-walk.c
18398 (test_main): Likewise.
18399
184002018-05-07 Alexandre Oliva <oliva@gnu.org>
ffa81c22
AO
18401
18402 Revert:
18403 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
18404 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
18405
0065aaaa
PP
184062018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18407
18408 [BZ #20419]
18409 * elf/dl-load.c (open_verify): Fix stack overflow.
18410 * elf/Makefile (tst-big-note): New test.
18411 * elf/tst-big-note-lib.S: New.
18412 * elf/tst-big-note.c: New.
18413
b289cd9d
JM
184142018-05-04 Joseph Myers <joseph@codesourcery.com>
18415
18416 * scripts/abilist.awk: Ignore absolute symbols.
18417 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
18418 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
18419 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
18420 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
18421 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
18422 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
18423 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
18424 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
18425 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
18426 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
18427 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
18428 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
18429 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
18430 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
18431 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
18432 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
18433 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
18434 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
18435 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18436 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
18437 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
18438 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
18439 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
18440 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
18441 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
18442 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
18443 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
18444 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
18445 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18446 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
18447 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
18448 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18449 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
18450 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
18451 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
18452 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
18453 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
18454 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
18455 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
18456 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
18457 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
18458 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18459 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
18460 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
18461 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18462 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
18463 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
18464 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
18465 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
18466 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
18467 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
18468 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
18469 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
18470 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
18471 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18472 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
18473 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
18474 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18475 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
18476 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
18477 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
18478 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
18479 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
18480 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
18481 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
18482 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
18483 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
18484 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18485 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
18486 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
18487 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18488 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
18489 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
18490 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
18491 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
18492 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
18493 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
18494 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
18495 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
18496 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
18497 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18498 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
18499 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
18500 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18501 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
18502 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
18503 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
18504 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
18505 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
18506 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
18507 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
18508 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
18509 Likewise.
18510 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
18511 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18512 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
18513 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
18514 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18515 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
18516 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
18517 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
18518 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
18519 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
18520 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
18521 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
18522 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
18523 Likewise.
18524 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
18525 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18526 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
18527 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
18528 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18529 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
18530 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
18531 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
18532 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
18533 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
18534 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
18535 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
18536 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
18537 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
18538 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18539 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
18540 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
18541 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18542 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
18543 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
18544 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
18545 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
18546 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
18547 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
18548 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18549 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
18550 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
18551 Likewise.
18552 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
18553 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
18554 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
18555 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
18556 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18557 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
18558 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
18559 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
18560 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
18561 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
18562 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
18563 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
18564 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
18565 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
18566 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
18567 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
18568 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
18569 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
18570 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
18571 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
18572 Likewise.
18573 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
18574 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
18575 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
18576 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18577 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
18578 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
18579 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
18580 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
18581 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
18582 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
18583 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18584 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
18585 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
18586 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18587 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
18588 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
18589 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
18590 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
18591 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18592 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
18593 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
18594 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18595 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
18596 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
18597 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
18598 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
18599 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
18600 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
18601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
18602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
18604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
18605 Likewise.
18606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
18607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
18608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
18609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
18610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
18611 Likewise.
18612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
18613 Likewise.
18614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
18615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
18616 Likewise.
18617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
18618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18619 Likewise.
18620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18621 Likewise.
18622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
18623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
18624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
18625 Likewise.
18626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
18627 Likewise.
18628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
18629 Likewise.
18630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
18631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
18634 Likewise.
18635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
18636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
18637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
18638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
18641 Likewise.
18642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
18643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
18644 Likewise.
18645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
18646 Likewise.
18647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
18648 Likewise.
18649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
18650 Likewise.
18651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
18652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
18653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
18654 Likewise.
18655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
18656 Likewise.
18657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
18658 Likewise.
18659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
18660 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
18661 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
18662 Likewise.
18663 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
18664 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
18665 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
18666 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
18667 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18668 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
18669 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
18670 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
18671 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
18672 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
18673 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
18674 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
18675 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
18676 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
18677 Likewise.
18678 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18679 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
18680 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
18681 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18682 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
18683 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
18684 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
18685 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
18686 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
18687 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
18688 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
18689 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
18690 Likewise.
18691 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18692 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
18693 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
18694 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18695 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
18696 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
18697 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
18698 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
18699 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
18700 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
18701 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
18702 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
18703 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
18704 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18705 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
18706 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
18707 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18708 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
18709 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
18710 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
18711 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
18712 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
18713 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
18714 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
18715 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
18716 Likewise.
18717 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
18718 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18719 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
18720 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
18721 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18722 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
18723 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
18724 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
18725 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
18726 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
18727 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
18728 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
18729 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
18730 Likewise.
18731 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
18732 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18733 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
18734 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
18735 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18736 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
18737 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
18738 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
18739 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
18740 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
18741 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
18742 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
18743 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
18744 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
18745 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18746 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
18747 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
18748 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18749 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
18750 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
18751 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
18752 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
18753 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
18754 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
18755 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
18756 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
18757 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
18758 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
18759 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18760 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
18761 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
18762 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18763 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
18764 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
18765 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
18766 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
18767 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
18768 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
18769
16609018
SL
187702018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
18771
18772 [BZ #23137]
18773 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
18774 Use atomic_load_acquire to load __tid.
18775
556f5c46
L
187762018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18777
18778 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
18779 Restore the pointer into %rdx, after syscall and use %rdx,
18780 instead of %rsi, to restore context.
18781
8b8f32b2
L
187822018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18783
18784 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
18785 Pop the pointer into %rdx after syscall and use %rdx, instead
18786 of %rsi, to restore context.
18787
d6cc1829
L
187882018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18789
18790 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
18791 handlers after setjmp.
18792 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
18793 defined.
18794 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
18795 <libc-pointer-arith.h>.
18796 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
18797 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
18798 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
18799 _JUMP_BUF_SIGSET_BITS_PER_WORD.
18800 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
18801 * sysdeps/x86/__longjmp_cancel.S: New file.
18802 * sysdeps/x86/longjmp.c: Likewise.
18803 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
18804
cf2478d5
AZ
188052018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18806
18807 * NEWS: Add ustat.h deprecation entry.
18808 * bits/ustat.h: Remove file.
18809 * misc/sys/ustat.h: Likewise.
18810 * misc/ustat.h: Likewise.
18811 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
18812 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
18813 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
18814 compatibility mode.
18815 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
18816 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
18817 generic Linux implementation.
18818
dc115e1c
TMQMF
188192018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18820
18821 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
18822 * math/w_expl_compat.c: Likewise.
18823 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
18824
6b5c8607 188252018-04-30 Raymond Nicholson <rain1@airmail.cc>
340d9652
RN
18826
18827 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
18828
c57bf7c1
AZ
188292018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18830
18831 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
18832 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
18833 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
18834 Remove.
18835 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
18836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18837 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18838 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
18839 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
18840 and SYSCALL_LL64.
18841
06135c33
TMQMF
188422018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18843
33927914
TMQMF
18844 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
18845
06135c33
TMQMF
18846 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
18847 * math/w_asin_template.c: Likewise.
18848 * math/w_atanh_template.c: Likewise.
18849
3a33b069
GG
188502018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18851
18852 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
18853 to powerpc/powerpc64/be for big-endian.
18854 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
18855 little-endian.
18856
18857 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
18858 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
18859 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
18860 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
18861 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18862 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
18863 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
18864 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
18865 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
18866 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
18867 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
18868 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
18869 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
18870 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
18871 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
18872 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
18873 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
18874 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
18875 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
18876 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
18877 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
18878 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
18879 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
18880 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
18881 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
18882 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
18883 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
18884 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
18885 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
18886 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
18887 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
18888 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
18889
18890 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
18891 adjusted to imply powerpc64 and older processors on powerpc64/be.
18892 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
18893 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
18894 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
18895 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
18896 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
18897 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
18898 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
18899 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
18900 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
18901 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
18902 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
18903 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
18904 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
18905 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
18906 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
18907 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
18908 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
18909 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
18910 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
18911 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
18912 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
18913 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
18914 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
18915 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
18916 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
18917 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
18918 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
18919 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
18920 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
18921 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
18922 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
18923
18924 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
18925 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
18926 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
18927 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
18928
18929 * sysdeps/powerpc/powerpc64/be/Implies: New file.
18930 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
18931 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
18932 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
18933
18934 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
18935 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
18936 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
18937 * sysdeps/powerpc/powerpc64le/configure: Likewise.
18938 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
18939 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
18940 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
18941 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
18942 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
18943 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
18944 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
18945
18946 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
18947 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
18948 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
18949 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
18950 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
18951 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
18952 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
18953 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
18954 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
18955 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
18956 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
18957
18958 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
18959 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
18960 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
18961 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
18962 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
18963 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
18964 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
18965 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
18966 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
18967 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
18968 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
18969 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
18970
18971 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
18972 and adjusted to imply olders processors.
18973 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
18974 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
18975 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
18976 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
18977 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
18978 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
18979 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
18980 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
18981 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
18982 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
18983 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
18984
18985 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
18986 powerpc64/le.
18987 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
18988 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
18989
18990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
18991 powerpc64le.
18992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
18993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
18994
18995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
18996 powerpc64/be.
18997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
18999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
19000
19001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
19002 powerpc64 and adjusted.
19003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
19004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
19005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
19006 Likewise.
19007
a3fb6b6b
JM
190082018-04-27 Joseph Myers <joseph@codesourcery.com>
19009
19010 * sysdeps/tile: Remove.
19011 * sysdeps/unix/sysv/linux/tile: Likewise.
19012 * README (tilegx-*-linux-gnu): Remove from list of supported
19013 configurations.
19014 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
19015 contribution of support for generic Linux kernel syscall
19016 interface.
19017 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
19018 tilegx configurations.
19019 (Config.install_linux_headers): Do not handle tile.
19020 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
19021 in comment.
19022 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
19023 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
19024 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
19025 conditional undefine and redefine.
19026 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
19027 in comment.
19028 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
19029 conditional undefine and redefine.
19030
7a6f7478
AJ
190312018-04-26 Aurelien Jarno <aurelien@aurel32.net>
19032
19033 * signal/tst-sigaction.c: New file to test BZ #23069.
19034 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
19035
81b49e96
TMQMF
190362018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
19037
19038 [BZ #22766]
19039 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
19040 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
19041 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
19042 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
19043
7d80f48e
AZ
190442018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19045
19046 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
19047 _DIRENT_MATCHES_DIRENT64 is not defined.
19048 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
19049 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
19050 is defined.
19051 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
19052 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
19053
42a2bf58
JM
190542018-04-25 Joseph Myers <joseph@codesourcery.com>
19055
19056 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
19057 version to GCC 8 branch.
19058
9320ca88
JM
190592018-04-24 Joseph Myers <joseph@codesourcery.com>
19060
5e14bb97
JM
19061 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
19062 (check_no_hidden): Use type of original function when declaring
19063 alias.
19064
9320ca88
JM
19065 * sysdeps/unix/sysv/linux/sys/ptrace.h
19066 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
19067 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
19068 (struct __ptrace_seccomp_metadata): New type.
19069 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
19070 (PTRACE_SECCOMP_GET_METADATA): Likewise.
19071 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
19072 (PTRACE_SECCOMP_GET_METADATA): Likewise.
19073 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
19074 (PTRACE_SECCOMP_GET_METADATA): Likewise.
19075 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
19076 (PTRACE_SECCOMP_GET_METADATA): Likewise.
19077 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
19078 (PTRACE_SECCOMP_GET_METADATA): Likewise.
19079 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
19080 (PTRACE_SECCOMP_GET_METADATA): Likewise.
19081 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
19082 (PTRACE_SECCOMP_GET_METADATA): Likewise.
19083 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
19084 (PTRACE_SECCOMP_GET_METADATA): Likewise.
19085
af7e376b
AZ
190862018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19087
19088 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
19089 defined.
19090 * dirent/versionsort.c (versionsort): Likewise.
19091 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
19092 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
19093 * dirent/versionsort64.c (versionsort64): Likewise.
19094 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
19095 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
19096 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
19097 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
19098 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
19099 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
19100 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
19101 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
19102 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
19103 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
19104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
19105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
19106 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
19107 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
19108
da5e0361
JM
191092018-04-23 Joseph Myers <joseph@codesourcery.com>
19110
19111 * elf/elf.h (NT_PPC_PKEY): New macro.
19112
6b5c8607 191132018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
ea76691a
DSN
19114
19115 [BZ #23094]
19116 * localedata/locales/hr_HR: fix thousands_sep and
19117 mon_thousands_sep
19118
573963e3
JM
191192018-04-20 Joseph Myers <joseph@codesourcery.com>
19120
19121 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
19122 (XTABS): Define to TAB3.
19123
c0123b3b
AZ
191242018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19125
0900a849
AZ
19126 * sysdeps/hppa/fpu/libm-test-ulps: Update.
19127
c0123b3b
AZ
19128 * dirent/scandir-tail-common.c: New file.
19129 * dirent/scandir-tail.c: Use scandir-tail-common.c.
19130 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
19131 * dirent/scandir.c: Use scandir-tail-common.c.
19132 * dirent/scandirat.c: Likewise.
19133 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
19134 * dirent/scandir64.c (scandir64): Always build and alias to scandir
19135 if _DIRENT_MATCHES_DIRENT64 is defined.
19136 * dirent/scandirat64.c (scandirat64): Likewise.
19137 * include/dirent.h (__scandir_tail): Only define iff
19138 _DIRENT_MATCHES_DIRENT64 is not defined.
19139 (__scandir64_tail): Define regardless.
19140 (__scandirat, scandirat64): Remove libc_hidden_proto.
19141 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
19142 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
19143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
19144 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
19145 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19146 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
19147 * sysdeps/unix/sysv/linux/scandir64.c: New file.
19148
458b94f6
JM
191492018-04-20 Joseph Myers <joseph@codesourcery.com>
19150
19151 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
19152 New macro.
19153 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
19154 Increase to 24.
19155 (_dl_aarch64_cap_flags): Add asimdfhm.
19156
9f0437e8
CLT
191572018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
19158
19159 * sysdeps/nios2/libm-test-ulps: Update.
19160
298d0e31
AZ
191612018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19162
50511ca4
AZ
19163 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
19164 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
19165
298d0e31
AZ
19166 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
19167 requirements.
6b5c8607 19168 (_DIRENT_MATCHES_DIRENT64): Undef
298d0e31
AZ
19169 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
19170 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
19171 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
19172 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
19173 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
19174 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
19175 use getdents64 syscalls as base.
19176 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
19177 symbol if required.
19178 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
19179 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
19180 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
19181 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
19182 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
19183 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
19184 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
19185 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
19186 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19187 (__get_clockfreq_via_proc_openprom): Use __getdents64.
19188 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
19189
0085be14
SL
191902018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
19191
19192 * scripts/test_printers_common.py (init_test): Disable lock elision.
19193
da796524
SL
191942018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
19195
19196 * math/test-tgmath.c (count_double, count_float,
19197 count_ldouble, count_cdouble, count_cfloat,
19198 count_cldouble): Use volatile int.
19199
0dd25301
ST
192002018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
19201
19202 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
19203 (conformtest-xfail-conds): Add i386-gnu.
cbc256b1 19204 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
0dd25301
ST
19205 i386-gnu.
19206 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
19207 ipc_perm.cuid, ipc_perm.cgid): Likewise.
19208 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
19209 msqid_ds.msg_lrpid): Likewise.
19210 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
19211 Likewise.
19212 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
19213 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
9d9f8f03
ST
19214 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
19215 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
19216 unsigned int.
19217 (struct statvfs64): Likewise.
f55a4fde
ST
19218 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
19219 Likewise.
77b93390
ST
19220 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
19221 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
19222 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
19223 instead of wait_queue.
19224 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
19225 instead of vm_area_struct.
5cd2931a
ST
19226 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
19227 struct sched_param definition to it.
e60c3f2b
ST
19228 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
19229 * bits/types/struct_sched_param.h: New file.
19230 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
19231 <bits/types/struct_sched_param.h> instead of <sched.h>.
19232 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
5cd2931a
ST
19233 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
19234 generic version but include <bits/pthreadtypes.h> to make struct
19235 sigevent's sigev_notify_attributes field a pthread_attr_t*.
ed370924
ST
19236 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
19237 non-compliant.
a564872d
ST
19238 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
19239 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
19240 [__USE_XOPEN] (OFDEL): New macro.
19241 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
a279b8ed 19242 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
5dbfe13b
ST
19243 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
19244 prototypes.
19245 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
19246 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
81b032c8
ST
19247 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
19248 non-compliant.
19249 * sysdeps/i386/sys/ucontext.h: Likewise.
19250 * sysdeps/m68k/sys/ucontext.h: Likewise.
19251 * sysdeps/mips/sys/ucontext.h: Likewise.
19252 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
f00b62ec
ST
19253 * sysdeps/mach/hurd/i386/Makefile
19254 (test-xfail-POSIX/fcntl.h/conform): Add.
19255 (test-xfail-POSIX/signal.h/conform): Add.
19256 (test-xfail-POSIX/semaphore.h/conform): Add.
19257 (test-xfail-POSIX/regex.h/conform): Add.
19258 (test-xfail-POSIX/aio.h/conform): Add.
19259 (test-xfail-POSIX/mqueue.h/conform): Add.
19260 (test-xfail-POSIX/sys/types.h/conform): Add.
19261 (test-xfail-UNIX98/fcntl.h/conform): Add.
19262 (test-xfail-UNIX98/netdb.h/conform): Add.
19263 (test-xfail-UNIX98/signal.h/conform): Add.
19264 (test-xfail-UNIX98/semaphore.h/conform): Add.
19265 (test-xfail-UNIX98/regex.h/conform): Add.
19266 (test-xfail-UNIX98/aio.h/conform): Add.
19267 (test-xfail-UNIX98/ftw.h/conform): Add.
19268 (test-xfail-UNIX98/mqueue.h/conform): Add.
19269 (test-xfail-UNIX98/netinet/in.h/conform): Add.
19270 (test-xfail-UNIX98/sys/wait.h/conform): Add.
19271 (test-xfail-UNIX98/sys/sem.h/conform): Add.
19272 (test-xfail-UNIX98/sys/uio.h/conform): Add.
19273 (test-xfail-UNIX98/sys/socket.h/conform): Add.
19274 (test-xfail-UNIX98/sys/types.h/conform): Add.
19275 (test-xfail-UNIX98/stdlib.h/conform): Add.
19276 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
19277 (test-xfail-POSIX2008/fcntl.h/conform): Add.
19278 (test-xfail-POSIX2008/netdb.h/conform): Add.
19279 (test-xfail-POSIX2008/signal.h/conform): Add.
19280 (test-xfail-POSIX2008/semaphore.h/conform): Add.
19281 (test-xfail-POSIX2008/regex.h/conform): Add.
19282 (test-xfail-POSIX2008/aio.h/conform): Add.
19283 (test-xfail-POSIX2008/mqueue.h/conform): Add.
19284 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
19285 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
19286 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
19287 (test-xfail-POSIX2008/sys/types.h/conform): Add.
19288 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
19289 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
19290 (test-xfail-XOPEN2K/netdb.h/conform): Add.
19291 (test-xfail-XOPEN2K/signal.h/conform): Add.
19292 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
19293 (test-xfail-XOPEN2K/regex.h/conform): Add.
19294 (test-xfail-XOPEN2K/aio.h/conform): Add.
19295 (test-xfail-XOPEN2K/ftw.h/conform): Add.
19296 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
19297 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
19298 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
19299 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
19300 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
19301 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
19302 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
19303 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
19304 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
19305 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
19306 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
19307 (test-xfail-XOPEN2K8/signal.h/conform): Add.
19308 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
19309 (test-xfail-XOPEN2K8/regex.h/conform): Add.
19310 (test-xfail-XOPEN2K8/aio.h/conform): Add.
19311 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
19312 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
19313 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
19314 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
19315 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
19316 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
19317 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
19318 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
19319 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
19320 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
cbc256b1
ST
19321 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
19322 i386-gnu.
19323 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
19324 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
0dd25301 19325
d6397de3
JM
193262018-04-18 Joseph Myers <joseph@codesourcery.com>
19327
19328 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
19329 --enable-obsolete for powerpc-linux-gnuspe.
19330
8323a902
ST
193312018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
19332
3dc0814c 19333 * conform/data/sys/un.h-data: Allow sun_ prefix.
c5896a45 19334 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
d4379e02 19335 prototypes.
c5896a45
ST
19336 * sysdeps/mach/include/mach.h: Likewise.
19337 * sysdeps/mach/include/mach/mig_support.h: Likewise.
19338 * sysdeps/mach/include/mach_error.h: Likewise.
8323a902 19339
743b9c2a
AZ
193402018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19341
19342 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
19343 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
19344 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
19345 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
19346
326e74e7
AS
193472018-04-16 Andreas Schwab <schwab@suse.de>
19348
19349 [BZ #19527]
19350 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
19351
6b5c8607 193522018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
a14d8acd
PM
19353
19354 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
19355 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
19356
a700e7cb
DD
193572018-04-12 DJ Delorie <dj@redhat.com>
19358
19359 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
19360 version to 4.16.
19361
d8abfab7
SL
193622018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
19363
19364 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
19365 (struct kernel_sigaction): Use the same definition on 31bit as is used
19366 on 64bit.
19367
583a27d5
FW
193682018-04-09 Florian Weimer <fweimer@redhat.com>
19369
19370 [BZ #23037]
19371 * resolv/res_send.c (send_dg): Use designated initializers instead
19372 of assignment to zero-initialize other fields of struct mmsghdr.
19373
243f59e5
AZ
193742018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19375
942de61a
AZ
19376 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
19377 __READDIR_ALIAS): Undefine after usage.
19378 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
19379 __READDIR_R_ALIAS): Likewise.
19380 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
19381 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
19382 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
19383 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
19384 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
19385 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
19386 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
19387 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19388 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
19389 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
19390 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
19391 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
19392 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
19393 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
19394 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
19395 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
19396 * sysdeps/unix/sysv/linux/readdir.c: New file.
19397 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
19398 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
19399 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
19400
243f59e5
AZ
19401 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
19402
690c3475
AS
194032018-04-06 Andreas Schwab <schwab@linux-m68k.org>
19404
19405 * manual/charset.texi (Converting a Character): Fix typo.
19406
6b5c8607 194072018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
b4a5d26d 19408
bbc2062a
AZ
19409 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19410
fa7c6199
AZ
19411 * sysdeps/arm/libm-test-ulps: Update.
19412
b4a5d26d
AZ
19413 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
19414 as base implementation.
19415 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
19416 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
19417 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19418 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19419 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
19420 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
19421 remove unrequired definitions and update comments.
19422 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
19423 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
19424 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
19425 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
19426 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
19427 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
19428 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
19429 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
19430 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
19431 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
19432 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
19433 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
19434 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
19435 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
19436 and RESET_SA_RESTORER hooks.
19437
db9e55ff
SL
194382018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
19439
19440 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19441
cf138b0c
FW
194422018-04-05 Florian Weimer <fweimer@redhat.com>
19443
19444 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
19445 integer overflow, memory leak on error, and indeterminate errno
19446 value. Add a null wide character to terminate the result string.
19447 * manual/charset.texi (Converting a Character): Mention embedded
19448 null bytes in the mbrtowc input string. Explain what happens in
19449 the -2 result case. Do not claim that mbrtowc is simple or
19450 obvious to use. Adjust the description of the code example. Use
19451 @code, not @var, for concrete variables.
19452
0f339252
FW
194532018-04-05 Florian Weimer <fweimer@redhat.com>
19454
19455 * manual/examples/mbstouwcs.c: New file.
19456 * manual/charset.texi (Converting a Character): Include it.
19457
e5f9508a
ST
194582018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
19459
c120981d
ST
19460 * include/dirent.h (dirfd): Add hidden proto.
19461 * dirent/dirfd.c (dirfd): Add hidden def.
19462 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
19463 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
e5f9508a 19464
b2fd61ca
TMQMF
194652018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
19466
19467 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
19468 sin, cos and sincos to 1 ULP.
19469
10a446dd
MR
194702018-04-04 Maciej W. Rozycki <macro@mips.com>
19471
e7feec37
MR
19472 [BZ #19818]
19473 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
19474 symbols.
19475 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
19476 * elf/tst-absolute-sym.c: New file.
19477 * elf/tst-absolute-sym-lib.c: New file.
19478 * elf/tst-absolute-sym-lib.lds: New file.
19479 * elf/Makefile (tests): Add `tst-absolute-sym'.
19480 (modules-names): Add `tst-absolute-sym-lib'.
19481 (LDLIBS-tst-absolute-sym-lib.so): New variable.
19482 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
19483 ($(objpfx)tst-absolute-sym): New dependency.
19484
10a446dd
MR
19485 [BZ #19818]
19486 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
19487 parameter.
19488 (SYMBOL_ADDRESS): New macro.
19489 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
19490 SYMBOL_ADDRESS for symbol address calculation.
19491 * elf/dl-runtime.c (_dl_fixup): Likewise.
19492 (_dl_profile_fixup): Likewise.
19493 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
19494 * elf/rtld.c (dl_main): Likewise.
19495 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
19496 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
19497 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
19498 (elf_machine_rela): Likewise.
19499 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
19500 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
19501 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19502 (elf_machine_rela): Likewise.
19503 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
19504 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
19505 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
19506 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
19507 Likewise.
19508 (elf_machine_reloc): Likewise.
19509 (elf_machine_got_rel): Likewise.
19510 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
19511 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
19512 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
19513 Likewise.
19514 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19515 Likewise.
19516 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
19517 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19518 Likewise.
19519 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19520 Likewise.
19521 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19522 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19523 Likewise.
19524 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19525 Likewise.
19526 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
19527 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19528
9185f86d
ZW
195292018-04-04 Zack Weinberg <zackw@panix.com>
19530
19531 * sysdeps/generic/internal-signals.h: Include signal.h,
19532 sigsetops.h, and stdbool.h.
19533 (__libc_signal_block_all): Actually block all signals.
19534 (__libc_signal_block_app): Likewise.
19535 (__libc_signal_restore_set): Actually restore the signal mask.
19536
b07367bc
FW
195372018-04-04 Florian Weimer <fweimer@redhat.com>
19538
19539 inet: Actually build and run tst-deadline.
19540 * inet/Makefile (tests-internal): Add tst-deadline and do not
19541 overwrite the variable.
19542 (tests-static-internal): Remove variable.
19543
f2652643
L
195442018-04-03 H.J. Lu <hongjiu.lu@intel.com>
19545
19546 [BZ #22947]
19547 * bits/uio-ext.h (RWF_APPEND): New.
19548 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
19549 * manual/llio.texi: Document RWF_APPEND.
19550 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
19551 (RWF_SUPPORTED): Add RWF_APPEND.
19552
6b5c8607 195532018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
d2dc5467
AZ
19554
19555 [BZ #22391]
19556 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
19557 check for internal nptl signals.
19558 * nptl/sigaction.c (__sigaction): Likewise.
19559 * signal/sigaddset.c (sigaddset): Likewise.
19560 * signal/sigdelset.c (sigdelset): Likewise.
19561 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
19562 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
19563 value.
19564 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
19565 to filter out internal nptl signals.
19566 * signal/tst-sigset.c (do_test): Check ech signal indidually and
19567 also check realtime signals using standard macros.
19568 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
19569 __is_internal_signal, __libc_signal_block_all,
19570 __libc_signal_block_app, __libc_signal_restore_set): New functions.
19571 * sysdeps/nptl/sigfillset.c: Remove file.
19572 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
19573 Change return to bool.
19574 (__clear_internal_signals): Remove SIGTIMER clean since it is
19575 equal to SIGCANEL on Linux.
19576 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
19577 signal set was constructed using standard functions.
19578
511ed56f
ST
195792018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
19580
92846492
ST
19581 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
19582 ifname is too long.
e8ef51b1
ST
19583 * hurd/hurdsig.c (interrupted_reply_port_location): Use
19584 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
ff297b70
ST
19585 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
19586 hidden def.
19587 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
d8440a21
ST
19588 * signal/sigaddset.c: Include <sigsetopts.h>.
19589 * signal/sigdelset.c: Likewise.
511ed56f 19590
e88ecbbf
WD
195912018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19592
19593 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
19594 (__cos): Likewise.
19595 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
19596 logic as sin and cos.
19597
aef3e255
WD
195982018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19599
19600 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
19601 inputs. Return correct sign.
19602 (do_sincos): Remove small input check before do_sin, let do_sin set
19603 the sign.
19604 (__sin): Likewise.
19605 (__cos): Likewise.
19606
72f6e9a3
WD
196072018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19608
19609 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
19610 (do_cos_slow): Likewise.
19611 (do_sin_slow): Likewise.
19612 (reduce_and_compute): Likewise.
19613 (slow): Likewise.
19614 (slow1): Likewise.
19615 (slow2): Likewise.
19616 (sloww): Likewise.
19617 (sloww1): Likewise.
19618 (sloww2): Likewise.
19619 (bslow): Likewise.
19620 (bslow1): Likewise.
19621 (bslow2): Likewise.
19622 (cslow2): Likewise.
19623
64909583
WD
196242018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19625
19626 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
19627 (do_cos): Remove corp parameter and calculations.
19628 (do_sin): Likewise.
19629 (do_sincos): Remove cor variable.
19630 (__sin): Use do_sincos for huge inputs.
19631 (__cos): Likewise.
19632 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
19633 (reduce_and_compute_sincos): Remove unused function.
19634
d9469deb
WD
196352018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19636
19637 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
19638 reduce_sincos, improve accuracy to 136 bits.
19639 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
19640 (__sin): Use improved reduction and simplified do_sincos calculation.
19641 (__cos): Likewise.
19642 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
19643
7a5640f2
WD
196442018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19645
19646 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
19647 (do_sincos_2): Likewise.
19648 (__sin): Remove middle range reduction case.
19649 (__cos): Likewise.
19650 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
19651 reduction case.
19652
19a8b9a3
WD
196532018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19654
19655 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
19656 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
19657 inputs.
19658 (__cos): Likewise.
19659 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
19660
f72aa11d
JM
196612018-04-03 Joseph Myers <joseph@codesourcery.com>
19662
19663 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19a8b9a3 19664 version to 4.16
f72aa11d 19665
8e4754ed
AZ
196662018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19667
19668 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
19669 Remove definitions.
19670 (opendir_oflags): Use O_DIRECTORY regardless.
19671 (__opendir, __opendirat): Remove need_isdir_precheck usage.
19672 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
19673
8e2666ea
ST
196742018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19675
19676 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
19677 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
19678 macros.
19679 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
19680 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
19681 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
19682 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
deed72f6
ST
19683 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
19684 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
8e2666ea 19685
ad2b41bf
ST
19686 * htl/Makefile: Bump licence to LGPL 2.1+.
19687 * htl/alloca_cutoff.c: Likewise.
19688 * htl/cthreads-compat.c: Likewise.
19689 * htl/lockfile.c: Likewise.
19690 * htl/pt-alloc.c: Likewise.
19691 * htl/pt-cancel.c: Likewise.
19692 * htl/pt-cleanup.c: Likewise.
19693 * htl/pt-create.c: Likewise.
19694 * htl/pt-dealloc.c: Likewise.
19695 * htl/pt-detach.c: Likewise.
19696 * htl/pt-exit.c: Likewise.
19697 * htl/pt-getattr.c: Likewise.
19698 * htl/pt-initialize.c: Likewise.
19699 * htl/pt-internal.h: Likewise.
19700 * htl/pt-join.c: Likewise.
19701 * htl/pt-self.c: Likewise.
19702 * htl/pt-setcancelstate.c: Likewise.
19703 * htl/pt-setcanceltype.c: Likewise.
19704 * htl/pt-sigmask.c: Likewise.
19705 * htl/pt-spin-inlines.c: Likewise.
19706 * htl/pt-testcancel.c: Likewise.
19707 * htl/pt-yield.c: Likewise.
19708 * htl/tests/test-1.c: Likewise.
19709 * htl/tests/test-10.c: Likewise.
19710 * htl/tests/test-11.c: Likewise.
19711 * htl/tests/test-12.c: Likewise.
19712 * htl/tests/test-13.c: Likewise.
19713 * htl/tests/test-14.c: Likewise.
19714 * htl/tests/test-15.c: Likewise.
19715 * htl/tests/test-16.c: Likewise.
19716 * htl/tests/test-17.c: Likewise.
19717 * htl/tests/test-2.c: Likewise.
19718 * htl/tests/test-3.c: Likewise.
19719 * htl/tests/test-4.c: Likewise.
19720 * htl/tests/test-5.c: Likewise.
19721 * htl/tests/test-6.c: Likewise.
19722 * htl/tests/test-7.c: Likewise.
19723 * htl/tests/test-8.c: Likewise.
19724 * htl/tests/test-9.c: Likewise.
19725 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
19726 * sysdeps/htl/bits/cancelation.h: Likewise.
19727 * sysdeps/htl/bits/pthread-np.h: Likewise.
19728 * sysdeps/htl/bits/pthread.h: Likewise.
19729 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
19730 * sysdeps/htl/bits/semaphore.h: Likewise.
19731 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
19732 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
19733 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
19734 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
19735 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
19736 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
19737 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
19738 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
19739 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
19740 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
19741 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
19742 * sysdeps/htl/old_pt-atfork.c: Likewise.
19743 * sysdeps/htl/pt-atfork.c: Likewise.
19744 * sysdeps/htl/pt-attr-destroy.c: Likewise.
19745 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
19746 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
19747 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
19748 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
19749 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
19750 * sysdeps/htl/pt-attr-getscope.c: Likewise.
19751 * sysdeps/htl/pt-attr-getstack.c: Likewise.
19752 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
19753 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
19754 * sysdeps/htl/pt-attr-init.c: Likewise.
19755 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
19756 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
19757 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
19758 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
19759 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
19760 * sysdeps/htl/pt-attr-setscope.c: Likewise.
19761 * sysdeps/htl/pt-attr-setstack.c: Likewise.
19762 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
19763 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
19764 * sysdeps/htl/pt-attr.c: Likewise.
19765 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
19766 * sysdeps/htl/pt-barrier-init.c: Likewise.
19767 * sysdeps/htl/pt-barrier-wait.c: Likewise.
19768 * sysdeps/htl/pt-barrier.c: Likewise.
19769 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
19770 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
19771 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
19772 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
19773 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
19774 * sysdeps/htl/pt-cond-destroy.c: Likewise.
19775 * sysdeps/htl/pt-cond-init.c: Likewise.
19776 * sysdeps/htl/pt-cond-signal.c: Likewise.
19777 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
19778 * sysdeps/htl/pt-cond-wait.c: Likewise.
19779 * sysdeps/htl/pt-cond.c: Likewise.
19780 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
19781 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
19782 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
19783 * sysdeps/htl/pt-condattr-init.c: Likewise.
19784 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
19785 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
19786 * sysdeps/htl/pt-destroy-specific.c: Likewise.
19787 * sysdeps/htl/pt-equal.c: Likewise.
19788 * sysdeps/htl/pt-getconcurrency.c: Likewise.
19789 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
19790 * sysdeps/htl/pt-getschedparam.c: Likewise.
19791 * sysdeps/htl/pt-getspecific.c: Likewise.
19792 * sysdeps/htl/pt-init-specific.c: Likewise.
19793 * sysdeps/htl/pt-key-create.c: Likewise.
19794 * sysdeps/htl/pt-key-delete.c: Likewise.
19795 * sysdeps/htl/pt-key.h: Likewise.
19796 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
19797 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
19798 * sysdeps/htl/pt-mutex-init.c: Likewise.
19799 * sysdeps/htl/pt-mutex-lock.c: Likewise.
19800 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
19801 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
19802 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
19803 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
19804 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
19805 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
19806 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
19807 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
19808 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
19809 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
19810 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
19811 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
19812 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
19813 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
19814 * sysdeps/htl/pt-mutexattr.c: Likewise.
19815 * sysdeps/htl/pt-once.c: Likewise.
19816 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
19817 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
19818 * sysdeps/htl/pt-rwlock-init.c: Likewise.
19819 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
19820 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
19821 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
19822 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
19823 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
19824 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
19825 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
19826 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
19827 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
19828 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
19829 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
19830 * sysdeps/htl/pt-setconcurrency.c: Likewise.
19831 * sysdeps/htl/pt-setschedparam.c: Likewise.
19832 * sysdeps/htl/pt-setschedprio.c: Likewise.
19833 * sysdeps/htl/pt-setspecific.c: Likewise.
19834 * sysdeps/htl/pt-spin.c: Likewise.
19835 * sysdeps/htl/pt-startup.c: Likewise.
19836 * sysdeps/htl/pthread.h: Likewise.
19837 * sysdeps/htl/sem-close.c: Likewise.
19838 * sysdeps/htl/sem-destroy.c: Likewise.
19839 * sysdeps/htl/sem-getvalue.c: Likewise.
19840 * sysdeps/htl/sem-init.c: Likewise.
19841 * sysdeps/htl/sem-open.c: Likewise.
19842 * sysdeps/htl/sem-post.c: Likewise.
19843 * sysdeps/htl/sem-timedwait.c: Likewise.
19844 * sysdeps/htl/sem-trywait.c: Likewise.
19845 * sysdeps/htl/sem-unlink.c: Likewise.
19846 * sysdeps/htl/sem-wait.c: Likewise.
19847 * sysdeps/hurd/htl/pt-kill.c: Likewise.
19848 * sysdeps/i386/htl/pt-machdep.h: Likewise.
19849 * sysdeps/mach/htl/pt-block.c: Likewise.
19850 * sysdeps/mach/htl/pt-spin.c: Likewise.
19851 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
19852 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
19853 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
19854 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
19855 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
19856 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
19857 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
19858 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
19859 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
19860 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
19861 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
19862 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
19863 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
19864 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
19865 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
19866 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
19867 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
19868 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
19869 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
19870 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
19871 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
19872 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
19873 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
19874 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
19875 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
19876 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
19877 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
19878 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
19879 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
19880 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
19881 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
19882 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
19883 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
19884 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
19885 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
19886 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
19887 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
19888 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
19889 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
19890 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
19891 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
19892 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
19893 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
19894
fb03b04b
ST
19895 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
19896 * README: Remove the mention of out-of-tree patches needed for
19897 GNU/Hurd.
19898
fa9e1555
ST
19899 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
19900 (UTIME_NOW, UTIME_OMIT): Define macros.
19901
f6fb29d2
ST
19902 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
19903 instead of pthread_detach.
19904 (__cthread_fork): Call __pthread_create instead of pthread_create.
19905 (__cthread_keycreate): Call __pthread_key_create instead of
19906 pthread_key_create.
19907 (__cthread_getspecific): Call __pthread_getspecific instead of
19908 pthread_getspecific.
19909 (__cthread_setspecific): Call __pthread_setspecific instead of
19910 pthread_setspecific.
19911 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
19912 __pthread_mutex_unlock instead of pthread_mutex_lock and
19913 pthread_mutex_unlock.
19914 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
19915 ___pthread_get_cleanup_stack.
19916 (__pthread_get_cleanup_stack): New strong alias.
19917 * htl/pt-create.c: Include <pthreadP.h>.
19918 (entry_point): Call __pthread_exit instead of pthread_exit.
19919 (pthread_create): Rename to __pthread_create.
19920 (pthread_create): New strong alias.
19921 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
19922 (pthread_detach): New strong alias.
19923 (__pthread_detach): Call __pthread_cond_broadcast instead of
19924 pthread_cond_broadcast.
fe9748cc
ST
19925 * htl/pt-exit.c: Include <pthreadP.h>.
19926 (__pthread_exit): Call __pthread_setcancelstate and
19927 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
19928 __pthread_get_cleanup_stack.
f6fb29d2
ST
19929 * htl/pt-testcancel.c: Include <pthreadP.h>.
19930 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
19931 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
19932 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
19933 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
19934 pthread_attr_getstacksize.
19935 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
19936 Rename to __pthread_attr_getstackaddr.
19937 (pthread_attr_getstackaddr): New strong alias.
19938 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
19939 Rename to __pthread_attr_getstacksize.
19940 (pthread_attr_getstacksize): New strong alias.
19941 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
19942 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
19943 (pthread_attr_setstack): New strong alias.
19944 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
19945 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
19946 pthread_attr_getstacksize, pthread_attr_setstacksize and
19947 pthread_attr_setstackaddr.
19948 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
19949 Rename to __pthread_attr_setstackaddr.
19950 (pthread_attr_setstackaddr): New strong alias.
19951 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
19952 Rename to __pthread_attr_setstacksize.
19953 (pthread_attr_setstacksize): New strong alias.
19954 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
19955 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
19956 pthread_exit.
19957 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
19958 (__pthread_key_create): New hidden def.
19959 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
19960 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
19961 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
19962 __pthread_exit, __pthread_key_create, __pthread_getspecific,
19963 __pthread_setspecific, __pthread_setcancelstate,
19964 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
19965 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
19966 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
19967 declarations.
19968 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
19969 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
19970 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
19971 (pthread_attr_setstackaddr): New strong alias.
19972 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
19973 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
19974 (pthread_attr_setstacksize): New strong alias.
19975 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
19976 (call_exit): Call __pthread_exit instead of pthread_exit.
19977 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
19978 (_pthread_mutex_init): New hidden definition.
19979 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
19980 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
19981 instead of pthread_attr_init and pthread_attr_setstack.
19982
dba2bdbe
ST
19983 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
19984 __vm_deallocate instead of vm_allocate and vm_deallocate.
19985 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
19986 setenv.
19987 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
19988 of geteuid.
19989 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
19990 strdup.
19991 * hurd/siginfo.c: Include <libioP.h>.
19992 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
19993 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
19994 munmap.
dba2bdbe
ST
19995 * mach/devstream.c: Include <libioP.h>.
19996 (dealloc_ref): Call __mach_port_deallocate instead of
19997 mach_port_deallocate.
19998 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
19999 Call __mach_port_deallocate instead of mach_port_deallocate.
20000 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
20001 pathconf.
20002 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
20003 munmap.
20004 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
20005 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
20006 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
20007 of munmap.
20008 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
20009 of close.
20010 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
20011 instead of sysconf.
20012 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
20013 __clock_gettime instead of clock_gettime.
20014 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
20015 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
20016 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
20017 * sysdeps/unix/bsd/stty.c (stty): Likewise.
20018 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
20019 tcgetattr.
20020 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
20021 __clock_gettime and __nanosleep instead of clock_gettime and
20022 nanosleep.
7a8f45e3
ST
20023 * hurd/catch-signal.c (hurd_catch_signal): Rename to
20024 __hurd_catch_signal.
20025 (hurd_catch_signal): New strong alias.
20026 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
20027 __hurd_catch_signal instead of hurd_catch_signal.
20028 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
20029 * hurd/hurdexec.c (_hurd_init): Add hidden def.
20030 * hurd/hurdinit.c (_hurd_init): Add hidden def.
20031 * hurd/hurdsig.c: Include <mach/mig_support.h>.
20032 (_hurd_thread_sigstate): Add hidden def.
20033 (_hurd_internal_post_signal): Use __mutex_unlock instead of
20034 mutex_unlock.
20035 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
20036 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
20037 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
20038 __hurd_file_name_path_lookup.
20039 (hurd_file_name_path_lookup): New strong alias.
20040 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
20041 hurd_file_name_path_lookup.
20042 * mach/errstring.c (mach_error_type): Add hidden def.
20043 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
20044 * mach/mutex-init.c (__mutex_init): Add hidden def.
20045 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
20046 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
20047 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
20048 * sysdeps/mach/hurd/getcwd.c
20049 (_hurd_canonicalize_directory_name_internal): Rename to
20050 __hurd_canonicalize_directory_name_internal.
20051 (_hurd_canonicalize_directory_name_internal): New strong alias.
20052 (__canonicalize_directory_name_internal, __getcwd): Call
20053 __hurd_canonicalize_directory_name_internal instead of
20054 _hurd_canonicalize_directory_name_internal.
20055 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
20056 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
20057 hidden defs.
20058 * sysdeps/hurd/include/hurd.h: New file.
20059 * sysdeps/hurd/include/hurd/fd.h: New file.
20060 * sysdeps/hurd/include/hurd/signal.h: New file.
20061 * sysdeps/mach/include/lock-intern.h: New file.
20062 * sysdeps/mach/include/mach.h: New file.
20063 * sysdeps/mach/include/mach/mig_support.h: New file.
20064 * sysdeps/mach/include/mach_error.h: New file.
a758c293
ST
20065 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
20066 prototype.
20067 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
20068 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
20069 _HEADER_H_HIDDEN_DEF macro.
20070 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
20071 _hurd_fd_error_signal): Add hidden prototype.
20072 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
20073 hidden def.
82dbf555
ST
20074 * libio/iolibio.h (_IO_puts): New hidden prototype.
20075 * libio/ioputs.c (_IO_puts): New hidden def.
171488a2
ST
20076 * sysdeps/mach/hurd/localplt.data: New file.
20077
33574c17 200782018-04-02 Agustina Arzille <avarzille@riseup.net>
b39d961c
TS
20079 Amos Jeffries <squid3@treenet.co.nz>
20080 David Michael <fedora.dm0@gmail.com>
20081 Marco Gerards <marco@gnu.org>
20082 Marcus Brinkmann <marcus@gnu.org>
20083 Neal H. Walfield <neal@gnu.org>
20084 Pino Toscano <toscano.pino@tiscali.it>
20085 Richard Braun <rbraun@sceen.net>
20086 Roland McGrath <roland@gnu.org>
20087 Samuel Thibault <samuel.thibault@ens-lyon.org>
20088 Thomas DiModica <ricinwich@yahoo.com>
20089 Thomas Schwinge <tschwinge@gnu.org>
33574c17
ST
20090
20091 * htl: New directory.
20092 * sysdeps/htl: New directory.
20093 * sysdeps/hurd/htl: New directory.
20094 * sysdeps/i386/htl: New directory.
20095 * sysdeps/mach/htl: New directory.
20096 * sysdeps/mach/hurd/htl: New directory.
20097 * sysdeps/mach/hurd/i386/htl: New directory.
20098 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
20099 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
20100 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
20101
03e2aa50
ST
201022018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
20103
20104 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
20105 signals in thread created for runing timers.
20106
1aa52ced
FW
201072018-04-01 Florian Weimer <fweimer@redhat.com>
20108
20109 * support/support_format_addrinfo.c (support_format_addrinfo):
20110 Include unknown error number in formatted result.
20111
4d76d3e5
FW
201122018-03-29 Florian Weimer <fweimer@redhat.com>
20113
20114 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
20115 capture SIGBUS.
20116
d39c0a45
AZ
201172018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20118
20119 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
20120 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
20121 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
20122 (__ASSUME_CLONE_BACKWARDS): Define.
20123
cc8a1620
JH
201242018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
20125
57408435 20126 [BZ #23024]
cc8a1620
JH
20127 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
20128 early when linux sentinel value is set.
20129
8bfd94d0
ST
201302018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
20131
20132 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
20133
f178e59f
AS
201342018-03-27 Andreas Schwab <schwab@suse.de>
20135
20136 [BZ #23005]
20137 * resolv/res_send.c (__res_context_send): Return ENOMEM if
20138 allocation of private copy of nsaddr_list fails.
20139
5f45f96a
JM
201402018-03-26 Joseph Myers <joseph@codesourcery.com>
20141
20142 [BZ #16552]
20143 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
20144 * sysdeps/unix/sysv/linux/umount.c: ... here.
20145 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
20146 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
20147 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
20148 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
20149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
20150 * sysdeps/unix/sysv/linux/umount.S: Likewise.
20151 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
20152
3dfd23eb
AS
201532018-03-26 Andreas Schwab <schwab@suse.de>
20154
20155 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
20156 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
20157 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
20158 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
20159 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
20160 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
20161 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
20162 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
20163 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
20164 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
20165 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
20166 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
20167 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
20168 (R_RISCV_NUM): Define.
20169
fa97d2ab
ST
201702018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
20171
20172 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
20173 TLS declaration of errno.
37be82a0
ST
20174 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
20175 __libc_setup_tls.
20176 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
20177 (ARCH_SETUP_TLS): Likewise.
20178 * sysdeps/mach/hurd/libc-start.h: New file copied from
20179 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
978a6803
ST
20180 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
20181 instead of __libc_setup_tls.
37be82a0 20182 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
978a6803
ST
20183 __libc_setup_tls before initializing libpthread and running _hurd_init
20184 which starts the signal thread.
20185 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
20186 Declare function.
2d813d7b 20187 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fa97d2ab 20188
b8114edd
L
201892018-03-24 H.J. Lu <hongjiu.lu@intel.com>
20190
20191 [BZ #22998]
20192 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
20193 after it is defined.
20194
cd66c0e5
AS
201952018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
20196 Max Horn <max@quendi.de>
20197
20198 [BZ #22644]
43d4f3d5 20199 CVE-2017-18269
cd66c0e5
AS
20200 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
20201 branch conditions.
20202 * string/test-memmove.c (do_test2): New testcase.
20203
a4406139
JM
202042018-03-22 Joseph Myers <joseph@codesourcery.com>
20205
20206 * sysdeps/generic/frame.h: Remove file.
20207 * sysdeps/arm/frame.h: Likewise.
20208 * sysdeps/hppa/frame.h: Likewise.
20209 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
20210 macro.
20211 (GET_FRAME): Likewise.
20212 (GET_STACK): Likewise.
20213 (CALL_SIGHANDLER): Likewise.
20214 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
20215 Likewise.
20216 (GET_FRAME): Likewise.
20217 (GET_STACK): Likewise.
20218 (CALL_SIGHANDLER): Likewise.
20219 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
20220 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20221 (GET_FRAME): Likewise.
20222 (GET_STACK): Likewise.
20223 (CALL_SIGHANDLER): Likewise.
20224 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
20225 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20226 (GET_FRAME): Likewise.
20227 (GET_STACK): Likewise.
20228 (ADVANCE_STACK_FRAME): Likewise.
20229 (CALL_SIGHANDLER): Likewise.
20230 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
20231 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20232 (GET_FRAME): Likewise.
20233 (GET_STACK): Likewise.
20234 (CALL_SIGHANDLER): Likewise.
20235 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
20236 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20237 (GET_FRAME): Likewise.
20238 (GET_STACK): Likewise.
20239 (CALL_SIGHANDLER): Likewise.
20240 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
20241 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20242 (GET_FRAME): Likewise.
20243 (GET_STACK): Likewise.
20244 (CALL_SIGHANDLER): Likewise.
20245 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
20246 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20247 (GET_FRAME): Likewise.
20248 (GET_STACK): Likewise.
20249 (CALL_SIGHANDLER): Likewise.
20250 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
20251 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20252 (GET_FRAME): Likewise.
20253 (GET_STACK): Likewise.
20254 (CALL_SIGHANDLER): Likewise.
20255 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
20256 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20257 (GET_FRAME): Likewise.
20258 (GET_STACK): Likewise.
20259 (CALL_SIGHANDLER): Likewise.
20260 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
20261 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20262 (GET_FRAME): Likewise.
20263 (GET_STACK): Likewise.
20264 (CALL_SIGHANDLER): Likewise.
20265 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
20266 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20267 (GET_FRAME): Likewise.
20268 (GET_STACK): Likewise.
20269 (CALL_SIGHANDLER): Likewise.
20270 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
20271 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20272 (GET_FRAME): Likewise.
20273 (GET_STACK): Likewise.
20274 (CALL_SIGHANDLER): Likewise.
20275 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
20276 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20277 (FIRST_FRAME_POINTER): Likewise.
20278 (ADVANCE_STACK_FRAME): Likewise.
20279 (GET_STACK): Likewise.
20280 (GET_FRAME): Likewise.
20281 (CALL_SIGHANDLER): Likewise.
20282 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
20283 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20284 (ADVANCE_STACK_FRAME): Likewise.
20285 (GET_STACK): Likewise.
20286 (GET_FRAME): Likewise.
20287 (CALL_SIGHANDLER): Likewise.
20288 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
20289 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20290 (GET_FRAME): Likewise.
20291 (GET_STACK): Likewise.
20292 (CALL_SIGHANDLER): Likewise.
20293 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
20294 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20295 (GET_FRAME): Likewise.
20296 (GET_STACK): Likewise.
20297 (CALL_SIGHANDLER): Likewise.
20298
ffec7b27
JM
202992018-03-21 Joseph Myers <joseph@codesourcery.com>
20300
20301 * sysdeps/x86_64/backtrace.c: Move to ....
20302 * debug/backtrace.c: ... here.
20303 * sysdeps/aarch64/backtrace.c: Remove file.
20304 * sysdeps/alpha/backtrace.c: Likewise.
20305 * sysdeps/hppa/backtrace.c: Likewise.
20306 * sysdeps/ia64/backtrace.c: Likewise.
20307 * sysdeps/mips/backtrace.c: Likewise.
20308 * sysdeps/nios2/backtrace.c: Likewise.
20309 * sysdeps/riscv/backtrace.c: Likewise.
20310 * sysdeps/sh/backtrace.c: Likewise.
20311 * sysdeps/tile/backtrace.c: Likewise.
20312
8a07b0c4
JM
203132018-03-20 Joseph Myers <joseph@codesourcery.com>
20314
d0c5d731
JM
20315 [BZ #22987]
20316 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
20317 function.
20318 (fdimf): Likewise.
20319 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
20320
8a07b0c4
JM
20321 [BZ #17343]
20322 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
20323 possibly overflowing computations.
20324
ceb54b9b
ST
203252018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
20326
20327 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
20328 values from Linux-specific section now that it is in the GNU section.
20329 * sysdeps/gnu/errlist.c: Regenerate.
20330
8d3f9e85
JM
203312018-03-20 Joseph Myers <joseph@codesourcery.com>
20332
20333 * math/Makefile (libm-narrow-fns): Add sub.
20334 (libm-test-funcs-narrow): Likewise.
20335 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
20336 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
20337 * math/gen-auto-libm-tests.c (test_functions): Add sub.
20338 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
20339 (NARROW_SUB_ROUND_TO_ODD): Likewise.
20340 (NARROW_SUB_TRIVIAL): Likewise.
20341 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
20342 macro.
20343 (__dsubl): Likewise.
20344 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
20345 dsub.
20346 (CFLAGS-nldbl-dsub.c): New variable.
20347 (CFLAGS-nldbl-fsub.c): Likewise.
20348 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
20349 __nldbl_dsubl.
20350 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
20351 prototype.
20352 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
20353 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
20354 * math/auto-libm-test-in: Add tests of sub.
20355 * math/auto-libm-test-out-narrow-sub: New generated file.
20356 * math/libm-test-narrow-sub.inc: New file.
20357 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
20358 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
20359 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
20360 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
20361 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
20362 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
20363 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
20364 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
20365 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
20366 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
20367 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
20368 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
20369 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
20370 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
20371 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
20372 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
20373 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
20374 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
20375 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20376 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
20377 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20378 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20379 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20380 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20381 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20382 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20383 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20384 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20385 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20386 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20387 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20388 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
20390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
20391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
20392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
20393 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
20394 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20395 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20396 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20397 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20398 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20399 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
20400 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
20401 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20402 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20403
d473f015
JM
204042018-03-19 Joseph Myers <joseph@codesourcery.com>
20405
20406 [BZ #20079]
20407 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
20408
fbce6f72
WD
204092018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
20410
20411 * benchtests/bench-timing.h (attribute_hidden): Undefine.
20412
72e7ffc3
RB
204132018-03-18 Richard Braun <rbraun@sceen.net>
20414
20415 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
20416 thread reference.
20417
542c20a1
AA
204182018-03-18 Agustina Arzille <avarzille@riseup.net>
20419
20420 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
20421 (__libc_cleanup_fct): Define function.
20422 (__libc_cleanup_region_start, __libc_cleanup_region_end,
20423 __libc_cleanup_end): Rewrite implementation using
20424 __attribute__ ((__cleanup__)).
20425 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
fb4cc8a0
AA
20426 * hurd/Makefile (routines): Add hurdlock.
20427 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
20428 interface.
20429 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
20430 * hurd/hurdpid.c: Include <lowlevellock.h>
20431 (_S_msg_proc_newids): Use lll_wait to synchronize.
20432 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
20433 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
20434 * mach/Makefile (lock-headers): Remove machine-lock.h.
20435 * mach/lock-intern.h: Include <lowlevellock.h> instead of
20436 <machine-lock.h>.
20437 (__spin_lock_t): New type.
20438 (__SPIN_LOCK_INITIALIZER): New macro.
20439 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
20440 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
20441 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
20442 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
20443 (__mutex_init): Initialize with lll.
20444 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
20445 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
20446 needing lll.
20447 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
20448 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
20449 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
20450 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
20451 (__setpgid): Use lll for synchronization.
20452 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
20453 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
20454 instead of <cthreads.h>.
20455 (_IO_lock_inexpensive): New macro
20456 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
20457 (__libc_lock_self0): New declaration.
20458 (__libc_lock_owner_self): New macro.
20459 (__libc_key_t): Remove type.
20460 (_LIBC_LOCK_INITIALIZER): New macro.
20461 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
20462 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
20463 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
20464 __libc_lock_define_initialized_recursive,
20465 __rtld_lock_define_initialized_recursive,
20466 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
20467 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
20468 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
20469 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
20470 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
20471 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
20472 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
20473 New macros.
20474 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
20475 * hurd/hurdlock.c: New file.
20476 * hurd/hurdlock.h: New file.
20477 * mach/lowlevellock.h: New file
542c20a1 20478
9a37922e
ST
204792018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
20480
20481 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
489999cc
ST
20482 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
20483 when opening a symlink with O_NOFOLLOW.
72103e73
ST
20484 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
20485 path when flags contains O_NOFOLLOW.
20486 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
20487 if flags contains O_DIRECTORY and the result is a directory.
aa218929
ST
20488 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
20489 oneself when the pointer given in D is nul (as set by ext2fs).
20bc801b
ST
20490 * sysdeps/mach/hurd/mlockall.c: New file.
20491 * sysdeps/mach/hurd/munlockall.c: New file.
9a37922e 20492
34e6a869
ST
204932018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
20494
20495 * hurd/hurdsig.c: Include <pthread.h>.
20496 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
20497 get the signal thread stack layout.
dc33bef3
ST
20498 * hurd/Makefile (headers): Remove threadvar.h.
20499 (inline-headers): Remove threadvar.h.
20500 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
20501 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
20502 __hurd_threadvar_max, __hurd_errno_location.
20503 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
20504 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
20505 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
20506 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
20507 unless TLS is not initialized yet, in which case we do not need a
20508 critical section yet anyway.
20509 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
20510 <machine-sp.h>.
20511 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
20512 declarations.
20513 (__hurd_threadvar_index): Remove enum.
20514 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
20515 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
20516 inlines.
20517 (__hurd_reply_port0): New variable declaration.
20518 (__hurd_local_reply_port): New macro.
20519 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
20520 (interrupted_reply_port_location): Add thread_t parameter. Use it
20521 with THREAD_TCB to access thread-local variables.
20522 (_hurdsig_abort_rpcs): Pass ss->thread to
20523 interrupted_reply_port_location.
20524 (_hurd_internal_post_signal): Likewise.
20525 (_hurdsig_init): Use presence of cthread_fork instead of
20526 __hurd_threadvar_stack_mask to start signal thread by hand.
20527 Remove signal thread threadvar initialization.
20528 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
20529 * hurd/sigunwind.c: Include <hurd/threadvar.h>
20530 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
20531 of threadvar.
20532 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
20533 __libc_lock_self0.
20534 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
20535 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
20536 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
20537 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
20538 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
20539 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
20540 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
20541 define variables.
20542 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
20543 <hurd/threadvar.h>.
20544 [IS_IN(rtld)] (rtld_errno): New variable.
20545 [IS_IN(rtld)] (__errno_location): New weak function.
20546 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
20547 * sysdeps/mach/hurd/errno.c: Remove file.
20548 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
20549 (__fork): Remove THREADVAR_SPACE macro and its use.
20550 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
20551 variable.
20552 (init): Do not initialize threadvar.
20553 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
20554 symbol.
20555 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
20556 __hurd_local_reply_port instead of threadvar.
20557 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
20558 _hurd_sigstate fields.
20559 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
20560 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
20561 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
20562 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
20563 instead of threadvar.
20564 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
20565 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
20566 (use_threadvar, global_reply_port): Remove variables.
20567 (__hurd_reply_port0): New variable.
20568 (__mig_get_reply_port): Use __hurd_local_reply_port and
20569 __hurd_reply_port0 instead of threadvar.
20570 (__mig_dealloc_reply_port): Likewise.
20571 (__mig_init): Do not initialize threadvar.
20572 * sysdeps/mach/hurd/profil.c: Fix comment.
c2fb08c7
ST
20573 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
20574 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
20575 cthread_keycreate, cthread_getspecific, cthread_setspecific to
20576 __cthread_fork, __cthread_detach, __pthread_getattr_np,
20577 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
20578 __cthread_setspecific.
20579 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
20580 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
20581 __cthread_t instead of cthread_fork, cthread_detach,
20582 pthread_getattr_np, pthread_attr_getstack.
20583 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
20584 __cthread_keycreate.
20585 (cthread_getspecific): Rename to __cthread_getspecific.
20586 (cthread_setspecific): Rename to __cthread_setspecific.
20587 (__libc_getspecific): Use __cthread_getspecific instead of
20588 cthread_getspecific.
20589 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
20590 __cthread_keycreate instead of cthread_keycreate.
20591 (__libc_setspecific): Use __cthread_setspecific instead of
20592 cthread_setspecific.
20593 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
20594 Likewise.
dd28d4ba
ST
20595 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
20596 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
20597 testing whether it is defined.
34e6a869 20598
f8baf2a2
ST
205992018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
20600
20601 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
20602 Define macro.
20603 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
20604 * sysdeps/mach/i386/thread_state.h
20605 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
20606 i386_THREAD_STATE.
20607 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
20608 i386_THREAD_STATE.
20609 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
20610
20611 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
20612 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
20613
20614 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
20615 macros.
20616 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
20617 descriptor instead of creating a new one.
20618 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
20619
20620 * mach/setup-thread.c: Include <ldsodefs.h>.
20621 (__mach_setup_thread): Call _dl_allocate_tls, pass
20622 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
20623 MACHINE_THREAD_STATE_FLAVOR, before getting
20624 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
20625 MACHINE_THREAD_STATE_FLAVOR with the result.
20626 * hurd/hurdfault.c (_hurdsig_fault_init): Call
20627 MACHINE_THREAD_STATE_FIX_NEW.
20628 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
20629 too. Add original thread parameter.
20630
34ba96b8
JM
206312018-03-16 Joseph Myers <joseph@codesourcery.com>
20632
5d75b75f
JM
20633 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
20634 Remove inline function.
20635
34ba96b8
JM
20636 * sysdeps/i386/fpu/libm-test-ulps: Update.
20637 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20638
22679b2c
WD
206392018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
20640
20641 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
20642 commit.
20643
c429a8d8
JM
206442018-03-15 Joseph Myers <joseph@codesourcery.com>
20645
20646 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
20647 (__sincos_code): Remove define and undefine.
20648 [__FAST_MATH__] (__sincos): Remove inline function.
20649 [__FAST_MATH__] (__sincosf): Remove inline function.
20650 [__FAST_MATH__] (__sincosl): Remove inline function.
20651 (__atan2l): Remove inline functions.
20652 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
20653 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
20654 function.
20655 (floor): Remove inline function.
20656 (ceil): Likewise.
20657 [__FAST_MATH__] (__ldexp_code): Remove macro.
20658 [__FAST_MATH__] (ldexp): Remove inline function.
20659 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
20660 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
20661 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
20662 [__USE_ISOC99] (__lrint_code): Remove macro.
20663 [__USE_ISOC99] (__llrint_code): Likewise.
20664 [__USE_ISOC99] (lrintf): Remove inline function.
20665 [__USE_ISOC99] (lrint): Likewise.
20666 [__USE_ISOC99] (lrintl): Likewise.
20667 [__USE_ISOC99] (llrint): Likewise.
20668 [__USE_ISOC99] (llrintf): Likewise.
20669 [__USE_ISOC99] (llrintl): Likewise.
20670
700593fd
WD
206712018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20672
20673 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
20674 (__ieee754_sqrtf): Remove.
20675 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
20676 (__ieee754_sqrtf): Remove.
20677 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
20678 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
20679 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
20680 (__ieee754_sqrtf): Remove.
20681 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
20682 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
20683 (sqrtf): Remove.
20684 (sqrtl): Remove.
20685 (__ieee754_sqrt): Remove.
20686 (__ieee754_sqrtf): Remove.
20687 (__ieee754_sqrtl): Remove.
20688 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
20689 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
20690 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
20691 (__ieee754_sqrtf): Remove.
20692 (__ieee754_sqrtl): Remove.
20693
f67a8147
WD
206942018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20695
20696 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
20697 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
20698 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
20699 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
20700 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
20701 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20702 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
20703 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
20704 Likewise.
20705 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
20706 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
20707 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
20708 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
20709 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
20710 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
20711 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
20712 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
20713 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
20714 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
20715 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
20716 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
20717 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
20718 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
20719 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
20720 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20721 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20722 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
20723 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
20724 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
20725 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
20726 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20727 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
20728 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
20729 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
20730 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
20731 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20732 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20733 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
20734 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
20735 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
20736 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
20737 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
20738 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
20739 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20740 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20741 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
20742 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
20743 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
20744 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
20745
1294b189
WD
207462018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20747
20748 * include/math.h (sqrt): Declare with asm redirect.
20749 (sqrtf): Likewise.
20750 (sqrtl): Likewise.
20751 (sqrtf128): Likewise.
20752 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
20753 nonlib and libnldbl with -fmath-errno.
20754 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
20755 * math/w_sqrt_template.c: Likewise.
20756 * math/w_sqrtf_compat.c: Likewise.
20757 * math/w_sqrtl_compat.c: Likewise.
20758 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
20759 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
20760 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
20761 complex.h.
20762
f1c8185d
WD
207632018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20764
20765 * benchtests/Makefile: Define _ISOMAC.
20766 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
20767 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
20768 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
20769 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
20770 * benchtests/bench-timing.h: Define attribute_hidden.
20771
b47c3e76
SP
207722018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
20773
20774 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
20775 mov + lsr.
20776
ab74d59f 207772018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
807fee29
RL
20778
20779 [BZ #22963]
20780 * localedata/locales/cs_CZ (mon): Rename to...
20781 (alt_mon): This.
20782 (mon): Import from CLDR (genitive case).
20783
ab74d59f 207842018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
e7155a28
RL
20785
20786 [BZ #22937]
20787 * localedata/locales/el_CY (abmon): Rename to...
20788 (ab_alt_mon): This.
20789 (abmon): Import from CLDR (abbreviated genitive case).
20790 * localedata/locales/el_GR (abmon): Rename to...
20791 (ab_alt_mon): This.
20792 (abmon): Import from CLDR (abbreviated genitive case).
20793
ab74d59f 207942018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
71d7b121
RL
20795
20796 [BZ #22932]
20797 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
20798
a00bffe8
RB
207992018-03-15 Robert Buj <robert.buj@gmail.com>
20800
20801 [BZ #22848]
20802 * localedata/locales/ca_ES (abmon): Rename to...
20803 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
20804 (mon): Rename to...
20805 (alt_mon): This.
20806 (abmon): Import from CLDR (genitive case, month names preceded by
20807 "de" or "d’").
20808 (mon): Likewise.
20809 (abday): Synchronize with CLDR.
20810 (d_t_fmt): Likewise.
20811 (d_fmt): Likewise.
20812 (am_pm): Likewise.
20813
20814 (LC_TIME): Improve indentation.
20815 (LC_TELEPHONE): Likewise.
20816 (LC_NAME): Likewise.
20817 (LC_ADDRESS): Likewise.
20818
f9555d73
JM
208192018-03-14 Joseph Myers <joseph@codesourcery.com>
20820
20821 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
20822 (lrintf): Remove definitions used only with old GCC.
20823 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
20824 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
20825 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
20826 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
20827 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
20828 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
20829 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
20830 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
20831 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
20832 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
20833 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
20834 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
20835 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
20836 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
20837 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
20838 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
20839 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
20840 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
20841 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
20842 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
20843 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
20844 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
20845 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
20846 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
20847 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
20848 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
20849 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
20850 [__FAST_MATH__] (__M_SQRT2): Remove macro.
20851
d46f84de
SP
208522018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
20853
20854 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
20855 instruction to unbreak builds with binutils 2.26 and older.
20856
7108f1f9
SP
208572018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
20858
20859 * sysdeps/aarch64/strncmp.S (count): New macro.
20860 (strncmp): Store misaligned length in SRC1 in COUNT.
20861 (mutual_align): Adjust.
20862 (misaligned8): Load dword at a time when it is safe.
20863
2cc7bad0
ZW
208642018-03-12 Zack Weinberg <zackw@panix.com>
20865
20866 [BZ #1190]
20867 [BZ #19476]
20868 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
20869 if the _IO_EOF_SEEN bit is already set; update commentary.
20870 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
20871 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
20872
20873 * support/support_openpty.c, support/tty.h: New files.
20874 * support/Makefile (libsupport-routines): Add support_openpty.
20875
20876 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
20877 New test cases.
20878 * libio/Makefile (tests): Add tst-fgetc-after-eof.
20879 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
20880
778f1974
DL
208812018-03-12 Dmitry V. Levin <ldv@altlinux.org>
20882
20883 * po/pt_BR.po: Update translations.
20884
6b5c8607 208852018-03-12 David Michael <fedora.dm0@gmail.com>
da6d4404
DM
20886
20887 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
20888 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
20889 get a port to the startup server.
20890
d3da750d
ZW
208912018-03-11 Zack Weinberg <zackw@panix.com>
20892
20893 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
20894 before nldbl-compat.h.
20895
054b72cc
ZW
208962018-03-10 Zack Weinberg <zackw@panix.com>
20897
0d13dfa1
ZW
20898 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
20899 math.h or math_private.h.
20900
20901 * sysdeps/alpha/fpu/s_isnan.c
20902 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
20903 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
20904 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
20905 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
20906 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
20907 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
20908 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
20909 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
20910 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
20911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
20912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
20913 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
20914 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
20915 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
20916 Include math_private.h.
20917
20918 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
20919 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
20920 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
20921 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
20922 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
20923 * sysdeps/powerpc/power7/fpu/s_logb.c:
20924 Include math.h and math_private.h.
20925
054b72cc
ZW
20926 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
20927 uses of $at in .set noat / .set at.
20928
6253bacd
L
209292018-03-10 H.J. Lu <hongjiu.lu@intel.com>
20930
20931 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
20932 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
20933 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
20934 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
20935 Likewise.
20936
229855e5
FW
209372018-03-09 Florian Weimer <fweimer@redhat.com>
20938
20939 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
20940 in comment.
20941
9aa5c222
AJ
209422018-03-09 Aurelien Jarno <aurelien@aurel32.net>
20943
20944 [BZ #22919]
20945 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
20946 Add nop before __startcontext, add explaining comments.
20947
3dc21497
AZ
209482018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20949
e921c89e
AZ
20950 [BZ #22926]
20951 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
20952 empty for __SPE__.
20953 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
20954 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
20955 Do not build hardware transactional code for __SPE__.
20956 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
20957 (__lll_trylock_elision): Likewise.
20958 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
20959 (__lll_unlock_elision): Likewise.
20960
d9f26dab 20961 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
3dc21497
AZ
20962 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
20963 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
20964 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
20965 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
20966 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
20967 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
20968 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
20969 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
20970 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
20971 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
20972 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
20973 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
20974 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
20975 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
20976 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
20977 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
20978 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
20979 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
20980 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
20981 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
20982 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20983 (__ASSUME_CLONE_BACKWARDS): Define.
20984 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
20985 __clone2 if __NR_clone2 is defined.
20986 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20987 (__ASSUME_CLONE_BACKWARDS): Likewise.
20988 * sysdeps/unix/sysv/linux/i386/kernel-features.h
20989 (__ASSUME_CLONE_BACKWARDS): Likewise.
20990 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20991 (__ASSUME_CLONE2): Likewise.
20992 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20993 (__ASSUME_CLONE_BACKWARDS3): Likewise.
20994 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
20995 variants and the define architecture can use.
20996 (__ASSUME_CLONE_DEFAULT): Define as default.
20997 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20998 (__ASSUME_CLONE_BACKWARDS): Likewise.
20999 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21000 (__ASSUME_CLONE_BACKWARDS): Likewise.
21001 * sysdeps/unix/sysv/linux/s390/kernel-features.h
21002 (__ASSUME_CLONE_BACKWARDS2): Likewise.
21003
adc95fb0
SP
210042018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
21005
4e54d918
SP
21006 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
21007
30a81dae
SP
21008 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
21009 time.
21010
adc95fb0
SP
21011 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
21012 (do_test_limit): Likewise.
21013
21014 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
21015 for every implementation.
21016 (do_test): Likewise.
21017
21018 * benchtests/bench-strncmp.c: Convert output to json.
21019
4e9066bc
ST
210202018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21021
21022 * io/futimens.c: Add missing start-of-file descriptive comment.
21023 * io/utime.c: Likewise.
21024 * misc/futimesat.c: Likewise.
21025 * misc/utimes.c: Likewise.
21026 * sysdeps/mach/hurd/futimesat.c: Likewise.
21027 * sysdeps/mach/hurd/utimes.c: Likewise.
21028 * sysdeps/posix/utime.c: Likewise.
21029 * sysdeps/posix/utimes.c: Likewise.
21030 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
21031 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
21032 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
21033 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
21034
ec1300cf
ST
210352018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
21036
21037 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
21038 hurd_futimes.
21039 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
21040 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
21041 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
21042 (__futimens): Move implementation to...
21043 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
21044 utime_tvalue_from_tspec): ... new helper functions.
21045 (hurd_futimens): New function.
21046 * sysdeps/mach/hurd/futimesat.c: New file.
21047 * sysdeps/mach/hurd/utimensat.c: New file.
21048
bbe762d1
FC
210492018-03-05 Flávio Cruz <flaviocruz@gmail.com>
21050
21051 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
21052 UTIME_OMIT): New macros.
21053 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
21054 before reverting to converting time spec to time value and calling
21055 __file_utimes.
21056 * sysdeps/mach/hurd/utime-helper.c: New file.
21057 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
21058 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
21059 reverting to utime_tvalue_from_tval and __file_utimes.
21060 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
21061 (__lutimes): Just call hurd_futimens after lookup.
21062 * sysdeps/mach/hurd/utimes.c: Likewise.
21063
a1ede3a4
ST
210642018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
21065
21066 * bits/sigaction.h: Add include guard.
21067 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
21068 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
21069 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
21070 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
21071 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
21072 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
21073 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
21074 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
21075 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
21076
6900d2ca
JM
210772018-03-05 Joseph Myers <joseph@codesourcery.com>
21078
21079 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
21080 -Wmaybe-uninitialized for -Os.
21081 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
21082 this disabling.
21083
68448be2
AZ
210842018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21085
5226a81f
AZ
21086 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
21087 __INO_T_MATCHES_INO64_T is defined.
21088 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
21089 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
21090 of definition.
21091 * dirent/alphasort64.c: Likewise.
21092 * dirent/scandir.c: Likewise.
21093 * dirent/scandir64-tail.c: Likewise.
21094 * dirent/scandir64.c: Likewise.
21095 * dirent/scandirat.c: Likewise.
21096 * dirent/scandirat64.c: Likewise.
21097 * dirent/versionsort.c: Likewise.
21098 * dirent/versionsort64.c: Likewise.
21099 * include/dirent.h: Likewise.
21100
fbd01e6c
AZ
21101 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
21102 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
21103 for socketpair endpoint.
21104 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
21105 WRITE_BUFFER_SIZE as buffer size for sending socket.
21106 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
21107 issue on system where send is implemented with sendto syscall.
21108 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
21109 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
21110 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
21111 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
21112
68448be2
AZ
21113 [BZ #21269]
21114 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
21115 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
21116 sa_restorer for vDSO case.
21117 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
21118
eb1ca47e
ST
211192018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
21120
21121 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
e30c291a
ST
21122 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
21123 * hurd/hurd/ioctl.h: Include <mach/port.h>
21124 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
f4bff843
ST
21125 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
21126 <mach/mach_types.h> and <mach/message.h>.
430fd945
ST
21127 (headers): Move mach/param.h to bits/mach/param.h.
21128 * sysdeps/mach/i386/mach/param.h: Move file to ...
21129 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
21130 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
21131 of <mach/param.h>.
3403cb7d
ST
21132 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
21133 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
21134 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
48d34cbc
ST
21135 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
21136 trivial, for C++ conformity.
44c6376c 21137 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
95dfdbd2
ST
21138 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
21139 Process mig output through $(migheadersed).
21140 * hurd/Makefile (migheadersed): Define variable.
a726c87a
ST
21141 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
21142 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
21143 headers.
ba89615d
ST
21144 * hurd/hurd.h: Include <bits/types/sigset_t.h>
21145 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
21146 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
21147 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
21148 <bits/types/sigset_t.h>.
21149 [!defined __USE_GNU]: Do not #error out.
21150 (struct hurd_sigstate): Use _NSIG instead of NSIG.
21151 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
21152 Include <stddef.h> and <bits/types/sigset_t.h>
21153 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
21154 instead of sighandler_t.
974393ea
ST
21155 * stdlib/errno.h (error_t): Move definition to...
21156 * bits/types/error_t.h: ... new header.
21157 * stdlib/Makefile (headers): Add bits/types/error_t.h.
21158 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
21159 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
21160 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
21161 * hurd/hurd.h: Include <bits/types/error_t.h>
21162 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
21163 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
21164 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
21165 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
21166 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
21167 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
8d965cde 21168 * sysdeps/mach/hurd/futimens.c: New file.
eb1ca47e 21169
eaf6753f
AS
211702018-03-03 Andreas Schwab <schwab@linux-m68k.org>
21171
21172 [BZ #22918]
21173 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
21174 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
21175 * nscd/gai.c (__nss_hosts_database): Readd definition.
21176 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
21177 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
21178 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
21179
4dc23804
JM
211802018-03-02 Joseph Myers <joseph@codesourcery.com>
21181
21182 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
21183 (ifunc_one): Likewise.
21184
1c81d55f
DD
211852018-03-01 DJ Delorie <dj@delorie.com>
21186
21187 [BZ #22342]
21188 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
21189 key value.
21190
b717c14f
MR
211912018-03-01 Maciej W. Rozycki <macro@mips.com>
21192
21193 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
21194 `match_pid' parameter.
21195 (td_ta_thr_iter): Update accordingly.
21196
1efe1358
FW
211972018-03-01 Florian Weimer <fweimer@redhat.com>
21198
21199 * nptl/Makefile (install-lib-ldscripts): Remove.
21200 (install): Remove rule.
21201 ($(inst_libdir)/libpthread.so): Likewise.
21202
a527f09c
MF
212032018-03-01 Mike FABIAN <mfabian@redhat.com>
21204
21205 [BZ #22896]
21206 * localedata/locales/an_ES: update month and day names,
21207 improve d_fmt, improve postal_fmt, add country_post,
21208 add country_isbn
21209
35d660b0
MF
212102018-03-01 Mike FABIAN <mfabian@redhat.com>
21211
21212 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
21213 Ukrainian instead of Bulgarian.
21214
1a2f44a8
FW
212152018-03-01 Florian Weimer <fweimer@redhat.com>
21216
21217 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
21218 reference.
21219
bd60ce86
FW
212202018-03-01 Florian Weimer <fweimer@redhat.com>
21221
21222 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
21223 * nptl/Makefile (routines): Add pthread_atfork.
21224 (static-only-routines): Set to pthread_atfork.
21225 (libpthread-routines): Remove pthread_atfork.
21226 (libpthread-static-only-routines): Remove.
21227 (install): Update comment.
21228 (libpthread.so): Do not install libpthread_nonshared.a.
21229 (tests): Do not link with libpthread_nonshared.a.
21230 (generated): Remove libpthread_nonshared.a.
21231 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
21232 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
21233 with libpthread_nonshared.a.
21234
000f290f
JM
212352018-02-28 Joseph Myers <joseph@codesourcery.com>
21236
e2bcf6a8
JM
21237 [BZ #22902]
21238 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
21239 (libc_feholdexcept_setroundf128): New macro.
21240 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
21241
000f290f
JM
21242 [BZ #15105]
21243 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
21244 libc_hidden_def.
21245 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
21246 * include/inttypes.h: New file.
21247
02f2fead
JM
212482018-02-27 Joseph Myers <joseph@codesourcery.com>
21249
21250 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
21251 -Os in two more places.
21252
874c56d7
MF
212532018-02-27 Mike FABIAN <mfabian@redhat.com>
21254
21255 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
21256 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
21257 be sorted correctly at the moment because of a bug.
21258
15973854
MF
212592018-02-27 Mike FABIAN <mfabian@redhat.com>
21260
21261 [BZ #22550] - es_ES locale (and other es_* locales): collation should
21262 treat ñ as a primary different character, sync the collation
21263 for Spanish with CLDR.
21264 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
21265 * localedata/Makefile: Add new test files.
21266 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
21267 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
21268 collation order.
21269 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
21270 * localedata/am_ET.UTF-8.in: New test file.
21271 * localedata/az_AZ.UTF-8.in: Likewise.
21272 * localedata/be_BY.UTF-8.in: Likewise.
21273 * localedata/ber_DZ.UTF-8.in: Likewise.
21274 * localedata/ber_MA.UTF-8.in: Likewise.
21275 * localedata/bg_BG.UTF-8.in: Likewise.
21276 * localedata/br_FR.UTF-8.in: Likewise.
21277 * localedata/cmn_TW.UTF-8.in: Likewise.
21278 * localedata/crh_UA.UTF-8.in: Likewise.
21279 * localedata/csb_PL.UTF-8.in: Likewise.
21280 * localedata/cv_RU.UTF-8.in: Likewise.
21281 * localedata/cy_GB.UTF-8.in: Likewise.
21282 * localedata/dz_BT.UTF-8.in: Likewise.
21283 * localedata/eo.UTF-8.in: Likewise.
21284 * localedata/es_ES.UTF-8.in: Likewise.
21285 * localedata/fa_IR.UTF-8.in: Likewise.
21286 * localedata/fi_FI.UTF-8.in: Likewise.
21287 * localedata/fil_PH.UTF-8.in: Likewise.
21288 * localedata/fur_IT.UTF-8.in: Likewise.
21289 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
21290 * localedata/ha_NG.UTF-8.in: Likewise.
21291 * localedata/ig_NG.UTF-8.in: Likewise.
21292 * localedata/ik_CA.UTF-8.in: Likewise.
21293 * localedata/kk_KZ.UTF-8.in: Likewise.
21294 * localedata/ku_TR.UTF-8.in: Likewise.
21295 * localedata/ky_KG.UTF-8.in: Likewise.
21296 * localedata/ln_CD.UTF-8.in: Likewise.
21297 * localedata/mi_NZ.UTF-8.in: Likewise.
21298 * localedata/ml_IN.UTF-8.in: Likewise.
21299 * localedata/mn_MN.UTF-8.in: Likewise.
21300 * localedata/mr_IN.UTF-8.in: Likewise.
21301 * localedata/mt_MT.UTF-8.in: Likewise.
21302 * localedata/nb_NO.UTF-8.in: Likewise.
21303 * localedata/om_KE.UTF-8.in: Likewise.
21304 * localedata/os_RU.UTF-8.in: Likewise.
21305 * localedata/ps_AF.UTF-8.in: Likewise.
21306 * localedata/ro_RO.UTF-8.in: Likewise.
21307 * localedata/ru_RU.UTF-8.in: Likewise.
21308 * localedata/sc_IT.UTF-8.in: Likewise.
21309 * localedata/se_NO.UTF-8.in: Likewise.
21310 * localedata/sq_AL.UTF-8.in: Likewise.
21311 * localedata/sv_SE.UTF-8.in: Likewise.
21312 * localedata/szl_PL.UTF-8.in: Likewise.
21313 * localedata/tg_TJ.UTF-8.in: Likewise.
21314 * localedata/tk_TM.UTF-8.in: Likewise.
21315 * localedata/tt_RU.UTF-8.in: Likewise.
21316 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
21317 * localedata/ug_CN.UTF-8.in: Likewise.
21318 * localedata/uz_UZ.UTF-8.in: Likewise.
21319 * localedata/vi_VN.UTF-8.in: Likewise.
21320 * localedata/yi_US.UTF-8.in: Likewise.
21321 * localedata/yo_NG.UTF-8.in: Likewise.
21322 * localedata/zh_CN.UTF-8.in: Likewise.
21323 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
21324 file and fix bugs in the collation.
21325 * localedata/locales/az_AZ: Likewise.
21326 * localedata/locales/be_BY: Likewise.
21327 * localedata/locales/ber_DZ: Likewise.
21328 * localedata/locales/ber_MA: Likewise.
21329 * localedata/locales/bg_BG: Likewise.
21330 * localedata/locales/br_FR: Likewise.
21331 * localedata/locales/br_FR@euro: Likewise.
21332 * localedata/locales/ca_ES: Likewise.
21333 * localedata/locales/cns11643_stroke: Likewise.
21334 * localedata/locales/crh_UA: Likewise.
21335 * localedata/locales/cs_CZ: Likewise.
21336 * localedata/locales/csb_PL: Likewise.
21337 * localedata/locales/cv_RU: Likewise.
21338 * localedata/locales/cy_GB: Likewise.
21339 * localedata/locales/da_DK: Likewise.
21340 * localedata/locales/dz_BT: Likewise.
21341 * localedata/locales/en_CA: Likewise.
21342 * localedata/locales/eo: Likewise.
21343 * localedata/locales/es_CU: Likewise.
21344 * localedata/locales/es_EC: Likewise.
21345 * localedata/locales/es_ES: Likewise.
21346 * localedata/locales/es_US: Likewise.
21347 * localedata/locales/et_EE: Likewise.
21348 * localedata/locales/fa_IR: Likewise.
21349 * localedata/locales/fi_FI: Likewise.
21350 * localedata/locales/fil_PH: Likewise.
21351 * localedata/locales/fur_IT: Likewise.
21352 * localedata/locales/gez_ER@abegede: Likewise.
21353 * localedata/locales/ha_NG: Likewise.
21354 * localedata/locales/hr_HR: Likewise.
21355 * localedata/locales/hsb_DE: Likewise.
21356 * localedata/locales/hu_HU: Likewise.
21357 * localedata/locales/ig_NG: Likewise.
21358 * localedata/locales/ik_CA: Likewise.
21359 * localedata/locales/is_IS: Likewise.
21360 * localedata/locales/iso14651_t1_pinyin: Likewise.
21361 * localedata/locales/kk_KZ: Likewise.
21362 * localedata/locales/ku_TR: Likewise.
21363 * localedata/locales/ky_KG: Likewise.
21364 * localedata/locales/ln_CD: Likewise.
21365 * localedata/locales/lt_LT: Likewise.
21366 * localedata/locales/lv_LV: Likewise.
21367 * localedata/locales/mi_NZ: Likewise.
21368 * localedata/locales/ml_IN: Likewise.
21369 * localedata/locales/mn_MN: Likewise.
21370 * localedata/locales/mr_IN: Likewise.
21371 * localedata/locales/mt_MT: Likewise.
21372 * localedata/locales/nb_NO: Likewise.
21373 * localedata/locales/om_KE: Likewise.
21374 * localedata/locales/os_RU: Likewise.
21375 * localedata/locales/pl_PL: Likewise.
21376 * localedata/locales/ps_AF: Likewise.
21377 * localedata/locales/ro_RO: Likewise.
21378 * localedata/locales/ru_RU: Likewise.
21379 * localedata/locales/ru_UA: Likewise.
21380 * localedata/locales/sc_IT: Likewise.
21381 * localedata/locales/se_NO: Likewise.
21382 * localedata/locales/si_LK: Likewise.
21383 * localedata/locales/sq_AL: Likewise.
21384 * localedata/locales/sv_FI: Likewise.
21385 * localedata/locales/sv_FI@euro: Likewise.
21386 * localedata/locales/sv_SE: Likewise.
21387 * localedata/locales/szl_PL: Likewise.
21388 * localedata/locales/tg_TJ: Likewise.
21389 * localedata/locales/ti_ER: Likewise.
21390 * localedata/locales/tk_TM: Likewise.
21391 * localedata/locales/tl_PH: Likewise.
21392 * localedata/locales/tr_TR: Likewise.
21393 * localedata/locales/tt_RU: Likewise.
21394 * localedata/locales/tt_RU@iqtelif: Likewise.
21395 * localedata/locales/ug_CN: Likewise.
21396 * localedata/locales/uk_UA: Likewise.
21397 * localedata/locales/uz_UZ: Likewise.
21398 * localedata/locales/uz_UZ@cyrillic: Likewise.
21399 * localedata/locales/vi_VN: Likewise.
21400 * localedata/locales/yi_US: Likewise.
21401 * localedata/locales/yo_NG: Likewise.
21402
ce6636b0
MF
214032018-02-27 Mike FABIAN <mfabian@redhat.com>
21404
21405 * gen-locales.mk: Make test files which contain @ modifiers in their
21406 name work.
21407 * localedata/gen-locale.sh: Likewise.
21408
ac3a3b4b
MF
214092018-02-27 Mike FABIAN <mfabian@redhat.com>
21410
21411 * posix/tst-fnmatch.input: Fix results for range expressions
21412 for non C locales.
21413 * posix/tst-regexloc.c: Do not use a range expression for
21414 de_DE.ISO-8859-1 locale.
21415
770cbe14
MF
214162018-02-27 Mike FABIAN <mfabian@redhat.com>
21417
21418 * posix/bug-regex5.c: Fix test case because with the new
21419 iso14651_t1_common file, the da_DK locale now has 6 collating elements
21420 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
21421 file.
21422
0fc355d9
MF
214232018-02-27 Mike FABIAN <mfabian@redhat.com>
21424
21425 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
21426 downloaded from ISO, the collation order of @-. and space has changed.
21427 Therefore, this test file needed to be adapted.
21428 * localedata/fr_CA.UTF-8.in: Likewise.
21429 * localedata/fr_FR.UTF-8.in: Likewise.
21430 * localedata/uk_UA.UTF-8.in: Likewise.
21431
43f3893f
MF
214322018-02-27 Mike FABIAN <mfabian@redhat.com>
21433
21434 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
21435 order of ȥ in the new iso14651_t1_common file.
21436 * localedata/pl_PL.UTF-8.in: Likewise.
21437
df74ef78
MF
214382018-02-27 Mike FABIAN <mfabian@redhat.com>
21439
21440 * localedata/locales/iso14651_t1_common: Add sections for various
21441 scripts to the iso14651_t1_common file.
21442
d5adfbad
MF
214432018-02-27 Mike FABIAN <mfabian@redhat.com>
21444
21445 * localedata/locales/iso14651_t1_common: Use the code point of a
21446 character in the fourth collation level instead of IGNORE for all
21447 entries which have IGNORE on all 4 levels.
21448
5f5a9610
MF
214492018-02-27 Mike FABIAN <mfabian@redhat.com>
21450
21451 * localedata/locales/iso14651_t1_common: Add some convenient collation
21452 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
21453 rules similar to those in CLDR.
21454
8a97e900
MF
214552018-02-27 Mike FABIAN <mfabian@redhat.com>
21456
21457 * localedata/locales/iso14651_t1_common: The new version of this
21458 file downloaded from ISO contained several syntax errors which
21459 are fixed by this patch.
21460
bbdd2fba
MF
214612018-02-27 Mike FABIAN <mfabian@redhat.com>
21462
21463 * localedata/locales/iso14651_t1_common: replace all <U.....>
21464 with <U000.....> because glibc understands only 4 digit or 8 digit
21465
1569e551
MF
214662018-02-27 Mike FABIAN <mfabian@redhat.com>
21467
21468 * localedata/locales/iso14651_t1_common: Necessary changes
21469 to make the file downloaded from ISO usable by glibc.
21470
9479b6d5
MF
214712018-02-27 Mike FABIAN <mfabian@redhat.com>
21472
21473 [BZ #14095]
21474 * localedata/locales/iso14651_t1_common: Update file to
21475 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
21476
03b540b3
ST
214772018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
21478
21479 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
21480 of <nptl/pthreadP.h>
21481 (thread_attr_compare): Move function to...
eb937a52 21482 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
03b540b3 21483 * sysdeps/nptl/timer_routines.h: ... new header.
7211eba6 21484 * sysdeps/mach/hurd/gai_misc.h: New file.
03b540b3 21485
20602c72
JM
214862018-02-26 Joseph Myers <joseph@codesourcery.com>
21487
f54d8f73
JM
21488 * string/strcoll_l.c: Include <libc-diag.h>.
21489 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
21490 declarations of seq1 and seq2.
21491
20602c72
JM
21492 [BZ #15105]
21493 * stdlib/atoi.c (atoi): Use libc_hidden_def.
21494 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
21495
f5f473a9
DL
214962018-02-26 Dmitry V. Levin <ldv@altlinux.org>
21497
21498 [BZ #22433]
21499 [BZ #22807]
21500 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
21501 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
21502 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
21503 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
21504 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
21505 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
21506
398c6fdd
TMQMF
215072018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21508
21509 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
21510 macros used in __ptrace_request.
21511
f5d1f629
L
215122018-02-23 H.J. Lu <hongjiu.lu@intel.com>
21513
21514 [BZ #22792]
21515 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
21516 to $(CC).
21517 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
21518 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
21519 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
21520 <tcb-offsets.h>.
21521
54412d20
JM
215222018-02-23 Joseph Myers <joseph@codesourcery.com>
21523
21524 [BZ #15105]
21525 * ctype/ctype.c (tolower): Use libc_hidden_def.
21526 (toupper): Likewise.
21527 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
21528 [!_ISOMAC] (toupper): Likewise.
21529
81be4b5e
MF
215302018-02-23 Mike FABIAN <mfabian@redhat.com>
21531
21532 * localedata/Makefile: Remove --quiet argument when
21533 installing locales
21534
9d5cfd8e
MF
215352018-02-23 Mike FABIAN <mfabian@redhat.com>
21536
21537 [BZ #17438]
21538 * localedata/locales/pt_BR (LC_TIME): use / instead of -
21539 in d_fmt.
21540 * localedata/locales/pt_PT (LC_TIME): likewise
21541
6c7269f3
MF
215422018-02-23 Mike FABIAN <mfabian@redhat.com>
21543
21544 [BZ #22646]
21545 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
21546 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
21547 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
21548
92aabad9
AZ
215492018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21550
4cdc25a4
AZ
21551 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21552
27761a10
AZ
21553 * nptl/Makefile (routines): Remove unregister-atfork.
21554 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
21555 (fork_handler_alloc): Remove function.
21556 (fork_handlers, fork_handler_init): New variables.
21557 (__fork_lock): Rename to atfork_lock.
21558 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
21559 to use a dynamic array to add/remove atfork handlers.
21560 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
21561 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
21562 Remove declaration.
21563 (fork_handler): Remove next, refcntr, and need_signal member.
21564 (__run_fork_handler_type): New enum.
21565 (__run_fork_handlers): New prototype.
21566 * nptl/register-atfork.c: Remove file.
21567 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
21568
92aabad9
AZ
21569 * sysdeps/nptl/nptl-signals.h: Move to ...
21570 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
21571 comments.
21572 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
21573 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
21574 unnecessary check for SIGTIMER.
21575 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
21576 remove unnecessary removal of SIGTIMER.
21577 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
21578 include-signals.h rename.
21579 * nptl/pthreadP.h: Likewise.
21580 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
21581 __is_internal_signal instead of __nptl_is_internal_signal.
21582
6b5c8607 215832018-02-22 Andrew Waterman <andrew@sifive.com>
fdcc6253 21584
7e04eb29 21585 [BZ # 22884]
fdcc6253
AW
21586 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
21587 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
21588 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
21589 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
21590
8090720a
DD
215912018-02-22 DJ Delorie <dj@delorie.com>
21592
21593 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
21594
6ca24c43
SP
215952018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
21596
21597 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
21598 do_misaligned, not misaligned8.
21599
e9537ddd
SE
216002018-02-22 Steve Ellcey <sellcey@cavium.com>
21601
21602 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
21603 Add memcpy_thunderx2.
21604 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
21605 Increment to 4.
21606 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
21607 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
21608 and IS_THUNDERX2PA checks.
21609 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
21610 Use macro to set name appropriately.
21611 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
21612 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
21613 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
21614 New macro.
21615 (IS_THUNDERX2): New macro.
21616
6e336476
SL
216172018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
21618
21619 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21620
34957904
ZW
216212018-02-21 Zack Weinberg <zackw@panix.com>
21622
30bfee26
ZW
21623 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
21624 Define here, unconditionally.
21625 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
21626 * libio/libioP.h: Remove #if 0 blocks.
21627 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
21628 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
21629 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
21630
21631 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
21632 Assume weak_alias is always defined.
21633
21634 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
21635 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
21636 Remove #if 0 and #ifdef TODO blocks.
21637 Assume text_set_element is always defined.
21638
21639 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
21640 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
21641 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
21642
df6c012b
ZW
21643 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
21644 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
21645 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
21646 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
21647 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
21648 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
21649 Reformat bit flags for _flags field to make occupancy clearer.
21650 Update commentary.
21651 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
21652 Keep definitions consistent with those in libio/libio.h.
21653
21654 * libio/libio.h (_IO_file_flags): Remove macro.
21655 All uses changed to _flags.
21656
177aad3f
ZW
21657 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
21658 (__HAVE_COLUMN, _IO_BE): Don't define.
21659 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
21660 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
21661 * libio/libioP.h (EOF): Don't define.
21662 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
21663 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
21664 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
21665 testing _IO_UNIFIED_JUMPTABLES.
21666
9964a145
ZW
21667 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
21668 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
21669 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
21670 (_IO_size_t): Delete; all uses changed to size_t.
21671 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
21672 (_IO_off_t): Delete; all uses changed to off_t.
21673 (_IO_off64_t): Delete; all uses changed to off64_t.
21674 (_IO_pid_t): Delete; all uses changed to pid_t.
21675 (_IO_uid_t): Delete; all uses changed to uid_t.
21676 (_IO_wint_t): Delete; all uses changed to wint_t.
21677 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
21678 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
21679 (_IO_cookie_io_functions_t): Delete; all uses changed to
21680 cookie_io_functions_t.
21681 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
21682 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
21683 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
21684 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
21685
21686 * libio/iofopncook.c: Remove unnecessary forward declarations.
21687 * libio/iolibio.h: Correct outdated commentary.
21688 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
21689 * stdio-common/fxprintf.c (__fxprintf_nocancel):
21690 Remove unnecessary casts.
21691 * stdio-common/getline.c: Use _IO_getdelim directly.
21692 Don't redefine ssize_t.
21693 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
21694 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
21695 Remove outdated comments.
21696 * stdio-common/vfscanf.c: Don't redefine va_list.
21697
34957904
ZW
21698 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
21699 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
21700 Remove preprocessor conditionals on _LIBC and __USE_GNU,
21701 which are always true, and __cplusplus, which is always false.
21702
30ac923d
JM
217032018-02-21 Joseph Myers <joseph@codesourcery.com>
21704
039c721a
JM
21705 [BZ #15105]
21706 [BZ #19463]
21707 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
21708 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
21709 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
21710 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
21711 libc_hidden_proto.
21712 [!_ISOMAC] (putc_unlocked): Likewise.
21713 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
21714 define inline if [__USE_EXTERN_INLINES].
21715 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
21716 putc_unlocked.
21717
30ac923d
JM
21718 [BZ #15105]
21719 [BZ #19463]
21720 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
21721 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
21722 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
21723 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
21724 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
21725 getc_unlocked.
21726 * time/tzfile.c (__tzfile_read): Likewise.
21727
7ec5f946
MF
217282018-02-21 Mike FABIAN <mfabian@redhat.com>
21729
21730 [BZ #22517]
21731 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
21732
0d217f40
RJ
217332018-02-21 Rical Jasan <ricaljasan@pacific.net>
21734
21735 * io/fcntl.h: Fix a typo in a comment.
21736
862b4502
RJ
217372018-02-21 Rical Jasan <ricaljasan@pacific.net>
21738
21739 [BZ #22862]
21740 * include/features.h: Add _ISOC11_SOURCE to test for whether to
21741 define _DEFAULT_SOURCE.
21742 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
21743
999a6dab
FW
217442018-02-21 Florian Weimer <fweimer@redhat.com>
21745
21746 [BZ #20890]
21747 * elf/cache.c (save_cache): Call fsync on temporary file before
21748 renaming it.
21749 (save_aux_cache): Call fdatasync on temporary file before renaming
21750 it.
21751
52a01100
FW
217522018-02-21 Florian Weimer <fweimer@redhat.com>
21753
21754 [BZ #22787]
21755 * include/caller.h: Remove file.
21756 * elf/dl-caller.c: Likewise.
21757 * elf/Makefile (dl-routines): Remove dl-caller.
21758 (shared-only-routines): Do not add dl-caller.
21759 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
21760 __check_caller.
21761 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
21762 member.
21763 (dl_open_worker): Do not call __check_caller.
21764 (_dl_open): Do not set caller_dl_open member.
21765 * elf/rtld.c (_rtld_global_ro): Do not initialize
21766 _dl_check_caller member.
21767 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
21768 _dl_check_caller member.
21769 (_dl_check_caller): Remove declaration.
21770 * sysdeps/unix/sysv/linux/dl-execstack.c
21771 (_dl_make_stack_executable): Do not call __check_caller.
21772
b5bf62e4
ST
217732018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
21774
21775 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
315304d2 21776 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
b5bf62e4 21777
e8d190b9
RJ
217782018-02-20 Rical Jasan <ricaljasan@pacific.net>
21779
21780 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
21781 description.
21782
6a3962c4
RJ
217832018-02-20 Rical Jasan <ricaljasan@pacific.net>
21784
da81ae64 21785 [BZ #16335]
6a3962c4
RJ
21786 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
21787 of 199606L, 200112L, and 200809L.
21788 (_XOPEN_SOURCE): Document special values of 600 and 700.
21789 (_ISOC11_SOURCE): Document macro.
21790 (_ATFILE_SOURCE): Likewise.
21791 (_FORTIFY_SOURCE): Likewise.
21792
ec481ad8
JM
217932018-02-19 Joseph Myers <joseph@codesourcery.com>
21794
21795 [BZ #15105]
21796 [BZ #19463]
21797 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
21798 and define as weak alias of __ferror_unlocked. Use
21799 libc_hidden_weak.
21800 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
21801 libc_hidden_proto.
21802 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
21803 function if [__USE_EXTERN_INLINES].
21804 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
21805 ferror_unlocked.
21806
7d15ef84
RJ
218072018-02-19 Rical Jasan <ricaljasan@pacific.net>
21808
21809 [BZ #6889]
21810 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
21811
f8d79582
AJ
218122018-02-18 Aurelien Jarno <aurelien@aurel32.net>
21813
21814 [BZ #22818]
21815 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
21816 the GLIBC_2.1 version.
21817
56456a2a
AJ
218182018-02-18 Aurelien Jarno <aurelien@aurel32.net>
21819
21820 [BZ #21508]
21821 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
21822 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
21823 intl/tst-gettext-de.po from po/de.po by removing the
21824 POT-Creation-Date line.
21825 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
21826 ../po/de.po.
21827 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
21828 ../po/de.po.
21829
13768813
ST
218302018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
21831
21832 * mach/Makefile (headers): Add mach/param.h.
21833 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
21834 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
dd1efd8c
ST
21835 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
21836 (__ptsname_r): Move implementation to...
21837 (__ptsname_internal): ... new function. Add filling the STP
21838 structure.
13768813 21839
6aca1b61
JDA
218402018-02-17 John David Anglin <danglin@gcc.gnu.org>
21841
21842 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
21843 idouble to 1 ULP.
21844
16efad51
RJ
218452018-02-16 Rical Jasan <ricaljasan@pacific.net>
21846
21847 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
21848 syntax.
21849
87245073
SL
218502018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
21851
21852 * nptl/Makefile (tst-mutex8-ENV): Delete.
21853 * nptl/tst-mutex8.c (check_type):
21854 Add runtime check if mutex will be elided.
21855
7fc03cf3
JM
218562018-02-15 Joseph Myers <joseph@codesourcery.com>
21857
db9881ec
JM
21858 [BZ #20980]
21859 [BZ #21234]
21860 * manual/install.texi (Configuring and compiling): Describe
21861 passing CC and CFLAGS on configure command line, not as
21862 environment variables. Use @code markup on those variables.
21863 Specify what options go in CC and what go in CFLAGS. Note the
21864 requirement to compile with optimization.
21865 * INSTALL: Regenerated.
21866
3785b31c
JM
21867 [BZ #18124]
21868 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
21869 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
21870 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
21871 __sigprocmask instead of sigprocmask.
21872 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
21873 Likewise.
21874 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
21875 __sigsetjmp and sigprocmask.
21876
055ac2a7
JM
21877 [BZ #15105]
21878 * include/argz.h (argz_next): Use libc_hidden_proto.
21879 (__argz_next): Likewise.
21880 * string-argz-next.c (__argz_next): Use libc_hidden_def.
21881 (argz_next): Use libc_hidden_weak.
21882
e4452a2d
JM
21883 [BZ #15105]
21884 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
21885 libc_hidden_proto.
21886 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
21887 libc_hidden_def.
21888
499b3153
JM
21889 [BZ #15105]
21890 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
21891 libc_hidden_proto.
21892 * libio/iofputs.c (fputs): Use libc_hidden_weak.
21893
7fc03cf3
JM
21894 [BZ #15105]
21895 [BZ #19463]
21896 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
21897 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
21898 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
21899 (__feof_unlocked): New declaration, and inline function if
21900 [__USE_EXTERN_INLINES].
21901 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
21902 instead of feof_unlocked.
21903 * intl/localealias.c [_LIBC] (FEOF): Likewise.
21904 * nss/nsswitch.c (nss_parse_file): Likewise.
21905 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
21906 Likewise.
21907 * time/getdate.c (__getdate_r): Likewise.
21908 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
21909 Define as macro to call __feof_unlocked.
21910
0c8a67a5
WD
219112018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
21912
21913 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
21914
610ee1fc
WD
219152018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
21916
21917 * math/Makefile: Remove mpexp.c and mplog.c
21918 * sysdeps/i386/fpu/mpexp.c: Delete file.
21919 * sysdeps/i386/fpu/mplog.c: Likewise.
21920 * sysdeps/ia64/fpu/mpexp.c: Likewise.
21921 * sysdeps/ia64/fpu/mplog.c: Likewise.
21922 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
21923 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
21924 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
21925 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21926 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
21927 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
21928 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
21929 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
21930 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
21931 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21932 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
21933 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
21934 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21935 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
21936 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
21937 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21938
8e7196c8
SL
219392018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
21940
21941 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21942
4f55ad0b
AZ
219432018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21944
21945 * sysdeps/sh/libm-test-ulps: Update.
21946
261a851c
TMQMF
219472018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21948
21949 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
21950 idouble to 1 ULP.
21951
e16deca6
ZW
219522018-02-12 Zack Weinberg <zackw@panix.com>
21953
21954 [BZ #19239]
21955 * posix/sys/types.h: Don't include sys/sysmacros.h.
21956 * misc/sys/sysmacros.h: Remove the conditional deprecation
21957 warnings for the macros defined by this header.
21958
de800d83
SN
219592018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21960
21961 * manual/probes.texi: Remove slowexp probes.
21962 * math/Makefile: Remove slowexp.
21963 * sysdeps/generic/math_private.h (__slowexp): Remove.
21964 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
21965 document error bounds.
21966 * sysdeps/i386/fpu/slowexp.c: Remove.
21967 * sysdeps/ia64/fpu/slowexp.c: Remove.
21968 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
21969 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
21970 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
21971 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
21972 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
21973 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
21974 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
21975 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
21976 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
21977 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
21978 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
21979
c3d466cb
WD
219802018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
21981
21982 [BZ #13932]
21983 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
21984 * benchtests/pow-inputs: Update comment for slow path cases.
21985 * manual/probes.texi (slowpow_p10): Delete removed probe.
21986 (slowpow_p10): Likewise.
21987 * math/Makefile: Remove halfulp.c and slowpow.c.
21988 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
21989 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
21990 (__halfulp): Remove.
21991 (__slowpow): Remove.
21992 * sysdeps/i386/fpu/halfulp.c: Delete file.
21993 * sysdeps/i386/fpu/slowpow.c: Likewise.
21994 * sysdeps/ia64/fpu/halfulp.c: Likewise.
21995 * sysdeps/ia64/fpu/slowpow.c: Likewise.
21996 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
21997 improve comments and add error analysis.
21998 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
21999 (power1): Remove function:
22000 (log1): Remove error argument, add error analysis.
22001 (my_log2): Remove function.
22002 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
22003 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22004 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
22005 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
22006 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
22007 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
22008 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
22009 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
22010 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
22011 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
22012 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
22013 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
22014 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
22015 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
22016
7bb087bd
ST
220172018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
22018
22019 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
22020 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
22021
2fd4bbaa
DL
220222018-02-10 Dmitry V. Levin <ldv@altlinux.org>
22023
22024 [BZ #22433]
22025 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
22026 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
22027 and PTRACE_SETHBPREGS.
22028
402ecba4
ZW
220292018-02-10 Zack Weinberg <zackw@panix.com>
22030
22031 [BZ #22830]
22032 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
22033 correctly.
22034 * malloc/tst-malloc-stats-cancellation.c: New test case.
22035 * malloc/Makefile: Add new test case.
22036
4f5b921e
WD
220372018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
22038
22039 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
22040
a85b70db
JM
220412018-02-10 Joseph Myers <joseph@codesourcery.com>
22042
d8742dd8
JM
22043 * math/Makefile (libm-narrow-fns): Add add.
22044 (libm-test-funcs-narrow): Likewise.
22045 * math/Versions (GLIBC_2.28): Add narrowing add functions.
22046 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
22047 * math/gen-auto-libm-tests.c (test_functions): Add add.
22048 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
22049 (NARROW_ADD_ROUND_TO_ODD): Likewise.
22050 (NARROW_ADD_TRIVIAL): Likewise.
22051 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
22052 macro.
22053 (__daddl): Likewise.
22054 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
22055 dadd.
22056 (CFLAGS-nldbl-dadd.c): New variable.
22057 (CFLAGS-nldbl-fadd.c): Likewise.
22058 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
22059 __nldbl_daddl.
22060 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
22061 prototype.
22062 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
22063 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
22064 * math/auto-libm-test-in: Add tests of add.
22065 * math/auto-libm-test-out-narrow-add: New generated file.
22066 * math/libm-test-narrow-add.inc: New file.
22067 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
22068 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
22069 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
22070 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
22071 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
22072 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
22073 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
22074 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
22075 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
22076 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
22077 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
22078 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
22079 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
22080 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
22081 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
22082 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
22083 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
22084 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
22085 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22086 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
22087 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22088 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22089 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22090 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22091 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22092 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22093 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22094 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22095 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22096 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
22097 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22098 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
22099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
22100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
22101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
22102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
22103 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
22104 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22105 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22106 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22107 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22108 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22109 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
22110 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
22111 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22112 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22113
a85b70db
JM
22114 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
22115 (f128-pairs): New variable.
22116 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
22117 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
22118 to CFLAGS.
22119 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
22120 Also make tests add $(f128-loader-link) to gnulib-tests.
22121
6a1ff640
DD
221222018-02-09 DJ Delorie <dj@redhat.com>
22123
22124 [BZ #22827]
22125 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
22126 64-bit ELF type for 64-bit ELF objects.
22127
bfd47587
JM
221282018-02-09 Joseph Myers <joseph@codesourcery.com>
22129
31958338
JM
22130 * math/libm-test-driver.c (snan_tests_arg): New variable.
22131 * math/libm-test-support.h (snan_tests_arg): New declaration.
22132 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
22133
8e554659
JM
22134 * math/Makefile (test-type-pairs): New variable.
22135 (test-type-pairs-f64xf128-yes): Likewise.
22136 (tests): Add test-narrow-macros.
22137 (libm-test-funcs-narrow): New variable.
22138 (libm-test-c-narrow): Likewise.
22139 (generated): Add $(libm-test-c-narrow).
22140 (libm-tests-base-narrow): New variable.
22141 (libm-tests-narrow): Likewise.
22142 (libm-tests): Add $(libm-tests-narrow).
22143 (libm-tests-for-type): Handle $(libm-tests-narrow).
22144 (libm-test-c-narrow-obj): New variable.
22145 ($(libm-test-c-narrow-obj)): New rule.
22146 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
22147 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
22148 $(o-iterator) to set dependencies and CFLAGS.
22149 * math/gen-auto-libm-tests.c: Document use for narrowing
22150 functions.
22151 (output_for_one_input_case): Take argument NARROW.
22152 (generate_output): Likewise. Update call to
22153 output_for_one_input_case.
22154 (main): Take --narrow option. Update call to generate_output.
22155 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
22156 (apply_lit): Update call to _apply_lit.
22157 (apply_arglit): New function.
22158 (parse_args): Handle "a" arguments.
22159 (parse_auto_input): Handle format names using ":".
22160 * math/README.libm-test: Document "a" parameter type.
22161 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
22162 (ARG_TYPE_TRUE_MIN): Likewise.
22163 (ARG_TYPE_MAX): Likwise.
22164 (ARG_MIN_EXP): Likewise.
22165 (ARG_MAX_EXP): Likewise.
22166 (ARG_MANT_DIG): Likewise.
22167 (TEST_COND_arg_ibm128): Likewise.
22168 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
22169 (TEST_COND_arg_fmt): New macro.
22170 (init_max_error): Update prototype.
22171 * math/libm-test-support.c (test_ibm128): New variable.
22172 (init_max_error): Take argument testing_ibm128 and set test_ibm128
22173 instead of using [TEST_COND_ibm128] conditional.
22174 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
22175 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
22176 [TEST_NARROW] (TEST_MSG): New definition.
22177 (arg_plus_zero): New macro.
22178 (arg_minus_zero): Likewise.
22179 (arg_plus_infty): Likewise.
22180 (arg_minus_infty): Likewise.
22181 (arg_qnan_value_pl): Likewise.
22182 (arg_qnan_value): Likewise.
22183 (arg_snan_value_pl): Likewise.
22184 (arg_snan_value): Likewise.
22185 (arg_max_value): Likewise.
22186 (arg_min_value): Likewise.
22187 (arg_min_subnorm_value): Likewise.
22188 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
22189 (RUN_TEST_LOOP_aa_f): New macro.
22190 (TEST_SUFF): New macro.
22191 (TEST_SUFF_STR): Likewise.
22192 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
22193 (TEST_COND_any_ibm128): New macro.
22194 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
22195 this_func. Update call to init_max_error.
22196 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
22197 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
22198 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
22199 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
22200 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
22201 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
22202 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
22203 * math/test-math-scalar.h (TEST_NARROW): Likewise.
22204 * math/test-math-vector.h (TEST_NARROW): Likewise.
22205 * math/test-arg-double.h: New file.
22206 * math/test-arg-float128.h: Likewise.
22207 * math/test-arg-float32x.h: Likewise.
22208 * math/test-arg-float64.h: Likewise.
22209 * math/test-arg-float64x.h: Likewise.
22210 * math/test-arg-ldouble.h: Likewise.
22211 * math/test-math-narrow.h: Likewise.
22212 * math/test-narrow-macros.c: Likewise.
22213 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
22214 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
22215 test-narrow-macros-ldbl-64.
22216 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
22217
63716ab2
JM
22218 * math/bits/mathcalls-narrow.h: New file.
22219 * include/bits/mathcalls-narrow.h: Likewise.
22220 * math/math-narrow.h: Likewise.
22221 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
22222 (__MATHCALL_NARROW_ARGS_2): Likewise.
22223 (__MATHCALL_NARROW_ARGS_3): Likewise.
22224 (__MATHCALL_NARROW_NORMAL): Likewise.
22225 (__MATHCALL_NARROW_REDIR): Likewise.
22226 (__MATHCALL_NARROW): Likewise.
22227 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
22228 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
22229 defined.
22230 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22231 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
22232 (libm-narrow-fns): New variable.
22233 (libm-narrow-types-basic): Likewise.
22234 (libm-narrow-types-ldouble-yes): Likewise.
22235 (libm-narrow-types-float128-yes): Likewise.
22236 (libm-narrow-types-float128-alias-yes): Likewise.
22237 (libm-narrow-types): Likewise.
22238 (libm-routines): Add narrowing functions.
22239 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
22240 (libc_feholdexcept_setroundf128): New macro.
22241 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
22242 * sysdeps/ieee754/float128/float128_private.h: Include
22243 <math/math-narrow.h>.
22244 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
22245 Undefine and redefine.
22246 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
22247 (libm_alias_float_ldouble): Undefine and redefine.
22248 (libm_alias_double_ldouble): Likewise.
22249
bfd47587
JM
22250 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
22251
3f8d9d58
WD
222522018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
22253
22254 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
22255 FPCR/FPSR.
22256
1f6676d7
RJ
222572018-02-09 Rical Jasan <ricaljasan@pacific.net>
22258
22259 * manual/creature.texi: Convert references to gcc.info to gcc.
22260 * manual/stdio.texi: Likewise.
22261 * manual/string.texi: Likewise.
22262
d80441dd
JM
222632018-02-07 Joseph Myers <joseph@codesourcery.com>
22264
15081be9
JM
22265 [BZ #17979]
22266 * posix/bits/types.h (__int_least8_t): New typedef.
22267 (__uint_least8_t): Likewise.
22268 (__int_least16_t): Likewise.
22269 (__uint_least16_t): Likewise.
22270 (__int_least32_t): Likewise.
22271 (__uint_least32_t): Likewise.
22272 (__int_least64_t): Likewise.
22273 (__uint_least64_t): Likewise.
22274 * sysdeps/generic/stdint.h (int_least8_t): Define using
22275 __int_least8_t.
22276 (int_least16_t): Define using __int_least16_t.
22277 (int_least32_t): Define using __int_least32_t.
22278 (int_least64_t): Define using __int_least64_t.
22279 (uint_least8_t): Define using __uint_least8_t.
22280 (uint_least16_t): Define using __uint_least16_t.
22281 (uint_least32_t): Define using __uint_least32_t.
22282 (uint_least64_t): Define using __uint_least64_t.
22283 * wcsmbs/uchar.h: Include <bits/types.h>.
22284 (char16_t): Define using __uint_least16_t conditional only on
22285 [!__USE_ISOCXX11].
22286 (char32_t): Define using __uint_least32_t conditional only on
22287 [!__USE_ISOCXX11].
22288 * wcsmbs/test-char-types.c: New file.
22289 * wcsmbs/Makefile (tests): Add test-char-types.
22290
d80441dd
JM
22291 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
22292 version to 4.0.1.
22293
6c6c962a
ZW
222942018-02-07 Zack Weinberg <zackw@panix.com>
22295
63fb8f9a
ZW
22296 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
22297 Delete all contents except for definitions of _G_HAVE_MMAP and
22298 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
22299 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
22300 sysdeps/unix/sysv/linux/_G_config.h. Make same content
22301 change as above.
22302
22303 * libio/libio.h: Don't include bits/_G_config.h here.
22304 Include stddef.h with __need_wchar_t defined. Include
22305 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
22306 Define _IO_iconv_t here, directly.
22307 Don't define _IO_HAVE_ST_BLKSIZE.
22308 * libio/libioP.h: Include _G_config.h here. Move include of
22309 shlib-compat.h up with rest of includes. Simplify conditionals
22310 controlling definition of _IO_JUMPS_OFFSET.
22311
22312 * csu/init.c: Remove always-true #if around entire file.
22313 Don't include stdio.h. Set _IO_stdin_used to hardwired
22314 constant 0x20001, and update commentary.
22315 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
22316 Replace all uses of _G_va_list with __gnuc_va_list.
22317 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
22318 instead of #if _IO_HAVE_ST_BLKSIZE.
22319 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
22320 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
22321 not #ifdef.
22322
6c6c962a
ZW
22323 * libio/bits/libio.h: Move back to libio/libio.h and adjust
22324 multiple-include guard to match.
22325 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
22326 into this file.
22327 Remove preprocessor conditionals that are always true and/or
22328 redundant to other preprocessor conditionals in the same nest.
22329 Include shlib-compat.h unconditionally.
22330 Error out if _LIBC is not defined, or if _ISOMAC is defined,
22331 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
22332 defined after including stdio.h.
22333 Use __BEGIN_DECLS/__END_DECLS.
22334
22335 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
22336 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
22337 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
22338
a4fea3f2
ZW
223392018-02-07 Zack Weinberg <zackw@panix.com>
22340
22341 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
22342 New single-type headers split from _G_config.h.
22343 * libio/bits/types/cookie_io_functions_t.h
22344 * libio/bits/types/struct_FILE.h
22345 New single-type headers split from libio.h.
22346
22347 * libio/Makefile: Install the above new headers. Don't install
22348 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
22349 bits/libio-ldbl.h.
22350 * libio/_G_config.h, libio/libio.h: Delete file.
22351
22352 * libio/bits/libio.h: Remove improper-inclusion guard.
22353 Include stdio.h and don't repeat anything that it does.
22354 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
22355 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
22356 __io_read_fn as cookie_read_function_t,
22357 __io_write_fn as cookie_write_function_t,
22358 __io_seek_fn as cookie_seek_function_t,
22359 __io_close_fn as cookie_close_function_t,
22360 and _IO_cookie_io_functions_t as cookie_io_functions_t.
22361 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
22362 here, in the "compatibility defines" section. Remove an #if 0
6c6c962a 22363 block. Use the "body" macros from bits/types/struct_FILE.h to
a4fea3f2
ZW
22364 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
22365 and _IO_ferror_unlocked.
22366 Move prototypes of __uflow and __overflow...
22367
22368 * libio/stdio.h: ...here. Don't include bits/libio.h.
22369 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
6c6c962a 22370 directly from stdarg.h. Include bits/types/__fpos_t.h,
a4fea3f2
ZW
22371 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
22372 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
22373 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
22374 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
22375 cookie_io_functions_t, not _IO_cookie_io_functions_t;
22376 __ssize_t, not _IO_ssize_t. Unconditionally define
22377 BUFSIZ as 8192 and EOF as (-1).
22378
22379 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
22380 macros from bits/types/struct_FILE.h instead of _IO_* macros
22381 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
22382 instead of _IO_ssize_t.
22383 * libio/bits/stdio2.h: Similarly.
22384
22385 * libio/iolibio.h: Add multiple-include guard.
22386 Include bits/libio.h after stdio.h.
22387 * libio/libioP.h: Add multiple-include guard.
22388 Include stdio.h and bits/libio.h before iolibio.h.
22389
6c6c962a 22390 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
a4fea3f2
ZW
22391 * include/bits/types/cookie_io_functions_t.h
22392 * include/bits/types/struct_FILE.h: New wrappers.
22393
22394 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
6c6c962a
ZW
22395 Get definitions of _G_fpos_t and _G_fpos64_t from
22396 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
22397 respectively. Remove improper-inclusion guards.
a4fea3f2 22398
6c6c962a 22399 * conform/data/stdio.h-data: Update expectations of va_list.
a4fea3f2 22400 * scripts/check-installed-headers.sh: Remove special case for
6c6c962a 22401 libio.h and _G_config.h.
a4fea3f2 22402
ce999220
JM
224032018-02-07 Joseph Myers <joseph@codesourcery.com>
22404
8b4a1182
JM
22405 [BZ #15105]
22406 [BZ #19463]
22407 * include/sys/sysmacros.h [!_ISOMAC]
22408 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
22409 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
22410 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
22411 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
22412 libc_hidden_proto.
22413 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
22414 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
22415 Likewise.
22416 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
22417 Undefine and redefine to add use __gnu_dev_ prefix.
22418 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
22419 Likewise.
22420 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
22421 and define as hidden inline function.
22422 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
22423 Likewise.
22424 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
22425 Likewise.
22426 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
22427 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
22428 (gnu_dev_minor): Likewise.
22429 (gnu_dev_makedev): Likewise.
22430 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
22431 makedev.
22432 * posix/wordexp.c (exec_comm_child): Likewise.
22433 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
22434 instead of minor and __gnu_dev_major instead of major.
22435 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
22436 __gnu_dev_major instead of major.
22437 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
22438 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
22439 instead of gnu_dev_minor.
22440 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
22441 (SLAVE_P): Likewise.
22442 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
22443 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
22444 instead of major.
22445
ce999220
JM
22446 [BZ #21313]
22447 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
22448 in another place.
22449 * locale/weightwc.h (findidx): Likewise.
22450
b7c83ca3
WD
224512018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
22452
22453 * manual/probes.texi (slowlog): Delete documentation of removed probe.
22454 (slowlog_inexact): Likewise
22455 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
22456 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
22457
388ff7bd
IG
224582018-02-07 Igor Gnatenko <ignatenko@redhat.com>
22459
22460 [BZ #22797]
22461 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
22462 missing second underscore to parameter name.
22463
663e7d78
JM
224642018-02-06 Joseph Myers <joseph@codesourcery.com>
22465
0d40d0ec
JM
22466 [BZ #14508]
22467 [BZ #15512]
22468 [BZ #17082]
22469 [BZ #20530]
22470 * bits/byteswap.h: Update file comment. Do not include
22471 <bits/byteswap-16.h>.
22472 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
22473 constant.
22474 (__bswap_16): Define as inline function.
22475 (__bswap_constant_32): Reformat definition.
22476 (__bswap_32): Always define as inline function, not macro, using
22477 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
22478 otherwise __bswap_constant_32.
22479 (__bswap_constant_64): Reformat definition. Do not use
22480 __extension__ here.
22481 (__bswap_64): Always define as inline function, not macro. Use
22482 __extension__ on function definition. Use __builtin_bswap64 if
22483 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
22484 * string/test-endian-file-scope.c: New file.
22485 * string/test-endian-sign-conversion.c: Likewise.
22486 * string/Makefile (headers): Remove bits/byteswap-16.h.
22487 (tests): Add test-endian-file-scope and
22488 test-endian-sign-conversion.
22489 (CFLAGS-test-endian-sign-conversion.c): New variable.
22490 * bits/byteswap-16.h: Remove file.
22491 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
22492 * sysdeps/ia64/bits/byteswap.h: Likewise.
22493 * sysdeps/m68k/bits/byteswap.h: Likewise.
22494 * sysdeps/s390/bits/byteswap-16.h: Likewise.
22495 * sysdeps/s390/bits/byteswap.h: Likewise.
22496 * sysdeps/tile/bits/byteswap.h: Likewise.
22497 * sysdeps/x86/bits/byteswap-16.h: Likewise.
22498 * sysdeps/x86/bits/byteswap.h: Likewise.
22499
383e87c9
JM
22500 [BZ #17721]
22501 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
22502 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
22503 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
22504 199901L] (__restrict): Define to restrict.
22505
d92c2759
JM
22506 [BZ #19667]
22507 * string/testcopy.c: Include <support/support.h>. Do not include
22508 <malloc.h>. Use <support/test-driver.c>.
22509 (main): Rename to do_test. Make static. Use xmalloc instead of
22510 malloc.
22511
625fb764
JM
22512 [BZ #13575]
22513 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
22514 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
22515 (SSIZE_MAX): Define to INT_MAX.
22516 * posix/test-ssize-max.c: New file.
22517 * posix/Makefile (tests): Add test-ssize-max.
22518
02325d6c
JM
22519 [BZ #19668]
22520 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
22521 <support/support.h>. Do not include <malloc.h>.
22522 (query_auxv): Use xmalloc instead of malloc.
22523
663e7d78
JM
22524 [BZ #14553]
22525 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
22526 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
22527 instead of loff_t.
22528
6b5c8607 225292018-02-06 Florian Weimer <fweimer@redhat.com>
6d7aa2b5
FW
22530
22531 [BZ #18023]
22532 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22533 Use scratch_buffer instead of extend_alloca.
22534
de6da571
ZW
225352018-02-06 Zack Weinberg <zackw@panix.com>
22536
26c07172
ZW
22537 * libio/stdio.h: Don't define getc or putc as macros.
22538 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
22539 not _IO_getc and _IO_putc.
22540
de6da571
ZW
22541 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
22542 * stdio-common/tstgetln.c: Don't redefine ssize_t.
22543
92669d6e
JM
225442018-02-06 Joseph Myers <joseph@codesourcery.com>
22545
c2b84df9
JM
22546 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
22547 (TCP_FASTOPEN_NO_COOKIE): Likewise.
22548
41376f8c
JM
22549 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
22550
d28bf648
JM
22551 [BZ #14890]
22552 * elf/elf.h (NT_PRFPREG): New macro.
22553 (NT_S390_VXRS_LOW): Likewise.
22554 (NT_S390_VXRS_HIGH): Likewise.
22555 (NT_S390_GS_CB): Likewise.
22556 (NT_S390_GS_BC): Likewise.
22557 (NT_S390_RI_CB): Likewise.
22558
e76def72
JM
22559 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
22560 (MAP_SYNC): New macro.
22561 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
22562 Likewise.
22563 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
22564 (MAP_SYNC): Likewise.
22565 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
22566 (MAP_SYNC): Likewise.
22567 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
22568 (MAP_SYNC): Likewise.
22569 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
22570 (MAP_SYNC): Likewise.
22571 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
22572 (MAP_SYNC): Likewise.
22573 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
22574 (MAP_SYNC): Likewise.
22575 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
22576 Likewise.
22577 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
22578 Likewise.
22579
92669d6e
JM
22580 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
22581 (MAP_SHARED_VALIDATE): New macro.
22582 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
22583 (MAP_SHARED_VALIDATE): Likewise.
22584
6a5cac49
L
225852018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22586
22587 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
22588 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
22589 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
22590
b44e0dfb
L
225912018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22592
22593 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
22594 (DT_NUM): Updated to 35.
22595
f886c16c
L
225962018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22597
22598 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
22599 __builtin_expect with __glibc_likely and __glibc_unlikely.
22600 (elf_machine_rela): Likewise.
22601 (elf_machine_lazy_rel): Likewise.
22602
06fbebff
L
226032018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22604
22605 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
8f4bf93f 22606 __builtin_expect with __glibc_likely and __glibc_unlikely.
06fbebff
L
22607 (elf_machine_lazy_rel): Likewise.
22608
371b220f
L
226092018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22610
22611 [BZ #22638]
22612 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
22613 SHARED.
65805016 22614 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
371b220f 22615
f649a1b8
AS
226162018-02-05 Andreas Schwab <schwab@suse.de>
22617
22618 [BZ #22761]
22619 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
22620 string.
22621
9fdb340e
ST
226222018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22623
22624 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
22625 not check against PTHREAD_STACK_MIN.
22626
09e56b9e
SM
226272018-02-02 Sean McKean <smckean83@gmail.com>
22628
22629 [BZ #22735]
22630 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
22631
d4b4a00a
FW
226322018-02-02 Florian Weimer <fweimer@redhat.com>
22633
22634 [BZ #22753]
22635 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
22636 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
22637 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
22638 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
22639 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
22640 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
22641 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
22642 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
22643 * manual/llio.texi (Scatter-Gather): Mention offset -1.
22644 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
22645 * misc/tst-preadvwritev2.c (do_test): Call it.
22646 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
22647
3dfcbfa1
SP
226482018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
22649
84c94d2f
SP
22650 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
22651
96e6a716
SP
22652 * benchtests/bench-memcmp.c: Print json instead of plain text.
22653
3dfcbfa1
SP
22654 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
22655 every test run.
22656
049375e2
JM
226572018-02-01 Joseph Myers <joseph@codesourcery.com>
22658
39f898c6
JM
22659 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
22660 version to 4.15.
22661 (s390_sthyi): New syscall.
22662
6f9a3dd8
JM
22663 * sysdeps/generic/ldbl-classify-compat.h: New file.
22664 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
22665 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
22666 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
22667 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
22668 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
22669 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
22670 * sysdeps/ieee754/dbl-64/s_finite.c: Include
22671 <ldbl-classify-compat.h>.
22672 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22673 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
22674 <ldbl-classify-compat.h>.
22675 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22676 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
22677 <ldbl-classify-compat.h>.
22678 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22679 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
22680 <ldbl-classify-compat.h>.
22681 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22682 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
22683 <ldbl-classify-compat.h>.
22684 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22685 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
22686 <ldbl-classify-compat.h>.
22687 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22688 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
22689 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
22690 * sysdeps/m68k/coldfire/math_private.h: Remove file.
22691 * sysdeps/microblaze/math_private.h: Likewise.
22692 * sysdeps/nios2/math_private.h: Likewise.
22693 * sysdeps/sh/math_private.h: Likewise.
22694
eb65a3d5
JM
22695 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
22696 * sysdeps/m68k/coldfire/math_private.h: ... here.
22697 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
22698 * sysdeps/tile/math_private.h: Likewise.
22699 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
22700 Remove macro.
22701 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
22702 Likewise.
22703
8a6bb1d0
JM
22704 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
22705 Remove macro.
22706 (libc_fetestexcept): Likewise.
22707 (libc_feupdateenv_test): Likewise.
22708 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
22709 (libc_fetestexcept): Likewise.
22710 (libc_feupdateenv_test): Likewise.
22711 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
22712 (libc_fetestexcept): Likewise.
22713 (libc_feupdateenv_test): Likewise.
22714 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
22715 (libc_fetestexcept): Likewise.
22716 (libc_feupdateenv_test): Likewise.
22717
ae1fcb7b
JM
22718 * sysdeps/generic/math_private.h
22719 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
22720 New inline function.
22721 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
22722 Likewise.
22723
b1c347e2
JM
22724 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
22725 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
22726 * sysdeps/generic/math_private.h
22727 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
22728 inline function.
22729 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
22730 Likewise.
22731 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
22732 Likewise.
22733 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
22734 Likewise.
22735 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
22736 Likewise.
22737 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
22738 Likewise.
22739 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
22740 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
22741 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
22742 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
22743 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
22744 (__fegetenv): Likewise.
22745 (fesetenv): Likewise.
22746 (__fesetenv): Likewise.
22747 (feupdateenv): Likewise.
22748 (__feupdateenv): Likewise.
22749 (fegetround): Likewise.
22750 (__fegetround): Likewise.
22751 (fesetround): Likewise.
22752 (__fesetround): Likewise.
22753
d23a4962
JM
22754 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
22755 (feraiseexcept): New macro.
22756 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
22757 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
22758 Remove macro.
22759 (__feraiseexcept): Likewise.
22760 (feclearexcept): Likewise.
22761 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
22762 (__feraiseexcept): Likewise.
22763 (feclearexcept): Likewise.
22764 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
22765 (__feraiseexcept): Likewise.
22766 (feclearexcept): Likewise.
22767 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
22768 (__feraiseexcept): Likewise.
22769 (feclearexcept): Likewise.
22770 (fetestexcept): Likewise.
22771
5f167950
JM
22772 * sysdeps/m68k/coldfire/math-tests.h: New file.
22773
ccc9035a
JM
22774 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
22775 * sysdeps/m68k/bits/fenv.h: ... here.
22776 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
22777 not define.
22778 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
22779 Likewise.
22780 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
22781 Likewise.
22782 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
22783 Likewise.
22784 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
22785 Likewise.
22786 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
22787 Define to 0.
22788 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
22789 (__FE_UNDEFINED): New enum constant.
22790 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
22791 Do not define.
22792 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
22793 Likewise.
22794 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
22795 Likewise.
22796 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
22797 to match generic bits/fenv.h.
22798 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
22799 Do not define.
22800
049375e2
JM
22801 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
22802 packed on bits.
22803 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
22804 * soft-fp/half.h (union _FP_UNION_H): Likewise.
22805 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
22806 * soft-fp/single.h (union _FP_UNION_S): Likewise.
22807
f1d73681
CD
228082018-02-01 Carlos O'Donell <carlos@redhat.com>
22809 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
22810 Joseph Myers <joseph@codesourcery.com>
22811
22812 [BZ #21314]
22813 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
22814 (__log1p): Disable -Wmaybe-uninitialized for -Os around
22815 computation using c.
22816 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
22817 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
22818 computation using c.
22819
242cbc90
DL
228202018-02-01 Dmitry V. Levin <ldv@altlinux.org>
22821
086ee48e
DL
22822 * version.h (RELEASE): Set to "development".
22823 (VERSION): Set to "2.27.9000".
22824 * NEWS (2.28): New section.
22825
23158b08
DL
22826 * version.h (RELEASE): Set to "stable".
22827 (VERSION): Set to "2.27".
22828 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
22829
242cbc90
DL
22830 * NEWS: Add the list of bugs fixed in 2.27.
22831
673e2305
AZ
228322018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22833
22834 * stdlib/test-atexit-race-common.c (do_test): Check stack size
22835 against PTHREAD_STACK_MIN.
22836
ced64e01
DL
228372018-02-01 Dmitry V. Levin <ldv@altlinux.org>
22838
22839 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
22840 New entries.
ab74d59f 22841 (Rafał Lużyński, Andreas Schwab): Update.
ced64e01 22842
ab74d59f 228432018-02-01 Rafał Lużyński <digitalfreak@lingonborough.com>
c10c9a5e
RL
22844
22845 [BZ #10871]
22846 * NEWS: List the languages which actually use the alternative
22847 months feature in this release. Also explain that "alt_mon" and
22848 "ab_alt_mon" are optional.
22849
650ba77a
IM
228502018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
22851
22852 [BZ #22765]
22853 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
22854
93493119
DL
228552018-01-31 Dmitry V. Levin <ldv@altlinux.org>
22856
22857 * manual/install.texi (Tools for Compilation): Update the newest
22858 versions of gcc, binutils, texinfo, gawk, bison, and sed.
22859 * INSTALL: Regenerated.
22860
363e4519 228612018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
407552cf
ST
22862
22863 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
22864 instead of __builtin_expect.
22865
d7536874
FW
228662018-01-30 Florian Weimer <fweimer@redhat.com>
22867
22868 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
22869 data.
22870 * nss/tst-nss-getpwent.c (do_test): Likewise.
22871
ab74d59f 228722018-01-30 Rafał Lużyński <digitalfreak@lingonborough.com>
9a1b267d
RL
22873
22874 [BZ #10871]
22875 * localedata/locales/hr_HR (mon): Rename to...
22876 (alt_mon): This.
22877 (mon): Import from CLDR (genitive case).
22878 (d_t_fmt): Update the comment.
22879
9a179328
AS
228802018-01-29 Andreas Schwab <schwab@linux-m68k.org>
22881
22882 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
22883 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
22884 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
22885
e01e0ddc
ST
228862018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
22887
22888 * mach/Versions: Fix version when __mach_host_self_ was added.
22889 * hurd/Versions: Fix version when _hurd_exec_paths was added.
22890 * sysdeps/mach/hurd/i386/ld.abilist: New file.
22891 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
22892 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
22893 * sysdeps/mach/hurd/i386/libc.abilist: New file.
22894 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
22895 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
22896 * sysdeps/mach/hurd/i386/libm.abilist: New file.
22897 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
22898 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
22899 * sysdeps/mach/hurd/i386/librt.abilist: New file.
22900 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
ba729de6
ST
22901 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
22902 || to respect codestyle.
2aadb705
ST
22903 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
22904 (do_test_bz20181): Rename accordingly.
406e7a0a
ST
22905 * malloc/malloc.c: Include <assert.h>.
22906 (assert): Do not define.
22907 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
99dfbef4
ST
22908 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
22909 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
ac56adbb 22910 * sysdeps/mach/hurd/hp-timing.h: New file.
ef4cf463 22911 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
e01e0ddc 22912
521877e1
PD
229132018-01-29 Darius Rad <darius@bluespec.com>
22914
22915 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
22916
532cf290
PD
229172018-01-29 Palmer Dabbelt <palmer@sifive.com>
22918
22919 * sysdeps/init_array/crti.S (.section .init_array): Add
22920 PREINIT_FUNCTION when defined.
40ca951b 22921 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
4215e276 22922 * config.h.in: Regenerate.
ba9e25a6
PD
22923 * manual/platform.texi: Add RISC-V documenation for
22924 __riscv_flush_icache.
c776fa11
PD
22925 * sysdeps/riscv/__longjmp.S: New file.
22926 * sysdeps/riscv/backtrace.c: Likewise.
22927 * sysdeps/riscv/bits/endian.h: Likewise.
22928 * sysdeps/riscv/bits/setjmp.h: Likewise.
22929 * sysdeps/riscv/bits/wordsize.h: Likewise.
22930 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
22931 * sysdeps/riscv/bsd-setjmp.c: Likewise.
22932 * sysdeps/riscv/dl-trampoline.S: Likewise.
22933 * sysdeps/riscv/gccframe.h: Likewise.
22934 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
22935 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
22936 * sysdeps/riscv/machine-gmon.h: Likewise.
22937 * sysdeps/riscv/memusage.h: Likewise.
22938 * sysdeps/riscv/setjmp.S: Likewise.
22939 * sysdeps/riscv/sys/asm.h: Likewise.
22940 * sysdeps/riscv/tls-macros.h: Likewise.
33712660
PD
22941 * sysdeps/riscv/dl-tls.h: New file.
22942 * sysdeps/riscv/libc-tls.c: Likewise.
22943 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
22944 * sysdeps/riscv/nptl/tls.h: Likewise.
22945 * sysdeps/riscv/stackinfo.h: Likewise.
67236aeb
PD
22946 * sysdeps/riscv/bits/fenv.h: New file.
22947 * sysdeps/riscv/e_sqrtl.c: Likewise.
22948 * sysdeps/riscv/fpu_control.h: Likewise.
22949 * sysdeps/riscv/math-tests.h: Likewise.
22950 * sysdeps/riscv/nofpu/Implies: Likewise.
22951 * sysdeps/riscv/sfp-machine.h: Likewise.
22952 * sysdeps/riscv/tininess.h: Likewise.
b2cb5e02
PD
22953 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
22954 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
22955 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
22956 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
22957 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
22958 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
22959 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
22960 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
22961 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
22962 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
22963 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
22964 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
22965 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
22966 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
22967 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
22968 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
22969 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
22970 * sysdeps/riscv/rvd/s_finite.c: Likewise.
22971 * sysdeps/riscv/rvd/s_fma.c: Likewise.
22972 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
22973 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
22974 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
22975 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
22976 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
22977 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
22978 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
22979 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
22980 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
22981 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
22982 * sysdeps/riscv/rvf/fegetround.c: Likewise.
22983 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
22984 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
22985 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
22986 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
22987 * sysdeps/riscv/rvf/fesetround.c: Likewise.
22988 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
22989 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
22990 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
22991 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
22992 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
22993 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
22994 * sysdeps/riscv/rvf/math_private.h: Likewise.
22995 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
22996 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
22997 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
22998 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
22999 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
23000 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
23001 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
23002 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
23003 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
23004 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
23005 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
23006 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
23007 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
23008 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
23009 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
23010 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
d1c09b24
PD
23011 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
23012 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
23013 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
23014 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
36960f0c
PD
23015 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
23016 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
23017 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
23018 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
23019 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
23020 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
23021 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
23022 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
23023 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
7f33b09c
PD
23024 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
23025 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
23026 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
23027 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
23028 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
23029 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
23030 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
23031 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
23032 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
23033 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
23034 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
23035 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
23036 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
23037 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
23038 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
23039 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
23040 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
23041 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
23042 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
23043 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
23044 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
23045 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
ee53fed9
PD
23046 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
23047 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
23048 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
2268c433
PD
23049 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
23050 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
23051 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
23052 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
23053 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
23054 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
23055 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
23056 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
23057 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
23058 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
23059 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
23060 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
23061 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
23062 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
c5061557
PD
23063 * sysdeps/riscv/Implies: New file.
23064 * sysdeps/riscv/Makefile: Likewise.
23065 * sysdeps/riscv/configure: Likewise.
23066 * sysdeps/riscv/configure.ac: Likewise.
23067 * sysdeps/riscv/nptl/Makefile: Likewise.
23068 * sysdeps/riscv/preconfigure: Likewise.
23069 * sysdeps/riscv/rv64/Implies-after: Likewise.
23070 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
23071 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
23072 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
23073 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
23074 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
23075 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
23076 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
23077 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
23078 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
23079 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
23080 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
0fd5d876
PD
23081 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
23082 (Config): Likewise.
532cf290 23083
cdd14619
FW
230842018-01-29 Florian Weimer <fweimer@redhat.com>
23085
23086 [BZ #22701]
23087 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
23088 libnsl_hidden_proto.
23089 * include/rpcsvc/yp.h (yp_xdrall): Declare with
23090 libnsl_hidden_proto.
23091 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
23092 * nis/Makefile (libnsl-routines): Add nss-default only for
23093 build-obsolete-nsl.
23094 * nis/nis_defaults.c (__nis_default_ttl): Add
23095 libnsl_hidden_nolink_def.
23096 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
23097 declaration.
23098 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
23099 * nis/ypclnt.c (yp_maplist): Likewise.
23100
b7ccb5de
RN
231012018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
23102
23103 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23104 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
23105
522623e4
JM
231062018-01-29 Joseph Myers <joseph@codesourcery.com>
23107
e3aa6999
JM
23108 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
23109 clean -dxfq for git updates when replacing sources.
23110
088de7d0
JM
23111 * scripts/build-many-glibcs.py (Config.build_gcc): Use
23112 --disable-libcilkrts unconditionally, not just for the final GCC
23113 build for Hurd.
23114
522623e4
JM
23115 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
23116 version to 4.15.
23117
ab74d59f 231182018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
8b406f87
RL
23119
23120 [BZ #10871]
23121 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
23122 case).
23123
ab74d59f 231242018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
105e90bd
RL
23125
23126 [BZ #10871]
23127 * localedata/locales/be_BY (mon): Rename to...
23128 (alt_mon): This, then synchronize with CLDR (nominative case).
23129 (abmon): Rename to...
23130 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
23131 (mon): Import from CLDR (genitive case).
23132 (abmon): Likewise.
23133 * localedata/locales/be_BY@latin (mon): Rename to...
23134 (alt_mon): This.
23135 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
23136
23137 * localedata/locales/be_BY@latin (lang_name): Reworded to
23138 "biełaruskaja mova".
23139
ab74d59f 231402018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
561cb414
RL
23141
23142 [BZ #10871]
23143 * localedata/locales/el_CY (mon): Renamed to...
23144 (alt_mon): This.
23145 (mon): Import from CLDR (genitive case).
23146 * localedata/locales/el_GR: Likewise.
23147
ab74d59f 231482018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
f7bdf30d
RL
23149
23150 [BZ #10871]
23151 * localedata/locales/ru_RU (mon): Rename to...
23152 (alt_mon): This.
23153 (abmon): Rename to...
23154 (ab_alt_mon): This.
23155 (mon): Import from CLDR (genitive case).
23156 (abmon): Copy from the old content except the 5th month which is
23157 now in the genitive case, even when abbreviated.
23158 * localedata/locales/ru_UA: Likewise.
23159 * time/tst-strptime.c (day_tests): Add an actual example of
23160 a difference between %b and %Ob in Russian.
23161
85285a0c
ST
231622018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
23163
23164 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
da8168df
ST
23165 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
23166 a `c' variable.
3538a4b6 23167 * resolv/res-close.c: Include <stdlib.h>.
b29848b9
ST
23168 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
23169 <sys/wait.h>, <time.h>, <sys/uio.h>.
23170 (NOT_CANCEL_H): Add inclusion guard.
4f66dc23 23171 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
147d1dbb
ST
23172 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
23173 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
23174 return 0.
05ebfe87
ST
23175 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
23176 vm_address_t * to ElfW(Addr) * for dl_main parameter.
61a3a8c6
ST
23177 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
23178 instead of void *.
23179 * sysdeps/pthread/timer_create.c (timer_create): Do not use
23180 timer_ptr2id to cast struct timer_node * to void *.
d4d5b2dd
ST
23181 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
23182 --disable-libcilkrts to gcc configure.
19fd8d0d
ST
23183 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
23184 and make them the default for now.
903d3633
ST
23185 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
23186 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
7dab2d00
ST
23187 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
23188 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
23189 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
23190 MACH_IPC_COMPAT.
06fac9f5
ST
23191 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
23192 __task_terminate would ever return successfully.
f8177753
ST
23193 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
23194 to global scope.
41cdb1eb
ST
23195 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
23196 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
660b7bff
ST
23197 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
23198 critical section to make code simpler and avoid warning.
23199 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
23200 critical section to make code simpler and avoid warning.
844bf921
ST
23201 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
23202 const char * instead of char *.
f8bee46c
ST
23203 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
23204 __hurd_file_name_split, hurd_file_name_split,
23205 __hurd_directory_name_split, hurd_directory_name_split,
23206 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
23207 hurd_file_name_path_lookup): Make lookup function parameter take a
23208 const char *name instead of char *name.
23209 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
23210 __hurd_directory_name_split): Likewise.
23211 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
23212 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
40066975
ST
23213 * sysdeps/mach/hurd/check_native.c: New file.
23214 * sysdeps/mach/hurd/check_pf.c: New file.
7c5b106d
ST
23215 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
23216 (__freeifaddrs): Define macro to freeifaddrs.
5f982b0b
ST
23217 * sysdeps/mach/hurd/libhurduser.abilist: New file.
23218 * sysdeps/mach/libmachuser.abilist: New file.
cef7166a
ST
23219 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
23220 (do_test_bz20181): Rename accordingly.
23221 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
3fc1ecf9
ST
23222 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
23223 <sys/mount.h>.
28f6186f
ST
23224 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
23225 version only if __USE_EXTERN_INLINES is defined.
23226 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
23227 __hurd_sockfail): Likewise.
23228 (_hurd_fd_get): Always declare functions, and provide inline versions
23229 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
23230 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
23231 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
23232 _hurd_port_set): Always declare functions, and provide inline versions
23233 only if __USE_EXTERN_INLINES and _LIBC are defined and
23234 IS_IN(libc).
23235 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
23236 _hurd_critical_section_unlock): Likewise.
23237 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
23238 * __hurd_threadvar_location): Likewise.
23239 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
23240 _hurd_userlink_clear): Likewise.
23241 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
23242 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
23243 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
23244 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
23245 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
23246 __spin_lock_locked): Likewise.
23247 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
23248 __spin_lock_locked): Likewise.
23249 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
23250 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
23251 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
23252 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
23253 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
b1025304
ST
23254 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
23255 _POSIX_NO_TRUNC): Define to 0.
a902a086
ST
23256 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
23257 check size against PTHREAD_STACK_MIN.
625ba81e
ST
23258 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
23259 IS_IN(libpthread)]: Include <sigsetops.h>.
2e52dff4
ST
23260 * mach/Makefile (user-interfaces): Add mach/gnumach.
23261 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
23262 * sysdeps/mach/configure (mach_interface_list): Regenerate.
80463dc6
ST
23263 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
23264 instead of invalid -1.
1f89ac71
ST
23265 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
23266 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
23267 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
23268 <net/ppp_defs.h>.
85285a0c 23269
1fd1e27c 232702018-01-27 Thomas Schwinge <tschwinge@gnu.org>
84814e2a
TS
23271
23272 * hurd/fcntl-internal.h: New file.
23273
3854c5a8
JC
232742018-01-27 James Clarke <jrtc27@jrtc27.com>
23275
7e23a7dd
JC
23276 * sysdeps/hppa/fpu/libm-test-ulps: Update.
23277
3854c5a8
JC
23278 * sysdeps/alpha/fpu/libm-test-ulps: Update.
23279
5503f413
AS
232802018-01-26 Andreas Schwab <schwab@linux-m68k.org>
23281
23282 [BZ #22701]
23283 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
23284 Build only shared objects.
23285
caaf7804
CD
232862018-01-26 Carlos O'Donell <carlos@redhat.com>
23287
23288 * README: Update for hppa.
23289
1cbf818d
PM
232902018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23291
caaf7804
CD
23292 * sysdeps/sparc/fpu/libm-test-ulps: Update
23293 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
1cbf818d 23294
caaf7804 232952018-01-26 Carlos O'Donell <carlos@redhat.com>
2ec0e7ea
CD
23296
23297 Revert:
23298
23299 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23300
23301 [BZ #22563]
23302 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
23303 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
23304 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
23305 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
23306 to feature_1.
23307
23308 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23309
23310 [BZ #22563]
23311 * bits/types/__cancel_jmp_buf_tag.h: New file.
23312 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
23313 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
23314 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
23315 * nptl/Makefile (headers): Add
23316 bits/types/__cancel_jmp_buf_tag.h.
23317 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
23318 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
23319 * sysdeps/nptl/pthread.h: Include
23320 <bits/types/__cancel_jmp_buf_tag.h>.
23321 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
23322 __cancel_jmp_buf.
23323 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
23324
ab74d59f 233252018-01-25 Rafał Lużyński <digitalfreak@lingonborough.com>
65f6c94e
RL
23326
23327 [BZ #10871]
23328 * localedata/locales/uk_UA (mon): Renamed to...
23329 (alt_mon): This.
23330 (alt_digits): "0" removed and then renamed to...
23331 (mon): This.
23332 (date_fmt): Definition changed not to use the alternative
23333 digits hack.
23334
fb58aac5
PD
233352018-01-25 Palmer Dabbelt <palmer@sifive.com>
23336
23337 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
23338 FLAG_RISCV_FLOAT_ABI_DOUBLE.
23339 * elf/elf.h (EF_RISCV_RVC): New define.
23340 (EF_RISCV_FLOAT_ABI): Likewise.
23341 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
23342 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
23343 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
23344 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
23345 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
23346 define.
23347 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
23348
128c43a2
AS
233492018-01-25 Andreas Schwab <schwab@suse.de>
23350
23351 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
23352 single quotes.
23353 * sysdeps/gnu/configure: Regenerate.
23354 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
23355 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
23356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
23357 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
23358 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
23359 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
23360 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
23361 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
23362
f9015003
ST
233632018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
23364
48130690 23365 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
47c4b4b0 23366 URL, and run autoconf, make it the default for now.
f9015003 23367
91b2cffa
JM
233682018-01-24 Joseph Myers <joseph@codesourcery.com>
23369
3005b705
JM
23370 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23371 soft-float ColdFire configuration.
23372
69231fab
JM
23373 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
23374 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
23375 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
23376
d4c7e1d0
JM
23377 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
23378 MicroBlaze file.
23379
0cfe5be5
JM
23380 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
23381 ....
23382 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
23383 ... here.
23384 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
23385 New file.
23386
91b2cffa
JM
23387 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
23388 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
23389 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
23390 file.
23391
c739e191
SN
233922018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
23393
23394 [BZ #22742]
23395 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
23396 Rename to __reserved and add comment.
23397 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
23398 Rename to __reserved.
23399
394b5bac
JM
234002018-01-24 Joseph Myers <joseph@codesourcery.com>
23401
23402 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23403 i686-gnu configurations.
23404 (Context.run_builds): Include mig, gnumach and hurd in components
23405 considered.
23406 (Context.checkout): Add mig, gnumach and hurd to components.
23407 (Context.checkout_tar): Add URL mappings for mig, gnumach and
23408 hurd.
23409 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
23410 (Config.build): Install gnumach headers, build mig and install
23411 hurd headers for 'gnu' OS.
23412 (Config.install_gnumach_headers): New function.
23413 (Config.install_hurd_headers): Likewise.
23414 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
23415 when building for 'gnu' OS.
23416
28c3f14f
TK
234172018-01-23 Tobias Klauser <tklauser@distanz.ch>
23418
23419 * manual/tunables.texi (Hardware Capability Tunables): Fix
23420 spelling.
23421
0f5e2da1
RJ
234222018-01-22 Rical Jasan <ricaljasan@pacific.net>
23423
23424 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
23425 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
23426 (ALTMON_11, ALTMON_12): Improve documentation.
23427 * manual/time.texi (strftime): Likewise.
23428
ab74d59f 234292018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
7817b14a
RL
23430
23431 [BZ #10871]
23432 * localedata/locales/pl_PL: Alternative month names added,
23433 primary month names are genitive now.
23434 * time/tst-strptime.c (day_tests): Actually use a genitive case
23435 of a month name in Polish language.
23436
ab74d59f 234372018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22390764
RL
23438
23439 [BZ #10871]
23440 * manual/locale.texi: Document ALTMON_1..12 constants for
23441 nl_langinfo. Specify when to use ALTMON instead of MON.
23442 * manual/time.texi (strftime, strptime): Document GNU extension
23443 permitting O modifier with %B and %b. Specify when to use
23444 %OB instead of %B.
23445
ab74d59f 234462018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
761a585c
RL
23447
23448 [BZ #10871]
23449 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
23450 names, define them as the same as abbreviated month names explicitly.
23451 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
23452 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
23453 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
23454 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
23455 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
23456 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
23457 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
23458 _NL_WABALTMON_12): New enum constants.
23459 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
23460 wab_alt_mon, and ab_alt_mon_defined members.
23461 (time_output): Output ab_alt_mon and wab_alt_mon members.
23462 (time_read): Read them, initialize them as copies of abmon and wabmon
23463 respectively if they are missing, initialize ab_alt_mon_defined.
23464 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
23465 * locale/programs/locfile-kw.h: Regenerate.
23466 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
23467 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
23468 and ru_RU.UTF-8.
23469 * time/strftime_l.c (a_altmonth, aam_len): New macros.
23470 [!COMPILE_WIDE] (ABALTMON_1): New macro.
23471 (__strftime_internal): Handle %Ob and %Oh formats.
23472 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
23473 (__strptime_internal): Handle %Ob and %Oh formats.
23474 * time/tst-strptime.c (day_tests): Add more tests to parse different
23475 forms of month names including the new %Ob format specifier.
23476
ab74d59f 234772018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
95cb863a
RL
23478
23479 [BZ #10871]
23480 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
23481 define them as the same as primary full month names explicitly.
23482 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
23483 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
23484 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
23485 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
23486 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
23487 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
23488 _NL_WALTMON_12): New enum constants.
23489 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
23490 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
23491 macros.
23492 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
23493 walt_mon, and alt_mon_defined members.
23494 (time_output): Output alt_mon and walt_mon members.
23495 (time_read): Read them, initialize them as copies of mon and wmon
23496 respectively if they are missing, initialize alt_mon_defined.
23497 * locale/programs/locfile-kw.gperf (alt_mon): Define.
23498 * locale/programs/locfile-kw.h: Regenerate.
23499 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
23500 * localedata/tst-langinfo.c (map): Add tests for the new constants
23501 ALTMON_1 .. ALTMON_12.
23502 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
23503 and pl_PL.UTF-8.
23504 * time/strftime_l.c (f_altmonth): New macro.
23505 (__strftime_internal): Handle %OB format.
23506 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
23507 (__strptime_internal): Handle %OB format.
23508 * time/tst-strptime.c (day_tests): Add tests to parse different forms
23509 of month names including the new %OB format specifier.
23510
4612268a
TMQMF
235112018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23512
23513 [BZ #22685]
23514 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
23515 from ABORT_TRANSACTION.
23516 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
23517 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
23518 ABORT_TRANSACTION_IMPL): Likewise.
23519 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
23520 Linux code, but remove the code that aborts transactions.
23521
64f63cb4
ST
235222018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
23523
23524 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
23525
ab74d59f 235262018-01-19 Rafał Lużyński <digitalfreak@lingonborough.com>
32ac6e92
RL
23527
23528 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
23529 in date: "2004-14-09" should be "2004-09-14".
23530 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
23531 "2003-15-09" should be "2003-09-15".
23532
8e448310
AS
235332018-01-18 Arjun Shankar <arjun@redhat.com>
23534
23535 [BZ #22343]
71aa429b 23536 [BZ #22774]
4590634f 23537 CVE-2018-6485
71aa429b 23538 CVE-2018-6551
8e448310
AS
23539 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
23540 after padding.
23541 (_int_memalign): check for integer overflow before calling
23542 _int_malloc.
23543 * malloc/tst-malloc-too-large.c: New test.
23544 * malloc/Makefile: Add tst-malloc-too-large.
23545
ab74d59f 235462018-01-18 Rafał Lużyński <digitalfreak@lingonborough.com>
e234d7cb
RL
23547
23548 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
23549 in date: "2017-24-07" should be "2017-07-24".
23550 * localedata/locales/mai_IN: Likewise.
23551 * localedata/locales/mai_NP: Likewise.
23552
48b66019
DL
235532018-01-17 Dmitry V. Levin <ldv@altlinux.org>
23554
23555 * po/ru.po: Update translations.
23556
1eeddc58
JM
235572018-01-17 Joseph Myers <joseph@codesourcery.com>
23558
23559 [BZ #22719]
23560 * sysdeps/hppa/backtrace.c: New file.
23561
207a72e2
L
235622018-01-17 H.J. Lu <hongjiu.lu@intel.com>
23563
23564 [BZ #22715]
23565 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
23566 align La_x86_64_retval to VEC_SIZE.
23567
4942c4ea
JM
235682018-01-16 Joseph Myers <joseph@codesourcery.com>
23569
23570 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
23571 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
23572
10d200db
FW
235732018-01-16 Florian Weimer <fweimer@redhat.com>
23574
23575 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
23576 Move tst-thread-exit-clobber ...
23577 [$(CXX)] (tests-unsupported): ... to here.
23578
953c49cc
SN
235792018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
23580
23581 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
23582 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
23583 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
23584 (_dl_aarch64_cap_flags): Update.
23585 (_DL_HWCAP_COUNT): Update.
23586
afce1991
SN
235872018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
23588
23589 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
23590 (_DL_HWCAP_LAST): Remove.
23591 (_DL_HWCAP_COUNT): Move to ...
23592 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
23593 (_DL_HWCAP_COUNT): ... here.
23594
b725132d
FW
235952018-01-16 Florian Weimer <fweimer@redhat.com>
23596
23597 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
23598 mode with GNU extensions.
23599
c9e613a7
AH
236002018-01-15 Alan Hayward <alan.hayward@arm.com>
23601
23602 * elf/elf.h (NT_ARM_SVE): Define.
23603
860b0240
FW
236042018-01-15 Florian Weimer <fweimer@redhat.com>
23605
23606 [BZ #22636]
23607 * nptl/tst-minstack-throw.cc: New file.
23608 * nptl/Makefile (tests): Add tst-minstack-throw.
23609 (LDLIBS-tst-minstack-throw): Link with libstdc++.
23610 [!CXX] (tests-unsupported): Add tst-minstack-throw.
23611
16d0f6ac
JM
236122018-01-15 Joseph Myers <joseph@codesourcery.com>
23613
23614 * scripts/build-many-glibcs.py (Context.checkout): Default
23615 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
23616 version to 1.1.0.
23617
505d3910
CD
236182018-01-13 Carlos O'Donell <carlos@redhat.com>
23619
23620 [BZ #22707]
23621 * elf/elf.h (DF_1_STUB): Define.
23622 (DF_1_PIE): Define.
23623
af1e6be4
TMQMF
236242018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23625
23626 [BZ #22697]
23627 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
23628 Do not add 0.5 to integer or out-of-range arguments.
23629
98d13ce0
DL
236302018-01-12 Dmitry V. Levin <ldv@altlinux.org>
23631
23632 * po/bg.po: Update translations.
23633 * po/cs.po: Likewise.
23634 * po/de.po: Likewise.
23635 * po/ko.po: Likewise.
23636 * po/pl.po: Likewise.
23637 * po/sv.po: Likewise.
23638 * po/uk.po: Likewise.
23639 * po/vi.po: Likewise.
23640
3d1d7928
SN
236412018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
23642
23643 * aarch64/start.S (_start): Use __wrap_main.
23644 (__wrap_main): New local symbol.
23645
52a713fd
DL
236462018-01-12 Dmitry V. Levin <ldv@altlinux.org>
23647
23648 [BZ #22679]
23649 CVE-2018-1000001
23650 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
23651 generic_getcwd if the path returned by getcwd syscall is not absolute.
23652 * io/tst-getcwd-abspath.c: New test.
23653 * io/Makefile (tests): Add tst-getcwd-abspath.
23654
249a5895
IK
236552018-01-12 Istvan Kurucsai <pistukem@gmail.com>
23656
23657 * malloc/malloc.c (malloc_consolidate): Add size check.
23658
1a51e46e
FW
236592018-01-12 Florian Weimer <fweimer@redhat.com>
23660
23661 * support/write_message.c (write_message): Preserve errno.
23662 * support/check.c (print_failure): Likewise.
23663 * support/support_test_verify_impl.c (support_test_verify_impl):
23664 Likewise.
23665 * support/support_test_compare_failure.c
23666 (support_test_compare_failure): Likewise.
23667
9a08a366
FW
236682018-01-12 Florian Weimer <fweimer@redhat.com>
23669
23670 [BZ #22701]
23671 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
23672 Prevent installation of libnsl.so.
23673 (libnsl-inhibit-o): Do not build (or install) static libraries.
23674
80647883 236752018-01-12 Egmont Koblinger <egmont@gmail.com>
f172187b
EK
23676
23677 [BZ #22657]
23678 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
23679 before the day number which may produce a double space.
23680 (date_fmt): Likewise.
23681
c8924f1f
JM
236822018-01-12 Joseph Myers <joseph@codesourcery.com>
23683
23684 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
23685 instead of fegetenv.
23686
da09e6fa
JM
236872018-01-11 Joseph Myers <joseph@codesourcery.com>
23688
23689 [BZ #22702]
23690 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
23691 comment to say exceptions are discarded.
23692 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
23693 __fegetenv.
23694 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
23695 be enabled.
23696
08c6e952
FW
236972018-01-11 Florian Weimer <fweimer@redhat.com>
23698
23699 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
23700 and error message.
23701
d8b77890
FW
237022018-01-11 Florian Weimer <fweimer@redhat.com>
23703
23704 [BZ #22636]
23705 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
23706 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
23707
b303185d
JM
237082018-01-10 Joseph Myers <joseph@codesourcery.com>
23709
23710 [BZ #22693]
23711 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
23712 negative arguments in test for NaN or infinity argument.
23713
ee61d028
DL
237142018-01-10 Dmitry V. Levin <ldv@altlinux.org>
23715
23716 * po/libc.pot: Regenerate.
23717
f993b875
FW
237182018-01-10 Florian Weimer <fweimer@redhat.com>
23719
23720 [BZ #22636]
23721 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
23722 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
23723
09085ede
ST
237242018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23725
23726 * hurd/hurd/fd.h: Include <fcntl.h>
23727 (__hurd_at_flags): New function.
23728 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
23729 with call to __hurd_at_flags.
23730 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
23731 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
23732 __faccessat
23733 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
23734 (__access_noerrno): Use __faccessat_common instead of access_common.
23735 (__access): Likewise.
23736 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
23737 with a call to __faccessat.
23738 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
23739 (__faccessat_common): ... this. Move implementation of __access into it when
23740 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
23741 reauthenticate_cwdir_at helper to implement AT mechanism.
23742 (__faccessat_noerrno): New function, just calls __faccessat_common.
23743 (__faccessat): New function, just calls __faccessat_common.
23744 (faccessat): Define weak alias.
23745
12727488
JM
237462018-01-10 Joseph Myers <joseph@codesourcery.com>
23747
87faac55
JM
23748 [BZ #22691]
23749 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23750 (CFLAGS-s_fmaxmagl.c): New variable.
23751 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
23752
12727488
JM
23753 [BZ #22690]
23754 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
23755 long int for arguments of possibly overflowing addition or
23756 subtraction.
23757 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
23758
e134ca17
JM
237592018-01-09 Joseph Myers <joseph@codesourcery.com>
23760
b2584ac2
JM
23761 [BZ #22688]
23762 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23763 (CFLAGS-e_remainderl.c): New variable.
23764
e134ca17
JM
23765 [BZ #22687]
23766 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
23767 variable.
23768 (CFLAGS-s_cacoshl.c): Likewise.
23769 (CFLAGS-s_casinhl.c): Likewise.
23770 (CFLAGS-s_catanl.c): Likewise.
23771 (CFLAGS-s_catanhl.c): Likewise.
23772 (CFLAGS-s_cexpl.c): Likewise.
23773 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
23774 (CFLAGS-s_csinhl.c): Likewise.
23775 (CFLAGS-s_clogl.c): Likewise.
23776 (CFLAGS-s_clog10l.c): Likewise.
23777 (CFLAGS-s_csinl.c): Likewise.
23778 (CFLAGS-s_csqrtl.c): Likewise.
23779
d31a4a48
ST
237802017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
237812017-01-09 Svante Signell <svante.signell@gmail.com>
311ba8dc
ST
23782
23783 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
23784 (_hurd_exec_paths): New function.
23785 * hurd/hurd.h (_hurd_exec): Deprecate function.
23786 (_hurd_exec_paths): Declare function.
23787 * hurd/Versions: Export _hurd_exec_paths.
23788 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
23789 (__execve): Use __getcwd to build absolute path, and use
23790 _hurd_exec_paths instead of _hurd_exec.
23791 * sysdeps/mach/hurd/spawni.c: Likewise.
23792 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
23793 _hurd_exec.
23794
d7ff3f11
DL
237952018-01-08 Dmitry V. Levin <ldv@altlinux.org>
23796
23797 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
23798 test instead of failing in case of ENOENT returned by posix_openpt.
23799
401311cf
FW
238002018-01-08 Florian Weimer <fweimer@redhat.com>
23801
23802 resolv: Support binary labels in test framework.
23803 * support/resolv_test.c (struct to_be_freed): Remove.
23804 (struct compressed_name): New.
23805 (allocate_compressed_name, ascii_tolower)
23806 (compare_compressed_name): New functions.
23807 (struct resolv_response_builder): Update type of
23808 compression_offsets for use with tsearch. Rempve to_be_freed.
23809 (response_push_pointer_to_free): Remove function.
23810 (resolv_response_add_name): Rewrite using struct compressed_name
23811 and tsearch instead of hsearch_r.
23812 (response_builder_allocate): Remove initialization of
23813 compression_offsets.
23814 (response_builder_free): Update for removal of to_be_freed. Use
23815 tdestroy instead of hdestroy_r.
23816 * resolv/Makefile (tests): Add tst-resolv-binary.
23817 (tst-resolv-binary): Link with -lresolv -lpthread.
23818
2b3aa446
FW
238192018-01-08 Florian Weimer <fweimer@redhat.com>
23820
23821 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
23822 time. Pass positive flag instead of negative flag to
23823 support_test_compare_failure.
23824 (support_test_compare_failure): Change negative parameter to
23825 positive.
23826 * support/support_test_compare_failure.c (report)
23827 (support_test_compare_failure): Likewise.
23828 * support/tst-test_compare.c (return_ssize_t, return_int): New.
23829 (do_test): Check int/size_t, ssize_t/size_t comparisons.
23830
630f4cc3
SN
238312018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
23832
23833 [BZ #22637]
23834 * nptl/descr.h (stackblock, stackblock_size): Update comments.
23835 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
23836 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
23837 stacksize.
23838 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
23839
c70e4e9c
L
238402018-01-08 H.J. Lu <hongjiu.lu@intel.com>
23841
23842 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23843 Add s_sincosf-sse2 and s_sincosf-fma.
23844 (CFLAGS-s_sincosf-fma.c): New.
23845 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
23846 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
23847 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
23848 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
23849 __sincosf is defined.
23850
579396ee
FW
238512018-01-08 Florian Weimer <fweimer@redhat.com>
23852
23853 * nptl/tst-thread-exit-clobber.cc: New file.
23854 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
23855 C++11 mode.
23856 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
23857 (tests): Add tst-thread-exit-clobber.
23858 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
23859
dabd75b6
FW
238602018-01-08 Florian Weimer <fweimer@redhat.com>
23861
23862 * support/check.h (support_static_assert): Define.
23863 (TEST_COMPARE): Use it.
23864
c2e014cc
AJ
238652018-01-07 Aurelien Jarno <aurelien@aurel32.net>
23866
23867 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
23868 [!__RLIM_T_MATCHES_RLIM64_T]
23869 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
23870 __getrlimit64. Add libc_hidden_weak.
23871
31a98837
PD
238722018-01-06 Palmer Dabbelt <palmer@sifive.com>
23873
23874 * elf/elf.h (R_RISCV_NONE): New define.
23875 (R_RISCV_32): Likewise.
23876 (R_RISCV_64): Likewise.
23877 (R_RISCV_RELATIVE): Likewise.
23878 (R_RISCV_COPY): Likewise.
23879 (R_RISCV_JUMP_SLOT): Likewise.
23880 (R_RISCV_TLS_DTPMOD32): Likewise.
23881 (R_RISCV_TLS_DTPMOD64): Likewise.
23882 (R_RISCV_TLS_DTPREL32): Likewise.
23883 (R_RISCV_TLS_DTPREL64): Likewise.
23884 (R_RISCV_TLS_TPREL32): Likewise.
23885 (R_RISCV_TLS_TPREL64): Likewise.
00505532
PD
23886 * Makerules (make-link-multidir): Make directories before linking into
23887 them.
150bbac1
PD
23888 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
23889 define.
23890 (VDSO_HASH_LINUX_4_15): Likewise.
1598f3ad
PD
23891 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
23892 in subdirectories of lib.
8e13c51b
PD
23893 * nptl/Makefile (/librt.so): Always depend on
23894 "$(shared-thread-library)".
31a98837 23895
fad7d57e
ST
238962018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23897
23898 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
4a5ce6e9
ST
23899 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
23900 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
23901 (___tls_get_addr).
23902 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
107a35a5
ST
23903 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
23904 "-O2 -march=i686".
01c7e549 23905 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
f417d92c
ST
23906 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
23907 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
23908 * sysdeps/gnu/glob-lstat-compat.c: New file.
23909 * sysdeps/gnu/glob64-lstat-compat.c: New file.
200fc24b 23910 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
fad7d57e 23911
3a32b716
TMQMF
239122018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23913
23914 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
23915 Reserve 16 chars to reloc_addr before calling _itoa_word.
23916
24731685
AJ
239172018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23918
23919 [BZ #22678]
23920 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
23921 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
23922
19be56d8
AJ
23923 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
23924 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
23925
a6d0afb5
AJ
23926 * resource/tst-getrlimit.c: Add copyright header.
23927
8e900969
AJ
239282018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23929 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23930
23931 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
23932 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
23933 Define __GI_getrlimit64 as weak alias of __getrlimit64.
23934 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
23935 instead.
23936 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
23937 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
23938 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
23939 RLIM64_INFINITY): Fix values to match the kernel ones.
23940 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
23941 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
23942 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
23943 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
23944 getrlimit64@@GLIBC_2_27.
23945 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
23946 and setrlimit64.
23947 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
23948 getrlimit, setrlimit, getrlimit64 and setrlimit64.
23949 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
23950 setrlimit, getrlimit64 and setrlimit64.
23951
0d0bc784
AJ
239522018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23953
23954 [BZ #22648]
23955 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
23956 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
23957
ba374b6d
JM
239582018-01-04 Joseph Myers <joseph@codesourcery.com>
23959
23960 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
23961 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
23962 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
23963
4854ddd8
AZ
239642018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23965
b0a4eca2
AZ
23966 [BZ #15479]
23967 [BZ #22666]
23968 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
23969 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
23970
4854ddd8
AZ
23971 [BZ #15479]
23972 [BZ #22665]
23973 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
23974 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
23975 * sysdeps/alpha/fpu/s_floor.c: Likewise.
23976 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
23977
8a5df95f
FW
239782018-01-04 Florian Weimer <fweimer@redhat.com>
23979
23980 [BZ #22667]
23981 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
23982 Align the stack before calling exit.
23983 * stdlib/tst-makecontext-align.c: New file.
23984 * stdlib/Makefile (tests): Add tst-makecontext-align.
23985
82eef55f
FW
239862018-01-04 Florian Weimer <fweimer@redhat.com>
23987
23988 Add support for calling dlvsym from libc.so.
23989 * include/dlfcn.h (__libc_dlvsym): Declare.
23990 * elf/Makefile (tests-static-internal): Add
23991 tst-libc_dlvsym-static.
23992 (tests-internal): Add tst-libc_dlvsym.
23993 (modules-names): Add tst-libc_dlvsym-dso.
23994 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
23995 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
23996 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
23997 object tst-libc_dlvsym-dso.so needs to be built before running
23998 these tests.
23999 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
24000 * elf/Versions: Export __libc_dlvsym.
24001 * elf/dl-libc.c (struct do_dlvsym_args): New.
24002 (do_dlvsym, __libc_dlvsym): New functions.
24003 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
24004 (_dl_open_hook2): New variable.
24005 (__libc_register_dl_open_hook): Set it.
24006 * elf/tst-libc_dlvsym-dso.c: New file.
24007 * elf/tst-libc_dlvsym-static.c: Likewise.
24008 * elf/tst-libc_dlvsym.c: Likewise.
24009 * elf/tst-libc_dlvsym.h: Likewise.
24010
1714fc06
ST
240112018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
24012
24013 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
24014 include <sys/mount.h>.
24015
3c7d0312
WD
240162018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
24017
24018 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
24019 Add __NO_MATH_ERRNO__ check.
24020
7eff0954
JM
240212018-01-02 Joseph Myers <joseph@codesourcery.com>
24022
24023 * sysdeps/mips/mips32/libm-test-ulps: Update.
24024 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24025
77f49956
FW
240262018-01-02 Florian Weimer <fweimer@redhat.com>
24027
24028 * misc/tst-pselect.c: Add copyright header.
24029
363e4519 240302018-01-02 Aurelien Jarno <aurelien@aurel32.net>
d35989be
AJ
24031
24032 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
24033 comment.
24034 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
24035 comment.
24036 (settrlimit): Rename into setrlimit.
24037 (__sttrlimit): Rename into __setrlimit.
24038
3e4226ff
AJ
24039 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
24040 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
24041 never defined in that case.
24042
b9256ab6
JM
240432018-01-02 Joseph Myers <joseph@codesourcery.com>
24044
28fd6a44
JM
24045 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
24046
a4933a15
JM
24047 * sysdeps/arm/libm-test-ulps: Update.
24048
b9256ab6
JM
24049 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
24050 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
24051
4cf82d23
RS
240522018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24053
24054 * NEWS: Add cosf and sincosf to list of optimized functions.
24055
6a9dd7a7
AJ
240562018-01-02 Aurelien Jarno <aurelien@aurel32.net>
24057
24058 [BZ #22660]
24059 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
24060 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
24061 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
24062 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
24063
dbba87d5
DL
240642018-01-01 Dmitry V. Levin <ldv@altlinux.org>
24065
b05cb613
DL
24066 [BZ #22433]
24067 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
24068
dbba87d5
DL
24069 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
24070 making a copy of it.
24071
688903eb
JM
240722018-01-01 Joseph Myers <joseph@codesourcery.com>
24073
66ac23de
JM
24074 * manual/texinfo.tex: Update to version 2017-12-26.21 with
24075 trailing whitespace removed.
24076 * scripts/config.guess: Update to version 2018-01-01.
24077 * scripts/config.sub: Update to version 2018-01-01.
24078 * scripts/move-if-change: Update from gnulib.
24079
09533208
JM
24080 * NEWS: Update copyright dates.
24081 * catgets/gencat.c (print_version): Likewise.
24082 * csu/version.c (banner): Likewise.
24083 * debug/catchsegv.sh: Likewise.
24084 * debug/pcprofiledump.c (print_version): Likewise.
24085 * debug/xtrace.sh (do_version): Likewise.
24086 * elf/ldconfig.c (print_version): Likewise.
24087 * elf/ldd.bash.in: Likewise.
24088 * elf/pldd.c (print_version): Likewise.
24089 * elf/sotruss.sh: Likewise.
24090 * elf/sprof.c (print_version): Likewise.
24091 * iconv/iconv_prog.c (print_version): Likewise.
24092 * iconv/iconvconfig.c (print_version): Likewise.
24093 * locale/programs/locale.c (print_version): Likewise.
24094 * locale/programs/localedef.c (print_version): Likewise.
24095 * login/programs/pt_chown.c (print_version): Likewise.
24096 * malloc/memusage.sh (do_version): Likewise.
24097 * malloc/memusagestat.c (print_version): Likewise.
24098 * malloc/mtrace.pl: Likewise.
24099 * manual/libc.texinfo: Likewise.
24100 * nptl/version.c (banner): Likewise.
24101 * nscd/nscd.c (print_version): Likewise.
24102 * nss/getent.c (print_version): Likewise.
24103 * nss/makedb.c (print_version): Likewise.
24104 * posix/getconf.c (main): Likewise.
24105 * scripts/test-installation.pl: Likewise.
24106 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
24107
688903eb
JM
24108 * All files with FSF copyright notices: Update copyright dates
24109 using scripts/update-copyrights.
24110 * locale/programs/charmap-kw.h: Regenerated.
24111 * locale/programs/locfile-kw.h: Likewise.
24112
4f820792
ZW
241132017-12-31 Zack Weinberg <zackw@panix.com>
24114
24115 * libio/bits/libio-ldbl.h: Correct check for improper
24116 inclusion. Add own multiple include guard.
24117
3e3c904d
AJ
241182017-12-30 Aurelien Jarno <aurelien@aurel32.net>
24119 Dmitry V. Levin <ldv@altlinux.org>
24120
24121 [BZ #22625]
31f96325 24122 CVE-2017-16997
3e3c904d
AJ
24123 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
24124 string token expansion. Check for NULL pointer or empty string possibly
24125 returned by expand_dynamic_string_token.
24126 (decompose_rpath): Check for empty path after dynamic string
24127 token expansion.
24128
7e21972b
DL
241292017-12-29 Dmitry V. Levin <ldv@altlinux.org>
24130
c48831d0
DL
24131 [BZ #22433]
24132 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
24133
ac583f50
DL
24134 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
24135 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
24136 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
24137 and PTRACE_SYSCALL.
24138 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
24139 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24140 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24141 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24142 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24143 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
24144
7e21972b
DL
24145 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
24146 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
24147 __ptrace_peeksiginfo_flags, ptrace): Move to ...
24148 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
24149 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24150 bits/ptrace-shared.h.
24151 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
24152 <bits/ptrace-shared.h>.
24153 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
24154 __ptrace_peeksiginfo_flags, ptrace): Remove.
24155 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24156 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24157 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24158 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24159 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
24160
72f29e3a
AJ
241612017-12-29 Aurelien Jarno <aurelien@aurel32.net>
24162
24163 [BZ #17804]
24164 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
24165 end of the loop. Improve comments.
24166
54e4efc2
AJ
241672017-12-29 Zack Weinberg <zackw@panix.com>
24168
24169 [BZ #22615]
24170 * manual/errno.texi (Checking for Errors): Explicitly say that errno
24171 might be set on success.
24172
f8aa69be
AJ
241732017-12-29 Aurelien Jarno <aurelien@aurel32.net>
24174
24175 [BZ #22611]
24176 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
24177 is unchanged on success.
24178
97f13188
DL
241792017-12-27 Dmitry V. Levin <ldv@altlinux.org>
24180
2bd86632
DL
24181 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
24182 updated.
24183 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
24184 expand_dynamic_string_token): Likewise.
24185 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
24186 is_path argument.
24187
1c36e1e6
DL
24188 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
24189 contains ':'.
24190
97f13188
DL
24191 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
24192 is set and name contains ':', and all code depending on these checks.
24193
48a8f832
ZW
241942017-12-24 Zack Weinberg <zackw@panix.com>
24195
24196 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
24197 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
24198 respectively.
24199 * libio/libio.h: Rename the original version of this file to
24200 libio/bits/libio.h. Error out if not included by stdio.h or the
24201 stub libio.h.
24202 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
24203 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
24204 if not included by bits/libio.h or the stub _G_config.h.
24205 * sysdeps/unix/sysv/linux/_G_config.h: Move to
24206 sysdeps/unix/sysv/linux/bits. Error out if not included by
24207 bits/libio.h or the stub _G_config.h.
24208 * libio/stdio.h: Include bits/libio.h, not libio.h.
24209 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
24210 well as libio.h and _G_config.h.
24211
24212 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
24213 * libio/strfile.h, stdio-common/vfscanf.c
24214 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
24215 Include stdio.h, not _G_config.h nor libio.h.
24216 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
24217 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
24218
24219 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
24220
a47ad79a
DL
242212017-12-23 Dmitry V. Levin <ldv@altlinux.org>
24222
24223 [BZ #22347]
24224 * stdlib/getrandom.c (getrandom): Fix comment.
24225 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
24226
363e4519 242272017-12-23 Aurelien Jarno <aurelien@aurel32.net>
e65a5644 24228
f5c558f3
AJ
24229 [BZ #21161]
24230 * manual/arith.texi (strtoul): Fix a typo.
24231
e65a5644
AJ
24232 [BZ #22596]
24233 * manual/arith.texi (finite): Fix the description of the return
24234 value.
24235
ed8ae46b
EB
242362017-12-22 Eric Blake <ebb9@byu.net>
24237
24238 Avoid gcc warnings on cygwin
24239 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
24240 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
24241 Avoid unused variable.
24242
bad7a0c8
FW
242432017-12-22 Florian Weimer <fweimer@redhat.com>
24244
24245 * io/Makefile (routines): Add copy_file_range.
24246 (tests): Add tst-copy_file_range.
24247 (tests-static, tests-internal): Add tst-copy_file_range-compat.
24248 * io/Versions (GLIBC_2.27): Export copy_file_range.
24249 * io/copy_file_range-compat.c: New file.
24250 * io/copy_file_range.c: Likewise.
24251 * io/tst-copy_file_range-compat.c: Likewise.
24252 * io/tst-copy_file_range.c: Likewise.
24253 * manual/llio.texi (Copying File Data): New section.
24254 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
24255 * support/Makefile (libsupport-routines): Add support-xfstat,
24256 xftruncate, xlseek.
24257 * support/support-xfstat.c: New file.
24258 * support/xftruncate.c: Likewise.
24259 * support/xlseek.c: Likewise.
24260 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
24261 * sysdeps/unix/sysv/linux/**.abilist: Update.
24262 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
24263
6cb86fd2
SN
242642017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
24265
24266 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
24267 disable-multi-arch variant to aarch64-linux-gnu.
24268
41d11b15
JM
242692017-12-20 Joseph Myers <joseph@codesourcery.com>
24270
24271 * manual/texinfo.tex: Update to version 2017-12-18.20 with
24272 trailing whitespace removed.
24273 * scripts/config.guess: Update to version 2017-12-17.
24274 * scripts/config.sub: Update to version 2017-11-23.
24275 * scripts/install-sh: Update to version 2017-09-23.17.
24276 * scripts/move-if-change: Update to version 2017-09-13 06:45.
24277
4735850f
AZ
242782017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24279
8d2d239c
AZ
24280 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
24281 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
24282 * sysdeps/tile/_mcount.S (__mcount): Likewise.
24283 * sysdeps/tile/crti.S (_init, _fini): Likewise.
24284 * sysdeps/tile/crtn.S: Likewise.
24285 * sysdeps/tile/dl-start.S (_start): Likewise.
24286 * sysdeps/tile/dl-trampoline.S: Likewise.
24287 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
24288 * sysdeps/tile/start.S (_start): Likewise.
24289 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
24290 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
24291 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
24292 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
24293 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
24294 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
24295 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
24296
24d1d8ec
AZ
24297 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
24298 comment.
24299 * sysdeps/tile/preconfigure: Remove tilegx folder.
24300 * sysdeps/tile/tilegx/Implies: Move definitions to ...
24301 * sysdeps/tile/Implies: ... here.
24302 * sysdeps/tile/tilegx/Makefile: Move rules to ...
24303 * sysdeps/tile/Makefile: ... here.
24304 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
24305 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
24306 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
24307 * sysdeps/tile/bits/wordsize.h: ... here.
24308 * sysdeps/tile/tilegx/*: Move to ...
24309 * sysdeps/tile/*: ... here.
24310 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
24311 * sysdeps/tile/tilegx32/Implies: ... here.
24312 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
24313 * sysdeps/tile/tilegx64/Implies: ... here.
24314 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
24315 to ...
24316 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
24317 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
24318 * sysdeps/unix/sysv/linux/tile/*: ... here.
24319 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
24320 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
24321 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
24322 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
24323
ed95f611
AZ
24324 * README: Remove tilepro-*-linux-gnu from supported architecture.
24325 * scripts/build-many-glibcs.py: Likewise.
24326 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
24327 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
24328 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
24329 elf_machine_matches_host, elf_machine_dynamic,
24330 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
24331 howto, elf_machine_rela): Likewise.
24332 * sysdeps/tile/dl-start.S (_start): Likewise.
24333 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
24334 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
24335 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
24336 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
24337 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
24338 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
24339 Likewise.
24340 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
24341 * sysdeps/tile/preconfigure: Likewise.
24342 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
24343 POINTER_CHK_GUARD): Likewise.
24344 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
24345 * sysdeps/tile/start.S (_start): Likewise.
24346 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
24347 Likewise.
24348 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
24349 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
24350 CMOVNEZ): Remove.
24351 * sysdeps/unix/sysv/linux/tile/bits/environments.h
24352 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
24353 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
24354 Likewise.
24355 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
24356 * sysdeps/tile/tilepro/Implies: Remove file.
24357 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
24358 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
24359 * sysdeps/tile/tilepro/memchr.c: Likewise.
24360 * sysdeps/tile/tilepro/memcpy.S: Likewise.
24361 * sysdeps/tile/tilepro/memset.c: Likewise.
24362 * sysdeps/tile/tilepro/memusage.h: Likewise.
24363 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
24364 * sysdeps/tile/tilepro/strchr.c: Likewise.
24365 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
24366 * sysdeps/tile/tilepro/strlen.c: Likewise.
24367 * sysdeps/tile/tilepro/strrchr.c: Likewise.
24368 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
24369 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
24370 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
24371 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
24372 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
24373 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
24374 Likewise.
24375 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
24376 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24377 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
24378 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
24379 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24380 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
24381 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
24382 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
24383 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
24384 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
24385 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
24386 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
24387 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
24388 tilepro mention in comment.
24389
4735850f
AZ
24390 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
24391 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
24392 * nptl/pthread_join_common.c: New file: common function used on
24393 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
24394 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
24395 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
24396 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
24397 (cleanup): Move definition to pthread_join_common.c.
24398 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
24399 Remove superflous checks.
24400 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
24401 Likewise.
24402
8bfb461e
SN
244032017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
24404
24405 * sysdeps/aarch64/libm-test-ulps: Update.
24406
4e001969
AZ
244072017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24408
24409 * sysdeps/aarch64/memset.S (MEMSET): Define.
24410
8a26ad2a
FW
244112017-12-20 Florian Weimer <fweimer@redhat.com>
24412
24413 [BZ #22635]
24414 nptl: Provide full implementation of pthread_self in libc.so.
24415 * nptl/Makefile (routines): Add pthread_self.
24416 (libpthread-routines): Replace pthread_self with
24417 compat-pthread_self.
24418 * nptl/forward.c (pthread_self): Remove.
24419 * nptl/nptl-init.c (pthread_functions): Do not initialize
24420 ptr_pthread_self.
24421 * nptl/pthread_self.c (pthread_self): Remove weak alias.
24422 * nptl/compat-pthread_self.c: New file.
24423 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
24424 Remove ptr_pthread_self.
24425
5069ff32
AR
244262017-12-19 Arnold D. Robbins <arnold@skeeve.com>
24427
24428 * posix/regcomp.c: Fix spelling in comments.
24429 * posix/regex.h: Likewise.
24430 * posix/regex_internal.c: Likewise.
24431 * posix/regexec.c: Likewise.
24432
c85e54ac
GG
244332017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
24434
24435 [BZ #22377]
24436 * math/Makefile [C++] (tests): Add test for iseqsig.
24437 * math/math.h [C++] (iseqsig): New implementation, which does
24438 not rely on __MATH_TG/__builtin_types_compatible_p.
24439 * math/test-math-iseqsig.cc: New file.
24440 * sysdeps/powerpc/powerpc64le/Makefile
24441 (CFLAGS-test-math-iseqsig.cc): New variable.
24442
10e93d96
DL
244432017-12-19 Dmitry V. Levin <ldv@altlinux.org>
24444
24445 * elf/dl-load.c (is_trusted_path): Remove.
24446 (fillin_rpath): Remove check_trusted argument and its use,
24447 all callers changed.
24448
ce16eb52
L
244492017-12-19 H.J. Lu <hongjiu.lu@intel.com>
24450
24451 [BZ #22630]
24452 * Makeconfig (link-pie-before-libc): Replace -pie with
24453 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
24454 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
24455 (tst-dlopen-aout-no-pie): New.
24456 (LDFLAGS-tst-prelink): Removed.
24457 (tst-prelink-no-pie): New.
24458 (LDFLAGS-tst-main1): Removed.
24459 (tst-main1-no-pie): New.
24460 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
24461 (tst-gmon-no-pie): New.
24462
126adc89
L
244632017-12-19 H.J. Lu <hongjiu.lu@intel.com>
24464
24465 * manual/install.texi: Document that --enable-static-pie
24466 implies PIE.
24467 * INSTALL: Regenerated.
24468
648615e1
BE
244692017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
24470
24471 [BZ #21309]
24472 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
24473 unsigned.
24474
f1e00502
JM
244752017-12-19 Joseph Myers <joseph@codesourcery.com>
24476
24477 Revert:
24478
24479 2017-12-19 Joseph Myers <joseph@codesourcery.com>
24480
24481 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24482
24483 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
24484
24485 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
24486 <errno.h>. Include "eexp.tbl".
24487 (half): New constant.
24488 (one): Likewise.
24489 (__ieee754_exp): Rewrite.
24490 (__slowexp): Remove prototype.
24491 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
24492 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
24493 * sysdeps/i386/fpu/slowexp.c: Likewise.
24494 * sysdeps/ia64/fpu/slowexp.c: Likewise.
24495 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
24496 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
24497 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
24498 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
24499 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
24500 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
24501 comment.
24502 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
24503 (CPPFLAGS-slowexp.c): Remove variable.
24504 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24505 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
24506 (CFLAGS-slowexp-fma.c): Remove variable.
24507 (CFLAGS-slowexp-fma4.c): Likewise.
24508 (CFLAGS-slowexp-avx.c): Likewise.
24509 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
24510 define as macro.
24511 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
24512 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
24513 * math/Makefile (type-double-routines): Remove slowexp.
24514 * manual/probes.texi (slowexp_p6): Remove.
24515 (slowexp_p32): Likewise.
24516
d711a00f
AZ
245172017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24518
e184ac3a
AZ
24519 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
24520 arithmetic.
24521
d711a00f
AZ
24522 * lib/glob.c (glob): Do not pass NULL to mempcpy.
24523
6f58c10d
JM
245242017-12-19 Joseph Myers <joseph@codesourcery.com>
24525
24526 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24527
6fd0a3c6
PM
245282017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
24529
24530 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
24531 <errno.h>. Include "eexp.tbl".
24532 (half): New constant.
24533 (one): Likewise.
24534 (__ieee754_exp): Rewrite.
24535 (__slowexp): Remove prototype.
24536 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
24537 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
24538 * sysdeps/i386/fpu/slowexp.c: Likewise.
24539 * sysdeps/ia64/fpu/slowexp.c: Likewise.
24540 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
24541 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
24542 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
24543 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
24544 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
24545 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
24546 comment.
24547 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
24548 (CPPFLAGS-slowexp.c): Remove variable.
24549 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24550 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
24551 (CFLAGS-slowexp-fma.c): Remove variable.
24552 (CFLAGS-slowexp-fma4.c): Likewise.
24553 (CFLAGS-slowexp-avx.c): Likewise.
24554 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
24555 define as macro.
24556 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
24557 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
24558 * math/Makefile (type-double-routines): Remove slowexp.
24559 * manual/probes.texi (slowexp_p6): Remove.
24560 (slowexp_p32): Likewise.
24561
3bb1ef58 245622017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6b5c8607 24563 James Clarke <jrtc27@jrtc27.com>
3bb1ef58
AZ
24564
24565 [BZ #22603]
24566 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
24567 addition.
24568
554e3d51
AZ
245692017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24570
24571 [BZ #22605]
24572 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
24573 code.
24574
cba595c3
L
245752017-12-19 H.J. Lu <hongjiu.lu@intel.com>
24576
24577 [BZ #22563]
24578 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
24579 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
24580 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
24581 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
24582 to feature_1.
24583
f81ddabf
L
245842017-12-19 H.J. Lu <hongjiu.lu@intel.com>
24585
24586 [BZ #22563]
24587 * bits/types/__cancel_jmp_buf_tag.h: New file.
24588 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
24589 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
24590 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
24591 * nptl/Makefile (headers): Add
24592 bits/types/__cancel_jmp_buf_tag.h.
24593 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
24594 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
24595 * sysdeps/nptl/pthread.h: Include
24596 <bits/types/__cancel_jmp_buf_tag.h>.
24597 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
24598 __cancel_jmp_buf.
24599 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
24600
1a49fc59
L
246012017-12-18 H.J. Lu <hongjiu.lu@intel.com>
24602
24603 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
24604 --enable-static-pie variants to x86_64, x32 and i686.
24605
8e52f573
JM
246062017-12-19 Joseph Myers <joseph@codesourcery.com>
24607
66425185
JM
24608 [BZ #22631]
24609 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
24610 argument for attrubutes. All callers changed.
24611 (__inline_mathop1): Likewise. All callers changed.
24612 (__inline_mathop): Likewise. All callers changed.
24613 [__USE_MISC] (scalbn): Use __inline_forward instead of
24614 __inline_forward_c.
24615 [__USE_ISOC99] (scalbln): Likewise.
24616 [__USE_ISOC99] (nearbyint): Likewise.
24617 [__USE_ISOC99] (lrint): Likewise.
24618 [__USE_MISC] (scalbnf): Likewise.
24619 [__USE_ISOC99] (scalblnf): Likewise.
24620 [__USE_ISOC99] (nearbyintf): Likewise.
24621 [__USE_ISOC99] (lrintf): Likewise.
24622 [__USE_MISC] (scalbnl): Likewise.
24623 [__USE_ISOC99] (scalblnl): Likewise.
24624 [__USE_ISOC99] (nearbyintl): Likewise.
24625 [__USE_ISOC99] (lrintl): Likewise.
24626 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
24627 __inline_mathop and __m81_defun changed.
24628
8e52f573
JM
24629 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
24630 CPU or FPU for ARM hard-float configurations.
24631
1421f39b
JM
246322017-12-18 Joseph Myers <joseph@codesourcery.com>
24633
40c4162d
JM
24634 * nptl/tst-attr3.c: Include <libc-diag.h>.
24635 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
24636
5983df32
JM
24637 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
24638
1421f39b
JM
24639 * string/tester.c (test_strncat): Also disable -Warray-bounds
24640 warnings for two tests.
24641
00c714df
L
246422017-12-18 H.J. Lu <hongjiu.lu@intel.com>
24643
24644 [BZ #22614]
24645 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
24646 $(cc-pie-default) == yes.
24647 * config.make.in (cc-pie-default): New.
24648 * configure.ac (libc_cv_pie_default): Renamed to ...
24649 (libc_cv_cc_pie_default): This.
24650 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
24651 * configure: Regenerated.
24652
8e1472d2
FW
246532017-12-18 Florian Weimer <fweimer@redhat.com>
24654
24655 [BZ #20204]
24656 ld.so: Harden dl-libc/libdl hooks.
24657 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
24658 (rtld_active): New function.
24659 * dlfcn/dladdr.c (__dladdr): Call it.
24660 * dlfcn/dladdr1.c (__dladdr1): Likewise.
24661 * dlfcn/dlclose.c (__dlcose): Likewise.
24662 * dlfcn/dlerror.c (__dlerror): Likewise.
24663 * dlfcn/dlinfo.c (__dlinfo): Likewise.
24664 * dlfcn/dlmopen.c (__dlmopen): Likewise.
24665 * dlfcn/dlopen.c (__dlopen): Likewise.
24666 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
24667 * dlfcn/dlsym.c (__dlsym): Likewise.
24668 * dlfcn/dlvsym.c (__dlvsym): Likewise.
24669 * libio/vtables.c (_IO_vtable_check): Likewise.
24670 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
24671 (__libc_dlclose): Likewise.
24672 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
24673 assignment.
24674
49b036bc
JM
246752017-12-18 Joseph Myers <joseph@codesourcery.com>
24676
24677 [BZ #22446]
24678 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
24679 buffers for readlink input and output.
24680
368b6c8d
ST
246812017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
24682
c85c564d
ST
24683 [BZ #22624]
24684 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
24685 inhibit_stack_protector.
24686
368b6c8d
ST
24687 [BZ #22624]
24688 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
24689 inhibit_stack_protector.
24690
bb195224
DL
246912017-12-18 Dmitry V. Levin <ldv@altlinux.org>
24692
24693 [BZ #22627]
24694 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
24695 code and invocation.
24696
14d886ed
SN
246972017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
24698
24699 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
24700
7d38eb38
AJ
247012017-12-16 Aurelien Jarno <aurelien@aurel32.net>
24702
24703 [BZ #22505]
24704 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
24705
2e77deef
RS
247062017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24707
24708 * sysdeps/s390/fpu/libm-test-ulps: Update.
24709
0b9bef6d
RS
247102017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24711
24712 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24713
984ae996
RS
247142017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24715
24716 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
24717 constants to s_sincosf.h file.
24718 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24719 * sysdeps/ieee754/flt-32/s_sincosf.c: New
24720 implementation.
24721 * sysdeps/ieee754/flt-32/s_sincosf.h:
24722 New file.
24723
363e4519 247242017-12-12 Carlos O'Donell <carlos@redhat.com>
93930ea9
CD
24725
24726 [BZ #14681]
24727 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
24728 before mtrace.
24729
9d7a3741
L
247302017-12-15 H.J. Lu <hongjiu.lu@intel.com>
24731
24732 [BZ #19574]
24733 * INSTALL: Regenerated.
24734 * Makeconfig (real-static-start-installed-name): New.
24735 (pic-default): Updated for --enable-static-pie.
24736 (pie-default): New for --enable-static-pie.
24737 (default-pie-ldflag): Likewise.
24738 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
24739 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
24740 Replace $(static-start-installed-name) with
24741 $(real-static-start-installed-name).
24742 (+prectorT): Updated for --enable-static-pie.
24743 (+postctorT): Likewise.
24744 (CFLAGS-.o): Add $(pie-default).
24745 (CFLAGS-.op): Likewise.
24746 * NEWS: Mention --enable-static-pie.
24747 * config.h.in (ENABLE_STATIC_PIE): New.
24748 * configure.ac (--enable-static-pie): New configure option.
24749 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
24750 (have-static-pie): Likewise.
24751 Enable static PIE if linker supports --no-dynamic-linker.
24752 (ENABLE_STATIC_PIE): New AC_DEFINE.
24753 (enable-static-pie): New LIBC_CONFIG_VAR.
24754 * configure: Regenerated.
24755 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
24756 gr$(start-installed-name) for --enable-static-pie.
24757 (extra-objs): Likewise.
24758 (install-lib): Likewise.
24759 (extra-objs): Add static-reloc.o and static-reloc.os
24760 ($(objpfx)$(start-installed-name)): Also depend on
24761 $(objpfx)static-reloc.o.
24762 ($(objpfx)r$(start-installed-name)): New.
24763 ($(objpfx)g$(start-installed-name)): Also depend on
24764 $(objpfx)static-reloc.os.
24765 ($(objpfx)gr$(start-installed-name)): New.
24766 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
24767 in libc.a.
24768 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
24769 initimage.
24770 * csu/static-reloc.c: New file.
24771 * elf/Makefile (routines): Add dl-reloc-static-pie.
24772 (elide-routines.os): Likewise.
24773 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
24774 (tst-tls1-static-non-pie-no-pie): New.
24775 * elf/dl-reloc-static-pie.c: New file.
24776 * elf/dl-support.c (_dl_get_dl_main_map): New function.
24777 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
24778 STATIC_PIE_BOOTSTRAP.
24779 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
24780 * gmon/Makefile (tests): Add tst-gmon-static-pie.
24781 (tests-static): Likewise.
24782 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
24783 (tst-gmon-static-no-pie): New.
24784 (CFLAGS-tst-gmon-static-pie.c): Likewise.
24785 (CRT-tst-gmon-static-pie): Likewise.
24786 (tst-gmon-static-pie-ENV): Likewise.
24787 (tests-special): Likewise.
24788 ($(objpfx)tst-gmon-static-pie.out): Likewise.
24789 (clean-tst-gmon-static-pie-data): Likewise.
24790 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
24791 * gmon/tst-gmon-static-pie.c: New file.
24792 * manual/install.texi: Document --enable-static-pie.
24793 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
24794 (_dl_get_dl_main_map): Likewise.
24795 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
24796 * sysdeps/x86_64/configure.ac: Likewise.
24797 * sysdeps/i386/configure: Regenerated.
24798 * sysdeps/x86_64/configure: Likewise.
24799 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
24800 (ASFLAGS-.op): Likewise.
24801
95511aab
JM
248022017-12-15 Joseph Myers <joseph@codesourcery.com>
24803
24804 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
24805 * posix/tst-mmap-offset.c (fname): Use /tmp.
24806 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
24807
a7e3edf4
SE
248082017-12-15 Steve Ellcey <sellcey@cavium.com>
24809
24810 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
24811
d232f2e1
TS
248122017-12-15 Thomas Schwinge <thomas@codesourcery.com>
24813
24814 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
24815 errno.
24816
174edbde
JM
248172017-12-15 Joseph Myers <joseph@codesourcery.com>
24818
5170fa49
JM
24819 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
24820 --with-float=hard for arm-linux-gnueabihf configurations.
24821
f2da2fd8
JM
24822 [BZ #14121]
24823 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
24824 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
24825 ($(mo-installed)): Use $(objpfx)%.mo.
24826 (realclean): Remove rule.
24827
0c4fe28d
JM
24828 * po/Makefile (linguas): Remove rule and dependencies.
24829 (linguas.mo): Likewise.
24830 (.PHONY): Do not depend on linguas and linguas.mo.
24831 (podir): Remove variable.
24832 (pofiles): Likewise.
24833 [$(pofiles)] (%.po): Remove rule.
24834
174edbde
JM
24835 * sysdeps/sparc/sparc32/Makefile
24836 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
24837 start-of-line whitespace in argument of echo.
24838 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
24839 with whitespace. Generate __wrap_.udiv alias.
24840 * sysdeps/sparc/sparc32/rem.S: Regenerated.
24841 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24842 * sysdeps/sparc/sparc32/udiv.S: Likewise.
24843 * sysdeps/sparc/sparc32/urem.S: Likewise.
24844
1e36806f
RS
248452017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24846
24847 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
24848 for aligned inputs.
24849
aa6932aa
SP
248502017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
24851
5f1603c3
SP
24852 * benchtests/bench-strcmp.c: Print output in JSON format.
24853
aa6932aa
SP
24854 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
24855
3ff3dfa5
FW
248562017-12-14 Florian Weimer <fweimer@redhat.com>
24857
24858 [BZ #22607]
24859 CVE-2017-1000409
24860 * elf/dl-load.c (_dl_init_paths): Compute number of components in
24861 the expanded path string.
24862
8a0b17e4
FW
248632017-12-14 Florian Weimer <fweimer@redhat.com>
24864
24865 [BZ #22606]
24866 CVE-2017-1000408
24867 * elf/dl-load.c (system_dirs): Update comment.
24868 (nsystem_dirs_len): Use array_length.
24869 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
24870
f58bd7f0
FW
248712017-12-14 Florian Weimer <fweimer@redhat.com>
24872
24873 Simplify compiling most of support/ outside of glibc.
24874 * support/check_addrinfo.c: Include <string.h>.
24875 * support/check_dns_packet.c: Likewise.
24876 * support/check_hostent.c: Likewise.
24877 * support/support_can_chroot.c: Include <support/xunistd.h>.
24878 * support/support_format_addrinfo.c: Include <stdlib.h>
24879 * support/support_format_dns_packet.c: Include <stdbool.h>.
24880 * support/support_format_hostent.c: Include <stdlib.h>.
24881 * support/support_format_netent.c: Likewise.
24882 * support/support_write_string.c: Include <support/xunistd.h>.
24883 * support/xdlfcn.c: Include <stddef.h>.
24884
4ca945e9
L
248852017-12-14 H.J. Lu <hongjiu.lu@intel.com>
24886
24887 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
24888
1b6e07f8
PM
248892017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
24890 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24891
e6a1c5dc
PM
24892 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24893 (sysdeps_routines): Add memset-niagara7.
24894 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
24895 Likewise.
24896 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
24897 file.
24898 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
24899 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
24900 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
24901 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
24902 Add niagara7 option.
24903 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
24904 memset.
24905
1b6e07f8
PM
24906 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24907 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
24908 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
24909 Likewise.
24910 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
24911 New file.
24912 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
24913 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
24914 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
24915 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
24916 and __memmove_niagara7.
24917 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
24918 Add niagara7 option.
24919 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
24920 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
24921 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
24922 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
24923 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
24924
bfb7bf22
JM
249252017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
24926
767a26d6
JM
24927 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
24928 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
24929 * sysdeps/sparc/sparc64/memmove.S: Likewise.
24930 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
24931
bfb7bf22
JM
24932 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
24933 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
24934 _dl_sparc_cap_flags array.
24935 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
24936
2bce01eb
SP
249372017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
24938
24939 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
24940 time whenever possible.
24941
363e4519 249422017-12-12 Carlos O'Donell <carlos@redhat.com>
243b6333
CD
24943
24944 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
24945 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
24946
6f7c0092
JM
249472017-12-12 Joseph Myers <joseph@codesourcery.com>
24948
24949 * soft-fp/fmadf4.c: Move to ....
24950 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
24951 * soft-fp/fmasf4.c: Move to ....
24952 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
24953 * soft-fp/fmatf4.c: Move to ....
24954 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
24955 * sysdeps/ieee754/soft-fp/Makefile: New file.
24956 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
24957 * sysdeps/arm/preconfigure: Regenerated.
24958 * sysdeps/arm/nofpu/Implies: New file.
24959 * sysdeps/arm/s_fma.c: Remove file.
24960 * sysdeps/arm/s_fmaf.c: Likewise.
24961 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
24962 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
24963 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
24964 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
24965 * sysdeps/microblaze/s_fma.c: Remove file.
24966 * sysdeps/microblaze/s_fmaf.c: Likewise.
24967 * sysdeps/mips/mips32/nofpu/Implies: New file.
24968 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
24969 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
24970 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
24971 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
24972 * sysdeps/mips/ieee754/s_fma.c: Remove file.
24973 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
24974 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
24975 implementation.
24976 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
24977 * sysdeps/nios2/s_fma.c: Remove file.
24978 * sysdeps/nios2/s_fmaf.c: Likewise.
24979 * sysdeps/sh/nofpu/Implies: New file.
24980 * sysdeps/sh/s_fma.c: Remove file.
24981 * sysdeps/sh/s_fmaf.c: Likewise.
24982 * sysdeps/tile/Implies: Add ieee754/soft-fp.
24983 * sysdeps/tile/s_fma.c: Remove file.
24984 * sysdeps/tile/s_fmaf.c: Likewise.
24985
ac817e08
L
249862017-12-12 H.J. Lu <hongjiu.lu@intel.com>
24987
24988 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24989 Add s_cosf-sse2 and s_cosf-fma.
24990 (CFLAGS-s_cosf-fma.c): New.
24991 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
24992 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
24993 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
24994
eb428576
SE
249952017-12-12 Steve Ellcey <sellcey@cavium.com>
24996
24997 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
24998
c80acdc3
AZ
249992017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25000
cc683f7e
AZ
25001 * libio/Makefile (tests): Add tst-bz22415.
25002 (tst-bz22415-ENV): New rule.
25003 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
25004 (tests-special): Add tst-bz22415-mem.out.
25005 ($(objpfx)tst-bz22415-mem.out): New rule.
25006 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
25007 in case of a successful seek operation.
25008 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25009 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
25010 buffer is required.
25011 * libio/tst-bz22415.c: New test.
25012
c80acdc3
AZ
25013 * sysdeps/ia64/fpu/libm-test-ulps: Update.
25014
363e4519 250152017-12-12 James Clarke <jrtc27@jrtc27.com>
89bd8016
JC
25016
25017 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
25018 __IPC_64 to 0 to avoid IPC_64 being set.
25019
4e0dca54
SN
250202017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
25021
25022 [BZ #22593]
25023 * math/bits/mathcalls.h (nextafter): Remove const.
25024 (nexttoward): Likewise.
25025
8df5d347
JM
250262017-12-12 Joseph Myers <joseph@codesourcery.com>
25027
25028 * configure.ac (--with-fp): Remove configure option.
25029 (with_fp_cond): New variable.
25030 (libc_cv_with_fp): New configure test. Use this variable instead
25031 of with_fp.
25032 * configure: Regenerated.
25033 * config.make.in (with-fp): Use @libc_cv_with_fp@.
25034 * manual/install.texi (Configuring and compiling): Remove
25035 --without-fp.
25036 * INSTALL: Regenerated.
25037 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
25038 * sysdeps/mips/preconfigure (with_fp_cond): Define.
25039 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
25040 * sysdeps/sh/preconfigure (with_fp_cond): Define.
25041 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
25042 use --without-fp to configure glibc.
25043
0cee1257
RJ
250442017-12-12 Rical Jasan <ricaljasan@pacific.net>
25045
25046 * manual/locale.texi (nl_langinfo): Fix a typo.
25047
363e4519 250482017-12-12 Aurelien Jarno <aurelien@aurel32.net>
f54ad2f9
AJ
25049
25050 [BZ #22588]
25051 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
25052
36975e8e
L
250532017-12-11 H.J. Lu <hongjiu.lu@intel.com>
25054
25055 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
25056 (CFLAGS-argp-parse.c): Likewise.
25057 (CFLAGS-argp-fmtstream.c): Likewise.
25058 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
25059 (CPPFLAGS-sha512-crypt.c): Likewise.
25060 (CPPFLAGS-md5-crypt.c): Likewise.
25061 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
25062 (CFLAGS-stack_chk_fail_local.c): Likewise.
25063 (CFLAGS-backtrace.c): Likewise.
25064 (CFLAGS-sprintf_chk.c): Likewise.
25065 (CFLAGS-snprintf_chk.c): Likewise.
25066 (CFLAGS-vsprintf_chk.c): Likewise.
25067 (CFLAGS-vsnprintf_chk.c): Likewise.
25068 (CFLAGS-asprintf_chk.c): Likewise.
25069 (CFLAGS-vasprintf_chk.c): Likewise.
25070 (CFLAGS-obprintf_chk.c): Likewise.
25071 (CFLAGS-dprintf_chk.c): Likewise.
25072 (CFLAGS-vdprintf_chk.c): Likewise.
25073 (CFLAGS-printf_chk.c): Likewise.
25074 (CFLAGS-fprintf_chk.c): Likewise.
25075 (CFLAGS-vprintf_chk.c): Likewise.
25076 (CFLAGS-vfprintf_chk.c): Likewise.
25077 (CFLAGS-gets_chk.c): Likewise.
25078 (CFLAGS-fgets_chk.c): Likewise.
25079 (CFLAGS-fgets_u_chk.c): Likewise.
25080 (CFLAGS-fread_chk.c): Likewise.
25081 (CFLAGS-fread_u_chk.c): Likewise.
25082 (CFLAGS-swprintf_chk.c): Likewise.
25083 (CFLAGS-vswprintf_chk.c): Likewise.
25084 (CFLAGS-wprintf_chk.c): Likewise.
25085 (CFLAGS-fwprintf_chk.c): Likewise.
25086 (CFLAGS-vwprintf_chk.c): Likewise.
25087 (CFLAGS-vfwprintf_chk.c): Likewise.
25088 (CFLAGS-fgetws_chk.c): Likewise.
25089 (CFLAGS-fgetws_u_chk.c): Likewise.
25090 (CFLAGS-read_chk.c): Likewise.
25091 (CFLAGS-pread_chk.c): Likewise.
25092 (CFLAGS-pread64_chk.c): Likewise.
25093 (CFLAGS-recv_chk.c): Likewise.
25094 (CFLAGS-recvfrom_chk.c): Likewise.
25095 (CFLAGS-tst-longjmp_chk.c): Likewise.
25096 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
25097 (CFLAGS-tst-longjmp_chk2.c): Likewise.
25098 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
25099 (CFLAGS-tst-longjmp_chk3.c): Likewise.
25100 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
25101 (CFLAGS-tst-chk1.c): Likewise.
25102 (CFLAGS-tst-chk2.c): Likewise.
25103 (CFLAGS-tst-chk3.c): Likewise.
25104 (CFLAGS-tst-chk4.cc): Likewise.
25105 (CFLAGS-tst-chk5.cc): Likewise.
25106 (CFLAGS-tst-chk6.cc): Likewise.
25107 (CFLAGS-tst-lfschk1.c): Likewise.
25108 (CFLAGS-tst-lfschk2.c): Likewise.
25109 (CFLAGS-tst-lfschk3.c): Likewise.
25110 (CFLAGS-tst-lfschk4.cc): Likewise.
25111 (CFLAGS-tst-lfschk5.cc): Likewise.
25112 (CFLAGS-tst-lfschk6.cc): Likewise.
25113 (CFLAGS-tst-ssp-1.c): Likewise.
25114 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
25115 (CFLAGS-scandir64.c): Likewise.
25116 (CFLAGS-scandir-tail.c): Likewise.
25117 (CFLAGS-scandir64-tail.c): Likewise.
25118 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
25119 (CFLAGS-dl-tunables.c): Likewise.
25120 (CFLAGS-dl-runtime.c): Likewise.
25121 (CFLAGS-dl-lookup.c): Likewise.
25122 (CFLAGS-dl-iterate-phdr.c): Likewise.
25123 (CFLAGS-vismain.c): Likewise.
25124 (CFLAGS-tst-linkall-static.c): Likewise.
25125 (CFLAGS-tst-linkall-static.c): Likewise.
25126 (CPPFLAGS-dl-load.c): Likewise.
25127 (CFLAGS-ldconfig.c): Likewise.
25128 (CFLAGS-dl-cache.c): Likewise.
25129 (CFLAGS-cache.c): Likewise.
25130 (CFLAGS-rtld.c): Likewise.
25131 (CFLAGS-multiload.c): Likewise.
25132 (CFLAGS-filtmod1.c): Likewise.
25133 (CFLAGS-tst-align.c): Likewise.
25134 (CFLAGS-tst-align2.c): Likewise.
25135 (CFLAGS-tst-alignmod.c): Likewise.
25136 (CFLAGS-tst-alignmod2.c): Likewise.
25137 (CPPFLAGS-tst-execstack.c): Likewise.
25138 (CFLAGS-tst-ptrguard1-static.c): Likewise.
25139 (CFLAGS-tst-latepthreadmod.c): Likewise.
25140 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
25141 (CFLAGS-getgrnam_r.c): Likewise.
25142 (CFLAGS-getgrent_r.c): Likewise.
25143 (CFLAGS-getgrent.c): Likewise.
25144 (CFLAGS-fgetgrent.c): Likewise.
25145 (CFLAGS-fgetgrent_r.c): Likewise.
25146 (CFLAGS-putgrent.c): Likewise.
25147 (CFLAGS-initgroups.c): Likewise.
25148 (CFLAGS-getgrgid.c): Likewise.
25149 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
25150 (CFLAGS-getsgent.c): Likewise.
25151 (CFLAGS-fgetsgent.c): Likewise.
25152 (CFLAGS-fgetsgent_r.c): Likewise.
25153 (CFLAGS-putsgent.c): Likewise.
25154 (CFLAGS-getsgnam.c): Likewise.
25155 (CFLAGS-getsgnam_r.c): Likewise.
25156 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
25157 (CFLAGS-iconv_charmap.c): Likewise.
25158 (CFLAGS-dummy-repertoire.c): Likewise.
25159 (CFLAGS-charmap.c): Likewise.
25160 (CFLAGS-linereader.c): Likewise.
25161 (CFLAGS-simple-hash.c): Likewise.
25162 (CFLAGS-gconv_conf.c): Likewise.
25163 (CFLAGS-iconvconfig.c): Likewise.
25164 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
25165 (CFLAGS-gethstbyad.c): Likewise.
25166 (CFLAGS-gethstbynm_r.c): Likewise.
25167 (CFLAGS-gethstbynm.c): Likewise.
25168 (CFLAGS-gethstbynm2_r.c): Likewise.
25169 (CFLAGS-gethstbynm2.c): Likewise.
25170 (CFLAGS-gethstent_r.c): Likewise.
25171 (CFLAGS-gethstent.c): Likewise.
25172 (CFLAGS-rcmd.c): Likewise.
25173 (CFLAGS-getnetbynm_r.c): Likewise.
25174 (CFLAGS-getnetbynm.c): Likewise.
25175 (CFLAGS-getnetbyad_r.c): Likewise.
25176 (CFLAGS-getnetbyad.c): Likewise.
25177 (CFLAGS-getnetent_r.c): Likewise.
25178 (CFLAGS-getnetent.c): Likewise.
25179 (CFLAGS-getaliasent_r.c): Likewise.
25180 (CFLAGS-getaliasent.c): Likewise.
25181 (CFLAGS-getrpcent_r.c): Likewise.
25182 (CFLAGS-getrpcent.c): Likewise.
25183 (CFLAGS-getservent_r.c): Likewise.
25184 (CFLAGS-getservent.c): Likewise.
25185 (CFLAGS-getprtent_r.c): Likewise.
25186 (CFLAGS-getprtent.c): Likewise.
25187 (CFLAGS-either_ntoh.c): Likewise.
25188 (CFLAGS-either_hton.c): Likewise.
25189 (CFLAGS-getnetgrent.c): Likewise.
25190 (CFLAGS-getnetgrent_r.c): Likewise.
25191 (CFLAGS-tst-checks-posix.c): Likewise.
25192 (CFLAGS-tst-sockaddr.c): Likewise.
25193 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
25194 (CFLAGS-tst-translit.c): Likewise.
25195 (CFLAGS-tst-gettext2.c): Likewise.
25196 (CFLAGS-tst-codeset.c): Likewise.
25197 (CFLAGS-tst-gettext3.c): Likewise.
25198 (CFLAGS-tst-gettext4.c): Likewise.
25199 (CFLAGS-tst-gettext5.c): Likewise.
25200 (CFLAGS-tst-gettext6.c): Likewise.
25201 * io/Makefile (CFLAGS-open.c): Likewise.
25202 (CFLAGS-open64.c): Likewise.
25203 (CFLAGS-creat.c): Likewise.
25204 (CFLAGS-creat64.c): Likewise.
25205 (CFLAGS-fcntl.c): Likewise.
25206 (CFLAGS-poll.c): Likewise.
25207 (CFLAGS-ppoll.c): Likewise.
25208 (CFLAGS-lockf.c): Likewise.
25209 (CFLAGS-statfs.c): Likewise.
25210 (CFLAGS-fstatfs.c): Likewise.
25211 (CFLAGS-statvfs.c): Likewise.
25212 (CFLAGS-fstatvfs.c): Likewise.
25213 (CFLAGS-fts.c): Likewise.
25214 (CFLAGS-fts64.c): Likewise.
25215 (CFLAGS-ftw.c): Likewise.
25216 (CFLAGS-ftw64.c): Likewise.
25217 (CFLAGS-lockf.c): Likewise.
25218 (CFLAGS-posix_fallocate.c): Likewise.
25219 (CFLAGS-posix_fallocate64.c): Likewise.
25220 (CFLAGS-fallocate.c): Likewise.
25221 (CFLAGS-fallocate64.c): Likewise.
25222 (CFLAGS-read.c): Likewise.
25223 (CFLAGS-write.c): Likewise.
25224 (CFLAGS-test-stat.c): Likewise.
25225 (CFLAGS-test-lfs.c): Likewise.
25226 * libio/Makefile (CFLAGS-fileops.c): Likewise.
25227 (CFLAGS-fputc.c): Likewise.
25228 (CFLAGS-fputwc.c): Likewise.
25229 (CFLAGS-freopen64.c): Likewise.
25230 (CFLAGS-freopen.c): Likewise.
25231 (CFLAGS-fseek.c): Likewise.
25232 (CFLAGS-fseeko64.c): Likewise.
25233 (CFLAGS-fseeko.c): Likewise.
25234 (CFLAGS-ftello64.c): Likewise.
25235 (CFLAGS-ftello.c): Likewise.
25236 (CFLAGS-fwide.c): Likewise.
25237 (CFLAGS-genops.c): Likewise.
25238 (CFLAGS-getc.c): Likewise.
25239 (CFLAGS-getchar.c): Likewise.
25240 (CFLAGS-getwc.c): Likewise.
25241 (CFLAGS-getwchar.c): Likewise.
25242 (CFLAGS-iofclose.c): Likewise.
25243 (CFLAGS-iofflush.c): Likewise.
25244 (CFLAGS-iofgetpos64.c): Likewise.
25245 (CFLAGS-iofgetpos.c): Likewise.
25246 (CFLAGS-iofgets.c): Likewise.
25247 (CFLAGS-iofgetws.c): Likewise.
25248 (CFLAGS-iofputs.c): Likewise.
25249 (CFLAGS-iofputws.c): Likewise.
25250 (CFLAGS-iofread.c): Likewise.
25251 (CFLAGS-iofsetpos64.c): Likewise.
25252 (CFLAGS-iofsetpos.c): Likewise.
25253 (CFLAGS-ioftell.c): Likewise.
25254 (CFLAGS-iofwrite.c): Likewise.
25255 (CFLAGS-iogetdelim.c): Likewise.
25256 (CFLAGS-iogetline.c): Likewise.
25257 (CFLAGS-iogets.c): Likewise.
25258 (CFLAGS-iogetwline.c): Likewise.
25259 (CFLAGS-ioputs.c): Likewise.
25260 (CFLAGS-ioseekoff.c): Likewise.
25261 (CFLAGS-ioseekpos.c): Likewise.
25262 (CFLAGS-iosetbuffer.c): Likewise.
25263 (CFLAGS-iosetvbuf.c): Likewise.
25264 (CFLAGS-ioungetc.c): Likewise.
25265 (CFLAGS-ioungetwc.c): Likewise.
25266 (CFLAGS-oldfileops.c): Likewise.
25267 (CFLAGS-oldiofclose.c): Likewise.
25268 (CFLAGS-oldiofgetpos64.c): Likewise.
25269 (CFLAGS-oldiofgetpos.c): Likewise.
25270 (CFLAGS-oldiofsetpos64.c): Likewise.
25271 (CFLAGS-oldiofsetpos.c): Likewise.
25272 (CFLAGS-peekc.c): Likewise.
25273 (CFLAGS-putc.c): Likewise.
25274 (CFLAGS-putchar.c): Likewise.
25275 (CFLAGS-putwc.c): Likewise.
25276 (CFLAGS-putwchar.c): Likewise.
25277 (CFLAGS-rewind.c): Likewise.
25278 (CFLAGS-wfileops.c): Likewise.
25279 (CFLAGS-wgenops.c): Likewise.
25280 (CFLAGS-oldiofopen.c): Likewise.
25281 (CFLAGS-iofopen.c): Likewise.
25282 (CFLAGS-iofopen64.c): Likewise.
25283 (CFLAGS-oldtmpfile.c): Likewise.
25284 (CFLAGS-tst_putwc.c): Likewise.
25285 * locale/Makefile (CFLAGS-md5.c): Likewise.
25286 (CFLAGS-charmap.c): Likewise.
25287 (CFLAGS-locfile.c): Likewise.
25288 (CFLAGS-charmap-dir.c): Likewise.
25289 * login/Makefile (CFLAGS-grantpt.c): Likewise.
25290 (CFLAGS-getpt.c): Likewise.
25291 (CFLAGS-pt_chown.c): Likewise.
25292 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
25293 (CFLAGS-obstack.c): Likewise.
25294 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
25295 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
25296 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
25297 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
25298 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
25299 (CFLAGS-test-tgmath.c): Likewise.
25300 (CFLAGS-test-tgmath2.c): Likewise.
25301 (CFLAGS-test-tgmath-ret.c): Likewise.
25302 (CFLAGS-test-powl.c): Likewise.
25303 (CFLAGS-test-snan.c): Likewise.
25304 (CFLAGS-test-signgam-finite.c): Likewise.
25305 (CFLAGS-test-signgam-finite-c99.c): Likewise.
25306 (CFLAGS-test-signgam-finite-c11.c): Likewise.
25307 (CFLAGS-test-signgam-uchar.c): Likewise.
25308 (CFLAGS-test-signgam-uchar-init.c): Likewise.
25309 (CFLAGS-test-signgam-uchar-static.c): Likewise.
25310 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
25311 (CFLAGS-test-signgam-uint.c): Likewise.
25312 (CFLAGS-test-signgam-uint-init.c): Likewise.
25313 (CFLAGS-test-signgam-uint-static.c): Likewise.
25314 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
25315 (CFLAGS-test-signgam-ullong.c): Likewise.
25316 (CFLAGS-test-signgam-ullong-init.c): Likewise.
25317 (CFLAGS-test-signgam-ullong-static.c): Likewise.
25318 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
25319 (CFLAGS-test-math-cxx11.cc): Likewise.
25320 (CFLAGS-test-math-isinff.cc): Likewise.
25321 (CFLAGS-test-math-iszero.cc): Likewise.
25322 (CFLAGS-test-math-issignaling.cc): Likewise.
25323 (CFLAGS-test-math-iscanonical.cc): Likewise.
25324 (CFLAGS-test-iszero-excess-precision.c): Likewise.
25325 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
25326 (CFLAGS-test-flt-eval-method.c): Likewise.
25327 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
25328 (CFLAGS-test-finite-macros.c): Likewise.
25329 * misc/Makefile (CFLAGS-select.c): Likewise.
25330 (CFLAGS-tsearch.c): Likewise.
25331 (CFLAGS-lsearch.c): Likewise.
25332 (CFLAGS-pselect.c): Likewise.
25333 (CFLAGS-readv.c): Likewise.
25334 (CFLAGS-writev.c): Likewise.
25335 (CFLAGS-preadv.c): Likewise.
25336 (CFLAGS-preadv64.c): Likewise.
25337 (CFLAGS-pwritev.c): Likewise.
25338 (CFLAGS-pwritev64.c): Likewise.
25339 (CFLAGS-preadv2.c): Likewise.
25340 (CFLAGS-preadv64v2.c): Likewise.
25341 (CFLAGS-pwritev2.c): Likewise.
25342 (CFLAGS-pwritev64v2.c): Likewise.
25343 (CFLAGS-usleep.c): Likewise.
25344 (CFLAGS-syslog.c): Likewise.
25345 (CFLAGS-error.c): Likewise.
25346 (CFLAGS-getpass.c): Likewise.
25347 (CFLAGS-mkstemp.c): Likewise.
25348 (CFLAGS-mkstemp64.c): Likewise.
25349 (CFLAGS-getsysstats.c): Likewise.
25350 (CFLAGS-getusershell.c): Likewise.
25351 (CFLAGS-err.c): Likewise.
25352 (CFLAGS-tst-tsearch.c): Likewise.
25353 (CFLAGS-msync.c): Likewise.
25354 (CFLAGS-fdatasync.c): Likewise.
25355 (CFLAGS-fsync.c): Likewise.
25356 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
25357 (CFLAGS-unwind.c): Likewise.
25358 (CFLAGS-unwind-forcedunwind.c): Likewise.
25359 (CFLAGS-pthread_cancel.c): Likewise.
25360 (CFLAGS-pthread_setcancelstate.c): Likewise.
25361 (CFLAGS-pthread_setcanceltype.c): Likewise.
25362 (CFLAGS-cancellation.c): Likewise.
25363 (CFLAGS-libc-cancellation.c): Likewise.
25364 (CFLAGS-pthread_exit.c): Likewise.
25365 (CFLAGS-forward.c): Likewise.
25366 (CFLAGS-pthread_testcancel.c): Likewise.
25367 (CFLAGS-pthread_join.c): Likewise.
25368 (CFLAGS-pthread_timedjoin.c): Likewise.
25369 (CFLAGS-pthread_once.c): Likewise.
25370 (CFLAGS-pthread_cond_wait.c): Likewise.
25371 (CFLAGS-sem_wait.c): Likewise.
25372 (CFLAGS-sem_timedwait.c): Likewise.
25373 (CFLAGS-fcntl.c): Likewise.
25374 (CFLAGS-lockf.c): Likewise.
25375 (CFLAGS-pread.c): Likewise.
25376 (CFLAGS-pread64.c): Likewise.
25377 (CFLAGS-pwrite.c): Likewise.
25378 (CFLAGS-pwrite64.c): Likewise.
25379 (CFLAGS-wait.c): Likewise.
25380 (CFLAGS-waitpid.c): Likewise.
25381 (CFLAGS-sigwait.c): Likewise.
25382 (CFLAGS-msgrcv.c): Likewise.
25383 (CFLAGS-msgsnd.c): Likewise.
25384 (CFLAGS-tcdrain.c): Likewise.
25385 (CFLAGS-open.c): Likewise.
25386 (CFLAGS-open64.c): Likewise.
25387 (CFLAGS-pause.c): Likewise.
25388 (CFLAGS-recv.c): Likewise.
25389 (CFLAGS-send.c): Likewise.
25390 (CFLAGS-accept.c): Likewise.
25391 (CFLAGS-sendto.c): Likewise.
25392 (CFLAGS-connect.c): Likewise.
25393 (CFLAGS-recvfrom.c): Likewise.
25394 (CFLAGS-recvmsg.c): Likewise.
25395 (CFLAGS-sendmsg.c): Likewise.
25396 (CFLAGS-close.c): Likewise.
25397 (CFLAGS-read.c): Likewise.
25398 (CFLAGS-write.c): Likewise.
25399 (CFLAGS-nanosleep.c): Likewise.
25400 (CFLAGS-sigsuspend.c): Likewise.
25401 (CFLAGS-msync.c): Likewise.
25402 (CFLAGS-fdatasync.c): Likewise.
25403 (CFLAGS-fsync.c): Likewise.
25404 (CFLAGS-pt-system.c): Likewise.
25405 (CFLAGS-tst-cleanup2.c): Likewise.
25406 (CFLAGS-tst-cleanupx2.c): Likewise.
25407 (CFLAGS-flockfile.c): Likewise.
25408 (CFLAGS-ftrylockfile.c): Likewise.
25409 (CFLAGS-funlockfile.c): Likewise.
25410 (CFLAGS-tst-initializers1.c): Likewise.
25411 (CFLAGS-tst-initializers1-c89.c): Likewise.
25412 (CFLAGS-tst-initializers1-c99.c): Likewise.
25413 (CFLAGS-tst-initializers1-c11.c): Likewise.
25414 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
25415 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
25416 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
25417 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
25418 (CFLAGS-nscd_getgr_r.c): Likewise.
25419 (CFLAGS-nscd_gethst_r.c): Likewise.
25420 (CFLAGS-nscd_getai.c): Likewise.
25421 (CFLAGS-nscd_initgroups.c): Likewise.
25422 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
25423 (CFLAGS-pause.c): Likewise.
25424 (CFLAGS-pread.c): Likewise.
25425 (CFLAGS-pread64.c): Likewise.
25426 (CFLAGS-pwrite.c): Likewise.
25427 (CFLAGS-pwrite64.c): Likewise.
25428 (CFLAGS-sleep.c): Likewise.
25429 (CFLAGS-wait.c): Likewise.
25430 (CFLAGS-waitid.c): Likewise.
25431 (CFLAGS-waitpid.c): Likewise.
25432 (CFLAGS-getopt.c): Likewise.
25433 (CFLAGS-wordexp.c): Likewise.
25434 (CFLAGS-sysconf.c): Likewise.
25435 (CFLAGS-pathconf.c): Likewise.
25436 (CFLAGS-fpathconf.c): Likewise.
25437 (CFLAGS-spawn.c): Likewise.
25438 (CFLAGS-spawnp.c): Likewise.
25439 (CFLAGS-spawni.c): Likewise.
25440 (CFLAGS-glob.c): Likewise.
25441 (CFLAGS-glob64.c): Likewise.
25442 (CFLAGS-getconf.c): Likewise.
25443 (CFLAGS-nanosleep.c): Likewise.
25444 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
25445 (CFLAGS-getpwent.c): Likewise.
25446 (CFLAGS-getpw.c): Likewise.
25447 (CFLAGS-fgetpwent_r.c): Likewise.
25448 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
25449 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
25450 (CFLAGS-mq_timedreceive.c): Likewise.
25451 (CFLAGS-mq_timedsend.c): Likewise.
25452 (CFLAGS-clock_nanosleep.c): Likewise.
25453 (CFLAGS-librt-cancellation.c): Likewise.
25454 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
25455 (CFLAGS-getspent.c): Likewise.
25456 (CFLAGS-fgetspent.c): Likewise.
25457 (CFLAGS-fgetspent_r.c): Likewise.
25458 (CFLAGS-putspent.c): Likewise.
25459 (CFLAGS-getspnam.c): Likewise.
25460 (CFLAGS-getspnam_r.c): Likewise.
25461 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
25462 (CFLAGS-sigsuspend.c): Likewise.
25463 (CFLAGS-sigtimedwait.c): Likewise.
25464 (CFLAGS-sigwait.c): Likewise.
25465 (CFLAGS-sigwaitinfo.c): Likewise.
25466 (CFLAGS-sigreturn.c): Likewise.
25467 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
25468 (CFLAGS-vfwprintf.c): Likewise.
25469 (CFLAGS-tmpfile.c): Likewise.
25470 (CFLAGS-tmpfile64.c): Likewise.
25471 (CFLAGS-tempname.c): Likewise.
25472 (CFLAGS-psignal.c): Likewise.
25473 (CFLAGS-vprintf.c): Likewise.
25474 (CFLAGS-cuserid.c): Likewise.
25475 (CFLAGS-errlist.c): Likewise.
25476 (CFLAGS-siglist.c): Likewise.
25477 (CFLAGS-scanf15.c): Likewise.
25478 (CFLAGS-scanf17.c): Likewise.
25479 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
25480 (CFLAGS-msort.c): Likewise.
25481 (CFLAGS-qsort.c): Likewise.
25482 (CFLAGS-system.c): Likewise.
25483 (CFLAGS-fmtmsg.c): Likewise.
25484 (CFLAGS-strfmon.c): Likewise.
25485 (CFLAGS-strfmon_l.c): Likewise.
25486 (CFLAGS-strfromd.c): Likewise.
25487 (CFLAGS-strfromf.c): Likewise.
25488 (CFLAGS-strfroml.c): Likewise.
25489 (CFLAGS-tst-bsearch.c): Likewise.
25490 (CFLAGS-tst-qsort.c): Likewise.
25491 (CFLAGS-tst-makecontext2.c): Likewise.
25492 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
25493 (CFLAGS-xnlm_prot.c): Likewise.
25494 (CFLAGS-xrstat.c): Likewise.
25495 (CFLAGS-xyppasswd.c): Likewise.
25496 (CFLAGS-xklm_prot.c): Likewise.
25497 (CFLAGS-xrex.c): Likewise.
25498 (CFLAGS-xsm_inter.c): Likewise.
25499 (CFLAGS-xmount.c): Likewise.
25500 (CFLAGS-xrusers.c): Likewise.
25501 (CFLAGS-xspray.c): Likewise.
25502 (CFLAGS-xnfs_prot.c): Likewise.
25503 (CFLAGS-xrquota.c): Likewise.
25504 (CFLAGS-xkey_prot.c): Likewise.
25505 (CFLAGS-auth_unix.c): Likewise.
25506 (CFLAGS-key_call.c): Likewise.
25507 (CFLAGS-pmap_rmt.c): Likewise.
25508 (CFLAGS-clnt_perr.c): Likewise.
25509 (CFLAGS-openchild.c): Likewise.
25510 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
25511 (CFLAGS-msgsnd.c): Likewise.
25512 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
25513 * time/Makefile (CFLAGS-tzfile.c): Likewise.
25514 (CFLAGS-tzset.c): Likewise.
25515 (CFLAGS-getdate.c): Likewise.
25516 (CFLAGS-test_time.c): Likewise.
25517 (CPPFLAGS-tst-tzname.c): Likewise.
25518 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
25519 (CFLAGS-zic.c): Likewise.
25520 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
25521 (CFLAGS-wcswidth.c): Likewise.
25522 (CFLAGS-wcstol.c): Likewise.
25523 (CFLAGS-wcstoul.c): Likewise.
25524 (CFLAGS-wcstoll.c): Likewise.
25525 (CFLAGS-wcstoull.c): Likewise.
25526 (CFLAGS-wcstod.c): Likewise.
25527 (CFLAGS-wcstold.c): Likewise.
25528 (CFLAGS-wcstof128.c): Likewise.
25529 (CFLAGS-wcstof.c): Likewise.
25530 (CFLAGS-wcstol_l.c): Likewise.
25531 (CFLAGS-wcstoul_l.c): Likewise.
25532 (CFLAGS-wcstoll_l.c): Likewise.
25533 (CFLAGS-wcstoull_l.c): Likewise.
25534 (CFLAGS-wcstod_l.c): Likewise.
25535 (CFLAGS-wcstold_l.c): Likewise.
25536 (CFLAGS-wcstof128_l.c): Likewise.
25537 (CFLAGS-wcstof_l.c): Likewise.
25538 (CPPFLAGS-tst-wchar-h.c): Likewise.
25539 (CPPFLAGS-wcstold_l.c): Likewise.
583dd860 25540
f4b2aea6
PC
255412017-12-11 Paul A. Clarke <pc@us.ibm.com>
25542
25543 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
25544
c9cd7b0c
AZ
255452017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25546 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25547
25548 * manual/tunables.texi (Hardware Capability Tunables): Document
25549 glibc.tune.cached_memopt.
25550 * sysdeps/powerpc/cpu-features.c: New file.
25551 * sysdeps/powerpc/cpu-features.h: New file.
25552 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
25553 _dl_powerpc_cpu_features.
25554 * sysdeps/powerpc/dl-tunables.list: New file.
25555 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
25556 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
25557 (INIT_ARCH): Initialize use_aligned_memopt.
25558 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
25559 IS_IN(rtld))]: Restrict dl_platform_init availability and
25560 initialize CPU features used by tunables.
25561 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
25562 Add memcpy-power8-cached.
25563 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
25564 __memcpy_power8_cached.
25565 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
25566 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
25567 New file.
25568
e70c6fee
L
255692017-12-11 H.J. Lu <hongjiu.lu@intel.com>
25570
25571 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
25572 (CFLAGS-noinl-tester.c): Likewise.
25573 (CFLAGS-tst-strlen.c): Likewise.
25574 (CFLAGS-stratcliff.c): Likewise.
25575 (CFLAGS-test-ffs.c): Likewise.
25576 (CFLAGS-tst-inlcall.c): Likewise.
25577 (CFLAGS-tst-xbzero-opt.c): Likewise.
25578 (CFLAGS-memcpy.c): Likewise.
25579 (CFLAGS-wordcopy.c): Likewise.
25580
dee94366
SL
255812017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
25582
25583 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
25584 Store r15 on stack and add cfi rule.
25585 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
25586 Likewise.
25587
363e4519 255882017-12-10 Aurelien Jarno <aurelien@aurel32.net>
f648728c
AJ
25589
25590 [BZ #22577]
25591 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
25592 call.
25593
9d0ffa60
L
255942017-12-07 H.J. Lu <hongjiu.lu@intel.com>
25595
25596 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25597 Add s_sinf-sse2 and s_sinf-fma.
25598 (CFLAGS-s_sinf-fma.c): New.
25599 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
25600 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
25601 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
25602
9574c7b6
L
256032017-12-07 H.J. Lu <hongjiu.lu@intel.com>
25604
25605 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
25606
d15e83c5
JM
256072017-12-07 Joseph Myers <joseph@codesourcery.com>
25608
25609 [BZ #22568]
25610 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
25611 part of result to imaginary part of argument if it is zero and the
25612 real part of the argument is not finite.
25613 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
25614 of result to real part of argument if it is zero and the imaginary
25615 part of the argument is not finite.
25616
d89756eb
MF
256172017-12-07 Mike FABIAN <mfabian@redhat.com>
25618
25619 [BZ #22524]
25620 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
25621 and to the list of locales to be built for testing.
25622 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
25623 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
25624 and build the collation rules upon that.
25625
1f9055ce
JM
256262017-12-07 Joseph Myers <joseph@codesourcery.com>
25627
25628 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
25629 * manual/math.texi (Mathematics): Document support for _Float32.
25630 * math/Makefile (test-types): Add float32.
25631 * math/Versions (GLIBC_2.27): Add _Float32 functions.
25632 * stdlib/Versions (GLIBC_2.27): Likewise.
25633 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25634 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25635 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25636 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25637 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25638 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25639 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25640 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25641 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25642 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25643 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25644 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25645 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25646 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25647 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25648 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25649 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25650 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25651 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25652 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25653 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25654 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
25655 Likewise.
25656 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25657 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25658 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25659 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25660 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25662 Likewise.
25663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25664 Likewise.
25665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25666 Likewise.
25667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25668 Likewise.
25669
25670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25671 Likewise.
25672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
25673 Likewise.
25674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25675 Likewise.
25676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25677 Likewise.
25678 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25679 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25680 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25681 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25682 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25683 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25684 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25685 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25686 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25687 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25688 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25689 Likewise.
25690 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25691 Likewise.
25692 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25693 Likewise.
25694 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25695 Likewise.
25696 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25697 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25698 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25699 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25700 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25701 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25702 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25703 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25704
5244527d
JM
257052017-12-06 Joseph Myers <joseph@codesourcery.com>
25706
fb1ca2aa
JM
25707 * stdlib/strtof.c: Include <bits/floatn.h>
25708 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
25709 and later undefine as macro. Define as weak alias if
25710 [!USE_WIDE_CHAR].
25711 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
25712 and later undefine as macro. Define as weak alias if
25713 [USE_WIDE_CHAR].
25714 * stdlib/strtof_l.c: Include <bits/floatn.h>
25715 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
25716 and later undefine as macro. Define as weak alias if
25717 [!USE_WIDE_CHAR].
25718 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
25719 and later undefine as macro. Define as weak alias if
25720 [USE_WIDE_CHAR].
25721
fc10cc3f
JM
25722 * stdlib/strfromf.c: Include <bits/floatn.h>.
25723 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
25724 and later undefine as macro and define as weak alias.
25725
e420d228
JM
25726 * math/test-float32.h: New file.
25727
26007a2f
JM
25728 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
25729 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
25730 (libm_alias_float_other_r): Create f32 alias.
25731 (libm_alias_float_r): Use semicolon before call to
25732 libm_alias_float_other_r.
25733
c191f64c
JM
25734 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
25735 second argument to libm_alias_float_other.
25736 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
25737 second argument to libm_alias_float_other.
25738 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
25739 argument to libm_alias_float_other.
25740
5244527d
JM
25741 [BZ #22561]
25742 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
25743 real part of result for argument 0 + i * NaN.
25744 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
25745 results for tests of 0 + i * NaN.
25746
d73fac82
AZ
257472017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25748
25749 * sysdeps/alpha/fpu/libm-test-ulps: Update.
25750
7ec094e8
DM
257512017-12-06 David S. Miller <davem@davemloft.net>
25752
25753 * sysdeps/sparc/fpu/libm-test-ulps: Update
25754 exp_{downward,towardzero,upward} ulps.
25755
53994f12
JM
257562017-12-06 Joseph Myers <joseph@codesourcery.com>
25757
1dbe6f64
JM
25758 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
25759 variables static.
25760
53994f12
JM
25761 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
25762 (Y0_2D): Likewise.
25763 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
25764 (Y0_2D): Likewise.
25765 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
25766 (Y0_2D): Likewise.
25767 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
25768 (Y0_2D): Likewise.
25769
62ea2193
MF
257702017-12-06 Mike FABIAN <mfabian@redhat.com>
25771
25772 [BZ #22515]
25773 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
25774 and to the list of locales to be built for testing.
25775 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
25776 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
25777 and build the collation rules upon that.
25778
87235d70
RS
257792017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25780
25781 * NEWS: Add sinf to list of optimized functions.
25782
0d93b7fd
JM
257832017-12-06 Joseph Myers <joseph@codesourcery.com>
25784
25785 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
25786 (__HAVE_FLOAT32X): Likewise.
25787 * manual/math.texi (Mathematics): Document support for _Float64
25788 and _Float32x.
25789 * math/Makefile (test-types): Add float64 and float32x.
25790 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
25791 functions.
25792 * stdlib/Versions (GLIBC_2.27): Likewise.
25793 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25794 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25795 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25796 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25797 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25798 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25799 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25800 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25801 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25802 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25803 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25804 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25805 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25806 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25807 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25808 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25809 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25810 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25811 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25812 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25813 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25814 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
25815 Likewise.
25816 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25817 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25818 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25819 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25820 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25822 Likewise.
25823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25824 Likewise.
25825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25826 Likewise.
25827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25828 Likewise.
25829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25830 Likewise.
25831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
25832 Likewise.
25833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25834 Likewise.
25835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25836 Likewise.
25837 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25838 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25839 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25840 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25841 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25842 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25843 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25844 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25845 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25846 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25847 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25848 Likewise.
25849 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25850 Likewise.
25851 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25852 Likewise.
25853 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25854 Likewise.
25855 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25856 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25857 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25858 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25859 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25860 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25861 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25862 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25863
f7787234
JM
258642017-12-05 Joseph Myers <joseph@codesourcery.com>
25865
25866 * bits/floatn-common.h: Include <bits/long-double.h>.
25867 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25868 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
25869 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25870 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
25871 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25872 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
25873 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25874 (__builtin_huge_valf64): Use __builtin_huge_vall.
25875 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25876 (__builtin_inff64): Use __builtin_infl.
25877 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25878 (__builtin_nanf64): Use __builtin_nanl.
25879 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25880 (__builtin_nansf64): Use __builtin_nansl.
25881
363e4519
DL
258822017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
25883 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
e6855a3b 25884 Carlos O'Donell <carlos@redhat.com>
07ed18d2
RA
25885
25886 * elf/dl-tunables.list: Add elision parameters.
25887 * manual/tunables.texi: Add entries about elision tunable.
25888 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
25889 Add callback functions to dynamically enable/disable elision.
25890 Add multiple callbacks functions to set elision parameters.
25891 Deleted __libc_enable_secure check.
25892 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
25893 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
25894 * configure: Regenerated.
25895 * configure.ac: Option enable_lock_elision was deleted.
25896 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
25897 * config.make.in: Remove references to enable_lock_elision.
25898 * manual/install.texi: Elision configure option was removed.
25899 * INSTALL: Regenerated to remove enable_lock_elision.
25900 * nptl/Makefile:
25901 Disable elision so it can verify error case for destroying a mutex.
25902 * sysdeps/powerpc/nptl/elide.h:
25903 Cleanup ENABLE_LOCK_ELISION check.
25904 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
25905 * sysdeps/s390/configure: Regenerated.
25906 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
25907 * nptl/tst-mutex8.c:
25908 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
25909 * sysdeps/powerpc/powerpc32/sysdep.h:
25910 Deleted all ENABLE_LOCK_ELISION checks.
25911 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25912 * sysdeps/powerpc/sysdep.h: Likewise.
25913 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
25914 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
25915 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
25916 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
25917 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25918 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
25919 enable-lock-elision.
25920
a5a2a76b
JM
259212017-12-05 Joseph Myers <joseph@codesourcery.com>
25922
25923 * stdlib/strtod.c: Include <bits/floatn.h>.
25924 (BUILD_DOUBLE): New macro.
25925 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25926 (strtof64): Define and later undefine as macro. Define as weak
25927 alias if [!USE_WIDE_CHAR].
25928 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25929 (wcstof64): Define and later undefine as macro. Define as weak
25930 alias if [USE_WIDE_CHAR].
25931 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25932 (strtof32x): Define and later undefine as macro. Define as weak
25933 alias if [!USE_WIDE_CHAR].
25934 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25935 (wcstof32x): Define and later undefine as macro. Define as weak
25936 alias if [USE_WIDE_CHAR].
25937 * stdlib/strtod_l.c: Include <bits/floatn.h>.
25938 (BUILD_DOUBLE): New macro.
25939 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25940 (strtof64_l): Define and later undefine as macro. Define as weak
25941 alias if [!USE_WIDE_CHAR].
25942 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25943 (wcstof64_l): Define and later undefine as macro. Define as weak
25944 alias if [USE_WIDE_CHAR].
25945 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25946 (strtof32x_l): Define and later undefine as macro. Define as weak
25947 alias if [!USE_WIDE_CHAR].
25948 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25949 (wcstof32x_l): Define and later undefine as macro. Define as weak
25950 alias if [USE_WIDE_CHAR].
25951
94d80dfc
AZ
259522017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25953
25954 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
25955 (reduced): Use ones as double instead of integer.
25956
00d54af7
SN
259572017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
25958
25959 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
25960
f2d64d62
JM
259612017-12-05 Joseph Myers <joseph@codesourcery.com>
25962
1f70eae4
JM
25963 * stdlib/strfromd.c: Include <bits/floatn.h>.
25964 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
25965 and later undefine as macro and define as weak alias.
25966 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
25967 Likewise.
25968
e2c4dce5
JM
25969 * math/test-float32x.h: New file.
25970 * math/test-float64.h: Likewise.
25971
f2d64d62
JM
25972 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
25973 (libm_alias_double_other_r_f64): New macro.
25974 (libm_alias_double_other_r_f32x): Likewise.
25975 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
25976 libm_alias_double_other_r_f32x.
25977 (libm_alias_double_r): Use semicolon before call to
25978 libm_alias_double_other_r.
25979 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
25980 <bits/floatn.h>.
25981 (libm_alias_double_other_r_f64): New macro.
25982 (libm_alias_double_other_r_f32x): Likewise.
25983 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
25984 libm_alias_double_other_r_f32x.
25985
91c318e7
L
259862017-12-05 H.J. Lu <hongjiu.lu@intel.com>
25987
25988 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
25989 int.
25990 (SINF_FUNC): Likewise. Replace floor with simple casts.
25991
de9661d6
MF
259922017-12-05 Mike FABIAN <mfabian@redhat.com>
25993
25994 [BZ #22517]
25995 * localedata/Makefile: Add et_EE.UTF-8 to test-input
25996 and to the list of locales to be built for testing.
25997 * localedata/et_EE.UTF-8.in: New file for testing the collation.
25998 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
25999 and build the collation rules upon that.
26000
f18b8dc7
CM
260012017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
26002
26003 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
26004 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
26005 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
26006 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
26007 instead of __insn__xxx.
26008 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
26009 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
26010 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
26011 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
26012 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
26013 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
26014
446d22e9
FW
260152017-12-05 Florian Weimer <fweimer@redhat.com>
26016
26017 Linux: Implement interfaces for memory protection keys
26018 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
26019 xsignal, xsysconf.
26020 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
26021 * support/xunistd.h (xsysconf): Declare.
26022 * support/xraise.c: New file.
26023 * support/xsigaction.c: Likewise.
26024 * support/xsignal.c: Likewise.
26025 * support/xsysconf.c: Likewise.
26026 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
26027 pkey_set, pkey_get, pkey_mprotect.
26028 [misc] (tests): Add tst-pkey.
26029 (tst-pkey): Link with -lpthread.
26030 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
26031 pkey_free, pkey_set, pkey_get, pkey_mprotect.
26032 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
26033 (PKEY_DISABLE_WRITE): Define.
26034 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
26035 Declare.
26036 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
26037 (SEGV_PKUERR): Add.
26038 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
26039 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
26040 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
26041 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
26042 Add.
26043 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
26044 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
26045 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
26046 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
26047 * sysdeps/unix/sysv/linux/**.abilist: Update.
26048
da616c14
FW
260492017-12-05 Florian Weimer <fweimer@redhat.com>
26050
26051 * support/tst-test_compare.c (subprocess): Use long long instead
26052 of long argument for consistent type width across 32-bit and
26053 64-bit architectures.
26054 (do_test): Adjust expected output.
26055
216933b2
JM
260562017-12-05 Joseph Myers <joseph@codesourcery.com>
26057
26058 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
26059 (cosf): Define using libm_alias_float.
26060 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
26061 (fabsf): Define using libm_alias_float.
26062 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
26063 (fmaf): Define using libm_alias_float.
26064 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
26065 (rintf): Define using libm_alias_float.
26066 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
26067 (sinf): Define using libm_alias_float.
26068 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
26069 <libm-alias-float.h>.
26070 (modff): Define using libm_alias_float.
26071 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
26072 <libm-alias-float.h>.
26073 (logbf): Define using libm_alias_float.
26074 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
26075 <libm-alias-float.h>.
26076 (ceilf): Define using libm_alias_float.
26077 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
26078 <libm-alias-float.h>.
26079 (copysignf): Define using libm_alias_float.
26080 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
26081 <libm-alias-float.h>.
26082 (floorf): Define using libm_alias_float.
26083 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
26084 <libm-alias-float.h>.
26085 (llrintf): Define using libm_alias_float.
26086 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
26087 <libm-alias-float.h>.
26088 (llroundf): Define using libm_alias_float.
26089 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
26090 <libm-alias-float.h>.
26091 (lrintf): Define using libm_alias_float.
26092 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
26093 <libm-alias-float.h>.
26094 (lroundf): Define using libm_alias_float.
26095 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
26096 <libm-alias-float.h>.
26097 (nearbyintf): Define using libm_alias_float.
26098 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
26099 <libm-alias-float.h>.
26100 (rintf): Define using libm_alias_float.
26101 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
26102 <libm-alias-float.h>.
26103 (roundf): Define using libm_alias_float.
26104 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
26105 <libm-alias-float.h>.
26106 (truncf): Define using libm_alias_float.
26107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
26108 Include <libm-alias-float.h>.
26109 (ceilf): Define using libm_alias_float.
26110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
26111 Include <libm-alias-float.h>.
26112 (copysignf): Define using libm_alias_float.
26113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
26114 Include <libm-alias-float.h>.
26115 (floorf): Define using libm_alias_float.
26116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
26117 Include <libm-alias-float.h>.
26118 (llrintf): Define using libm_alias_float.
26119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
26120 Include <libm-alias-float.h>.
26121 (llroundf): Define using libm_alias_float.
26122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
26123 Include <libm-alias-float.h>.
26124 (logbf): Define using libm_alias_float.
26125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
26126 Include <libm-alias-float.h>.
26127 (lrintf): Define using libm_alias_float.
26128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
26129 Include <libm-alias-float.h>.
26130 (lroundf): Define using libm_alias_float.
26131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
26132 Include <libm-alias-float.h>.
26133 (modff): Define using libm_alias_float.
26134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
26135 Include <libm-alias-float.h>.
26136 (roundf): Define using libm_alias_float.
26137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
26138 Include <libm-alias-float.h>.
26139 (truncf): Define using libm_alias_float.
26140 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
26141 <libm-alias-float.h>.
26142 (llrintf): Define using libm_alias_float.
26143 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
26144 <libm-alias-float.h>.
26145 (llroundf): Define using libm_alias_float.
26146 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
26147 <libm-alias-float.h>.
26148 (ceilf): Define using libm_alias_float.
26149 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
26150 <libm-alias-float.h>.
26151 (floorf): Define using libm_alias_float.
26152 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
26153 <libm-alias-float.h>.
26154 (llroundf): Define using libm_alias_float.
26155 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
26156 <libm-alias-float.h>.
26157 (lroundf): Define using libm_alias_float.
26158 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
26159 <libm-alias-float.h>.
26160 (roundf): Define using libm_alias_float.
26161 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
26162 <libm-alias-float.h>.
26163 (truncf): Define using libm_alias_float.
26164 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
26165 <libm-alias-float.h>.
26166 (copysignf): Define using libm_alias_float.
26167 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
26168 <libm-alias-float.h>.
26169 (llrintf): Define using libm_alias_float.
26170 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
26171 <libm-alias-float.h>.
26172 (llroundf): Define using libm_alias_float.
26173 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
26174 <libm-alias-float.h>.
26175 (lrintf): Define using libm_alias_float.
26176 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
26177 <libm-alias-float.h>.
26178 (lroundf): Define using libm_alias_float.
26179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
26180 <libm-alias-float.h>.
26181 (ceilf): Define using libm_alias_float.
26182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
26183 <libm-alias-float.h>.
26184 (copysignf): Define using libm_alias_float.
26185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
26186 <libm-alias-float.h>.
26187 (cosf): Define using libm_alias_float.
26188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
26189 <libm-alias-float.h>.
26190 (floorf): Define using libm_alias_float.
26191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
26192 <libm-alias-float.h>.
26193 (llrintf): Define using libm_alias_float.
26194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
26195 <libm-alias-float.h>.
26196 (llroundf): Define using libm_alias_float.
26197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
26198 <libm-alias-float.h>.
26199 (logbf): Define using libm_alias_float.
26200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
26201 <libm-alias-float.h>.
26202 (modff): Define using libm_alias_float.
26203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
26204 <libm-alias-float.h>.
26205 (roundf): Define using libm_alias_float.
26206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
26207 <libm-alias-float.h>.
26208 (sinf): Define using libm_alias_float.
26209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
26210 <libm-alias-float.h>.
26211 (truncf): Define using libm_alias_float.
26212 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
26213 <libm-alias-float.h>.
26214 (ceilf): Define using libm_alias_float.
26215 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
26216 <libm-alias-float.h>.
26217 (copysignf): Define using libm_alias_float.
26218 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
26219 <libm-alias-float.h>.
26220 (floorf): Define using libm_alias_float.
26221 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
26222 <libm-alias-float.h>.
26223 (llrintf): Define using libm_alias_float.
26224 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
26225 <libm-alias-float.h>.
26226 (llroundf): Define using libm_alias_float.
26227 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
26228 <libm-alias-float.h>.
26229 (nearbyintf): Define using libm_alias_float.
26230 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
26231 <libm-alias-float.h>.
26232 (rintf): Define using libm_alias_float.
26233 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
26234 <libm-alias-float.h>.
26235 (roundf): Define using libm_alias_float.
26236 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
26237 <libm-alias-float.h>.
26238 (truncf): Define using libm_alias_float.
26239 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
26240 <libm-alias-float.h>.
26241 (ceilf): Define using libm_alias_float.
26242 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
26243 <libm-alias-float.h>.
26244 (floorf): Define using libm_alias_float.
26245 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
26246 <libm-alias-float.h>.
26247 (llroundf): Define using libm_alias_float.
26248 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
26249 <libm-alias-float.h>.
26250 (roundf): Define using libm_alias_float.
26251 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
26252 <libm-alias-float.h>.
26253 (truncf): Define using libm_alias_float.
26254 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
26255 <libm-alias-float.h>.
26256 (copysignf): Define using libm_alias_float.
26257 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
26258 <libm-alias-float.h>.
26259 (llrintf): Define using libm_alias_float.
26260 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
26261 <libm-alias-float.h>.
26262 (llroundf): Define using libm_alias_float.
26263 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
26264 <libm-alias-float.h>.
26265 (cosf): Define using libm_alias_float.
26266 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
26267 <libm-alias-float.h>.
26268 (llrintf): Define using libm_alias_float.
26269 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
26270 <libm-alias-float.h>.
26271 (llroundf): Define using libm_alias_float.
26272 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
26273 <libm-alias-float.h>.
26274 (sinf): Define using libm_alias_float.
26275
93485524
FW
262762017-12-04 Florian Weimer <fweimer@redhat.com>
26277
26278 * support/check.h (TEST_COMPARE): Define.
26279 (support_test_compare_failure): Declare.
26280 * support/Makefile (libsupport-routines): Add
26281 support_test_compare_failure.
26282 (tests): Add tst-test_compare.
26283 * support /support_test_compare_failure.c: New file.
26284 * support/tst-test_compare.c: Likewise.
26285
96b06a19
MF
262862017-12-04 Mike FABIAN <mfabian@redhat.com>
26287
26288 [BZ #22527]
26289 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
26290 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
26291 available, this rewrite of the collation rules does reproduce
26292 the test file in the same order.
26293
1f6d91f3
MF
262942017-12-04 Mike FABIAN <mfabian@redhat.com>
26295
26296 [BZ #10580]
26297 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
26298 digraphs in the month and day names. Using single code points for
26299 digraphs is deprecated. While there are dedicated Unicode
26300 codepoints, for the digraphs, these are included for backwards
26301 compatibility and modern texts use a sequence of Basic Latin
26302 characters. See: https://www.unicode.org/faq/ligature_digraph.html
26303 This makes the month and day names agree exactly with CLDR now,
26304 CLDR does not use the single code points for the digraphs either.
26305
2e49fed8
CM
263062017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
26307
26308 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
26309
73895b49
JM
263102017-12-04 Joseph Myers <joseph@codesourcery.com>
26311
26312 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
26313 of floor.
26314
4c1d801a
SP
263152017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
26316
26317 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
26318 Define only for libc.so.
26319
478593e6
SL
263202017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
26321
26322 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26323 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
6b5c8607 26324 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
478593e6
SL
26325 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
26326 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26327
7863a711
RS
263282017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26329
26330 [BZ #5997]
26331 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
26332
800a496a
JDA
263332017-12-02 John David Anglin <danglin@gcc.gnu.org>
26334
b3f7fb12
JDA
26335 [BZ libc/19170]
26336 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
26337 PREINIT_FUNCTION_WEAK is nonzero.
26338 (gmon_initializer): New function. Put procedure label for it in
26339 .init_array section.
26340 (_init): Don't call PREINIT_FUNCTION.
26341 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
26342 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
26343 value when map argument is null.
26344
800a496a
JDA
26345 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
26346 depi instruction from PIC pc-relative sequence.
26347 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
26348 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
26349 (elf_machine_load_address): Likewise.
26350 (elf_machine_runtime_setup): Likewise.
26351
d17542d2
JM
263522017-12-02 Joseph Myers <joseph@codesourcery.com>
26353
26354 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
26355 <libm-alias-double.h>.
26356 (logb): Define using libm_alias_double.
26357 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
26358 <libm-alias-double.h>.
26359 (copysign): Define using libm_alias_double.
26360 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
26361 <libm-alias-double.h>.
26362 (llrint): Define using libm_alias_double.
26363 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
26364 <libm-alias-double.h>.
26365 (llround): Define using libm_alias_double.
26366 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
26367 <libm-alias-double.h>.
26368 (lrint): Define using libm_alias_double.
26369 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
26370 <libm-alias-double.h>.
26371 (lround): Define using libm_alias_double.
26372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
26373 Include <libm-alias-double.h>.
26374 (copysign): Define using libm_alias_double.
26375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
26376 Include <libm-alias-double.h>.
26377 (llrint): Define using libm_alias_double.
26378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
26379 Include <libm-alias-double.h>.
26380 (llround): Define using libm_alias_double.
26381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
26382 <libm-alias-double.h>.
26383 (logb): Define using libm_alias_double.
26384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
26385 Include <libm-alias-double.h>.
26386 (lrint): Define using libm_alias_double.
26387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
26388 Include <libm-alias-double.h>.
26389 (lround): Define using libm_alias_double.
26390 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
26391 <libm-alias-double.h>.
26392 (llrint): Define using libm_alias_double.
26393 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
26394 <libm-alias-double.h>.
26395 (llround): Define using libm_alias_double.
26396 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
26397 <libm-alias-double.h>.
26398 (llround): Define using libm_alias_double.
26399 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
26400 <libm-alias-double.h>.
26401 (lround): Define using libm_alias_double.
26402 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
26403 <libm-alias-double.h>.
26404 (copysign): Define using libm_alias_double.
26405 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
26406 <libm-alias-double.h>.
26407 (llrint): Define using libm_alias_double.
26408 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
26409 <libm-alias-double.h>.
26410 (llround): Define using libm_alias_double.
26411 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
26412 <libm-alias-double.h>.
26413 (lrint): Define using libm_alias_double.
26414 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
26415 <libm-alias-double.h>.
26416 (lround): Define using libm_alias_double.
26417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
26418 <libm-alias-double.h>.
26419 (copysign): Define using libm_alias_double.
26420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
26421 <libm-alias-double.h>.
26422 (llrint): Define using libm_alias_double.
26423 (lrint): Likewise.
26424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
26425 <libm-alias-double.h>.
26426 (llround): Define using libm_alias_double.
26427 (lround): Likewise.
26428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
26429 <libm-alias-double.h>.
26430 (logb): Define using libm_alias_double.
26431 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
26432 <libm-alias-double.h>.
26433 (copysign): Define using libm_alias_double.
26434 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
26435 <libm-alias-double.h>.
26436 (llrint): Define using libm_alias_double.
26437 (lrint): Likewise.
26438 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
26439 <libm-alias-double.h>.
26440 (llround): Define using libm_alias_double.
26441 (lround): Likewise.
26442 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
26443 <libm-alias-double.h>.
26444 (llround): Define using libm_alias_double.
26445 (lround): Likewise.
26446 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
26447 <libm-alias-double.h>.
26448 (copysign): Define using libm_alias_double.
26449 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
26450 <libm-alias-double.h>.
26451 (llrint): Define using libm_alias_double.
26452 (lrint): Likewise.
26453 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
26454 <libm-alias-double.h>.
26455 (llround): Define using libm_alias_double.
26456 (lround): Likewise.
26457 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
26458 <libm-alias-double.h>.
26459 (llrint): Define using libm_alias_double.
26460 (lrint): Likewise.
26461 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
26462 <libm-alias-double.h>.
26463 (llround): Define using libm_alias_double.
26464 (lround): Likewise.
26465
ec2cf3f4
JM
264662017-12-01 Joseph Myers <joseph@codesourcery.com>
26467
0ddde474
JM
26468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
26469 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
26470 compat symbol based on llround.
26471
0d5ba561
JM
26472 * sysdeps/powerpc/power7/fpu/s_logb.c
26473 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
26474 symbol based on __logb, not on logb.
26475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
26476 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
26477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
26478 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
26479
51ea3b20
JM
26480 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
26481 (rint): Define using libm_alias_double.
26482 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
26483 <libm-alias-double.h>.
26484 (modf): Define using libm_alias_double.
26485 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
26486 <libm-alias-double.h>.
26487 (ceil): Define using libm_alias_double.
26488 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
26489 <libm-alias-double.h>.
26490 (floor): Define using libm_alias_double.
26491 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
26492 <libm-alias-double.h>.
26493 (nearbyint): Define using libm_alias_double.
26494 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
26495 <libm-alias-double.h>.
26496 (rint): Define using libm_alias_double.
26497 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
26498 <libm-alias-double.h>.
26499 (round): Define using libm_alias_double.
26500 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
26501 <libm-alias-double.h>.
26502 (trunc): Define using libm_alias_double.
26503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
26504 <libm-alias-double.h>.
26505 (ceil): Define using libm_alias_double.
26506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
26507 Include <libm-alias-double.h>.
26508 (floor): Define using libm_alias_double.
26509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
26510 <libm-alias-double.h>.
26511 (modf): Define using libm_alias_double.
26512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
26513 Include <libm-alias-double.h>.
26514 (round): Define using libm_alias_double.
26515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
26516 Include <libm-alias-double.h>.
26517 (trunc): Define using libm_alias_double.
26518 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
26519 <libm-alias-double.h>.
26520 (ceil): Define using libm_alias_double.
26521 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
26522 <libm-alias-double.h>.
26523 (floor): Define using libm_alias_double.
26524 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
26525 <libm-alias-double.h>.
26526 (round): Define using libm_alias_double.
26527 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
26528 <libm-alias-double.h>.
26529 (trunc): Define using libm_alias_double.
26530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
26531 <libm-alias-double.h>.
26532 (ceil): Define using libm_alias_double.
26533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
26534 <libm-alias-double.h>.
26535 (floor): Define using libm_alias_double.
26536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
26537 <libm-alias-double.h>.
26538 (modf): Define using libm_alias_double.
26539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
26540 <libm-alias-double.h>.
26541 (round): Define using libm_alias_double.
26542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
26543 <libm-alias-double.h>.
26544 (trunc): Define using libm_alias_double.
26545 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
26546 <libm-alias-double.h>.
26547 (ceil): Define using libm_alias_double.
26548 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
26549 <libm-alias-double.h>.
26550 (floor): Define using libm_alias_double.
26551 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
26552 <libm-alias-double.h>.
26553 (nearbyint): Define using libm_alias_double.
26554 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
26555 <libm-alias-double.h>.
26556 (rint): Define using libm_alias_double.
26557 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
26558 <libm-alias-double.h>.
26559 (round): Define using libm_alias_double.
26560 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
26561 <libm-alias-double.h>.
26562 (trunc): Define using libm_alias_double.
26563 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
26564 <libm-alias-double.h>.
26565 (ceil): Define using libm_alias_double.
26566 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
26567 <libm-alias-double.h>.
26568 (floor): Define using libm_alias_double.
26569 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
26570 <libm-alias-double.h>.
26571 (round): Define using libm_alias_double.
26572 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
26573 <libm-alias-double.h>.
26574 (trunc): Define using libm_alias_double.
26575
ec2cf3f4
JM
26576 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
26577 (fabs): Define using libm_alias_double.
26578 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
26579 (fma): Define using libm_alias_double.
26580 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
26581 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
26582 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
26583 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
26584
5b7bd975
AZ
265852017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26586
0594b13f
AZ
26587 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
26588
dbdfcf3b
AZ
26589 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
26590 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
26591 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
26592
5b7bd975
AZ
26593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
26594 due redirect macro.
26595
ef9ecfa6
AS
265962017-12-01 Andreas Schwab <schwab@linux-m68k.org>
26597
26598 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
26599
5b4e5e78
AZ
266002017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26601
2a14526b
AZ
26602 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
26603 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
26604 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
26605 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
26606
dbeb74ef 26607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1c051a9b
AZ
26608 (libm-sysdep_routines): Add s_nearbyintf-generic and
26609 s_nearbyint-generic.
26610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
26611 New file.
26612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
26613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
26614 Likewise.
26615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
26616 Likewise.
26617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
26618 file.
26619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
26620 Likewise.
26621
26622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
dbeb74ef
AZ
26623 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
26624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
26625 file.
26626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
26627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
26628 Likewise.
26629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
26630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
26631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
26632
fa7ded96
AZ
26633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26634 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
26635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
26636 file.
26637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
26638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
26639 Likewise.
26640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
26641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
26642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
26643
e240cf0e
AZ
26644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26645 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
26646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
26647 file.
26648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
26649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
26650 Likewise.
26651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
26652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
26653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
26654
5b4e5e78
AZ
26655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26656 (sysdep_calls): New rule.
26657 (sysdep_routines): Use sysdep_calls as base.
26658 (libm-sysdep_routines): Add generic rule for symbols shared with
26659 libc. Add s_copysign-generic and s_copysign-generic objects.
26660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
26661 New file.
26662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
26663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
26664 Likewise.
26665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
26666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
26667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
26668
d985adae
MF
266692017-12-01 Mike FABIAN <mfabian@redhat.com>
26670
26671 [BZ #22519]
26672 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
26673 the list of locales to be built for testing.
26674 * localedata/is_IS.UTF-8.in: New file.
26675 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
26676 on iso14651_t1.
26677
ff84a0e0
JM
266782017-12-01 Joseph Myers <joseph@codesourcery.com>
26679
26680 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
26681 <libm-alias-float.h>.
26682 (fabsf): Define using libm_alias_float.
26683
ef5d8b43
L
266842017-11-30 H.J. Lu <hongjiu.lu@intel.com>
26685
26686 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
26687
c0535adf
JM
266882017-11-30 Joseph Myers <joseph@codesourcery.com>
26689
f938b397
JM
26690 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
26691 <libm-alias-float.h>.
26692 (fabsf): Define using libm_alias_float.
26693 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
26694 <libm-alias-float.h>.
26695 (lrintf): Define using libm_alias_float.
26696 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
26697 <libm-alias-float.h>.
26698 (rintf): Define using libm_alias_float.
26699
2251fad0
JM
26700 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
26701 <libm-alias-double.h>.
26702 (fabs): Define using libm_alias_double.
26703 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
26704 <libm-alias-double.h>.
26705 (lrint): Define using libm_alias_double.
26706 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
26707 <libm-alias-double.h>.
26708 (rint): Define using libm_alias_double.
26709
e53df1de
JM
26710 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
26711 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
26712 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
26713 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
26714 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
26715 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
26716 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
26717 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
26718 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
26719 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
26720 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
26721 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
26722 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
26723 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
26724 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
26725 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
26726 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
26727 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
26728 s_atan_template.c.
26729 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
26730 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
26731 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
26732 s_ceil_template.c.
26733 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
26734 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
26735 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
26736 s_cos_template.c.
26737 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
26738 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
26739 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
26740 s_expm1_template.c.
26741 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
26742 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
26743 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
26744 s_fabs_template.c.
26745 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
26746 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
26747 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
26748 s_floor_template.c.
26749 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
26750 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
26751 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
26752 s_frexp_template.c.
26753 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
26754 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
26755 s_lrint_template.c.
26756 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
26757 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
26758 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
26759 s_modf_template.c.
26760 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
26761 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
26762 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
26763 s_nearbyint_template.c.
26764 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
26765 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
26766 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
26767 s_remquo_template.c.
26768 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
26769 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
26770 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
26771 s_rint_template.c.
26772 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
26773 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
26774 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
26775 s_sin_template.c.
26776 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
26777 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
26778 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
26779 s_sincos_template.c.
26780 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
26781 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
26782 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
26783 s_tan_template.c.
26784 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
26785 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
26786 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
26787 s_tanh_template.c.
26788 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
26789 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
26790 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
26791 s_trunc_template.c.
26792 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
26793 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
26794 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
26795 s_atan.c instead of including s_atan.c.
26796 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
26797 s_atanf.c instead of including s_atanf.c.
26798 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
26799 s_atanl.c instead of including s_atanl.c.
26800 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
26801 instead of s_atan.c.
26802 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
26803 instead of s_atanf.c.
26804 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
26805 instead of s_atanl.c.
26806
c0535adf
JM
26807 * scripts/update-copyrights: Do not handle intl/plural.c
26808 specially.
26809
1faaf703
JB
268102017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
26811
26812 [BZ #22432]
26813 * configure.ac (BISON): Require to be present.
26814 * configure: Regenerated.
26815 * intl/Makefile (generated): Add plural.c.
26816 [$(BISON) != no]: Make code unconditional.
26817 (plural.c): Change rule to $(objpfx)plural.c.
26818 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
26819 * intl/plural.c: Remove.
26820 * manual/install.texi (Tools for Compilation): Document bison as
26821 required.
26822 * INSTALL: Regenerated.
26823
faec6323
JM
268242017-11-30 Joseph Myers <joseph@codesourcery.com>
26825
bd6ea9ed
JM
26826 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
26827 <libm-alias-double.h>.
26828 (llrint): Define using libm_alias_double.
26829 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
26830 <libm-alias-float.h>.
26831 (llrintf): Define using libm_alias_float.
26832 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
26833 <libm-alias-ldouble.h>.
26834 (llrintl): Define using libm_alias_ldouble.
26835
faec6323
JM
26836 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
26837 declare_mgen_alias instead of weak_alias.
26838 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
26839 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
26840 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
26841
023cade3
AZ
268422017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26843
9e2279a0
AZ
26844 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26845 Add add_n-generic.
26846 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
26847 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
26848 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
26849
75f37c71
AZ
26850 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26851 Add submul_1-generic.
26852 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
26853 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
26854 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
26855
b70cbbfc 26856 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
dda1d2e8
AZ
26857 Add addmul_1-generic.
26858 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
26859 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
26860 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
26861
26862 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
b70cbbfc
AZ
26863 Add sub_n-generic.
26864 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
26865 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
26866 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
26867
023cade3
AZ
26868 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26869 Add mul_1-generic.
26870 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
26871 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
26872 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
26873
fbb5fd03
MF
268742017-11-30 Mike FABIAN <mfabian@redhat.com>
26875
26876 According to CLDR, collation rules for Serbian and Bosnian
26877 should be the same as for Croatian.
26878
26879 [BZ #22534]
26880 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
26881 and to the list of locales to be built for testing.
26882 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
26883 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
26884 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
26885 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
26886
5e56e937
MF
268872017-11-30 Mike FABIAN <mfabian@redhat.com>
26888
26889 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
26890 to make test case pass.
26891 * localedata/hr_HR.UTF-8.in: Add more test strings.
26892
cf4341ca
MF
268932017-11-30 Mike FABIAN <mfabian@redhat.com>
26894
26895 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
26896
363e4519 268972017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
9ca6b343
DSN
26898
26899 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
26900 the list of locales to built for testing.
26901 * localedata/hr_HR.UTF-8.in: New file.
26902
363e4519 269032017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
37075ae1
DSN
26904
26905 [BZ #10580]
26906 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
26907 iso14651_t1.
26908 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
26909 CLDR (except use ligatures for the digraphs, CLDR does not use
26910 the ligatures), add first_workday, some fixes in the date and time
26911 formats.
26912 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
26913 for Đ and đ.
26914 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
26915 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
26916 Add int_p_cs_precedes and int_n_cs_precedes.
26917 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
26918 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
26919 LC_MONETARY now).
26920 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
26921 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
26922 name_miss.
26923 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
26924 and lang_lib. Change postal_fmt.
26925
f33632cc
L
269262017-11-30 H.J. Lu <hongjiu.lu@intel.com>
26927
26928 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
26929 <setjmp.h>.
26930 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
26931 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
26932 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
26933 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
26934 * sysdeps/generic/setjmpP.h: New file.
26935 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
26936 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
26937 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
26938 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
26939 Add jmp_buf-ssp.sym.
26940 (tests): Add tst-saved_mask-1.
26941
34697694
AS
269422017-11-30 Arjun Shankar <arjun@redhat.com>
26943
26944 [BZ #22375]
37ac8e63 26945 CVE-2017-17426
34697694
AS
26946 * malloc/malloc.c (__libc_malloc): Use checked_request2size
26947 instead of request2size.
26948
3e5efdbd
JM
269492017-11-30 Joseph Myers <joseph@codesourcery.com>
26950
18305fba
JM
26951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
26952 (__lllrint): Remove alias.
26953 (lllrint): Likewise.
26954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
26955 (__lllrintf): Likewise.
26956 (lllrintf): Likewise.
26957
3e5efdbd
JM
26958 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
26959 <libm-alias-float.h>.
26960 (copysignf): Define using libm_alias_float.
26961 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
26962 <libm-alias-float.h>.
26963 (fabsf): Define using libm_alias_float.
26964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26965 Include <libm-alias-float.h>.
26966 (copysignf): Define using libm_alias_float.
26967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
26968 <libm-alias-float.h>.
26969 (fabsf): Define using libm_alias_float.
26970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
26971 <libm-alias-float.h>.
26972 (fdimf): Define using libm_alias_float.
26973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
26974 <libm-alias-float.h>.
26975 (fmaf): Define using libm_alias_float.
26976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
26977 <libm-alias-float.h>.
26978 (llrintf): Define using libm_alias_float.
26979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
26980 Include <libm-alias-float.h>.
26981 (nearbyintf): Define using libm_alias_float.
26982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
26983 <libm-alias-float.h>.
26984 (rintf): Define using libm_alias_float.
26985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
26986 <libm-alias-float.h>.
26987 (llrintf): Define using libm_alias_float.
26988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
26989 <libm-alias-float.h>.
26990 (lrintf): Define using libm_alias_float.
26991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
26992 <libm-alias-float.h>.
26993 (nearbyintf): Define using libm_alias_float.
26994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
26995 <libm-alias-float.h>.
26996 (rintf): Define using libm_alias_float.
26997 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
26998 <libm-alias-float.h>.
26999 (ceilf): Define using libm_alias_float.
27000 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
27001 <libm-alias-float.h>.
27002 (floorf): Define using libm_alias_float.
27003 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
27004 <libm-alias-float.h>.
27005 (fmaf): Define using libm_alias_float.
27006 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
27007 <libm-alias-float.h>.
27008 (lrintf): Define using libm_alias_float.
27009 (llrintf): Likewise.
27010 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
27011 <libm-alias-float.h>.
27012 (nearbyintf): Define using libm_alias_float.
27013 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
27014 <libm-alias-float.h>.
27015 (rintf): Define using libm_alias_float.
27016 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
27017 <libm-alias-float.h>.
27018 (truncf): Define using libm_alias_float.
27019 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
27020 <libm-alias-float.h>.
27021 (copysignf): Define using libm_alias_float.
27022 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
27023 <libm-alias-float.h>.
27024 (fabsf): Define using libm_alias_float.
27025 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
27026 <libm-alias-float.h>.
27027 (lrintf): Define using libm_alias_float.
27028 (llrintf): Likewise.
27029 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
27030 <libm-alias-float.h>.
27031 (nearbyintf): Define using libm_alias_float.
27032 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
27033 <libm-alias-float.h>.
27034 (rintf): Define using libm_alias_float.
27035
011fba7e
JM
270362017-11-29 Joseph Myers <joseph@codesourcery.com>
27037
875cd548
JM
27038 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
27039 <libm-alias-double.h>.
27040 (copysign): Define using libm_alias_double.
27041 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
27042 <libm-alias-double.h>.
27043 (fabs): Define using libm_alias_double.
27044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27045 Include <libm-alias-double.h>.
27046 (copysign): Define using libm_alias_double.
27047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
27048 <libm-alias-double.h>.
27049 (fabs): Define using libm_alias_double.
27050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
27051 <libm-alias-double.h>.
27052 (fdim): Define using libm_alias_double.
27053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
27054 <libm-alias-double.h>.
27055 (fma): Define using libm_alias_double.
27056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
27057 <libm-alias-double.h>.
27058 (llrint): Define using libm_alias_double.
27059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
27060 Include <libm-alias-double.h>.
27061 (nearbyint): Define using libm_alias_double.
27062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
27063 <libm-alias-double.h>.
27064 (rint): Define using libm_alias_double.
27065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
27066 <libm-alias-double.h>.
27067 (fabs): Define using libm_alias_double.
27068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
27069 <libm-alias-double.h>.
27070 (llrint): Define using libm_alias_double.
27071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
27072 <libm-alias-double.h>.
27073 (nearbyint): Define using libm_alias_double.
27074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
27075 <libm-alias-double.h>.
27076 (rint): Define using libm_alias_double.
27077 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
27078 <libm-alias-double.h>.
27079 (ceil): Define using libm_alias_double.
27080 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
27081 <libm-alias-double.h>.
27082 (floor): Define using libm_alias_double.
27083 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
27084 <libm-alias-double.h>.
27085 (fma): Define using libm_alias_double.
27086 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
27087 <libm-alias-double.h>.
27088 (lrint): Define using libm_alias_double.
27089 (llrint): Likewise.
27090 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
27091 <libm-alias-double.h>.
27092 (nearbyint): Define using libm_alias_double.
27093 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
27094 <libm-alias-double.h>.
27095 (rint): Define using libm_alias_double.
27096 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
27097 <libm-alias-double.h>.
27098 (trunc): Define using libm_alias_double.
27099 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
27100 <libm-alias-double.h>.
27101 (copysign): Define using libm_alias_double.
27102 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
27103 <libm-alias-double.h>.
27104 (fabs): Define using libm_alias_double.
27105 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
27106 <libm-alias-double.h>.
27107 (lrint): Define using libm_alias_double.
27108 (llrint): Likewise.
27109 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
27110 <libm-alias-double.h>.
27111 (nearbyint): Define using libm_alias_double.
27112 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
27113 <libm-alias-double.h>.
27114 (rint): Define using libm_alias_double.
27115
cf4ebc27
JM
27116 [BZ #22229]
27117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
27118 <math_ldbl_opt.h>.
27119 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27120
0c097378
JM
27121 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
27122 SPARC --disable-multi-arch glibc variants.
27123
34bb10aa
JM
27124 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
27125 <libm-alias-float.h>.
27126 (exp2f): Define using libm_alias_float, or libm_alias_float_other
27127 if [SHARED].
27128 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
27129 <libm-alias-float.h>.
27130 (exp2f): Define using libm_alias_float, or libm_alias_float_other
27131 if [SHARED].
27132 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
27133 <libm-alias-float.h>.
27134 (exp2f): Define using libm_alias_float, or libm_alias_float_other
27135 if [SHARED].
27136 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
27137 <libm-alias-float.h>.
27138 (exp2f): Define using libm_alias_float, or libm_alias_float_other
27139 if [SHARED].
27140 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
27141 <libm-alias-float.h>.
27142 (exp2f): Define using libm_alias_float, or libm_alias_float_other
27143 if [SHARED].
27144 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
27145 <libm-alias-float.h>.
27146 (ceilf): Define using libm_alias_float.
27147 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
27148 <libm-alias-float.h>.
27149 (floorf): Define using libm_alias_float.
27150 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
27151 <libm-alias-float.h>.
27152 (fmaf): Define using libm_alias_float.
27153 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
27154 <libm-alias-float.h>.
27155 (nearbyintf): Define using libm_alias_float.
27156 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
27157 <libm-alias-float.h>.
27158 (rintf): Define using libm_alias_float.
27159 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
27160 <libm-alias-float.h>.
27161 (truncf): Define using libm_alias_float.
27162 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
27163 (copysignf): Define using libm_alias_float.
27164 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
27165 (cosf): Define using libm_alias_float.
27166 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
27167 (fabsf): Define using libm_alias_float.
27168 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
27169 (fmaxf): Define using libm_alias_float.
27170 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
27171 (fminf): Define using libm_alias_float.
27172 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
27173 (llrintf): Define using libm_alias_float.
27174 [!__ILP32__] (lrintf): Likewise.
27175 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
27176 (sincosf): Define using libm_alias_float.
27177 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
27178 (sinf): Define using libm_alias_float.
27179 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
27180 (lrintf): Define using libm_alias_float.
27181
011fba7e
JM
27182 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
27183 <libm-alias-double.h>.
27184 (atan): Define using libm_alias_double.
27185 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
27186 <libm-alias-double.h>.
27187 (ceil): Define using libm_alias_double.
27188 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
27189 <libm-alias-double.h>.
27190 (floor): Define using libm_alias_double.
27191 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
27192 <libm-alias-double.h>.
27193 (fma): Define using libm_alias_double.
27194 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
27195 <libm-alias-double.h>.
27196 (nearbyint): Define using libm_alias_double.
27197 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
27198 <libm-alias-double.h>.
27199 (rint): Define using libm_alias_double.
27200 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
27201 <libm-alias-double.h>.
27202 (sin): Define using libm_alias_double.
27203 (cos): Likewise.
27204 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
27205 <libm-alias-double.h>.
27206 (tan): Define using libm_alias_double.
27207 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
27208 <libm-alias-double.h>.
27209 (trunc): Define using libm_alias_double.
27210 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
27211 (copysign): Define using libm_alias_double.
27212 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
27213 (fabs): Define using libm_alias_double.
27214 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
27215 (fmax): Define using libm_alias_double.
27216 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
27217 (fmin): Define using libm_alias_double.
27218 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
27219 (llrint): Define using libm_alias_double.
27220 [!__ILP32__] (lrint): Likewise.
27221 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
27222 (lrint): Define using libm_alias_double.
27223
1cbd7bfe
AZ
272242017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27225
21bfcc3d
AZ
27226 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
27227 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
27228 objects.
27229 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
27230 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
27231 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
27232 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
27233 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
27234 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
27235
522228dd
AZ
27236 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
27237 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
27238 objects.
27239 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
27240 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
27241 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
27242 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
27243 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
27244 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
27245
2a6f4fab
AZ
27246 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
27247 (libm-sysdep_routines): Add s_nearbyint-generic and
27248 s_nearbyintf-generic objects.
27249 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
27250 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
27251 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
27252 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
27253 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
27254 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
27255
712b5b83
AZ
27256 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
27257 Add s_finitef-generic and s_finite-generic objects.
27258 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
27259 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
27260 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
27261 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
27262 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
27263 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
27264
c96d3335
AZ
27265 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
27266 Add s_isinff-generic and s_isinf-generic objects.
27267 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
27268 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
27269 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
27270 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
27271 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
27272 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
27273
c6862a23
AZ
27274 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
27275 Add s_isnanf-generic and s_isnan-generic objects.
27276 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
27277 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
27278 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
27279 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
27280 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
27281 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
27282
1cbd7bfe
AZ
27283 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
27284 macro.
27285 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
27286 rule.
27287 (sysdep_routines): Use sysdep_calls as base.
27288 (libm-sysdep_routines): Add generic rule for symbols shared with
27289 libc. Add s_signbit-generic and s_signbitf-generic objects.
27290 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
27291 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
27292 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
27293 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
27294 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
27295 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
27296
aa1142c5
JM
272972017-11-29 Joseph Myers <joseph@codesourcery.com>
27298
27299 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
27300 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
27301 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
27302 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
27303 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
27304 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
27305 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
27306 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
27307 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
27308 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
27309 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
27310 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
27311 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
27312 libm_alias_float_r.
27313 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
27314 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
27315 (logf): Likewise.
27316 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
27317 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
27318 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
27319 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
27320 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
27321 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
27322 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
27323 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
27324 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
27325 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
27326 libm_alias_float.
27327 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
27328 (cosf): Likewise.
27329 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
27330 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
27331 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
27332 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
27333 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
27334 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
27335 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
27336 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
27337 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
27338 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
27339 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
27340 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
27341 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
27342 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
27343 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
27344 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
27345 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
27346 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
27347 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
27348 libm_alias_float.
27349 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
27350 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
27351 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
27352 * sysdeps/ia64/fpu/w_lgammaf_main.c
27353 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
27354 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
27355
363e4519
DL
273562017-11-28 Mike FABIAN <mfabian@redhat.com>
27357 Alexandre Oliva <aoliva@redhat.com>
8da25eec
AO
27358
27359 [BZ #17750]
27360 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
27361 * localedata/fr_CA.UTF-8.in: New file with test data for backward
27362 accents sorting.
27363 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
27364 sorting.
27365 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
27366 * localedata/locales/de_DE (LC_COLLATE): Likewise.
27367 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
27368 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
27369 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
27370 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
27371 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
27372 instead of “ifdef DIACRIT_BACKWARD”.
27373
a55430cb
AZ
273742017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27375
27376 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
27377 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
27378 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
27379 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
27380 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
27381 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
27382 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
27383 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
27384 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
27385 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
27386 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
27387 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
27388 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
27389 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
27390 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
27391 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
27392 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
27393 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
27394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
27395 ($(have-as-vis3) == yes): Remove conditional.
27396 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
27397 Likewise.
27398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
27399 file.
27400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
27401 file.
27402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
27403 file.
27404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
27405 file.
27406 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
27407 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
27408 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
27409 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
27410 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
27411 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
27412 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
27413 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
27414
0609ec0a
JM
274152017-11-29 Joseph Myers <joseph@codesourcery.com>
27416
27417 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
27418 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
27419 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
27420 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
27421 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
27422 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
27423 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
27424 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
27425 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
27426 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
27427 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
27428 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
27429 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
27430 libm_alias_double_r.
27431 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
27432 (log): Likewise.
27433 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
27434 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
27435 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
27436 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
27437 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
27438 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
27439 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
27440 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
27441 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
27442 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
27443 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
27444 libm_alias_double.
27445 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
27446 (cos): Likewise.
27447 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
27448 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
27449 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
27450 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
27451 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
27452 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
27453 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
27454 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
27455 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
27456 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
27457 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
27458 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
27459 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
27460 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
27461 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
27462 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
27463 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
27464 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
27465 libm_alias_double.
27466 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
27467 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
27468 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
27469 * sysdeps/ia64/fpu/w_lgamma_main.c
27470 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
27471 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
27472
d5bfa34a
JDA
274732017-11-28 John David Anglin <danglin@gcc.gnu.org>
27474
27475 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
27476 address of $global$ into %dp register earlier. Use pc-relative
27477 instruction sequence for PIC case.
27478
bc4e8f9b
JM
274792017-11-28 Joseph Myers <joseph@codesourcery.com>
27480
e4602cba
JM
27481 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
27482 (asinhf): Define using libm_alias_float.
27483 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
27484 (atanf): Define using libm_alias_float.
27485 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
27486 (cbrtf): Define using libm_alias_float.
27487 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
27488 (ceilf): Define using libm_alias_float.
27489 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
27490 (copysignf): Define using libm_alias_float.
27491 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
27492 (expm1f): Define using libm_alias_float.
27493 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
27494 (fabsf): Define using libm_alias_float.
27495 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
27496 (floorf): Define using libm_alias_float.
27497 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
27498 (fmaxf): Define using libm_alias_float.
27499 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
27500 (fminf): Define using libm_alias_float.
27501 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
27502 (frexpf): Define using libm_alias_float.
27503 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
27504 (llrintf): Define using libm_alias_float.
27505 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
27506 (logbf): Define using libm_alias_float.
27507 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
27508 (lrintf): Define using libm_alias_float.
27509 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
27510 (nearbyintf): Define using libm_alias_float.
27511 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
27512 (remquof): Define using libm_alias_float.
27513 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
27514 (rintf): Define using libm_alias_float.
27515 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
27516 (truncf): Define using libm_alias_float.
27517 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
27518 <libm-alias-float.h>.
27519 (exp2f): Define using libm_alias_float, or libm_alias_float_other
27520 if [SHARED].
27521 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
27522 <libm-alias-float.h>.
27523 (expf): Define using libm_alias_float, or libm_alias_float_other
27524 if [SHARED].
27525 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
27526 <libm-alias-float.h>.
27527 (log2f): Define using libm_alias_float, or libm_alias_float_other
27528 if [SHARED].
27529 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
27530 <libm-alias-float.h>.
27531 (logf): Define using libm_alias_float, or libm_alias_float_other
27532 if [SHARED].
27533 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
27534 <libm-alias-float.h>.
27535 (powf): Define using libm_alias_float, or libm_alias_float_other
27536 if [SHARED].
27537 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
27538 <libm-alias-float.h>.
27539 (cosf): Define using libm_alias_float.
27540 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
27541 <libm-alias-float.h>.
27542 (sincosf): Define using libm_alias_float.
27543 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
27544 <libm-alias-float.h>.
27545 (sinf): Define using libm_alias_float.
27546 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
27547 (fmaxf): Define using libm_alias_float.
27548 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
27549 (fminf): Define using libm_alias_float.
27550 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27551 <libm-alias-float.h>.
27552 (fmaf): Define using libm_alias_float.
27553
bc4e8f9b
JM
27554 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
27555 (asinh): Define using libm_alias_double.
27556 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
27557 (atan): Define using libm_alias_double.
27558 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
27559 (cbrt): Define using libm_alias_double.
27560 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
27561 (ceil): Define using libm_alias_double.
27562 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
27563 (copysign): Define using libm_alias_double.
27564 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
27565 (expm1): Define using libm_alias_double.
27566 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
27567 (fabs): Define using libm_alias_double.
27568 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
27569 (fdim): Define using libm_alias_double.
27570 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
27571 (floor): Define using libm_alias_double.
27572 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
27573 (fmax): Define using libm_alias_double.
27574 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
27575 (fmin): Define using libm_alias_double.
27576 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
27577 (frexp): Define using libm_alias_double.
27578 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
27579 (llrint): Define using libm_alias_double.
27580 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
27581 (logb): Define using libm_alias_double.
27582 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
27583 (lrint): Define using libm_alias_double.
27584 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
27585 (nearbyint): Define using libm_alias_double.
27586 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
27587 (remquo): Define using libm_alias_double.
27588 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
27589 (rint): Define using libm_alias_double.
27590 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
27591 (trunc): Define using libm_alias_double.
27592 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
27593 (fmax): Define using libm_alias_double.
27594 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
27595 (fmin): Define using libm_alias_double.
27596 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
27597 (fma): Define using libm_alias_double.
27598
8d81ce0c
L
275992017-11-28 H.J. Lu <hongjiu.lu@intel.com>
27600
27601 [BZ #22370]
27602 * elf/dl-hwcaps.c (ROUND): Removed.
27603 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
27604 and ELF_NOTE_NEXT_OFFSET.
27605 * elf/dl-load.c (ROUND): Removed.
27606 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
27607 * elf/readelflib.c (ROUND): Removed.
27608 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
27609 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
27610 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
27611 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
27612
6940bd96
JM
276132017-11-28 Joseph Myers <joseph@codesourcery.com>
27614
313ba463
JM
27615 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
27616 [!__fmaf] (fmaf): Define using libm_alias_float.
27617
6940bd96
JM
27618 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
27619 [!__fma] (fma): Define using libm_alias_double.
27620 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
27621
22c69b6a
MF
276222017-11-28 Mike FABIAN <mfabian@redhat.com>
27623
27624 [BZ #22336]
27625 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
27626 and implement the collation rules for cs from CLDR on top of that.
27627 * Makefile: Add cs_CZ.UTF-8 to test-input.
27628 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
27629
8d7d3ba8
SP
276302017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
27631
27632 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
27633
0422ed1e
VR
276342017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
27635 Icarus Sparry <icarus.w.sparry@intel.com>
27636
27637 * benchtests/Makefile:Add BENCHSET to allow subsets of
27638 benchmarks to be run.
27639 * benchtests/README: Add documentation for: Running subsets of
27640 benchmarks.
27641
0595e360
VR
276422017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
27643
d5090db3
VR
27644 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
27645 range of tests names.
27646
0595e360
VR
27647 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
27648 result from property and remove "max", min" and "mean" from
27649 required properties based on benchtests/bench-skeleton.c.
27650
b4c645c2
FW
276512017-11-28 Florian Weimer <fweimer@redhat.com>
27652
27653 [BZ #20826]
27654 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
27655 due to Internet requirement.
27656 * posix/Makefile (tests): Remove tst-getaddrinfo4,
27657 tst-getaddrinfo5.
27658 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
27659
88684de7
AZ
276602017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27661
69056564
AZ
27662 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
27663 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
27664 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
27665 (sysdep_routines): Add memset-ultra1.
27666 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
27667 file.
27668 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
27669 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
27670 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
27671 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
27672 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
27673 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
27674 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
27675 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27676
88684de7
AZ
27677 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
27678 file.
27679 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
27680 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
27681 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
27682 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
27683 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
27684 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
27685 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
27686 macro.
27687 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
27688 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
27689 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
27690 (sysdep_routines): Add memcpy-ultra1.
27691 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
27692 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
27693
d8124864
JM
276942017-11-28 Joseph Myers <joseph@codesourcery.com>
27695
f433d0b3
JM
27696 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
27697 (cfloat_versions): Take function argument without trailing 'f'.
27698 Call libm_alias_float_other.
27699 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
27700 * sysdeps/alpha/fpu/cargf.c: Likewise.
27701 * sysdeps/alpha/fpu/cimagf.c: Likewise.
27702 * sysdeps/alpha/fpu/conjf.c: Likewise.
27703 * sysdeps/alpha/fpu/crealf.c: Likewise.
27704 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
27705 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
27706 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
27707 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
27708 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
27709 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
27710 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
27711 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
27712 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
27713 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
27714 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
27715 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
27716 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
27717 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
27718 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
27719 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
27720 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
27721 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
27722 (clog10f): Use libm_alias_float_other.
27723 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
27724 (ceilf): Define using libm_alias_float.
27725 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
27726 (copysignf): Define using libm_alias_float.
27727 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
27728 (fabsf): Define using libm_alias_float.
27729 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
27730 (floorf): Define using libm_alias_float.
27731 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
27732 (fmaxf): Define using libm_alias_float.
27733 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
27734 (fminf): Define using libm_alias_float.
27735 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
27736 (lrintf): Define using libm_alias_float.
27737 (llrintf): Likewise.
27738 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
27739 (lroundf): Define using libm_alias_float.
27740 (llroundf): Likewise.
27741 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
27742 (rintf): Define using libm_alias_float.
27743 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
27744 (truncf): Define using libm_alias_float.
27745
15ff4900
JM
27746 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
27747 (ceilf): Define using libm_alias_float.
27748 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
27749 (floorf): Define using libm_alias_float.
27750 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
27751 (fmaf): Define using libm_alias_float.
27752 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
27753 (fmaxf): Define using libm_alias_float.
27754 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
27755 (fminf): Define using libm_alias_float.
27756 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
27757 (llrintf): Define using libm_alias_float.
27758 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
27759 (llroundf): Define using libm_alias_float.
27760 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
27761 (lrintf): Define using libm_alias_float.
27762 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
27763 (lroundf): Define using libm_alias_float.
27764 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
27765 <libm-alias-float.h>.
27766 (nearbyintf): Define using libm_alias_float.
27767 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
27768 (rintf): Define using libm_alias_float.
27769 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
27770 (roundf): Define using libm_alias_float.
27771 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
27772 (truncf): Define using libm_alias_float.
27773
5de60638
JM
27774 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
27775 (ceil): Define using libm_alias_double.
27776 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
27777 (copysign): Define using libm_alias_double.
27778 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
27779 (fabs): Define using libm_alias_double.
27780 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
27781 (floor): Define using libm_alias_double.
27782 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
27783 (fmax): Define using libm_alias_double.
27784 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
27785 (fmin): Define using libm_alias_double.
27786 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
27787 (lrint): Define using libm_alias_double.
27788 (llrint): Likewise.
27789 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
27790 (lround): Define using libm_alias_double.
27791 (llround): Likewise.
27792 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
27793 (rint): Define using libm_alias_double.
27794 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
27795 (trunc): Define using libm_alias_double.
27796
d8124864
JM
27797 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
27798 (libm_alias_double_r): Add semicolon after weak_alias call.
27799
f07d2ec8
JM
278002017-11-27 Joseph Myers <joseph@codesourcery.com>
27801
27802 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
27803 (ceil): Define using libm_alias_double.
27804 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
27805 (floor): Define using libm_alias_double.
27806 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
27807 (fma): Define using libm_alias_double.
27808 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
27809 (fmax): Define using libm_alias_double.
27810 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
27811 (fmin): Define using libm_alias_double.
27812 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
27813 (llrint): Define using libm_alias_double.
27814 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
27815 (llround): Define using libm_alias_double.
27816 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
27817 (lrint): Define using libm_alias_double.
27818 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
27819 (lround): Define using libm_alias_double.
27820 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
27821 (nearbyint): Define using libm_alias_double.
27822 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
27823 (rint): Define using libm_alias_double.
27824 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
27825 (round): Define using libm_alias_double.
27826 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
27827 (trunc): Define using libm_alias_double.
27828
4bab0224
FW
278292017-11-27 Florian Weimer <fweimer@redhat.com>
27830
27831 * sysdeps/unix/sysv/linux/mlock2.c: New file.
27832 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
27833 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
27834 (tests): Add tst-mlock2.
27835 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
27836 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
27837 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
27838 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
27839 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
27840 for mlock. Document mlock2.
27841
a23aa5b7
JM
278422017-11-27 Joseph Myers <joseph@codesourcery.com>
27843
27844 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
27845 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
27846 Likewise.
27847 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
27848 Likewise.
27849 * sysdeps/x86/Makeconfig: New file.
27850 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
27851 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27852 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
27853 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27854 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27855 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27856 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
27857 Likewise.
27858 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27859 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27860 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27861 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27862 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27863 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27864 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27865 * manual/math.texi (Mathematics): Document support for _Float64x.
27866 * math/Versions (GLIBC_2.27): Add _Float64x functions.
27867 * stdlib/Versions (GLIBC_2.27): Likewise.
27868 * wcsmbs/Versions (GLIBC_2.27): Likewise.
27869 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
27870 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
27871 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27872 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27873 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
27874 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27875 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
27876 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27877 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27878 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27879 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
27881 Likewise.
27882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27883 Likewise.
27884 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27885 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27886 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27887 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27888 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27889 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27890 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27891 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27892 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
27893 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27894 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
27895 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27896 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
27897 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27898
c2c299fd
AS
278992017-11-27 Andreas Schwab <schwab@suse.de>
27900
27901 * elf/Makefile (dl-routines): Add dl-sort-maps.
27902 * elf/dl-sort-maps.c: New file.
27903 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
27904 (_dl_sort_maps): Declare.
27905 * elf/dl-fini.c (_dl_sort_fini): Remove.
27906 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
27907 * elf/dl-close.c (_dl_close_worker): Likewise.
27908 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
27909 open-coding it.
27910 * elf/dl-open.c (dl_open_worker): Likewise.
27911
9d4b0117
JM
279122017-11-24 Joseph Myers <joseph@codesourcery.com>
27913
de61465c
JM
27914 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
27915 using libm_alias_float128.
27916 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
27917 Likewise.
27918 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
27919 Likewise.
27920 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
27921 (setpayloadsigf128): Likewise.
27922 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
27923 Likewise.
27924 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
27925 Likewise.
27926
9ae6d171
JM
27927 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
27928 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
27929 -mfloat128 to CFLAGS.
27930 ($(foreach
27931 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
27932 Likewise.
27933 (CFLAGS-libm-test-support-float64x.c): New variable.
27934 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
27935 $(f128-loader-link) to gnulib-tests.
27936
6e70d156
JM
27937 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
27938 (libm_alias_float128_other_r): If
27939 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
27940 alias.
27941 (libm_alias_float128_r): Add semicolon after weak_alias call.
27942 * sysdeps/generic/libm-alias-ldouble.h
27943 (libm_alias_ldouble_other_r_f128): New macro.
27944 (libm_alias_ldouble_other_r_f64x): Likewise.
27945 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
27946 and libm_alias_ldouble_other_r_f64x.
27947 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
27948 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
27949 (libm_alias_ldouble_other_r_f128): New macro.
27950 (libm_alias_ldouble_other_r_f64x): Likewise.
27951 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
27952 and libm_alias_ldouble_other_r_f64x.
27953
df2806cd
JM
27954 * stdlib/strfroml.c: Always include <stdlib.h>.
27955 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
27956 undefine as macro and define as weak alias.
27957 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
27958 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
27959 <stdlib.h>.
27960 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
27961 Define and later undefine as macro and define as weak alias.
27962
0df4fe35
JM
27963 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
27964 Define and later undefine as macro. Define as weak alias if
27965 [!USE_WIDE_CHAR].
27966 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
27967 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27968 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
27969 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
27970 Define and later undefine as macro. Define as weak alias if
27971 [!USE_WIDE_CHAR].
27972 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
27973 Define and later undefine as macro. Define as weak alias if
27974 [USE_WIDE_CHAR].
27975 * sysdeps/ieee754/float128/strtof128_l.c
27976 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
27977 Define and later undefine as macro. Define as weak alias if
27978 [!USE_WIDE_CHAR].
27979 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
27980 Define and later undefine as macro. Define as weak alias if
27981 [USE_WIDE_CHAR].
27982 * sysdeps/ieee754/ldbl-128/strtold_l.c
27983 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27984 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27985 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27986 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27987 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
27988 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27989 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27990 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27991 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27992 * sysdeps/ieee754/ldbl-96/strtold_l.c
27993 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27994 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27995 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27996 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27997
ae7207d0
JM
27998 * math/test-float64x.h: New file.
27999 * math/Makefile (type-float64x-yes): New variable.
28000 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
28001
9596fc69
JM
28002 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
28003 function-like macro.
28004 (min_of_type_): Likewise.
28005 (min_of_type_l): Likewise.
28006 (min_of_type_f128): Likewise.
28007 (min_of_type): Pass () as last argument of __MATH_TG.
28008
46453c3c
JM
28009 * stdlib/tst-strtod-round-skeleton.c
28010 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
28011 headers.
28012
01e659e7
JM
28013 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
28014 for combinations of long double with _Float64 and _Float64x.
28015
5c60afdd
JM
28016 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
28017 (__DECL_SIMD_cosf32): Likewise.
28018 (__DECL_SIMD_cosf64): Likewise.
28019 (__DECL_SIMD_cosf32x): Likewise.
28020 (__DECL_SIMD_cosf64x): Likewise.
28021 (__DECL_SIMD_cosf128x): Likewise.
28022 (__DECL_SIMD_sinf16): Likewise.
28023 (__DECL_SIMD_sinf32): Likewise.
28024 (__DECL_SIMD_sinf64): Likewise.
28025 (__DECL_SIMD_sinf32x): Likewise.
28026 (__DECL_SIMD_sinf64x): Likewise.
28027 (__DECL_SIMD_sinf128x): Likewise.
28028 (__DECL_SIMD_sincosf16): Likewise.
28029 (__DECL_SIMD_sincosf32): Likewise.
28030 (__DECL_SIMD_sincosf64): Likewise.
28031 (__DECL_SIMD_sincosf32x): Likewise.
28032 (__DECL_SIMD_sincosf64x): Likewise.
28033 (__DECL_SIMD_sincosf128x): Likewise.
28034 (__DECL_SIMD_logf16): Likewise.
28035 (__DECL_SIMD_logf32): Likewise.
28036 (__DECL_SIMD_logf64): Likewise.
28037 (__DECL_SIMD_logf32x): Likewise.
28038 (__DECL_SIMD_logf64x): Likewise.
28039 (__DECL_SIMD_logf128x): Likewise.
28040 (__DECL_SIMD_expf16): Likewise.
28041 (__DECL_SIMD_expf32): Likewise.
28042 (__DECL_SIMD_expf64): Likewise.
28043 (__DECL_SIMD_expf32x): Likewise.
28044 (__DECL_SIMD_expf64x): Likewise.
28045 (__DECL_SIMD_expf128x): Likewise.
28046 (__DECL_SIMD_powf16): Likewise.
28047 (__DECL_SIMD_powf32): Likewise.
28048 (__DECL_SIMD_powf64): Likewise.
28049 (__DECL_SIMD_powf32x): Likewise.
28050 (__DECL_SIMD_powf64x): Likewise.
28051 (__DECL_SIMD_powf128x): Likewise.
28052
9d4b0117
JM
28053 * stdlib/Versions (libc): Move entries for wcstof128 and
28054 wcstof128_l to ....
28055 * wcsmbs/Versions (libc): ... here.
28056 Include <float128-abi.h>.
28057
7911dd47
FW
280582017-11-24 Florian Weimer <fweimer@redhat.com>
28059
28060 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28061 bits/mman-shared.h.
28062 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
28063 <bits/mman-shared.h>.
28064 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
28065 to ...
28066 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
28067 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
28068 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
28069 <bits/mman-shared.h>.
28070
c45d78aa
AZ
280712017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28072
28073 [BZ #22457]
28074 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
28075 posix_memalign/free.
28076 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
28077
3ffc4cc1
MF
280782017-11-22 Mike FABIAN <mfabian@redhat.com>
28079
28080 [BZ #22469]
28081 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
28082 and implement the collation rules for pl from CLDR on top of that.
28083 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
28084 of locales to be built for testing.
28085 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
28086
3a327316
JM
280872017-11-23 Joseph Myers <joseph@codesourcery.com>
28088
28089 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
28090 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
28091 libm_alias_ldouble_other.
28092 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
28093 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
28094 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
28095 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
28096 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
28097 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
28098 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
28099 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
28100 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
28101 libm_alias_ldouble_r.
28102 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
28103 libm_alias_ldouble_other.
28104 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
28105 (log10l): Likewise.
28106 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
28107 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
28108 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
28109 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
28110 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
28111 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
28112 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
28113 (atan2l): Likewise.
28114 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
28115 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
28116 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
28117 libm_alias_ldouble.
28118 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
28119 (cosl): Likewise.
28120 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
28121 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
28122 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
28123 (expl): Likewise.
28124 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
28125 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
28126 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
28127 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
28128 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
28129 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
28130 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
28131 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
28132 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
28133 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
28134 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
28135 libm_alias_ldouble.
28136 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
28137 libm_alias_ldouble_other.
28138 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
28139 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
28140 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
28141 libm_alias_ldouble.
28142 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
28143 libm_alias_ldouble_other.
28144 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
28145 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
28146 * sysdeps/ia64/fpu/w_lgammal_main.c
28147 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
28148 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
28149
0a947e06
FW
281502017-11-23 Florian Weimer <fweimer@redhat.com>
28151
28152 * malloc/malloc.c (tcache_thread_shutdown): Rename from
28153 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
28154 alike. Remove freeres marker.
28155 * malloc/arena.c (arena_thread_freeres): Call
28156 tcache_thread_shutdown.
28157
67f36c79
FW
281582017-11-23 Florian Weimer <fweimer@redhat.com>
28159
28160 [BZ #22459]
28161 Export nscd hash function as __nss_hash.
28162 * include/nss.h (__nss_hash): Declare.
28163 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
28164 symbol.
28165 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
28166 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
28167 of __nscd_hash.
28168 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
28169 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
28170 * nss/Makefiles (routines): Add nss_hash.
28171 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
28172 * nss/nss_hash.c: Rename from nis/nis_hash.c.
28173 (__nss_hash): Rename from __nis_hash. Define hidden alias.
28174 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
28175
cccb6d4e
FW
281762017-11-23 Florian Weimer <fweimer@redhat.com>
28177
28178 [BZ #22478]
28179 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
28180 Return error code, not -1.
28181 * signal/tst-sigwait-eintr.c: New file.
28182 * signal/Makefile (tests): Add tst-sigwait-eintr.
28183
59d2cbb1
FW
281842017-11-23 Florian Weimer <fweimer@redhat.com>
28185
28186 Linux: Add memfd_create system call wrapper
28187 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
28188 tst-memfd_create.
28189 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
28190 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
28191 [__USE_GNU] (memfd_create): Declare.
28192 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
28193 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
28194 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
28195 * sysdeps/unix/sysv/linux/**.abilist: Update.
28196 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
28197
a90d1ac2
JM
281982017-11-22 Joseph Myers <joseph@codesourcery.com>
28199
0a9d1d62
JM
28200 * localedata/gen-locale.sh: Fix typo in variable name.
28201
754034c4
JM
28202 * resolv/res_debug.c (p_secstodate): Condition definition on
28203 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
28204 directly as __p_secstodate, and as a compat symbol. Do not use
28205 libresolv_hidden_def.
28206 * resolv/resolv.h (p_secstodate): Remove macro and function
28207 declaration.
28208 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
28209 using p_secstodate.
28210 * include/resolv.h (__p_secstodate): Do not use
28211 libresolv_hidden_proto.
28212 * resolv/Makefile (tests): Move tst-p_secstodate to ....
28213 (tests-internal): ... here.
28214 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
28215 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
28216 and declare and use __p_secstodate and use compat_symbol_reference
28217 in that case.
28218 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
28219 implementation returning 77.
28220
f120cda6
JM
28221 [BZ #22463]
28222 * resolv/res_debug.c: Include <libc-diag.h>.
28223 (p_secstodate): Assert time_t at least as wide as u_long. On
28224 overflow, use integer seconds since the epoch as output, or use
28225 "<overflow>" as output and set errno to EOVERFLOW if integer
28226 seconds since the epoch would be 14 or more characters.
28227 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
28228 for sprintf call.
28229 * resolv/tst-p_secstodate.c: New file.
28230 * resolv/Makefile (tests): Add tst-p_secstodate.
28231 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
28232
a90d1ac2
JM
28233 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
28234 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
28235 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
28236
0285e6bd
PE
282372017-11-22 Paul Eggert <eggert@cs.ucla.edu>
28238
28239 * posix/regcomp.c (init_word_char): Add comments.
28240
4bae6150
JM
282412017-11-22 Joseph Myers <joseph@codesourcery.com>
28242
28243 [BZ #22447]
28244 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
28245 strlen to compute length of ut_user and set trailing NUL byte of
28246 result explicitly.
28247
4b7af5fc
MF
282482017-11-21 Mike FABIAN <mfabian@redhat.com>
28249
28250 [BZ #15537]
28251 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
28252 using “copy "iso14651_t1"” and then implementing the
28253 collation rules for lv from CLDR on top of that.
28254 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
28255 of locales to be built for testing.
28256 * lv_LV.UTF-8.in: New file with test data to test the Latvian
28257 sorting.
28258
922bb78c
JM
282592017-11-21 Joseph Myers <joseph@codesourcery.com>
28260
28261 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
28262 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
28263 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
28264 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
28265 [__USE_MISC] (MADV_HWPOISON): New macro.
28266 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
28267
a3aaa598
AZ
282682017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28269
28270 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
28271 -Wmissing-braces on GCC 4.9.
28272
8beba15d
SL
282732017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
28274
28275 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
28276 * sysdeps/s390/s390-32/start.S (_start): Likewise
28277 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
28278 (thread_start): Likewise.
28279 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
28280 (thread_start): Likewise.
28281 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
28282 (__makecontext_ret): Likewise.
28283 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
28284 (__makecontext_ret): Likewise.
28285
80eb52e3
SL
282862017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
28287
28288 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
28289 __wcschrnul): Remove attribute_hidden.
28290
567d8c1f
PE
282912017-11-20 Paul Eggert <eggert@cs.ucla.edu>
28292
28293 regex: don't assume uint64_t or uint32_t
28294 This avoids -Werror=overflow errors for 32-bit systems in
28295 the 64-bit case. Problem reported by Joseph Myers in:
28296 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
28297 Also, when this code is used in Gnulib it ports to platforms
28298 that lack uint64_t and uint32_t. The C standard doesn't guarantee
28299 them, and on some 32-bit compilers there is no uint64_t.
28300 Problem reported by Gianluigi Tiesi in:
28301 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
28302 * posix/regcomp.c (init_word_char): Don't assume that the types
28303 uint64_t and uint32_t exist. Adapted from Gnulib patch
28304 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
28305 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
28306
4d7632ff
SP
283072017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
28308
5a67c4fa
SP
28309 * sysdeps/aarch64/memset-reg.h: New file.
28310 * sysdeps/aarch64/memset.S: Use it.
28311 (__memset): Rename to MEMSET macro.
28312 [ZVA_MACRO]: Use zva_macro.
28313 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
28314 Add memset_generic and memset_falkor.
28315 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
28316 (__libc_ifunc_impl_list): Add memset ifuncs.
28317 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
28318 local variable zva_size.
28319 * sysdeps/aarch64/multiarch/memset.c: New file.
28320 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
28321 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
28322 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
28323 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
28324 (DCZID_DZP_MASK): New macro.
28325 (DCZID_BS_MASK): Likewise.
28326 (init_cpu_features): Read and set zva_size.
28327 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
28328 (struct cpu_features): New member zva_size.
28329
eb332f9f
SP
28330 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
28331 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
28332 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
28333
4d7632ff
SP
28334 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
28335 backwards. Fix timing computation.
28336 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
28337 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
28338 on memset by N at a time. Fix timing computation.
28339
a465b89e
FW
283402017-11-20 Florian Weimer <fweimer@redhat.com>
28341
28342 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
28343 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
28344
0f74bbf5
FW
283452017-11-19 Florian Weimer <fweimer@redhat.com>
28346
28347 manual: Document mprotect
28348 * manual/memory.texi (Memory Protection): New section.
28349 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
28350 documentation of PROT_* flags and reference the Memory Protection
28351 section instead.
28352
f6e965ee
FW
283532017-11-19 Florian Weimer <fweimer@redhat.com>
28354
28355 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
28356 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
28357 (Scatter-Gather): ... to here. Remove misleading comment.
28358
363e4519 283592017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
ea69a5c8 28360
5f9d1949
CB
28361 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
28362 style.
28363
ea69a5c8
CB
28364 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
28365 when /proc/<pid>/setgroups does not exist.
28366
8db7f48c
FW
283672017-11-18 Florian Weimer <fweimer@redhat.com>
28368
28369 * sysdeps/unix/sysv/linux/tst-ttyname.c
28370 (become_root_in_mount_ns): Remove.
28371 (do_in_chroot_1): Call support_enter_mount_namespace.
28372 (do_in_chroot_2): Likewise.
28373 (do_test): Call support_become_root early.
28374
273a0c49
FW
283752017-11-18 Florian Weimer <fweimer@redhat.com>
28376
28377 * support/namespace.h (support_enter_mount_namespace): Declare.
28378 * support/support_enter_mount_namespace.c: New file.
28379 * support/Makefile (libsupport-routines): Add
28380 support_enter_mount_namespace.
28381
8adfb0ee
FW
283822017-11-18 Florian Weimer <fweimer@redhat.com>
28383
28384 * support/temp_file.c (support_create_temp_directory): Use
28385 test_dir and do not rely on the presence of the XXXXXX suffix.
28386 * support/temp_file.h (support_create_temp_directory): Update
28387 comment.
28388 * support/tst-xreadlink.c (do_test): Adjust.
28389 * support/support_chroot.c (support_chroot_create): Likewise.
28390
df0c40ee
TMQMF
283912017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28392
28393 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
28394 macro.
28395 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
28396 htm-no-suspend.
28397
015c6dc2
JM
283982017-11-17 Joseph Myers <joseph@codesourcery.com>
28399
f58e5f48
JM
28400 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
28401 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
28402 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
28403 (ceill): Define using libm_alias_ldouble.
28404 * sysdeps/x86_64/fpu/s_copysignl.S: Include
28405 <libm-alias-ldouble.h>.
28406 (copysignl): Define using libm_alias_ldouble.
28407 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
28408 (fabsl): Define using libm_alias_ldouble.
28409 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
28410 (floorl): Define using libm_alias_ldouble.
28411 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
28412 (fmaxl): Define using libm_alias_ldouble.
28413 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
28414 (fminl): Define using libm_alias_ldouble.
28415 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
28416 (llrintl): Define using libm_alias_ldouble.
28417 (lrintl): Likewise.
28418 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
28419 <libm-alias-ldouble.h>.
28420 (nearbyintl): Define using libm_alias_ldouble.
28421 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
28422 (truncl): Define using libm_alias_ldouble.
28423 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
28424 <libm-alias-ldouble.h>.
28425 (lrintl): Define using libm_alias_ldouble.
28426
2ce30701
JM
28427 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
28428 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
28429 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
28430 (asinhl): Define using libm_alias_ldouble.
28431 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
28432 (atanl): Define using libm_alias_ldouble.
28433 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
28434 (cbrtl): Define using libm_alias_ldouble.
28435 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
28436 (ceill): Define using libm_alias_ldouble.
28437 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
28438 (copysignl): Define using libm_alias_ldouble.
28439 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
28440 (fabsl): Define using libm_alias_ldouble.
28441 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
28442 (floorl): Define using libm_alias_ldouble.
28443 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
28444 (fmaxl): Define using libm_alias_ldouble.
28445 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
28446 (fminl): Define using libm_alias_ldouble.
28447 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
28448 (frexpl): Define using libm_alias_ldouble.
28449 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
28450 (llrintl): Define using libm_alias_ldouble.
28451 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
28452 (logbl): Define using libm_alias_ldouble.
28453 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
28454 (lrintl): Define using libm_alias_ldouble.
28455 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
28456 (nearbyintl): Define using libm_alias_ldouble.
28457 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
28458 (nextafterl): Define using libm_alias_ldouble.
28459 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
28460 (remquol): Define using libm_alias_ldouble.
28461 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
28462 (rintl): Define using libm_alias_ldouble.
28463 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
28464 (truncl): Define using libm_alias_ldouble.
28465 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
28466 (fmaxl): Define using libm_alias_ldouble.
28467 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
28468 (fminl): Define using libm_alias_ldouble.
28469
015c6dc2
JM
28470 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
28471 to C syntax instead of availability and properties of types.
28472 * bits/floatn.h [!__ASSEMBLER]: Likewise.
28473 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
28474 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
28475 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
28476 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
28477 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
28478
ce003e5d
FW
284792017-11-17 Florian Weimer <fweimer@redhat.com>
28480
28481 support_become_root: Enable file creation in namespaces.
28482 * support/support_become_root.c (setup_mapping): New function.
28483 (support_become_root): Call it.
28484
e7df6c5c
JM
284852017-11-17 Joseph Myers <joseph@codesourcery.com>
28486
28487 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
28488 macro.
28489
58a813bf
AZ
284902017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28491
28492 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
28493 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
28494
f97773d1
JM
284952017-11-16 Joseph Myers <joseph@codesourcery.com>
28496
6a6aa1f3
JM
28497 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
28498
f97773d1
JM
28499 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
28500 version to 4.14.
28501
a306c790
SP
285022017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
28503
7b0fb870
SP
28504 * INSTALL: Fix botched up regeneration.
28505
28506 * NEWS: Update sourceare link to https.
a306c790
SP
28507 * configure.ac: Likewise.
28508 * crypt/md5test-giant.c: Likewise.
28509 * dlfcn/bug-atexit1.c: Likewise.
28510 * dlfcn/bug-atexit2.c: Likewise.
28511 * localedata/README: Likewise.
28512 * malloc/tst-mallocfork.c: Likewise.
28513 * manual/install.texi: Likewise.
28514 * nptl/tst-pthread-getattr.c: Likewise.
28515 * stdio-common/tst-fgets.c: Likewise.
28516 * stdio-common/tst-fwrite.c: Likewise.
28517 * sunrpc/Makefile: Likewise.
28518 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
28519 * wcsmbs/tst-mbrtowc2.c: Likewise.
7b0fb870
SP
28520 * configure: Regenerate.
28521 * INSTALL: Regenerate.
a306c790 28522
7532837d
MS
285232017-11-15 Martin Sebor <msebor@redhat.com>
28524
28525 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
28526 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
28527 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
28528
495a56fd
LS
285292017-11-15 Luke Shumaker <lukeshu@parabola.nu>
28530
d9611e30
LS
28531 [BZ #22145]
28532 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
28533 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
28534
a09dfc19
LS
28535 [BZ #22145]
28536 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
28537 Defer is_pty check until end of the function.
28538 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
28539
2fbce9c2
LS
28540 [BZ #22145]
28541 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
28542 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
28543 (ttyname): Likewise.
28544 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
28545 (__ttyname_r): Likewise.
28546
d10d6cab
LS
28547 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
28548 int to bool.
28549
9b5a8750
LS
28550 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
28551
495a56fd
LS
28552 * manual/terminal.texi (Is It a Terminal):
28553 Mention ENODEV for ttyname and ttyname_r.
28554
fa680dc6
JM
285552017-11-15 Joseph Myers <joseph@codesourcery.com>
28556
78cde19f
JM
28557 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
28558 constant and macro.
28559
fa680dc6
JM
28560 * sysdeps/unix/sysv/linux/bits/mman-linux.h
28561 [__USE_MISC] (MADV_WIPEONFORK): New macro.
28562 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
28563 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
28564 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
28565 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
28566
ad4f43a2
AZ
285672017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28568
1ba1d8a4
AZ
28569 * signal/sigrelse.c (sigrelse): Optimize implementation.
28570
ad4f43a2
AZ
28571 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
28572 (__sigpause): Rely on __sigsuspend to implement single thread
28573 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
28574
d0212d42
JM
285752017-11-15 Joseph Myers <joseph@codesourcery.com>
28576
28577 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
28578 kernel version to 4.14.
28579
2180fee1
SE
285802017-11-15 Steve Ellcey <sellcey@cavium.com>
28581
28582 [BZ #22442]
28583 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
28584 Check if ifname is too long.
28585
cad7ca39
LS
285862017-11-15 Luke Shumaker <lukeshu@parabola.nu>
28587
28588 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
28589
58c9f659
MF
285902017-11-15 Mike FABIAN <mfabian@redhat.com>
28591
28592 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
28593 was accidentally lost.
28594
0fa87c01
MF
285952017-11-15 Mike FABIAN <mfabian@redhat.com>
28596
28597 * localedata/locales/az_IR: Add standard copyright header.
28598
34eb4157
FW
285992017-11-15 Florian Weimer <fweimer@redhat.com>
28600
28601 [BZ #22439]
28602 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
28603 not just the top one. Output a new "subheaps" statistic.
28604
7a9368a1
FW
286052017-11-15 Florian Weimer <fweimer@redhat.com>
28606
28607 [BZ #22408]
28608 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
28609 under the per-arena lock.
28610 * malloc/Makefile (tests): Add tst-malloc_info.
28611 (tst-malloc_info): Link with libpthread.
28612 * malloc/tst-malloc_info.c: New file.
28613
be3a79a3
JM
286142017-11-15 Joseph Myers <joseph@codesourcery.com>
28615
28616 [BZ #21660]
28617 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
28618 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
28619 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
28620 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
28621 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
28622 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
28623 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
28624 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
28625 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
28626 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
28627 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
28628 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
28629 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
28630 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
28631 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
28632 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
28633 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
28634 (__floating_type): Likewise.
28635 (__real_integer_type): Likewise.
28636 (__complex_integer_type): Likewise.
28637 (__expr_is_real): Likewise.
28638 (__tgmath_real_type_sub): Likewise.
28639 (__tgmath_real_type): Likewise.
28640 (__tgmath_complex_type_sub): Likewise.
28641 (__tgmath_complex_type): Likewise.
28642 (__TGMATH_F128): Likewise.
28643 (__TGMATH_CF128): Likewise.
28644 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
28645 new macros.
28646 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
28647 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
28648 Likewise.
28649 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
28650 Likewise.
28651 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
28652 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
28653 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
28654 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
28655 Likewise.
28656 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
28657 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
28658 Likewise.
28659 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
28660 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
28661 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
28662 Likewise.
28663 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
28664 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
28665 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
28666 (cimag): Likewise.
28667 (creal): Likewise.
28668
ec72135e
JM
286692017-11-14 Joseph Myers <joseph@codesourcery.com>
28670
2e64ec9c
JM
28671 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
28672 for stpncpy calls for GCC 8.
28673 (test_strncat): Disable -Wstringop-truncation warning for strncat
28674 calls for GCC 8. Disable -Wstringop-overflow= warning for one
28675 strncat call for GCC 7.
28676 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
28677 calls for GCC 8.
28678 (test_memcmp): Use memcpy instead of strncpy for calls not copying
28679 trailing NUL.
28680
ec72135e
JM
28681 * string/bug-strncat1.c: Include <libc-diag.h>.
28682 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
28683
363e4519 286842017-11-13 Claude Paroz <claude@2xlibre.net>
a259f5d3
CP
28685
28686 [BZ #22387]
28687 * localedata/locales/aa_DJ: Improved readibility by replacing
28688 <Uxxxx> sequences in the ASCII printable range by their ASCII
28689 character equivalents.
28690 * localedata/locales/aa_ER: Likewise.
28691 * localedata/locales/aa_ER@saaho: Likewise.
28692 * localedata/locales/aa_ET: Likewise.
28693 * localedata/locales/af_ZA: Likewise.
28694 * localedata/locales/agr_PE: Likewise.
28695 * localedata/locales/ak_GH: Likewise.
28696 * localedata/locales/am_ET: Likewise.
28697 * localedata/locales/anp_IN: Likewise.
28698 * localedata/locales/ar_AE: Likewise.
28699 * localedata/locales/ar_BH: Likewise.
28700 * localedata/locales/ar_DZ: Likewise.
28701 * localedata/locales/ar_EG: Likewise.
28702 * localedata/locales/ar_IN: Likewise.
28703 * localedata/locales/ar_IQ: Likewise.
28704 * localedata/locales/ar_JO: Likewise.
28705 * localedata/locales/ar_KW: Likewise.
28706 * localedata/locales/ar_LB: Likewise.
28707 * localedata/locales/ar_LY: Likewise.
28708 * localedata/locales/ar_MA: Likewise.
28709 * localedata/locales/ar_OM: Likewise.
28710 * localedata/locales/ar_QA: Likewise.
28711 * localedata/locales/ar_SA: Likewise.
28712 * localedata/locales/ar_SD: Likewise.
28713 * localedata/locales/ar_SS: Likewise.
28714 * localedata/locales/ar_SY: Likewise.
28715 * localedata/locales/ar_TN: Likewise.
28716 * localedata/locales/ar_YE: Likewise.
28717 * localedata/locales/as_IN: Likewise.
28718 * localedata/locales/ast_ES: Likewise.
28719 * localedata/locales/ayc_PE: Likewise.
28720 * localedata/locales/az_AZ: Likewise.
28721 * localedata/locales/az_IR: Likewise.
28722 * localedata/locales/be_BY: Likewise.
28723 * localedata/locales/be_BY@latin: Likewise.
28724 * localedata/locales/bem_ZM: Likewise.
28725 * localedata/locales/ber_DZ: Likewise.
28726 * localedata/locales/ber_MA: Likewise.
28727 * localedata/locales/bg_BG: Likewise.
28728 * localedata/locales/bhb_IN: Likewise.
28729 * localedata/locales/bho_IN: Likewise.
28730 * localedata/locales/bi_VU: Likewise.
28731 * localedata/locales/bn_BD: Likewise.
28732 * localedata/locales/bn_IN: Likewise.
28733 * localedata/locales/bo_CN: Likewise.
28734 * localedata/locales/bo_IN: Likewise.
28735 * localedata/locales/br_FR: Likewise.
28736 * localedata/locales/brx_IN: Likewise.
28737 * localedata/locales/bs_BA: Likewise.
28738 * localedata/locales/byn_ER: Likewise.
28739 * localedata/locales/ca_AD: Likewise.
28740 * localedata/locales/ca_ES: Likewise.
28741 * localedata/locales/ca_FR: Likewise.
28742 * localedata/locales/ca_IT: Likewise.
28743 * localedata/locales/ce_RU: Likewise.
28744 * localedata/locales/chr_US: Likewise.
28745 * localedata/locales/cmn_TW: Likewise.
28746 * localedata/locales/crh_UA: Likewise.
28747 * localedata/locales/cs_CZ: Likewise.
28748 * localedata/locales/csb_PL: Likewise.
28749 * localedata/locales/cv_RU: Likewise.
28750 * localedata/locales/cy_GB: Likewise.
28751 * localedata/locales/da_DK: Likewise.
28752 * localedata/locales/de_AT: Likewise.
28753 * localedata/locales/de_BE: Likewise.
28754 * localedata/locales/de_CH: Likewise.
28755 * localedata/locales/de_DE: Likewise.
28756 * localedata/locales/de_IT: Likewise.
28757 * localedata/locales/de_LI: Likewise.
28758 * localedata/locales/de_LU: Likewise.
28759 * localedata/locales/doi_IN: Likewise.
28760 * localedata/locales/dv_MV: Likewise.
28761 * localedata/locales/dz_BT: Likewise.
28762 * localedata/locales/el_CY: Likewise.
28763 * localedata/locales/el_GR: Likewise.
28764 * localedata/locales/en_AG: Likewise.
28765 * localedata/locales/en_AU: Likewise.
28766 * localedata/locales/en_BW: Likewise.
28767 * localedata/locales/en_CA: Likewise.
28768 * localedata/locales/en_DK: Likewise.
28769 * localedata/locales/en_GB: Likewise.
28770 * localedata/locales/en_HK: Likewise.
28771 * localedata/locales/en_IE: Likewise.
28772 * localedata/locales/en_IL: Likewise.
28773 * localedata/locales/en_IN: Likewise.
28774 * localedata/locales/en_NG: Likewise.
28775 * localedata/locales/en_NZ: Likewise.
28776 * localedata/locales/en_PH: Likewise.
28777 * localedata/locales/en_SG: Likewise.
28778 * localedata/locales/en_US: Likewise.
28779 * localedata/locales/en_ZA: Likewise.
28780 * localedata/locales/en_ZM: Likewise.
28781 * localedata/locales/en_ZW: Likewise.
28782 * localedata/locales/eo: Likewise.
28783 * localedata/locales/es_AR: Likewise.
28784 * localedata/locales/es_BO: Likewise.
28785 * localedata/locales/es_CL: Likewise.
28786 * localedata/locales/es_CO: Likewise.
28787 * localedata/locales/es_CR: Likewise.
28788 * localedata/locales/es_CU: Likewise.
28789 * localedata/locales/es_DO: Likewise.
28790 * localedata/locales/es_EC: Likewise.
28791 * localedata/locales/es_ES: Likewise.
28792 * localedata/locales/es_GT: Likewise.
28793 * localedata/locales/es_HN: Likewise.
28794 * localedata/locales/es_MX: Likewise.
28795 * localedata/locales/es_NI: Likewise.
28796 * localedata/locales/es_PA: Likewise.
28797 * localedata/locales/es_PE: Likewise.
28798 * localedata/locales/es_PR: Likewise.
28799 * localedata/locales/es_PY: Likewise.
28800 * localedata/locales/es_SV: Likewise.
28801 * localedata/locales/es_US: Likewise.
28802 * localedata/locales/es_UY: Likewise.
28803 * localedata/locales/es_VE: Likewise.
28804 * localedata/locales/et_EE: Likewise.
28805 * localedata/locales/eu_ES: Likewise.
28806 * localedata/locales/eu_ES@euro: Likewise.
28807 * localedata/locales/fa_IR: Likewise.
28808 * localedata/locales/ff_SN: Likewise.
28809 * localedata/locales/fi_FI: Likewise.
28810 * localedata/locales/fil_PH: Likewise.
28811 * localedata/locales/fo_FO: Likewise.
28812 * localedata/locales/fr_BE: Likewise.
28813 * localedata/locales/fr_CA: Likewise.
28814 * localedata/locales/fr_CH: Likewise.
28815 * localedata/locales/fr_FR: Likewise.
28816 * localedata/locales/fr_LU: Likewise.
28817 * localedata/locales/fur_IT: Likewise.
28818 * localedata/locales/fy_DE: Likewise.
28819 * localedata/locales/fy_NL: Likewise.
28820 * localedata/locales/ga_IE: Likewise.
28821 * localedata/locales/gd_GB: Likewise.
28822 * localedata/locales/gez_ER: Likewise.
28823 * localedata/locales/gez_ET: Likewise.
28824 * localedata/locales/gl_ES: Likewise.
28825 * localedata/locales/gu_IN: Likewise.
28826 * localedata/locales/gv_GB: Likewise.
28827 * localedata/locales/ha_NG: Likewise.
28828 * localedata/locales/hak_TW: Likewise.
28829 * localedata/locales/he_IL: Likewise.
28830 * localedata/locales/hi_IN: Likewise.
28831 * localedata/locales/hif_FJ: Likewise.
28832 * localedata/locales/hne_IN: Likewise.
28833 * localedata/locales/hr_HR: Likewise.
28834 * localedata/locales/hsb_DE: Likewise.
28835 * localedata/locales/ht_HT: Likewise.
28836 * localedata/locales/hu_HU: Likewise.
28837 * localedata/locales/hy_AM: Likewise.
28838 * localedata/locales/i18n: Likewise.
28839 * localedata/locales/ia_FR: Likewise.
28840 * localedata/locales/id_ID: Likewise.
28841 * localedata/locales/ig_NG: Likewise.
28842 * localedata/locales/ik_CA: Likewise.
28843 * localedata/locales/is_IS: Likewise.
28844 * localedata/locales/it_CH: Likewise.
28845 * localedata/locales/it_IT: Likewise.
28846 * localedata/locales/iu_CA: Likewise.
28847 * localedata/locales/ja_JP: Likewise.
28848 * localedata/locales/ka_GE: Likewise.
28849 * localedata/locales/kk_KZ: Likewise.
28850 * localedata/locales/kl_GL: Likewise.
28851 * localedata/locales/kn_IN: Likewise.
28852 * localedata/locales/ko_KR: Likewise.
28853 * localedata/locales/kok_IN: Likewise.
28854 * localedata/locales/ks_IN: Likewise.
28855 * localedata/locales/ks_IN@devanagari: Likewise.
28856 * localedata/locales/ku_TR: Likewise.
28857 * localedata/locales/kw_GB: Likewise.
28858 * localedata/locales/ky_KG: Likewise.
28859 * localedata/locales/lb_LU: Likewise.
28860 * localedata/locales/lg_UG: Likewise.
28861 * localedata/locales/li_BE: Likewise.
28862 * localedata/locales/li_NL: Likewise.
28863 * localedata/locales/lij_IT: Likewise.
28864 * localedata/locales/ln_CD: Likewise.
28865 * localedata/locales/lo_LA: Likewise.
28866 * localedata/locales/lt_LT: Likewise.
28867 * localedata/locales/lv_LV: Likewise.
28868 * localedata/locales/lzh_TW: Likewise.
28869 * localedata/locales/mag_IN: Likewise.
28870 * localedata/locales/mai_IN: Likewise.
28871 * localedata/locales/mg_MG: Likewise.
28872 * localedata/locales/mhr_RU: Likewise.
28873 * localedata/locales/mi_NZ: Likewise.
28874 * localedata/locales/mk_MK: Likewise.
28875 * localedata/locales/ml_IN: Likewise.
28876 * localedata/locales/mn_MN: Likewise.
28877 * localedata/locales/mni_IN: Likewise.
28878 * localedata/locales/mr_IN: Likewise.
28879 * localedata/locales/ms_MY: Likewise.
28880 * localedata/locales/mt_MT: Likewise.
28881 * localedata/locales/my_MM: Likewise.
28882 * localedata/locales/nan_TW: Likewise.
28883 * localedata/locales/nan_TW@latin: Likewise.
28884 * localedata/locales/nb_NO: Likewise.
28885 * localedata/locales/nds_DE: Likewise.
28886 * localedata/locales/nds_NL: Likewise.
28887 * localedata/locales/ne_NP: Likewise.
28888 * localedata/locales/nhn_MX: Likewise.
28889 * localedata/locales/niu_NU: Likewise.
28890 * localedata/locales/niu_NZ: Likewise.
28891 * localedata/locales/nl_AW: Likewise.
28892 * localedata/locales/nl_BE: Likewise.
28893 * localedata/locales/nl_NL: Likewise.
28894 * localedata/locales/nn_NO: Likewise.
28895 * localedata/locales/nr_ZA: Likewise.
28896 * localedata/locales/nso_ZA: Likewise.
28897 * localedata/locales/oc_FR: Likewise.
28898 * localedata/locales/om_ET: Likewise.
28899 * localedata/locales/om_KE: Likewise.
28900 * localedata/locales/or_IN: Likewise.
28901 * localedata/locales/os_RU: Likewise.
28902 * localedata/locales/pa_IN: Likewise.
28903 * localedata/locales/pa_PK: Likewise.
28904 * localedata/locales/pap_AW: Likewise.
28905 * localedata/locales/pap_CW: Likewise.
28906 * localedata/locales/pl_PL: Likewise.
28907 * localedata/locales/ps_AF: Likewise.
28908 * localedata/locales/pt_BR: Likewise.
28909 * localedata/locales/pt_PT: Likewise.
28910 * localedata/locales/quz_PE: Likewise.
28911 * localedata/locales/raj_IN: Likewise.
28912 * localedata/locales/ro_RO: Likewise.
28913 * localedata/locales/ru_RU: Likewise.
28914 * localedata/locales/ru_UA: Likewise.
28915 * localedata/locales/rw_RW: Likewise.
28916 * localedata/locales/sa_IN: Likewise.
28917 * localedata/locales/sat_IN: Likewise.
28918 * localedata/locales/sc_IT: Likewise.
28919 * localedata/locales/sd_IN: Likewise.
28920 * localedata/locales/sd_IN@devanagari: Likewise.
28921 * localedata/locales/se_NO: Likewise.
28922 * localedata/locales/sgs_LT: Likewise.
28923 * localedata/locales/shs_CA: Likewise.
28924 * localedata/locales/si_LK: Likewise.
28925 * localedata/locales/sid_ET: Likewise.
28926 * localedata/locales/sk_SK: Likewise.
28927 * localedata/locales/sl_SI: Likewise.
28928 * localedata/locales/sm_WS: Likewise.
28929 * localedata/locales/so_DJ: Likewise.
28930 * localedata/locales/so_ET: Likewise.
28931 * localedata/locales/so_KE: Likewise.
28932 * localedata/locales/so_SO: Likewise.
28933 * localedata/locales/sq_AL: Likewise.
28934 * localedata/locales/sq_MK: Likewise.
28935 * localedata/locales/sr_ME: Likewise.
28936 * localedata/locales/sr_RS: Likewise.
28937 * localedata/locales/sr_RS@latin: Likewise.
28938 * localedata/locales/ss_ZA: Likewise.
28939 * localedata/locales/st_ZA: Likewise.
28940 * localedata/locales/sv_FI: Likewise.
28941 * localedata/locales/sv_SE: Likewise.
28942 * localedata/locales/sw_KE: Likewise.
28943 * localedata/locales/sw_TZ: Likewise.
28944 * localedata/locales/szl_PL: Likewise.
28945 * localedata/locales/ta_IN: Likewise.
28946 * localedata/locales/ta_LK: Likewise.
28947 * localedata/locales/tcy_IN: Likewise.
28948 * localedata/locales/te_IN: Likewise.
28949 * localedata/locales/tg_TJ: Likewise.
28950 * localedata/locales/th_TH: Likewise.
28951 * localedata/locales/the_NP: Likewise.
28952 * localedata/locales/ti_ER: Likewise.
28953 * localedata/locales/ti_ET: Likewise.
28954 * localedata/locales/tig_ER: Likewise.
28955 * localedata/locales/tk_TM: Likewise.
28956 * localedata/locales/tl_PH: Likewise.
28957 * localedata/locales/tn_ZA: Likewise.
28958 * localedata/locales/to_TO: Likewise.
28959 * localedata/locales/tpi_PG: Likewise.
28960 * localedata/locales/tr_CY: Likewise.
28961 * localedata/locales/tr_TR: Likewise.
28962 * localedata/locales/ts_ZA: Likewise.
28963 * localedata/locales/tt_RU: Likewise.
28964 * localedata/locales/tt_RU@iqtelif: Likewise.
28965 * localedata/locales/ug_CN: Likewise.
28966 * localedata/locales/uk_UA: Likewise.
28967 * localedata/locales/unm_US: Likewise.
28968 * localedata/locales/ur_IN: Likewise.
28969 * localedata/locales/ur_PK: Likewise.
28970 * localedata/locales/uz_UZ: Likewise.
28971 * localedata/locales/uz_UZ@cyrillic: Likewise.
28972 * localedata/locales/ve_ZA: Likewise.
28973 * localedata/locales/vi_VN: Likewise.
28974 * localedata/locales/wa_BE: Likewise.
28975 * localedata/locales/wae_CH: Likewise.
28976 * localedata/locales/wal_ET: Likewise.
28977 * localedata/locales/wo_SN: Likewise.
28978 * localedata/locales/xh_ZA: Likewise.
28979 * localedata/locales/yi_US: Likewise.
28980 * localedata/locales/yo_NG: Likewise.
28981 * localedata/locales/yue_HK: Likewise.
28982 * localedata/locales/yuw_PG: Likewise.
28983 * localedata/locales/zh_CN: Likewise.
28984 * localedata/locales/zh_HK: Likewise.
28985 * localedata/locales/zh_SG: Likewise.
28986 * localedata/locales/zh_TW: Likewise.
28987 * localedata/locales/zu_ZA: Likewise.
28988
cae87e64
FW
289892017-11-13 Florian Weimer <fweimer@redhat.com>
28990
28991 * support/next_to_fault.h, support/next_to_fault.c: New files.
28992 * support/Makefile (libsupport-routines): Add next_to_fault.
28993 * resolv/tst-inet_pton.c (struct next_to_fault)
28994 (next_to_fault_allocate, next_to_fault_free): Remove.
28995 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
28996
4a306ef1
L
289972017-11-13 H.J. Lu <hongjiu.lu@intel.com>
28998
28999 * elf/dl-support.c: Include <dl-procruntime.c>.
29000 * include/link.h: Include <link_map.h>.
29001 * sysdeps/generic/dl-procruntime.c: New file.
29002 * sysdeps/generic/link_map.h: Likewise.
29003 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
29004 the writable ld.so namespace.
29005
e69897bf
PE
290062017-11-12 Paul Eggert <eggert@cs.ucla.edu>
29007
29008 timezone: pacify GCC -Wstringop-truncation
29009 Problem reported by Martin Sebor in:
29010 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
29011 * timezone/zic.c (writezone): Use memcpy, not strncpy.
29012
1ffe1ccb
FW
290132017-11-12 Florian Weimer <fweimer@redhat.com>
29014
eceed671
FW
29015 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
29016 tst-xreadlink.
29017 (tests): Add tst-xreadlink.
1ffe1ccb
FW
29018 * support/support.h (xstrndup): Declare.
29019 * support/xunistd.h (xunlink, xreadlink): Declare.
29020 * support/temp_file.h (support_create_temp_directory): Declare.
29021 * support/temp_file.c (support_create_temp_directory): New function.
29022 * support/support_chroot.c (support_chroot_create): Use it.
29023 * support/xreadlink.c: New file.
29024 * support/xstrndup.c: Likewise.
29025 * support/xunlink.c: Likewise.
29026 * support/tst-xreadlink.c: Likewise.
29027
456b40a9
JDA
290282017-11-11 John David Anglin <danglin@gcc.gnu.org>
29029
29030 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
29031
c0a25aa9
FW
290322017-11-11 Florian Weimer <fweimer@redhat.com>
29033
29034 [BZ #22409]
29035 [BZ #22412]
29036 * resolv/res_comp.c (printable_string, binary_hnok)
29037 (binary_leading_dash): New functions.
29038 (res_hnok): Reimplement using these functions and ns_name_pton.
29039 (res_ownok): Likewise.
29040 (res_mailok): Reimplement using printable_string, ns_name_pton and
29041 binary_hnok.
29042 (res_dnok): Reimplement using printable_string and ns_name_pton.
29043 * resolv/tst-res_hnok.c (tests): Add additional tests.
29044 (LETTERDIGITS, PRINTABLE): Define.
29045 (do_test): Adjust one_char results.
29046
9e0ad304
FW
290472017-11-11 Florian Weimer <fweimer@redhat.com>
29048
29049 [BZ #22413]
29050 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
29051 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
29052
e2a9fca8
FW
290532017-11-11 Florian Weimer <fweimer@redhat.com>
29054
29055 * resolv/tst-ns_name_pton.c: New file.
29056 * resolv/Makefile (tests): Add tst-ns_name_pton.
29057 (tst-ns_name_pton): Link against libresolv.
29058
5c1a6923
FW
290592017-11-11 Florian Weimer <fweimer@redhat.com>
29060
29061 * resolv/tst-res_hnok.c: New file.
29062 * resolv/Makefile (tests): Add tst-res_hnok.
29063 (tst-res_hnok): Link against libresolv.
29064
a19c0a1d
FW
290652017-11-11 Florian Weimer <fweimer@redhat.com>
29066
29067 * resolv/tst-resolv-network.c: Use test framework instead explicit
29068 main function.
29069
8cb5295d
L
290702017-11-09 H.J. Lu <hongjiu.lu@intel.com>
29071
29072 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
29073 <jmp_buf-macros.h>.
29074 [!_ISOMAC] (STR_HELPER): New.
29075 [!_ISOMAC] (STR): Likewise.
29076 [!_ISOMAC] (TEST_SIZE): Likewise.
29077 [!_ISOMAC] (TEST_ALIGN): Likewise.
29078 [!_ISOMAC] (TEST_OFFSET): Likewise.
29079 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
29080 field offsets of jmp_buf as well as sigjmp_buf.
29081 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
29082 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
29083 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
29084 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
29085 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
29086 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
29087 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
29088 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
29089 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
29090 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
29091 Likewise.
29092 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
29093 Likewise.
29094 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
29095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
29096 Likewise.
29097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
29098 Likewise.
29099 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
29100 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
29101 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
29102 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
29103 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
29104 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
29105 Likewise.
29106 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
29107 Likewise.
29108 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
29109 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
29110 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
29111
58c4a161
JM
291122017-11-07 Joseph Myers <joseph@codesourcery.com>
29113
3683b423
JM
29114 * include/float.h
29115 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29116 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
29117 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29118 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
29119 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29120 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
29121 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29122 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
29123 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29124 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
29125 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29126 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
29127 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29128 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
29129 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29130 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
29131 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29132 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
29133 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29134 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
29135 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29136 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
29137 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29138 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
29139 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29140 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
29141 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29142 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
29143 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29144 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
29145 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29146 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
29147 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29148 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
29149 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29150 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
29151 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29152 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
29153 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29154 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
29155 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29156 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
29157 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29158 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
29159 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29160 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
29161 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29162 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
29163 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29164 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
29165 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29166 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
29167 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29168 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
29169 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29170 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
29171 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29172 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
29173 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29174 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
29175 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29176 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
29177 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29178 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
29179 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29180 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
29181 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29182 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
29183 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29184 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
29185 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29186 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
29187 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29188 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
29189 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29190 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
29191 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29192 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
29193 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29194 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
29195 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29196 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
29197 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29198 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
29199 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29200 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
29201 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
29202 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
29203
58c4a161
JM
29204 * stdlib/tst-strtod.h (F16): New macro.
29205 (F32): Likewise.
29206 (F64): Likewise.
29207 (F32X): Likewise.
29208 (F64X): Likewise.
29209 (F128X): Likewise.
29210 (IF_FLOAT16): Likewise.
29211 (IF_FLOAT32): Likewise.
29212 (IF_FLOAT64): Likewise.
29213 (IF_FLOAT32X): Likewise.
29214 (IF_FLOAT64X): Likewise.
29215 (IF_FLOAT128X): Likewise.
29216 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
29217 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
29218 (STRTOD_TEST_FOREACH): Likewise.
29219 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
29220 (CHOOSE_f64): Likewise.
29221 (CHOOSE_f32x): Likewise.
29222 (CHOOSE_f64x): Likewise.
29223
feda96a1
AS
292242017-11-07 Andreas Schwab <schwab@suse.de>
29225
29226 * nptl/Makefile (tests-internal): Remove tst-typesizes.
29227
1bd0cbb8
MF
292282017-11-07 Mike FABIAN <mfabian@redhat.com>
29229
29230 [BZ #22403]
29231 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
29232 to be escaped.
29233 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
29234 to be escaped.
29235
363e4519 292362017-11-07 Claude Paroz <claude@2xlibre.net>
d8301314
CP
29237
29238 [BZ #22403]
29239 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
29240 to be escaped.
29241 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
29242 to be escaped.
29243 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
29244 to be escaped.
29245
dff91cd4
AZ
292462017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29247
06be6368
AZ
29248 [BZ #22298]
29249 * nptl/allocatestack.c (allocate_stack): Check if
29250 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
29251 __PTHREAD_MUTEX_HAVE_PREV is defined.
29252 * nptl/descr.h (pthread): Likewise.
29253 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
29254 Likewise.
29255 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
29256 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
29257 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
29258 * sysdeps/nptl/bits/thread-shared-types.h
29259 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
29260 defines.
29261 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
29262 of __WORDSIZE for internal layout.
29263 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
29264 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
29265 instead of __WORDSIZE whether to use an union for __spins and __list
29266 fields.
29267 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
29268 case.
29269 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
29270 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
29271 defines.
29272 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
29273 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29274 Likewise.
29275 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
29276 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29277 Likewise.
29278 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
29279 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29280 Likewise.
29281 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
29282 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29283 Likewise.
29284 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
29285 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29286 Likewise.
29287 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
29288 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29289 Likewise.
29290 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
29291 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29292 Likewise.
29293 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
29294 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29295 Likewise.
29296 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
29297 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29298 Likewise.
29299 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
29300 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29301 Likewise.
29302 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
29303 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29304 Likewise.
29305 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
29306 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29307 Likewise.
29308 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
29309 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29310 Likewise.
29311 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
29312 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29313 Likewise.
29314
72b3c6ee
AZ
29315 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
29316 New macros.
29317 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
29318 checks for expected input type size.
29319 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
29320 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
29321 Likewise.
29322 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
29323 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
29324 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
29325 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
29326 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
29327 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
29328 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
29329 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
29330 superflous runtime assert check.
29331 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
29332 Likewise.
29333 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
29334 Likewise.
29335 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
29336 Likewise.
29337 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
29338 Likewise.
29339 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
29340 Likewise.
29341 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
29342 Likewise.
29343 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
29344 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
29345 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
29346 Likewise.
29347 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
29348 Likewise.
29349 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
29350 Likewise.
29351 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
29352 Likewise.
29353 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
29354 Likewise.
29355 * nptl/pthread_attr_setinheritsched.c
29356 (__pthread_attr_setinheritsched): Likewise.
29357 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
29358 Likewise.
29359 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
29360 Likewise.
29361 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
29362 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
29363 __old_pthread_attr_setstack): Likewise.
29364 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
29365 Likewise.
29366 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
29367 Likewise.
29368 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
29369 Likewise.
29370 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
29371 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
29372 Likewise.
29373 * nptl/tst-typesizes.c: Remove file.
29374
dff91cd4
AZ
29375 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
29376 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
29377 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
29378 checks for internal pthread_mutex_t offsets.
29379 * sysdeps/aarch64/nptl/pthread-offsets.h
29380 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
29381 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
29382 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
29383 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
29384 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
29385 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
29386 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
29387 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
29388 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
29389 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
29390 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
29391 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
29392 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
29393 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
29394 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
29395 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
29396 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
29397 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
29398
b7fc95f8
FW
293992017-11-07 Florian Weimer <fweimer@redhat.com>
29400
29401 * bits/mman-linux.h: Move ...
29402 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
29403 comment.
29404 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
29405 outdated comment.
29406
6b860364
RS
294072017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29408
29409 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
29410 Redefine STRNLEN as __strnlen_power8.
29411
802c1f16
AZ
294122017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29413
d83da3a4
AZ
29414 * signal/sighold.c (sighold): Optimize implementation.
29415
6a4235f1
AZ
29416 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
29417 __NR_rt_sigqueueinfo.
29418
8b0e795a
AZ
29419 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
29420 __sigtimedwait.
29421 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
29422 assume __NR_rt_sigtimedwait.
29423 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
29424 and add LIBC_CANCEL_HANDLED for cancellation marking.
29425 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
29426
a1a638dd
AZ
29427 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
29428 (sysdeps_routines): Add memchr_noneon.
29429 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
29430 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
29431 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
29432 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
29433 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
29434 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
29435 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
29436
802c1f16
AZ
29437 * sysdeps/arm/arm-ifunc.h: New file.
29438 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
29439 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
29440 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
29441 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
29442 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
29443 (__memcpy_neon): Avoid create hidden alias.
29444 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
29445 (__memcpy_vfp): Likewise.
29446 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
29447 (sysdep_routines): Add memcpy_arm.
29448 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
29449
abcb584d
L
294502017-11-06 H.J. Lu <hongjiu.lu@intel.com>
29451
29452 [BZ #22362]
29453 * Makerules (make-link-multidir): New.
29454 * config.make.in (multidir): New.
29455 * configure.ac (libc_cv_multidir): New. AC_SUBST.
29456 * configure: Regenerated.
29457 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
29458 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
29459 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
29460 New target.
29461
4e2dff67
JM
294622017-11-06 Joseph Myers <joseph@codesourcery.com>
29463
29464 [BZ #22402]
29465 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
29466 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
29467
a1c7cd3c
MF
294682017-11-04 Mike FABIAN <mfabian@redhat.com>
29469
29470 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
29471 to be escaped.
29472
b9af29c0
FW
294732017-11-04 Florian Weimer <fweimer@redhat.com>
29474
29475 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
29476
4ca70e1a
JM
294772017-11-03 Joseph Myers <joseph@codesourcery.com>
29478
29479 * math/math.h [__HAVE_DISTINCT_FLOAT16
29480 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
29481 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
29482 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
29483 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
29484 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
29485 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
29486 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
29487 (__MATH_TG_F32): New macro.
29488 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
29489 (__MATH_TG_F64X): Likewise.
29490 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
29491 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
29492
ba0e6668
DL
294932017-11-03 Dmitry V. Levin <ldv@altlinux.org>
29494
29495 * po/de.po: Update translations.
29496 * po/ru.po: Likewise.
29497
bc18a6d3
FW
294982017-11-03 Florian Weimer <fweimer@redhat.com>
29499
29500 * manual/filesys.texi (Hard Links): Document linkat.
29501
97255170
JM
295022017-11-03 Joseph Myers <joseph@codesourcery.com>
29503
86ec4865
JM
29504 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
29505 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
29506 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
29507 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
29508 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
29509 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
29510 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
29511 the same as _Float128.
29512 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
29513 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
29514 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
29515
97255170
JM
29516 * stdlib/stdlib.h
29517 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
29518 Declare.
29519 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
29520 Likewise.
29521 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
29522 Likewise.
29523 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29524 (strtof32x): Likewise.
29525 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29526 (strtof64x): Likewise.
29527 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29528 (strtof128x): Likewise.
29529 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29530 (strfromf16): Likewise.
29531 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29532 (strfromf32): Likewise.
29533 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29534 (strfromf64): Likewise.
29535 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29536 (strfromf32x): Likewise.
29537 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29538 (strfromf64x): Likewise.
29539 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29540 (strfromf128x): Likewise.
29541 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
29542 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
29543 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
29544 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
29545 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
29546 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
29547
6d58ce5e
RH
295482017-11-03 Richard Henderson <rth@twiddle.net>
29549
29550 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
29551
659ca267
SN
295522017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29553
29554 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
29555
94d2f0af
SN
295562017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29557
29558 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
29559 DT_TLSDESC_GOT initialization.
29560 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
29561 (_dl_tlsdesc_resolve_hold): Likewise.
29562 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
29563 (_dl_tlsdesc_resolve_hold): Likewise.
29564 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
29565 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
29566
28e1ddf3
SN
295672017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29568
29569 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
29570
0ca3d1d6
SN
295712017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29572
29573 [BZ #18572]
29574 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
29575 non-lazily for R_ARM_TLS_DESC.
29576
2c1d4e5f
SN
295772017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29578
29579 [BZ #17078]
29580 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
29581 R_ARM_TLS_DESC case.
29582 (elf_machine_lazy_rel): Remove the prelink check.
29583
91c5a366
SN
295842017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29585
29586 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
29587 DT_TLSDESC_GOT initialization.
29588 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
29589 (_dl_tlsdesc_resolve_rela): Likewise.
29590 (_dl_tlsdesc_resolve_hold): Likewise.
29591 (_dl_tlsdesc_undefweak): Remove ldar.
29592 (_dl_tlsdesc_dynamic): Likewise.
29593 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
29594 (_dl_tlsdesc_resolve_rela): Likewise.
29595 (_dl_tlsdesc_resolve_hold): Likewise.
29596 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
29597 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
29598 (_dl_tlsdesc_resolve_rela): Likewise.
29599 (_dl_tlsdesc_resolve_hold): Likewise.
29600
b7cf203b
SN
296012017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29602
29603 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
29604 binding and initialization non-lazily for R_AARCH64_TLSDESC.
29605
0cc5b022
SN
296062017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29607
29608 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
29609 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
29610
43ddff2e
JM
296112017-11-02 Joseph Myers <joseph@codesourcery.com>
29612
29613 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
29614 Declare.
29615 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
29616 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
29617 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
29618 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
29619 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
29620 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
29621 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
29622 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
29623 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
29624 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
29625 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
29626
5baac970
MF
296272017-11-02 Mike FABIAN <mfabian@redhat.com>
29628
29629 [BZ #22382]
29630 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
29631 * localedata/locales/tpi_PG: Add standard header.
29632
ef11081f
FW
296332017-11-02 Florian Weimer <fweimer@redhat.com>
29634
29635 test-errno-linux: quotactl can fail with EPERM in containers.
29636 * sysdeps/unix/sysv/linux/test-errno-linux.c
29637 (LIST, LIST_FORWARD): New macros.
29638 (check_error_in_list): New function.
29639 (test_wrp_rv): Accept list of permitted error codes.
29640 (test_wrp_rv2): Remove.
29641 (test_wrp): Call test_wrp_rv with list of error codes.
29642 (test_wrp2): Accept list of error codes.
29643 (do_test): Adjust. Allow EPERM for quotactl.
29644
d10b132b
FW
296452017-11-02 Florian Weimer <fweimer@redhat.com>
29646
29647 * stdio-common/bug16.c (do_test): Use array_length.
29648 * stdio-common/errlist.c (_sys_nerr): Likewise.
29649 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
29650 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
29651 * stdio-common/psiginfo.c (psiginfo): Use array_length.
29652 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
29653 (do_test): Use array_length.
29654 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
29655 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
29656 * stdio-common/tst-printf-round.c (do_test): Likewise.
29657 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
29658 (CHECK): Use array_length.
29659 * stdio-common/tstdiomisc.c (t3, F): Likewise.
29660 * stdio-common/tstscanf.c (main): Likewise.
29661 * stdio-common/vfprintf.c (process_string_arg): Likewise.
29662
c94a5688
FW
296632017-11-02 Florian Weimer <fweimer@redhat.com>
29664
29665 Add array_length and array_end macros.
29666 * include/array_length.h: New file.
29667
2fac6a6c
FW
296682017-11-02 Florian Weimer <fweimer@redhat.com>
29669
29670 [BZ #22332]
29671 * posix/tst-glob-tilde.c (do_noescape): New variable.
29672 (one_test): Process it.
29673 (do_test): Set do_noescape. Add unescaping test case.
29674
2f1b212e
JM
296752017-11-01 Joseph Myers <joseph@codesourcery.com>
29676
260fbd0a
JM
29677 * math/complex.h
29678 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
29679 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
29680 with appropriate macros defined and undefined.
29681 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
29682 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29683 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
29684 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29685 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
29686 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29687 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
29688 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29689 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
29690 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29691
2f1b212e
JM
29692 * math/complex.h
29693 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
29694 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
29695 that for long double. Do not condition define and undefine of
29696 _Mdouble_complex_ on [__CFLOAT128].
29697
95b93c6e
L
296982017-11-01 H.J. Lu <hongjiu.lu@intel.com>
29699
29700 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
29701 of <sysdeps/generic/sysdep.h>.
29702 (ALIGNARG): Removed.
29703 (ASM_SIZE_DIRECTIVE): Likewise.
29704 (ENTRY): Likewise.
29705 (END): Likewise.
29706 (ENTRY_CHK): Likewise.
29707 (END_CHK): Likewise.
29708 (syscall_error): Likewise.
29709 (mcount): Likewise.
29710 (PSEUDO_END): Likewise.
29711 (L): Likewise.
29712 (atom_text_section): Likewise.
29713 * sysdeps/x86/sysdep.h: New file.
29714 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
29715 of <sysdeps/generic/sysdep.h>.
29716 (ALIGNARG): Removed.
29717 (ASM_SIZE_DIRECTIVE): Likewise.
29718 (ENTRY): Likewise.
29719 (END): Likewise.
29720 (ENTRY_CHK): Likewise.
29721 (END_CHK): Likewise.
29722 (syscall_error): Likewise.
29723 (mcount): Likewise.
29724 (PSEUDO_END): Likewise.
29725 (L): Likewise.
29726 (atom_text_section): Likewise.
29727
ab74d59f 297282017-10-31 Rafał Lużyński <digitalfreak@lingonborough.com>
1bb36539
RL
29729
29730 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
29731 category of LC_CTYPE set to "i18n:2012".
29732 * localedata/locales/i18n_ctype: Regenerate.
29733
067f5d97 297342017-10-31 Yury Norov <ynorov@caviumnetworks.com>
e8681faa 29735
87bbc4cf
YN
29736 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
29737 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
29738 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
29739 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
29740
e8681faa
YN
29741 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
29742 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
29743 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
29744 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
29745
540af6e2
JM
297462017-10-31 Joseph Myers <joseph@codesourcery.com>
29747
43e66283
JM
29748 * math/complex.h
29749 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
29750 New macro.
29751 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
29752 Likewise.
29753 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
29754 Likewise.
29755 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29756 (CMPLXF32X): Likewise.
29757 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29758 (CMPLXF64X): Likewise.
29759 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29760 (CMPLXF128X): Likewise.
29761
540af6e2
JM
29762 * math/math.h
29763 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
29764 (__MATH_EVAL_FMT2): Define to add 0.0f.
29765
58af72b4
AM
297662017-10-31 Alan Modra <amodra@gmail.com>
29767
29768 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
29769 include sysdep.h.
29770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
29771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
29772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
29773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
29774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
29775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
29776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
29777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
29778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
29779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
29780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
29781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
29782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
29783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
29784 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
29785 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
29786 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
29787 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
29788 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
29789 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
29790 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
29791 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
29792 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
29793 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
29794 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
29795 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
29796 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
29797 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
29798 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
29799 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
29800 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
29801 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
29802 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
29803 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
29804 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
29805 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
29806 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
29807 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
29808 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
29809 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
29810 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
29811 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
29812 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
29813 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
29814 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
29815 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
29816 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
29817 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
29818 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
29819 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
29820 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
29821 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
29822 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
29823 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
29824 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
29825 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
29826 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
29827 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
29828 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
29829 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
29830 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
29831 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
29832 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
29833 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
29834 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
29835 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
29836 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
29837 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
29838 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
29839
29840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
29841 include sysdep.h and math_ldbl_opt.h.
29842
29843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
29844 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
29845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
29846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
29847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
29848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
29849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
29850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
29851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
29852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
29853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
29854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
29855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
29856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
29857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
29858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
29859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
29860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
29861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
29862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
29863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
29864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
29865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
29866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
29867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
29868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
29869
112f30b3
AM
298702017-10-31 Alan Modra <amodra@gmail.com>
29871
29872 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
29873 string/strncase_l.c, not string/strncase.c.
29874 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
29875 (libc_hidden_def): Redefine.
29876
e9e7eced
AM
298772017-10-31 Alan Modra <amodra@gmail.com>
29878
29879 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
29880 (__STRCMP, STRCMP, __strcasecmp_l): Define.
29881 (__strcasecmp): Don't define.
29882
f7b465cf
AM
298832017-10-31 Alan Modra <amodra@gmail.com>
29884
29885 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
29886 IS_IN (libc).
29887 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
29888 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
29889 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
29890
d46b09f9
AM
298912017-10-31 Alan Modra <amodra@gmail.com>
29892
29893 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
29894 USE_AS_STPNCPY.
29895
e9b8e194
AM
298962017-10-31 Alan Modra <amodra@gmail.com>
29897
29898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
29899 Redefine only when SHARED.
29900
eda162dd
JM
299012017-10-30 Joseph Myers <joseph@codesourcery.com>
29902
b61afe8c
JM
29903 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
29904 Include <bits/math-finite.h> with appropriate macros defined and
29905 undefined.
29906 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
29907 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
29908 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
29909 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
29910 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
29911
eda162dd
JM
29912 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
29913 [!_Mlong_double_] (_Mlong_double_): Likewise.
29914 [!_Mfloat16_] (_Mfloat16_): Likewise.
29915 [!_Mfloat32_] (_Mfloat32_): Likewise.
29916 [!_Mfloat64_] (_Mfloat64_): Likewise.
29917 [!_Mfloat128_] (_Mfloat128_): Likewise.
29918 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
29919 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
29920 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
29921 (_Mdouble_): Define without indirection through those macros.
29922 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
29923 [!_Mfloat128_] (_Mfloat128_): Likewise.
29924 [_Mlong_double_] (_Mlong_double_): Likewise.
29925 (_Mdouble_): Define without indirection through those macros.
29926 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
29927 not add -D_Mlong_double_=double.
29928 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
29929 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
29930
4ad5106e
L
299312017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29932
29933 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
29934
fe326df7
L
299352017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29936
29937 * sysdeps/x86/libc-start.c: Reformat.
29938
c5cc4514
L
299392017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29940
29941 [BZ #22353]
29942 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
29943 (1): Renamed to ...
29944 (L(Src0)): This.
29945 (L(Src1)): New.
29946 (L(Src2)): Likewise.
29947 (L(1)): Renamed to ...
29948 (L(Src3)): This.
29949
ce12269f
JM
299502017-10-30 Joseph Myers <joseph@codesourcery.com>
29951
29952 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
29953 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
29954 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
29955 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
29956 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
29957 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
29958 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
29959 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
29960 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
29961 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
29962 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
29963 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
29964 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
29965 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
29966 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
29967 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
29968 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
29969 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
29970 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
29971 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
29972 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
29973 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
29974 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
29975 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
29976 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
29977 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
29978 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
29979 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
29980 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
29981 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
29982 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
29983 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
29984 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
29985 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
29986 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
29987 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
29988 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
29989 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
29990 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
29991 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
29992 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
29993 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
29994 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
29995 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
29996 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
29997 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
29998 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
29999 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
30000 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
30001 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
30002 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
30003 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
30004 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
30005 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
30006 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
30007 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
30008 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
30009 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
30010 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
30011 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
30012 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
30013 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
30014 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
30015 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
30016 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
30017 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
30018
4484b9e2
FW
300192017-10-30 Florian Weimer <fweimer@redhat.com>
30020
30021 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
30022 always defined.
30023 * io/tst-mkdirat.c (do_test): Likewise.
30024 * io/tst-mkfifoat.c (do_test): Likewise.
30025 * io/tst-mknodat.c (do_test): Likewise.
30026 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
30027 * locale/programs/locale.c (select_dirs): Likewise.
30028 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
30029 * posix/bug-glob2.c (my_readdir): Likewise.
30030 * posix/tst-dir.c (main): Likewise.
30031 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
30032 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
30033
68fe16dd
FW
300342017-10-30 Florian Weimer <fweimer@redhat.com>
30035
30036 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
30037 just __USE_GNU.
30038
dadf23f0
FW
300392017-10-30 Florian Weimer <fweimer@redhat.com>
30040
30041 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
30042 Convert to support/test-driver.c.
30043 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
30044 New macro parameters.
30045 (PRINTF): Remove macro. Use test_verbose conditionals instead.
30046 * posix/tst-gnuglob.c: New file.
30047 * posix/tst-gnuglob64.c: Likewise.
30048 * posix/Makefile (tests): Add tst-gnuglob64.
30049
363e4519 300502017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
fbcecc08
MF
30051
30052 [BZ #19485]
30053 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
30054 and use a better translation for March in “mon”.
30055 * localedata/locales/csb_PL: Use more ASCII to improve the
30056 readability of the source.
30057
b110af82
MF
300582017-10-30 Mike FABIAN <mfabian@redhat.com>
30059
30060 [BZ #13953]
30061 * localedata/locales/km_KH: Use ASCII as much
30062 as possible for better readability of the source and
30063 remove useless comments.
30064 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
30065 was commented out and apparently wrong anyway because it was
30066 using Lao characters. If Buddhist era should be used
30067 for km_KH, a native speaker should write the correct formaat
30068 for Khmer.
30069 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
30070 (According to CLDR, the first weekday for Cambodia is Sunday).
30071 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
30072 (These were using Lao characters which must be wrong. If we get
30073 the correct data from a native speaker, we could add it back, until
30074 then it is better not to have name_mr and name_mrs at all than
30075 having it wrong).
30076
ab74d59f 300772017-10-27 Rafał Lużyński <digitalfreak@lingonborough.com>
f301e533
RL
30078
30079 * locale/loadlocale.c: Correct size of
30080 _nl_value_type_LC_<category> arrays.
30081
7e9d7073
JM
300822017-10-27 Joseph Myers <joseph@codesourcery.com>
30083
30084 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
30085 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
30086 with appropriate macros defined and undefined.
30087 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
30088 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
30089 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
30090 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
30091 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
30092
63d3b468
L
300932017-10-27 H.J. Lu <hongjiu.lu@intel.com>
30094
30095 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
30096 "-O2 -march=i586".
30097
a4cc02c7
MF
300982017-10-27 Mike FABIAN <mfabian@redhat.com>
30099
30100 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
30101 with lowercase letters to make it agree with CLDR.
30102
1e5971ec
MF
301032017-10-27 Mike FABIAN <mfabian@redhat.com>
30104
30105 [BZ #15260]
30106 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
30107 first letters of yesstr and nostr in yesexpr and noexpr,
30108 not for the full words.
30109 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
30110 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
30111 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
30112 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
30113 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
30114 first letters of yesstr and nostr in yesexpr and noexpr,
30115 until now only English was matched in yesexpr and noexpr.
30116 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
30117 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
30118 fil but not for tl. As tl and fil are very similar, using fil
30119 is probably better than using English.
30120
363e4519 301212017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
bc5fc7de
MF
30122
30123 [BZ #21706]
30124 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
30125 in yesstr and nostr.
30126
5d220788
JM
301272017-10-26 Joseph Myers <joseph@codesourcery.com>
30128
ecc7da5b
JM
30129 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
30130 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
30131 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
30132 Likewise.
30133 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
30134 Likewise.
30135 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
30136 Likewise.
30137 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
30138 Likewise.
30139 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30140 (SNANF128X): Likewise.
30141
5d220788
JM
30142 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
30143 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
30144 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30145 (HUGE_VAL_F32): Likewise.
30146 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30147 (HUGE_VAL_F64): Likewise.
30148 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30149 (HUGE_VAL_F32X): Likewise.
30150 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30151 (HUGE_VAL_F64X): Likewise.
30152 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30153 (HUGE_VAL_F128X): Likewise.
30154
363e4519 301552017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
67ad7163
TV
30156
30157 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
30158 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
30159 for the br_FR locale.
30160
363e4519 301612017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
408dff7e
TV
30162
30163 [BZ #21706]
30164 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
30165
337ff3c5
CD
301662017-10-25 Carlos O'Donell <carlos@redhat.com>
30167
02eec681
CD
30168 * locale/programs/record-status.h: Define globals, and function
30169 prototypes. Move function bodies...
30170 * locale/programs/record-status.c: ... to here. New file.
30171 * iconv/Makefile (iconv_prog-modules): Add record-status.
30172 * locale/Makefile (lib-modules): Likewise.
30173 * iconv/iconv_prog.c: Remove verbose.
30174 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
30175 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
30176 record a warning about ASCII compatibility.
30177 * locale/programs/ld-monetary.c (monetary_finish): If
30178 warn_int_curr_symbol is true then record a warning about the symbol
30179 not being in our ISO 4217 list.
30180 * locale/programs/locale.c: Include record-status.h. Remove verbose.
30181 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
30182 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
30183 (OPT_NO_WARN): Define.
30184 (OPT_WARN): Define.
30185 (options): Add entry for --no-warnings, and --warnings.
30186 (set_warnings): New function to enable/disable warnings.
30187 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
30188 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
30189 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
30190 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
30191 Pass flags to generate_locale.
30192 (generate_locale): Accept new flag argument and pass it to localedef
30193 invocation.
30194 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
30195 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
30196
56fa555a
CD
30197 * localedata/Makefile (test-input-data): Use full file name.
30198 * localedata/da_DK.in: Rename to...
30199 * localedata/da_DK.ISO-8859-1.in: ...this.
30200 * localedata/de_DE.in: Rename to...
30201 * localedata/de_DE.ISO-8859-1.in: ...this.
30202 * localedata/en_US.in: Rename to...
30203 * localedata/en_US.ISO-8859-1.in: ...this.
30204 * localedata/fr_FR.in: Rename to...
30205 * localedata/fr_FR.UTF-8.in: ... this.
30206 * localedata/hr_HR.in: Rename to...
30207 * localedata/hr_HR.ISO-8859-2.in: ...this.
30208 * localedata/hu_HU.in: Rename to...
30209 * localedata/hu_HU.UTF-8.in: ...this.
30210 * localedata/si_LK.in: Rename to...
30211 * localedata/si_LK.UTF-8.in: ...this.
30212 * localedata/sv_SE.in: Rename to...
30213 * localedata/sv_SE.ISO-8859-1.in: ...this.
30214 * localedata/tr_TR.in: Rename to...
30215 * localedata/tr_TR.UTF-8.in: ...this.
30216 * localedata/uk_UA.in: Rename to...
30217 * localedata/uk_UA.UTF-8.in: ...this.
30218 * localedata/sort-test.sh: Test file is locale name with the
30219 suffix.
30220
337ff3c5
CD
30221 * localedata/unicode-gen/Makefile (check_i18n): Rename to
30222 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
30223 file.
30224 * localedata/locales/i18n_ctype: Regenerate.
30225 * localedata/locales/tr_TR: Likewise.
30226 * localedata/locales/translit_circle: Likewise.
30227 * localedata/locales/translit_cjk_compat: Likewise.
30228 * localedata/locales/translit_combining: Likewise.
30229 * localedata/locales/translit_compat: Likewise.
30230 * localedata/locales/translit_font: Likewise.
30231 * localedata/locales/translit_fraction: Likewise.
30232
63da5cd4
RS
302332017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30234
30235 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
30236 lxvd2x/stxvd2x with lvx/stvx.
30237 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
30238
a122dbfb
L
302392017-10-25 H.J. Lu <hongjiu.lu@intel.com>
30240
30241 * include/alloc_buffer.h: Replace "if if " with "if " in
30242 comments.
30243 * sysdeps/mips/memcpy.S: Likkewise.
30244 * sysdeps/mips/memset.S: Likewise.
30245 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
30246 Likewise.
30247 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
30248 Likewise.
30249 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
30250 Likewise.
30251
9be7530c
MF
302522017-10-25 Mike FABIAN <mfabian@redhat.com>
30253
30254 [BZ #15261]
30255 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
30256 yesexpr and noexpr.
30257 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
30258 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
30259 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
30260 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
30261 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
30262 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
30263 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
30264
6ccbf6ff
MF
302652017-10-25 Mike FABIAN <mfabian@redhat.com>
30266
30267 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
30268 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
30269 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
30270 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
30271 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
30272 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
30273 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
30274 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
30275 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
30276 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
30277 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
30278 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
30279
58b1a7ea
MF
302802017-10-25 Mike FABIAN <mfabian@redhat.com>
30281
30282 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
30283 as possible for better readability of the source.
30284 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
30285 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
30286 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
30287 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
30288 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
30289 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
30290 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
30291 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
30292 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
30293 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
30294 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
30295 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
30296 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
30297 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
30298 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
30299 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
30300 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
30301 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
30302 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
30303 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
30304 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
30305 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
30306 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
30307 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
30308 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
30309 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
30310 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
30311 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
30312 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
30313 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
30314 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
30315 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
30316 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
30317 * localedata/locales/en_US (LC_MESSAGES): Likewise.
30318 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
30319 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
30320 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
30321 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
30322 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
30323 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
30324 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
30325 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
30326 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
30327 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
30328 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
30329 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
30330 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
30331 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
30332 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
30333 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
30334 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
30335 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
30336 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
30337 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
30338 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
30339 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
30340 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
30341 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
30342 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
30343 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
30344 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
30345 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
30346 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
30347 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
30348 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
30349 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
30350 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
30351 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
30352 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
30353 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
30354 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
30355 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
30356 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
30357 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
30358 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
30359 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
30360 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
30361 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
30362 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
30363 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
30364 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
30365 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
30366 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
30367 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
30368 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
30369 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
30370 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
30371 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
30372 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
30373 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
30374 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
30375 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
30376 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
30377 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
30378 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
30379 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
30380 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
30381 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
30382 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
30383 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
30384 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
30385 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
30386 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
30387 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
30388 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
30389 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
30390 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
30391 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
30392 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
30393 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
30394 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
30395 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
30396 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
30397 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
30398 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
30399 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
30400 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
30401 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
30402 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
30403 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
30404 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
30405 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
30406 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
30407 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
30408 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
30409 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
30410 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
30411 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
30412 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
30413 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
30414 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
30415 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
30416 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
30417 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
30418 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
30419 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
30420 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
30421 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
30422 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
30423 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
30424 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
30425 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
30426 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
30427 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
30428 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
30429 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
30430 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
30431 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
30432 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
30433 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
30434 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
30435 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
30436 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
30437 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
30438 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
30439 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
30440 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
30441 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
30442 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
30443 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
30444 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
30445 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
30446 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
30447 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
30448 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
30449 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
30450 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
30451 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
30452 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
30453 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
30454 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
30455 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
30456 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
30457 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
30458
17e78edb
MF
304592017-10-25 Mike FABIAN <mfabian@redhat.com>
30460
30461 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
30462 (Use first letters of yesstr and nostr correctly instead of using
30463 full words).
30464
74e7284f
MF
304652017-10-25 Mike FABIAN <mfabian@redhat.com>
30466
30467 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
30468 (Use first letters of yesstr and nostr correctly).
30469
b41a0ff1
MF
304702017-10-25 Mike FABIAN <mfabian@redhat.com>
30471
30472 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
30473 also check for the first characters of yesstr and nostr.
30474 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
30475 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
30476
d971f380
MF
304772017-10-25 Mike FABIAN <mfabian@redhat.com>
30478
30479 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
30480 also check for Chinese characters.
30481
effc9e1d
MF
304822017-10-25 Mike FABIAN <mfabian@redhat.com>
30483
30484 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
30485 match also for the contents of yesstr and nostr. As the first letter
30486 of yesstr and nostr is equal, checking only for the first letter
30487 is not enough.
30488
10320881
MF
304892017-10-25 Mike FABIAN <mfabian@redhat.com>
30490
30491 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
30492 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
30493
d8682a15
MF
304942017-10-25 Mike FABIAN <mfabian@redhat.com>
30495
30496 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
30497 of main contributor.
30498
1bfb86ae
MF
304992017-10-25 Mike FABIAN <mfabian@redhat.com>
30500
30501 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
30502 instead of using English.
30503
da33d60b
MF
305042017-10-25 Mike FABIAN <mfabian@redhat.com>
30505
30506 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
30507 by including the first letters of nostr and yesexpr in the regexp.
30508 Also make it more readable by using ASCII where possible.
30509
725bbb3e
MF
305102017-10-25 Mike FABIAN <mfabian@redhat.com>
30511
30512 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
30513 the first letter of nostr in the regexp. It agrees with CLDR now.
30514 Also make it more readable by using ASCII where possible.
30515
fe043d8a
MF
305162017-10-24 Mike FABIAN <mfabian@redhat.com>
30517
30518 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
30519 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
30520 these strings contain a U+17D6 (which somewhat looks like a colon)
30521 instead of a real colon to separate the full words for “yes”
30522 and “no” from the single letter responses.
30523
360a8df3
MF
305242017-10-24 Mike FABIAN <mfabian@redhat.com>
30525
30526 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
30527 it agree with CLDR (include the first letter of yesstr).
30528 Also make it more readable by using ASCII where possible.
30529
bab7b6b0
MF
305302017-10-24 Mike FABIAN <mfabian@redhat.com>
30531
30532 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
30533 and improve yesexpr and noexpr. The yesstr and nostr apparently
30534 came from CLDR. And CLDR has a bug there: these strings contain
30535 a U+0903 (which looks like a colon) instead of a real colon
30536 to separate the full words for “yes” and “no” from the single
30537 letter responses.
30538
3e79f758
MF
305392017-10-24 Mike FABIAN <mfabian@redhat.com>
30540
30541 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
30542 letters of the full yesstr and nostr in yesexpr and noexpr.
30543
4960c879
MF
305442017-10-24 Mike FABIAN <mfabian@redhat.com>
30545
30546 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
30547 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
30548 * localedata/locales/an_ES: Make source more readable by using ASCII
30549 where possible.
30550
b06a054f
MF
305512017-10-24 Mike FABIAN <mfabian@redhat.com>
30552
30553 [BZ #20952]
30554 * localedata/locales/yuw_PG: New file.
30555 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
30556 * locale/iso-639.def: Add Yau (Uruwa).
30557
905a7725
WD
305582017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
30559
30560 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
30561
3f6bb8a3
WD
305622017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
30563
30564 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
30565 (__libc_realloc): Likewise.
30566 (_mid_memalign): Likewise.
30567 (__libc_calloc): Likewise.
30568
1d479c8c
MF
305692017-10-23 Mike FABIAN <mfabian@redhat.com>
30570
30571 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
30572 by adding the generic +1 and -0 as in all other locales.
30573 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
30574 day names and make it more readable by using ASCII where possible.
30575
91c3985c
JM
305762017-10-24 Joseph Myers <joseph@codesourcery.com>
30577
30578 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
30579 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
30580
aa95a241
AZ
305812017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30582
30583 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
30584 WNOHANG in waitpid call.
30585
db9bab09
SP
305862017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
30587
a2e0a7f1
SP
30588 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
30589 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
30590
db9bab09
SP
30591 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
30592 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
30593 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
30594 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
30595 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
30596 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
30597 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
30598 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
30599 variables.
30600
5062680c
MC
306012017-10-23 Michael Collison <michael.collison@arm.com>
30602
30603 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
30604 with __builtin_sqrt.
30605 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
30606 with __builtin_sqrtf.
30607 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
30608 with __builtin_ceil.
30609 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
30610 with __builtin_ceilf.
30611 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
30612 with __builtin_floor.
30613 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
30614 with __builtin_floorf.
30615 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
30616 with __builtin_fma.
30617 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
30618 with __builtin_fmaf.
30619 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
30620 with __builtin_fmax.
30621 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
30622 with __builtin_fmaxf.
30623 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
30624 with __builtin_fmin.
30625 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
30626 with __builtin_fminf.
30627 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
30628 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
30629 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
30630 with builtin_rint and conversion to int.
30631 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
30632 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
30633 with builtin_llround.
30634 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
30635 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
30636 with builtin_rint and conversion to long int.
30637 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
30638 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
30639 with builtin_lround.
30640 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
30641 with builtin_lroundf.
30642 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
30643 statements with __builtin_nearbyint.
30644 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
30645 statements with __builtin_nearbyintf.
30646 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
30647 with __builtin_rint.
30648 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
30649 with __builtin_rintf.
30650 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
30651 with __builtin_round.
30652 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
30653 with __builtin_roundf.
30654 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
30655 with __builtin_trunc.
30656 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
30657 with __builtin_truncf.
be080b6c
SN
30658 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
30659 and s_l[l]round[f].c too.
5062680c 30660
174935af
AM
306612017-10-23 Alan Modra <amodra@gmail.com>
30662
30663 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
30664 Adjust stack after restoring regs. Add missing LR cfi_restore.
30665
750a0e49
AM
306662017-10-23 Alan Modra <amodra@gmail.com>
30667
30668 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
30669 Move LR save and frame setup/teardown and LR restore to
30670 immediately around memset call. Provide cfi.
30671
5313581c
L
306722017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30673
30674 * sysdeps/i386/fpu/e_powf.S: Removed.
30675 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
30676 * sysdeps/i386/fpu/w_powf.c: Likewise.
30677 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
30678 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30679 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30680 Add e_powf-sse2.
30681 (CFLAGS-e_powf-sse2.c): New.
30682 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
30683 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
30684
6089a3ee
L
306852017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30686
30687 * sysdeps/i386/fpu/e_log2f.S: Removed.
30688 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
30689 * sysdeps/i386/fpu/w_log2f.c: Likewise.
30690 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
30691 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30692 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30693 Add e_log2f-sse2.
30694 (CFLAGS-e_log2f-sse2.c): New.
30695 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
30696 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
30697
80bb5935
L
306982017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30699
30700 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30701 Add e_powf-fma.
30702 (CFLAGS-e_powf-fma.c): New.
30703 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
30704 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
30705
5c7adbd8
L
307062017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30707
30708 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30709 Add e_log2f-fma.
30710 (CFLAGS-e_log2f-fma.c): New.
30711 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
30712 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
30713
0ccc7153
L
307142017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30715
30716 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30717 Add e_logf-fma.
30718 (CFLAGS-e_logf-fma.c): New.
30719 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
30720 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
30721
fe596486
L
307222017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30723
30724 * sysdeps/i386/fpu/e_logf.S: Removed.
30725 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
30726 * sysdeps/i386/fpu/w_logf.c: Likewise.
30727 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
30728 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
30729 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30730 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30731 Add e_logf-sse2.
30732 (CFLAGS-e_logf-sse2.c): New.
30733 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
30734 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
30735
7eda65f6
L
307362017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30737
30738 * sysdeps/i386/fpu/e_exp2f.S: Removed.
30739 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
30740 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
30741 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30742 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30743 Add e_exp2f-sse2.
30744 (CFLAGS-e_exp2f-sse2.c): New.
30745 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
30746 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
30747
5d15c969
L
307482017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30749
30750 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30751 Add e_exp2f-fma.
30752 (CFLAGS-e_exp2f-fma.c): New.
30753 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
30754 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
30755
b2f6137e
L
307562017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30757
30758 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
30759 * sysdeps/i386/fpu/e_expf.S: Likewise.
30760 * sysdeps/i386/fpu/math_errf.c: Likewise.
30761 * sysdeps/i386/fpu/w_expf.c: Likewise.
30762 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
30763 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30764 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
30765 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
30766 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30767 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30768 Remove e_expf-ia32.
30769 (CFLAGS-e_expf-sse2.c): New.
30770 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
30771 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
30772
e1f59beb
L
307732017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30774
30775 * sysdeps/x86_64/fpu/e_expf.S: Removed.
30776 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
30777 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
30778 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
30779 e_expf.c.
30780 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
30781 New.
30782 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
30783 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
30784 Renamed to ...
30785 (__redirect_expf): This.
30786 (SYMBOL_NAME): Changed to expf.
30787 (__ieee754_expf): Renamed to ...
30788 (__expf): This.
30789 (__GI___expf): This.
30790 (__ieee754_expf): Add strong_alias.
30791 (__expf_finite): Likewise.
30792 (__expf): New.
30793 Include <sysdeps/ieee754/flt-32/e_expf.c>.
30794
363e4519 307952017-10-22 Paul Eggert <eggert@cs.ucla.edu>
a159b53f
PE
30796
30797 [BZ #22332]
30798 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
30799 unescaping.
30800
e80fc1fc
FW
308012017-10-21 Florian Weimer <fweimer@redhat.com>
30802
30803 * posix/Makefile (tests): Add tst-glob-tilde.
30804 (tests-special): Add tst-glob-tilde-mem.out
30805 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
30806 (tst-glob-tilde-mem.out): Add mtrace check.
30807 * posix/tst-glob-tilde.c: New file.
30808
797ba44b
JM
308092017-10-20 Joseph Myers <joseph@codesourcery.com>
30810
30811 * bits/floatn-common.h: New file.
30812 * math/Makefile (headers): Add bits/floatn-common.h.
30813 * bits/floatn.h: Include <bits/floatn-common.h>.
30814 * sysdeps/ia64/bits/floatn.h: Likewise.
30815 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
30816 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
30817 * sysdeps/powerpc/bits/floatn.h: Likewise.
30818 * sysdeps/x86/bits/floatn.h: Likewise.
30819
fe05e1cb
AZ
308202017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30821
8f6f5362
AZ
30822 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
30823 indicates whether compiler emits an warning for alias for
30824 functions with incompatible types.
30825
fe05e1cb
AZ
30826 [BZ #22273]
30827 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
30828 the auxiliary process is terminated by a signal before calling _exit
30829 or execve.
30830
b52b0d79
L
308312017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30832
30833 [BZ #21265]
30834 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
30835 New.
30836 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
30837 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
30838 and bit_arch_XSAVEC_Usable if needed.
30839 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
30840 and bit_arch_Use_dl_runtime_resolve_opt.
30841 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
30842 Removed.
30843 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
30844 (bit_arch_Prefer_No_AVX512): Updated.
30845 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
30846 (bit_arch_XSAVEC_Usable): New.
30847 (STATE_SAVE_OFFSET): Likewise.
30848 (STATE_SAVE_MASK): Likewise.
30849 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
30850 (cpu_features): Add xsave_state_size and xsave_state_full_size.
30851 (index_arch_Use_dl_runtime_resolve_opt): Removed.
30852 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
30853 (index_arch_XSAVEC_Usable): New.
30854 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30855 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
30856 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
30857 is enabled.
30858 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
30859 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
30860 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
30861 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
30862 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
30863 _dl_runtime_resolve_xsavec.
30864 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
30865 Removed.
30866 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
30867 instead of VEC_SIZE.
30868 (REGISTER_SAVE_BND0): Removed.
30869 (REGISTER_SAVE_BND1): Likewise.
30870 (REGISTER_SAVE_BND3): Likewise.
30871 (REGISTER_SAVE_RAX): Always defined to 0.
30872 (VMOV): Removed.
30873 (_dl_runtime_resolve_avx): Likewise.
30874 (_dl_runtime_resolve_avx_slow): Likewise.
30875 (_dl_runtime_resolve_avx_opt): Likewise.
30876 (_dl_runtime_resolve_avx512): Likewise.
30877 (_dl_runtime_resolve_avx512_opt): Likewise.
30878 (_dl_runtime_resolve_sse): Likewise.
30879 (_dl_runtime_resolve_sse_vex): Likewise.
30880 (USE_FXSAVE): New.
30881 (_dl_runtime_resolve_fxsave): Likewise.
30882 (USE_XSAVE): Likewise.
30883 (_dl_runtime_resolve_xsave): Likewise.
30884 (USE_XSAVEC): Likewise.
30885 (_dl_runtime_resolve_xsavec): Likewise.
30886 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
30887 Removed.
30888 (_dl_runtime_resolve_avx512_opt): Likewise.
30889 (_dl_runtime_resolve_avx): Likewise.
30890 (_dl_runtime_resolve_avx_opt): Likewise.
30891 (_dl_runtime_resolve_sse): Likewise.
30892 (_dl_runtime_resolve_sse_vex): Likewise.
30893 (_dl_runtime_resolve_fxsave): New.
30894 (_dl_runtime_resolve_xsave): Likewise.
30895 (_dl_runtime_resolve_xsavec): Likewise.
30896
363e4519 308972017-10-20 Paul Eggert <eggert@cs.ucla.edu>
c369d66e
PE
30898
30899 [BZ #22320]
30900 CVE-2017-15670
30901 * posix/glob.c (__glob): Fix one-byte overflow.
30902
6d43de4b
WD
309032017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
30904
30905 * malloc/malloc.c (sysdep-cancel.h): Add include.
30906
a15d53e2
WD
309072017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
30908
30909 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
30910
b9a558e7
WH
309112017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
30912
30913 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
30914 (tests): Remove $(objpfx)ga_test depdendency.
30915 * resolv/ga_test.c: Remove file.
30916
b6b08b8e
MF
309172017-10-20 Mike FABIAN <mfabian@redhat.com>
30918
30919 [BZ #18812]
30920 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
30921 * localedata/locales/kab_DZ: New file.
30922
9ba7e810
L
309232017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30924
30925 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
30926 _dl_relocate_static_pie instead of _dl_start to compute load
30927 address in static PIE.
30928
4027a4fd
L
309292017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30930
30931 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
30932
2f9314b4
MF
309332017-10-20 Mike FABIAN <mfabian@redhat.com>
30934
30935 [BZ #13605]
30936 * localedata/SUPPORTED: Add shn_MM/UTF-8.
30937 * localedata/locales/shn_MM: New file.
30938
63b4baa4
FW
309392017-10-20 Florian Weimer <fweimer@redhat.com>
30940
30941 [BZ #22321]
30942 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
30943 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
30944 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
30945 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
30946 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
30947 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
30948
95ccb619
L
309492017-10-19 H.J. Lu <hongjiu.lu@intel.com>
30950
30951 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30952
37bb78cb
JM
309532017-10-19 Joseph Myers <joseph@codesourcery.com>
30954
76f2ed92
JM
30955 * sysdeps/mips/ieee754/bits/floatn.h: New file.
30956
37bb78cb
JM
30957 [BZ #22322]
30958 * sysdeps/mips/bits/long-double.h: Move to ....
30959 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
30960
d74e6f6c
WD
309612017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
30962
30963 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
30964
363e4519 309652017-10-19 Valery Reznic <valery_reznic@yahoo.com>
4d916f0f
L
30966 H.J. Lu <hongjiu.lu@intel.com>
30967
30968 [BZ #22299]
30969 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
30970 GLRO(dl_platform) to NULL.
30971 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
30972 (modules-names): Add tst-platformmod-1 and
30973 x86_64/tst-platformmod-2.
30974 (CFLAGS-tst-platform-1.c): New.
30975 (CFLAGS-tst-platformmod-1.c): Likewise.
30976 (CFLAGS-tst-platformmod-2.c): Likewise.
30977 (LDFLAGS-tst-platformmod-2.so): Likewise.
30978 ($(objpfx)tst-platform-1): Likewise.
30979 ($(objpfx)tst-platform-1.out): Likewise.
30980 (tst-platform-1-ENV): Likewise.
30981 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
30982 * sysdeps/x86_64/tst-platform-1.c: New file.
30983 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
30984 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
30985
4b0fa403
MF
309862017-10-19 Mike FABIAN <mfabian@redhat.com>
30987
30988 [BZ #13994]
30989 * locale/iso-639.def: Add Karbi.
30990 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
30991 * localedata/locales/mjw_IN: New file.
30992
81325b12
JM
309932017-10-18 Joseph Myers <joseph@codesourcery.com>
30994
30995 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
30996 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
30997 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
30998 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
30999 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
31000 (libm_alias_ldouble_other_r): Also create _Float128 alias.
31001 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
31002 <bits/floatn.h>.
31003 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
31004 (libm_alias_ldouble_other_r): Also create _Float128 alias.
31005 * manual/math.texi (Mathematics): Document additional architecture
31006 support for _Float128.
31007 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
31008 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
31009 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
31010 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
31011 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
31012 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
31013 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
31014 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
31015 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
31016 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
31017 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
31018 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
31019 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
31020 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
31021 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
31022
a68ba2f3
SN
310232017-10-18 Renlin Li <renlin.li@arm.com>
31024
31025 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
31026 _DYNAMIC symbol to calculate load address.
31027
346729f6
PC
310282017-10-18 Paul A. Clarke <pc@us.ibm.com>
31029
31030 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
31031 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
31032 summary bits.
31033 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
31034 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
31035
508b1e71
MF
310362017-10-18 Mike FABIAN <mfabian@redhat.com>
31037
31038 [BZ #16777]
31039 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
31040 and improve readability by using more ASCII.
31041 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
31042 and improve readability by using more ASCII.
31043
2c2245b9
WD
310442017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
31045
31046 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
31047 not all targets support atomics on bool.
31048
13c92696
JM
310492017-10-17 Joseph Myers <joseph@codesourcery.com>
31050
31051 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
31052 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
31053 __f128.
31054 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
31055 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
31056 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
31057 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
31058 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
31059 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
31060
71d85045
AZ
310612017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31062
31063 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
31064 defines.
31065
3381be5c
WD
310662017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
31067
31068 [BZ #22159]
31069 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
31070 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
31071 (do_check_remalloced_chunk): Fix build bug.
31072 (do_check_malloc_state): Add assert that checks arena->top.
31073 (malloc_consolidate): Remove initialization.
31074 (int_mallinfo): Remove call to malloc_consolidate.
6b5c8607 31075 (__libc_mallopt): Clarify why malloc_consolidate is needed.
3381be5c 31076
e956075a
WD
310772017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
31078
31079 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
31080 (have_fastchunks): Remove.
31081 (clear_fastchunks): Remove.
31082 (set_fastchunks): Remove.
31083 (malloc_state): Add have_fastchunks.
31084 (malloc_init_state): Use have_fastchunks.
31085 (do_check_malloc_state): Remove incorrect invariant checks.
31086 (_int_malloc): Use have_fastchunks.
31087 (_int_free): Likewise.
31088 (malloc_consolidate): Likewise.
31089
e4dd4ace
WD
310902017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
31091
31092 * malloc/malloc.c (tcache_put): Inline.
31093 (tcache_get): Inline.
31094
5bf58bc7
AJ
310952017-10-17 Jordi Mallach <jordi@gnu.org>
31096
31097 Aurelien Jarno <aurelien@aurel32.net>
31098 [BZ #2522]
31099 * localedata/locales/ca_ES@valencia: New file.
31100 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
31101
386e1c26
RN
311022017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
31103
31104 [BZ #22296]
31105 * math/math.h: Let signbit use the builtin in C++ mode with gcc
31106 < 6.x
31107
4e17c78e
AZ
311082017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31109
3d265601
AZ
31110 * scripts/build-many-glibcs.py (Context.add_all_configs):
31111 Add arm-linux-gnueabihf multiarch extra_glibcs.
31112
4e17c78e
AZ
31113 * sysdeps/generic/ifunc-init.h: New file.
31114 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
31115
56a752ab
MF
311162017-10-17 Mike FABIAN <mfabian@redhat.com>
31117
31118 [BZ #22019]
31119 * localedata/locales/el_GR: Set n_cs_precedes to 0.
31120 * localedata/locales/el_CY: copy "el_GR" because it is identical.
31121 * stdlib/tst-strfmon_l.c: adapt test case.
31122
c38a4bfd
JM
311232017-10-16 Joseph Myers <joseph@codesourcery.com>
31124
31125 * sysdeps/generic/float128-abi.h: New file.
31126 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
31127 non-__prefixed symbols to ....
31128 * math/Versions: ... here. Include <float128-abi.h>.
31129 * stdlib/Versions ... and here. Include <float128-abi.h>
31130
76009b26
FW
311312017-10-16 Florian Weimer <fweimer@redhat.com>
31132
31133 * version.h (VERSION): Switch to ".9000" as the development
31134 version suffix.
31135
7ece6cd5
FW
311362017-10-16 Florian Weimer <fweimer@redhat.com>
31137
31138 [BZ #22050]
31139 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
31140 compat_symbol_reference to access non-default version.
31141
d8287b36
FW
311422017-10-16 Florian Weimer <fweimer@redhat.com>
31143
31144 * malloc/Makefile (others-extras): Set to mcheck-init.o.
31145
3480ddc4
CD
311462017-10-16 Carlos O'Donell <carlos@redhat.com>
31147
31148 * include/shlib-compat.h (compat_symbol_reference): Update
31149 comment.
31150
02010e79
JM
311512017-10-16 Joseph Myers <joseph@codesourcery.com>
31152
596f7013
JM
31153 * math/Makefile (test-types): Add
31154 $(type-float128-$(float128-alias-fcts)).
31155 * math/test-float128.h (TYPE_STR): Define conditional on
31156 [FLT128_MANT_DIG == LDBL_MANT_DIG].
31157 (ULP_IDX): Likewise.
31158 (ULP_I_IDX): Likewise.
31159
02010e79
JM
31160 * stdlib/strtold.c: Include <bits/floatn.h>
31161 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
31162 and later undefine as macro. Define as weak alias if
31163 [!USE_WIDE_CHAR].
31164 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
31165 and later undefine as macro. Define as weak alias if
31166 [USE_WIDE_CHAR].
31167 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
31168 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
31169 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
31170 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
31171 Define and later undefine as macro. Define as weak alias if
31172 [USE_WIDE_CHAR].
31173 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
31174 <bits/floatn.h>.
31175 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
31176 Define and later undefine as macro. Define as weak alias if
31177 [!USE_WIDE_CHAR].
31178 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
31179 Define and later undefine as macro. Define as weak alias if
31180 [USE_WIDE_CHAR].
31181
ea91c315
CD
311822017-10-15 Carlos O'Donell <carlos@redhat.com>
31183
31184 * localedata/collate-test.c (allocate_arrays): Don't use \n in
31185 record_verbose messages.
31186
8e57c943
L
311872017-10-15 H.J. Lu <hongjiu.lu@intel.com>
31188
31189 [BZ #22052]
31190 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
31191 to silence -O3 -Wall warning with GCC 7.
31192
a4777c46
L
311932017-10-14 H.J. Lu <hongjiu.lu@intel.com>
31194
31195 * Makeconfig (+link-static-before-libc): Use the first of
31196 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
31197 * gmon/Makefile (tests): Add tst-gmon-static.
31198 (tests-static): Likewise.
31199 (CFLAGS-tst-gmon-static.c): New.
31200 (CRT-tst-gmon-static): Likewise.
31201 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
31202 (tst-gmon-static-ENV): Likewise.
31203 (tests-special): Likewise.
31204 ($(objpfx)tst-gmon-static.out): Likewise.
31205 (clean-tst-gmon-static-data): Likewise.
31206 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
31207 * gmon/tst-gmon-static-gprof.sh: New file.
31208 * gmon/tst-gmon-static.c: Likewise.
31209
bc3821bb
CD
312102017-10-13 Carlos O'Donell <carlos@redhat.com>
31211
31212 [BZ #22295]
31213 * locale/programs/linereader.c (get_string): Don't warn on
31214 non-symbolic character.
31215
a3e23a2c
CD
31216 [BZ #22294]
31217 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
31218 int_curr_symbol.
31219
f16491eb
CD
31220 [BZ #22292]
31221 * locale/programs/record-status.h: New file
31222 * locale/programs/locale.c: Add comment.
31223 * locale/programs/charmap-dir.c: Don't include error.h.
31224 (charmap_opendir): Use record_error.
31225 * locale/programs/charmap.c: Don't include error.h.
31226 (charmap_read): Use record_error, and record_warning.
31227 (parse_charmap): Likewise.
31228 * locale/programs/ld-address.c: Don't include error.h.
31229 (address_finish): Use record_error, and record_warning.
31230 * locale/programs/ld-collate.c: Don't include error.h.
31231 (collate_finish): Use record_error, and record_error_at_line.
31232 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
31233 (ctype_class_new): Likewise.
31234 (ctype_map_new): Likewise.
31235 (set_one_default): Likewise.
31236 (set_class_defaults): Likewise.
31237 (translit_flatten): Likewise.
31238 (allocate_arrays): Use record_error, and record_verbose.
31239 * locale/programs/ld-identification.c: Don't include error.h.
31240 (indentation_finish): Use record_error and record_warning.
31241 * locale/programs/ld-measurement.c: Don't include error.h.
31242 (measurement_finish): Use record_error.
31243 * locale/programs/ld-messages.c
31244 (message_finish): Likewise.
31245 * locale/programs/ld-monetary.c
31246 (monetary_finish): Likewise.
31247 * locale/programs/ld-name.c (name_finish): Use record_error
31248 and record_warning.
31249 * locale/programs/ld-numeric.c
31250 (numeric_finish): Use record_error.
31251 * locale/programs/ld-paper.c: Don't include error.h.
31252 (paper_finish): Use record_error.
31253 * locale/programs/ld-telephone.c: Don't include error.h.
31254 (telephone_finish): Use record_error.
31255 * locale/programs/ld-time.c (time_finish): Likewise.
31256 * locale/programs/linereader.h (lr_error): Make inline func.
31257 * locale/programs/localedef.c: Define recorded_warning_count,
31258 and recorded_error_count.
31259 (main): Use record_error. Use recorded_error_count and
31260 recorded_warning_count to issue correct error returns.
31261 (add_to_readlist): Use record_error.
31262 (find_locale): Likewise.
31263 (load_locale): Likewise.
31264 * locale/programs/localedef.h: Remove be_quiet
31265 and WITH_CUR_LOCALE.
31266 * locale/programs/locarchive.c (compare_from_file): Use
31267 record_error.
31268 * locale/programs/locfile.c (write_locale_data): Use
31269 record_error.
31270 * locale/programs/repertoire.c: Dont include error.h.
31271 (repertoire_complain): Use record_error.
31272 * localedata/tst-fmon.sh: Expect failures from localedef.
31273 * localedata/tst-locale.sh: Likewise.
31274 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
31275
8dc8be75
CD
31276 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
31277 (REPORTS): Likewise.
31278 (check): Likewise.
31279 (i18n): Rename to...
31280 (i18n_ctype): ...this.
31281 (i18n-report): Rename to...
31282 (i18n_ctype-report): ...this.
31283 * localedata/locales/i18n_ctype: Regenerate.
31284 * localedata/locales/i18n: copy i18n_ctype.
31285
f8718a9e
JM
312862017-10-13 Joseph Myers <joseph@codesourcery.com>
31287
18c08b96
JM
31288 * stdlib/strfroml.c: Include <bits/floatn.h>.
31289 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
31290 Define before include of <stdlib.h> and undefine afterwards, then
31291 define as weak alias.
31292
f8718a9e
JM
31293 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
31294 Undefine and restore default definition. Use
31295 libm_alias_ldouble_other.
31296
e4f530da
PZ
312972017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
31298
31299 [BZ #22153]
31300 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
31301 in coredumps.
31302
86445888
JC
313032017-10-13 James Clarke <jrtc27@jrtc27.com>
31304
31305 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
31306 Assign sym_map to be map for local symbols, as TLS relocations
31307 use sym_map to determine whether the symbol is defined and to
31308 extract the TLS information.
31309 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
31310 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
31311
179dcdb7
TMQMF
313122017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31313
e8dbd6a3
TMQMF
31314 [BZ #22189]
31315 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
31316 (math_force_eval): Add powerpc version.
31317
179dcdb7
TMQMF
31318 [BZ #22142]
31319 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
31320 -DBL_MAX.
31321 (do_test): Likewise.
31322 * stdio-common/tst-printf.sh: Likewise.
31323 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
31324 ifdef clause in order to set the carry bit right. Replace r0 by
31325 0 without changing the behavior.
31326
7d25d410
JM
313272017-10-13 Joseph Myers <joseph@codesourcery.com>
31328
006e7664
JM
31329 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
31330 <libm-alias-ldouble.h>.
31331 (fabsl): Define using libm_alias_ldouble.
31332 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
31333 <libm-alias-ldouble.h>.
31334 (fabsl): Define using libm_alias_ldouble.
31335
1def91b3
JM
31336 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
31337 Remove conditional code.
31338
7d25d410
JM
31339 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
31340 Rename to __clog10_internal_l.
31341 (__clog10_internal_l): Define aliases using
31342 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
31343 with __clog10.
31344
077ee129
RS
313452017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31346
31347 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
31348 * benchtests/sincosf-inputs: New file.
31349 * benchtests/cosf-inputs: New file.
31350 * benchtests/sinf-inputs: New file.
31351
5ba41de9
SN
313522017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
31353
31354 * posix/tst-spawn.c (do_test): Wait for both children.
31355
d165ca64
L
313562017-10-12 H.J. Lu <hongjiu.lu@intel.com>
31357
31358 [BZ #22284]
31359 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
31360 tests-pie): Add tst-gmon-pie.
31361 (CFLAGS-tst-gmon-pie.c): New.
31362 (CRT-tst-gmon-pie): Likewise.
31363 (tst-gmon-pie-ENV): Likewise.
31364 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
31365 ($(objpfx)tst-gmon-pie.out): Likewise.
31366 (clean-tst-gmon-pie-data): Likewise.
31367 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
31368 * gmon/gmon.c [PIC]: Include <link.h>.
31369 [PIC] (callback): New function.
31370 (write_hist): Add an argument for load address. Subtract load
31371 address from PCs.
31372 (write_call_graph): Likewise.
31373 (write_gmon): Call __dl_iterate_phdr to get load address, pass
31374 it to write_hist and write_call_graph.
7bacdcfc 31375 * gmon/tst-gmon-pie.c: New file.
d165ca64 31376
bc9620d0
JM
313772017-10-11 Joseph Myers <joseph@codesourcery.com>
31378
31379 * math/Makefile (test-types-basic): New variable.
31380 (test-types): Likewise.
31381 (libm-test-support): Use $(test-types) instead of $(types).
31382 (libm-tests-base-normal): Likewise.
31383 (libm-tests-base-finite): Likewise.
31384 (libm-tests-base-inline): Likewise.
31385 (generated): Likewise.
31386 ($(objpfx)libm-test-support-$(t).c): Likewise.
31387 (libm-tests-for-type iterator): Likewise.
31388 (libm-test-support iterator): Likewise.
31389 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
31390 (ulp_idx): Use ULP_IDX.
31391 * math/test-ldouble.h: Include <float.h>.
31392 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
31393 (ULP_IDX): New macro.
31394 (ULP_I_IDX): Likewise.
31395 * math/test-double.h (ULP_IDX): Likewise.
31396 (ULP_I_IDX): Likewise.
31397 * math/test-float.h (ULP_IDX): Likewise.
31398 (ULP_I_IDX): Likewise.
31399 * math/test-float128.h (ULP_IDX): Likewise.
31400 (ULP_I_IDX): Likewise.
31401
09c76a74
AZ
314022017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31403
31404 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
31405 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
31406 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
31407 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
31408 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
31409 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
31410 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
31411 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
31412 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
31413 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
31414 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
31415 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
31416 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
31417 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31418 (SINGLE_THREAD_BY_GLOBAL): Define.
31419 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
31420 Likewise.
31421 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
31422 Likewise.
31423 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
31424 Likewise.
31425 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
31426 Likewise.
31427 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
31428 (SINGLE_THREAD_BY_GLOBAL): Likewise.
31429 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
31430 Likewise.
31431
2faa42da
AS
314322017-10-11 Andreas Schwab <schwab@suse.de>
31433
31434 * nis/Makefile (aux): Remove.
31435 * nscd/Makefile (aux): Add nscd_hash.
31436 (nscd-modules): Likewise.
31437 ($(objpfx)nscd): Don't depend on libnsl.
31438 * nscd/nscd_hash.c: New file.
31439 * nscd/nscd_hash.h: Likewise.
31440 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
31441 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
31442 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
31443 instead of <nis/rpcsvc/nis.h>.
31444 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
31445
d8425e11
FW
314462017-10-11 Florian Weimer <fweimer@redhat.com>
31447
31448 [BZ #22078]
31449 Avoid large NSS buffers with many addresses, aliases.
31450 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
31451 using dynarrays and struct alloc_buffer.
31452 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
31453 (tst-nss-files-hosts-multi): Link with -ldl.
31454 * nss/tst-nss-files-hosts-multi.c: New file.
31455
78e806fd
FW
314562017-10-11 Florian Weimer <fweimer@redhat.com>
31457
31458 [BZ #18023]
31459 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
31460 scratch_buffer. Eliminate gotos.
31461
541f19ba
JM
314622017-10-11 Joseph Myers <joseph@codesourcery.com>
31463
0ff64d3a
JM
31464 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
31465 libm_alias_ldouble_other.
31466 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
31467 undefine and redefine.
31468 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
31469 (exp10l): Do not define here.
31470 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
31471 (weak_alias): Undefine and redefine.
31472 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
31473 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
31474 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
31475 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
31476
541f19ba
JM
31477 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
31478 [!__fma] (fma): Define using libm_alias_double.
31479 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
31480 [!__fmaf] (fmaf): Define using libm_alias_float.
31481 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
31482 (fmal): Define using libm_alias_ldouble.
31483
24b6515d
JM
314842017-10-10 Joseph Myers <joseph@codesourcery.com>
31485
31486 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
31487 New macro.
31488 (libm_alias_double_other): Likewise.
31489 (libm_alias_double_r): Use libm_alias_double_other_r.
31490 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
31491 New macro.
31492 (libm_alias_float_other): Likewise.
31493 (libm_alias_float_r): Use libm_alias_float_other_r.
31494 * sysdeps/generic/libm-alias-float128.h
31495 (libm_alias_float128_other_r): New macro.
31496 (libm_alias_float128_other): Likewise.
31497 (libm_alias_float128_r): Use libm_alias_float128_other_r.
31498 * sysdeps/generic/libm-alias-ldouble.h
31499 (libm_alias_ldouble_other_r): New macro.
31500 (libm_alias_ldouble_other): Likewise.
31501 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
31502 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
31503 (libm_alias_double_other_r): New macro.
31504 (libm_alias_double_other): Likewise.
31505 (libm_alias_double_r): Use libm_alias_double_other_r.
31506 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
31507 (libm_alias_ldouble_other_r): New macro.
31508 (libm_alias_ldouble_other): Likewise.
31509 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
31510 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
31511 [!USE_AS_COMPAT]: Use libm_alias_double_other.
31512 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
31513 [!USE_AS_COMPAT]: Use libm_alias_float_other.
31514 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
31515 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
31516 * math/w_exp2f.c: Use libm_alias_float_other.
31517 * math/w_expf.c: Likewise.
31518 * math/w_log2f.c: Likewise.
31519 * math/w_logf.c: Likewise.
31520 * math/w_powf.c: Likewise.
31521 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
31522 [!__exp2f]: Use libm_alias_float_other.
31523 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
31524 [!__expf]: Use libm_alias_float_other.
31525 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
31526 [!__log2f]: Use libm_alias_float_other.
31527 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
31528 [!__logf]: Use libm_alias_float_other.
31529 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
31530 [!__powf]: Use libm_alias_float_other.
31531
8ed70de2
FW
315322017-10-10 Florian Weimer <fweimer@redhat.com>
31533
31534 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
31535 function.
31536 (_nss_files_gethostbyname3_r): Call it.
31537
a8dce619
JM
315382017-10-09 Joseph Myers <joseph@codesourcery.com>
31539
31540 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
31541 error. Remove default definition of declare_mgen_alias.
31542 [!declare_mgen_alias_r]: Likewise.
31543 * sysdeps/generic/math-type-macros-double.h
31544 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
31545 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
31546 (declare_mgen_alias_r): Likewise.
31547 * sysdeps/generic/math-type-macros-float128.h
31548 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
31549 * sysdeps/generic/math-type-macros-ldouble.h
31550 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
31551 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
31552 macro.
31553 (declare_mgen_alias_r_s): Likewise.
31554 (declare_mgen_alias_r): Likewise.
31555 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
31556 (lgamma_r): Define using libm_alias_double_r.
31557 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
31558 (lgammaf_r): Define using libm_alias_float_r.
31559 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
31560 (lgammal_r): Define using libm_alias_ldouble_r.
31561 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
31562 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
31563
bedac136
AZ
315642017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31565
31566 * lib/glob.c (__glob_pattern_type): Remove now-spurious
31567 extern declaration.
31568
c7509db2
JM
315692017-10-09 Joseph Myers <joseph@codesourcery.com>
31570
31571 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
31572
d6c064e9
JW
315732017-10-09 Jonathan Wakely <jwakely@redhat.com>
31574
31575 [BZ #21326]
31576 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
31577 [__cplusplus >= 201103] (__USE_ISOC99): Define.
31578 * math/Makefile (test-math-cxx11): New test.
31579 * math/test-math-cxx11.cc: New file.
31580
98e07420
CB
315812017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
31582
31583 * login/openpty.c (openpty): Close slave pty file descriptor on error.
31584
645ac9aa
CB
31585 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
31586 call to allocate the slave pty file descriptor.
31587
fd3b4e7c
JM
315882017-10-06 Joseph Myers <joseph@codesourcery.com>
31589
f85a176f
JM
31590 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
31591 [!__fma] (fma): Define using libm_alias_double.
31592 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
31593 [!__fma] (fma): Define using libm_alias_double.
31594
fd3b4e7c
JM
31595 * sysdeps/ieee754/float128/float128_private.h: Include
31596 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
31597 (libm_alias_ldouble_r): Undefine and redefine.
31598 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
31599 <libm-alias-ldouble.h>.
31600 (asinhl): Define using libm_alias_ldouble.
31601 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
31602 <libm-alias-ldouble.h>.
31603 (atanl): Define using libm_alias_ldouble.
31604 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
31605 <libm-alias-ldouble.h>.
31606 (cbrtl): Define using libm_alias_ldouble.
31607 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
31608 <libm-alias-ldouble.h>.
31609 (ceill): Define using libm_alias_ldouble.
31610 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
31611 <libm-alias-ldouble.h>.
31612 (copysignl): Define using libm_alias_ldouble.
31613 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
31614 <libm-alias-ldouble.h>.
31615 (cosl): Define using libm_alias_ldouble.
31616 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
31617 <libm-alias-ldouble.h>.
31618 (erfl): Define using libm_alias_ldouble.
31619 (erfcl): Likewise.
31620 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
31621 <libm-alias-ldouble.h>.
31622 (expm1l): Define using libm_alias_ldouble.
31623 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
31624 <libm-alias-ldouble.h>.
31625 (fabsl): Define using libm_alias_ldouble.
31626 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
31627 <libm-alias-ldouble.h>.
31628 (floorl): Define using libm_alias_ldouble.
31629 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
31630 <libm-alias-ldouble.h>.
31631 (fmal): Define using libm_alias_ldouble.
31632 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
31633 <libm-alias-ldouble.h>.
31634 (frexpl): Define using libm_alias_ldouble.
31635 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
31636 libm_alias_ldouble.
31637 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
31638 <libm-alias-ldouble.h>.
31639 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
31640 libm_alias_ldouble.
31641 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
31642 <libm-alias-ldouble.h>.
31643 (getpayloadl): Define using libm_alias_ldouble.
31644 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
31645 <libm-alias-ldouble.h>.
31646 (llrintl): Define using libm_alias_ldouble.
31647 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
31648 <libm-alias-ldouble.h>.
31649 (llroundl): Define using libm_alias_ldouble.
31650 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
31651 <libm-alias-ldouble.h>.
31652 (logbl): Define using libm_alias_ldouble.
31653 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
31654 <libm-alias-ldouble.h>.
31655 (lrintl): Define using libm_alias_ldouble.
31656 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
31657 <libm-alias-ldouble.h>.
31658 (lroundl): Define using libm_alias_ldouble.
31659 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
31660 <libm-alias-ldouble.h>.
31661 (modfl): Define using libm_alias_ldouble.
31662 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
31663 <libm-alias-ldouble.h>.
31664 (nearbyintl): Define using libm_alias_ldouble.
31665 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
31666 <libm-alias-ldouble.h>.
31667 (nextafterl): Define using libm_alias_ldouble.
31668 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
31669 <libm-alias-ldouble.h>.
31670 (nextupl): Define using libm_alias_ldouble.
31671 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
31672 <libm-alias-ldouble.h>.
31673 (remquol): Define using libm_alias_ldouble.
31674 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
31675 <libm-alias-ldouble.h>.
31676 (rintl): Define using libm_alias_ldouble.
31677 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
31678 <libm-alias-ldouble.h>.
31679 (roundevenl): Define using libm_alias_ldouble.
31680 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
31681 <libm-alias-ldouble.h>.
31682 (roundl): Define using libm_alias_ldouble.
31683 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
31684 using libm_alias_ldouble.
31685 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
31686 <libm-alias-ldouble.h>.
31687 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
31688 Define using libm_alias_ldouble.
31689 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
31690 <libm-alias-ldouble.h>.
31691 (sincosl): Define using libm_alias_ldouble.
31692 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
31693 <libm-alias-ldouble.h>.
31694 (sinl): Define using libm_alias_ldouble.
31695 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
31696 <libm-alias-ldouble.h>.
31697 (tanhl): Define using libm_alias_ldouble.
31698 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
31699 <libm-alias-ldouble.h>.
31700 (tanl): Define using libm_alias_ldouble.
31701 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
31702 <libm-alias-ldouble.h>.
31703 (totalorderl): Define using libm_alias_ldouble.
31704 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
31705 <libm-alias-ldouble.h>.
31706 (totalordermagl): Define using libm_alias_ldouble.
31707 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
31708 <libm-alias-ldouble.h>.
31709 (truncl): Define using libm_alias_ldouble.
31710 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
31711 libm_alias_ldouble.
31712 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
31713 libm_alias_ldouble.
31714 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
31715 <libm-alias-ldouble.h>.
31716 (weak_alias): Do not undefine and redefine.
31717 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31718 (copysignl): Define with long_double_symbol only if [IS_IN
31719 (libc)].
31720 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
31721 <libm-alias-ldouble.h>.
31722 (weak_alias): Do not undefine and redefine.
31723 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31724 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
31725 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
31726 <libm-alias-ldouble.h>.
31727 (weak_alias): Do not undefine and redefine.
31728 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31729 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
31730 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
31731 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
31732 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
31733 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
31734 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
31735 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
31736 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
31737 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
31738 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
31739 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
31740 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
31741 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
31742 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
31743 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
31744 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
31745 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
31746 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
31747 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
31748 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
31749 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
31750 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
31751 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
31752 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
31753 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
31754
1e26d351
CD
317552017-10-06 Carlos O'Donell <carlos@redhat.com>
31756
31757 [BZ #22111]
31758 * malloc/malloc.c (tcache_shutting_down): Use bool type.
31759 (tcache_thread_freeres): Set tcache_shutting_down before
31760 freeing the tcache.
31761 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
31762 * malloc/tst-malloc-tcache-leak.c: New file.
31763
d1386762
RS
317642017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31765
31766 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
31767 back to powerpc32 file.
31768 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
31769 (memrchr): Add __memrchr_power8 to ifunc list.
31770 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
31771 extra bytes for unaligned inputs.
31772
6dff1983
JM
317732017-10-06 Joseph Myers <joseph@codesourcery.com>
31774
31775 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
31776 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
31777 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
31778 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
31779 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
31780
86f9568a
JM
317812017-10-05 Joseph Myers <joseph@codesourcery.com>
31782
0db0b931
JM
31783 * sysdeps/arm/libm-test-ulps: Update.
31784
86f9568a
JM
31785 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
31786 <libm-alias-ldouble.h>.
31787 (asinhl): Define using libm_alias_ldouble.
31788 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
31789 <libm-alias-ldouble.h>.
31790 (cbrtl): Define using libm_alias_ldouble.
31791 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
31792 <libm-alias-ldouble.h>.
31793 (copysignl): Define using libm_alias_ldouble.
31794 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
31795 <libm-alias-ldouble.h>.
31796 (cosl): Define using libm_alias_ldouble.
31797 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
31798 <libm-alias-ldouble.h>.
31799 (erfl): Define using libm_alias_ldouble.
31800 (erfcl): Likewise.
31801 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
31802 <libm-alias-ldouble.h>.
31803 (fmal): Define using libm_alias_ldouble.
31804 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
31805 <libm-alias-ldouble.h>.
31806 (frexpl): Define using libm_alias_ldouble.
31807 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
31808 libm_alias_ldouble.
31809 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
31810 <libm-alias-ldouble.h>.
31811 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
31812 libm_alias_ldouble.
31813 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
31814 <libm-alias-ldouble.h>.
31815 (getpayloadl): Define using libm_alias_ldouble.
31816 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
31817 <libm-alias-ldouble.h>.
31818 (llrintl): Define using libm_alias_ldouble.
31819 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
31820 <libm-alias-ldouble.h>.
31821 (llroundl): Define using libm_alias_ldouble.
31822 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
31823 <libm-alias-ldouble.h>.
31824 (lrintl): Define using libm_alias_ldouble.
31825 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
31826 <libm-alias-ldouble.h>.
31827 (lroundl): Define using libm_alias_ldouble.
31828 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
31829 <libm-alias-ldouble.h>.
31830 (modfl): Define using libm_alias_ldouble.
31831 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
31832 <libm-alias-ldouble.h>.
31833 (nextupl): Define using libm_alias_ldouble.
31834 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
31835 <libm-alias-ldouble.h>.
31836 (remquol): Define using libm_alias_ldouble.
31837 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
31838 <libm-alias-ldouble.h>.
31839 (roundevenl): Define using libm_alias_ldouble.
31840 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
31841 <libm-alias-ldouble.h>.
31842 (roundl): Define using libm_alias_ldouble.
31843 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
31844 using libm_alias_ldouble.
31845 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
31846 <libm-alias-ldouble.h>.
31847 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
31848 <libm-alias-ldouble.h>.
31849 (setpayloadsigl): Define using libm_alias_ldouble.
31850 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
31851 <libm-alias-ldouble.h>.
31852 (sincosl): Define using libm_alias_ldouble.
31853 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
31854 <libm-alias-ldouble.h>.
31855 (sinl): Define using libm_alias_ldouble.
31856 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
31857 <libm-alias-ldouble.h>.
31858 (tanhl): Define using libm_alias_ldouble.
31859 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
31860 <libm-alias-ldouble.h>.
31861 (tanl): Define using libm_alias_ldouble.
31862 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
31863 <libm-alias-ldouble.h>.
31864 (totalorderl): Define using libm_alias_ldouble.
31865 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
31866 <libm-alias-ldouble.h>.
31867 (totalordermagl): Define using libm_alias_ldouble.
31868 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
31869 libm_alias_ldouble.
31870 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
31871 libm_alias_ldouble.
31872
9ec87fd2
SP
318732017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
31874
dd5bc7f1
SP
31875 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
31876 memmove_falkor.
31877 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
31878 (__libc_ifunc_impl_list): Likewise.
31879 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
31880 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
31881
5bfb0404
SP
31882 * benchtests/bench-memmove-walk.c: New file.
31883 * benchtests/Makefile (string-benchset): Add it.
31884
36bb8edf
SP
31885 * benchtests/bench-memset-walk.c: New file.
31886 * benchtests/Makefile (string-benchset): Add it.
31887
9ec87fd2
SP
31888 * benchtests/bench-memcpy-walk.c: New file.
31889 * benchtests/Makefile (string-benchset): Add it.
31890
1e9522c6
FW
318912017-10-05 Florian Weimer <fweimer@redhat.com>
31892
31893 nscd: Eliminate compilation time dependency in the build output.
31894 * nscd/nscd_stat.c (STATDATA_VERSION)
31895 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
31896 (STATDATA_VERSION_FULL): New macro definitions.
31897 (compilation): Remove.
31898 (struct statdata): Adjust version member.
31899 (send_stats): Set version from STATDATA_VERSION_FULL.
31900 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
31901
644d3857
JM
319022017-10-05 Joseph Myers <joseph@codesourcery.com>
31903
31904 * configure.ac (--enable-add-ons): Remove option.
31905 (machine): Do not mention add-ons in comment.
31906 (LIBC_PRECONFIGURE): Likewise.
31907 (add_ons): Remove variable and sanity checks and logic to locate
31908 add-ons.
31909 (add_ons_automatic): Remove variable.
31910 (configured_add_ons): Likewise.
31911 (add_ons_sfx): Likewise.
31912 (add_ons_pfx): Likewise.
31913 (add_on_subdirs): Likewise.
31914 (sysnames_add_ons): Likewise. Remove loop over add-ons and
31915 consideration of add-ons in Implies handling.
31916 (sysdeps_add_ons): Likewise.
31917 * configure: Regenerated.
31918 * libidn/configure.ac: Remove.
31919 * libidn/configure: Likewise.
31920 * sysdeps/unix/inet/configure.ac: New file.
31921 * sysdeps/unix/inet/configure: New generated file.
31922 * sysdeps/unix/inet/Subdirs: Add libidn.
31923 * Makeconfig (sysdeps-srcdirs): Remove variable.
31924 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
31925 ($(common-objpfx)config.status): Do not depend on add-on files.
31926 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
31927 comment.
31928 (all-subdirs): Do not include $(add-on-subdirs).
31929 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
31930 * config.make.in (add-ons): Remove variable.
31931 (add-on-subdirs): Likewise.
31932 (sysdeps-add-ons): Likewise.
31933 * manual/Makefile (add-chapters): Remove.
31934 ($(objpfx)texis): Do not depend on $(add-chapters).
31935 (nonexamples): Do not handle $(add-chapters).
31936 (examples): Do not handle $(add-ons).
31937 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
31938 libc-texinfo.sh.
31939 * manual/install.texi (Installation): Do not mention add-ons.
31940 (--enable-add-ons): Do not document configure option.
31941 * INSTALL: Regenerated.
31942 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
31943 * manual/maint.texi (Hierarchy Conventions): Do not mention
31944 add-ons.
31945 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
31946 --enable-add-ons.
31947 * scripts/gen-sorted.awk: Do not handle Subdirs files from
31948 add-ons.
31949 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
31950 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
31951
19f82f35
AS
319522017-10-05 Andreas Schwab <schwab@suse.de>
31953
31954 [BZ #15142]
31955 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
31956 (_IO_flush_all_lockp): Always lock list_all_lock.
31957 (_IO_flush_all_linebuffered): Likewise.
31958 (_IO_unbuffer_all): Likewise.
31959
91e7cf98
FW
319602017-10-05 Florian Weimer <fweimer@redhat.com>
31961
31962 [BZ #15436]
31963 Do not flush stdio streams on abort.
31964 * stdlib/abort.c (fflush): Remove macro definition.
31965 (abort): Remove stages related to stdio flushing.
31966
0c251257
FW
319672017-10-05 Florian Weimer <fweimer@redhat.com>
31968
31969 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
31970
7ea59e3e
SL
319712017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
31972
31973 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
31974
84d0e6f0
FW
319752017-10-05 Florian Weimer <fweimer@redhat.com>
31976
31977 * support/support_format_hostent.c (support_format_hostent): Add
31978 more error information for NETDB_INTERNAL.
31979
ee417882
L
319802017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31981
31982 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
31983 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
31984 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
31985 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
31986 AC_DEFINE if multi-arch is enabled.
31987 * sysdeps/i386/configure: Regenerated.
31988
a67029ff
L
319892017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31990
31991 * Makeconfig (+link-static-before-libc): Use
31992 $(DEFAULT-LDFLAGS-$(@F)).
31993 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
31994 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
31995 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
31996
5dba84b3
L
319972017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31998
31999 * elf/Makefile (tests): Add tst-main1.
32000 (modules-names): Add tst-main1mod.
32001 ($(objpfx)tst-main1): New.
32002 (CRT-tst-main1): Likewise.
32003 (LDFLAGS-tst-main1): Likewise.
32004 (LDLIBS-tst-main1): Likewise.
32005 (tst-main1mod.so-no-z-defs): Likewise.
32006 * elf/tst-main1.c: New file.
32007 * elf/tst-main1mod.c: Likewise.
32008
758f1bfa
L
320092017-10-04 H.J. Lu <hongjiu.lu@intel.com>
32010
32011 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
32012
7e16a5d1
JM
320132017-10-04 Joseph Myers <joseph@codesourcery.com>
32014
32015 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
32016 (fma): Define using libm_alias_double.
32017 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
32018 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
32019 <math_ldbl_opt.h>.
32020 (fmal): Do not define as compat symbol here.
32021 * sysdeps/alpha/fpu/s_fma.c: New file.
32022
db4f87ba
SN
320232017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
32024
32025 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
32026
72d13ed1
JM
320272017-10-04 Joseph Myers <joseph@codesourcery.com>
32028
32d372d5
JM
32029 [BZ #22229]
32030 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
32031 <math_ldbl_opt.h>
32032 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
32033 and libc.
32034 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
32035 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
32036 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
32037 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
32038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
32039 Include <math_ldbl_opt.h>
32040 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
32041 and libc.
32042 (compat_symbol): Undefine and redefine.
32043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
32044 <math_ldbl_opt.h>
32045 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
32046 (compat_symbol): Undefine and redefine.
32047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
32048 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
32049 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
32050 GLIBC_2_1 for libm.
32051 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
32052 GLIBC_2.0 copysignl symbol.
32053 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
32054 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
32055
72d13ed1
JM
32056 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
32057
11c4f501
FW
320582017-10-04 Florian Weimer <fweimer@redhat.com>
32059
32060 * scripts/check-local-headers.sh: Ignore nspr4 header file
32061 directory in addition to nspr.
32062
57b4af19
GT
320632017-10-04 Guido Trentalancia <guido@trentalancia.net>
32064
32065 [BZ #17956]
32066 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
32067 * configure: Regenerate.
32068 * crypt/Makefile (nss-cpp-flags): New variable.
32069 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
32070 (CPPFLAGS-md5-crypt.c): Use it.
32071 * scripts/check-local-headers.sh: Ignore nspr header file
32072 directory.
32073
64d1e08e
AS
320742017-10-04 Andreas Schwab <schwab@suse.de>
32075
32076 * nis/Makefile (services): Remove compat.
32077 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
32078 ($(objpfx)libnss_compat.so): Remove rule.
32079 * nis/Versions (libnss_compat): Remove.
32080 * nss/Makefile (services): Add compat.
32081 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
32082 * nss/Versions (libnss_compat): Define.
32083 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
32084 Don't include <rpc/types.h>. Replace bool_t by bool.
32085 * nss/nss_compat/compat-initgroups.c: Likewise.
32086 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
32087 instead of <rpcsrv/ypclnt.h>.
32088 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
32089 yp_get_default_domain.
32090 * nss/nss_compat/compat-pwd.c: Likewise.
32091 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
32092 yp_get_default_domain.
32093 * nss/nss_compat/nisdomain.c: New file.
32094 * nss/nss_compat/nisdomain.h: Likewise.
32095
86c27ade
SN
320962017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
32097
32098 [BZ #22244]
32099 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
32100 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32101
8f8f8ef7
SN
321022017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
32103
32104 [BZ #22243]
32105 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
32106 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
32107
95577475
L
321082017-10-03 H.J. Lu <hongjiu.lu@intel.com>
32109
32110 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
32111 "movl main@GOTOFF(%ebx), %eax".
32112
02d2d892
L
321132017-10-03 H.J. Lu <hongjiu.lu@intel.com>
32114
32115 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
32116 allow undefined _DYNAMIC in PIE libc.a.
32117 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
32118 Likewse.
32119
0c609d19
L
321202017-10-03 H.J. Lu <hongjiu.lu@intel.com>
32121
32122 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
32123 check _DYNAMIC.
32124
c34a19ed
L
321252017-10-03 H.J. Lu <hongjiu.lu@intel.com>
32126
32127 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
32128 check _DYNAMIC.
32129
cdd4155d
L
321302017-10-03 H.J. Lu <hongjiu.lu@intel.com>
32131
32132 * math/test-math-iscanonical.cc (error): Replace bool with int.
32133
4699cb8b
JM
321342017-10-03 Joseph Myers <joseph@codesourcery.com>
32135
d8f619b3
JM
32136 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
32137 (modf): Define using libm_alias_double, only if [!__modf].
32138 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
32139 <libm-alias-double.h>.
32140 (modf): Define using libm_alias_double, only if [!__modf].
32141 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
32142 compat symbol here.
32143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
32144 (weak_alias): Do not undefine and redefine.
32145 (strong_alias): Likewise.
32146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
32147 (weak_alias): Likewise.
32148 (strong_alias): Likewise.
32149
4699cb8b
JM
32150 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
32151 (logb): Define using libm_alias_double, only if [!__logb].
32152 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
32153 <libm-alias-double.h>.
32154 (logb): Define using libm_alias_double, only if [!__logb].
32155 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
32156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
32157 (weak_alias): Do not undefine and redefine.
32158 (strong_alias): Likewise.
32159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
32160 (weak_alias): Likewise.
32161 (strong_alias): Likewise.
32162
bcc4e4bb
L
321632017-10-03 H.J. Lu <hongjiu.lu@intel.com>
32164
32165 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
32166 Check SHARED instead PIC.
32167
39793865
JM
321682017-10-03 Joseph Myers <joseph@codesourcery.com>
32169
7f1cbdf8
JM
32170 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
32171 [!__fmaf] (fmaf): Define using libm_alias_float.
32172
39793865
JM
32173 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
32174 (frexp): Define using libm_alias_double.
32175 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
32176 <libm-alias-double.h>.
32177 (frexp): Define using libm_alias_double.
32178 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
32179 compat symbol here.
32180
aa0235df
GG
321812017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32182
32183 [BZ #22235]
32184 * math/math.h: Trivial fix for unbalanced parentheses in comment.
32185 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
32186 (CFLAGS-test-math-iscanonical.cc): New variable.
32187 * math/test-math-iscanonical.cc: New file.
32188 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
32189 Provide a C++ implementation based on function overloading,
32190 rather than using __MATH_TG, which uses C-only builtins.
32191 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
32192 Likewise.
32193 * sysdeps/powerpc/powerpc64le/Makefile
32194 (CFLAGS-test-math-iscanonical.cc): New variable.
32195
a1132b5e
JM
321962017-10-03 Joseph Myers <joseph@codesourcery.com>
32197
32198 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
32199 (ceil): Define using libm_alias_double.
32200 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
32201 (floor): Define using libm_alias_double.
32202 * sysdeps/ieee754/dbl-64/s_llround.c: Include
32203 <libm-alias-double.h>.
32204 (llround): Define using libm_alias_double.
32205 * sysdeps/ieee754/dbl-64/s_lround.c: Include
32206 <libm-alias-double.h>.
32207 (lround): Define using libm_alias_double.
32208 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
32209 <libm-alias-double.h>.
32210 (nearbyint): Define using libm_alias_double.
32211 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
32212 <libm-alias-double.h>.
32213 (remquo): Define using libm_alias_double.
32214 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
32215 (rint): Define using libm_alias_double.
32216 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
32217 (round): Define using libm_alias_double.
32218 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
32219 (trunc): Define using libm_alias_double.
32220 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
32221 <libm-alias-double.h>.
32222 (ceil): Define using libm_alias_double.
32223 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
32224 <libm-alias-double.h>.
32225 (floor): Define using libm_alias_double.
32226 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
32227 <libm-alias-double.h>.
32228 (llround): Define using libm_alias_double.
32229 [_LP64] (lround): Likewise.
32230 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
32231 <libm-alias-double.h>.
32232 [!_LP64] (lround): Define using libm_alias_double.
32233 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
32234 <libm-alias-double.h>.
32235 (nearbyint): Define using libm_alias_double.
32236 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
32237 <libm-alias-double.h>.
32238 (remquo): Define using libm_alias_double.
32239 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
32240 <libm-alias-double.h>.
32241 (rint): Define using libm_alias_double.
32242 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
32243 <libm-alias-double.h>.
32244 (round): Define using libm_alias_double.
32245 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
32246 <libm-alias-double.h>.
32247 (trunc): Define using libm_alias_double.
32248 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
32249 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
32250 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
32251 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
32252 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
32253 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
32254 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
32255 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
32256 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
32257
f275f64e
SN
322582017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
32259
32260 * math/w_remainder.c: New file.
32261 * math/w_remainderf.c: New file.
32262 * math/w_remainderl.c: New file.
32263
b8818ab5
L
322642017-10-03 H.J. Lu <hongjiu.lu@intel.com>
32265
32266 * elf/rtld.c (BOOTSTRAP_MAP): New.
32267 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
32268 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
32269 Likewise.
32270 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
32271 Likewise.
32272 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
32273 Likewise.
32274
3d1870fa
ST
322752017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
32276
32277 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
32278 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
32279 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
32280 rtld_hidden_data_ver): Define to empty.
32281 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
32282 __assert_perror_fail): Likewise.
32283 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
32284 (__rewinddir): Likewise.
32285 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
32286 (__profile_frequency): Likewise.
32287 * include/setjmp.h (__sigsetjmp): Likewise.
32288 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
32289 __libc_sigaction): Likewise.
32290 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
32291 not set hidden attribute.
32292 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
32293 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
32294 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
32295 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
32296 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
32297 __fxstatat64): Likewise.
32298 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
32299 (__uname): Likewise.
32300 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
32301 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
32302 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
32303 (NO_RTLD_HIDDEN): Set.
32304 * sysdeps/mach/hurd/configure: Refresh.
32305 * config.h.in: Refresh.
32306
527cd19c
JM
323072017-10-02 Joseph Myers <joseph@codesourcery.com>
32308
38722448
JM
32309 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
32310 (atan): Define using libm_alias_double.
32311 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
32312 (tan): Define using libm_alias_double.
32313 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
32314 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
32315
527cd19c
JM
32316 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
32317 define as weak alias of __atan. Do not define any aliases if
32318 [__atan].
32319 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
32320 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
32321 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
32322 as weak alias of __tan. Do not define any aliases if [__tan].
32323 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
32324 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
32325 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
32326 __atan.
32327 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
32328 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
32329 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
32330 and define as weak alias of __atan.
32331 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
32332 __atan.
32333 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
32334 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
32335 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
32336 define as weak alias of __tan.
32337
bdc5c592
SN
323382017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
32339
32340 * math/w_lgamma.c: New file.
32341 * math/w_lgammaf.c: New file.
32342 * math/w_lgammal.c: New file.
32343
bd4430c2
SN
323442017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
32345
32346 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
32347 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
32348 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
32349 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
32350 * sysdeps/ieee754/flt-32/w_logf.c: New file.
32351 * sysdeps/ieee754/flt-32/w_powf.c: New file.
32352 * sysdeps/i386/fpu/w_log2f.c: New file.
32353 * sysdeps/i386/fpu/w_logf.c: New file.
32354 * sysdeps/i386/fpu/w_powf.c: New file.
32355 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
32356 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
32357 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
32358
f7a0b063
SN
323592017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
32360 H.J. Lu <hongjiu.lu@intel.com>
32361
32362 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
32363 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
32364 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
32365 * sysdeps/ieee754/flt-32/w_expf.c: New file.
32366 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
32367 the new expf code.
32368 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
32369 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
32370 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
32371 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
32372 * sysdeps/i386/fpu/w_exp2f.c: New file.
32373 * sysdeps/i386/fpu/w_expf.c: New file.
32374 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
32375 * sysdeps/x86_64/fpu/w_expf.c: New file.
32376
72d3d281
SN
323772017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
32378
32379 * math/Versions (logf): New libm symbol at GLIBC_2.27.
32380 (log2f): Likewise.
32381 (powf): Likewise.
32382 * math/w_log2f.c: New file.
32383 * math/w_logf.c: New file.
32384 * math/w_powf.c: New file.
32385 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
32386 * math/w_logf_compat.c (__logf_compat): Likewise.
32387 * math/w_powf_compat.c (__powf_compat): Likewise.
32388 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
32389 * sysdeps/ia64/fpu/e_logf.S: Likewise.
32390 * sysdeps/ia64/fpu/e_powf.S: Likewise.
32391 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
32392 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
32393 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
32394 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
32395 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
32396 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
32397 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
32398 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
32399 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
32400 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
32401 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
32402 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
32403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
32404 Likewise.
32405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
32406 Likewise.
32407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
32408 Likewise.
32409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
32410 Likewise.
32411 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
32412 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
32413 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
32414 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
32415 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
32416 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
32417 Likewise.
32418 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
32419 Likewise.
32420 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
32421 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
32422 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
32423
59ba2d2b
RS
324242017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32425
32426 * sysdeps/powerpc/powerpc64/multiarch/Makefile
32427 (sysdep_routines): Add memrchr_power8.
32428 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32429 (memrchr): Add __memrchr_power8 to list of memrchr functions.
32430 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
32431 New file.
32432 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
32433 (memrchr): Add __memrchr_power8 to ifunc list.
32434 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
32435
397286ea
L
324362017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32437
32438 [BZ #18822]
32439 * sysdeps/unix/sysv/linux/posix_fadvise64.c
32440 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
32441 libc_hidden_def.
32442 * sysdeps/unix/sysv/linux/posix_fallocate64.c
32443 (__posix_fallocate64_l64): Likewise.
32444
d0a4512b
L
324452017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32446
32447 [BZ #18822]
32448 * sysdeps/unix/sysv/linux/sched_setaffinity.c
32449 (__sched_setaffinity_new): Add libc_hidden_proto and
32450 libc_hidden_def.
32451
c0769f70
L
324522017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32453
32454 [BZ #18822]
32455 * include/glob.h (__glob64): Add libc_hidden_proto.
32456 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
32457 libc_hidden_def.
32458
0e7d5b6e
L
324592017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32460
32461 [BZ #18822]
32462 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
32463 attribute_hidden.
32464
bde06c87
L
324652017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32466
32467 [BZ #18822]
32468 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
32469
fa426590
L
324702017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32471
32472 [BZ #18822]
32473 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
32474 libc_hidden_def.
32475
2f8a05d8
L
324762017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32477
32478 [BZ #18822]
32479 * csu/version.c (__libc_print_version): Add attribute_hidden.
32480
7bfd08ac
L
324812017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32482
32483 [BZ #18822]
32484 * include/libc-internal.h (__init_misc): Add attribute_hidden.
32485
0e1fd06c
L
324862017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32487
32488 [BZ #18822]
32489 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
32490
36e7ae1e
L
324912017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32492
32493 [BZ #18822]
32494 * nscd/nscd_helper.c (__nis_hash): New prototype.
32495
87078544
L
324962017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32497
32498 [BZ #18822]
32499 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
32500 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
32501 libc_hidden_def.
32502 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
32503 * termios/tcgetattr.c (__tcgetattr): Likewise.
32504
dd3121df
L
325052017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32506
32507 [BZ #18822]
32508 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
32509 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
32510 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
32511 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
32512 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
32513
047d1a81
L
325142017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32515
32516 [BZ #18822]
32517 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
32518
fd331b11
L
325192017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32520
32521 [BZ #18822]
32522 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
32523 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
32524
57f859bd
L
325252017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32526
32527 [BZ #18822]
32528 * intl/hash-string.h (__hash_string): Add attribute_hidden.
32529
d1903329
L
325302017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32531
32532 [BZ #18822]
32533 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
32534 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
32535
b4744101
L
325362017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32537
32538 [BZ #18822]
32539 * include/ifreq.h: New file.
32540 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
32541 (__ifreq): Likewise.
32542 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
32543 (__ifreq): Likewise.
32544
43b7dfd1
L
325452017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32546
32547 [BZ #18822]
32548 * include/idna.h: New file.
32549 * inet/getnameinfo.c: Include <idna.h> instead of
32550 <libidn/idna.h>.
32551 (__idna_to_unicode_lzlz): Removed.
32552 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
32553 <libidn/idna.h>.
32554 (__idna_to_ascii_lz): Removed.
32555 (__idna_to_unicode_lzlz): Likewise.
32556
2c0cd8f8
L
325572017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32558
32559 [BZ #18822]
32560 * include/plural-exp.h: New file.
32561 * intl/plural-exp.c: Include <plural-exp.h> instead of
32562 "plural-exp.h".
32563
8369d216
L
325642017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32565
32566 [BZ #18822]
32567 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
32568 "getsourcefilter.h".
32569 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
32570 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
32571 "getsourcefilter.h".
32572 (__get_sol): Removed.
32573
a0aef783
L
325742017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32575
32576 [BZ #18822]
32577 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
32578 to ...
32579 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
32580
3ee8209b
L
325812017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32582
32583 [BZ #18822]
32584 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
32585 attribute_hidden.
32586
6036fc38
L
325872017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32588
32589 [BZ #18822]
32590 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
32591
fe84fed0
L
325922017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32593
32594 [BZ #18822]
32595 * include/search.h (__tdestroy): Add libc_hidden_proto.
32596 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
32597
048dd681
L
325982017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32599
32600 [BZ #18822]
32601 * include/assert.h (__assert_fail_base): Add attribute_hidden.
32602
6e342af6
L
326032017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32604
32605 [BZ #18822]
32606 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
32607 attribute_hidden.
32608
6a088436
L
326092017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32610
32611 [BZ #18822]
32612 * include/signal.h (__kill): Add libc_hidden_proto.
32613 (__sigblock): Likewise.
32614 (__sigprocmask): Likewise.
32615 (__sigaltstack): Likewise.
32616 * signal/kill.c (__kill): Add libc_hidden_def.
32617 * signal/sigblock.c (__sigblock): Likewise.
32618 * signal/sigprocmask.c (__sigprocmask): Likewise.
32619 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
32620 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
32621 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
32622 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
32623 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
32624 Likewise.
32625 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
32626 Likewise.
32627 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
32628 (__sigprocmask): Likewise.
32629 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
32630 Likewise.
32631 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
32632 (__sigprocmask): Likewise.
32633 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
32634 Likewise.
32635
78cf1d74
L
326362017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32637
32638 [BZ #18822]
32639 * include/string.h (__strsep): Add libc_hidden_proto.
32640 * string/strsep.c (__strsep): Add libc_hidden_def.
32641
85b35894
L
326422017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32643
32644 [BZ #18822]
32645 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
32646 attribute_hidden.
32647 (__spawni): Likewise.
32648
225f7eec
L
326492017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32650
32651 [BZ #18822]
32652 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
32653 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
32654 libc_hidden_def.
32655
372fe247
L
326562017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32657
32658 [BZ #18822]
32659 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
32660
9e5ee8b8
L
326612017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32662
32663 [BZ #18822]
32664 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
32665 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
32666 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
32667 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
32668 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
32669 Likewise.
32670 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
32671 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
32672
2ff16592
L
326732017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32674
32675 [BZ #18822]
32676 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
32677 (__dcigettext): Likewise.
32678
b5648377
L
326792017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32680
32681 [BZ #18822]
32682 * include/sys/sysinfo.h (__get_nprocs_conf): Add
32683 libc_hidden_proto.
32684 (__get_nprocs): Likewise.
32685 (__get_phys_pages): Likewise.
32686 (__get_avphys_pages): Likewise.
32687 (__get_child_max): Add attribute_hidden.
32688 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
32689 (__get_nprocs): Likewise.
32690 (__get_phys_pages): Likewise.
32691 (__get_avphys_pages): Likewise.
32692 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
32693 libc_hidden_def.
32694 (__get_nprocs): Likewise.
32695 (__get_phys_pages): Likewise.
32696 (__get_avphys_pages): Likewise.
32697 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
32698 libc_hidden_def.
32699 (__get_nprocs_conf): Likewise.
32700 (__get_phys_pages): Likewise.
32701 (__get_avphys_pages): Likewise.
32702
0389a6aa
L
327032017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32704
32705 [BZ #18822]
32706 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
32707 attribute_hidden.
32708 (__netlink_close): Likewise.
32709 (__netlink_free_handle): Likewise.
32710 (__netlink_request): Likewise.
32711
d48354d8
L
327122017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32713
32714 [BZ #18822]
32715 * include/rpc/rpc.h (__rpc_thread_variables): Add
32716 attribute_hidden.
32717 (__rpc_thread_svc_cleanup): Likewise.
32718 (__rpc_thread_clnt_cleanup): Likewise.
32719 (__rpc_thread_key_cleanup): Likewise.
32720
d6daff12
L
327212017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32722
32723 [BZ #18822]
32724 * include/sys/uio.h (__readv): Add libc_hidden_proto.
32725 (__writev): Likewise.
32726 * misc/readv.c (__readv): Add libc_hidden_def.
32727 * misc/writev.c (__writev): Likewise.
32728 * sysdeps/posix/readv.c (__readv): Likewise.
32729 * sysdeps/posix/writev.c (__writev): Likewise.
32730 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
32731 (__readv): Likewise.
32732 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
32733 (__writev): Likewise.
32734
b68f8620
L
327352017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32736
32737 [BZ #18822]
32738 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
32739 (__regcomp): Add libc_hidden_proto.
32740 (__regexec): Likewise.
32741 (__regfree): Likewise.
32742 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
32743 (__regfree): Likewise.
32744 * posix/regexec.c (__regexec): Likewise.
32745
59c04e67
L
327462017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32747
32748 [BZ #18822]
32749 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
32750 (__getutent): Likewise.
32751 (__getutid): Likewise.
32752 (__getutline): Likewise.
32753 (__pututline): Likewise.
32754 (__getutent_r): Likewise.
32755 (__getutid_r): Likewise.
32756 (__getutline_r): Likewise.
32757 (__utmpname): Add attribute_hidden.
32758 (__setutent): Likewise.
32759 (__endutent): Likewise.
32760 * login/getutent.c (__getutent): Add libc_hidden_def.
32761 * login/getutent_r.c (__getutent_r): Likewise.
32762 (__pututline): Likewise.
32763 * login/getutid.c (__getutid): Likewise.
32764 * login/getutid_r.c (__getutid_r): Likewise.
32765 * login/getutline.c (__getutline): Likewise.
32766 * login/getutline_r.c (__getutline_r): Likewise.
32767 * login/updwtmp.c (__updwtmp): Likewise.
32768
4587a421
L
327692017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32770
32771 [BZ #18822]
32772 * include/dirent.h (__opendir): Always add attribute_hidden.
32773 (__fdopendir): Likewise.
32774 (__closedir): Likewise.
32775 (__readdir): Likewise.
32776 (__readdir64): Add libc_hidden_proto.
32777 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
32778 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
32779 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
32780 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
32781 New alias.
32782
9635ce69
L
327832017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32784
32785 [BZ #18822]
32786 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
32787 * include/netdb.h (__gethostbyaddr_r): Likewise.
32788 (__gethostbyname_r): Likewise.
32789 (__gethostbyname2_r): Likewise.
32790 (__getnetbyaddr_r): Likewise.
32791 (__getnetbyname_r): Likewise.
32792 (__getservbyname_r): Likewise.
32793 (__getservbyport_r): Likewise.
32794 (__getprotobyname_r): Likewise.
32795 (__getprotobynumber_r): Likewise.
32796 (__getnetgrent_r): Likewise.
32797 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
32798 (__getrpcbynumber_r): Likewise.
32799 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
32800
2e0a6909
L
328012017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32802
32803 [BZ #18822]
32804 * include/stdio.h (__fcloseall): Add attribute_hidden.
32805 (__getline): Likewise.
32806 (__path_search): Likewise.
32807 (__gen_tempname): Likewise.
32808 (__libc_message): Likewise.
32809 (__flockfile): Likewise.
32810 (__funlockfile): Likewise.
32811 (__fxprintf): Likewise.
32812 (__fxprintf_nocancel): Likewise.
32813
94fd682c
L
328142017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32815
32816 [BZ #18822]
32817 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
32818 (__sgetsgent_r): Likewise.
32819
e1b33bba
L
328202017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32821
32822 [BZ #18822]
32823 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
32824 (__statfs64): Likewise.
32825 (__fstatfs64): Likewise.
32826 * include/sys/statvfs.h (__statvfs64): Likewise.
32827 (__fstatvfs64): Likewise.
32828 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
32829 (__statfs_filesize_max): Likewise.
32830 (__statfs_symlinks): Likewise.
32831 (__statfs_chown_restricted): Likewise.
32832
b0f56784
L
328332017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32834
32835 [BZ #18822]
32836 * include/time.h (__tzstring): Add attribute_hidden.
32837 (__tzfile_read): Likewise.
32838 (__tzfile_compute): Likewise.
32839 (__tzfile_default): Likewise.
32840 (__tzset_parse_tz): Likewise.
32841 (__offtime): Likewise.
32842 (__asctime_r): Likewise.
32843 (__tzset): Likewise.
32844 (__tz_convert): Likewise.
32845 (__getdate_r): Likewise.
32846 (__getclktck): Likewise.
32847
a4338d99
L
328482017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32849
32850 [BZ #18822]
32851 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
32852 (__nscd_unmap): Likewise.
32853 (__nscd_cache_search): Likewise.
32854 (__nscd_get_nl_timestamp): Likewise.
32855 (__nscd_getpwnam_r): Likewise.
32856 (__nscd_getpwuid_r): Likewise.
32857 (__nscd_getgrnam_r): Likewise.
32858 (__nscd_getgrgid_r): Likewise.
32859 (__nscd_gethostbyname_r): Likewise.
32860 (__nscd_gethostbyname2_r): Likewise.
32861 (__nscd_gethostbyaddr_r): Likewise.
32862 (__nscd_getai): Likewise.
32863 (__nscd_getgrouplist): Likewise.
32864 (__nscd_getservbyname_r): Likewise.
32865 (__nscd_getservbyport_r): Likewise.
32866 (__nscd_innetgr): Likewise.
32867 (__nscd_setnetgrent): Likewise.
32868
a2ca1652
L
328692017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32870
32871 [BZ #18822]
32872 * include/gmp.h: Declare internal functions only if _ISOMAC is
32873 undefined.
32874 (__mpn_extract_double): Add attribute_hidden.
32875 (__mpn_extract_long_double): Likewise.
32876 (__mpn_extract_float128): Likewise.
32877 (__mpn_construct_float): Likewise.
32878 (__mpn_construct_double): Likewise.
32879 (__mpn_construct_long_double): Likewise.
32880 (__mpn_construct_float128): Likewise.
32881 (mpn_add_1): Likewise.
32882 (mpn_addmul_1): Likewise.
32883 (mpn_add_n): Likewise.
32884 (mpn_cmp): Likewise.
32885 (mpn_divrem): Likewise.
32886 (mpn_lshift): Likewise.
32887 (mpn_mul): Likewise.
32888 (mpn_mul_1): Likewise.
32889 (mpn_rshift): Likewise.
32890 (mpn_sub_1): Likewise.
32891 (mpn_submul_1): Likewise.
32892 (mpn_sub_n): Likewise.
32893
44af8a32
L
328942017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32895
32896 [BZ #18822]
32897 * include/wchar.h (__wcsnlen): Add attribute_hidden.
32898 (__wcscat): Likewise.
32899 (__btowc): Likewise.
32900 (__wcrtomb): Likewise.
32901 (__mbsrtowcs): Likewise.
32902 (__wcsrtombs): Likewise.
32903 (__mbsnrtowcs): Likewise.
32904 (__wcsnrtombs): Likewise.
32905 (__wcsncpy): Likewise.
32906 (__wcpncpy): Likewise.
32907 (__wmemcpy): Likewise.
32908 (__wmempcpy): Likewise.
32909 (__wmemmove): Likewise.
32910 (__wcschrnul): Likewise.
32911 (__vfwscanf): Likewise.
32912 (__vswprintf): Likewise.
32913 (__fwprintf): Likewise.
32914 (__vfwprintf): Likewise.
32915
783cd767
L
329162017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32917
32918 [BZ #18822]
32919 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
32920 (__getgrgid_r): Likewise.
32921 (__getgrnam_r): Likewise.
32922 * include/pwd.h (__getpwuid_r): Likewise.
32923 (__getpwnam_r): Likewise.
32924 (__fgetpwent_r): Likewise.
32925 * include/shadow.h (__getspnam_r): Likewise.
32926 (__sgetspent_r): Likewise.
32927 (__fgetspent_r): Likewise.
32928
7ec4b39a
L
329292017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32930
32931 [BZ #18822]
32932 * include/unistd.h (__access): Add attribute_hidden.
32933 (__lseek64): Likewise.
32934 (__libc_pread64): Likewise.
32935 (__pipe2): Likewise.
32936 (__sleep): Likewise.
32937 (__chdir): Likewise.
32938 (__fchdir): Likewise.
32939 (__getcwd): Likewise.
32940 (__rmdir): Likewise.
32941 (__execvpe): Likewise.
32942 (__execve): Likewise.
32943 (__setsid): Likewise.
32944 (__getuid): Likewise.
32945 (__geteuid): Likewise.
32946 (__getgid): Likewise.
32947 (__getegid): Likewise.
32948 (__getgroups): Likewise.
32949 (__group_member): Likewise.
32950 (__ttyname_r): Likewise.
32951 (__isatty): Likewise.
32952 (__readlink): Likewise.
32953 (__unlink): Likewise.
32954 (__gethostname): Likewise.
32955 (__profil): Likewise.
32956 (__getdtablesize): Likewise.
32957 (__brk): Likewise.
32958 (__ftruncate): Likewise.
32959 (__ftruncate64): Likewise.
32960
8345a760
L
329612017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32962
32963 [BZ #18822]
32964 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
32965 * argp/argp-fs-xinl.c: Likewise.
32966 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
32967 * argp/argp-parse.c: Include <argp.h>.
32968 * argp/argp-xinl.c: Likewise.
32969 * include/argp-fmtstream.h: New file.
32970 * include/argp.h (__argp_error): Add attribute_hidden.
32971 (__argp_failure): Likewise.
32972 (__argp_input): Likewise.
32973 (__argp_state_help): Likewise.
32974
c26dd7c6
L
329752017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32976
32977 [BZ #18822]
32978 * include/wchar.h (____wcstof_l_internal): New prototype.
32979 (____wcstod_l_internal): Likewise.
32980 (____wcstold_l_internal): Likewise.
32981 (____wcstol_l_internal): Likewise.
32982 (____wcstoul_l_internal): Likewise.
32983 (____wcstoll_l_internal): Likewise.
32984 (____wcstoull_l_internal): Likewise.
32985 (____wcstof128_l_internal): Likewise.
32986 * sysdeps/ieee754/float128/wcstof128.c
32987 (____wcstof128_l_internal): Removed.
32988 * sysdeps/ieee754/float128/wcstof128_l.c
32989 (____wcstof128_l_internal): Likewise.
32990 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
32991 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
32992 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
32993 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
32994 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
32995 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
32996 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
32997 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
32998 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
32999 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
33000
3aff5644
L
330012017-10-01 H.J. Lu <hongjiu.lu@intel.com>
33002
33003 [BZ #18822]
33004 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
33005 instead of <sys/statvfs.h>.
33006 (__internal_statvfs): Removed.
33007 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
33008 instead of <sys/statvfs.h>.
33009 (__internal_statvfs64): Removed.
33010 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
33011 "internal_statvfs.h" instead of <sys/statvfs.h>.
33012 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
33013 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
33014 instead of <sys/statvfs.h>.
33015 (__internal_statvfs): Removed.
33016 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
33017 instead of <sys/statvfs.h>.
33018 (__internal_statvfs64): Removed.
33019
8bcdb7e0
L
330202017-10-01 H.J. Lu <hongjiu.lu@intel.com>
33021
33022 [BZ #18822]
33023 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
33024 (__gconv_close): Likewise.
33025 (__gconv): Likewise.
33026 (__gconv_find_transform): Likewise.
33027 (__gconv_lookup_cache): Likewise.
33028 (__gconv_compare_alias_cache): Likewise.
33029 (__gconv_load_cache): Likewise.
33030 (__gconv_get_path): Likewise.
33031 (__gconv_close_transform): Likewise.
33032 (__gconv_release_cache): Likewise.
33033 (__gconv_find_shlib): Likewise.
33034 (__gconv_release_shlib): Likewise.
33035 (__gconv_get_builtin_trans): Likewise.
33036 (__gconv_compare_alias): Likewise.
33037 * include/dlfcn.h (_dlerror_run): Likewise.
33038 * include/stdio.h (__fortify_fail_abort): Likewise.
33039 * include/time.h (__tz_compute): Likewise.
33040 (__strptime_internal): Likewise.
33041 * intl/gettextP.h (_nl_find_domain): Likewise.
33042 (_nl_load_domain): Likewise.
33043 (_nl_find_msg): Likewise.
33044 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
33045 (EXTRACT_PLURAL_EXPRESSION): Likewise.
33046 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
33047 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
33048 (__gai_find_request): Likewise.
33049 (__gai_remove_request): Likewise.
33050 (__gai_notify): Likewise.
33051 (__gai_notify_only): Likewise.
33052 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
33053 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
33054 (_dl_non_dynamic_init): Likewise.
33055 (_dl_aux_init): Likewise.
33056 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
33057 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
33058 Likewise.
33059 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
33060 (__wcsmbs_clone_conv): Likewise.
33061 (__wcsmbs_named_conv): Likewise.
33062
8ed3b643
L
330632017-10-01 H.J. Lu <hongjiu.lu@intel.com>
33064
33065 [BZ #18822]
33066 * include/stdlib.h (__random): Add attribute_hidden.
33067 (__random_r): Likewise.
33068 (__srandom_r): Likewise.
33069 (__initstate_r): Likewise.
33070 (__setstate_r): Likewise.
33071 (__erand48_r): Likewise.
33072 (__nrand48_r): Likewise.
33073 (__jrand48_r): Likewise.
33074 (__srand48_r): Likewise.
33075 (__seed48_r): Likewise.
33076 (__lcong48_r): Likewise.
33077 (__drand48_iterate): Likewise.
33078 (__setenv): Likewise.
33079 (__unsetenv): Likewise.
33080 (__clearenv): Likewise.
33081 (__ptsname_r): Likewise.
33082 (__posix_openpt): Likewise.
33083 (__add_to_environ): Likewise.
33084 (__realpath): Add libc_hidden_proto.
33085 (__ecvt_r): Likewise.
33086 (__fcvt_r): Likewise.
33087 (__qecvt_r): Likewise.
33088 (__qfcvt_r): Likewise.
33089 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
33090 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
33091
ef9b6f73
L
330922017-10-01 H.J. Lu <hongjiu.lu@intel.com>
33093
33094 [BZ #18822]
33095 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
33096 * include/time.h (__mktime_internal): Likewise.
33097 * libio/iolibio.h (__fopen_internal): Likewise.
33098
8da92e72
JDA
330992017-10-01 John David Anglin <danglin@gcc.gnu.org>
33100
33101 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
33102 pointer in frame.
33103 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
33104 Correct offset used to restore PIC register.
33105
388784cf
JDA
331062017-09-30 John David Anglin <danglin@gcc.gnu.org>
33107
33108 [BZ libc/22165]
33109 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
33110 code to load address of __getcontext_ret when generating PIC code.
33111
2000067a
L
331122017-09-30 H.J. Lu <hongjiu.lu@intel.com>
33113
33114 * elf/Makefile (tests-static-internal): Add
33115 tst-tls1-static-non-pie.
33116 (LDFLAGS-tst-tls1-static-non-pie): New.
33117 * elf/tst-tls1-static-non-pie.c: New file.
33118
1e2bffd0
JM
331192017-09-29 Joseph Myers <joseph@codesourcery.com>
33120
33121 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
33122 (asinh): Define using libm_alias_double.
33123 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
33124 (cbrt): Define using libm_alias_double.
33125 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
33126 <libm-alias-double.h>.
33127 (copysign): Define using libm_alias_double.
33128 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
33129 (erf): Define using libm_alias_double.
33130 (erfc): Likewise.
33131 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
33132 (expm1): Define using libm_alias_double.
33133 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
33134 (fabs): Define using libm_alias_double.
33135 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
33136 libm_alias_double.
33137 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
33138 <libm-alias-double.h>.
33139 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
33140 libm_alias_double.
33141 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
33142 <libm-alias-double.h>.
33143 (getpayload): Define using libm_alias_double.
33144 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
33145 <libm-alias-double.h>.
33146 (llrint): Define using libm_alias_double.
33147 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
33148 (lrint): Define using libm_alias_double.
33149 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
33150 <libm-alias-double.h>.
33151 (nextup): Define using libm_alias_double.
33152 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
33153 <libm-alias-double.h>.
33154 (roundeven): Define using libm_alias_double.
33155 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
33156 libm_alias_double.
33157 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
33158 <libm-alias-double.h>.
33159 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
33160 using libm_alias_double.
33161 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
33162 (cos): Define using libm_alias_double.
33163 (sin): Likewise.
33164 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
33165 <libm-alias-double.h>.
33166 (sincos): Define using libm_alias_double.
33167 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
33168 (tanh): Define using libm_alias_double.
33169 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
33170 <libm-alias-double.h>.
33171 (totalorder): Define using libm_alias_double.
33172 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
33173 <libm-alias-double.h>.
33174 (totalordermag): Define using libm_alias_double.
33175 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
33176 libm_alias_double.
33177 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
33178 libm_alias_double.
33179 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
33180 <libm-alias-double.h>.
33181 (getpayload): Define using libm_alias_double.
33182 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
33183 <libm-alias-double.h>.
33184 (roundeven): Define using libm_alias_double.
33185 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
33186 <libm-alias-double.h>.
33187 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
33188 <libm-alias-double.h>.
33189 (totalorder): Define using libm_alias_double.
33190 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
33191 <libm-alias-double.h>.
33192 (totalordermag): Define using libm_alias_double.
33193 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
33194 libc compat symbol here.
33195 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
33196 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
33197 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
33198 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
33199 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
33200 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
33201 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
33202 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
33203 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
33204 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
33205
8172aad9
L
332062017-09-29 H.J. Lu <hongjiu.lu@intel.com>
33207
33208 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
33209 _dl_relocate_static_pie instead of _dl_start to compute load
33210 address in static PIE. Return 0 if _DYNAMIC is undefined for
33211 static executable.
33212
54464e74
L
332132017-09-29 H.J. Lu <hongjiu.lu@intel.com>
33214
33215 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
33216 _DYNAMIC is undefined for static executable.
33217
f6c5e5bc
L
332182017-09-29 H.J. Lu <hongjiu.lu@intel.com>
33219
33220 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
33221
2f92505d
JM
332222017-09-29 Joseph Myers <joseph@codesourcery.com>
33223
33224 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33225
bd8d53bb
WD
332262017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
33227
33228 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
33229 (__ieee754_lgamma_r): Use fabs rather than __fabs.
33230 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
33231 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
33232 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
33233 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
33234 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
33235 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
33236 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
33237 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
33238 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
33239 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
33240 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
33241 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
33242 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
33243 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
33244 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
33245
fffb1507
WD
332462017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
33247
33248 * math/bits/cmathcalls.h (cimag): Remove inline.
33249 (creal): Remove inline.
33250 (conj): Remove inline.
33251
4ea49f4c
SN
332522017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
33253
33254 * math/Makefile (type-float-routines): Add e_powf_log2_data.
33255 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
33256 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
33257 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
33258 (issignalingf_inline): Likewise.
33259 (POWF_LOG2_TABLE_BITS): Likewise.
33260 (POWF_LOG2_POLY_ORDER): Likewise.
33261 (POWF_SCALE_BITS): Likewise.
33262 (POWF_SCALE): Likewise.
33263 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
33264 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
33265 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
33266
875c76c7
SN
332672017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
33268
33269 * math/Makefile (type-float-routines): Add e_log2f_data.
33270 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
33271 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
33272 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
33273 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
33274 * sysdeps/i386/fpu/e_log2f_data.c: New file.
33275 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
33276 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
33277
90c42e40
SN
332782017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
33279
33280 * math/Makefile (type-float-routines): Add e_logf_data.
33281 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
33282 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
33283 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
33284 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
33285 * sysdeps/i386/fpu/e_logf_data.c: New file.
33286 * sysdeps/ia64/fpu/e_logf_data.c: New file.
33287 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
33288
4088d8dd
L
332892017-09-28 H.J. Lu <hongjiu.lu@intel.com>
33290
33291 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
33292 undefined _DYNAMIC in PIE libc.a.
33293 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
33294 Likewse.
33295
4d3693ec
WD
332962017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
33297
33298 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
33299 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
33300 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
33301 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
33302 (__signbit): Remove.
33303 (__signbitl): Remove.
33304 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
33305 (__signbit): Remove.
33306 (__signbitl): Remove.
33307 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
33308 (__signbit): Remove.
33309 (__signbitl): Remove.
33310 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
33311 (__signbit): Remove.
33312 (__signbitl): Remove.
33313 * sysdeps/tile/bits/mathinline.h: Delete file.
33314 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
33315 (__signbit): Remove.
33316 (__signbitl): Remove.
33317
1e6d0723
WD
333182017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
33319
33320 * math/math.h: Improve handling of C99 isgreater macros.
33321 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
33322 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
33323 * sysdeps/powerpc/bits/mathinline.h: Likewise.
33324 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
33325 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
33326
b2f03cf3
SN
333272017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
33328
33329 * sysdeps/aarch64/libm-test-ulps: Update.
33330
f124cb38
JM
333312017-09-28 Joseph Myers <joseph@codesourcery.com>
33332
33333 [BZ #22225]
33334 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33335 math_opt_barrier on argument when doing arithmetic on it.
33336 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33337 Likewise. Use math_force_eval not math_opt_barrier after
33338 arithmetic.
33339 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
33340 math_opt_barrier on argument when doing arithmetic on it.
33341 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33342 Likewise.
33343
7edd0691
L
333442017-09-27 H.J. Lu <hongjiu.lu@intel.com>
33345
33346 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
33347 libc_hidden_def.
33348 (__freeifaddrs): Likewise.
33349
2c7bbfaf
ST
333502017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
33351
33352 * include/dirent.h (__dirfd): New declaration.
33353 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
33354 alias.
33355 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
33356 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
33357 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
52a1f181
ST
33358 * include/unistd.h (__revoke): New declaration.
33359 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
33360 alias.
33361 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
33362 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
33363 revoke.
64a4af28
ST
33364 * include/dirent.h (__seekdir): New declaration.
33365 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
33366 redefine as weak alias.
33367 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
33368 of seekdir.
4009ddc6
ST
33369 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
33370 and use libc_hidden_def on them.
33371 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
33372 them.
33373 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
33374 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
33375 instead of getifaddrs and freeifaddrs.
2c7bbfaf 33376
825adeee
L
333772017-09-26 H.J. Lu <hongjiu.lu@intel.com>
33378
33379 [BZ #18822]
33380 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
33381 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
33382 (__dso_handle): Remove declaration.
33383 * dlfcn/tstatexit.c (__dso_handle): Removed.
33384 (main): Don't check __dso_handle.
33385 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
33386 (main): Don't check __dso_handle.
33387 * include/dso_handle.h: New file.
33388 * malloc/mtrace.c: Include <dso_handle.h>.
33389 (mtrace): Pass __dso_handle directly.
33390 * nptl/pthread_atfork.c: Include <dso_handle.h>.
33391 (__dso_handle): Remove declaration.
33392 (__pthread_atfork): Pass __dso_handle directly.
33393 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
33394 (__dso_handle): Removed.
33395 * posix/wordexp-test.c: Include <dso_handle.h>.
33396 (__dso_handle): Remove declaration.
33397 (__app_register_atfork): Pass __dso_handle directly.
33398 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
33399 (__dso_handle): Remove declaration.
33400 (at_quick_exit): Pass __dso_handle directly.
33401 * stdlib/atexit.c: Include <dso_handle.h>.
33402 (__dso_handle): Remove declaration.
33403 (atexit): Pass __dso_handle directly.
33404 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
33405 (__dso_handle): Removed.
33406
bfb0deb3
JM
334072017-09-26 Joseph Myers <joseph@codesourcery.com>
33408
33409 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
33410 using VDSO.
33411
cebcb9f8
AM
334122017-09-26 Alexey Makhalov <amakhalov@vmware.com>
33413
33414 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
33415 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
33416 values to correct default value for given type.
33417
592d5c75
L
334182017-09-26 H.J. Lu <hongjiu.lu@intel.com>
33419
33420 [BZ #22101]
33421 * elf/Makefile (tests): Add tst-debug1.
33422 ($(objpfx)tst-debug1): New.
33423 ($(objpfx)tst-debug1.out): Likewise.
33424 ($(objpfx)tst-debug1mod1.so): Likewise.
33425 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
33426 with p_filesz == 0.
33427 * elf/tst-debug1.c: New file.
33428
2d9193f2
JM
334292017-09-26 Joseph Myers <joseph@codesourcery.com>
33430
33431 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
33432 Define using __ifunc.
33433
4c5a7a02
TMQMF
334342017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33435
33436 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
33437 exp2f() values.
33438
12ef66c4
JM
334392017-09-26 Joseph Myers <joseph@codesourcery.com>
33440
33441 [BZ #22156]
33442 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
33443
44dade71
FW
334442017-09-26 Florian Weimer <fweimer@redhat.com>
33445
33446 * resolv/Makefile (tests-internal): Fix typo in comment.
33447
eaca16f1
FW
334482017-09-26 Florian Weimer <fweimer@redhat.com>
33449
33450 * resolv/nss_dns/dns-host.c: Fix typo in comment.
33451
ccf970c7
AZ
334522017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33453
5f9f31ad
AZ
33454 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
33455 Use an union instead of a max_align_t array for __space,
33456 so that __space is the same size on all platforms.
33457 * malloc/scratch_buffer_grow_preserve.c
33458 (__libc_scratch_buffer_grow_preserve): Likewise.
33459
ccf970c7
AZ
33460 [BZ #22183]
33461 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
33462 version to 2.
33463 * posix/Makefile (routines): Add glob-lstat-compat and
33464 glob64-lstat-compat.
33465 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
33466 * posix/glob-lstat-compat.c: New file.
33467 * posix/glob64-lstat-compat.c: Likewise.
33468 * posix/tst-glob_lstat_compat.c: Likewise.
33469 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
33470 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
33471 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
33472 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
33473 Likewise.
33474 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
33475 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
33476 * posix/glob.c (glob_lstat): New function.
33477 (glob): Rename to __glob and add versioned symbol to 2.27.
33478 (glob_in_dir): Use glob_lstat.
33479 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
33480 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
33481 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
33482 2.27.
33483 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
33484 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
33485 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
33486 gl_lstat on glob call.
33487 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
33488 and glob64 symbols.
33489 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
33490 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
33491 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
33492 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
33493 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
33494 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
33495 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
33496 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
33497 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
33498 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
33499 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
33500 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
33501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
33502 Likewise.
33503 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
33504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
33505 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
33506 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
33507 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
33508 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
33509 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
33510 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
33511 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
33512 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
33513 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
33514 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
33515
b4396163
L
335162017-09-25 H.J. Lu <hongjiu.lu@intel.com>
33517
33518 * configure.ac (AS): Require binutils 2.25 or later.
33519 * configure: Regenerated.
33520
8f834987
PP
335212017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
33522
33523 [BZ #22207]
33524 * stdlib/test-atexit-race-common.c (do_test): Minimize required
33525 VM size.
33526
3de93d19
DD
335272017-09-25 DJ Delorie <dj@redhat.com>
33528
33529 [BZ #22161]
33530 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
33531 resetting timeout.
33532
9947638d
SL
335332017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
33534
33535 * sysdeps/ieee754/dbl-64/sincos32.h
33536 [SINCCOS32_H]: Remove define.
33537 [SINCOS32_H]: Define.
33538
f5f0f526
SN
335392017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
33540
33541 * math/Versions (expf): New libm symbol at GLIBC_2.27.
33542 (exp2f): Likewise.
33543 * math/w_exp2f.c: New file.
33544 * math/w_expf.c: New file.
33545 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
33546 * math/w_expf_compat.c (__expf_compat): Likewise.
33547 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
33548 * sysdeps/ia64/fpu/e_expf.S: Likewise.
33549 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
33550 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
33551 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
33552 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
33553 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
33554 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
33555 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
33556 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
33557 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
33558 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
33559 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
33560 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
33561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
33562 Likewise.
33563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
33564 Likewise.
33565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
33566 Likewise.
33567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
33568 Likewise.
33569 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
33570 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
33571 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
33572 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
33573 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
33574 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
33575 Likewise.
33576 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
33577 Likewise.
33578 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
33579 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
33580 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
33581
72aa6233
SN
335822017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
33583
33584 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
33585 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
33586 (roundtoint, converttoint): Likewise.
33587 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
33588 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
33589 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
33590 * sysdeps/ieee754/flt-32/math_config.h: New file.
33591 * sysdeps/ieee754/flt-32/math_errf.c: New file.
33592 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
33593 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
33594 * sysdeps/i386/fpu/math_errf.c: New file.
33595 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
33596 * sysdeps/ia64/fpu/math_errf.c: New file.
33597 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
33598 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
33599
5e6f3253
ST
336002017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
33601
33602 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
33603 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
33604 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
33605 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
33606 to make sure that these symbols are defined.
b38a42a0
ST
33607 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
33608 of <limits.h>
33609 (__need_NULL): Do not define.
33610 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
33611 alignment.
33612 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
33613 CMGROUP_MAX, cmsgcred): Do not define.
33614 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
33615 NULL.
33616 * bits/socket.h: Likewise.
fcafcd16
ST
33617 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
33618 __gettimeofday instead of gettimeofday.
33619 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
33620 instead of settimeofday.
5e6f3253 33621
2f49ce7d
JM
336222017-09-22 Joseph Myers <joseph@codesourcery.com>
33623
33624 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
33625 (asinhf): Define using libm_alias_float.
33626 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
33627 (atanf): Define using libm_alias_float.
33628 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
33629 (cbrtf): Define using libm_alias_float.
33630 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
33631 (ceilf): Define using libm_alias_float.
33632 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
33633 <libm-alias-float.h>.
33634 (copysignf): Define using libm_alias_float.
33635 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
33636 (cosf): Define using libm_alias_float.
33637 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
33638 (erff): Define using libm_alias_float.
33639 (erfcf): Likewise.
33640 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
33641 (expm1f): Define using libm_alias_float.
33642 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
33643 (fabsf): Define using libm_alias_float.
33644 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
33645 (floorf): Define using libm_alias_float.
33646 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
33647 (frexpf): Define using libm_alias_float.
33648 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
33649 libm_alias_float.
33650 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
33651 <libm-alias-float.h>.
33652 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
33653 libm_alias_float.
33654 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
33655 <libm-alias-float.h>.
33656 (getpayloadf): Define using libm_alias_float.
33657 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
33658 <libm-alias-float.h>.
33659 (llrintf): Define using libm_alias_float.
33660 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
33661 <libm-alias-float.h>.
33662 (llroundf): Define using libm_alias_float.
33663 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
33664 (logbf): Define using libm_alias_float.
33665 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
33666 (lrintf): Define using libm_alias_float.
33667 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
33668 (lroundf): Define using libm_alias_float.
33669 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
33670 (modff): Define using libm_alias_float.
33671 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
33672 <libm-alias-float.h>.
33673 (nearbyintf): Define using libm_alias_float.
33674 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
33675 <libm-alias-float.h>.
33676 (nextafterf): Define using libm_alias_float.
33677 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
33678 <libm-alias-float.h>.
33679 (nextupf): Define using libm_alias_float.
33680 * sysdeps/ieee754/flt-32/s_remquof.c: Include
33681 <libm-alias-float.h>.
33682 (remquof): Define using libm_alias_float.
33683 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
33684 (rintf): Define using libm_alias_float.
33685 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
33686 <libm-alias-float.h>.
33687 (roundevenf): Define using libm_alias_float.
33688 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
33689 (roundf): Define using libm_alias_float.
33690 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
33691 using libm_alias_float.
33692 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
33693 <libm-alias-float.h>.
33694 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
33695 Define using libm_alias_float.
33696 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
33697 <libm-alias-float.h>.
33698 (sincosf): Define using libm_alias_float.
33699 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
33700 (sinf): Define using libm_alias_float.
33701 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
33702 (tanf): Define using libm_alias_float.
33703 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
33704 (tanhf): Define using libm_alias_float.
33705 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
33706 <libm-alias-float.h>.
33707 (totalorderf): Define using libm_alias_float.
33708 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
33709 <libm-alias-float.h>.
33710 (totalordermagf): Define using libm_alias_float.
33711 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
33712 (truncf): Define using libm_alias_float.
33713 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
33714 libm_alias_float.
33715 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
33716 libm_alias_float.
33717
c5c4a626
GG
337182017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33719
33720 [BZ #22146]
33721 math/math.h: Let fpclassify use the builtin in C++ mode, even
33722 when optimazing for size.
33723
23947846
JM
337242017-09-22 Joseph Myers <joseph@codesourcery.com>
33725
33726 * csu/Makefile (generated): Do not add version-info.h.
33727 (before-compile): Likewise.
33728 (all-Banner-files): Remove variable.
33729 ($(objpfx)version-info.h): Remove rule.
33730 * csu/version.c (banner): Do not include "version-info.h".
33731 * libidn/Banner: Remove.
33732 * manual/contrib.texi (Simon Josefsson): New entry.
33733
9ac3c682
GG
337342017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33735
33736 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
33737 Remove conditionals on LDBL_MANT_DIG.
33738 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
33739 (__ieee754_lgammal_r): Likewise.
33740
d2f0ed09
GG
337412017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33742
33743 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
33744 _Float128 and L().
33745 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
33746 _Float128 and L(). Replace _Float128 with long double and L(x)
33747 with xL, throughout the file.
33748 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
33749 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
33750 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
33751 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
33752
c5c2e667
GG
337532017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33754
33755 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
33756 sysdeps/ieee754/ldbl-128ibm.
33757 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
33758 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
33759 of including it. Keep _Float128 and L() intact. These will be
33760 reviewed by a separate patch.
33761 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
33762 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
33763 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
33764 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
33765
e010deb2
GG
337662017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33767
33768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
33769 (__finitef128): Define to __redirect___finitef128.
33770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
33771 (__isinff128): Define to __redirect___isinff128.
33772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
33773 (__isnanf128): Define to __redirect___isnanf128.
33774
ffa44804
GG
337752017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33776
33777 * sysdeps/powerpc/powerpc64le/Makefile
33778 (CFLAGS-tst-strtod-nan-locale.c): New variable.
33779 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
33780
e5e4d7cc
PP
337812017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
33782 Carlos O'Donell <carlos@redhat.com>
33783
33784 [BZ #22180]
33785 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
33786 * stdlib/test-dlclose-exit-race.c: New file.
33787 * stdlib/test-dlclose-exit-race-helper.c: New file.
33788 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
33789
c10c5267
JM
337902017-09-21 Joseph Myers <joseph@codesourcery.com>
33791
33792 * crypt/Banner: Remove file.
33793 * nptl/Banner: Likewise.
33794 * resolv/Banner: Likewise.
33795 * soft-fp/Banner: Likewise.
33796 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
33797 ($(objpfx)version.d): Remove dependency on banner.h.
33798 ($(objpfx)version.os): Likewise.
33799 * nptl/version.c (banner): Do not include banner.h.
33800 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
33801 Jelinek and BIND code.
33802
1cc9e59a
PP
338032017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
33804 Carlos O'Donell <carlos@redhat.com>
33805
33806 * support/xdlfcn.h: New file.
33807 * support/xdlfcn.c: New file.
33808 * support/Makefile (libsupport-routines): Add xdlfcn.
33809 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
33810
ae8372d7
JM
338112017-09-20 Joseph Myers <joseph@codesourcery.com>
33812
33813 [BZ #20142]
33814 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33815 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
33816 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
33817 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
33818 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
33819 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
33820 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
33821 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
33822
26e70aec 338232017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
b39d961c
TS
33824 Ricky Zhou <rickyz@google.com>
33825 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26e70aec
PP
33826
33827 [BZ #14333]
33828 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
33829 Remove atomics.
33830 (__new_exitfn): Fail registration when we finished at_exit processing.
33831 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
33832 * stdlib/on_exit.c (__on_exit): Likewise.
33833 * stdlib/exit.c (__exit_funcs_done): New variable.
33834 (__run_exit_handlers): Use __exit_funcs_lock.
33835 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
33836 declarations.
33837 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
33838 (test-cxa_atexit-race, test-on_exit-race): New tests.
33839 * stdlib/test-atexit-race-common.c: New file.
33840 * stdlib/test-atexit-race.c: New file.
33841 * stdlib/test-at_quick_exit-race.c: New file.
33842 * stdlib/test-cxa_atexit-race.c: New file.
33843 * stdlib/test-on_exit-race.c: New file.
33844
0525ce48
SN
338452017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
33846
33847 * benchtests/Makefile: Add exp2f and log2f benchmarks.
33848 * benchtests/exp2f-inputs: Copy of expf-inputs.
33849 * benchtests/log2f-inputs: Copy of logf-inputs.
33850
d82468d1
JM
338512017-09-19 Joseph Myers <joseph@codesourcery.com>
33852
33853 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
33854 Explicitly take address of first element of array arguments in
33855 call to INLINE_SYSCALL.
33856
43ffc53a
AS
338572017-09-19 Andreas Schwab <schwab@suse.de>
33858
33859 [BZ #22134]
33860 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
33861 execveat first.
33862 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
33863 unimplemented.
33864 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
33865 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
33866 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33867 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
33868 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33869 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
33870 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33871 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
33872 * posix/Makefile (tests): Add tst-fexecve.
33873 * posix/tst-fexecve.c: New file.
33874
a5dcc87e
WD
338752017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33876
33877 * benchtests/Makefile: Add logf benchmark.
33878 * benchtests/logf-inputs: Add reduced trace from wrf_r.
33879
7024d544
WD
338802017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33881
33882 * benchtests/Makefile: Add expf benchmark.
33883 * benchtests/expf-inputs: Add reduced trace from wrf_r.
33884
ca3a382e
WD
338852017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33886
33887 * csu/Makefile: Add -funwind-tables to libc-start.c.
33888 * debug/Makefile: Add -funwind-tables to backtrace.c.
33889 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
33890 * sysdeps/arm/Makefile: Likewise.
33891 * sysdeps/i386/Makefile: Likewise.
33892 * sysdeps/m68k/Makefile: Likewise.
33893 * sysdeps/mips/Makefile: Likewise.
33894 * sysdeps/nios2/Makefile: Likewise.
33895 * sysdeps/sh/Makefile: Likewise.
33896 * sysdeps/sparc/Makefile: Likewise.
33897
eb375def
JM
338982017-09-19 Joseph Myers <joseph@codesourcery.com>
33899
33900 * benchtests/Makefile (bench-math): Add trunc and truncf.
33901 (CFLAGS-bench-trunc.c): New variable.
33902 (CFLAGS-bench-truncf.c): Likewise.
33903 * benchtests/trunc-inputs: New file.
33904 * benchtests/truncf-inputs: Likewise.
33905
bd17ba29
RS
339062017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33907
33908 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
33909
92892fdb
JM
339102017-09-18 Joseph Myers <joseph@codesourcery.com>
33911
6d9b0b5a
JM
33912 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
33913 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
33914 redefine.
33915 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
33916 (exp10l): Define as weak alias.
33917 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
33918 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
33919 and redefine.
33920 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
33921 (remainderl): Define as weak alias.
33922
92892fdb
JM
33923 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
33924 (fmal): Define using libm_alias_ldouble.
33925 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
33926 (acoshl): Define using libm_alias_ldouble.
33927 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
33928 (acosl): Define using libm_alias_ldouble.
33929 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
33930 (asinl): Define using libm_alias_ldouble.
33931 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
33932 (atan2l): Define using libm_alias_ldouble.
33933 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
33934 (atanhl): Define using libm_alias_ldouble.
33935 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
33936 (coshl): Define using libm_alias_ldouble.
33937 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
33938 (exp10l): Define using libm_alias_ldouble.
33939 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
33940 (exp2l): Define using libm_alias_ldouble.
33941 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
33942 (expl): Define using libm_alias_ldouble.
33943 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
33944 (fmodl): Define using libm_alias_ldouble.
33945 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
33946 (hypotl): Define using libm_alias_ldouble.
33947 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
33948 (j0l): Define using libm_alias_ldouble.
33949 (y0l): Likewise.
33950 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
33951 (j1l): Define using libm_alias_ldouble.
33952 (y1l): Likewise.
33953 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
33954 (jnl): Define using libm_alias_ldouble.
33955 (ynl): Likewise.
33956 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
33957 (log10l): Define using libm_alias_ldouble.
33958 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
33959 (log2l): Define using libm_alias_ldouble.
33960 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
33961 (logl): Define using libm_alias_ldouble.
33962 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
33963 (powl): Define using libm_alias_ldouble.
33964 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
33965 (remainderl): Define using libm_alias_ldouble.
33966 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
33967 (sinhl): Define using libm_alias_ldouble.
33968 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
33969 (sqrtl): Define using libm_alias_ldouble.
33970 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
33971 (tgammal): Define using libm_alias_ldouble.
33972 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
33973 (exp10l): Do not use long_double_symbol here.
33974 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
33975 [LIBM_SVID_COMPAT] (remainderl): Likewise.
33976 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
33977 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
33978 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
33979 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
33980 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
33981 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
33982 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
33983 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
33984 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
33985 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
33986 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
33987 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
33988 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
33989 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
33990 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
33991 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
33992 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
33993 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
33994 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
33995 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
33996
6cd380dd
WB
339972017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
33998
33999 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
34000 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
34001
1c6d89e9
ST
340022017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
34003
34004 * io/read.c (read): Add libc_hidden_weak.
34005 * sysdeps/mach/hurd/read.c (read): Likewise.
34006 * io/write.c (write): Likewise.
34007 * sysdeps/mach/hurd/write.c (write): Likewise.
34008 * io/pread64.c (__pread64): Likewise.
34009 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
34010 * posix/pread64.c (__pread64): Add libc_hidden_def.
34011
06b1de23
SP
340122017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
34013
140647ea
SP
34014 * benchtests/scripts/compare_strings.py: New option -g.
34015 (draw_graph): Print a message that a graph is being generated.
34016 (process_results): Generate graph only if -g is passed.
34017 (main): Process option -g.
34018
5a6547b7
SP
34019 * benchtests/scripts/compare_strings.py (process_results):
34020 Better spacing for output.
34021
06b1de23
SP
34022 * benchtests/scripts/compare_strings.py: Use argparse.
34023 * benchtests/README: Document existence of compare_strings.py.
34024
c67a2328
JM
340252017-09-15 Joseph Myers <joseph@codesourcery.com>
34026
9ac44708
JM
34027 * math/s_fma.c: Include <libm-alias-double.h>.
34028 (fma): Define using libm_alias_double.
34029 * math/s_nextafter.c: Include <libm-alias-double.h>.
34030 (nextafter): Define using libm_alias_double.
34031 * math/w_acos_compat.c: Include <libm-alias-double.h>.
34032 (acos): Define using libm_alias_double.
34033 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
34034 (aocsh): Define using libm_alias_double.
34035 * math/w_asin_compat.c: Include <libm-alias-double.h>.
34036 (asin): Define using libm_alias_double.
34037 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
34038 (atan2): Define using libm_alias_double.
34039 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
34040 (atanh): Define using libm_alias_double.
34041 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
34042 (cosh): Define using libm_alias_double.
34043 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
34044 (exp10): Define using libm_alias_double.
34045 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
34046 (exp2): Define using libm_alias_double.
34047 * math/w_exp_compat.c: Include <libm-alias-double.h>.
34048 (exp): Define using libm_alias_double.
34049 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
34050 (fmod): Define using libm_alias_double.
34051 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
34052 (hypot): Define using libm_alias_double.
34053 * math/w_j0_compat.c: Include <libm-alias-double.h>.
34054 (j0): Define using libm_alias_double.
34055 (y0): Likewise.
34056 * math/w_j1_compat.c: Include <libm-alias-double.h>.
34057 (j1): Define using libm_alias_double.
34058 (y1): Likewise.
34059 * math/w_jn_compat.c: Include <libm-alias-double.h>.
34060 (jn): Define using libm_alias_double.
34061 (yn): Likewise.
34062 * math/w_log10_compat.c: Include <libm-alias-double.h>.
34063 (log10): Define using libm_alias_double.
34064 * math/w_log2_compat.c: Include <libm-alias-double.h>.
34065 (log2): Define using libm_alias_double.
34066 * math/w_log_compat.c: Include <libm-alias-double.h>.
34067 (log): Define using libm_alias_double.
34068 * math/w_pow_compat.c: Include <libm-alias-double.h>.
34069 (pow): Define using libm_alias_double.
34070 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
34071 (remainder): Define using libm_alias_double.
34072 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
34073 (sinh): Define using libm_alias_double.
34074 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
34075 (sqrt): Define using libm_alias_double.
34076 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
34077 (tgamma): Define using libm_alias_double.
34078 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
34079 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
34080 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
34081 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
34082 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
34083 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
34084 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
34085 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
34086 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
34087 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
34088 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
34089 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
34090 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
34091 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
34092 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
34093 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
34094 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
34095 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
34096 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
34097 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
34098 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
34099 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
34100 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
34101 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
34102 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
34103
c67a2328
JM
34104 * math/e_acoshl.c: Remove.
34105 * math/e_acosl.c: Likewise.
34106 * math/e_asinl.c: Likewise.
34107 * math/e_atan2l.c: Likewise.
34108 * math/e_atanhl.c: Likewise.
34109 * math/e_coshl.c: Likewise.
34110 * math/e_expl.c: Likewise.
34111 * math/e_fmodl.c: Likewise.
34112 * math/e_gammal_r.c: Likewise.
34113 * math/e_hypotl.c: Likewise.
34114 * math/e_j0l.c: Likewise.
34115 * math/e_j1l.c: Likewise.
34116 * math/e_jnl.c: Likewise.
34117 * math/e_lgammal_r.c: Likewise.
34118 * math/e_log10l.c: Likewise.
34119 * math/e_log2l.c: Likewise.
34120 * math/e_logl.c: Likewise.
34121 * math/e_powl.c: Likewise.
34122 * math/e_rem_pio2l.c: Likewise.
34123 * math/e_sinhl.c: Likewise.
34124 * math/e_sqrtf128.c: Likewise.
34125 * math/e_sqrtl.c: Likewise.
34126 * math/k_cosl.c: Likewise.
34127 * math/k_sinl.c: Likewise.
34128 * math/k_tanl.c: Likewise.
34129 * math/s_asinhl.c: Likewise.
34130 * math/s_atanl.c: Likewise.
34131 * math/s_cbrtl.c: Likewise.
34132 * math/s_erfl.c: Likewise.
34133 * math/s_expm1l.c: Likewise.
34134 * math/s_log1pl.c: Likewise.
34135 * math/s_tanhl.c: Likewise.
34136
61c45f25
TMQMF
341372017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34138
34139 [BZ #21745]
34140 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
34141 [$(subdir) = math] (sysdep_calls): New variable. Has the
34142 previous contents of sysdep_routines, but re-sorted..
34143 [$(subdir) = math] (sysdep_routines): Re-use the contents from
34144 sysdep_calls.
34145 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
34146 defined in sysdep_calls and replace by the respective m_* names.
34147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
34148 (compat_symbol): Undefine to avoid duplicated compat symbols in
34149 libc.
34150
5bcdb315
JM
341512017-09-15 Joseph Myers <joseph@codesourcery.com>
34152
34153 * math/s_fmaf.c: Include <libm-alias-float.h>.
34154 (fmaf): Define using libm_alias_float.
34155 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
34156 (acosf): Define using libm_alias_float.
34157 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
34158 (acoshf): Define using libm_alias_float.
34159 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
34160 (asinf): Define using libm_alias_float.
34161 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
34162 (atan2f): Define using libm_alias_float.
34163 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
34164 (atanhf): Define using libm_alias_float.
34165 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
34166 (coshf): Define using libm_alias_float.
34167 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
34168 (exp10f): Define using libm_alias_float.
34169 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
34170 (fmodf): Define using libm_alias_float.
34171 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
34172 (hypotf): Define using libm_alias_float.
34173 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
34174 (j0f): Define using libm_alias_float.
34175 (y0f): Likewise.
34176 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
34177 (j1f): Define using libm_alias_float.
34178 (y1f): Likewise.
34179 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
34180 (jnf): Define using libm_alias_float.
34181 (ynf): Likewise.
34182 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
34183 (log10f): Define using libm_alias_float.
34184 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
34185 (log2f): Define using libm_alias_float.
34186 * math/w_logf_compat.c: Include <libm-alias-float.h>.
34187 (logf): Define using libm_alias_float.
34188 * math/w_powf_compat.c: Include <libm-alias-float.h>.
34189 (powf): Define using libm_alias_float.
34190 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
34191 (remainderf): Define using libm_alias_float.
34192 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
34193 (sinhf): Define using libm_alias_float.
34194 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
34195 (sqrtf): Define using libm_alias_float.
34196 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
34197 (tgammaf): Define using libm_alias_float.
34198
01f28812
JM
341992017-09-14 Joseph Myers <joseph@codesourcery.com>
34200
34201 * include/math.h (roundeven): Change hidden_proto call to
34202 __roundeven.
34203 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
34204 alias.
34205 [NO_LONG_DOUBLE] (__j0l): New strong alias.
34206 (y0): Rename to __y0 and define as weak alias.
34207 [NO_LONG_DOUBLE] (__y0l): New strong alias.
34208 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
34209 alias.
34210 (y0f): Rename to __y0f and define as weak alias.
34211 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
34212 alias.
34213 [NO_LONG_DOUBLE] (__j1l): New strong alias.
34214 (y1): Rename to __y1 and define as weak alias.
34215 [NO_LONG_DOUBLE] (__y1l): New strong alias.
34216 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
34217 alias.
34218 (y1f): Rename to __y1f and define as weak alias.
34219 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
34220 alias.
34221 [NO_LONG_DOUBLE] (__jnl): New strong alias.
34222 (yn): Rename to __yn and define as weak alias.
34223 [NO_LONG_DOUBLE] (__ynl): New strong alias.
34224 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
34225 alias.
34226 (ynf): Rename to __ynf and define as weak alias.
34227 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
34228 (fromfp): Define as weak alias.
34229 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
34230 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
34231 (fromfpx): Define as weak alias.
34232 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
34233 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
34234 __getpayload and define as weak alias.
34235 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
34236 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
34237 __roundeven and define as weak alias.
34238 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
34239 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
34240 __setpayload.
34241 (setpayload): Define as weak alias.
34242 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
34243 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
34244 __setpayloadsig.
34245 (setpayloadsig): Define as weak alias.
34246 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
34247 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
34248 __totalorder and define as weak alias.
34249 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
34250 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
34251 to __totalordermag and define as weak alias.
34252 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
34253 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
34254 (ufromfp): Define as weak alias.
34255 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
34256 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
34257 __ufromfpx.
34258 (ufromfpx): Define as weak alias.
34259 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
34260 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
34261 Rename to __getpayload and define as weak alias.
34262 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
34263 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
34264 Rename to __roundeven and define as weak alias.
34265 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
34266 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
34267 Rename to __totalorder and define as weak alias.
34268 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
34269 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
34270 (totalordermag): Rename to __totalordermag and define as weak
34271 alias.
34272 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
34273 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
34274 macro.
34275 (__roundevenl): Likewise.
34276 (__totalorderl): Likewise.
34277 (__totalordermagl): Likewise
34278 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
34279 __fromfpf128.
34280 (fromfpf128): Define as weak alias.
34281 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
34282 __fromfpxf128.
34283 (fromfpxf128): Define as weak alias.
34284 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
34285 __setpayloadf128.
34286 (setpayloadf128): Define as weak alias.
34287 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
34288 __setpayloadsigf128.
34289 (setpayloadsigf128): Define as weak alias.
34290 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
34291 __ufromfpf128.
34292 (ufromfpf128): Define as weak alias.
34293 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
34294 __ufromfpxf128.
34295 (ufromfpxf128): Define as weak alias.
34296 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
34297 (fromfpf): Define as weak alias.
34298 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
34299 __fromfpxf.
34300 (fromfpxf): Define as weak alias.
34301 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
34302 __getpayloadf and define as weak alias.
34303 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
34304 __roundevenf and define as weak alias.
34305 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
34306 __setpayloadf.
34307 (setpayloadf): Define as weak alias.
34308 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
34309 __setpayloadsigf.
34310 (setpayloadsigf): Define as weak alias.
34311 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
34312 __totalorderf and define as weak alias.
34313 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
34314 Rename to __totalordermagf and define as weak alias.
34315 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
34316 __ufromfpf.
34317 (ufromfpf): Define as weak alias.
34318 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
34319 __ufromfpxf.
34320 (ufromfpxf): Define as weak alias.
34321 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
34322 __fromfpl.
34323 (fromfpl): Define as weak alias.
34324 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
34325 __fromfpxl.
34326 (fromfpxl): Define as weak alias.
34327 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
34328 to __getpayloadl and define as weak alias.
34329 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
34330 __roundevenl and define as weak alias.
34331 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
34332 __setpayloadl.
34333 (setpayloadl): Define as weak alias.
34334 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
34335 __setpayloadsigl.
34336 (setpayloadsigl): Define as weak alias.
34337 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
34338 to __totalorderl and define as weak alias.
34339 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
34340 Rename to __totalordermagl and define as weak alias.
34341 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
34342 __ufromfpl.
34343 (ufromfpl): Define as weak alias.
34344 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
34345 __ufromfpxl.
34346 (ufromfpxl): Define as weak alias.
34347 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
34348 __fromfpl.
34349 (fromfpl): Define as weak alias.
34350 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
34351 __fromfpxl.
34352 (fromfpxl): Define as weak alias.
34353 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
34354 Rename to __getpayloadl and define as weak alias.
34355 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
34356 to __roundevenl and define as weak alias. Call __roundeven
34357 instead of roundeven.
34358 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
34359 __setpayloadl.
34360 (setpayloadl): Define as weak alias.
34361 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
34362 __setpayloadsigl.
34363 (setpayloadsigl): Define as weak alias.
34364 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
34365 Rename to __totalorderl and define as weak alias.
34366 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
34367 Rename to __totalordermagl and define as weak alias.
34368 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
34369 __ufromfpl.
34370 (ufromfpl): Define as weak alias.
34371 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
34372 __ufromfpxl.
34373 (ufromfpxl): Define as weak alias.
34374 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
34375 __fromfpl.
34376 (fromfpl): Define as weak alias.
34377 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
34378 __fromfpxl.
34379 (fromfpxl): Define as weak alias.
34380 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
34381 __getpayloadl and define as weak alias.
34382 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
34383 __roundevenl and define as weak alias.
34384 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
34385 __setpayloadl.
34386 (setpayloadl): Define as weak alias.
34387 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
34388 __setpayloadsigl.
34389 (setpayloadsigl): Define as weak alias.
34390 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
34391 __totalorderl and define as weak alias.
34392 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
34393 Rename to __totalordermagl and define as weak alias.
34394 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
34395 __ufromfpl.
34396 (ufromfpl): Define as weak alias.
34397 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
34398 __ufromfpxl.
34399 (ufromfpxl): Define as weak alias.
34400
29c933fb
SP
344012017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
34402
503c92c3
SP
34403 * benchtests/bench-string.h (realloc_bufs): New function.
34404 (test_init): Call it.
34405 * benchtests/bench-memset-large.c (do_test): Likewise.
34406 * benchtests/bench-memset.c (do_test): Likewise.
34407
29c933fb
SP
34408 * benchtests/bench-memset-large.c: Print output in JSON
34409 format.
34410 * benchtests/bench-memset.c: Likewise.
34411
799c8d69
MF
344122017-09-14 Mike FABIAN <mfabian@redhat.com>
34413
34414 [BZ #21084]
34415 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
34416 * iconvdata/Makefile: Add IBM858.
34417 * iconvdata/gconv-modules: Likewise.
34418 * iconvdata/tst-tables.sh: Likewise.
34419 * iconvdata/ibm858.c: New file.
34420 * localedata/charmaps/IBM858: Likewise.
34421
c207f7ce 344222017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
fcc82c06
AK
34423
34424 [BZ #22023]
34425 * locales/niu_NZ (LC_TIME): copy "niu_NU".
34426 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
34427
f28a0926
AK
344282017-09-14 Mike FABIAN <mfabian@redhat.com>
34429
34430 [BZ #22112]
34431 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
34432 and add tel_int_fmt.
34433
02093e62
JM
344342017-09-14 Joseph Myers <joseph@codesourcery.com>
34435
34436 * sysdeps/generic/libm-alias-float128.h: New file.
34437 * sysdeps/generic/math-type-macros-float128.h: Include
34438 <libm-alias-float128.h>.
34439 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
34440
1aae75ef
JM
344412017-09-13 Joseph Myers <joseph@codesourcery.com>
34442
34443 * sysdeps/generic/libm-alias-ldouble.h: New file.
34444 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
34445 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
34446 * sysdeps/generic/math-type-macros-ldouble.h: Include
34447 <libm-alias-ldouble.h>.
34448 [!declare_mgen_alias] (declare_mgen_alias): Define to use
34449 libm_alias_ldouble.
34450
bcea7ad6
SN
344512017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
34452
34453 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
34454 * math/w_exp_compat.c: ... here.
34455 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
34456 * math/w_expf_compat.c: ... here.
34457 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
34458 * math/w_expl_compat.c: ... here.
34459 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
34460 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
34461 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
34462 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
34463
0fc56478
JM
344642017-09-13 Joseph Myers <joseph@codesourcery.com>
34465
34466 * math/w_scalbln_template.c (strong_alias): Do not undefine and
34467 redefine.
34468 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
34469 macro.
34470 (ldexpl): Only define as compat symbol for libc, not libm.
34471 (scalbnl): Define as compat symbol for libc here.
34472 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
34473 define for [IS_IN (libc)].
34474 (__ldexpl_2): Remove alias.
34475 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
34476 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
34477 name in long_double_symbol call.
34478 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
34479 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
34480 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
34481 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
34482 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
34483 Remove macro.
34484 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
34485 Define as compat symbol.
34486
3ca622e4
AZ
344872017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34488
34489 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
34490 * sysdeps/unix/sysv/linux/alpha/Makefile
34491 [$(subdir) = csu] (sysdep_routines): Remove rule.
34492
620ff9ee
JM
344932017-09-13 Joseph Myers <joseph@codesourcery.com>
34494
34495 * sysdeps/generic/libm-alias-double.h: New file.
34496 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
34497 * sysdeps/generic/math-type-macros-double.h: Include
34498 <libm-alias-double.h>.
34499 [declare_mgen_alias] (declare_mgen_alias): Define to use
34500 libm_alias_double.
34501 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
34502 (M_LIBM_NEED_COMPAT): Remove macro.
34503 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
34504 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
34505 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
34506 code.
34507 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34508 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34509 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34510 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34511 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34512 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34513 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34514 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34515 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34516 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34517 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34518 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34519 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34520 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34521 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34522 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34523 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34524 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34525 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34526 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34527 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34528 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34529 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34530 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34531 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34532 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34533 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34534 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
34535 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
34536 macro.
34537 (declare_mgen_alias): New macro.
34538 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
34539 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
34540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
34541 (M_LIBM_NEED_COMPAT): Remove macro.
34542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
34543 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
34544 <first-versions.h>.
34545 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
34546 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
34547
a891caff
JM
345482017-09-12 Joseph Myers <joseph@codesourcery.com>
34549
34550 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
34551 (declare_mgen_alias_2): Remove.
34552 * sysdeps/generic/math-type-macros-double.h
34553 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
34554 Likewise.
34555 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
34556 alias.
34557 (ldexp): Define with declare_mgen_alias.
34558 (scalbn): Likewise.
34559
a1a78204
SE
345602017-09-12 Steve Ellcey <sellcey@cavium.com>
34561
34562 * grp/initgroups.c: Include config.h.
34563 (DEFAULT_CONFIG): New macro.
34564 (internal_getgrouplist): Use DEFAULT_CONFIG.
34565 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34566 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
34567 (DEFAULT_DEFCONFIG): New macro.
34568 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
34569 * nss/grp-lookup.c: Include config.h
34570 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
34571 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
34572 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
34573 * manual/nss.texi: Update default values section.
34574
ef8adeb0
L
345752017-09-12 H.J. Lu <hongjiu.lu@intel.com>
34576
34577 [BZ #21967]
34578 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
34579 New.
34580 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
34581 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
34582 Handle MathVec_Prefer_No_AVX512.
34583 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
34584 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
34585 is set.
34586
a166531f
ST
345872017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
34588
34589 * posix/sched_primax.c (__sched_get_priority_max): Add
34590 libc_hidden_def.
34591 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
34592 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
34593 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
34594 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
34595 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
34596 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
34597 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
34598 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
34599 Add aliases.
34600
4b7d1efb
JM
346012017-09-11 Joseph Myers <joseph@codesourcery.com>
34602
34603 * sysdeps/generic/libm-alias-float.h: New file.
34604 * sysdeps/generic/math-type-macros-float.h: Include
34605 <libm-alias-float.h>.
34606 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
34607
45ff3463
L
346082017-09-11 H.J. Lu <hongjiu.lu@intel.com>
34609
34610 [BZ #22093]
34611 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
34612 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
34613 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
34614 (HWCAP_IMPORTANT): Likewise.
34615 (HWCAP_X86_64): New enum.
34616 (HWCAP_X86_AVX512_1): Updated.
34617 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
34618 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
34619 (modules-names): Add x86_64/tst-x86_64mod-1.
34620 (LDFLAGS-tst-x86_64mod-1.so): New.
34621 ($(objpfx)tst-x86_64-1): Likewise.
34622 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
34623 (tst-x86_64-1-clean): Likewise.
34624 * sysdeps/x86_64/tst-x86_64-1.c: New file.
34625 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
34626
891abfd3
SP
346272017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
34628
34629 * po/sv.po: Update translations.
34630 * po/fr.po: Likewise.
34631
00c3da43
ST
346322017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34633
34634 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
34635 seconds.
3bdfd9fb
ST
34636 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
34637 seconds.
65b22ebc 34638 * elf/rtld-Rules: Fix $(error) use.
00c3da43 34639
96480903
MF
346402017-09-09 Mike FABIAN <mfabian@redhat.com>
34641
34642 [BZ #14925]
34643 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
34644 * locale/iso-639.def: Change “Bengali” to “Bangla”.
34645 * localedata/locales/bn_BD: “Bengali” was still used in some
34646 comments. Change it to “Bangla”.
34647
4c03a696
MT
346482017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
34649
34650 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
34651
9c9ec581
SE
346522017-09-08 Steve Ellcey <sellcey@cavium.com>
34653
34654 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
34655 thunderx2t99p1 to list of cpu names.
34656 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
34657 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
34658
f00bce74
SE
346592017-09-08 Steve Ellcey <sellcey@cavium.com>
34660
34661 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
34662 Use strcmp instead of tunable_is_name.
34663
27342d17
JM
346642017-09-08 Joseph Myers <joseph@codesourcery.com>
34665
af1b7c8c
JM
34666 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34667 (F_GET_RW_HINT): New macro.
34668 [__USE_GNU] (F_SET_RW_HINT): Likewise.
34669 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
34670 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
34671 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
34672 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
34673 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
34674 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
34675 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
34676 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
34677
27342d17
JM
34678 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34679 (F_ADD_SEALS): New macro.
34680 [__USE_GNU] (F_GET_SEALS): Likewise.
34681 [__USE_GNU] (F_SEAL_SEAL): Likewise.
34682 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
34683 [__USE_GNU] (F_SEAL_GROW): Likewise.
34684 [__USE_GNU] (F_SEAL_WRITE): Likewise.
34685
c66c9082
AZ
346862017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34687
07b4f49d
AZ
34688 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
34689 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
34690 * posix/glob_internal.h (__glob_pattern_type):
34691 * posix/glob.c (glob):
34692 * posix/glob_pattern_p.c (__glob_pattern_p):
34693 Use them.
34694
116f1c64
AZ
34695 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
34696 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
34697 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
34698 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
34699 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
34700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
34701 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
34702 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
34703 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
34704 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34705 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
34706 * sysdeps/wordsize-64/glob.c: Likewise.
34707 * sysdeps/wordsize-64/glob64.c: Likewise.
34708 * sysdeps/wordsize-64/globfree.c: Likewise.
34709 * sysdeps/wordsize-64/globfree64.c: Likewise.
34710 * sysdeps/unix/sysv/linux/glob.c: New file.
34711 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
34712 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
34713 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
34714 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
34715 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
34716 adds !GLOB_NO_OLD_VERSION as an extra condition.
34717 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
34718 using relative path instead of absolute one.
34719 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
34720 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34721 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34722 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
34723 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
34724 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
34725
ffca8901
AZ
34726 [BZ #1062]
34727 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
34728 (glob): Use the same scratch buffer for both getlogin_r and
34729 getpwnam_r. Don’t require preallocation of the login name. This
34730 simplifies storage allocation, and corrects the handling of
34731 long login names.
34732
5a79f975
AZ
34733 [BZ #1062]
34734 * posix/glob.c (glob): Port recent patches to platforms
34735 lacking getpwnam_r.
34736 (glob): Fix longstanding misuse of errno after getpwnam_r, which
34737 returns an error number rather than setting errno.
34738
e00f2425
AZ
34739 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
34740 instead of GCC extension.
34741 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
34742 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
34743 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
34744
5554304f
AZ
34745 [BZ #866]
34746 [BZ #1062]
34747 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
34748 * posix/bug-glob1.c: Remove file.
34749 * posix/tst-glob_symlinks.c: New file.
34750 * posix/glob.c (__lstat64): New macro.
34751 (is_dir): New function.
34752 (glob, glob_in_dir): Match symlinks even if they are dangling.
34753 (link_stat, link_exists_p): Remove. All uses removed.
34754
686f2ea1
AZ
34755 [BZ #1062]
34756 [BZ #19971]
34757 * posix/glob.c (struct readdir_result): Remove skip_entry member.
34758 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
34759 All uses removed.
34760
c66c9082 34761 [BZ #1062]
914c9994 34762 CVE-2017-15671
c66c9082
AZ
34763 * posix/Makefile (routines): Add globfree, globfree64, and
34764 glob_pattern_p.
34765 * posix/flexmember.h: New file.
34766 * posix/glob_internal.h: Likewise.
34767 * posix/glob_pattern_p.c: Likewise.
34768 * posix/globfree.c: Likewise.
34769 * posix/globfree64.c: Likewise.
34770 * sysdeps/gnu/globfree64.c: Likewise.
34771 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
34772 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
34773 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
34774 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
34775 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
34776 * sysdeps/wordsize-64/globfree.c: Likewise.
34777 * sysdeps/wordsize-64/globfree64.c: Likewise.
34778 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
34779 [NDEBUG): Remove comments.
34780 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
34781 (dirent_type): New type. Use uint_fast8_t not
34782 uint8_t, as C99 does not require uint8_t.
34783 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
34784 (struct readdir_result): Use dirent_type. Do not define skip_entry
34785 unless it is needed; this saves a byte on platforms lacking d_ino.
34786 (readdir_result_type, readdir_result_skip_entry):
34787 New functions, replacing ...
34788 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
6b5c8607 34789 these functions, which were removed. This makes the callers
c66c9082
AZ
34790 easier to read. All callers changed.
34791 (D_INO_TO_RESULT): Now empty if there is no d_ino.
34792 (size_add_wrapv, glob_use_alloca): New static functions.
34793 (glob, glob_in_dir): Check for size_t overflow in several places,
34794 and fix some size_t checks that were not quite right.
34795 Remove old code using SHELL since Bash no longer
34796 uses this.
34797 (glob, prefix_array): Separate MS code better.
34798 (glob_in_dir): Remove old Amiga and VMS code.
34799 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
34800 separate files.
34801 (glob_in_dir): Do not rely on undefined behavior in accessing
34802 struct members beyond their bounds. Use a flexible array member
34803 instead
34804 (link_stat): Rename from link_exists2_p and return -1/0 instead of
34805 0/1. Caller changed.
34806 (glob): Fix memory leaks.
34807 * posix/glob64 (globfree64): Move to separate file.
34808 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
34809 (globfree64): Remove hidden alias.
34810 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
34811 oldglob.
34812 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
34813 separate file.
34814 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
34815 define.
34816 Move compat code to separate file.
34817 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
34818 separate file.
34819
78bfa877
L
348202017-09-07 H.J. Lu <hongjiu.lu@intel.com>
34821
34822 * resolv/tst-resolv-qtypes.c (domain): Changed to
34823 "const char domain[] =".
34824
05f0011f
JM
348252017-09-07 Joseph Myers <joseph@codesourcery.com>
34826
85bec0f2
JM
34827 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
34828 version to 3.1.6.
34829
5c23ee6e
JM
34830 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
34831 (TCP_MD5SIG_EXT): Likewise.
34832 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
34833 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
34834 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
34835
05f0011f
JM
34836 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
34837
7c9c5be9
MF
348382017-09-07 Mike FABIAN <mfabian@redhat.com>
34839
34840 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
34841
c207f7ce 348422017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
ae214523
AK
34843
34844 [BZ #22100]
34845 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
34846
507fe027
ST
348472017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
34848
34849 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
34850 before assuming that the file is empty. Avoid testing buffer content
34851 when nread == 0.
34852
65687ac7
AZ
348532017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34854
7bbbb4b9 34855 [BZ #18858]
65687ac7
AZ
34856 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
34857 Remove define.
34858 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
34859 Likewise.
34860 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
34861 Likewise.
34862 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
34863 Likewise.
34864 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
34865 Likewise.
34866 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
34867 Likewise.
34868 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
34869 Likewise.
34870
ab5ac271
FW
348712017-09-06 Florian Weimer <fweimer@redhat.com>
34872
34873 * malloc/dynarray_emplace_enlarge.c
34874 (__libc_dynarray_emplace_enlarge): Add missing else.
34875
a8304730
FW
348762017-09-06 Florian Weimer <fweimer@redhat.com>
34877
34878 [BZ #22096]
34879 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
34880 case of failure to obtain the global conf object.
34881
5670c4ab
FW
348822017-09-06 Florian Weimer <fweimer@redhat.com>
34883
34884 [BZ #22095]
34885 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
34886 dynarray allocation failure.
34887
c77eb969
FW
348882017-09-06 Florian Weimer <fweimer@redhat.com>
34889
34890 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
34891 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
34892 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
34893 New functions.
34894 (response): Call them. Add 'p', '6' flag processing.
34895 (test_reverse): New function.
34896 (test_get2_any): Call it.
34897 (test_no_inet6): Add 'p' test.
34898 (test_inet6): Likewise.
34899
5e9c4d17
FW
349002017-09-06 Florian Weimer <fweimer@redhat.com>
34901
34902 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
34903 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
34904 the QNAME.
34905 (test_gai): Adjust query names. Add additional tests.
34906 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
34907 test_get2. Adjust query names. Add additional tests.
34908 (test_no_inet6): New function, extracted from threadfunc.
34909 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
34910 Add additional tests.
34911
2ae5be04
MF
349122017-09-06 Mike FABIAN <mfabian@redhat.com>
34913
34914 [BZ #22070]
34915 * localedata/unicode-gen/utf8_gen.py: Set the width for
34916 characters with Prepended_Concatenation_Mark property to 1
34917 * localedata/charmaps/UTF-8: Updated using the improved script.
34918
af83ed5c
MF
349192017-09-06 Mike FABIAN <mfabian@redhat.com>
34920
34921 [BZ #21750]
34922 * localedata/unicode-gen/utf8_gen.py: Improve the script to
34923 use the range notation for all ranges of neighbouring characters
34924 with the same width.
34925
4f3647e4
JM
349262017-09-05 Joseph Myers <joseph@codesourcery.com>
34927
34928 * sysdeps/generic/math-type-macros-double.h: Include
34929 <math-svid-compat.h>.
34930 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34931 * sysdeps/generic/math-type-macros-float.h: Include
34932 <math-svid-compat.h>.
34933 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34934 * sysdeps/generic/math-type-macros-ldouble.h: Include
34935 <math-svid-compat.h>.
34936 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34937 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
34938 condition.
34939 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
34940 * math/w_acosf_compat.c: Likewise.
34941 * math/w_acosh_compat.c: Likewise.
34942 * math/w_acoshf_compat.c: Likewise.
34943 * math/w_acoshl_compat.c: Likewise.
34944 * math/w_acosl_compat.c: Likewise.
34945 * math/w_asin_compat.c: Likewise.
34946 * math/w_asinf_compat.c: Likewise.
34947 * math/w_asinl_compat.c: Likewise.
34948 * math/w_atan2_compat.c: Likewise.
34949 * math/w_atan2f_compat.c: Likewise.
34950 * math/w_atan2l_compat.c: Likewise.
34951 * math/w_atanh_compat.c: Likewise.
34952 * math/w_atanhf_compat.c: Likewise.
34953 * math/w_atanhl_compat.c: Likewise.
34954 * math/w_cosh_compat.c: Likewise.
34955 * math/w_coshf_compat.c: Likewise.
34956 * math/w_coshl_compat.c: Likewise.
34957 * math/w_exp10_compat.c: Likewise.
34958 * math/w_exp10f_compat.c: Likewise.
34959 * math/w_exp10l_compat.c: Likewise.
34960 * math/w_exp2_compat.c: Likewise.
34961 * math/w_exp2f_compat.c: Likewise.
34962 * math/w_exp2l_compat.c: Likewise.
34963 * math/w_fmod_compat.c: Likewise.
34964 * math/w_fmodf_compat.c: Likewise.
34965 * math/w_fmodl_compat.c: Likewise.
34966 * math/w_hypot_compat.c: Likewise.
34967 * math/w_hypotf_compat.c: Likewise.
34968 * math/w_hypotl_compat.c: Likewise.
34969 * math/w_j0_compat.c: Likewise.
34970 * math/w_j0f_compat.c: Likewise.
34971 * math/w_j0l_compat.c: Likewise.
34972 * math/w_j1_compat.c: Likewise.
34973 * math/w_j1f_compat.c: Likewise.
34974 * math/w_j1l_compat.c: Likewise.
34975 * math/w_jn_compat.c: Likewise.
34976 * math/w_jnf_compat.c: Likewise.
34977 * math/w_jnl_compat.c: Likewise.
34978 * math/w_lgamma_r_compat.c: Likewise.
34979 * math/w_lgammaf_r_compat.c: Likewise.
34980 * math/w_lgammal_r_compat.c: Likewise.
34981 * math/w_log10_compat.c: Likewise.
34982 * math/w_log10f_compat.c: Likewise.
34983 * math/w_log10l_compat.c: Likewise.
34984 * math/w_log2_compat.c: Likewise.
34985 * math/w_log2f_compat.c: Likewise.
34986 * math/w_log2l_compat.c: Likewise.
34987 * math/w_log_compat.c: Likewise.
34988 * math/w_logf_compat.c: Likewise.
34989 * math/w_logl_compat.c: Likewise.
34990 * math/w_pow_compat.c: Likewise.
34991 * math/w_powf_compat.c: Likewise.
34992 * math/w_powl_compat.c: Likewise.
34993 * math/w_remainder_compat.c: Likewise.
34994 * math/w_remainderf_compat.c: Likewise.
34995 * math/w_remainderl_compat.c: Likewise.
34996 * math/w_sinh_compat.c: Likewise.
34997 * math/w_sinhf_compat.c: Likewise.
34998 * math/w_sinhl_compat.c: Likewise.
34999 * math/w_sqrt_compat.c: Likewise.
35000 * math/w_sqrtf_compat.c: Likewise.
35001 * math/w_sqrtl_compat.c: Likewise.
35002 * math/w_tgamma_compat.c: Likewise.
35003 * math/w_tgammaf_compat.c: Likewise.
35004 * math/w_tgammal_compat.c: Likewise.
35005 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
35006 [LIBM_SVID_COMPAT].
35007 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
35008 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
35009 [LIBM_SVID_COMPAT].
35010 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
35011 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
35012 [LIBM_SVID_COMPAT].
35013 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
35014 * sysdeps/i386/fpu/w_sqrt.c: New file.
35015 * sysdeps/ia64/fpu/w_acos.c: Likewise.
35016 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
35017 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
35018 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
35019 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
35020 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
35021 * sysdeps/ia64/fpu/w_asin.c: Likewise.
35022 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
35023 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
35024 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
35025 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
35026 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
35027 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
35028 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
35029 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
35030 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
35031 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
35032 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
35033 * sysdeps/ia64/fpu/w_exp.c: Likewise.
35034 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
35035 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
35036 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
35037 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
35038 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
35039 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
35040 * sysdeps/ia64/fpu/w_expf.c: Likewise.
35041 * sysdeps/ia64/fpu/w_expl.c: Likewise.
35042 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
35043 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
35044 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
35045 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
35046 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
35047 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
35048 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
35049 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
35050 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
35051 * sysdeps/ia64/fpu/w_log.c: Likewise.
35052 * sysdeps/ia64/fpu/w_log10.c: Likewise.
35053 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
35054 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
35055 * sysdeps/ia64/fpu/w_log2.c: Likewise.
35056 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
35057 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
35058 * sysdeps/ia64/fpu/w_logf.c: Likewise.
35059 * sysdeps/ia64/fpu/w_logl.c: Likewise.
35060 * sysdeps/ia64/fpu/w_pow.c: Likewise.
35061 * sysdeps/ia64/fpu/w_powf.c: Likewise.
35062 * sysdeps/ia64/fpu/w_powl.c: Likewise.
35063 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
35064 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
35065 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
35066 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
35067 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
35068 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
35069 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
35070 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
35071 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
35072 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
35073 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
35074 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
35075 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
35076 [LIBM_SVID_COMPAT].
35077 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
35078 * sysdeps/ieee754/k_standard.c: Likewise.
35079 * sysdeps/ieee754/k_standardf.c: Likewise.
35080 * sysdeps/ieee754/k_standardl.c: Likewise.
35081 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
35082 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
35083 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
35084 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
35085 long_double_symbol call on [LIBM_SVID_COMPAT].
35086 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
35087 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
35088 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
35089 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
35090 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
35091 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
35092 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
35093 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
35094 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
35095 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
35096 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
35097 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
35098 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
35099 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
35100 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
35101 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
35102 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
35103 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
35104 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
35105 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
35106 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
35107 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
35108
05b38d64
SE
351092017-09-05 Steve Ellcey <sellcey@cavium.com>
35110
35111 * include/shlib-compat.h (TEST_COMPAT): New Macro.
35112 * malloc/tst-mallocstate.c: Convert from test-skeleton
35113 to test-driver. Ifdef code using TEST_COMPAT macro.
35114 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
35115 * math/test-matherr.c: Likewise.
35116
99d67918
JM
351172017-09-05 Joseph Myers <joseph@codesourcery.com>
35118
35119 [BZ #22086]
35120 * debug/pcprofiledump.c (main): Use byte-swapped mask when
35121 comparing word with byte-swapped constant.
35122
c207f7ce 351232017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
3f802aeb
MF
35124
35125 [BZ #20498]
35126 * locale/iso-639.def: add Miskito.
35127 * localedata/SUPPORTED: Add miq_NI/UTF-8.
35128 * localedata/locales/miq_NI: New file.
35129
0a587a8a
L
351302017-09-04 H.J. Lu <hongjiu.lu@intel.com>
35131
35132 [BZ #18822]
35133 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
35134 (__mkdir): Likewise.
35135 * io/chmod.c (__chmod): Add libc_hidden_def.
35136 * io/mkdir.c (__mkdir): Likewise.
35137 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
35138 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
35139 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
35140 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
35141
f3a129b8
JM
351422017-09-04 Joseph Myers <joseph@codesourcery.com>
35143
1650e192
JM
35144 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
35145 version to 4.13.
35146
f3a129b8
JM
35147 [BZ #22082]
35148 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
35149 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
35150
b38042f5
FW
351512017-09-04 Florian Weimer <fweimer@redhat.com>
35152
35153 * math/math.h: Issue warning if log is defined.
35154
059b6404
JM
351552017-09-04 Joseph Myers <joseph@codesourcery.com>
35156
35157 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
35158 kernel version to 4.13.
35159
b794e16b
ST
351602017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
35161
35162 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
06cf9d31
ST
35163 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
35164 parameter.
01969395
ST
35165 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
35166 just <bits/types.h>.
dd2b31de 35167 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
ed95bf56 35168 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
dd2b31de 35169 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
ed95bf56 35170 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2263ca7c
ST
35171 * misc/preadv2.c: Include <errno.h>.
35172 * misc/preadv64v2.c: Include <errno.h>.
35173 * misc/pwritev2.c: Include <errno.h>.
35174 * misc/pwritev64v2.c: Include <errno.h>.
35175 * sysdeps/posix/preadv2.c: Include <errno.h>.
35176 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
35177 Fix <unistd.h> inclusion.
35178 * sysdeps/posix/pwritev2.c: Include <errno.h>.
35179 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
cae3d712
ST
35180 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
35181 __strtoul_internal): New functions.
127e7773
ST
35182 * sysdeps/posix/pause.c: Include <sigsetops.h>.
35183 * sysdeps/posix/system.c: Include <sigsetops.h>.
f85958a7
ST
35184 * sysdeps/mach/hurd/i386/Makefile
35185 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
35186 [$(subdir) = csu] (sysdep-only-routines): Likewise.
35187 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1946d950
ST
35188 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
35189 __feraiseexcept_renamed to feraiseexcept instead of
35190 __GI_feraiseexcept.
56bf5497 35191 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
2ce1f9ef 35192 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
492cbbed
ST
35193 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
35194 RWF_NOWAIT): Define to 0 if undefined already.
35195 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
35196 boils down to 0.
6547ec0a
ST
35197 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
35198 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
b794e16b 35199
5a80d39d
JM
352002017-09-01 Joseph Myers <joseph@codesourcery.com>
35201
35202 * manual/math.texi (pow10): Do not document.
35203 (pow10f): Likewise.
35204 (pow10l): Likewise.
35205 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
35206 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
35207 * math/libm-test-exp10.inc (pow10_test): Remove.
35208 (do_test): Do not call pow10.
35209 * math/w_exp10_compat.c (pow10): Make into compat symbol.
35210 [NO_LONG_DOUBLE] (pow10l): Likewise.
35211 * math/w_exp10f_compat.c (pow10f): Likewise.
35212 * math/w_exp10l_compat.c (pow10l): Likewise.
35213 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
35214 (pow10): Make into compat symbol.
35215 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
35216 (pow10f): Make into compat symbol.
35217 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
35218 (pow10l): Make into compat symbol.
35219 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
35220 pow10.
35221 (CFLAGS-nldbl-pow10.c): Remove variable..
35222 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
35223 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
35224 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
35225 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
35226 Undefine and redefine.
35227 (pow10l): Make into compat symbol.
35228 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
35229 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
35230 * sysdeps/arm/libm-test-ulps: Likewise.
35231 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
35232 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
35233 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
35234 * sysdeps/microblaze/libm-test-ulps: Likewise.
35235 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
35236 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
35237 * sysdeps/nios2/libm-test-ulps: Likewise.
35238 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35239 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
35240 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35241 * sysdeps/sh/libm-test-ulps: Likewise.
35242 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35243 * sysdeps/tile/libm-test-ulps: Likewise.
35244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35245
3824fc38
PP
352462017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
35247
35248 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
35249
b3008279
L
352502017-09-01 H.J. Lu <hongjiu.lu@intel.com>
35251
35252 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
35253 "../ChangeLog.old/ChangeLog.8".
35254 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
35255 "../ChangeLog.old/ChangeLog.14".
35256
136fa185
L
352572017-09-01 H.J. Lu <hongjiu.lu@intel.com>
35258
35259 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
35260 Threads Library.
35261
c18d50a2
JM
352622017-09-01 Joseph Myers <joseph@codesourcery.com>
35263
35264 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
35265
bedbd859
L
352662017-09-01 H.J. Lu <hongjiu.lu@intel.com>
35267
35268 * csu/version.c (banner): Remove "by Roland McGrath et al.".
35269 * nptl/Banner: Remove "by Ulrich Drepper et al.".
35270
50c66c7a
PP
352712017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
35272
35273 * stdlib/tst-atexit-common.c (do_test): Test support for at least
35274 32 atexit handlers.
35275
a617bd11
ZW
352762017-09-01 Zack Weinberg <zackw@panix.com>
35277
35278 * math/math.h (HUGE_VAL): Improve commentary.
35279
e0d2eb5a
AZ
352802017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35281 Andreas Schwab <schwab@suse.de>
35282
35283 [BZ #21530]
35284 * include/stdio.h (__gen_tempfd): New function.
35285 * stdio-common/Makefile (routines): Add gentempfd.
35286 * stdio-common/gentempfd.c: New file.
35287 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
35288 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
35289 unnamed file first.
35290
f4a6be25
FW
352912017-09-01 Florian Weimer <fweimer@redhat.com>
35292
35293 [BZ #21915]
35294 [BZ #21922]
35295 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
35296 result to determine success or failure, not the errno value.
35297 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
35298 (tst-nss-files-hosts-erange): Link with -ldl.
35299 * nss/tst-nss-files-hosts-erange.c: New file.
35300 * nss/tst-resolv-basic.c (response): Handle nodata.example.
35301 (do_test): Add NO_DATA tests.
35302 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
35303 (do_test): Call it.
35304
5f8340f5
FW
353052017-09-01 Florian Weimer <fweimer@redhat.com>
35306
35307 [BZ #21922]
35308 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
35309 coming from gethostbyname2_r.
35310
65329bd2
FW
353112017-09-01 Florian Weimer <fweimer@redhat.com>
35312
35313 * support/namespace.h (struct support_chroot_configuration): Add
35314 hosts, host_conf.
35315 (struct support_chroot): Add path_hosts, path_host_conf.
35316 * support/support_chroot.c (write_file): New function.
35317 (support_chroot_create): Call it to process /etc/resolv.conf,
35318 /etc/hosts, /etc/host.conf.
35319 (support_chroot_free): Update.
35320
a2881ef0
FW
353212017-09-01 Florian Weimer <fweimer@redhat.com>
35322
35323 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
35324 status indicates it is set.
35325
ad816a5e
FW
353262017-09-01 Florian Weimer <fweimer@redhat.com>
35327
63b52889 35328 [BZ #20532]
ad816a5e
FW
35329 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
35330 function lookup failures more reliable.
35331
53250a21
FW
353322017-09-01 Florian Weimer <fweimer@redhat.com>
35333
35334 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
35335 (getcanonname): Likewise.
35336 (gaih_inet): Likewise.
35337
924b121c
FW
353382017-09-01 Florian Weimer <fweimer@redhat.com>
35339
35340 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
35341 (getcanonname): Likewise.
35342 (gaih_inet): Likewise.
35343
d9ff799a 353442017-08-31 Steve Ellcey <sellcey@cavium.com>
6b5c8607 35345 Richard Henderson <rth@twiddle.net>
d9ff799a
SE
35346
35347 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
35348 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
35349 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
35350 (IREG_SIZE, OREG_SIZE): New macros.
35351 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
35352 (IREG_SIZE, OREG_SIZE): New macros.
35353 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
35354 (IREG_SIZE): New macro.
35355 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
35356 (IREG_SIZE): New macro.
35357 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
35358 New includes.
35359 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
35360 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
35361 (__CONCATX): Handle exceptions correctly on large values that may
35362 set FE_INVALID.
35363 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
35364 Initialize if not already set.
b39d961c 35365 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
d9ff799a 35366
102dde84
AZ
353672017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35368
35369 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
35370 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
35371 Likewise.
35372 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
35373 Likewise.
35374 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
35375 Likewise.
35376 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
35377 Likewise.
35378 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
35379 Likewise.
35380 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
35381 Likewise.
35382 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
35383 Likewise.
35384 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
35385 (NO_CANCELLATION): Likewise.
35386 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
35387 Likewise.
35388 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
35389 Likewise.
35390 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
35391 Likewise.
35392 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
35393 (NO_CANCELLATION): Likewise.
35394 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
35395 (NO_CANCELLATION): Likewise.
35396 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
35397 Likewise
35398 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
35399 Likewise.
35400 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
35401 Likewise.
35402 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
35403 Likewise.
35404 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
35405 hidden prototype.
35406 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
35407 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
35408
9eee633b
SE
354092017-08-31 Steve Ellcey <sellcey@cavium.com>
35410
35411 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
35412 in resolver call.
35413
65284eb7
FW
354142017-08-31 Florian Weimer <fweimer@redhat.com>
35415
35416 * include/libc-symbols.h (internal_function): Remove.
35417
41ad5ca6
FW
354182017-08-31 Florian Weimer <fweimer@redhat.com>
35419
35420 * stdlib/fmtmsg.c (internal_addseverity): Remove
35421 internal_function.
35422
2fa6d086
FW
354232017-08-31 Florian Weimer <fweimer@redhat.com>
35424
35425 * stdio-common/printf_fp.c (group_number): Remove
35426 internal_function.
35427 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
35428
b41bd5bc
FW
354292017-08-31 Florian Weimer <fweimer@redhat.com>
35430
35431 * posix/fnmatch.c (internal_function): Remove definition.
35432 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
35433 * posix/regcomp.c (peek_token, init_word_char)
35434 (duplicate_node_closure, fetch_token, peek_token)
35435 (peek_token_bracket, build_range_exp, build_collating_symbol):
35436 Likewise.
35437 * posix/regex_internal.c (re_string_construct_common)
35438 (create_ci_newstate, create_cd_newstate, re_string_allocate)
35439 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
35440 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
35441 (re_string_translate_buffer, re_string_reconstruct)
35442 (re_string_peek_byte_case, re_string_fetch_byte_case)
35443 (re_string_destruct, re_string_context_at, re_node_set_alloc)
35444 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
35445 (re_node_set_add_intersect, re_node_set_init_union)
35446 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
35447 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
35448 (re_dfa_add_node, calc_state_hash, re_acquire_state)
35449 (re_acquire_state_context): Likewise.
35450 * posix/regex_internal.h (internal_function): Remove definition.
35451 (re_string_realloc_buffers, build_wcs_buffer)
35452 (build_wcs_upper_buffer, build_upper_buffer)
35453 (re_string_translate_buffer, re_string_context_at)
35454 (re_string_char_size_at, re_string_wchar_at)
35455 (re_string_elem_size_at): Likewise.
35456 * posix/regexec.c (match_ctx_init, match_ctx_clean)
35457 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
35458 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
35459 (re_search_internal, re_search_2_stub, re_search_stub)
35460 (re_copy_regs, prune_impossible_nodes, check_matching)
35461 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
35462 (free_fail_stack_return, sift_states_iter_mb)
35463 (sift_states_backward, build_sifted_states)
35464 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
35465 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
35466 (check_subexp_limits, sift_states_bkref, merge_state_array)
35467 (find_recover_state, transit_state, merge_state_with_log)
35468 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
35469 (transit_state_mb, transit_state_bkref, get_subexp)
35470 (get_subexp_sub, find_subexp_node, check_arrival)
35471 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
35472 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
35473 (check_node_accept_bytes, find_collation_sequence_value)
35474 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
35475 (acquire_init_state_context, check_halt_node_context)
35476 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
35477 (sub_epsilon_src_nodes): Likewise.
35478 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
35479 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
35480 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
35481 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
35482 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
35483 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
35484 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
35485 * sysdeps/posix/ttyname.c (getttyname): Likewise.
35486 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
35487 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
35488 (PREADV): Likewise.
35489 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
35490 (PREADV): Likewise.
35491 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
35492 (PWRITEV): Likewise.
35493 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
35494 (PWRITEV): Likewise.
35495 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
35496 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
35497
83b09837
FW
354982017-08-31 Florian Weimer <fweimer@redhat.com>
35499
35500 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
35501 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
35502 Remove internal_function.
35503 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
35504 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
35505 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
35506 (__deallocate_stack, __libc_pthread_init)
35507 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
35508 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
35509 (__libc_disable_asynccancel, __librt_disable_asynccancel):
35510 Likewise.
35511 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
35512 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
35513 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
35514 Likewise.
35515 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
35516 (__pthread_mutex_unlock_usercnt): Likewise.
35517
116ac301
FW
355182017-08-31 Florian Weimer <fweimer@redhat.com>
35519
35520 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
35521 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
35522 (fts_safe_changedir): Remove internal_function.
35523 * io/ftw.c (internal_function): Remove definition.
35524 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
35525
9da93bd7
FW
355262017-08-31 Florian Weimer <fweimer@redhat.com>
35527
35528 * inet/deadline.c (__deadline_current_time)
35529 (__deadline_from_timeval, __deadline_to_ms): Remove
35530 internal_function.
35531 * inet/getnameinfo.c (nrl_domainname): Likewise.
35532 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
35533 * inet/inet6_option.c (add_pad): Likewise.
35534 * inet/net-internal.h (__deadline_current_time)
35535 (__deadline_from_timeval, __deadline_to_ms): Likewise.
35536 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
35537 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
35538 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
35539
a60eca2e
JM
355402017-08-31 Joseph Myers <joseph@codesourcery.com>
35541
c0c49d60
JM
35542 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
35543 include <bits/nan.h>.
35544 * math/Makefile (headers): Remove bits/nan.h.
35545 * bits/nan.h: Remove.
35546 * sysdeps/ieee754/bits/nan.h: Likewise.
35547 * sysdeps/mips/bits/nan.h: Likewise.
35548
5ef1b213
JM
35549 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
35550 not include <bits/inf.h>.
35551 * math/Makefile (headers): Remove bits/inf.h.
35552 * bits/inf.h: Remove.
35553 * sysdeps/ieee754/bits/inf.h: Likewise.
35554
a60eca2e
JM
35555 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
35556 bits/huge_vall.h or bits/huge_val_flt128.h.
35557 (HUGE_VAL): Define directly here.
35558 [__USE_ISOC99] (HUGE_VALF): Likewise.
35559 [__USE_ISOC99] (HUGE_VALL): Likewise.
35560 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35561 (HUGE_VAL_F128): Likewise.
35562 * math/Makefile (headers): Remove bits/huge_val.h,
35563 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
35564 * bits/huge_val.h: Remove.
35565 * bits/huge_val_flt128.h: Likewise.
35566 * bits/huge_valf.h: Likewise.
35567 * bits/huge_vall.h: Likewise.
35568 * sysdeps/ia64/bits/huge_vall.h: Likewise.
35569 * sysdeps/ieee754/bits/huge_val.h: Likewise.
35570 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
35571 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
35572 * sysdeps/sh/bits/huge_val.h: Likewise.
35573 * sysdeps/sparc/bits/huge_vall.h: Likewise.
35574 * sysdeps/x86/bits/huge_vall.h: Likewise.
35575
17e00cc6
FW
355762017-08-31 Florian Weimer <fweimer@redhat.com>
35577
35578 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
35579 internal_function.
35580 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
35581 Likewise.
35582 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
35583 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
35584 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
35585 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
35586 * elf/dl-fini.c (_dl_sort_fini): Likewise.
35587 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
35588 * elf/dl-libc.c (dlerror_run): Likewise.
35589 * elf/dl-load.c (add_name_to_object, decompose_rpath)
35590 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
35591 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
35592 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
35593 Likewise.
35594 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
35595 (_dl_higher_prime_number, _dl_strtoul): Likewise.
35596 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
35597 * elf/dl-profile.c (_dl_start_profile): Likewise.
35598 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
35599 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
35600 Likewise.
35601 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
35602 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
35603 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
35604 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
35605 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
35606 (_dl_allocate_tls_storage): Likewise.
35607 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
35608 (_dl_check_all_versions): Likewise.
35609 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
35610 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
35611 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
35612 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35613 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
35614 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
35615 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
35616 internal_function from __dl_start.
35617 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
35618 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
35619 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
35620 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
35621 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
35622 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
35623 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
35624 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
35625 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
35626 (_dl_next_ld_env_entry, _dl_important_hwcaps)
35627 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
35628 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
35629 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
35630 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
35631 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
35632 Likewise.
35633 (struct rtld_global_ro): Remove internal_function from the
35634 _dl_lookup_symbol_x member.
35635 (_dl_symbol_value): Remove. No longer defined anywhere.
35636 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
35637 internal_function.
35638 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35639 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
35640 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
35641 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
35642 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
35643 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
35644 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
35645 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
35646 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
35647 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
35648 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35649 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
35650
8d2f9410
FW
356512017-08-31 Florian Weimer <fweimer@redhat.com>
35652
35653 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
35654 Remove internal_function.
35655 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
35656 Likewise.
35657 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
35658 Likewise.
35659
86e4919f
FW
356602017-08-31 Florian Weimer <fweimer@redhat.com>
35661
35662 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
35663 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
35664 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
35665
59bd52b0
FW
356662017-08-31 Florian Weimer <fweimer@redhat.com>
35667
35668 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
35669 (__gai_enqueue_request): Remove internal_function.
35670 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
35671 (__gai_remove_request, __gai_notify, __gai_notify_only)
35672 (__gai_sigqueue): Likewise.
35673 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
35674 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
35675 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
35676 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
35677 Likewise.
35678
fc3d9497
FW
356792017-08-31 Florian Weimer <fweimer@redhat.com>
35680
35681 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
35682 * include/dirent.h (__opendirat, __getdents, __getdents64)
35683 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
35684 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
35685 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
35686 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
35687 Likewise.
35688 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
35689
18c54fac
FW
356902017-08-31 Florian Weimer <fweimer@redhat.com>
35691
35692 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
35693 internal_function.
35694 (GETCWD_RETURN_TYPE): Likewise.
35695
7e01f080
FW
356962017-08-31 Florian Weimer <fweimer@redhat.com>
35697
35698 * include/time.h (__tz_compute, __strptime_internal): Remove
35699 internal_function.
35700 * time/strptime_l.c (__strptime_internal): Likewise.
35701 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
35702
d7ccc6c9
FW
357032017-08-31 Florian Weimer <fweimer@redhat.com>
35704
35705 * iconv/gconv.c (__gconv): Remove internal_function.
35706 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
35707 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
35708 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
35709 (__gconv_release_cache): Likewise.
35710 * iconv/gconv_close.c (__gconv_close): Likewise.
35711 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
35712 (read_conf_file, __gconv_get_path): Likewise.
35713 * iconv/gconv_db.c (derivation_lookup, add_derivation)
35714 (__gconv_release_step, gen_steps, increment_counter)
35715 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
35716 (__gconv_close_transform, free_modules_db): Likewise.
35717 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
35718 Likewise.
35719 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
35720 (__gconv_find_transform, __gconv_lookup_cache)
35721 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
35722 (__gconv_close_transform, __gconv_release_cache)
35723 (__gconv_loaded_object, __gconv_release_shlib)
35724 (__gconv_compare_alias): Likewise.
35725 * iconv/gconv_open.c (__gconv_open): Likewise.
35726 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
35727 * iconv/iconvconfig.c (add_module): Likewise.
35728 * intl/dcigettext.c (plural_lookup, guess_category_value)
35729 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
35730 * intl/eval-plural.h (plural_eval): Likewise.
35731 * intl/finddomain.c (_nl_find_domain): Likewise.
35732 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
35733 (_nl_load_domain, _nl_find_msg): Likewise.
35734 (internal_function): Remove definition.
35735 * intl/loadinfo.h (internal_function): Likewise.
35736 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
35737 internal_function.
35738 * intl/localealias.c (internal_function): Remove definition.
35739 (read_alias_file): Remove internal_function.
35740 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
35741 * intl/plural-exp.h (internal_function): Remove definition.
35742 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
35743 internal_function.
35744 * intl/plural.c: Regenerate.
35745 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
35746 * locale/coll-lookup.c (__collidx_table_lookup)
35747 (__collseq_table_lookup): Likewise.
35748 * locale/coll-lookup.h (__collidx_table_lookup)
35749 (__collseq_table_lookup): Likewise.
35750 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
35751 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
35752 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
35753 (_nl_unload_locale): Likewise.
35754 * locale/localeinfo.h (struct __locale_data): Remove
35755 internal_function from cleanup member.
35756 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
35757 (_nl_remove_locale, _nl_load_locale_from_archive)
35758 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
35759 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
35760 (_nl_cleanup_time): Remove internal_function.
35761 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
35762 (_nl_parse_alt_digit): Likewise.
35763 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
35764 (_nl_select_era_entry): Likewise.
35765 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
35766 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
35767 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7e01f080
FW
35768 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
35769 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
d7ccc6c9 35770
dab0eece
FW
357712017-08-31 Florian Weimer <fweimer@redhat.com>
35772
35773 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
35774 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
35775 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
35776 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
35777 Likewise.
35778 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
35779 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
35780 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
35781 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
35782 Likewise.
35783 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
35784
ab5bf7cf
FW
357852017-08-31 Florian Weimer <fweimer@redhat.com>
35786
35787 * misc/getttyent.c (skip, value): Remove internal_function.
35788 * misc/syslog.c (openlog_internal): Likewise.
35789 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
35790
75b3047e
FW
357912017-08-31 Florian Weimer <fweimer@redhat.com>
35792
35793 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
35794 (__nss_rewrite_field): Remove internal_function.
35795 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
35796 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
35797 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
35798 * nss/nsswitch.c (nss_parse_file, nss_getline)
35799 (nss_parse_service_list, nss_new_service): Likewise.
35800 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
35801 * nss/valid_field.c (__nss_valid_field): Likewise.
35802 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
35803
0c71122c
FW
358042017-08-31 Florian Weimer <fweimer@redhat.com>
35805
35806 * malloc/arena.c (__malloc_fork_lock_parent)
35807 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
35808 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
35809 internal_function from defintions.
35810 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
35811 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
35812 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
35813 internal_function from declarations.
35814 * malloc/malloc.c (internal_function): Do not define.
35815 (mem2mem_check): Remove internal_function from declaration.
35816 (munmap_chunk, mremap_chunk): Remove internal_function.
35817 * malloc/mtrace.c (tr_where): Likewise.
35818
ca4ec803
FW
358192017-08-31 Florian Weimer <fweimer@redhat.com>
35820
35821 * include/rpc/pmap_clnt.h (__get_socket): Remove
35822 internal_function.
35823 * sunrpc/auth_des.c (synchronize): Likewise.
35824 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
35825 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
35826 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
35827 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
35828 (key_call): Likewise.
35829 * sunrpc/pm_getport.c (__get_socket): Likewise.
35830 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
35831 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
35832 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
35833 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
35834 (invalidate): Likewise.
35835 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
35836 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
35837 (set_input_fragment, get_input_bytes): Likewise.
35838
24cffce7
FW
358392017-08-31 Florian Weimer <fweimer@redhat.com>
35840
35841 * malloc/malloc.c (_int_free): Remove locked variable and related
35842 asserts.
35843
ecd0747d
L
358442017-08-31 H.J. Lu <hongjiu.lu@intel.com>
35845
35846 [BZ #22051]
35847 * Makerules (build-module-helper-objlist): Filter out
35848 $(elf-objpfx)sofini.os.
35849 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
35850 needed.
35851
5f0704b6
FW
358522017-08-31 Florian Weimer <fweimer@redhat.com>
35853
35854 * libio/fcloseall.c: Assume weak_alias is defined.
35855 * libio/feof.c: Likewise.
35856 * libio/fileno.c: Likewise.
35857 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
35858 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
35859 definitions.
35860 (_IO_file_open): Call __open directly.
35861 (_IO_new_file_sync): Assume ESPIPE is defined.
35862 (_IO_file_seekoff_maybe_mmap): Call __read directly.
35863 (_IO_new_file_write): Call __write directly.
35864 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
35865 * libio/ftello64.c (__ftello64): Assume EIO is defined.
35866 * libio/genops.c: Assume _LIBC is defined.
35867 (save_for_backup): Remove internal_function.
35868 * libio/getc.c: Assume weak_alias is defined.
35869 * libio/getwc.c: Likewise.
35870 * libio/iofclose.c: Assume _LIBC is defined.
35871 * libio/iofdopen.c: Likewise.
35872 (_IO_fcntl): Remove macro definition.
35873 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
35874 Call __fcntl directly.
35875 * libio/iofflush.c: Assume weak_alias is defined.
35876 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
35877 defined.
35878 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
35879 * libio/iofgets.c: Likewise.
35880 * libio/iofopen.c: Assume _LIBC is defined.
35881 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
35882 * libio/iofputs.c: Assume weak_alias is defined.
35883 * libio/iofread.c: Likewise.
35884 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
35885 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
35886 * libio/ioftell.c: Assume weak_alias is defined.
35887 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
35888 * libio/iofwide.c: Assume _LIBC is defined.
35889 (_IO_fwide): Drop SHARED conditional because it is implied by
35890 SHLIB_COMPAT.
35891 * libio/iofwrite.c: Assume weak_alias is defined.
35892 * libio/iogetdelim.c: Likewise.
35893 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
35894 * libio/iogetwline.c (wmemcpy): Remove macro definition.
35895 (_IO_getwline): Call __wmemcpy directly.
35896 * libio/iopopen.c: Assume _LIBC is defined.
35897 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
35898 (_IO_close): Remove macro definitions.
35899 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
35900 _exit directly.
35901 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
35902 directly.
35903 * libio/ioputs.c: Assume weak_alias is defined.
35904 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
35905 * libio/iosetbuffer.c: Assume weak_alias is defined.
35906 * libio/iosetvbuf.c: Likewise.
35907 * libio/ioungetc.c: Likewise.
35908 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
35909 libc_hidden_def, libc_hidden_weak, NULL are defined.
35910 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
35911 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
35912 defined.
35913 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
35914 definitions.
35915 (_IO_old_file_init_internal): Drop SHARED conditional because it
35916 is implied by SHLIB_COMPAT.
35917 (_IO_old_file_fopen): Call __open directly.
35918 (_IO_old_file_sync): Assume ESPIPE is defined.
35919 (_IO_old_file_write): Call __write directly.
35920 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
35921 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
35922 Call __fcntl directly.
35923 * libio/oldiofgetpos.c: Assume weak_alias is defined.
35924 (_IO_old_fgetpos): Assume EIO is defined.
35925 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
35926 (_IO_old_fgetpos64): Assume EIO is defined.
35927 * libio/oldiofsetpos.c: Assume weak_alias is defined.
35928 (_IO_old_fsetpos): Assume EIO is defined.
35929 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
35930 (_IO_old_fsetpos64): Assume EIO is defined.
35931 * libio/oldiopopen.c: Assume _LIBC is defined.
35932 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
35933 (_IO_close): Remove macro definitions.
35934 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
35935 directly.
35936 (_IO_old_proc_close): Call __close, __waitpid directly.
35937 * libio/put.c: Assume weak_alias is defined.
35938 * libio/stdfiles.c: Assume _LIBC is defined.
35939 * libio/stdio.c: Likewise.
35940 * libio/wfileops.c: Likewise.
35941 (_IO_wfile_sync): Assume ESPIPE is defined.
35942 * libio/wgenops.c: Assume _LIBC is defined.
35943 (save_for_wbackup): Remove internal_function.
35944
5129873a
FW
359452017-08-31 Florian Weimer <fweimer@redhat.com>
35946
35947 * malloc/malloc.c (top_check): Change return type to void. Remove
35948 internal_function.
35949 * malloc/hooks.c (top_check): Likewise.
35950 (malloc_check, realloc_check, memalign_check): Adjust.
35951
4fa9b3bf
JM
359522017-08-30 Joseph Myers <joseph@codesourcery.com>
35953
35954 [BZ #21457]
35955 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
35956 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
35957 sigcontext and namespace requirements.
35958 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
35959 * sysdeps/m68k/sys/ucontext.h: Likewise.
35960 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
35961 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
35962 <bits/sigcontext.h>.
35963 (__ctx): Define earlier.
35964 (mcontext_t): Define structure contents rather than using struct
35965 sigcontext.
35966 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
35967 __glibc_reserved1 instead of __reserved.
35968 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
35969 <bits/sigcontext.h>.
35970 (__ctx): Define earlier.
35971 (mcontext_t): Define structure contents rather than using struct
35972 sigcontext.
35973 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
35974 mcontext_t instead of struct sigcontext.
35975 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
35976 <bits/sigcontext.h>.
35977 (__ctx): Define earlier.
35978 (mcontext_t): Define structure contents rather than using struct
35979 sigcontext.
35980 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
35981 <bits/sigcontext.h>.
35982 (__ctx): Define earlier.
35983 (mcontext_t): Define structure contents rather than using struct
35984 sigcontext.
35985 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
35986 mcontext_t instead of struct sigcontext.
35987 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
35988 mcontext_t instead of struct sigcontext.
35989 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
35990 <bits/sigcontext.h>.
35991 (__ctx): New macro.
35992 (struct __ia64_fpreg_mcontext): New type.
35993 (mcontext_t): Define structure contents rather than using struct
35994 sigcontext.
35995 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
35996 (uc_sigmask): Define using __ctx.
35997 (uc_stack): Likewise.
35998 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
35999 <bits/sigcontext.h>.
36000 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
36001 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
36002 <bits/sigcontext.h>.
36003 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
36004 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
36005 <bits/sigcontext.h>.
36006 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
36007 <bits/sigcontext.h>.
36008 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
36009 <bits/sigcontext.h>.
36010 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
36011 <bits/sigcontext.h>.
36012 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
36013 <bits/sigcontext.h>.
36014 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
36015 <bits/sigcontext.h>.
36016 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
36017 <bits/sigcontext.h>.
36018 (__ctx): Define earlier.
36019 (mcontext_t): Define structure contents rather than using struct
36020 sigcontext.
36021 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
36022 <bits/sigcontext.h>. Include <bits/types.h>.
36023 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
36024 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
36025 (test-xfail-XPG42/ucontext.h/conform): Likewise.
36026 (test-xfail-UNIX98/signal.h/conform): Likewise.
36027 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
36028 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
36029 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
36030 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
36031 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
36032 (test-xfail-POSIX2008/signal.h/conform): Likewise.
36033 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
36034 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
36035 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
36036
5898f454
FW
360372017-08-30 Florian Weimer <fweimer@redhat.com>
36038
36039 * malloc/dynarray_emplace_enlarge.c
36040 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
36041 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
36042 * malloc/tst-dynarray.c (test_long_overflow): New function.
36043 (do_test): Call it.
36044
a9da0bb2
FW
360452017-08-30 Florian Weimer <fweimer@redhat.com>
36046
36047 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
36048 (set_arena_corrupt): Remove definitions.
36049 (mtrim): Do not check for corrupt arena.
36050 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
36051 Likewise.
36052
ac3ed168
FW
360532017-08-30 Florian Weimer <fweimer@redhat.com>
36054
36055 [BZ #21754]
36056 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
36057 check_action.
36058 (ptmalloc_init): Do not set or use check_action.
36059 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
36060 call to malloc_printerr. Remove return statement.
36061 (free_check): Likewise. Remove arena unlock.
36062 (top_check): Update comment. Adjust call to malloc_printerr.
36063 Remove heap repair code.
36064 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
36065 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
36066 (sysmalloc): Adjust call to malloc_printerr.
36067 (munmap_chunk, __libc_realloc): Likewise. Remove return
36068 statement.
36069 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
36070 Remove errout label and corresponding gotos.
36071 (_int_free): Likewise. Remove arena unlock.
36072 (do_set_mallopt_check): Do not set check_action.
36073 (malloc_printerr): Adjust parameter list. Do not mark arena as
36074 corrupt.
36075 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
36076 comment.
36077 * manual/probes.texi (Memory Allocation Probes): Remove
36078 memory_mallopt_check_action.
36079
44bcba80
SE
360802017-08-30 Steve Ellcey <sellcey@cavium.com>
36081
36082 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
36083 Use pointer to uint64_t instead of long int for sp.
36084
ec2c1fce
FW
360852017-08-30 Florian Weimer <fweimer@redhat.com>
36086
36087 [BZ #21754]
36088 * malloc/malloc.c (malloc_printerr): Always terminate the process,
36089 without printing a backtrace. Do not leak any information in the
36090 error message.
36091 * manual/memory.texi (Heap Consistency Checking): Update.
36092 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
36093
9ce673b6
FW
360942017-08-30 Florian Weimer <fweimer@redhat.com>
36095
36096 Do not scale NPTL tests with available number of CPUs.
36097 * nptl/tst-cond16.c (count): Set to constant value of 8.
36098 * nptl/tst-cond18.c (count): Likewise.
36099
2f1aef19
JM
361002017-08-29 Joseph Myers <joseph@codesourcery.com>
36101
36102 [BZ #22035]
36103 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
36104 Define to take a second argument that is a macro that
36105 concatentates a suffix, not the suffix itself.
36106 (__CONCAT_d): New macro.
36107 (__CONCAT_f): Likewise.
36108 (__CONCAT_l): Likewise.
36109
8325b477
PP
361102017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
36111
36112 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
36113 by child.
36114
319cbbf6
AZ
361152017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36116 Aurelien Jarno <aurelien@aurel32.net>
36117 Maciej W. Rozycki <macro@imgtec.com>
36118
36119 [BZ #21956]
36120 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
36121 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
36122 `mips16-syscall6' and `mips16-syscall7'.
36123 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
36124 (CFLAGS-mips16-syscall7.c): Remove.
36125 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
36126 Remove `__mips16_syscall5', `__mips16_syscall6' and
36127 `__mips16_syscall7'.
36128 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
36129 (__mips16_syscall0): Rename `__mips16_syscall_return' to
36130 `__mips_syscall_return'.
36131 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
36132 (__mips16_syscall1): Likewise.
36133 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
36134 (__mips16_syscall2): Likewise.
36135 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
36136 (__mips16_syscall3): Likewise.
36137 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
36138 (__mips16_syscall4): Likewise.
36139 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
36140 Remove.
36141 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
36142 Remove.
36143 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
36144 Remove.
36145 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
36146 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
36147 `__mips16_syscall5'. Remove prototype.
36148 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
36149 `__mips16_syscall6'. Remove prototype.
36150 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
36151 `__mips16_syscall7'. Remove prototype.
36152 (__nomips16, __mips16_syscall_return): Move to...
36153 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
36154 (__nomips16, __mips_syscall_return): ... here.
36155 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
36156 `__mips16_syscall_return' to `__mips_syscall_return'.
36157 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
36158 `internal_syscall##nr'.
36159 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
36160 `internal_syscall##nr'.
36161 (FORCE_FRAME_POINTER): Remove.
36162 (__mips_syscall5): New prototype.
36163 (internal_syscall5): Rewrite to call `__mips_syscall5'.
36164 (__mips_syscall6): New prototype.
36165 (internal_syscall6): Rewrite to call `__mips_syscall6'.
36166 (__mips_syscall7): New prototype.
36167 (internal_syscall7): Rewrite to call `__mips_syscall7'.
36168 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
36169 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
36170 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
36171 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
36172 (sysdep_routines): Add libc-do-syscall.
36173 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
36174 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
36175
01b87c65
AZ
361762017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36177
36178 [BZ #21672]
36179 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
36180 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
36181 (advise_stack_range): New function.
36182 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
36183 stack non required to advise_stack_range at allocatestack.c
36184
16f138a4
SN
361852017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
36186
36187 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
36188
251bccfa
FW
361892017-08-29 Florian Weimer <fweimer@redhat.com>
36190
36191 [BZ #22026]
36192 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
36193 __end_fct. Mangle __end_fct after setting it to NULL.
36194 * iconv/Makefile (tests): Add tst-gconv-init-failure.
36195 (modules-names, modules-names-tests): Add
36196 tst-gconv-init-failure-mod.
36197 (gconv-modules): New target.
36198 (tst-gconv-init-failure-mod.so): Link against libsupport.
36199 (tst-gconv-init-failure): Depend on gconv-modules,
36200 tst-gconv-init-failure-mod.so.
36201 * iconv/tst-gconv-init-failure-mod.c: New file.
36202 * iconv/tst-gconv-init-failure.c: Likewise.
36203 * iconv/test-gconv-modules: Likewise.
36204
e7c18b9d
FW
362052017-08-29 Florian Weimer <fweimer@redhat.com>
36206
36207 [BZ #22025]
36208 * iconv/gconv_db.c (free_derivation): Remove redundant
36209 parentheses.
36210 (gen_steps): Unconditionally mangle __btowc_fct after
36211 initialization.
36212 (increment_counter): Likewise. Do not call init_fct for internal
36213 modules.
36214
7daada03
JM
362152017-08-29 Joseph Myers <joseph@codesourcery.com>
36216
36217 [BZ #22028]
36218 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
36219 (_MSUF_): Remove macro.
36220 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
36221 Likewise.
36222 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
36223 (__REDIRFROM_X): New macro.
36224 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
36225 Likewise.
36226 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
36227 (__REDIRTO_X): Likewise.
36228 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
36229 arguments.
36230 (__MATH_REDIRCALL_2): Likewise.
36231 (__MATH_REDIRCALL_INTERNAL): Likewise.
36232 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
36233 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
36234 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
36235 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
36236 * math/test-finite-macros.c: New file.
36237 * math/Makefile (tests): Add test-finite-macros.
36238 (CFLAGS-test-finite-macros.c): New variable.
36239
1cf1232c
PF
362402017-08-29 Patsy Franklin <pfrankli@redhat.com>
36241 Jeff Law <law@redhat.com>
36242
36243 [BZ #22025]
36244 Mangle NULL pointers in iconv/gconv.
36245 * iconv/gconv_cache.c (find_module): Demangle init_fct before
36246 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
36247 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
36248 is non-NULL before demangling the end_fct. Check for NULL
36249 end_fct after demangling.
36250 (__gconv_release_step): Demangle the end_fct before checking
36251 it for NULL. Remove assert on __shlibc_handle != NULL.
36252 (gen_steps): Don't check btowc_fct for NULL before mangling.
36253 Demangle init_fct before checking for NULL.
36254 (increment_counter): Likewise.
36255 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
36256 end_fct for NULL before mangling.
36257 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
36258 for NULL.
36259
c207f7ce 362602017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
f8de9568
AK
36261
36262 [BZ #21971]
36263 * locale/iso-639.def: add Morisyen.
36264
42496114
GG
362652017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36266
36267 [BZ #21930]
36268 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
36269 (iszero): New C++ implementation that does not use
36270 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
36271 signaling nans are enabled, since __builtin_types_compatible_p
36272 is a C-only feature.
36273 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
36274 defined, include ieee754_float128.h for access to the union and
36275 member ieee854_float128.ieee.
36276 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
36277 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
36278 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
36279 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
36280 options of test-math-zero on powerpc64le.
36281
5e2bc4ff
L
362822017-08-28 H.J. Lu <hongjiu.lu@intel.com>
36283
36284 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
36285 Change double to float.
36286
a48c0fb4
JM
362872017-08-28 Joseph Myers <joseph@codesourcery.com>
36288
36289 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
36290 unconditional.
36291 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
36292 conditional code; define contents only for [LIBM_SVID_COMPAT].
36293
ee17d4e9
FW
362942017-08-28 Florian Weimer <fweimer@redhat.com>
36295
36296 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
36297 (abi-lp64_be-options): Remove.
36298 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
36299 (abi-hard-options): Likewise.
36300 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
36301 (abi-o32_hard-options, abi-o32_soft_2008-options)
36302 (abi-o32_hard_2008-options, abi-n32_soft-options)
36303 (abi-n32_hard-options, abi-n32_soft_2008-options)
36304 (abi-n32_hard_2008-options, abi-n64_soft-options)
36305 (abi-n64_hard-options, abi-n64_soft_2008-options)
36306 (abi-n64_hard_2008-options): Likewise.
36307 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
36308 (abi-64-v1-options, abi-64-v2-options): Likewise.
36309 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
36310 (abi-64-options): Likewise.
36311 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
36312 (abi-64-options): Likewise.
36313 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
36314 (abi-64-options): Likewise.
36315 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
36316 (abi-64-options, abi-x32-options): Likewise.
36317
2dba5ce7
FW
363182017-08-28 Florian Weimer <fweimer@redhat.com>
36319
36320 Store supported list of SYS_* system calls in the source tree.
36321 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
36322 (bits/syscall.h): Generate from list file.
36323 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
36324 [$(subdir) = misc] (tests): Add tst-syscall-list.
36325 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
36326 [$(subdir) = misc] (tst-syscall-list-macros.list)
36327 [$(subdir) = misc] (tst-syscall-list-nr.list)
36328 (tst-syscall-list-sys.list): Helper targets for new
36329 tst-syscall-list test.
36330 [$(subdir) = misc] (tst-syscall-list.out): Run test script
36331 tst-syscall-list.sh.
36332 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
36333 target. Do not include bits/syscall.d.
36334 [$(subdir) = misc] (generated): Do not update.
36335 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
36336 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
36337 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
36338 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
36339
5f3b183d
PP
363402017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
36341
36342 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
36343 (tst-cxa_atexit, tst-on_exit): Likewise.
36344 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
36345 tst-cxa_atexit, and tst-on_exit.
36346 * stdlib/tst-atexit-common.c: New file.
36347 * stdlib/tst-atexit.c: New file.
36348 * stdlib/tst-at_quick_exit.c: New file.
36349 * stdlib/tst-cxa_atexit.c: New file.
36350 * stdlib/tst-on_exit.c: New file.
36351
2ef8d469
ST
363522017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
36353
36354 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
97e02ad2
ST
36355 * mach/stack_chk_fail_local.c: New file.
36356 * hurd/stack_chk_fail_local.c: New file.
36357 * mach/Machrules ($(interface-library)-routines): Add
36358 stack_chk_fail_local.
99ee4d26
ST
36359 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
36360 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
36361 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
36362 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
36363 * hurd/Makefile (CFLAGS-hurdstartup.o,
36364 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2ef8d469 36365
7ab70c98
L
363662017-08-25 H.J. Lu <hongjiu.lu@intel.com>
36367
36368 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
36369 (index_cpu_*, index_arch_*): Removed.
36370
39e7a5a6
SN
363712017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
36372
36373 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
36374 Use uint64_t instead of unsigned long.
36375
bba5c930
JM
363762017-08-25 Joseph Myers <joseph@codesourcery.com>
36377
a6ccdb08
JM
36378 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
36379 [__HAVE_DISTINCT_FLOAT128].
36380
23761119
JM
36381 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
36382 of <bits/math-finite.h>.
36383 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
36384 inclusion of <bits/math-finite.h>.
36385 * math/bits/math-finite.h (__REDIRTO_X): Do not define
36386 conditionally on [__MATH_DECLARING_LDOUBLE && defined
36387 __NO_LONG_DOUBLE_MATH].
36388 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
36389 (__MATH_REDIRCALL_2): Likewise.
36390 (__MATH_REDIRCALL_INTERNAL): Likewise.
36391 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
36392 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
36393 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
36394
bba5c930
JM
36395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
36396 Remove file.
36397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
36398 Likewise.
36399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
36400 Likewise.
36401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
36402 Likewise.
36403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
36404 Likewise.
36405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
36406 Likewise.
36407 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
36408 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
36409 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
36410 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
36411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
36412 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
36413 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
36414 w_sqrtf_compat-ppc32.
36415
3d7b66f6
GG
364162017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36417
36418 * math/math.h [defined __cplusplus] (issignaling): In the long
36419 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
36420 is not defined. Call __issignaling, otherwise.
36421
ebd6f007
AZ
364222017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36423
36424 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
36425 syscall definitions and replace __builtin_expect with __glibc_likely.
36426 * sysdeps/unix/syscall-template.S: Update comment about cancellable
36427 syscall.
6b5c8607 36428 (SYSCALL_CANCELLABLE): Removedefinition
ebd6f007
AZ
36429 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
36430 definition.
36431 (PSEUDO_END): Likewise.
36432 [IS_IN (libpthread)] (CENABLE): Likewise.
36433 [IS_IN (libpthread)] (CDISABLE): Likewise.
36434 [IS_IN (libc)] (CENABLE): Likewise.
36435 [IS_IN (libc)] (CENABLE): Likewise.
36436 [IS_IN (librt)] (CDISABLE): Likewise.
36437 [IS_IN (librt)] (CDISABLE): Likewise.
36438 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36439 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
36440 definition.
36441 (PSEUDO_END): Likewise.
36442 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
36443 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
36444 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
36445 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
36446 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
36447 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
36448 (CENABLE): Likewise.
36449 (CDISABLE): Likewise.
36450 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36451 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
36452 defintion.
36453 (PSEUDO_END): Likewise.
36454 [IS_IN (libpthread)] (CENABLE): Likewise.
36455 [IS_IN (libpthread)] (CDISABLE): Likewise.
36456 [IS_IN (libc)] (CENABLE): Likewise.
36457 [IS_IN (libc)] (CENABLE): Likewise.
36458 [IS_IN (librt)] (CDISABLE): Likewise.
36459 [IS_IN (librt)] (CDISABLE): Likewise.
36460 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36461 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
36462 definition.
36463 (PSEUDO_END): Likewise.
36464 [IS_IN (libpthread)] (CENABLE): Likewise.
36465 [IS_IN (libpthread)] (CDISABLE): Likewise.
36466 [IS_IN (libc)] (CENABLE): Likewise.
36467 [IS_IN (libc)] (CENABLE): Likewise.
36468 [IS_IN (librt)] (CDISABLE): Likewise.
36469 [IS_IN (librt)] (CDISABLE): Likewise.
36470 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36471 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
36472 definition.
36473 (PSEUDO_END): Likewise.
36474 [IS_IN (libpthread)] (CENABLE): Likewise.
36475 [IS_IN (libpthread)] (CDISABLE): Likewise.
36476 [IS_IN (libc)] (CENABLE): Likewise.
36477 [IS_IN (libc)] (CENABLE): Likewise.
36478 [IS_IN (librt)] (CDISABLE): Likewise.
36479 [IS_IN (librt)] (CDISABLE): Likewise.
36480 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36481 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
36482 definition.
36483 (PSEUDO_END): Likewise.
36484 [IS_IN (libpthread)] (CENABLE): Likewise.
36485 [IS_IN (libpthread)] (CDISABLE): Likewise.
36486 [IS_IN (libc)] (CENABLE): Likewise.
36487 [IS_IN (libc)] (CENABLE): Likewise.
36488 [IS_IN (librt)] (CDISABLE): Likewise.
36489 [IS_IN (librt)] (CDISABLE): Likewise.
36490 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36491 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
36492 definition.
36493 (PSEUDO_END): Likewise.
36494 [IS_IN (libpthread)] (CENABLE): Likewise.
36495 [IS_IN (libpthread)] (CDISABLE): Likewise.
36496 [IS_IN (libc)] (CENABLE): Likewise.
36497 [IS_IN (libc)] (CENABLE): Likewise.
36498 [IS_IN (librt)] (CDISABLE): Likewise.
36499 [IS_IN (librt)] (CDISABLE): Likewise.
36500 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36501 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
36502 definition.
36503 (PSEUDO_END): Likewise.
36504 [IS_IN (libpthread)] (CENABLE): Likewise.
36505 [IS_IN (libpthread)] (CDISABLE): Likewise.
36506 [IS_IN (libc)] (CENABLE): Likewise.
36507 [IS_IN (libc)] (CENABLE): Likewise.
36508 [IS_IN (librt)] (CDISABLE): Likewise.
36509 [IS_IN (librt)] (CDISABLE): Likewise.
36510 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36511 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
36512 Remove definition.
36513 (PSEUDO_END): Likewise.
36514 [IS_IN (libpthread)] (CENABLE): Likewise.
36515 [IS_IN (libpthread)] (CDISABLE): Likewise.
36516 [IS_IN (libc)] (CENABLE): Likewise.
36517 [IS_IN (libc)] (CENABLE): Likewise.
36518 [IS_IN (librt)] (CDISABLE): Likewise.
36519 [IS_IN (librt)] (CDISABLE): Likewise.
36520 (SINGLE_THREAD_P): Likewise.
36521 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
36522 definition.
36523 (PSEUDO_END): Likewise.
36524 [IS_IN (libpthread)] (CENABLE): Likewise.
36525 [IS_IN (libpthread)] (CDISABLE): Likewise.
36526 [IS_IN (libc)] (CENABLE): Likewise.
36527 [IS_IN (libc)] (CENABLE): Likewise.
36528 [IS_IN (librt)] (CDISABLE): Likewise.
36529 [IS_IN (librt)] (CDISABLE): Likewise.
36530 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36531 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
36532 definition.
36533 (PSEUDO_END): Likewise.
36534 [IS_IN (libpthread)] (CENABLE): Likewise.
36535 [IS_IN (libpthread)] (CDISABLE): Likewise.
36536 [IS_IN (libc)] (CENABLE): Likewise.
36537 [IS_IN (libc)] (CENABLE): Likewise.
36538 [IS_IN (librt)] (CDISABLE): Likewise.
36539 [IS_IN (librt)] (CDISABLE): Likewise.
36540 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36541 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
36542 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
36543 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
36544 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
36545 definition.
36546 (PSEUDO_END): Likewise.
36547 [IS_IN (libpthread)] (CENABLE): Likewise.
36548 [IS_IN (libpthread)] (CDISABLE): Likewise.
36549 [IS_IN (libc)] (CENABLE): Likewise.
36550 [IS_IN (libc)] (CENABLE): Likewise.
36551 [IS_IN (librt)] (CDISABLE): Likewise.
36552 [IS_IN (librt)] (CDISABLE): Likewise.
36553 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36554 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
36555 definition.
36556 (PSEUDO_END): Likewise.
36557 [IS_IN (libpthread)] (CENABLE): Likewise.
36558 [IS_IN (libpthread)] (CDISABLE): Likewise.
36559 [IS_IN (libc)] (CENABLE): Likewise.
36560 [IS_IN (libc)] (CENABLE): Likewise.
36561 [IS_IN (librt)] (CDISABLE): Likewise.
36562 [IS_IN (librt)] (CDISABLE): Likewise.
36563 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36564 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
36565 definition.
36566 (PSEUDO_END): Likewise.
36567 [IS_IN (libpthread)] (CENABLE): Likewise.
36568 [IS_IN (libpthread)] (CDISABLE): Likewise.
36569 [IS_IN (libc)] (CENABLE): Likewise.
36570 [IS_IN (libc)] (CENABLE): Likewise.
36571 [IS_IN (librt)] (CDISABLE): Likewise.
36572 [IS_IN (librt)] (CDISABLE): Likewise.
36573 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36574 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
36575 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36576 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
36577 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
36578 definition.
36579 (PSEUDO_END): Likewise.
36580 [IS_IN (libpthread)] (CENABLE): Likewise.
36581 [IS_IN (libpthread)] (CDISABLE): Likewise.
36582 [IS_IN (libc)] (CENABLE): Likewise.
36583 [IS_IN (libc)] (CENABLE): Likewise.
36584 [IS_IN (librt)] (CDISABLE): Likewise.
36585 [IS_IN (librt)] (CDISABLE): Likewise.
36586 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36587 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
36588 definition.
36589 (PSEUDO_END): Likewise.
36590 [IS_IN (libpthread)] (CENABLE): Likewise.
36591 [IS_IN (libpthread)] (CDISABLE): Likewise.
36592 [IS_IN (libc)] (CENABLE): Likewise.
36593 [IS_IN (libc)] (CENABLE): Likewise.
36594 [IS_IN (librt)] (CDISABLE): Likewise.
36595 [IS_IN (librt)] (CDISABLE): Likewise.
36596 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36597
8aa48656
SN
365982017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
36599
36600 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
36601
fcaaca41
L
366022017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36603
36604 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36605
376b40a2
L
366062017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36607
36608 [BZ #21982]
36609 * string/stratcliff.c (do_test): Declare size, nchars, inner,
36610 middle and outer with size_t instead of int. Repleace %d and
36611 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
36612 "MAX (outer, nchars - 64)" to support unsigned outer and
36613 nchars. Also exit loop when outer == 0.
36614
2b0b9a1c
AZ
366152017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36616
36617 * include/fcntl.h (__fcntl_nocancel): Remove definition.
36618 * include/signal.h (__sigsuspend_nocancel): Likewise.
36619 * include/time.h (__nanosleep_nocancel): Likewise.
36620 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
36621 * login/utmp_file.c: Include non cancellable syscall header.
36622 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
36623 prototype.
36624
b9eaca8f
L
366252017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36626
36627 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
36628 .byte sequences with AVX512F instructions.
36629 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
36630 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
36631 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
36632 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
36633 Likewise.
36634 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
36635 Likewise.
36636
5a706f64
SE
366372017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
36638 Steve Ellcey <sellcey@cavium.com>
36639
36640 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
36641 Use PTR_REG macro in cmp instruction.
36642
b513da7e
GG
366432017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36644
36645 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
36646 Change the return type of the ifunc resolver to match the return
36647 type of the target function.
36648
78ca091c
AZ
366492017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36650
b70b6026
AZ
36651 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
36652 (preadv64): Likewise.
36653 (pwrite64(: Likewise.
36654 (pwritev64): Likewise.
36655
78ca091c
AZ
36656 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
36657 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
36658 (LOAD_ARGS_0): Likewise.
36659 (LOAD_ARGS_1): Likewise.
36660 (LOAD_ARGS_2): Likewise.
36661 (LOAD_ARGS_3): Likewise.
36662 (LOAD_ARGS_4): Likewise.
36663 (LOAD_ARGS_5): Likewise.
36664 (LOAD_ARGS_6): Likewise.
36665 (LOAD_REGS_0): Likewise.
36666 (LOAD_REGS_1): Likewise.
36667 (LOAD_REGS_2): Likewise.
36668 (LOAD_REGS_3): Likewise.
36669 (LOAD_REGS_4): Likewise.
36670 (LOAD_REGS_5): Likewise.
36671 (LOAD_REGS_6): Likewise.
36672 (ASM_ARGS_0): Likewise.
36673 (ASM_ARGS_1): Likewise.
36674 (ASM_ARGS_2): Likewise.
36675 (ASM_ARGS_3): Likewise.
36676 (ASM_ARGS_4): Likewise.
36677 (ASM_ARGS_5): Likewise.
36678 (ASM_ARGS_6): Likewise.
36679 (LOAD_ARGS_TYPES_1): Likewise.
36680 (LOAD_ARGS_TYPES_2): Likewise.
36681 (LOAD_ARGS_TYPES_3): Likewise.
36682 (LOAD_ARGS_TYPES_4): Likewise.
36683 (LOAD_ARGS_TYPES_5): Likewise.
36684 (LOAD_ARGS_TYPES_6): Likewise.
36685 (LOAD_REGS_TYPES_1): Likewise.
36686 (LOAD_REGS_TYPES_2): Likewise.
36687 (LOAD_REGS_TYPES_3): Likewise.
36688 (LOAD_REGS_TYPES_4): Likewise.
36689 (LOAD_REGS_TYPES_5): Likewise.
36690 (LOAD_REGS_TYPES_6): Likewise.
36691 (TYPEFY): New define.
36692 (ARGIFY): Likewise.
36693 (internal_syscall0): Likewise.
36694 (internal_syscall1): Likewise.
36695 (internal_syscall2): Likewise.
36696 (internal_syscall3): Likewise.
36697 (internal_syscall4): Likewise.
36698 (internal_syscall5): Likewise.
36699 (internal_syscall6): Likewise.
36700 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
36701 (INTERNAL_SYSCALL_NCS): Remove define.
36702 (internal_syscall1): Add define.
36703
453a493d
GG
367042017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36705
36706 * math/w_remainder_compat.c: Remove duplicate inclusion of
36707 math-svid-compat.h.
36708 * math/w_remainderf_compat.c: Likewise.
36709 * math/w_remainderl_compat.c: Likewise.
36710
f2f048a5
GG
367112017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36712
36713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36714
d9bef9c0
JM
367152017-08-22 Joseph Myers <joseph@codesourcery.com>
36716
36717 [BZ #21684]
36718 * math/tgmath.h (__floating_type): Simplify definitions.
36719 (__real_integer_type): New macro.
36720 (__complex_integer_type): Likewise.
36721 (__expr_is_real): Likewise.
36722 (__tgmath_real_type_sub): Update comment to describe handling of
36723 complex types.
36724 (__tgmath_complex_type_sub): New macro.
36725 (__tgmath_complex_type): Likewise.
36726 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
36727 (__TGMATH_CF128): Use __expr_is_real.
36728 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
36729 __expr_is_real.
36730 (__TGMATH_BINARY_REAL_IMAG): Likewise.
36731 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
36732 * math/gen-tgmath-tests.py (Type.create_type): Create complex
36733 integer types.
36734
08d6eb46
AZ
367352017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36736
988f991b
AZ
36737 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
36738 macro.
36739 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
36740 alias.
36741 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
36742 Likewise.
36743
6f33fd04
AZ
36744 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
36745 nanosleep_not_cancel with __nanosleep_nocancel.
36746 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
36747 (__nanosleep_nocancel): New macro.
36748 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
36749 function.
36750 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
36751 macro.
36752 (__nanosleep_nocancel): New prototype.
36753
08d6eb46
AZ
36754 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
36755 pause_not_cancel with __pause_nocancel.
36756 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
36757 (__pause_nocancel): New macro.
36758 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
36759 macro.
36760 (__pause_nocancel): New prototype.
36761 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
36762
ee4e992e
MS
367632017-08-22 Martin Sebor <msebor@redhat.com>
36764
36765 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
36766 to return a pointer to the same type as the target function.
36767
20962acb
L
367682017-08-22 H.J. Lu <hongjiu.lu@intel.com>
36769
36770 [BZ #18822]
36771 [BZ #21986]
36772 * include/printf.h (__printf_fphex): Add attribute_hidden.
36773 (__guess_grouping): New prototype.
36774 * stdio-common/printf_fp.c (__guess_grouping): Removed.
36775 * stdio-common/reg-printf.c (__register_printf_specifier): Add
36776 libc_hidden_proto and libc_hidden_def.
36777 * stdlib/strfmon_l.c (__guess_grouping): Removed.
36778 (__vstrfmon_l): Remove the third argument passed to
36779 __guess_grouping.
36780
a16e8bc0
GG
367812017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36782
36783 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
36784 definition for issignaling that does not rely on __MATH_TG,
36785 since __MATH_TG uses __builtin_types_compatible_p, which is only
36786 available in C mode.
36787 (CFLAGS-test-math-issignaling.cc): New variable.
36788 * math/Makefile [CXX] (tests): Add test-math-issignaling.
36789 * math/test-math-issignaling.cc: New test for C++ implementation
36790 of type-generic issignaling.
36791 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
36792 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
36793 options of test-math-issignaling on powerpc64le.
36794
8d2ec553
L
367952017-08-22 H.J. Lu <hongjiu.lu@intel.com>
36796
36797 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36798 building libc.a.
36799 (hidden_proto): Likewise.
36800 (hidden_tls_proto): Likewise.
36801 (__hidden_proto): Likewise.
36802
a4d57b79
FW
368032017-08-22 Florian Weimer <fweimer@redhat.com>
36804
36805 math: Statically link tests of internal functionality.
36806 * math/Makefile (tests): Remove atest-exp, atest-sincos,
36807 atest-exp2.
36808 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
36809 (gmp-objs): Remove assignment.
36810 (atest-exp, atest-sincos, atest-exp2): Remove targets.
36811
75dfe623
JM
368122017-08-22 Joseph Myers <joseph@codesourcery.com>
36813
80f91666
JM
36814 [BZ #21987]
36815 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
36816 and copy to ...
36817 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
36818 ... here.
36819 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
36820 ... and here.
36821
75dfe623
JM
36822 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
36823 variable definitions above inclusion of ../Rules.
36824
ea99fcd0
JM
368252017-08-21 Joseph Myers <joseph@codesourcery.com>
36826
36827 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
36828 case calling __builtin_unreachable.
36829
19926de9
AZ
368302017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36831
a8410a5f
AZ
36832 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
36833 __waitpid_nocancel.
36834 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
36835 (__waitpid_nocancel): New macro.
36836 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
36837 macro.
36838 (__waitpid_nocancel): Replace macro with a function.
36839 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
36840 function.
36841
7369800c
AZ
36842 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
36843 __fcntl_nocancel.
36844 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
36845 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
36846
19926de9
AZ
36847 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
36848 __writev_nocancel_nostatus.
36849 (write_call_graph): Likewise.
36850 (write_bb_counts): Likewise.
36851 * resolv/herror.c (herror): Likewise.
36852 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
36853 macro.
36854 (__writev_nocancel_nostatus): New macro.
36855 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
36856 Remove macro.
36857 (__writev_nocancel_nostatus): New function.
36858
813378e9
JM
368592017-08-21 Joseph Myers <joseph@codesourcery.com>
36860
df1deda6
JM
36861 Revert:
36862 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36863
36864 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36865 building libc.a.
36866 (hidden_proto): Likewise.
36867 (hidden_tls_proto): Likewise.
36868 (__hidden_proto): Likewise.
36869
831bbd55
JM
36870 [BZ #21973]
36871 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
36872 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
36873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
36874 Likewise.
36875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
36876 Likewise.
36877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
36878 Likewise.
36879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
36880 Likewise.
36881 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
36882 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
36883 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
36884 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
36885 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
36886 GLIBC_2.0 sqrtl symbol.
36887
813378e9
JM
36888 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
36889 [__USE_MISC] (_LIB_VERSION): Likewise.
36890 [__USE_MISC] (struct exception): Likewise.
36891 [__USE_MISC] (matherr): Likewise.
36892 [__USE_MISC] (DOMAIN): Likewise.
36893 [__USE_MISC] (SING): Likewise.
36894 [__USE_MISC] (OVERFLOW): Likewise.
36895 [__USE_MISC] (UNDERFLOW): Likewise.
36896 [__USE_MISC] (TLOSS): Likewise.
36897 [__USE_MISC] (PLOSS): Likewise.
36898 [__USE_MISC] (HUGE): Likewise.
36899 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
36900 * math/math-svid-compat.h: New file.
36901 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
36902 and matherrl.
36903 * include/math.h [!_ISOMAC] (__matherr): Remove.
36904 * manual/arith.texi (FP Exceptions): Do not document matherr.
36905 * math/Makefile (tests): Change test-matherr to test-matherr-3.
36906 (tests-internal): New variable.
36907 (install-lib): Do not add libieee.a.
36908 (non-lib.a): Likewise.
36909 (extra-objs): Do not add libieee.a and ieee-math.o.
36910 (CPPFLAGS-s_lib_version.c): Remove variable.
36911 ($(objpfx)libieee.a): Remove rule.
36912 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
36913 * math/ieee-math.c: Remove.
36914 * math/libm-test-support.c (matherr): Remove.
36915 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
36916 and license notices. Include <math-svid-compat.h> and
36917 <shlib-compat.h>.
36918 (matherr): Undefine as macro. Use compat_symbol_reference.
36919 (_LIB_VERSION): Likewise.
36920 * math/test-matherr-2.c: New file.
36921 * math/test-matherr-3.c: Likewise.
36922 * sysdeps/generic/math_private.h (__kernel_standard): Remove
36923 declaration.
36924 (__kernel_standard_f): Likewise.
36925 (__kernel_standard_l): Likewise.
36926 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
36927 <math_private.h>. Include <math-svid-compat.h>.
36928 (_LIB_VERSION): Undefine as macro.
36929 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
36930 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
36931 [LIBM_SVID_COMPAT], use compat_symbol.
36932 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
36933 <math_private.h>. Include <math-svid-compat.h>.
36934 (matherr): Undefine as macro.
36935 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
36936 compat_symbol.
36937 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
36938 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
36939 compat_symbol_reference.
36940 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
36941 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
36942 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
36943 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
36944 (MATHERR_D): Remove declaration.
36945 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
36946 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
36947 [LIBM_BUILD] (pmatherrf): Likewise.
36948 [LIBM_BUILD] (pmatherr): Likewise.
36949 [LIBM_BUILD] (pmatherrl): Likewise.
36950 (DOMAIN): Likewise.
36951 (SING): Likewise.
36952 (OVERFLOW): Likewise.
36953 (UNDERFLOW): Likewise.
36954 (TLOSS): Likewise.
36955 (PLOSS): Likewise.
36956 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
36957 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
36958 compat_symbol.
36959 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
36960 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
36961 compat_symbol.
36962 * math/lgamma-compat.h: Include <math-svid-compat.h>.
36963 * math/w_acos_compat.c: Likewise.
36964 * math/w_acosf_compat.c: Likewise.
36965 * math/w_acosh_compat.c: Likewise.
36966 * math/w_acoshf_compat.c: Likewise.
36967 * math/w_acoshl_compat.c: Likewise.
36968 * math/w_acosl_compat.c: Likewise.
36969 * math/w_asin_compat.c: Likewise.
36970 * math/w_asinf_compat.c: Likewise.
36971 * math/w_asinl_compat.c: Likewise.
36972 * math/w_atan2_compat.c: Likewise.
36973 * math/w_atan2f_compat.c: Likewise.
36974 * math/w_atan2l_compat.c: Likewise.
36975 * math/w_atanh_compat.c: Likewise.
36976 * math/w_atanhf_compat.c: Likewise.
36977 * math/w_atanhl_compat.c: Likewise.
36978 * math/w_cosh_compat.c: Likewise.
36979 * math/w_coshf_compat.c: Likewise.
36980 * math/w_coshl_compat.c: Likewise.
36981 * math/w_exp10_compat.c: Likewise.
36982 * math/w_exp10f_compat.c: Likewise.
36983 * math/w_exp10l_compat.c: Likewise.
36984 * math/w_exp2_compat.c: Likewise.
36985 * math/w_exp2f_compat.c: Likewise.
36986 * math/w_exp2l_compat.c: Likewise.
36987 * math/w_fmod_compat.c: Likewise.
36988 * math/w_fmodf_compat.c: Likewise.
36989 * math/w_fmodl_compat.c: Likewise.
36990 * math/w_hypot_compat.c: Likewise.
36991 * math/w_hypotf_compat.c: Likewise.
36992 * math/w_hypotl_compat.c: Likewise.
36993 * math/w_j0_compat.c: Likewise.
36994 * math/w_j0f_compat.c: Likewise.
36995 * math/w_j0l_compat.c: Likewise.
36996 * math/w_j1_compat.c: Likewise.
36997 * math/w_j1f_compat.c: Likewise.
36998 * math/w_j1l_compat.c: Likewise.
36999 * math/w_jn_compat.c: Likewise.
37000 * math/w_jnf_compat.c: Likewise.
37001 * math/w_jnl_compat.c: Likewise.
37002 * math/w_lgamma_main.c: Likewise.
37003 * math/w_lgamma_r_compat.c: Likewise.
37004 * math/w_lgammaf_main.c: Likewise.
37005 * math/w_lgammaf_r_compat.c: Likewise.
37006 * math/w_lgammal_main.c: Likewise.
37007 * math/w_lgammal_r_compat.c: Likewise.
37008 * math/w_log10_compat.c: Likewise.
37009 * math/w_log10f_compat.c: Likewise.
37010 * math/w_log10l_compat.c: Likewise.
37011 * math/w_log2_compat.c: Likewise.
37012 * math/w_log2f_compat.c: Likewise.
37013 * math/w_log2l_compat.c: Likewise.
37014 * math/w_log_compat.c: Likewise.
37015 * math/w_logf_compat.c: Likewise.
37016 * math/w_logl_compat.c: Likewise.
37017 * math/w_pow_compat.c: Likewise.
37018 * math/w_powf_compat.c: Likewise.
37019 * math/w_powl_compat.c: Likewise.
37020 * math/w_remainder_compat.c: Likewise.
37021 * math/w_remainderf_compat.c: Likewise.
37022 * math/w_remainderl_compat.c: Likewise.
37023 * math/w_scalb_compat.c: Likewise.
37024 * math/w_scalbf_compat.c: Likewise.
37025 * math/w_scalbl_compat.c: Likewise.
37026 * math/w_sinh_compat.c: Likewise.
37027 * math/w_sinhf_compat.c: Likewise.
37028 * math/w_sinhl_compat.c: Likewise.
37029 * math/w_sqrt_compat.c: Likewise.
37030 * math/w_sqrtf_compat.c: Likewise.
37031 * math/w_sqrtl_compat.c: Likewise.
37032 * math/w_tgamma_compat.c: Likewise.
37033 * math/w_tgammaf_compat.c: Likewise.
37034 * math/w_tgammal_compat.c: Likewise.
37035 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
37036 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
37037 * sysdeps/ieee754/k_standard.c: Likewise.
37038 * sysdeps/ieee754/k_standardf.c: Likewise.
37039 * sysdeps/ieee754/k_standardl.c: Likewise.
37040 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
37041 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
37042 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
37043 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
37044 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
37045 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
37046 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
37047 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
37048 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
37049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
37050 Likewise.
37051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
37052 Likewise.
37053 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
37054 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
37055 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
37056 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
37057
4504783c
FW
370582017-08-21 Florian Weimer <fweimer@redhat.com>
37059
37060 [BZ #21864]
37061 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
37062 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
37063 Move before inclusion of ../Rules.
37064
b5889d25
FW
370652017-08-21 Florian Weimer <fweimer@redhat.com>
37066
37067 [BZ #21972]
37068 * assert/assert.h (assert): Use static_cast (bool) for C++.
37069 Use the ternary operator in the warning branch for GNU C.
37070 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
37071 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
37072 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
37073 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
37074 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
37075
41e673c1
L
370762017-08-21 H.J. Lu <hongjiu.lu@intel.com>
37077
37078 [BZ #18822]
37079 * sysdeps/unix/sysv/linux/x86_64/init-first.c
37080 (__syscall_clock_gettime): Add attribute_hidden.
37081 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
37082 (__start_context): Likewise.
37083
568ff429
L
370842017-08-21 H.J. Lu <hongjiu.lu@intel.com>
37085
37086 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
37087 building libc.a.
37088 (hidden_proto): Likewise.
37089 (hidden_tls_proto): Likewise.
37090 (__hidden_proto): Likewise.
37091
7c41b4a1
L
370922017-08-21 H.J. Lu <hongjiu.lu@intel.com>
37093
37094 * include/libc-symbols.h (attribute_hidden): Enable hidden
37095 visibility in libc.a compiled with PIE.
37096
483d7068
L
370972017-08-21 H.J. Lu <hongjiu.lu@intel.com>
37098
37099 [BZ #18822]
37100 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
37101 Add attribute_hidden.
37102
371032017-08-21 H.J. Lu <hongjiu.lu@intel.com>
37104
37105 [BZ #21864]
37106 * Makerules (all-nonlib): Add $(others-extras).
37107 * catgets/Makefile (others-extras): New.
37108 * elf/Makefile (others-extras): Likewise.
37109 * nss/Makefile (others-extras): Likewise.
37110
54e4b8f2
L
371112017-08-21 H.J. Lu <hongjiu.lu@intel.com>
37112
37113 [BZ #18822]
37114 * csu/libc-start.c (__libc_multiple_libcs): Removed.
37115 * elf/dl-open.c: Include <libc-internal.h>.
37116 (__libc_multiple_libcs): Removed.
37117 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
37118 <hp-timing.h>.
37119 * include/libc-internal.h (__libc_multiple_libcs): New.
37120 * misc/sbrk.c: Include <libc-internal.h>.
37121 (__libc_multiple_libcs): Removed.
37122
1dbbb1ec
L
371232017-08-21 H.J. Lu <hongjiu.lu@intel.com>
37124
37125 [BZ #18822]
37126 * grp/initgroups.c (__nss_group_database): Removed.
37127 (__nss_initgroups_database): Likewise.
37128 * nscd/gai.c (__nss_hosts_database): Likewise.
37129 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
37130 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
37131 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
37132 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
37133 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
37134 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
37135 attribute_hidden.
37136 * nss/nsswitch.c (__nss_database_custom): Define only if
37137 USE_NSCD is defined.
37138 (__nss_configure_lookup): Use __nss_database_custom only if
37139 USE_NSCD is defined.
37140 * nss/nsswitch.h (__nss_database_custom): Declare only if
37141 USE_NSCD is defined. Add attribute_hidden.
37142 (__nss_setent): Add attribute_hidden.
37143 (__nss_endent): Likewise.
37144 (__nss_getent_r): Likewise.
37145 (__nss_getent): Likewise.
37146 (DEFINE_DATABASE): Declare __nss_##arg##_database.
37147
2585d7b8
L
371482017-08-20 H.J. Lu <hongjiu.lu@intel.com>
37149
37150 [BZ #18822]
37151 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
37152 libc_hidden_proto and libc_hidden_def.
37153
c8dfa99c
L
371542017-08-20 H.J. Lu <hongjiu.lu@intel.com>
37155
37156 [BZ #18822]
37157 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
37158 Add libc_hidden_proto.
37159 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
37160 Add libc_hidden_def.
37161
7ed87317
L
371622017-08-20 H.J. Lu <hongjiu.lu@intel.com>
37163
37164 [BZ #21974]
37165 * gmon/Makefile (routines): Remove bb_init_func and
37166 bb_exit_func.
37167 (elide-routines.os): Removed.
9476b904
L
37168 * gmon/bb_exit_func.c: Likewise.
37169 * gmon/bb_init_func.c: Likewise.
7ed87317
L
37170 * include/sys/gmon.h (__bb): Likewise.
37171 (__bb_init_func): Likewise.
37172 (__bb_exit_func): Likewise.
91695eb1 37173 * sysdeps/alpha/bb_init_func.S: Likewise.
7ed87317 37174
94e6ba15
L
371752017-08-20 H.J. Lu <hongjiu.lu@intel.com>
37176
37177 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
37178 * include/setjmp.h (____longjmp_chk): Here. Add
37179 attribute_hidden.
37180
7550717e
L
371812017-08-19 H.J. Lu <hongjiu.lu@intel.com>
37182
37183 [BZ #18822]
37184 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
37185 attribute_hidden.
37186 (__strspn_sse2): Likewise.
37187
0bb2fabc
AZ
371882017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37189
c181840c
AZ
37190 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
37191 (close_not_cancel_no_status): Likewise.
37192 (__close_nocancel): New macro.
37193 (__close_nocancel_nostatus): Likewise.
37194 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
37195 macro.
37196 (close_not_cancel): Likewise.
37197 (close_not_cancel_no_status): Likewise.
37198 (__close_nocancel): New prototype.
37199 (__close_nocancel_nostatus): New function.
37200 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
37201 * catgets/open_catalog.c (__open_catalog): Replace
37202 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
37203 * gmon/gmon.c (write_gmon): Likewise.
37204 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
37205 * intl/loadmsgcat.c (close): Likewise.
37206 * io/ftw.c (open_dir_stream): Likewise.
37207 (ftw_startup): Likewise.
37208 * libio/fileops.c (_IO_file_open): Likewise.
37209 (_IO_file_close_mmap): Likewise.
37210 (_IO_file_close): Likewise.
37211 * libio/iopopen.c (_IO_dup2): Likewise.
37212 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
37213 * locale/loadlocale.c (_nl_load_locale): Likewise.
37214 * login/utmp_file.c (pututline_file): Likewise.
37215 (endutent_file): Likewise.
37216 * misc/daemon.c (daemon): Likewise.
37217 * nscd/nscd_getai.c (__nscd_getai): Likewise.
37218 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
37219 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
37220 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
37221 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
37222 * nscd/nscd_helper.c (open_socket): Likewise.
37223 (__nscd_open_socket): Likewise.
37224 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
37225 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
37226 (__nscd_innetgr): Likewise.
37227 * nss/nss_db/db-open.c (internal_setent): Likewise.
37228 * resolv/res-close.c (__res_iclose): Likewise.
37229 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
37230 * sysdeps/posix/closedir.c (__closedir): Likewise.
37231 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
37232 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
37233 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
37234 (opendir_tail): Likewise.
37235 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
37236 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
37237 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
37238 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
37239 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
37240 (gethostid): Likewise.
37241 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
37242 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37243 Likewise.
37244 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
37245 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
37246 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
37247 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
37248 Likewise.
37249 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
37250 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
37251 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
37252 Likewise.
37253 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
37254 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
37255 Likewise.
37256 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
37257 Likewise.
37258 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
37259 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
37260 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
37261 __close_nocancel.
37262
0bb2fabc
AZ
37263 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
37264 (openat_not_cancel_3): Likewise.
37265 (openat64_not_cancel_3): Likewise).
37266 (openat_not_cancel_3): Likewise).
37267 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
37268 macro.
37269 (openat_not_cancel_3): Likewise.
37270 (openat64_not_cancel): Likewise.
37271 (openat64_not_cancel_3): Likewise.
37272 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
37273 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
37274 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
37275 __open{64}_nocancel.
37276 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
37277 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
37278 * sysdeps/posix/opendir.c (__opendirat): Likewise.
37279
65a086db
L
372802017-08-18 H.J. Lu <hongjiu.lu@intel.com>
37281
37282 [BZ #18822]
37283 * include/argz.h (__argz_create_sep): New function prototype.
37284 (__argz_append): Likewise.
37285 (__argz_add): Likewise.
37286 (__argz_add_sep): Likewise.
37287 (__argz_delete): Likewise.
37288 (__argz_insert): Likewise.
37289 (__argz_replace): Likewise.
37290 * string/argz.h (__argz_create_sep): Removed.
37291 (__argz_append): Likewise.
37292 (__argz_add): Likewise.
37293 (__argz_add_sep): Likewise.
37294 (__argz_delete): Likewise.
37295 (__argz_insert): Likewise.
37296 (__argz_replace): Likewise.
37297
62753d2c
L
372982017-08-18 H.J. Lu <hongjiu.lu@intel.com>
37299
37300 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
37301 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
37302 (GNU_PROPERTY_STACK_SIZE): Likewie.
37303 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
37304 (GNU_PROPERTY_LOPROC): Likewise.
37305 (GNU_PROPERTY_HIPROC): Likewise.
37306 (GNU_PROPERTY_LOUSER): Likewise.
37307 (GNU_PROPERTY_HIUSER): Likewise.
37308 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
37309 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
37310 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
37311 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
37312 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
37313 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
37314 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
37315 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
37316 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
37317 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
37318 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
37319 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
37320 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
37321 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
37322 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
37323 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
37324 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
37325 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
37326 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
37327 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
37328 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
37329 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
37330 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
37331
6913ad65
GG
373322017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
37333
37334 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
37335 in C++ mode.
37336
47a67213
GG
373372017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
37338
37339 [BZ #21930]
37340 * math/math.h (isinf): Check if in C or C++ mode before using
37341 __builtin_types_compatible_p, since this is a C mode feature.
37342
a748eb31
AZ
373432017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37344
c647fb88
AZ
37345 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
37346 (__write_nocancel): New macro.
37347 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
37348 Rewrite as a function prototype.
37349 (write_not_cancel): Remove macro.
37350 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
37351 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
37352 (write_gmon): Likewise.
37353 * libio/fileops.c (_IO_new_file_write): Likewise.
37354 * login/utmp_file.c (pututline_file): Likewise.
37355 (updwtmp_file): Likewise.
37356 * stdio-common/psiginfo.c (psiginfo): Likewise.
37357 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
37358 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
37359 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
37360 Likewise.
37361 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
37362 Likewise.
37363
a748eb31
AZ
37364 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
37365 (__read_nocancel): New macro.
37366 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
37367 __read_nocancel.
37368 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
37369 macro.
37370 (__read_nocancel): New prototype.
37371 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
37372 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
37373 with __read_nocancel.
37374 * intl/loadmsgcat.c (read): Likewise.
37375 * libio/fileops.c (_IO_file_read): Likewise.
37376 * locale/loadlocale.c (_nl_load_locale): Likewise.
37377 * login/utmp_file.c (getutent_r_file): Likewise.
37378 (internal_getut_r): Likewise.
37379 (getutline_r_file): Likewise.
37380 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
37381 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
37382 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
37383 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37384 Likewise.
37385 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
37386 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
37387 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
37388 Likewise.
37389 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
37390 Likewise.
37391 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
37392 Likewise.
37393 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
37394 Likewise.
37395 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
37396
098b9dd4
L
373972017-08-18 H.J. Lu <hongjiu.lu@intel.com>
37398
37399 [BZ #21966]
37400 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
37401 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
37402 usable.
37403
a3fe6a20
DD
374042017-08-17 DJ Delorie <dj@redhat.com>
37405
37406 * bug17079.c: Update to new test harness.
37407 * test-digits-dots.c: Likewise.
37408 * test-netdb.c: Likewise.
37409 * tst-field.c: Likewise.
37410 * tst-nss-getpwent.c: Likewise.
37411 * tst-nss-static.c: Likewise.
37412 * tst-nss-test1.c: Likewise.
37413 * tst-nss-test2.c: Likewise.
37414 * tst-nss-test3.c: Likewise.
37415 * tst-nss-test4.c: Likewise.
37416 * tst-nss-test5.c: Likewise.
37417
c2284574
AZ
374182017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37419
37420 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
37421 (open_not_cancel_2): Likewise.
37422 (open_nocancel): New macro.
37423 (open64_nocancel): Likewise.
37424 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
37425 (open_not_cancel_2): Likewise.
37426 (__open_nocancel): New prototype.
37427 (__open64_nocancel): Likewise.
37428 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
37429 __open_nocancel.
37430 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
37431 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
37432 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
37433 with __open_nocancel.
37434 * csu/check_fds.c (check_one_fd): Likewise.
37435 * gmon/gmon.c (write_gmon): Likewise.
37436 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
37437 * intl/loadmsgcat.c (open): Likewise.
37438 * libio/fileops.c (_IO_file_open): Likewise.
37439 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
37440 * locale/loadlocale.c (_nl_load_locale): Likewise.
37441 * login/utmp_file.c (setutent_file): Likewise.
37442 * misc/daemon.c (daemon): Likewise.
37443 * nss/nss_db/db-open.c (internal_setent): Likewise.
37444 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
37445 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
37446 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
37447 (__opendir): Likewise.
37448 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
37449 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
37450 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
37451 (gethostid): Likewise.
37452 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
37453 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37454 Likewise.
37455 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
37456 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
37457 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
37458 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
37459 Likewise.
37460 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
37461 Likewise.
37462 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
37463 Likewise.
37464 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
37465 Likewise.
37466 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
37467 Likewise.
37468 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
37469 Likewise.
37470 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
37471 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
37472
d4505b89
WD
374732017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
37474
37475 * benchtests/bench-skeleton.c (main): Add support for
37476 latency benchmarking.
37477 * benchtests/scripts/bench.py: Add support for latency benchmarking.
37478
34d6a3cb
L
374792017-08-17 H.J. Lu <hongjiu.lu@intel.com>
37480
37481 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
37482 the startup object.
37483
038d1caf
FW
374842017-08-17 Florian Weimer <fweimer@redhat.com>
37485
37486 * include/sys/socket.h (__opensock): Remove internal_function.
37487 * socket/opensock.c (__opensock): Likewise.
37488 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
37489
67f0aff0
JM
374902017-08-16 Joseph Myers <joseph@codesourcery.com>
37491
37492 [BZ #21944]
37493 * signal/bits/types/__sigval_t.h: New file.
37494 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
37495 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
37496 and define sigval_t using __sigval_t.
37497 * include/bits/types/__sigval_t.h: New file.
37498 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
37499 instead of <bits/types/__sigval_t.h>.
37500 (struct sigevent): Use __sigval_t instead of sigval_t.
37501 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
37502 instead of <bits/types/__sigval_t.h>.
37503 (siginfo_t): Use __sigval_t instead of sigval_t.
37504 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
37505 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
37506 (struct sigevent): Use __sigval_t instead of sigval_t.
37507 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
37508 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
37509 (siginfo_t): Use __sigval_t instead of sigval_t.
37510 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
37511
87e7bf4d
L
375122017-08-16 H.J. Lu <hongjiu.lu@intel.com>
37513
37514 * NEWS: Remove "[Add new features here]" for 2.27.
37515
5047057f
JM
375162017-08-16 Joseph Myers <joseph@codesourcery.com>
37517
37518 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
37519 libc.so.
37520
20c7b195
L
375212017-08-16 H.J. Lu <hongjiu.lu@intel.com>
37522
37523 * NEWS: Mention x86-64 FMA optimization.
37524
24a2e658
L
375252017-08-16 H.J. Lu <hongjiu.lu@intel.com>
37526
37527 [BZ #21912]
37528 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37529 Add e_expf-fma.
37530 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
37531 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
37532 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
37533
eedca977
AS
375342017-08-16 Andreas Schwab <schwab@suse.de>
37535
403143e1
FW
37536 [BZ #16750]
37537 CVE-2009-5064
eedca977
AS
37538 * elf/ldd.bash.in: Never run file directly.
37539
f59f7adb
L
375402017-08-15 H.J. Lu <hongjiu.lu@intel.com>
37541
37542 [BZ #21955]
37543 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
37544 (L(SP_INF_0)): Likewise.
37545
6b11a6ad
FW
375462017-08-15 Florian Weimer <fweimer@redhat.com>
37547
37548 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
37549 run-built-tests.
37550
bbf5c438
FW
375512017-08-15 Florian Weimer <fweimer@redhat.com>
37552
37553 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
37554 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
37555 BROKEN_THREAD_SIGNALS code.
37556 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
37557 request_list): Remove caller_pid member used for
37558 BROKEN_THREAD_SIGNALS.
37559 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
37560 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
37561 Remove BROKEN_THREAD_SIGNALS support.
37562 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
37563 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
37564
6014c65d
FW
375652017-08-15 Florian Weimer <fweimer@redhat.com>
37566
37567 * gmon/Makefile (tests): Add tst-gmon.
37568 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
37569 Set.
37570 (tests-special): Add tst-gmon-prof.out.
37571 (tst-gmon.out): Depend on clean-tst-gmon-data.
37572 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
37573 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
37574 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
37575 startup object.
37576 * aclocal.m4 (GPROF): Set and substitute.
37577 * config.amke.in (GPROF): Set.
37578 * configure: Regenerate.
37579
ee72219a
GR
375802017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
37581
37582 * elf/elf.h A (NT_PPC_TAR): New macro.
37583 (NT_PPC_PPR): Likewise.
37584 (NT_PPC_DSCR): Likewise.
37585 (NT_PPC_EBB): Likewise.
37586 (NT_PPC_PMU): Likewise.
37587 (NT_PPC_TM_CGPR): Likewise.
37588 (NT_PPC_TM_CFPR): Likewise.
37589 (NT_PPC_TM_CVMX): Likewise.
37590 (NT_PPC_TM_CVSX): Likewise.
37591 (NT_PPC_TM_SPR): Likewise.
37592 (NT_PPC_TM_CTAR): Likewise.
37593 (NT_PPC_TM_CPPR): Likewise.
37594 (NT_PPC_TM_CDSCR): Likewise.
37595
4ebf934e
FW
375962017-08-15 Florian Weimer <fweimer@redhat.com>
37597
37598 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
37599 regparm (2) instead of internal_function.
37600 (_MCOUNT_DECL): Adjust.
37601
e9f57484
SL
376022017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
37603
37604 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
37605 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
37606
88ff4d55
JM
376072017-08-14 Joseph Myers <joseph@codesourcery.com>
37608
37609 * conform/data/sys/wait.h-data (si_value): Do not expect for
37610 XPG42.
37611
c88ffc23
FW
376122017-08-14 Florian Weimer <fweimer@redhat.com>
37613
37614 [BZ #21962]
37615 NSS: Create stubs for accidentally exported lookup functions.
37616 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
37617 Remove declaration.
37618 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
37619 (ether_hostton): Call __nss_ethers_lookup2 instead.
37620 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
37621 (ether_ntohost): Call __nss_ethers_lookup2 instead.
37622 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
37623 (setup): Call __nss_netgroup_lookup2 instead.
37624 * nss/Makefile (routines): Add compat-lookup.
37625 * nss/Versions (GLIBC_2.27): Add symbol version.
37626 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
37627 (DB_COMPAT_FCT): Remove.
37628 * nss/compat-lookup.c: New file.
37629 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
37630 from databases.def.
37631 * nss/service-lookup.c (NO_COMPAT): Remove definition.
37632 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
37633 (netname2user): Call __nss_publickey_lookup2 instead.
37634 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
37635 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
37636 instead.
37637
35a29136 376382017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1f14d0c3
AZ
37639 Sergei Trofimovich <slyfox@inbox.ru>
37640
37641 [BZ #21908]
37642 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
37643 Rename to MMAP2_PAGE_UNIT.
37644 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
37645 __OFF_T_MATCHES_OFF64_T is not defined.
37646 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
37647 uint64_t.
37648 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
37649 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
37650
fbdc1e3e
FW
376512017-08-14 Florian Weimer <fweimer@redhat.com>
37652
37653 i386: Do not set internal_function.
37654 * config.h.in (USE_REGPARMS, internal_function): Remove.
37655 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
37656 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
37657
b3f85fd2
FW
376582017-08-14 Florian Weimer <fweimer@redhat.com>
37659
37660 * elf/dl-init.c (_dl_init): Remove internal_function.
37661 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
37662 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
37663
630bf491
FW
376642017-08-14 Florian Weimer <fweimer@redhat.com>
37665
37666 * elf/rtld.c (_dl_start): Remove internal_function.
37667 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
37668 _dl_start.
37669
9fa7449b
FW
376702017-08-14 Florian Weimer <fweimer@redhat.com>
37671
37672 * elf/dl-fini.c (_dl_fini): Remove internal_function
37673 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
37674
73322d5f
L
376752017-08-14 H.J. Lu <hongjiu.lu@intel.com>
37676
d863cd71 37677 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
73322d5f
L
37678 (bit_cpu_SHSTK): Likewise.
37679 (index_cpu_IBT): Likewise.
37680 (index_cpu_SHSTK): Likewise.
37681 (reg_IBT): Likewise.
37682 (reg_SHSTK): Likewise.
37683 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
37684 Handle index_cpu_IBT and index_cpu_SHSTK.
37685
dbc303ef
MF
376862017-08-14 Mike FABIAN <mfabian@redhat.com>
37687
37688 [BZ #19982]
37689 * po/fr.po: Fix spelling mistake.
37690
3012cfb0
FW
376912017-08-13 Florian Weimer <fweimer@redhat.com>
37692
37693 * elf/dl-addr.c (_dl_addr): Remove internal_function.
37694 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
37695 (_dl_catch_error, _dl_receive_error): Likewise.
37696 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
37697 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
37698 (_dl_deallocate_tls): Likewise.
37699 * include/dlfcn.h (_dl_addr): Likewise.
37700 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
37701 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
37702 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
37703 Likewise.
37704
52bcdf26
FW
377052017-08-13 Florian Weimer <fweimer@redhat.com>
37706
37707 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
37708 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
37709 internal_function.
37710 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
37711
e1d2ae8d
FW
377122017-08-13 Florian Weimer <fweimer@redhat.com>
37713
37714 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
37715 internal_function.
37716 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
37717 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
37718 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
37719 internal_function from _dl_make_stack_executable_hook member.
37720 (_dl_make_stack_executable): Remove internal_function.
37721 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
37722 Likewise.
37723 * sysdeps/unix/sysv/linux/dl-execstack.c
37724 (_dl_make_stack_executable): Likewise.
37725
c4ce0382
FW
377262017-08-13 Florian Weimer <fweimer@redhat.com>
37727
37728 * sysdeps/unix/sysv/linux/netlinkaccess.h
37729 (__netlink_assert_response): Remove internal_function.
37730 * sysdeps/unix/sysv/linux/netlink_assert_response.c
37731 (__netlink_assert_response): Likewise.
37732
c4d767f7
FW
377332017-08-13 Florian Weimer <fweimer@redhat.com>
37734
37735 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
37736 internal_function.
37737 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
37738
b2297409
FW
377392017-08-13 Florian Weimer <fweimer@redhat.com>
37740
37741 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
37742 internal_function.
37743 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
37744 * inet/netgroup.h (__internal_setnetgrent)
37745 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
37746 * inet/getnetgrent_r.c (__internal_setnetgrent)
37747 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
37748 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
37749 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
37750 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
37751 * nss/nsswitch.h (db_lookup_function): Likewise.
37752
1b0bfc69
FW
377532017-08-13 Florian Weimer <fweimer@redhat.com>
37754
37755 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
37756 Remove internal_function.
37757 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
37758 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
37759 message argument on the stack.
37760 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
37761 Likeweise.
37762
a6bd8722
MF
377632017-08-12 Mike FABIAN <mfabian@redhat.com>
37764
37765 Adapt test case data to the changes in the thousands
37766 separators.
37767
37768 [BZ #20756]
37769 * localedata/tst-langinfo.sh: Adapt test case data.
37770 * stdlib/tst-strfmon_l.c: Likewise.
37771 * stdlib/tst-strtod4.c: Likewise.
37772 * stdlib/tst-strtod5i.c: Likewise.
37773
8b2c63e4
FW
377742017-08-11 Florian Weimer <fweimer@redhat.com>
37775
37776 [BZ #21242]
37777 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
37778 Suppress pedantic warning resulting from statement expression.
37779 (__ASSERT_FUNCTION): Add missing __extension__.
37780
61c98291
SP
377812017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
37782
86c6519e
SP
37783 * benchtests/bench-memmove-large.c: Print output in JSON
37784 format.
37785 * benchtests/bench-memmove.c: Likewise.
37786
61c98291
SP
37787 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
37788 * benchtests/bench-memchr.c (do_one_test): Likewise.
37789 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
37790 * benchtests/bench-memcpy.c (do_one_test): Likewise.
37791 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
37792 * benchtests/bench-memmove.c (do_one_test): Likewise.
37793 * benchtests/bench-memset-large.c (do_one_test): Likewise.
37794 * benchtests/bench-memset.c (do_one_test): Likewise.
37795 * benchtests/bench-string.h (test_init): Remove memsets.
37796
925733a9
RJ
377972017-08-10 Rical Jasan <ricaljasan@pacific.net>
37798
37799 * manual/lang.texi
37800 (Computing the Width of an Integer Data Type): Rename section to
37801 "Width of an Integer Type". Remove inaccurate statement regarding
37802 lack of C language facilities for determining width of integer
37803 types, and reorder content to improve flow and context of
37804 discussion.
37805
4fcdfbfc
RJ
378062017-08-10 Rical Jasan <ricaljasan@pacific.net>
37807
37808 * lang.texi (va_copy): Change standard from ISO to C99.
37809 (__va_copy): Add standard and header annotation.
37810 Update description for clarity of origins and current use.
37811
4d98ace9
GG
378122017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
37813
37814 [BZ #21941]
37815 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
37816 xssqrtqp requires operands to be in Vector Registers
37817 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
37818 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
37819 (__ieee754_sqrtf128): Likewise.
37820
92236903
WD
378212017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
37822
37823 * sysdeps/aarch64/memcmp.S (memcmp):
37824 Rewrite of optimized memcmp.
37825
2449ae7b
FW
378262017-08-10 Florian Weimer <fweimer@redhat.com>
37827
37828 Introduce ld.so exceptions.
37829 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
37830 (_dl_exception_create, _dl_exception_create_format)
37831 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
37832 (_dl_catch_exception): Declare.
37833 (_dl_catch_error): Update comment.
37834 * elf/dl-error-skeleton.c (struct catch): Replace objname,
37835 errstring, malloced members with exception member.
37836 (_dl_out_of_memory): Remove.
37837 (fatal_error): New function, extracted from _dl_signal_error.
37838 (_dl_signal_exception, _dl_signal_cexception): New functions.
37839 (_dl_signal_error): Call _dl_exception_create to allocate an
37840 exception object.
37841 (_dl_catch_exception): New function, based on _dl_catch_error.
37842 (_dl_catch_error): Implement using _dl_catch_exception.
37843 * elf/dl-exception.c: New file.
37844 * elf/Makefile (dl-routines): Add dl-exception.
37845 (elide-routines.os): Likewise.
37846 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
37847 _dl_exception_create_format, _dl_exception_free.
37848 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
37849 _dl_signal_exception.
37850 * elf/dl-lookup.c (make_string): Remove.
37851 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
37852 _dl_signal_cexception, _dl_exception_free.
37853 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
37854 _dl_signal_exception.
37855 * elf/dl-sym.c (do_sym): Likewise.
37856 * elf/dl-version.c (make_string): Remove.
37857 (match_symbol): Use _dl_exception_create_format,
37858 _dl_signal_cexception, _dl_exception_free.
37859 (_dl_check_map_versions): Likewise.
37860 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
37861 _dl_catch_exception.
37862 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
37863 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
37864 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
37865 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
37866 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
37867 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
37868 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
37869 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
37870 Likewise.
37871 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
37872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
37873 (ld.so): Likewise.
37874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
37875 (ld.so): Likewise.
37876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
37877 Likewise.
37878 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
37879 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
37880 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
37881 Likewise.
37882 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
37883 Likewise.
37884 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
37885
f87cc2bf
FW
378862017-08-10 Florian Weimer <fweimer@redhat.com>
37887
37888 * inet/net-internal.h (__inet6_scopeid_pton): Remove
37889 attribute_hidden, internal_function.
37890 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
37891 internal_function.
37892
eac43cbb
FW
378932017-08-10 Florian Weimer <fweimer@redhat.com>
37894
37895 * malloc/malloc.c (get_max_fast): Reimplement as an inline
37896 function which calls __builtin_unreachable.
37897
bd80111e
MF
378982017-08-10 Mike FABIAN <mfabian@redhat.com>
37899
37900 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
37901 Indian monetary formatting
37902 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
37903 test cases.
37904
60e2846e
DL
379052017-08-09 Dmitry V. Levin <ldv@altlinux.org>
37906
68dc02d1
DL
37907 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
37908 Fix typo in comment.
37909
60e2846e
DL
37910 [BZ #21928]
37911 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
37912 PTRACE_SEIZE_DEVEL): Remove.
37913 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
37914 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
37915 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37916 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37917 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37918
3d452dab
JM
379192017-08-09 Joseph Myers <joseph@codesourcery.com>
37920
24d9f53a
JM
37921 * posix/bits/types.h (__qaddr_t): Remove.
37922
3d452dab
JM
37923 [BZ #21457]
37924 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
37925 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37926 __glibc_reserved1.
37927 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
37928 (ucontext_t): Use __ctx with uc_flags.
37929 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
37930 (__ctxt): Likewise.
37931 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37932 __glibc_reserved1.
37933 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
37934 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37935 __glibc_reserved1.
37936 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
37937 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37938 __glibc_reserved1.
37939 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
37940 macro.
37941 (ucontext_t): Use __ctx with uc_flags.
37942 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
37943 (ucontext_t): Use __ctx with uc_flags.
37944 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
37945 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
37946 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
37947 (ucontext_t): Use __ctx with uc_flags.
37948 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
37949 undefine further down.
37950 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37951 __glibc_reserved1.
37952 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
37953 undefine further down.
37954 (ucontext_t): Use __ctx with uc_flags.
37955 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
37956 undefine further down.
37957 (ucontext_t): Use __ctx with uc_flags.
37958 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
37959 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
37960 Rename uc_pad to __glibc_reserved1.
37961 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
37962 undefine further down.
37963 (ucontext_t): Use __ctx with uc_flags.
37964 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
37965 further down.
37966 (ucontext_t): Use __ctx with uc_flags.
37967 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
37968 __ctx with uc_flags.
37969 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
37970 (ucontext_t): Use __ctx with uc_flags.
37971 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
37972 __ctx with uc_flags.
37973
30161498
FW
379742017-08-09 Florian Weimer <fweimer@redhat.com>
37975
37976 [BZ #21932]
37977 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
37978 before early return.
37979
5797b410
AS
379802017-08-09 Andreas Schwab <schwab@suse.de>
37981
139237a4 37982 [BZ #21041]
5797b410
AS
37983 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
37984 renamed alias.
37985
139237a4 37986 [BZ #21041]
40c06a3d
AS
37987 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
37988 tst-compat-forwarder.
37989 (modules-names): Add tst-compat-forwarder-mod.
37990 ($(objpfx)tst-compat-forwarder): Depend on
37991 $(objpfx)tst-compat-forwarder-mod.so.
37992 * nptl/tst-compat-forwarder.c: New file.
37993 * nptl/tst-compat-forwarder-mod.c: New file.
37994
36ada5f6
SP
379952017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
37996
0e02b510
SP
37997 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
37998 comments.
37999
36ada5f6
SP
38000 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
38001 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
38002 memcpy_falkor.
38003 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
38004 Bump.
38005 (__libc_ifunc_impl_list): Add __memcpy_falkor.
38006 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
38007 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
38008 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
38009 Add falkor.
38010 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
38011 New macro.
38012
9995c839
AZ
380132017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
38014
38015 [BZ #759]
38016 * manual/setjmp.texi (getcontex): Document uc_stack value
38017 compatibility differences.
38018
f17a4233
JM
380192017-08-08 Joseph Myers <joseph@codesourcery.com>
38020
38021 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
38022 (old_malloc_hook): Likewise.
38023 (old_memalign_hook): Likewise.
38024 (old_realloc_hook): Likewise.
38025 (struct hdr): Likewise.
38026 (flood): Likewise.
38027 (freehook): Likewise.
38028 (mallochook): Likewise.
38029 (memalignhook): Likewise.
38030 (reallochook): Likewise.
38031 (mprobe): Likewise.
38032 * malloc/mtrace.c (mallwatch): Likewise.
38033 (tr_old_free_hook): Likewise.
38034 (tr_old_malloc_hook): Likewise.
38035 (tr_old_realloc_hook): Likewise.
38036 (tr_old_memalign_hook): Likewise.
38037 (tr_where): Likewise.
38038 (lock_and_info): Likewise.
38039 (tr_freehook): Likewise.
38040 (tr_mallochook): Likewise.
38041 (tr_reallochook): Likewise.
38042 (tr_memalignhook): Likewise.
38043 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
38044 * misc/mmap.c (__mmap): Likewise.
38045 * misc/mmap64.c (__mmap64): Likewise.
38046 * misc/mprotect.c (__mprotect): Likewise.
38047 * misc/msync.c (msync): Likewise.
38048 * misc/munmap.c (__munmap): Likewise.
38049 * posix/posix_madvise.c (posix_madvise): Likewise.
38050 * socket/send.c (__send): Likewise.
38051 * socket/sendto.c (__sendto): Likewise.
38052 * socket/setsockopt.c (__setsockopt): Likewise.
38053 * string/memcmp.c (__ptr_t): Remove macro.
38054 (MEMCMP): Use void * instead of ptr_t.
38055 * string/memrchr.c (__ptr_t): Remove macro.
38056 (__memrchr): Use void * instead of ptr_t.
38057 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
38058 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
38059 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
38060 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
38061 * sysdeps/mach/msync.c (msync): Likewise.
38062 * sysdeps/mach/munmap.c (__munmap): Likewise.
38063 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
38064 Likewise.
38065 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
38066 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
38067 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
38068 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
38069 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
38070 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
38071 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
38072 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
38073 Likewise.
38074 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
38075 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
38076 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
38077 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
38078 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
38079 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
38080 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
38081 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
38082 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
38083 Likewise.
38084 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
38085 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
38086 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
38087 (MEMCMP): Use void * instead of ptr_t.
38088 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
38089 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
38090
0df595b2
FW
380912017-08-08 Florian Weimer <fweimer@redhat.com>
38092
38093 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
38094 return statement.
38095
086df229
L
380962017-08-08 H.J. Lu <hongjiu.lu@intel.com>
38097
38098 [BZ #21913]
38099 * csu/libc-tls.c: Include <startup.h> first.
38100 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
38101 * elf/dl-tunables.c: Include <startup.h> first.
38102 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
38103 * sysdeps/generic/startup.h: New file.
38104 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
38105 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
38106 (I386_USE_SYSENTER): New. Defined to 0.
38107
fc5ad702
AS
381082017-08-08 Andreas Schwab <schwab@suse.de>
38109
38110 [BZ #21041]
38111 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
38112 * nptl/pt-system.c (system): Likewise.
38113
852d6312
AZ
381142017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
38115
38116 [BZ #21780]
38117 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
38118 EOPNOTSUPP.
38119 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
38120 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
38121 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
38122 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
38123 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
38124 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
38125 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
38126
8b164787
JM
381272017-08-07 Joseph Myers <joseph@codesourcery.com>
38128
cd65836b
JM
38129 [BZ #21899]
38130 * bits/sigaction.h (struct sigaction): Define sa_handler and
38131 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
38132 (SA_ONSTACK): Change [__USE_UNIX98] condition to
38133 [__USE_XOPEN_EXTENDED].
38134 (SA_RESTART): Likewise.
38135 (SA_NODEFER): Likewise.
38136 (SA_RESETHAND): Likewise.
38137 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
38138 (struct sigaction): Define sa_handler and sa_sigaction using union
38139 also for [__USE_XOPEN_EXTENDED].
38140 (SA_ONSTACK): Change [__USE_UNIX98] condition to
38141 [__USE_XOPEN_EXTENDED].
38142 (SA_RESTART): Likewise.
38143 (SA_NODEFER): Likewise.
38144 (SA_RESETHAND): Likewise.
38145 * sysdeps/unix/sysv/linux/bits/sigaction.h
38146 (struct sigaction): Define sa_handler and sa_sigaction using union
38147 also for [__USE_XOPEN_EXTENDED].
38148 (SA_ONSTACK): Change [__USE_UNIX98] condition to
38149 [__USE_XOPEN_EXTENDED].
38150 (SA_RESTART): Likewise.
38151 (SA_NODEFER): Likewise.
38152 (SA_RESETHAND): Likewise.
38153 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
38154 (struct sigaction): Define sa_handler and sa_sigaction using union
38155 also for [__USE_XOPEN_EXTENDED].
38156 (SA_ONSTACK): Change [__USE_UNIX98] condition to
38157 [__USE_XOPEN_EXTENDED].
38158 (SA_RESTART): Likewise.
38159 (SA_NODEFER): Likewise.
38160 (SA_RESETHAND): Likewise.
38161 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
38162 (struct sigaction): Define sa_handler and sa_sigaction using union
38163 also for [__USE_XOPEN_EXTENDED].
38164 (SA_ONSTACK): Change [__USE_UNIX98] condition to
38165 [__USE_XOPEN_EXTENDED].
38166 (SA_RESTART): Likewise.
38167 (SA_NODEFER): Likewise.
38168 (SA_RESETHAND): Likewise.
38169 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
38170 (struct sigaction): Define sa_handler and sa_sigaction using union
38171 also for [__USE_XOPEN_EXTENDED].
38172 (SA_ONSTACK): Change [__USE_UNIX98] condition to
38173 [__USE_XOPEN_EXTENDED].
38174 (SA_RESTART): Likewise.
38175 (SA_NODEFER): Likewise.
38176 (SA_RESETHAND): Likewise.
38177 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
38178 (struct sigaction): Define sa_handler and sa_sigaction using union
38179 also for [__USE_XOPEN_EXTENDED].
38180 (SA_ONSTACK): Change [__USE_UNIX98] condition to
38181 [__USE_XOPEN_EXTENDED].
38182 (SA_RESTART): Likewise.
38183 (SA_NODEFER): Likewise.
38184 (SA_RESETHAND): Likewise.
38185 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
38186 (struct sigaction): Define sa_handler and sa_sigaction using union
38187 also for [__USE_XOPEN_EXTENDED].
38188 (SA_ONSTACK): Change [__USE_UNIX98] condition to
38189 [__USE_XOPEN_EXTENDED].
38190 (SA_RESTART): Likewise.
38191 (SA_NODEFER): Likewise. Define directly rather than as alias.
38192 (SA_RESETHAND): Likewise.
38193 (SA_INTERRUPT): Define only for [__USE_MISC].
38194 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
38195 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
38196 [__USE_MISC].
38197 (SA_STACK): Define only for [__USE_MISC].
38198 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
38199 (struct sigaction): Define sa_handler and sa_sigaction using union
38200 also for [__USE_XOPEN_EXTENDED].
38201 (SA_ONSTACK): Change [__USE_UNIX98] condition to
38202 [__USE_XOPEN_EXTENDED].
38203 (SA_RESTART): Likewise.
38204 (SA_NODEFER): Likewise.
38205 (SA_RESETHAND): Likewise.
38206 (SA_NOPTRACE): Define only for [__USE_MISC].
38207
d9fee042
JM
38208 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
38209 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
38210 (struct catalog_info): Likewise.
38211 * inet/htontest.c (lo): Likewise.
38212 (foo): Likewise.
38213 * inet/inet_lnaof.c (inet_lnaof): Likewise.
38214 * inet/inet_net.c (inet_network): Likewise.
38215 * inet/inet_netof.c (inet_netof): Likewise.
38216 * inet/rcmd.c (__ivaliduser): Likewise.
38217 (iruserok): Likewise.
38218 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
38219 * locale/programs/locale-spec.c (locale_special): Likewise.
38220 * nis/nis_findserv.c (struct findserv_req): Likewise.
38221 (__nis_findfastest_with_timeout): Likewise.
38222 * nss/test-netdb.c (test_network): Likewise.
38223 * resolv/inet_neta.c (inet_neta): Likewise.
38224 * resolv/ns_date.c (ns_datetosecs): Likewise.
38225 (SECS_PER_DAY): Likewise.
38226 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
38227 Likewise.
38228 * resolv/res_comp.c (__putlong): Likewise.
38229 (__putshort): Likewise.
38230 (_getlong): Likewise.
38231 (_getshort): Likewise.
38232 * resolv/res_debug.c (p_time): Likewise.
38233 (precsize_ntoa): Likewise.
38234 (precsize_aton): Likewise.
38235 (latlon2ul): Likewise.
38236 (loc_aton): Likewise.
38237 (loc_ntoa): Likewise.
38238 * resolv/res_hconf.c (struct netaddr): Likewise.
38239 (_res_hconf_reorder_addrs): Likewise.
38240 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
38241 (clnttcp_control): Likewise.
38242 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38243 (clntudp_control): Likewise.
38244 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
38245 (clntunix_control): Likewise.
38246 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
38247 * sunrpc/rpc/auth.h (union des_block): Likewise.
38248 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
38249 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
38250 (xdrrec_create): Likewise.
38251 (xdrrec_endofrecord): Likewise.
38252 (flush_out): Likewise.
38253 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
38254 (xdrstdio_putlong): Likewise.
38255 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
38256 Likewise.
38257
8b164787
JM
38258 * misc/sys/cdefs.h (__long_double_t): Remove.
38259 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
38260 instead of __long_double_t,
38261 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
38262
7ee38e60
SP
382632017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
38264
dd3e86ad
SP
38265 * benchtests/scripts/compare_strings.py: Avoid display error when
38266 running on a text terminal.
38267
b115e819
SP
38268 * benchtests/scripts/compare_strings.py (main): Add an
38269 optional -base option.
38270 (process_results): New argument base_func.
38271
7ee38e60
SP
38272 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
38273 hardcoding memcpy.
38274 * benchtests/bench-memcpy-large.c (test_name): Likewise.
38275 * benchtests/bench-memcpy-random.c (test_name): Likewise.
38276
d5afb385
AS
382772017-08-07 Andreas Schwab <schwab@suse.de>
38278
38279 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
38280 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
38281 * intl/Makefile ($(objpfx)tst-gettext.out)
38282 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
38283 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
38284 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
38285 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
38286 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
38287 * posix/Makefile ($(objpfx)globtest.out)
38288 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
38289 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
38290 ($(objpfx)tst-printf.out): Likewise.
38291 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
38292 ($(objpfx)tst-setcontext3.out): Likewise.
38293
57a72fa3
L
382942017-08-07 H.J. Lu <hongjiu.lu@intel.com>
38295
38296 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38297 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
38298 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
38299 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
38300 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
38301 and mptan-fma.
38302 (CFLAGS-doasin-fma.c): New.
38303 (CFLAGS-dosincos-fma.c): Likewise.
38304 (CFLAGS-e_asin-fma.c): Likewise.
38305 (CFLAGS-e_atan2-fma.c): Likewise.
38306 (CFLAGS-e_exp-fma.c): Likewise.
38307 (CFLAGS-e_log-fma.c): Likewise.
38308 (CFLAGS-e_pow-fma.c): Likewise.
38309 (CFLAGS-halfulp-fma.c): Likewise.
38310 (CFLAGS-mpa-fma.c): Likewise.
38311 (CFLAGS-mpatan-fma.c): Likewise.
38312 (CFLAGS-mpatan2-fma.c): Likewise.
38313 (CFLAGS-mpexp-fma.c): Likewise.
38314 (CFLAGS-mplog-fma.c): Likewise.
38315 (CFLAGS-mpsqrt-fma.c): Likewise.
38316 (CFLAGS-mptan-fma.c): Likewise.
38317 (CFLAGS-s_atan-fma.c): Likewise.
38318 (CFLAGS-sincos32-fma.c): Likewise.
38319 (CFLAGS-slowexp-fma.c): Likewise.
38320 (CFLAGS-slowpow-fma.c): Likewise.
38321 (CFLAGS-s_sin-fma.c): Likewise.
38322 (CFLAGS-s_tan-fma.c): Likewise.
38323 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
38324 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
38325 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
38326 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
38327 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
38328 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
38329 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
38330 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
38331 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
38332 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
38333 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
38334 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
38335 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
38336 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
38337 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
38338 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
38339 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
38340 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
38341 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
38342 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
38343 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
38344 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
38345 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
38346 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
38347 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
38348 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38349 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38350 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
38351 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38352 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38353 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38354
219dd320
JM
383552017-08-04 Joseph Myers <joseph@codesourcery.com>
38356
38357 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
38358 (min_of_type_f): New macro.
38359 (min_of_type_): Likewise.
38360 (min_of_type_l): Likewise.
38361 (min_of_type_f128): Likewise.
38362 (min_of_type): Define using __MATH_TG and taking an expression
38363 argument.
38364 (math_check_force_underflow): Pass expression instead of type to
38365 min_of_type.
38366 (math_check_force_underflow_nonneg): Likewise.
38367
64d4dea6
L
383682017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38369
38370 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
38371 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
38372 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
38373
973da22a
L
383742017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38375
38376 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38377 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
38378 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
38379 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
38380 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
38381 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
38382 memcpy_chk-nonshared, mempcpy_chk-nonshared,
38383 memmove_chk-nonshared and memset_chk-nonshared
38384 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
38385 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
38386 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
38387 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
38388 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
38389 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
38390 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
38391 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
38392 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
38393 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
38394 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
38395 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
38396 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
38397 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
38398 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
38399 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
38400 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
38401 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
38402 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
38403 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
38404 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
38405 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
38406 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
38407 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
38408 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
38409 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
38410 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
38411 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
38412 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
38413 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
38414 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
38415 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
38416 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
38417 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
38418 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
38419 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
38420 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
38421 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
38422 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
38423 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
38424 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
38425 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
38426 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
38427 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
38428 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
38429 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
38430 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
38431 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
38432 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
38433 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
38434 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
38435 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
38436 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
38437 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
38438 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
38439 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
38440 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
38441 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
38442 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
38443 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
38444 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
38445 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
38446 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
38447 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
38448 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
38449 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
38450 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
38451 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
38452 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
38453 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
38454 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
38455 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38456 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38457 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38458 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38459 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38460 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38461 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38462 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38463 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38464 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38465 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38466 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38467 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38468 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
38469 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
38470 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38471 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
38472 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38473 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38474 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38475 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38476 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38477 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38478 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
38479 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
38480 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
38481 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
38482 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38483 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
38484 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38485 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38486 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38487 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38488 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38489 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38490 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38491 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38492
8537e0f6
L
384932017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38494
38495 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
38496 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
38497 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
38498 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
38499 svml_d_log2_core-sse2, svml_d_log4_core-sse,
38500 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
38501 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
38502 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
38503 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
38504 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
38505 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
38506 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
38507 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
38508 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
38509 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
38510 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
38511 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
38512 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
38513 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
38514 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
38515 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
38516 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
38517 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
38518 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
38519 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
38520 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
38521 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
38522 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
38523 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
38524 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
38525 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
38526 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
38527 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
38528 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
38529 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
38530 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
38531 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
38532 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
38533 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
38534 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
38535 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
38536 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
38537 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
38538 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
38539 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
38540 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
38541 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
38542 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
38543 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
38544 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
38545 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
38546 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
38547 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
38548 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
38549 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
38550 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
38551 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
38552 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
38553 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
38554 ...
38555 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
38556 Don't include <sysdep.h> nor <init-arch.h>.
38557 (_ZGVbN2v_cos): Removed.
38558 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
38559 ...
38560 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
38561 Don't include <sysdep.h> nor <init-arch.h>.
38562 (_ZGVdN4v_cos): Removed.
38563 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
38564 ...
38565 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
38566 Don't include <sysdep.h> nor <init-arch.h>.
38567 (_ZGVeN8v_cos): Removed.
38568 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
38569 ...
38570 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
38571 Don't include <sysdep.h> nor <init-arch.h>.
38572 (_ZGVbN2v_exp): Removed.
38573 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
38574 ...
38575 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
38576 Don't include <sysdep.h> nor <init-arch.h>.
38577 (_ZGVdN4v_exp): Removed.
38578 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
38579 ...
38580 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
38581 Don't include <sysdep.h> nor <init-arch.h>.
38582 (_ZGVeN8v_exp): Removed.
38583 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
38584 ...
38585 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
38586 Don't include <sysdep.h> nor <init-arch.h>.
38587 (_ZGVbN2v_log): Removed.
38588 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
38589 ...
38590 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
38591 Don't include <sysdep.h> nor <init-arch.h>.
38592 (_ZGVdN4v_log): Removed.
38593 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
38594 ...
38595 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
38596 Don't include <sysdep.h> nor <init-arch.h>.
38597 (_ZGVeN8v_log): Removed.
38598 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
38599 ...
38600 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
38601 Don't include <sysdep.h> nor <init-arch.h>.
38602 (_ZGVbN2vv_pow): Removed.
38603 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
38604 ...
38605 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
38606 Don't include <sysdep.h> nor <init-arch.h>.
38607 (_ZGVdN4vv_pow): Removed.
38608 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
38609 ...
38610 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
38611 Don't include <sysdep.h> nor <init-arch.h>.
38612 (_ZGVeN8vv_pow): Removed.
38613 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
38614 ...
38615 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
38616 Don't include <sysdep.h> nor <init-arch.h>.
38617 (_ZGVbN2v_sin): Removed.
38618 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
38619 ...
38620 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
38621 Don't include <sysdep.h> nor <init-arch.h>.
38622 (_ZGVbN4v_sin): Removed.
38623 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
38624 ...
38625 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
38626 Don't include <sysdep.h> nor <init-arch.h>.
38627 (_ZGVbN8v_sin): Removed.
38628 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
38629 ...
38630 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
38631 Don't include <sysdep.h> nor <init-arch.h>.
38632 (_ZGVbN2vvv_sincos): Removed.
38633 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
38634 ...
38635 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
38636 Don't include <sysdep.h> nor <init-arch.h>.
38637 (_ZGVdN4vvv_sincos): Removed.
38638 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
38639 ...
38640 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
38641 Don't include <sysdep.h> nor <init-arch.h>.
38642 (_ZGVeN8vvv_sincos): Removed.
38643 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
38644 ...
38645 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
38646 Don't include <sysdep.h> nor <init-arch.h>.
38647 (_ZGVeN16v_cosf): Removed.
38648 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
38649 ...
38650 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
38651 Don't include <sysdep.h> nor <init-arch.h>.
38652 (_ZGVbN4v_cosf): Removed.
38653 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
38654 ...
38655 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
38656 Don't include <sysdep.h> nor <init-arch.h>.
38657 (_ZGVdN8v_cosf): Removed.
38658 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
38659 ...
38660 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
38661 Don't include <sysdep.h> nor <init-arch.h>.
38662 (_ZGVeN16v_expf): Removed.
38663 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
38664 ...
38665 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
38666 Don't include <sysdep.h> nor <init-arch.h>.
38667 (_ZGVbN4v_expf): Removed.
38668 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
38669 ...
38670 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
38671 Don't include <sysdep.h> nor <init-arch.h>.
38672 (_ZGVdN8v_expf): Removed.
38673 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
38674 ...
38675 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
38676 Don't include <sysdep.h> nor <init-arch.h>.
38677 (_ZGVeN16v_logf): Removed.
38678 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
38679 ...
38680 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
38681 Don't include <sysdep.h> nor <init-arch.h>.
38682 (_ZGVbN4v_logf): Removed.
38683 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
38684 ...
38685 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
38686 Don't include <sysdep.h> nor <init-arch.h>.
38687 (_ZGVdN8v_logf): Removed.
38688 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
38689 ...
38690 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
38691 Don't include <sysdep.h> nor <init-arch.h>.
38692 (_ZGVeN16vv_powf): Removed.
38693 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
38694 ...
38695 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
38696 Don't include <sysdep.h> nor <init-arch.h>.
38697 (_ZGVbN4vv_powf): Removed.
38698 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
38699 ...
38700 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
38701 Don't include <sysdep.h> nor <init-arch.h>.
38702 (_ZGVdN8vv_powf): Removed.
38703 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
38704 ...
38705 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
38706 Don't include <sysdep.h> nor <init-arch.h>.
38707 (_ZGVeN16vvv_sincosf): Removed.
38708 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
38709 ...
38710 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
38711 Don't include <sysdep.h> nor <init-arch.h>.
38712 (_ZGVbN4vvv_sincosf): Removed.
38713 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
38714 ...
38715 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
38716 Don't include <sysdep.h> nor <init-arch.h>.
38717 (_ZGVdN8vvv_sincosf): Removed.
38718 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
38719 ...
38720 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
38721 Don't include <sysdep.h> nor <init-arch.h>.
38722 (_ZGVeN16v_sinf): Removed.
38723 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
38724 ...
38725 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
38726 Don't include <sysdep.h> nor <init-arch.h>.
38727 (_ZGVbN4v_sinf): Removed.
38728 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
38729 ...
38730 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
38731 Don't include <sysdep.h> nor <init-arch.h>.
38732 (_ZGVdN8v_sinf): Removed.
38733
10a87ca4
L
387342017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38735
38736 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38737 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
38738 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
38739 s_rint-sse4_1 and s_rintf-sse4_1.
38740 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
38741 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
38742 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
38743 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
38744 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
38745 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
38746 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
38747 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
38748 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
38749 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
38750 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
38751 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38752 (__ceil): Removed.
38753 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
38754 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
38755 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38756 (__ceilf): Removed.
38757 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
38758 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
38759 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38760 (__floor): Removed.
38761 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
38762 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
38763 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38764 (__floorf): Removed.
38765 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
38766 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
38767 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38768 (__nearbyint): Removed.
38769 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
38770 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
38771 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38772 (__nearbyintf): Removed.
38773 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
38774 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
38775 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38776 (__rint): Removed.
38777 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
38778 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
38779 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38780 (__rintf): Removed.
38781
1e8e527d
L
387822017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38783
38784 * sysdeps/i386/start.S (_start): Check Check PIC instead of
38785 SHARED. Avoid dynamic relocation against main in static PIE.
38786
e13daad7
L
387872017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38788
38789 [BZ #21815]
38790 * elf/Makefile (CFLAGS-tst-prelink.c): New.
38791 (LDFLAGS-tst-prelink): Likewise.
38792
627c69c8
L
387932017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38794
38795 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
38796 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
38797 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
38798 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
38799 (INTERNAL_SYSCALL_NCS): Likewise.
38800 (LOADARGS_1): Likewise.
38801 (LOADARGS_5): Likewise.
38802 (RESTOREARGS_1): Likewise.
38803 (RESTOREARGS_5): Likewise.
38804
fc11ff8d
L
388052017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38806
38807 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
38808 (MEMPCPY_SYMBOL): Likewise.
38809 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
38810 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
38811 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
38812 in libc.a.
38813 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38814 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
38815 Likewise.
38816 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
38817 (__hidden_ver1): Don't use in libc.a.
38818 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
38819 (__mempcpy): Don't create a weak alias in libc.a.
38820 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
38821 libc.a.
38822 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
38823 (__hidden_ver1): Don't use in libc.a.
38824
19f1a11e
L
388252017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38826
38827 * config.make.in (have-insert): New.
38828 * configure.ac (libc_cv_insert): New. Set to yes if linker
38829 supports INSERT in linker script.
38830 (AC_SUBST(libc_cv_insert): New.
38831 * configure: Regenerated.
38832 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
38833 if $(have-insert) == yes.
38834
3093fd5e
L
388352017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38836
38837 * elf/Makefile (tests): Add vismain only if
38838 $(have-protected-data) == yes.
38839 (tests-pie): Likewise.
38840
d2cf37c0
L
388412017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38842
38843 [BZ #21871]
38844 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
38845 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
38846
c8a0e6ec
L
388472017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38848
38849 [BZ #21790]
38850 * sysdeps/i386/i586/memset.S
38851 (__memset_zero_constant_len_parameter): Removed.
38852 * sysdeps/i386/i686/memset.S
38853 (__memset_zero_constant_len_parameter): Likewise.
38854 * sysdeps/i386/i686/multiarch/memset_chk.S
38855 (__memset_zero_constant_len_parameter): Likewise.
38856 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
38857 Likewise.
38858
2b34e271
AJ
388592017-08-03 Aurelien Jarno <aurelien@aurel32.net>
38860
38861 * stdlib/getentropy.c (getentropy): Change return type to int.
38862
144bdab0
AJ
388632017-08-03 Aurelien Jarno <aurelien@aurel32.net>
38864
38865 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
38866
24ab7723
JM
388672017-08-03 Joseph Myers <joseph@codesourcery.com>
38868
38869 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
38870 u_intN_t.
38871 * math/s_nexttowardf.c (__nexttowardf): Likewise.
38872 * sysdeps/generic/math_private.h (ieee_double_shape_type):
38873 Likewise.
38874 (ieee_float_shape_type): Likewise.
38875 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
38876 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
38877 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
38878 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38879 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
38880 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
38881 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
38882 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
38883 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
38884 Likewise.
38885 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
38886 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
38887 (__ieee754_yn): Likewise.
38888 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
38889 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
38890 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
38891 Likewise.
38892 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
38893 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
38894 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
38895 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
38896 (__erfc): Likewise.
38897 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
38898 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
38899 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
38900 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
38901 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
38902 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
38903 Likewise.
38904 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
38905 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
38906 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
38907 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
38908 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
38909 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
38910 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
38911 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
38912 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
38913 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
38914 (__issignaling): Likewise.
38915 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
38916 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
38917 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
38918 Likewise.
38919 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38920 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
38921 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
38922 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
38923 Likewise.
38924 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
38925 Likewise.
38926 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
38927 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
38928 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
38929 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
38930 (__erfcf): Likewise.
38931 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
38932 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
38933 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
38934 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
38935 Likewise.
38936 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
38937 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
38938 Likewise.
38939 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
38940 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
38941 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
38942 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
38943 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
38944 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
38945 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
38946 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
38947 Likewise.
38948 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
38949 Likewise.
38950 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
38951 Likewise.
38952 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
38953 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
38954 Likewise.
38955 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
38956 Likewise.
38957 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
38958 (__ieee754_ynl): Likewise.
38959 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
38960 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
38961 Likewise.
38962 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
38963 Likewise.
38964 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
38965 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
38966 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38967 Likewise.
38968 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
38969 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
38970 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
38971 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
38972 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
38973 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
38974 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
38975 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
38976 Likewise.
38977 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
38978 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
38979 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
38980 Likewise.
38981 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
38982 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
38983 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
38984 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
38985 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
38986 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
38987 Likewise.
38988 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
38989 Likewise.
38990 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38991 Likewise.
38992 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38993 Likewise.
38994 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
38995 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
38996 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38997 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
38998 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
38999 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
39000 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
39001 Likewise.
39002 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
39003 Likewise.
39004 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
39005 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
39006 Likewise.
39007 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
39008 (__ieee754_remainderl): Likewise.
39009 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39010 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39011 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
39012 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
39013 Likewise.
39014 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
39015 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39016 Likewise.
39017 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39018 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
39019 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
39020 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
39021 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
39022 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
39023 Likewise.
39024 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
39025 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
39026 (__ieee754_y0l): Likewise.
39027 (pzero): Likewise.
39028 (qzero): Likewise.
39029 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
39030 (__ieee754_y1l): Likewise.
39031 (pone): Likewise.
39032 (qone): Likewise.
39033 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
39034 (__ieee754_ynl): Likewise.
39035 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
39036 (__ieee754_lgammal_r): Likewise.
39037 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
39038 Likewise.
39039 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
39040 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
39041 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
39042 (__erfcl): Likewise.
39043 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
39044 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
39045 Likewise.
39046 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
39047 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
39048 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
39049 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
39050 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
39051 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
39052 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
39053 Likewise.
39054 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
39055 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39056 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
39057 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
39058 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
39059 Likewise.
39060 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
39061 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
39062 Likewise.
39063 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
39064 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
39065 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
39066 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
39067 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
39068
964263bb
FW
390692017-08-03 Florian Weimer <fweimer@redhat.com>
39070
39071 [BZ #21885]
39072 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
39073 on memory allocation failure.
39074
e98c925f
AM
390752017-08-03 Alan Modra <amodra@gmail.com>
39076
39077 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
39078 tst-tlsopt-powerpc.c with function name change and no test harness.
39079 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
39080 Call tls_get_addr_opt_test.
39081 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
39082 (modules-names): Add mod-tlsopt-powerpc.
39083 (mod-tlsopt-powerpc.so-no-z-defs): Define.
39084 (tst-tlsopt-powerpc): Depend on .so.
39085 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
39086 define. Expand use in TLS_GD and TLS_LD.
39087
8ee1abdb
ST
390882017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
39089
39090 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
39091 function.
3da5756e 39092 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8ee1abdb 39093
42df8d59
JM
390942017-08-02 Joseph Myers <joseph@codesourcery.com>
39095
39096 [BZ #21686]
39097 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
39098 comparing size with that of double.
39099 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
39100 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
39101 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
39102 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
39103 (__TGMATH_BINARY_REAL_IMAG): Likewise.
39104 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
39105 unsigned __int128 types.
39106
b7f95f49
SE
391072017-08-02 Steve Ellcey <sellcey@cavium.com>
39108
39109 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
39110 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
39111 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
39112 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
39113 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
39114
5b736bc9
L
391152017-08-02 H.J. Lu <hongjiu.lu@intel.com>
39116
39117 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
39118
dfc93c41
L
391192017-08-02 H.J. Lu <hongjiu.lu@intel.com>
39120
39121 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
39122 of SHARED.
39123 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
39124 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39125 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39126 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39127 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39128 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39129 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39130
2fee621d
JM
391312017-08-02 Joseph Myers <joseph@codesourcery.com>
39132
39133 [BZ #21685]
39134 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
39135 bit-field expressions passed to sizeof or typeof.
39136 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
39137 (__TGMATH_F128): Likewise.
39138 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
39139 (__TGMATH_CF128): Likewise.
39140 (__TGMATH_UNARY_REAL_ONLY): Likewise.
39141 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
39142 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
39143 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
39144 (__TGMATH_BINARY_REAL_ONLY): Likewise.
39145 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
39146 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
39147 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
39148 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
39149 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
39150 (__TGMATH_UNARY_REAL_IMAG): Likewise.
39151 (__TGMATH_UNARY_IMAG): Likewise.
39152 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
39153 (__TGMATH_BINARY_REAL_IMAG): Likewise.
39154 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
39155 type.
39156 (define_vars_for_type): Handle bit_field type specially.
39157 (Tests.__init__): Declare structure with bit-field element.
39158
b358255f
L
391592017-08-02 H.J. Lu <hongjiu.lu@intel.com>
39160
39161 [BZ #21791]
39162 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
39163 (MEMCPY_CHK): Define only if SHARED is defined.
39164 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
39165 Likewise.
39166 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
39167 Likewise.
edf66db1
SP
39168
39169See ChangeLog.18 for earlier changes.