]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
login: Disarm timer after utmp lock acquisition [BZ #24879]
[thirdparty/glibc.git] / ChangeLog
CommitLineData
628598be
FW
12019-08-15 Florian Weimer <fweimer@redhat.com>
2
3 [BZ #24879]
4 login: Disarm timer after utmp lock acquisition.
5 * login/utmp_file.c (struct file_locking): Remove.
6 (try_file_lock): Adjust.
7 (file_lock_restore): Remove function.
8 (__libc_getutent_r): .
9 (internal_getut_r): Likewise.
10 (__libc_getutline_r): Likewise.
11 (__libc_pututline): Likewise.
12 (__libc_updwtmp): Likewise.
13
17e13474
FW
142019-08-15 Florian Weimer <fweimer@redhat.com>
15
16 nptl: Remove pthread_self compatibility symbol from libpthread.
17 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_self,
18 pthread_equal.
19 * nptl/Makefile (libpthread-routines): Remove compat-pthread_self.
20 * nptl/compat-pthread_self.c: Remove file.
21 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
22 Remove pthread_self.
23 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
24 Likewise.
25 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
26 Likewise.
27 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
28 Likewise.
29 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
30 Likewise.
31 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
32 Likewise.
33 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
34 (GLIBC_2.4): Likewise.
35 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
36 (GLIBC_2.0): Likewise.
37 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
38 (GLIBC_2.18): Likewise.
39 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
40 (GLIBC_2.0): Likewise.
41 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
42 (GLIBC_2.0): Likewise.
43 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
44 Likewise.
45 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
46 (GLIBC_2.0): Likewise.
47 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
48 (GLIBC_2.3): Likewise.
49 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
50 (GLIBC_2.17): Likewise.
51 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
52 (GLIBC_2.0): Likewise.
53 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
54 (GLIBC_2.2): Likewise.
55 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
56 Likewise.
57 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
58 (GLIBC_2.0): Likewise.
59 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
60 (GLIBC_2.2): Likewise.
61 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
62 (GLIBC_2.2.5): Likewise.
63 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
64 (GLIBC_2.16): Likewise.
65
fa57c301
FW
662019-08-15 Florian Weimer <fweimer@redhat.com>
67
68 nptl: Move pthread_attr_destroy implementation into libc.
69 * nptl/Makefile (routines): Add pthread_attr_destroy.
70 (libpthread-routines): Remove pthread_attr_destroy.
71 * nptl/Versions (libpthread GLIBC_2.0): Remove
72 pthread_attr_destroy.
73 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Check for
74 libc compat version instead of libpthread compat version.
75 * nptl/forward.c (pthread_attr_destroy): Remove definition.
76 * nptl/nptl-init.c (pthread_functions): Remove initializer for
77 ptr_pthread_attr_destroy.
78 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
79 Remove ptr_pthread_attr_destroy member.
80 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
81 Remove pthread_attr_destroy.
82 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
83 Likewise.
84 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
85 Likewise.
86 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
87 Likewise.
88 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
89 Likewise.
90 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
91 Likewise.
92 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
93 Likewise.
94 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
95 (GLIBC_2.4): Likewise.
96 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
97 (GLIBC_2.0): Likewise.
98 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
99 (GLIBC_2.18): Likewise.
100 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
101 (GLIBC_2.0): Likewise.
102 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
103 (GLIBC_2.0): Likewise.
104 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
105 Likewise.
106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
107 (GLIBC_2.0): Likewise.
108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
109 (GLIBC_2.3): Likewise.
110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
111 (GLIBC_2.17): Likewise.
112 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
113 (GLIBC_2.27): Likewise.
114 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
115 (GLIBC_2.0): Likewise.
116 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
117 (GLIBC_2.2): Likewise.
118 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
119 Likewise.
120 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
121 (GLIBC_2.0): Likewise.
122 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
123 (GLIBC_2.2): Likewise.
124 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
125 (GLIBC_2.2.5): Likewise.
126 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
127 (GLIBC_2.16): Likewise.
128
56e09811
AS
1292019-08-15 Andreas Schwab <schwab@suse.de>
130
131 * sysdeps/i386/fpu/libm-test-ulps: Update.
132
f9769a23
FW
1332019-08-15 Florian Weimer <fweimer@redhat.com>
134
135 * malloc/Makefile (tests): Only add tst-mxfast for
136 $(have-tunables).
137 * malloc/tst-mxfast.c: Fix copyright year.
138 (do_test): Fix GNU style issues. Use TEST_COMPARE instead of
139 assert for checks.
140
341da5b4
FW
1412019-08-15 Florian Weimer <fweimer@redhat.com>
142
143 * login/utmp_file.c (__libc_updwtmp): Unlock the right file
144 descriptor.
145 * login/Makefile (tests): Add tst-updwtmpx.
146 * login/tst-updwtmpx.c: New file.
147
dda373b0
FW
1482019-08-15 Florian Weimer <fweimer@redhat.com>
149
150 nptl: Move pthread_equal implementation into libc.
151 * nptl/Makefile (routines): Add pthread_equal.
152 * nptl/forward.c (pthread_equal): Remove definition.
153 * nptl/nptl-init.c (pthread_functions): Remove initializer for
154 ptr_pthread_equal.
155 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
156 Remove ptr_pthread_equal member.
157 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
158 Remove pthread_equal.
159 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
160 Likewise.
161 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
162 Likewise.
163 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
164 Likewise.
165 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
166 Likewise.
167 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
168 Likewise.
169 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
170 Likewise.
171 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
172 (GLIBC_2.4): Likewise.
173 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
174 (GLIBC_2.0): Likewise.
175 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
176 (GLIBC_2.18): Likewise.
177 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
178 (GLIBC_2.0): Likewise.
179 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
180 (GLIBC_2.0): Likewise.
181 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
182 Likewise.
183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
184 (GLIBC_2.0): Likewise.
185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
186 (GLIBC_2.3): Likewise.
187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
188 (GLIBC_2.17): Likewise.
189 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
190 (GLIBC_2.27): Likewise.
191 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
192 (GLIBC_2.0): Likewise.
193 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
194 (GLIBC_2.2): Likewise.
195 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
196 Likewise.
197 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
198 (GLIBC_2.0): Likewise.
199 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
200 (GLIBC_2.2): Likewise.
201 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
202 (GLIBC_2.2.5): Likewise.
203 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
204 (GLIBC_2.16): Likewise.
205
c54d8649
FW
2062019-08-14 Florian Weimer <fweimer@redhat.com>
207
208 * support/support_descriptors.c: Include <support/descriptors.h>.
209
b68fabfb
FX
2102019-08-14 Feng Xue <fxue@os.amperecomputing.com>
211
212 * sysdeps/aarch64/multiarch/memset_base64.S (DC_ZVA_THRESHOLD):
213 Disable DC ZVA code if this macro is defined as zero.
214 * sysdeps/aarch64/multiarch/memset_emag.S (DC_ZVA_THRESHOLD):
215 Change to zero to disable using DC ZVA.
216
c3ce62cc
JM
2172019-08-13 Joseph Myers <joseph@codesourcery.com>
218
219 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT):
220 Update comment.
221 (__GLIBC_USE_IEC_60559_FUNCS_EXT_C2X): New macro.
222 * bits/math-finite.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]: Change
223 to [__GLIBC_USE (IEC_60559_FUNCS_EXT_C2X)].
224 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]:
225 Likewise.
226
5a3afa97
FW
2272019-08-13 Florian Weimer <fweimer@redhat.com>
228
229 * login/utmp_file.c (LOCK_FILE, LOCKING_FAILED, UNLOCK_FILE):
230 Remove macros.
231 (struct file_locking): New.
232 (try_file_lock, file_unlock, file_lock_restore): New functions.
233 (__libc_getutent_r): Use the new functions.
234 (internal_getut_r): Likewise.
235 (__libc_getutline_r): Likewise.
236 (__libc_pututline): Likewise.
237 (__libc_updwtmp): Likewise.
238
777d75fb
JM
2392019-08-13 Joseph Myers <joseph@codesourcery.com>
240
0175c9e9
JM
241 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): Update
242 comment.
243 (__GLIBC_USE_IEC_60559_BFP_EXT_C2X): New macro.
244 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Change to
245 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)].
246 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
247 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
248 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
249 * stdlib/bits/stdlib-ldbl.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
250 Likewise.
251 * stdlib/stdint.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
252 * stdlib/stdlib.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
253 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
254 Likewise.
255 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
256 Likewise.
257 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
258 Likewise.
259 * sysdeps/csky/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
260 Likewise.
261 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
262 Likewise.
263 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
264 Likewise.
265 * sysdeps/m68k/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
266 Likewise.
267 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE
268 (IEC_60559_BFP_EXT)]: Likewise.
269 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
270 Likewise.
271 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
272 Likewise.
273 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
274 Likewise.
275 * sysdeps/riscv/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
276 Likewise.
277 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
278 Likewise.
279 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
280 Likewise.
281 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
282 Likewise.
283 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
284 Likewise.
285 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
286 Likewise, except for totalorder, totalordermag, getpayload,
287 setpayload and setpayloadsig.
288 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise,
289 except for totalorder and totalordermag.
290
a8c2fa98
JM
291 * string/string.h (memccpy): Also declare if [__GLIBC_USE (ISOC2X)].
292 (strdup): Likewise.
293 (strndup): Likewise.
294
777d75fb
JM
295 * include/features.h (_ISOC2X_SOURCE): New feature test macro.
296 Undefine and define to 1 if [_GNU_SOURCE].
297 (__GLIBC_USE_ISOC2X): New macro. Undefine and redefine depending
298 on [_ISOC2X_SOURCE] and [__STDC_VERSION__ > 201710L].
299 (__USE_ISOC11): Also define to 1 if [_ISOC2X_SOURCE].
300 (__USE_ISOC99): Likewise.
301 (__USE_ISOC95): Likewise.
302 * manual/creature.texi (_ISOC2X_SOURCE): Document.
303
a33b817f
FW
3042019-08-13 Florian Weimer <fweimer@redhat.com>
305
306 * login/getutid_r.c (__getutid_r): _HAVE_UT_ID and _HAVE_UT_TYPE
307 are always true.
308 * login/getutmp.c (getutmp): _HAVE_UT_TYPE, _HAVE_UT_PID,
309 _HAVE_UT_ID, _HAVE_UT_HOST, _HAVE_UT_TV are always true.
310 * login/getutmpx.c (getutmpx): Likewise.
311 * login/login.c (login): _HAVE_UT_TYPE, _HAVE_UT_PID are always
312 true.
313 * login/logout.c (logout): _HAVE_UT_TYPE, _HAVE_UT_HOST,
314 _HAVE_UT_TV are always true.
315 * login/logwtmp.c (logwtmp): _HAVE_UT_PID, _HAVE_UT_TYPE,
316 _HAVE_UT_HOST, _HAVE_UT_TV are always true.
317 * login/tst-utmp.c: _HAVE_UT_TYPE, _HAVE_UT_TV are always true.
318 * login/utmp_file.c (__libc_setutent): _HAVE_UT_TYPE, _HAVE_UT_ID
319 are always true.
320 (internal_getut_r): _HAVE_UT_TYPE is always true.
321 (__libc_pututline): Likewise.
322 * login/programs/utmpdump.c (print_entry): Assume that
323 _HAVE_UT_TYPE, _HAVE_UT_PID, _HAVE_UT_ID, _HAVE_UT_HOST,
324 _HAVE_UT_TV are always true.
325 * sysdeps/generic/utmp-equal.h (__utmp_equal): _HAVE_UT_TYPE,
326 _HAVE_UT_ID are always true.
327 * sysdeps/gnu/bits/utmp.h: Move to ...
328 * bits/utmp.h: ... here, replacing the old file.
329
9b9670fc
FW
3302019-08-12 Florian Weimer <fweimer@redhat.com>
331
332 * elf/Makefile (tests): Unconditionally add tst-dlopen-aout.
333 [$(build-hardcoded-path-in-tests)] (tst-dlopen-aout-no-pie): Do
334 not set.
335 * elf/tst-dlopen-aout.c: Do not included <assert.h>.
336 (do_test): Open the executable using an absolute path. Print
337 error message to standard output.
338
c48d92b4
DD
3392019-08-09 DJ Delorie <dj@redhat.com>
340
341 * elf/dl-tunables.list: Add glibc.malloc.mxfast.
342 * manual/tunables.texi: Document it.
343 * malloc/malloc.c (do_set_mxfast): New.
344 (__libc_mallopt): Call it.
345 * malloc/arena.c: Add mxfast tunable.
346 * malloc/tst-mxfast.c: New.
347 * malloc/Makefile: Add it.
348
b6d2c447
NH
3492019-08-08 Niklas Hambüchen <mail@nh2.me>
350 Carlos O'Donell <carlos@redhat.com>
351
352 [BZ #24026]
353 * malloc/malloc.c (__malloc_info): Account for top chunk.
354
a02cd8e4
JM
3552019-08-07 Joseph Myers <joseph@codesourcery.com>
356
357 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
358 (SYNC_FILE_RANGE_WRITE_AND_WAIT): New macro.
359
d8b97803
JM
3602019-08-06 Joseph Myers <joseph@codesourcery.com>
361
362 * io/fcntl.h [__USE_GNU] (AT_RECURSIVE): New macro.
363
8d454abe
SL
3642019-07-02 Stefan Liebler <stli@linux.ibm.com>
365
366 * sysdeps/unix/sysv/linux/s390/init-first.c (VDSO_SETUP): New define.
367
98013846
JM
3682019-08-05 Joseph Myers <joseph@codesourcery.com>
369
370 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU] (CLONE_PIDFD):
371 New macro.
372
503fc587
AZ
3732019-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
374
d665367f
AZ
375 [BZ #19767]
376 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (ALWAYS_USE_VSYSCALL):
377 Remove definition.
378 * sysdeps/unix/sysv/linux/arm/sysdep.h (ALWAYS_USE_VSYSCALL):
379 Likewise.
380 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
381 Likewise.
382 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (ALWAYS_USE_VSYSCALL):
383 Likewise.
384 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
385 (ALWAYS_USE_VSYSCALL): Likewise.
386 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
387 (ALWAYS_USE_VSYSCALL): Likewise.
388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
389 (ALWAYS_USE_VSYSCALL): Likewise.
390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
391 (ALWAYS_USE_VSYSCALL): Likewise.
392 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
393 Likewise.
394 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
395 (ALWAYS_USE_VSYSCALL): Likewise.
396 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
397 (ALWAYS_USE_VSYSCALL): Likewise.
398 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
399 Likewise.
400 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
401 Likewise.
402 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Remove #if USE_VSYSCALL.
403 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Likewise.
404 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL,
405 USE_VSYSCALL): Remove defitions.
406
c9c1a413
AZ
407 [BZ #19767]
408 * sysdeps/unix/sysv/linux/sparc/init-first.c: Remove #ifdef SHARED.
409 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
410 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
411 Define.
412
27a0914e 413 [BZ #19767]
5e855c89
AZ
414 * sysdeps/unix/sysv/linux/s390/init-first.c: Remove #ifdef SHARED.
415 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
416 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
417 (ALWAYS_USE_VSYSCALL): Define.
418 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
419 (ALWAYS_USE_VSYSCALL): Likewise.
420
421 [BZ #19767]
27a0914e
AZ
422 * sysdeps/unix/sysv/linux/riscv/init-first.c: Remove #ifdef SHARED.
423 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
424 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
425 Define.
426
503fc587
AZ
427 * sysdeps/sh/libm-test-ulps: Update.
428
1a7fe2eb
FW
4292019-08-05 Florian Weimer <fweimer@redhat.com>
430
431 [BZ #23518]
432 * login/uptmp-private.h (struct ufuncs): Remove definition.
433 (__libc_utmp_file_functions, __libc_utmp_unknown_functions)
434 (__libc_utmp_jump_table): Remove declarations.
435 (__libc_setutent, __libc_getutent_r, __libc_getutid_r)
436 (__libc_getutline_r, __libc_pututline, __libc_endutent)
437 (__libc_updwtmp): Declare.
438 * login/getutent_r.c (__libc_utmp_unknown_functions)
439 (__libc_utmp_jump_table, setutent_unknown, getutent_r_unknown)
440 (getutid_r_unknown, getutline_r_unknown, pututline_unknown)
441 (endutent_unknown): Remove definitions.
442 (__setutent): Call __libc_setutent.
443 (__getutent_r): Call __libc_getutent_r.
444 (__pututline): Call __libc_pututline.
445 (__endutent): Call __libc_endutent.
446 * login/getutid_r.c (__getutid_r): Call __libc_getutid_r.
447 * login/getutline_r.c (__getutline_r): Call __libc_getutline_r.
448 * login/updwtmp.c (__updwtmp): Call __libc_updwtmp.
449 * login/utmp_file.c (__libc_utmp_file_functions): Remove definition
450 (__libc_setutent): Rename from stetutent_file. Drop static.
451 (maybe_setutent): New function.
452 (__libc_getutent_r): Rename from getutent_r_file. Drop static.
453 Check for initialization.
454 (__libc_getutid_r): Rename from getutid_r_file. Drop static.
455 Check for initialization.
456 (__libc_getutline_r): Rename from getutline_r_file. Drop static.
457 Check for initialization.
458 (__libc_pututline): Rename from pututline_file. Drop static.
459 Check for initialization.
460 (__libc_endutent): Rename from endutent_file. Drop static. Check
461 for initialization.
462 (__libc_updwtmp): Rename from updwtmp_file. Drop static.
463 * login/utmpname.c (__utmpname): Call __libc_endutent.
464 * sysdeps/unix/getlogin_r (__getlogin_r): Call __libc_setutent,
465 __libc_getutlien_r, __libc_endutent.
466 * manual/users.texi (Who Logged In, Manipulating the Database):
467 Adjust.
468
a6c1ce77
AH
4692019-08-05 Alexandra Hajkova <ahajkova@redhat.com>
470
471 * elf/tst-ldconfig-bad-aux-cache.c: Use support_capture_subprocess.
472
c7a26cba
JM
4732019-08-02 Joseph Myers <joseph@codesourcery.com>
474
9c37bde5
JM
475 * sysdeps/unix/sysv/linux/syscall-names.list: Update comment.
476
c7a26cba
JM
477 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Update Linux
478 kernel version number to 5.2.
479
066020c5
RFF
4802019-08-01 Raoni Fassina Firmino <raoni@linux.ibm.com>
481
482 * sysdeps/powerpc/powerpc64/power8/memchr.S: Update power8
483 mnemonics and set .machine power8.
484 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
485 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Likewise.
486 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
487 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
488 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
489 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
490 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
491 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
492 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
493 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
494
3175dcc1
AZ
4952019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
496
497 * sysdeps/hppa/fpu/libm-test-ulps: Update.
498
b0f6679b
FW
4992019-08-01 Florian Weimer <fweimer@redhat.com>
500
501 [BZ #24867]
502 * malloc/malloc.c (__malloc_info): Remove unwanted leading
503 whitespace.
504
e1df30fb
AZ
5052019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
506
507 [BZ #15813]
508 sysdeps/posix/tempname.c (__gen_tempname): get entropy on each
509 attempt.
510
e7124906
CD
5112019-08-01 Carlos O'Donell <carlos@redhat.com>
512
0a8262a1
CD
513 * version.h (RELEASE): Set to "stable".
514 (VERSION): Set to "2.30".
515 * include/features.h (__GLIBC_MINOR__): Set to 2.30.
516
e7124906
CD
517 * manual/install.texi: Update component versions.
518 * INSTALL: Regenerate.
519 * NEWS: Update.
520
cc3bf319
CD
5212019-07-31 Carlos O'Donell <carlos@redhat.com>
522
523 * po/be.po: Update translations.
524 * po/bg.po: Likewise.
525 * po/ca.po: Likewise.
526 * po/cs.po: Likewise.
527 * po/da.po: Likewise.
528 * po/de.po: Likewise.
529 * po/el.po: Likewise.
530 * po/eo.po: Likewise.
531 * po/es.po: Likewise.
532 * po/fi.po: Likewise.
533 * po/fr.po: Likewise.
534 * po/gl.po: Likewise.
535 * po/hr.po: Likewise.
536 * po/hu.po: Likewise.
537 * po/ia.po: Likewise.
538 * po/id.po: Likewise.
539 * po/it.po: Likewise.
540 * po/ja.po: Likewise.
541 * po/ko.po: Likewise.
542 * po/lt.po: Likewise.
543 * po/nb.po: Likewise.
544 * po/nl.po: Likewise.
545 * po/pl.po: Likewise.
546 * po/pt_BR.po: Likewise.
547 * po/ru.po: Likewise.
548 * po/rw.po: Likewise.
549 * po/sk.po: Likewise.
550 * po/sl.po: Likewise.
551 * po/sv.po: Likewise.
552 * po/tr.po: Likewise.
553 * po/uk.po: Likewise.
554 * po/vi.po: Likewise.
555 * po/zh_CN.po: Likewise.
556 * po/zh_TW.po: Likewise.
557
0bfddfc9
FW
5582019-07-31 Florian Weimer <fweimer@redhat.com>
559
560 [BZ #24583]
561 [BZ #24677]
562 iconv, libio: Revert reference counting changes.
563 * iconv/gconv_cache.c (__gconv_release_cache): Unconditionally
564 free the steps array.
565 * libio/Makefile (tests): Remove tst-wfile-gconv.
566 (tests-container): Do not add tst-wfile-ascii.
567 (tst-wfile-gconv-ENV): Do not set.
568 (generated): Do not add tst-wfile-gconv.mtrace,
569 tst-wfile-gconv.check.
570 [($run-built-tests)] (tests-special): Do not add
571 tst-wfile-gconv-mem.out.
572 (tst-wfile-gconv.out, tst-wfile-gconv-mem.out): Remove targets.
573 * libio/iofclose.c (_IO_new_fclose): Call __gconv_release_step
574 instead of __wcsmbs_clone_conv.
575 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Remove definition.
576 * wcsmbs/wcsmbsload.h (__wcsmbs_clone_conv): Remove declaration.
577
c86b8e75
JM
5782019-07-30 Joseph Myers <joseph@codesourcery.com>
579
580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
581 (__CONTEXT_FUNC_NAME): Restore setting of r31.
582
8a814e20
FW
5832019-07-30 Florian Weimer <fweimer@redhat.com>
584
585 * nptl/tst-pthread-getattr.c (allocate_and_test): Change return
586 type to uintptr_t. Update comment.
587 (check_stack_top): Adjust.
588
b8b3d5a1
FW
5892019-07-29 Florian Weimer <fweimer@redhat.com>
590
591 Linux: Move declaration of getdents64 to <dirent.h>.
592 * bits/dirent_ext.h: New file.
593 * dirent/Makefile (headers): Add bits/dirent_ext.h.
594 * dirent/dirent.h: Include <bits/dirent_ext.h>.
595 * sysdeps/unix/sysv/linux/bits/dirent_ext.h: New file.
596 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Remove
597 declaration.
598 * manual/filesys.texi (Low-level Directory Access): Update header
599 to dirent.h.
600
354e4c1a
TMQMF
6012019-07-29 DJ Delorie <dj@redhat.com>
602 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
603
604 [BZ #24794]
605 * Makeconfig (all-subdirs): Improved source comments.
606 * Makefile (testroot.pristine/install.stamp): Pass
607 subdirs='$(sorted-subdirs)' to make install.
608
50ce3eae
FW
6092019-07-25 Florian Weimer <fweimer@redhat.com>
610
611 [BZ #24677]
612 * iconv/gconv_cache.c (__gconv_release_cache): Check reference
613 counter before freeing array.
614
7e681561
L
6152019-07-24 H.J. Lu <hongjiu.lu@intel.com>
616
617 [BZ #24603]
618 * sysdeps/x86_64/configure.ac: Check if -mprefer-vector-width=128
619 works.
620 * sysdeps/x86_64/configure: Regenerated.
621 * sysdeps/x86_64/fpu/Makefile (CFLAGS-branred.c): New. Set
622 to -mprefer-vector-width=128 if supported.
623
82c664ed
FW
6242019-07-24 Florian Weimer <fweimer@redhat.com>
625
626 * scripts/build-many-glibcs.py (Context.checkout): Default to
627 Linux 5.2.
628
7854ebf8
FW
6292019-07-24 Florian Weimer <fweimer@redhat.com>
630
631 [BZ #24532]
632 Linux: Use in-tree copy of SO_ constants for !__USE_MISC.
633 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == socket]
634 (sysdep_headers): Add bits/socket-constants.h.
635 (tests-special): Add tst-socket-consts.out.
636 (tst-socket-consts.out): New target.
637 * sysdeps/unix/sysv/linux/bits/socket.h: Remove macro tracking
638 around <asm/unistd.h>.
639 [__USE_MISC]: Include <bits/types/time_t.h> before <asm/socket.h>.
640 [!__USE_MISC]: Include <sys/socket-constants.h> instead of
641 <asm/socket.h>.
642 * sysdeps/unix/sysv/linux/bits/tst-socket-consts.py: New file.
643 * sysdeps/unix/sysv/linux/bits/socket-constants.h: Likewise.
644 * sysdeps/unix/sysv/linux/alpha/bits/socket-constants.h: Likewise.
645 * sysdeps/unix/sysv/linux/hppa/bits/socket-constants.h: Likewise.
646 * sysdeps/unix/sysv/linux/mips/bits/socket-constants.h: Likewise.
647 * sysdeps/unix/sysv/linux/powerpc/bits/socket-constants.h:
648 Likewise.
649 * sysdeps/unix/sysv/linux/sparc/bits/socket-constants.h: Likewise.
650
95da14da
TMQMF
6512019-07-23 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
652
35e038c1
TMQMF
653 [BZ #24794]
654 * Makefile (testroot.pristine/install.stamp): Pass
655 subdirs='$(all-subdirs)' to make install.
656
95da14da
TMQMF
657 * Makefile (testroot.pristine/install.stamp): Execute ld.so with
658 the same arguments used in all tests.
659
dcf36bca
SN
6602019-07-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
661
662 * NEWS: Mention the AArch64 IFUNC resolver ABI change.
663
c7e4b684
EK
6642019-07-20 Egor Kobylkin <egor@kobylkin.com>
665
666 [BZ #2872]
667 * locale/C-translit.h.in: Add Cyrillic transliteration.
668
1f7097d0
FW
6692019-07-19 Florian Weimer <fweimer@redhat.com>
670
671 * sysdeps/unix/sysv/linux/syscall-names.list: Add system calls
672 from Linux 5.2.
673 (fsconfig): Add system call name.
674 (fsmount): Likewise.
675 (fsopen): Likewise.
676 (fspick): Likewise.
677 (move_mount): Likewise.
678 (open_tree): Likewise.
679
3556658c
CD
6802019-07-18 Carlos O'Donell <carlos@redhat.com>
681
682 * po/libc.pot: Regenerate.
683
4a8f6d31
MC
6842019-07-18 Mike Crowe <mac@mcrowe.com>
685
2ab9ad57
AZ
686 * sysdeps/unix/sysv/linux/hppa/pthread.h: Add declarations of
687 functions recently added to sysdeps/nptl/pthread.h:
688 pthread_mutex_clocklock, pthread_rwlock_clockrdlock,
689 pthread_rwlock_clockwrlock and pthread_cond_clockwait.
690
4a8f6d31
MC
691 * nptl/forward.c: Remove unnecessary __pthread_cond_clockwait and
692 pthread_cond_clockwait forwarding functions. There are no internal
693 users, so it is unnecessary to expose these functions in libc.so.
694 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
695 unnecessary ptr___pthread_cond_clockwait member.
696 * nptl/nptl-init.c (pthread_functions): Remove assignment of
697 removed member.
698
9208c3b8
RL
6992019-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
700
701 [BZ #21897]
702 * localedata/locales/aa_DJ (abday): Update from CLDR, all words
703 begin with an uppercase letter now.
704 (abmon): Likewise.
705 (mon): Update from CLDR, reword February from "Kudo" to
706 "Naharsi Kudo", April from "Agda Baxisso" to "Agda Baxis",
707 and August from "Liiqen" to "Leqeeni".
708 * localedata/locales/aa_ER (mon): Update from CLDR, reword
709 April from "Agda Baxisso" to "Agda Baxis" and August from
710 "Leqeeni" to "Liiqen".
711 * localedata/locales/aa_ER@saaho (mon): Likewise.
712 * localedata/locales/aa_ET (abmon): Update from CLDR, reword
713 abbreviated February from "Kud" to "Nah".
714 (mon): Update from CLDR, reword February from "Kudo" to
715 "Naharsi Kudo" and April from "Agda Baxisso" to "Agda Baxis".
716
fba6d4bb
RL
7172019-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
718
719 [BZ #23996]
720 * localedata/locales/nl_BE (LC_NAME): Replace with “copy "nl_NL"”.
721
3cc7c9c5
P
7222019-07-17 PanderMusubi <pander@users.sourceforge.net>
723
724 [BZ #23996]
725 * localedata/locales/nl_BE (LC_NAME): Add name_gen, name_mr,
726 name_mrs, name_miss, and name_ms.
727 * localedata/locales/nl_NL (LC_NAME): Likewise.
728
cce7b6a5
DZ
7292019-07-17 Daniil Zhilin <generalfailer@protonmail.com>
730
731 [BZ #24200]
732 * localedata/locales/ga_IE (first_weekday): Add, set to 2 (Monday).
733 * localedata/locales/en_IE (first_weekday): Likewise.
734
99d01ffc
MC
7352019-07-12 Mike Crowe <mac@mcrowe.com>
736
1ff1373b
MC
737 * nptl/pthread_cond_wait.c: (__pthread_cond_clockwait): Remove code
738 that is only useful if futex_supports_exact_relative_timeouts ()
739 returns false.
740 * nptl/pthread_condattr_setclock.c: (pthread_condattr_setclock):
741 Likewise.
742 * sysdeps/nptl/futex-internal.h: Remove comment about relative
743 timeouts potentially being imprecise since it's no longer true.
744 Remove declaration of futex_supports_exact_relative_timeouts.
745 * sysdeps/unix/sysv/linux/futex-internal.h: Remove implementation
746 of futex_supports_exact_relative_timeouts.
747
65dd7e9c
MC
748 * NEWS: Mention recently-added pthread_cond_clockwait,
749 pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and
750 sem_clockwait functions.
751
9d20e22e
MC
752 nptl: Add POSIX-proposed pthread_mutex_clocklock function that
753 works like pthread_mutex_timedlock but takes a clockid parameter to
754 measure the abstime parameter against.
755 * sysdeps/nptl/pthread.h: Add pthread_mutex_clocklock.
756 * nptl/DESIGN-systemtap-probes.txt: Likewise.
757 * nptl/pthread_mutex_timedlock.c
758 (__pthread_mutex_clocklock_common): Rename from
759 __pthread_mutex_timedlock and add clockid parameter. Pass this
760 parameter to lll_clocklock and lll_clocklock_elision in place of
761 CLOCK_REALTIME. (__pthread_mutex_clocklock): New function to add
762 LIBC_PROBE and validate clockid parameter before calling
763 __pthread_mutex_clocklock_common. (__pthread_mutex_timedlock): New
764 implementation to add LIBC_PROBE and calls
765 __pthread_mutex_clocklock_common passing CLOCK_REALTIME as the
766 clockid.
767 * nptl/Makefile: Add tst-mutex11.c.
768 * nptl/tst-abstime.c (th): Add tests for pthread_mutex_clocklock.
769 * nptl/tst-mutex11.c: New tests for passing invalid and unsupported
770 clockid parameters to pthread_mutex_clocklock.
771 * nptl/tst-mutex5.c (do_test_clock): Rename from do_test and take
772 clockid parameter to indicate which clock to be used. Call
773 pthread_mutex_timedlock or pthread_mutex_clocklock as appropriate.
774 (do_test): Call do_test_clock to separately test
775 pthread_mutex_timedlock, pthread_mutex_clocklock(CLOCK_REALTIME)
776 and pthread_mutex_clocklock(CLOCK_MONOTONIC).
777 * nptl/tst-mutex9.c: Likewise.
778 * nptl/Versions (GLIBC_2.30): Add pthread_mutex_clocklock.
779 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30):
780 Likewise.
781 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30):
782 Likewise.
783 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30):
784 Likewise.
785 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30):
786 Likewise.
787 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30):
788 Likewise.
789 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30):
790 Likewise.
791 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30):
792 Likewise.
793 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
794 (GLIBC_2.30): Likewise.
795 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
796 (GLIBC_2.30): Likewise.
797 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
798 (GLIBC_2.30): Likewise.
799 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
800 (GLIBC_2.30): Likewise.
801 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
802 (GLIBC_2.30): Likewise.
803 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30):
804 Likewise.
805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
806 (GLIBC_2.30): Likewise.
807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
808 (GLIBC_2.30): Likewise.
809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
810 (GLIBC_2.30): Likewise.
811 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
812 (GLIBC_2.30): Likewise.
813 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
814 (GLIBC_2.30): Likewise.
815 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
816 (GLIBC_2.30): Likewise.
817 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30):
818 Likewise.
819 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
820 (GLIBC_2.30): Likewise.
821 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
822 (GLIBC_2.30): Likewise.
823 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
824 (GLIBC_2.30): Likewise.
825 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
826 (GLIBC_2.30): Likewise.
827
59213094
MC
828 nptl: Rename lll_timedlock to lll_clocklock and add clockid
829 parameter to indicate the clock that the abstime parameter should
830 be measured against in preparation for adding
831 pthread_mutex_clocklock.
832 * sysdeps/nptl/lowlevellock.h (lll_clocklock): Rename from
833 lll_timedlock and add clockid parameter. (__lll_clocklock): Rename
834 from __lll_timedlock and add clockid parameter.
835 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_clocklock):
836 Likewise.
837 * nptl/lll_timedlock_wait.c (__lll_clocklock_wait): Rename from
838 __lll_timedlock_wait and add clockid parameter. Use __clock_gettime
839 rather than __gettimeofday so that clockid can be used. This means
840 that conversion from struct timeval is no longer required.
841 * sysdeps/sparc/sparc32/lowlevellock.c (lll_clocklock_wait):
842 Likewise.
843 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: Update comment to
844 refer to __lll_clocklock_wait rather than __lll_timedlock_wait.
845 * nptl/pthread_mutex_timedlock.c (lll_clocklock_elision): Rename
846 from lll_timedlock_elision, add clockid parameter and use
847 meaningful names for other parameters. (__pthread_mutex_timedlock):
848 Pass CLOCK_REALTIME where necessary to lll_clocklock and
849 lll_clocklock_elision.
850 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
851 (lll_clocklock_elision): Rename from lll_timedlock_elision and add
852 clockid parameter. (__lll_clocklock_elision): Rename from
853 __lll_timedlock_elision and add clockid parameter.
854 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
855 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: Likewise.
856 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c
857 (__lll_lock_elision): Call __lll_clocklock_elision rather than
858 __lll_timedlock_elision. (EXTRAARG): Add clockid parameter.
859 (LLL_LOCK): Likewise.
860 * sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
861 * sysdeps/unix/sysv/linux/x86/elision-timed.c: Likewise.
862
e996fa72
MC
863 nptl: Add POSIX-proposed pthread_rwlock_clockrdlock &
864 pthread_rwlock_clockwrlock which behave like
865 pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock
866 respectively, except they always measure abstime against the
867 supplied clockid. The functions currently support CLOCK_REALTIME
868 and CLOCK_MONOTONIC and return EINVAL if any other clock is
869 specified.
870 * sysdeps/nptl/pthread.h: Add pthread_rwlock_clockrdlock and
871 pthread_wrlock_clockwrlock.
872 * nptl/Makefile: Build pthread_rwlock_clockrdlock.c and
873 pthread_rwlock_clockwrlock.c.
874 * nptl/pthread_rwlock_clockrdlock.c: Implement
875 pthread_rwlock_clockrdlock.
876 * nptl/pthread_rwlock_clockwrlock.c: Implement
877 pthread_rwlock_clockwrlock.
878 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Add
879 clockid parameter and verify that it indicates a supported clock on
880 entry so that we fail even if it doesn't end up being used. Pass
881 that clock on to futex_abstimed_wait when necessary.
882 (__pthread_rwlock_wrlock_full): Likewise.
883 * nptl/pthread_rwlock_rdlock.c: (__pthread_rwlock_rdlock): Pass
884 CLOCK_REALTIME to __pthread_rwlock_rdlock_full even though it won't
885 be used because there's no timeout.
886 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Pass
887 CLOCK_REALTIME to __pthread_rwlock_wrlock_full even though it won't
888 be used because there is no timeout.
889 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
890 Pass CLOCK_REALTIME to __pthread_rwlock_rdlock_full since abstime
891 uses that clock.
892 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
893 Pass CLOCK_REALTIME to __pthread_rwlock_wrlock_full since abstime
894 uses that clock.
895 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
896 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
897 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
898 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
899 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
900 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
901 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
902 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
903 (GLIBC_2.30): Likewise.
904 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
905 (GLIBC_2.30): Likewise.
906 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
907 (GLIBC_2.30): Likewise.
908 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
909 (GLIBC_2.30): Likewise.
910 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
911 (GLIBC_2.30): Likewise.
912 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
914 (GLIBC_2.30): Likewise.
915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
916 (GLIBC_2.30): Likewise.
917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
918 (GLIBC_2.30): Likewise.
919 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
920 (GLIBC_2.30): Likewise.
921 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
922 (GLIBC_2.30): Likewise.
923 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
924 (GLIBC_2.30): Likewise.
925 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
926 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
927 (GLIBC_2.30): Likewise.
928 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
929 (GLIBC_2.30): Likewise.
930 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
931 (GLIBC_2.30): Likewise.
932 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
933 (GLIBC_2.30): Likewise.
934 * nptl/tst-abstime.c (th): Add pthread_rwlock_clockrdlock and
935 pthread_rwlock_clockwrlock timeout tests to match the existing
936 pthread_rwlock_timedrdloock and pthread_rwlock_timedwrlock tests.
937 * nptl/tst-rwlock14.c (do_test): Likewise.
938 * nptl/tst-rwlock6.c Invent verbose_printf macro, and use for
939 ancillary output throughout. (tf): Accept thread_args structure so
940 that rwlock, a clockid and function name can be passed to the
941 thread. (do_test_clock): Rename from do_test. Accept clockid
942 parameter to specify test clock. Use the magic clockid value of
943 CLOCK_USE_TIMEDLOCK to indicate that pthread_rwlock_timedrdlock and
944 pthread_rwlock_timedwrlock should be tested, otherwise pass the
945 specified clockid to pthread_rwlock_clockrdlock and
946 pthread_rwlock_clockwrlock. Use xpthread_create and xpthread_join.
947 (do_test): Call do_test_clock to test each clockid in turn.
948 * nptl/tst-rwlock7.c: Likewise.
949 * nptl/tst-rwlock9.c (writer_thread, reader_thread): Accept
950 thread_args structure so that the (now int) thread number, the
951 clockid and the function name can be passed to the thread.
952 (do_test_clock): Renamed from do_test. Pass the necessary
953 thread_args when creating the reader and writer threads. Use
954 xpthread_create and xpthread_join.
955 (do_test): Call do_test_clock to test each clockid in turn.
956 * manual/threads.texi: Add documentation for
957 pthread_rwlock_clockrdlock and pthread_rwlock_clockwrclock.
958
600b4be4
MC
959 nptl: pthread_rwlock: Move timeout validation into _full functions
960 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full):
961 Check validity of abstime parameter.
962 (__pthread_rwlock_rwlock_full): Likewise.
963 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
964 Remove check for validity of abstime parameter.
965 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
966 Likewise.
967
afe4de7d
MC
968 nptl: Add POSIX-proposed pthread_cond_clockwait which behaves just
969 like pthread_cond_timedwait except it always measures abstime
970 against the supplied clockid.
971 * nptl/Makefile: Add tst-cond26 and tst-cond27
972 * nptl/Versions (GLIBC_2.30): Add pthread_cond_clockwait
973 * sysdeps/nptl/pthread.h: Likewise
974 * nptl/forward.c: Add __pthread_cond_clockwait
975 * nptl/forward.c: Likewise
976 * nptl/pthreadP.h: Likewise
977 * sysdeps/nptl/pthread-functions.h: Likewise
978 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Add
979 clockid parameter and comment describing why we don't need to check
980 its value. Use that value when calling
981 futex_abstimed_wait_cancelable rather than reading the clock from
982 the flags. (__pthread_cond_wait): Pass unused clockid parameter.
983 (__pthread_cond_timedwait): Read clock from flags and pass it to
984 __pthread_cond_wait_common. (__pthread_cond_clockwait): Add new
985 function with weak alias from pthread_cond_clockwait.
986 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
987 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
988 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
989 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
990 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
991 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
992 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
993 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
994 (GLIBC_2.30): Likewise.
995 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
996 (GLIBC_2.30): Likewise.
997 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
998 (GLIBC_2.30): Likewise.
999 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1000 (GLIBC_2.30): Likewise.
1001 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1002 (GLIBC_2.30): Likewise.
1003 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
1004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1005 (GLIBC_2.30): Likewise.
1006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1007 (GLIBC_2.30): Likewise.
1008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1009 (GLIBC_2.30): Likewise.
1010 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1011 (GLIBC_2.30): Likewise.
1012 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1013 (GLIBC_2.30): Likewise.
1014 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1015 (GLIBC_2.30): Likewise.
1016 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
1017 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1018 (GLIBC_2.30): Likewise.
1019 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1020 (GLIBC_2.30): Likewise.
1021 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1022 (GLIBC_2.30): Likewise.
1023 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1024 (GLIBC_2.30): Likewise.
1025 * nptl/tst-cond11.c (run_test): Support testing
1026 pthread_cond_clockwait too by using a special magic
1027 CLOCK_USE_ATTR_CLOCK value to determine whether to call
1028 pthread_cond_timedwait or pthread_cond_clockwait. (do_test): Pass
1029 CLOCK_USE_ATTR_CLOCK for existing tests, and add new tests using
1030 all combinations of CLOCK_MONOTONIC and CLOCK_REALTIME.
1031 * ntpl/tst-cond26.c: New test for passing unsupported and invalid
1032 clocks to pthread_cond_clockwait.
1033 * nptl/tst-cond27.c: Add test similar to tst-cond5.c, but using
1034 struct timespec and pthread_cond_clockwait.
1035 * manual/threads.texi: Document pthread_cond_clockwait.
1036
6615f779
MC
1037 nptl: Add POSIX-proposed sem_clockwait which behaves just like
1038 sem_timedwait, but measures abstime against the specified clock.
1039 * nptl/sem_waitcommon.c (do_futex_wait, __new_sem_wait_slow): Add
1040 clockid parameters to indicate the clock which abstime should be
1041 measured against.
1042 * nptl/sem_timedwait.c (sem_timedwait), nptl/sem_wait.c
1043 (__new_sem_wait): Pass CLOCK_REALTIME as clockid to
1044 __new_sem_wait_slow.
1045 * nptl/sem_clockwait.c: New file to implement sem_clockwait based
1046 on sem_timedwait.c.
1047 * nptl/Makefile: Add sem_clockwait.c source file. Add CFLAGS for
1048 sem_clockwait.c to match those used for sem_timedwait.c.
1049 * sysdeps/pthread/semaphore.h: Add sem_clockwait.
1050 * nptl/Versions (GLIBC_2.30): Likewise.
1051 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
1052 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
1053 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
1054 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
1055 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
1056 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
1057 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
1058 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1059 (GLIBC_2.30): Likewise.
1060 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1061 (GLIBC_2.30): Likewise.
1062 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1063 (GLIBC_2.30): Likewise.
1064 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1065 (GLIBC_2.30): Likewise.
1066 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1067 (GLIBC_2.30): Likewise.
1068 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
1069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1070 (GLIBC_2.30): Likewise.
1071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1072 (GLIBC_2.30): Likewise.
1073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1074 (GLIBC_2.30): Likewise.
1075 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1076 (GLIBC_2.30): Likewise.
1077 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1078 (GLIBC_2.30): Likewise.
1079 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1080 (GLIBC_2.30): Likewise.
1081 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
1082 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1083 (GLIBC_2.30): Likewise.
1084 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1085 (GLIBC_2.30): Likewise.
1086 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1087 (GLIBC_2.30): Likewise.
1088 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1089 (GLIBC_2.30): Likewise.
1090 * nptl/tst-sem17.c: Add new test for passing invalid clock to
1091 sem_clockwait.
1092 * nptl/tst-sem13.c, nptl/tst-sem5.c: Modify existing sem_timedwait
1093 tests to also test sem_clockwait.
1094 * manual/threads.texi: Document sem_clockwait.
1095
99d01ffc
MC
1096 nptl: Add clockid parameter to futex timed wait calls
1097 * sysdeps/nptl/lowlevellock-futex.h,
1098 sysdeps/unix/sysv/linux/lowlevellock-futex.h: Replace
1099 lll_futex_timed_wait_bitset with lll_futex_clock_wait_bitset that
1100 takes a clockid rather than a special clockbit.
1101 * sysdeps/nptl/lowlevellock-futex.h: Add
1102 lll_futex_supported_clockid so that client functions can check
1103 whether their clockid parameter is valid even if they don't
1104 ultimately end up calling lll_futex_clock_wait_bitset.
1105 * sysdeps/nptl/futex-internal.h,
1106 sysdeps/unix/sysv/linux/futex-internal.h
1107 (futex_abstimed_wait, futex_abstimed_wait_cancelable): Add
1108 clockid_t parameter to indicate which clock the absolute time
1109 passed should be measured against. Pass that clockid onto
1110 lll_futex_clock_wait_bitset. Add invalid clock as reason for
1111 returning -EINVAL.
1112 * sysdeps/nptl/futex-internal.h,
1113 sysdeps/unix/sysv/linux/futex-internal.h: Introduce
1114 futex_abstimed_supported_clockid so that client functions can check
1115 whether their clockid parameter is valid even if they don't
1116 ultimately end up calling futex_abstimed_wait.
1117 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Remove
1118 code to calculate relative timeout for
1119 __PTHREAD_COND_CLOCK_MONOTONIC_MASK and just pass CLOCK_MONOTONIC
1120 or CLOCK_REALTIME as required to futex_abstimed_wait_cancelable.
1121 * nptl/pthread_rwlock_common (__pthread_rwlock_rdlock_full)
1122 (__pthread_wrlock_full), nptl/sem_waitcommon (do_futex_wait): Pass
1123 additional CLOCK_REALTIME to futex_abstimed_wait_cancelable.
1124 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
1125 Switch to lll_futex_clock_wait_bitset and pass CLOCK_REALTIME
1126
a008c76b
AZ
11272019-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1128
1129 [BZ #24699]
1130 * posix/tst-mmap-offset.c: Mention BZ #24699.
1131 (do_test_bz21270): Rename to do_test_large_offset and use
1132 mmap64_maximum_offset to check for maximum expected offset value.
1133 * sysdeps/generic/mmap_info.h: New file.
1134 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
1135 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
1136 __NR_mmap2 is used.
1137
99135114
DD
11382019-07-10 DJ Delorie <dj@redhat.com>
1139 Sergei Trofimovich <slyfox@inbox.ru>
1140
1141 [BZ #24696]
1142 [BZ #24695]
1143 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
1144 mappings.
1145 * nss/tst-nss-db-endgrent.c: New.
1146 * nss/tst-nss-db-endgrent.root: New.
1147 * nss/tst-nss-db-endpwent.c: New.
1148 * nss/tst-nss-db-endpwent.root: New.
1149 * nss/Makefile: Add new tests.
1150 * support/links-dso-program-c.c: Add selinux dependency.
1151 * support/links-dso-program.cc: Add selinux dependency.
1152 * support/Makefile: Build those with -lselinux if enabled.
1153
30ba0375
SN
11542019-07-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
1155
1156 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove the
1157 DT_AARCH64_VARIANT_PCS check.
1158 (elf_machine_lazy_rel): Use l_info[DT_AARCH64 (VARIANT_PCS)].
1159 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Remove
1160 variant_pcs.
1161
32b8188a
AS
11622019-07-10 Andreas Schwab <schwab@suse.de>
1163
1164 [BZ #23352]
1165 * malloc/malloc.h (__malloc_check_init): Don't declare.
1166 * include/malloc.h (__malloc_check_init): Likewise.
1167 * malloc/malloc-internal.h (__malloc_check_init): Declare it here.
1168 * manual/memory.texi (__malloc_check_init): Don't mention it.
1169
7901d4ee
MH
11702019-07-10 Mao Han <han_mao@c-sky.com>
1171
1172 * locale/Makefile: Fix tst-locale-locpath arguments passing.
1173
b5232c9f 11742019-07-09 Paul A. Clarke <pc@us.ibm.com>
32b8188a 1175
b5232c9f
PC
1176 * sysdeps/powerpc/fpu/fenv_libc.h (_FPU_GET_RC): Protect use of
1177 __builtin_cpu_supports with __BUILTIN_CPU_SUPPORTS__.
1178
6ba205b2
DD
11792019-07-08 DJ Delorie <dj@redhat.com>
1180
1181 [BZ #23501]
1182 * io/ftw.c (process_entry): Fill in statbuf for dangling links.
1183 * io/tst-ftw-lnk.c: New test.
1184 * io/Makefile: Run it.
1185
f215dbbd
AZ
11862019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1187
6ea21bfe
AZ
1188 * sysdeps/powerpc/power7/fpu/s_logb.c: Move to ...
1189 * sysdeps/powerpc/fpu/s_logb.c: ... here. Use inline FP constants.
1190 * sysdeps/powerpc/power7/fpu/s_logbf.c: Move to ...
1191 * sysdeps/powerpc/fpu/s_logbf.c: ... here. Use inline FP constants.
1192 * sysdeps/powerpc/power7/fpu/s_logbl.c: Move to ...
1193 * sysdeps/powerpc/fpu/s_logbl.c: ... here. Use inline FP constants.
1194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c:
1195 Adjust implementation path.
1196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c:
1197 Adjust implementation path.
1198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-power7.c:
1199 Adjust implementation path.
1200 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1201 (libm-sysdep_routines): Add s_log* objects.
1202 (CFLAGS-s_logbf-power7.c, CFLAGS-s_logbl-power7.c,
1203 CFLAGS-s_logb-power7.c): New fule.
1204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: Move
1205 to ...
1206 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-power7.c:
1207 ... here.
1208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: Move
1209 to ...
1210 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-ppc64.c:
1211 ... here.
1212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Move to ...
1213 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb.c: ... here.
1214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: Move
1215 to ...
1216 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-power7.c:
1217 ... here.
1218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: Move
1219 to ...
1220 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-ppc64.c:
1221 ... here.
1222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Move to ...
1223 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf.c: ... here.
1224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: Move
1225 to ...
1226 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-power7.c:
1227 ... here.
1228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: Move
1229 to ...
1230 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-ppc64.c:
1231 ... here.
1232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: Move to ...
1233 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl.c: ... here.
1234 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Remove file.
1235 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Remove file.
1236 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1237 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1238
105f2ed3
AZ
1239 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ...
1240 * sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for
1241 powerpc32 integer 0 converting to -0.
1242
0cccd37f
AZ
1243 * benchtests/Makefile (bench-math): Add logb.
1244 * benchtests/logb-inputs: New file.
1245 * benchtests/logbf-inputs: New file.
1246
931c616e
AZ
1247 * sysdeps/powerpc/power5+/fpu/s_modf.c: Move to ...
1248 * sysdeps/powerpc/fpu/s_modf.c: ... here. Add ISA 2.07 optimization.
1249 * sysdeps/powerpc/power5+/fpu/s_modff.c: Move to ...
1250 * sysdeps/powerpc/fpu/s_modff.c: ... here. Add ISA 2.07 optimization.
1251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1252 Adjust include.
1253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1254 Likewise.
1255 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile (sysdep_calls,
1256 sysdep_routines): Add s_modf* objects.
1257 (CFLAGS-s_modf-power5+.c, CFLAGS-s_modff-power5+.c,
1258 CFLAGS-s_modf-ppc64.c, CFLAGS-s_modff-ppc64.c): New rule.
1259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Move
1260 to ...
1261 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c:
1262 ... here.
1263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Movo
1264 to ...
1265 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c: Move
1266 ... here.
1267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Move to ...
1268 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf.c: ... here.
1269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: Move
1270 to ...
1271 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-power5+.c:
1272 ... here.
1273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: Move to ...
1274 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-ppc64.c:
1275 ... here.
1276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Move to ...
1277 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff.c: ... here.
1278
69461d98
AZ
1279 * sysdeps/powerpc/fpu/e_hypot.c (two60, two500, two600, two1022,
1280 twoM500, twoM600, two60factor, pdnum): Remove.
1281 (TEST_INFO_NAN, GET_TW0_HIGH_WORD): Remove macro.
1282 (__ieee754_hypot): Replace static variables with inline definition,
1283 remove ununsed branches.
1284 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1285 (libm-sysdep_routines): Remove e_hypot-* objects.
1286 (CFLAGS-e_hypot-power7.c, CFLAGS-e_hypotf-power7.c): Remove rule.
1287 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: Remove
1288 file.
1289 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: Likewise.
1290 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: Likewise.
1291 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: Likewise.
1292 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: Likewise.
1293 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: Likewise.
1294
f215dbbd
AZ
1295 * benchtests/Makefile (bench-math): Add hypot.
1296 * benchtests/hypot-inputs: New file.
1297
97274b18
VC
12982019-07-08 Vincent Chen <vincentc@andestech.com>
1299
1300 * sysdeps/unix/sysv/linux/dl-vdso.h
1301 (VDSO_NAME_LINUX_4, VDSO_HASH_LINUX_4): New defines.
1302
484b7af3
AS
13032019-07-04 Andreas Schwab <schwab@suse.de>
1304
1305 [BZ #24484]
1306 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Define.
1307
2b8a3c86
SN
13082019-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1309
1310 * sysdeps/aarch64/Makefile: Install sys/ifunc.h and add tests.
1311 * sysdeps/aarch64/dl-irel.h (elf_ifunc_invoke): Update to new ABI.
1312 * sysdeps/aarch64/sys/ifunc.h: New file.
1313 * sysdeps/aarch64/tst-ifunc-arg-1.c: New file.
1314 * sysdeps/aarch64/tst-ifunc-arg-2.c: New file.
1315
41d6f74e
FW
13162019-07-01 Florian Weimer <fweimer@redhat.com>
1317
1318 [BZ #20188]
1319 * nptl/Versions (libpthread): Remove __fork from GLIBC_2.0.
1320 Replace __vfork with __libpthread_version_placeholder for
1321 GLIBC_2.1.2.
1322 (libc): Remove __libc_vfork from GLIBC_PRIVATE.
1323 * nptl/Makefile (libpthread-routines): Remove pt-vfork. Add
1324 libpthread-compat.
1325 * nptl/pt-vfork.c: Remove file.
1326 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: Likewise.
1327 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Likewise.
1328 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
1329 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
1330 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: Likewise.
1331 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: Likewise.
1332 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Likewise.
1333 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: Likewise.
1334 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: Likewise.
1335 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
1336 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: Likewise.
1337 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Likewise.
1338 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: Likewise.
1339 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1340 Remove vfork, __vfork.
1341 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1342 Remove vfork.
1343 (GLIBC_2.1.2): Replace __vfork with
1344 __libpthread_version_placeholder.
1345 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1346 Remove vfork, __vfork.
1347 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1348 Likewise.
1349 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1350 Remove vfork.
1351 (GLIBC_2.1.2): Replace __vfork with
1352 __libpthread_version_placeholder.
1353 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1354 Remove vfork.
1355 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1356 (GLIBC_2.4): Remove vfork, __vfork.
1357 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1358 (GLIBC_2.0): Remove vfork.
1359 (GLIBC_2.1.2): Replace __vfork with
1360 __libpthread_version_placeholder.
1361 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1362 (GLIBC_2.18): Remove vfork, __vfork.
1363 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1364 (GLIBC_2.0): Remove vfork.
1365 (GLIBC_2.2): Remove __vfork.
1366 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist:
1367 (GLIBC_2.2): Remove vfork, __vfork.
1368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
1369 (GLIBC_2.0): Remove vfork.
1370 (GLIBC_2.1.2): Replace __vfork with
1371 __libpthread_version_placeholder.
1372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1373 (GLIBC_2.3): Remove vfork, __vfork.
1374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1375 (GLIBC_2.17): Likewise.
1376 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1377 (GLIBC_2.0): Remove vfork.
1378 (GLIBC_2.1.2): Replace __vfork with
1379 __libpthread_version_placeholder.
1380 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1381 (GLIBC_2.2): Remove vfork, __vfork.
1382 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1383 Likewise.
1384 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1385 (GLIBC_2.0): Remove vfork.
1386 (GLIBC_2.1.2): Replace __vfork with
1387 __libpthread_version_placeholder.
1388 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1389 (GLIBC_2.2): Remove vfork, __vfork.
1390 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1391 (GLIBC_2.2.5): Likewise.
1392 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1393 (GLIBC_2.16): Likewise.
1394 * sysdeps/unix/sysv/linux/hppa/localplt.data (libpthread.so):
1395 Remove __errno_location.
1396
27cec9ae
FW
13972019-07-02 Florian Weimer <fweimer@redhat.com>
1398
1399 [BZ #24757]
1400 * malloc/Depend: Add nptl and htl, due to potential indirect
1401 libpthread dependency of memusagestat.
1402
d1bc2cbb
SL
14032019-07-02 Stefan Liebler <stli@linux.ibm.com>
1404
1405 * resolv/res_send.c (__res_context_send): Disable maybe-uninitialized
1406 warning.
1407
72edea80
FW
14082019-07-01 Florian Weimer <fweimer@redhat.com>
1409
1410 * scripts/build-many-glibcs.py (Context.add_all_configs): Add v4t
1411 variant for arm-linux-gnueabi.
1412
d0093c5c
L
14132019-07-01 H.J. Lu <hongjiu.lu@intel.com>
1414
1415 [BZ #24259]
1416 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
1417 relocation.
1418 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
1419 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
1420 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
1421 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
1422 and tst-cet-legacy-mod-6c.
1423 (CFLAGS-tst-cet-legacy-5a.c): New.
1424 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
1425 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
1426 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
1427 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
1428 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
1429 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
1430 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
1431 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
1432 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
1433 ($(objpfx)tst-cet-legacy-5a): Likewise.
1434 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
1435 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
1436 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
1437 ($(objpfx)tst-cet-legacy-5b): Likewise.
1438 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
1439 (tst-cet-legacy-5b-ENV): Likewise.
1440 ($(objpfx)tst-cet-legacy-6a): Likewise.
1441 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
1442 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
1443 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
1444 ($(objpfx)tst-cet-legacy-6b): Likewise.
1445 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
1446 (tst-cet-legacy-6b-ENV): Likewise.
1447 * sysdeps/x86/tst-cet-legacy-5.c: New file.
1448 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
1449 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
1450 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
1451 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
1452 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
1453 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
1454 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
1455 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
1456 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
1457 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
1458 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
1459 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
1460 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
1461
3db85a98
PC
14622019-06-30 Paul A. Clarke <pc@us.ibm.com>
1463
1464 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
1465 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
1466 (__fegetround_ISA300) New.
1467 (__fegetround_ISA2) New.
1468 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
1469 (_FPU_MFFS): Move implementation...
1470 (_FPU_GETCW): Here.
1471 (_FPU_MFFSL): Move implementation....
1472 (_FPU_GET_RC_ISA300): Here. New.
1473 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
1474 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
1475 (fegetenv_status): New.
1476 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
1477 instead of fegetenv_register().
1478 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
1479
d0645912
WD
14802019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
1481
1482 * benchtests/bench-math-inlines.c: Increase iterations.
1483 * benchtests/bench-memcmp.c: Likewise.
1484 * benchtests/bench-rawmemchr.c: Likewise.
1485 * benchtests/bench-strcmp.c: Likewise.
1486 * benchtests/bench-strcpy_chk.c: Likewise.
1487 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
1488 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
1489 (INNER_LOOP_ITERS_SMALL): Likewise.
1490 * benchtests/bench-strncat.c: Increase iterations.
1491 * benchtests/bench-strncmp.c: Increase iterations.
1492 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
1493 * benchtests/bench-strrchr.c: Increase iterations.
1494 * benchtests/bench-strstr.c: Keep iterations unchanged.
1495 * benchtests/bench-strtod.c: Increase iterations.
1496
afe23eb0
AY
14972019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
1498
1499 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
1500 with INNER_LOOP_ITERS_LARGE.
1501 * benchtests/bench-memchr.c: Likewise.
1502 * benchtests/bench-rawmemchr.c: Likewise.
1503 * benchtests/bench-strcat.c: Likewise.
1504 * benchtests/bench-strchr.c: Likewise.
1505 * benchtests/bench-string.h: Likewise.
1506 * benchtests/bench-strlen.c: Likewise.
1507 * benchtests/bench-strncpy.c: Likewise.
1508 * benchtests/bench-strnlen.c: Likewise.
1509
507f55c0
FW
15102019-06-28 Florian Weimer <fweimer@redhat.com>
1511
1512 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
1513 Use mmap instead of malloc. malloc with M_PERTURB writes to the
1514 entire allocated memory range.
1515
589787f8
TK
15162019-06-28 Tobias Klauser <tklauser@distanz.ch>
1517
1518 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
1519 (prepare_version_base): New helper inline function.
1520 (prepare_version): New macro replacing PREPARE_VERSION.
1521 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
1522
f0b2132b
FW
15232019-06-28 Florian Weimer <fweimer@redhat.com>
1524
1525 [BZ #24741]
1526 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
1527 mismatch in a versioned symbol reference.
1528 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
1529 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
1530 tst-sonamemove-dlopen.
1531 (module-names): Add tst-sonamemove-linkmod1,
1532 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
1533 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
1534 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
1535 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
1536 (tst-sonamemove-runmod1.so): Link against
1537 tst-sonamemove-runmod2.so.
1538 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
1539 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
1540 tst-sonamemove-runmod2.so.
1541 (tst-sonamemove-dlopen): Link with -ldl.
1542 (tst-sonamemove-dlopen.out): Likewise.
1543 * elf/tst-sonamemove-link.c: New file.
1544 * elf/tst-sonamemove-dlopen.c: Likewise.
1545 * elf/tst-sonamemove-linkmod1.c: Likewise.
1546 * elf/tst-sonamemove-linkmod1.map: Likewise.
1547 * elf/tst-sonamemove-runmod1.c: Likewise.
1548 * elf/tst-sonamemove-runmod1.map: Likewise.
1549 * elf/tst-sonamemove-runmod2.c: Likewise.
1550 * elf/tst-sonamemove-runmod2.map: Likewise.
1551
17432d71
FW
15522019-06-28 Florian Weimer <fweimer@redhat.com>
1553
1554 * support/xdlfcn.h (xdlvsym): Declare function.
1555 * support/xdlfcn.c (xdlvsym): Define funciton.
1556
5a659ccc
FW
15572019-06-28 Florian Weimer <fweimer@redhat.com>
1558
1559 [BZ #24744]
1560 io: Remove the copy_file_range emulation.
1561 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
1562 not define and call copy_file_range_compat.
1563 * io/Makefile (tests-static, tests-internal): Do not add
1564 tst-copy_file_range-compat.
1565 * io/copy_file_range-compat.c: Remove file.
1566 * io/copy_file_range.c (copy_file_range): Define as stub.
1567 * io/tst-copy_file_range-compat.c: Remove file.
1568 * io/tst-copy_file_range.c (xdevfile): Remove variable.
1569 (typical_sizes): Update comment. Remove 16K sizes.
1570 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
1571 Remove variables.
1572 (find_maximum_offset, pipe_as_source, pipe_as_destination)
1573 (delayed_write_failure_beginning, delayed_write_failure_end)
1574 (cross_device_failure, enospc_failure_1, enospc_failure)
1575 (oappend_failure): Remove functions.
1576 (tests): Adjust test case list.
1577 (do_test): Remove file system search code. Check for ENOSYS from
1578 copy_file_range. Do not free xdevfile.
1579 * manual/llio.texi (Copying File Data): Document ENOSYS error from
1580 copy_file_range. Do not document the EXDEV error, which future
1581 kernels may not report. Update the wording to reflect that
1582 further errors are possible.
1583 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1584 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
1585 not undefine.
1586 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1587 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
1588 Likewise.
1589 * sysdeps/unix/sysv/linux/kernel-features.h
1590 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
1591 Remove definition.
1592 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1593 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
1594 not undefine.
1595 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1596 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
1597 Likewise.
1598
1626f499
GG
15992019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
1600
1601 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
1602 used as a mask for the mode argument of __vfprintf_internal.
1603 * stdio-common/printf-parse.h (printf_arg): New union member:
1604 pa_float128.
1605 * stdio-common/vfprintf-internal.c
1606 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
1607 (PARSE_FLOAT_VA_ARG): Likewise.
1608 (SETUP_FLOAT128_INFO): Likewise.
1609 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
1610 SETUP_FLOAT128_INFO.
1611 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
1612 floating-point value to the new union member, pa_float128.
1613 (printf_positional): Zero-initialize args_value[cnt] with memset.
1614
a620bd79
FW
16152019-06-27 Florian Weimer <fweimer@redhat.com>
1616
1617 [BZ #24740]
1618 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
1619 buffer size if necessary.
1620 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
1621 Likewise.
1622 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
1623 New function.
1624 (large_buffer_checks): Likewise.
1625 (do_test): Call large_buffer_checks.
1626
d039da1c
L
16272019-06-26 H.J. Lu <hongjiu.lu@intel.com>
1628
1629 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
1630 * sysdeps/x86/dl-lookupcfg.h: Here.
1631 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
1632
9d5d214e
AZ
16332019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1634
aa32f5bf
AZ
1635 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1636 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
1637 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
1638 file.
1639 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
1640 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
1641 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
1642 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
1643 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
1644
9d5d214e
AZ
1645 * sysdeps/powerpc/powerpc32/fpu/Makefile
1646 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
1647 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
1648 and fctidz optimization.
1649 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
1650 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
1651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1652 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
1653 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
1654 CFLAGS-s_lround-power5+.c): New rule.
1655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
1656 New file.
1657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
1658 Likewise.
1659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
1660 Likewise.
1661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
1662 Likewise.
1663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
1664 Likewise.
1665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1666 Remove file.
1667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1668 Likewise.
1669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1670 Likewise.
1671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1672 Likewise.
1673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1674 Likewise.
1675 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1676 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
1677 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1678 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
1679 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1680 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1681 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
1682
a63b96fb
VC
16832019-06-26 Vincent Chen <vincentc@andestech.com>
1684
1685 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
1686 specific system calls, fp_udfiex_crtl and udftrap.
1687
c78b3f55
SL
16882019-06-26 Stefan Liebler <stli@linux.ibm.com>
1689
1690 * nptl/tst-eintr1.c (tf1): Add return statement.
1691 (do_test): Remove unused th variable.
1692
9e6a7d9c
SL
16932019-06-26 Stefan Liebler <stli@linux.ibm.com>
1694
1695 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
1696 Return error if get_character fails.
1697
c89e669a
SL
16982019-06-25 Stefan Liebler <stli@linux.ibm.com>
1699
1700 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1701
a55541fd
RL
17022019-06-24 Rafal Luzynski <digitalfreak@lingonborough.com>
1703
1704 [BZ #24652]
1705 * localedata/locales/szl_PL (day): Use the correct Unicode
1706 sequences instead of non-ASCII characters.
1707
2bd81b60
GK
17082019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
1709
1710 [BZ #24652]
1711 * localedata/locales/szl_PL (abday): Spelling corrections.
1712 (day): Likewise.
1713 (abmon): Likewise.
1714 (mon): Rename to...
1715 (alt_mon): This, then apply spelling corrections.
1716 (mon): New entry, month names in the genitive case.
1717
fefa2179
RL
17182019-06-21 Rafal Luzynski <digitalfreak@lingonborough.com>
1719
1720 [BZ #23831]
1721 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
1722 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
1723 (thousands_sep): Likewise.
1724 (grouping): Set to 3;3.
1725
85c748f9
TK
17262019-06-21 Tobias Klauser <tklauser@distanz.ch>
1727
1728 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
1729 PREPARE_VERSION_KNOWN.
1730 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
1731 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
1732 define.
1733 (VDSO_HASH_LINUX_2_6_39): Likewise.
1734 (VDSO_NAME_LINUX_4_9): Likewise.
1735 (VDSO_HASH_LINUX_4_9): Likewise.
1736 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
1737 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1738 (_libc_vdso_platform_setup): Likewise.
1739 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
1740 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
1741 Likewise.
1742 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
1743 Likewise.
1744
db13e32c
MC
17452019-06-20 Mike Crowe <mac@mcrowe.com>
1746
ce5b73a7
MC
1747 * nptl/eintr.c: Use libsupport.
1748 * nptl/tst-eintr1.c: Likewise.
1749 * nptl/tst-eintr2.c: Likewise.
1750 * nptl/tst-eintr3.c: Likewise.
1751 * nptl/tst-eintr4.c: Likewise.
1752 * nptl/tst-eintr5.c: Likewise.
1753 * nptl/tst-mutex-errorcheck.c: Likewise.
1754 * nptl/tst-mutex5.c: Likewise.
1755
8bf225d5
MC
1756 * support/test-driver.h: Add verbose_printf macro.
1757
db13e32c
MC
1758 * support/xtime.h: Add xclock_now() helper function.
1759
21cc130b
DL
17602019-06-20 Dmitry V. Levin <ldv@altlinux.org>
1761 Florian Weimer <fweimer@redhat.com>
1762
1763 [BZ #24228]
1764 * libio/genops.c (_IO_unbuffer_all)
1765 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
1766 buffers and access _IO_FILE_complete members of legacy libio streams.
1767 * libio/tst-bz24228.c: New file.
1768 * libio/tst-bz24228.map: Likewise.
1769 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
1770 [build-shared] (generated): Add tst-bz24228.mtrace and
1771 tst-bz24228.check.
1772 [run-built-tests && build-shared] (tests-special): Add
1773 $(objpfx)tst-bz24228-mem.out.
1774 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
1775 ($(objpfx)tst-bz24228-mem.out): New rule.
1776
49bc41b6
PC
17772019-06-19 Paul A. Clarke <pc@us.ibm.com>
1778
1779 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
1780 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
1781 (__FPU_MFFSL): Likewise.
1782 (_FPU_SETCW): Likewise.
1783
335c1007
SS
17842019-06-19 Stan Shebs <stanshebs@google.com>
1785 Raoni Fassina Firmino <raoni@linux.ibm.com>
1786
1787 [BZ #24640]
1788 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
1789 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
1790 static-linking version.
1791 * sysdeps/unix/sysv/linux/powerpc/Makefile
1792 (tests-static): Add test-gettimebasefreq-static.
1793 (tests): Likewise.
1794 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
1795 New file.
1796
f59a54ab
RL
17972019-06-19 Rafal Luzynski <digitalfreak@lingonborough.com>
1798
1799 [BZ #24614]
1800 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
1801 between the currency symbol and the minus sign).
1802 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
1803
f0c5a803
SL
18042019-06-19 Stefan Liebler <stli@linux.ibm.com>
1805
1806 [BZ #24556]
1807 * string/test-strcasestr.c (check_result): Add NULL check.
1808 * nss/tst-field.c (check_rewrite): Likewise.
1809 * benchtests/bench-strstr.c (do_one_test): Likewise.
1810 * string/test-strstr.c (check_result): Likewise.
1811 * argp/argp-test.c (popt): Increase size of buf to 12.
1812 * benchtests/bench-malloc-simple.c (bench):
1813 Do not initialize tests array out of bounds.
1814
fabf5e49
FW
18152019-06-19 Florian Weimer <fweimer@redhat.com>
1816
1817 [BZ #24166]
1818 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
1819 dls_serpath field.
1820
2c75b545
FW
18212019-06-18 Florian Weimer <fweimer@redhat.com>
1822
1823 [BZ #24323]
1824 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
1825 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
1826 fail when called from dlopen.
1827 * elf/Makefile [have-fpie && build-shared] (tests): Add
1828 tst-dlopen-pie.
1829 (tst-dlopen-pie): Link with -ldl.
1830 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
1831 * elf/tst-dlopen-pie.c (do_test): New file.
1832
02d8b5ab
RL
18332019-06-17 Rafal Luzynski <digitalfreak@lingonborough.com>
1834
1835 [BZ #24614]
1836 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
1837 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
1838 between the currency symbol and the minus sign).
1839 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
1840 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
1841
78049de0
AZ
18422019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1843
112a0ae1
AZ
1844 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
1845 sysdep-rtld-routines): Remove rules.
1846 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
1847 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
1848 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
1849 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
1850 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
1851 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
1852 vDSO path for SHARED.
1853 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
1854 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
1855 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1856 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
1857 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
1858 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
1859
dee07df1
AZ
1860 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1861 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
1862 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
1863 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
1864 CFLAGS-s_llround-power5+.c): New rule.
1865 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
1866 New file.
1867 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
1868 Likewise.
1869 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
1870 Likewise.
1871 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
1872 Likewise.
1873 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
1874 Likewise.
1875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
1876 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
1877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
1878 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
1879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
1880 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
1881 * sysdeps/powerpc/powerpc64/fpu/Makefile
1882 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
1883 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1884 (libm-sysdep_routines): Remove s_llround-* objects.
1885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
1886 file.
1887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
1888 Likewise.
1889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
1890 Likewise.
1891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
1892 Likewise.
1893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
1894 Likewise.
1895 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1896 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1897 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
1898 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
1899 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
1900 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
1901 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
1902 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
1903 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1904 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
1905 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1906 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
1907 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1908 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
1909
2166283f
AZ
1910 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
1911 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
1912 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
1913 * sysdeps/powerpc/powerpc32/fpu/Makefile
1914 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
1915 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
1916 optimization.
1917 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
1918 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
1919 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
1920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1921 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
1922 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
1923 CFLAGS-s_lrint-ppc32.c): New rule.
1924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1925 Remove file.
1926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1927 Likewise.
1928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1929 Likewise.
1930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1931 Likewise.
1932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1933 Likewise.
1934 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1935 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1936 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1937 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
1939 New file.
1940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
1941 Likewise.
1942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
1943 Likewise.
1944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
1945 Likewise.
1946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
1947 Likewise.
1948
78049de0
AZ
1949 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1950 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
1951 s_llrint-ppc64.
1952 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
1953 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
1954 file.
1955 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
1956 Likewise.
1957 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
1958 Likewise.
1959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
1960 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
1961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
1962 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
1963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
1964 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
1965 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
1966 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
1967 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1968 (libm-sysdep_routines): Remove s_llrint-* objects.
1969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
1970 file.
1971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
1972 Likewise.
1973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
1974 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
1975 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
1976 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
1977 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
1978 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
1979 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1980 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
1981 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1982 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
1983
48c3c123
FW
19842019-06-14 Florian Weimer <fweimer@redhat.com>
1985
1986 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
1987 argument to __glibc_has_include to inhibit macro expansion.
1988
8d141877
FW
19892019-06-14 Florian Weimer <fweimer@redhat.com>
1990
1991 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
1992 function-like macro, so that __has_include can inhibit expansion
1993 of its argument.
1994
a26e2e9f
JM
19952019-06-13 Joseph Myers <joseph@codesourcery.com>
1996
cf274686
JM
1997 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
1998 New macro.
1999
a26e2e9f
JM
2000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2001 Allow memset in libc.so.
2002
82bc69c0
SN
20032019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2004
2005 * sysdeps/aarch64/dl-dtprocnum.h: New file.
2006 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
2007 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
2008 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
2009 symbols at load time.
2010 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
2011
55f82d32
SN
20122019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2013
2014 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
2015 (DT_AARCH64_VARIANT_PCS): Define.
2016
21bd039b
AZ
20172019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2018
11926960
AZ
2019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2020 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
2021 objects.
2022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2023 Remove file.
2024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
2025 Likewise.
2026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
2027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2028 Likewise.
2029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
2030 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2031 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
2032 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
2033 Remove s_finite* objects.
2034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
2035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
2036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
2037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
2039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
2040 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2041 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
2042 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2043 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
2044
a7218676
AZ
2045 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
2046 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
2047
6427a6ac
AZ
2048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2049 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
2050 objects.
2051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
2052 Remove file.
2053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
2054 Likewise.
2055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
2056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2057 Likewise.
2058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
2059 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2060 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
2061 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
2062 Remove s_isinf* and s_isinf* objects.
2063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
2064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
2065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
2066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
2068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
2069 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2070 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
2071 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2072 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
2073
a8c590f7
AZ
2074 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
2075 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
2076
2666f963
AZ
2077 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
2078 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
2079 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2081 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
2082 s_isnanf-* objects.
2083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
2084 Remove file
2085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
2086 Likewise.
2087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
2088 Likewise.
2089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
2090 Likewise.
2091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
2092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
2093 Likewise.
2094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2095 Likewise.
2096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
2097 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2098 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
2099 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2100 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
2101 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2102 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
2103 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
2104 Remove s_isnan-* and s_isnanf-* objects.
2105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
2106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
2107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
2108 Likewise.
2109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
2110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
2111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
2112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
2114 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2115 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2116 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2117 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2118 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2119 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
2120 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2121 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
2122
197dbda1
AZ
2123 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
2124 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
2125
2731a326
AZ
2126 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
2127 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
2128 CFLAGS-bench-isfinite.c): New rule.
2129 * benchtests/isnan-input: New file.
2130 * benchtests/isinf-input: New file.
2131 * benchtests/isfinite-input: New file.
2132
e41d66e4
AZ
2133 * sysdeps/powerpc/fpu/s_copysign.c: New file.
2134 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
2135 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
2136 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
2137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2138 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
2139 s_copysign-ppc32.
2140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2141 Remove file.
2142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2143 Likewise.
2144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2145 Likewise.
2146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
2147 Likewise.
2148 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
2149 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
2150 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
2151 Remove s_copysign-power6 s_copysign-ppc64.
2152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
2153 Remove file.
2154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
2155 Likewise.
2156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
2157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
2158 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2159 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
2160 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2161 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
2162
21bd039b
AZ
2163 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
2164 round_to_integer_float, round_mode): Add RINT handling.
2165 (reset_fenv_mode): New symbol.
2166 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
2167 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
2168 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
2169 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2170 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2171 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2172
cfa61144
FW
21732019-06-12 Florian Weimer <fweimer@redhat.com>
2174
2175 [BZ #24632]
2176 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
2177 * libio/freopen.c (freopen): Use it.
2178
744e8296
FW
21792019-06-12 Florian Weimer <fweimer@redhat.com>
2180
2181 Linux: Deprecate sysctl.
2182 * include/sysctl.h (__sysctl): Remove declaration.
2183 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
2184 check.
2185 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
2186 (sysctl): Add deprecation attribute.
2187 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
2188 directly, to avoid the deprecation warning. Do not include
2189 <string.h>.
2190 (__sysctl): Remove hidden alias.
2191
5dad6ffb
FW
21922019-06-12 Florian Weimer <fweimer@redhat.com>
2193
2194 Linux: Use kernel headers for statx definitions if available.
2195 * include/bits/statx-generic.h: New file.
2196 * include/bits/types/struct_statx.h: Likewise.
2197 * include/bits/types/struct_statx_timestamp.h: Likewise.
2198 * io/Makefile (headers): Add bits/statx-generic.h.
2199 * io/bits/statx-generic.h: New file. Partly copied from
2200 io/bits/statx.h.
2201 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
2202 define original_statx.
2203 * io/bits/types/struct_statx.h: Likewise.
2204 * io/bits/types/struct_statx_timestamp.h: Likewise.
2205 (statx_generic): Use original_statx.
2206 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
2207 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
2208
4e75c2a4
FW
22092019-06-12 Florian Weimer <fweimer@redhat.com>
2210
2211 * misc/sys/cdefs.h (__glibc_has_include): Define.
2212
680942b0
WD
22132019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
2214
2215 * string/memmem.c (__memmem): Rewrite to improve performance.
2216
5e0a7ecb
WD
22172019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
2218
2219 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
2220 warning.
2221 (two_way_long_needle): Block inlining.
2222 * string/strstr.c (strstr2): Add new function.
2223 (strstr3): Likewise.
2224 (STRSTR): Completely rewrite strstr to improve performance.
2225
80b2bfb5
WD
22262019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
2227
2228 * benchtests/bench-strstr.c (test_hard_needle): New function.
2229
e6e24243
JM
22302019-06-10 Joseph Myers <joseph@codesourcery.com>
2231
2232 * malloc/tst-calloc.c: Include <libc-diag.h>.
2233 (null_test): Ignore -Wunused-result around calls to calloc.
2234 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
2235 (do_test): Ignore -Wunused-result around call to malloc.
2236
51ea67d5
FW
22372019-06-07 Florian Weimer <fweimer@redhat.com>
2238
2239 Linux: Add getdents64 system call.
2240 * include/dirnent.h (getdents): Add comment and change buffer
2241 argument type to void *.
2242 (getdents64): Likewise. Add hidden prototype.
2243 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
2244 getdents64.
2245 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
2246 Add tst-getdents64.
2247 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
2248 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
2249 argument type to void *.
2250 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
2251 Add hidden definition and getdents64 alias.
2252 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
2253 Likewise.
2254 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
2255 * manual/filesys.texi (Accessing Directories): Add Low-level
2256 Directory Access node reference.
2257 (Opening a Directory): Cross-reference it.
2258 (Low-level Directory Access): New node.
2259 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
2260 getdents64.
2261 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
2262 Likewise.
2263 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
2264 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
2265 Likewise.
2266 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
2267 Likewise.
2268 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
2269 Likewise.
2270 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
2271 Likewise.
2272 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
2273 Likewise.
2274 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
2275 Likewise.
2276 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
2277 Likewise.
2278 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2279 (GLIBC_2.30): Likewise.
2280 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2281 (GLIBC_2.30): Likewise.
2282 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2283 (GLIBC_2.30): Likewise.
2284 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2285 (GLIBC_2.30): Likewise.
2286 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
2287 Likewise.
2288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2289 (GLIBC_2.30): Likewise.
2290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2291 (GLIBC_2.30): Likewise.
2292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
2293 (GLIBC_2.30): Likewise.
2294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
2295 (GLIBC_2.30): Likewise.
2296 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
2297 Likewise.
2298 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
2299 Likewise.
2300 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
2301 Likewise.
2302 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
2303 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
2304 Likewise.
2305 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
2306 Likewise.
2307 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
2308 Likewise.
2309 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
2310 Likewise.
2311
de751ebc
PC
23122019-06-06 Paul A. Clarke <pc@us.ibm.com>
2313
2314 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
2315 (__FPU_MFFS): New.
2316 (__FPU_MFFSL): New.
2317 (_FPU_GET_RC): New.
2318 (_FPU_GETCW): Use __FPU_MFFS().
2319 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
2320
28dd3939
FW
23212019-06-06 Florian Weimer <fweimer@redhat.com>
2322
2323 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
2324 internal GCC preprocessor identifier __has_include__.
2325
0158473d
PC
23262019-06-05 Paul A. Clarke <pc@us.ibm.com>
2327
2328 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
2329 with call to equivalent function.
2330
e863dbf6
FW
23312019-06-04 Florian Weimer <fweimer@redhat.com>
2332
2333 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
2334 (do_release_shlib): Adjust for __twalk_r.
2335 (__gconv_release_shlib): Call __twalk_r.
2336
4802be92
AS
23372019-06-04 Andreas Schwab <schwab@suse.de>
2338
2339 [BZ #18830]
2340 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
2341 no irreversible characters occurred.
2342 * iconv/gconv_simple.c (internal_ucs4_loop)
2343 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
2344 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
2345 (ucs4_internal_loop_single, internal_ucs4le_loop)
2346 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
2347 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
2348 (ucs4le_internal_loop_single): Add const to outend.
2349 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
2350 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
2351 * iconv/Makefile (tests): Add tst-iconv7.
2352 * iconv/tst-iconv7.c: New file.
2353
dc91a19e
JM
23542019-06-03 Joseph Myers <joseph@codesourcery.com>
2355
2356 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
2357
6a1a9a49 23582019-06-01 Florian Weimer <fweimer@redhat.com>
6b33f373
FW
2359
2360 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
2361 * sysdeps/unix/sysv/linux/arm/Makefile
2362 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
2363 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
2364 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
2365 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
2366 compatibility symbols.
2367
0bb8f8c7
FW
23682019-05-31 Florian Weimer <fweimer@redhat.com>
2369
2370 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
2371 system calls for the arm architecture: breakpoint, get_tls,
2372 set_tls, usr26, usr32.
2373
9250e661
GG
23742019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
2375
2376 * sysdeps/powerpc/Makefile
2377 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
2378 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
2379 Declare '.machine power7' to get support for ldbrx.
2380 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
2381 directive based on the directory of the file.
2382 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
2383 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
2384 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
2385 '.machine' directive.
2386 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
2387 (VADDUQM_V7_V8): Remove.
2388 (__STRCASECMP): Replace macros with actual instructions.
2389 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
2390 '.machine' directive.
2391 (VCLZD_V8_v7): Remove.
2392 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
2393
fbd6c928
AZ
23942019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2395
2396 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
2397 Remove file.
2398 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
2399
e47308c9
AZ
24002019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2401
2402 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
2403 NEARBYINT handling.
2404 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
2405 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
2406 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
2407 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
2408 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
2409 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2410
157cda1f 24112019-05-28 mansayk <6688000@gmail.com>
2412
2413 [BZ #24370]
2414 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
2415
182a3746 24162019-05-28 mansayk <6688000@gmail.com>
2417
2418 [BZ #24369]
2419 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
2420 (abmon): Likewise, but remove the trailing dots.
2421
c6df1ce3
JM
24222019-05-28 Joseph Myers <joseph@codesourcery.com>
2423
2424 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
2425
85188d82
FW
24262019-05-27 Florian Weimer <fweimer@redhat.com>
2427
2428 * nptl/nptl-init.c: Add comment.
2429
5c23c821
FW
24302019-05-24 Florian Weimer <fweimer@redhat.com>
2431
2432 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
2433 struct in_addr/struct in6_addr alignment.
2434
bee1f2c4
JM
24352019-05-23 Joseph Myers <joseph@codesourcery.com>
2436
2437 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2438 (F_SEAL_FUTURE_WRITE): New macro.
2439
481c30cb
AH
24402019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
2441
2442 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
2443 * elf/tst-ldconfig-bad-aux-cache.c: New file.
2444 * elf/tst-ldconfig_aux-cache.root: New directory.
2445 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
2446 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
2447 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
2448
cb755eed
ZW
24492019-05-22 Zack Weinberg <zackw@panix.com>
2450
2451 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
2452 host type.
2453 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
2454 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
2455
2456 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
2457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
2458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
2459 Delete.
2460
2461 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
2462 Issue an #error if used with a compiler in SPE-float mode.
2463 * sysdeps/powerpc/powerpc32/__longjmp_common.S
2464 * sysdeps/powerpc/powerpc32/setjmp_common.S
2465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
2466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
2467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
2468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
2469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
2470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2471 Remove code to preserve SPE register state.
2472
2473 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
2474 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
2475 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
2476 Remove __SPE__ ifndefs.
2477
46ae0732
WD
24782019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
2479
2480 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
2481 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
2482 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
2483 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
2484 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
2485 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
2486 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
2487 (INNER_LOOP_ITERS_MEDIUM): New define.
2488 (INNER_LOOP_ITERS_SMALL): New define.
2489 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
2490 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
2491 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
2492 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
2493 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
2494
004e52fe
AZ
24952019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
2496
2497 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
2498 New define.
2499 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
2500 (SEMTIMEDOP_IPC_ARGS): Likewise.
2501
c9c15ac3
FW
25022019-05-21 Florian Weimer <fweimer@redhat.com>
2503
2504 [BZ #24584]
2505 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
2506 before updating __counter field and release it afterwards. Add
2507 overflow check.
2508 * iconv/gconv.h (struct __gconv_step): Mention synchronization
2509 requirement for __counter member.
2510
7e740ab2
FW
25112019-05-21 Florian Weimer <fweimer@redhat.com>
2512
2513 [BZ #24583]
2514 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
2515 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
2516 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
2517 instead of __gconv_release_step.
2518 * libio/Makefile (tests): Add tst-wfile-gconv.
2519 (tests-container): Add tst-wfile-ascii.
2520 (tst-wfile-gconv-ENV): Enable mtrace.
2521 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
2522 (tests-special): Add tst-wfile-gconv-mem.out.
2523 (tst-wfile-gconv.out): Depend on locales.
2524 (tst-wfile-gconv-mem.out): Add mtrace rule.
2525 * libio/tst-wfile-ascii.c: New file.
2526 * libio/tst-wfile-gconv.c: Likewise.
2527
09e1b0e3
FW
25282019-05-20 Florian Weimer <fweimer@redhat.com>
2529
2530 [BZ #24588]
2531 libio: Remove codecvt vtable.
2532 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
2533 __libio_codecvt.
2534 * libio/iofgetpos.c (_IO_new_fgetpos): Call
2535 __libio_codecvt_encoding.
2536 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
2537 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
2538 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
2539 * libio/iofwide.c (__libio_codecvt): Remove variable.
2540 (_IO_fwide): Do not copy __libio_codecvt.
2541 (__libio_codecvt_out): Rename from do_out and export.
2542 (do_unshift): Remove function.
2543 (__libio_codecvt_in): Rename from do_in and export.
2544 (__libio_codecvt_encoding): Rename from do_encoding and export.
2545 (do_always_noconv): Remove function.
2546 (__libio_codecvt_length): Rename from do_length and export.
2547 (do_max_length): Remove function.
2548 * libio/libio.h (enum __codecvt_result): Remove definition; moved
2549 to libioP.h.
2550 (struct _IO_codecvt): Remove fields __codecvt_destr,
2551 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
2552 __codecvt_do_encoding, __codecvt_do_always_noconv,
2553 __codecvt_do_length, __codecvt_do_max_length.
2554 * libio/libioP.h (enum __codecvt_result): Define; moved from
2555 libio.h.
2556 (__libio_codecvt_out, __libio_codecvt_in)
2557 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
2558 functions.
2559 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
2560 (_IO_wfile_underflow): Call __libio_codecvt_in.
2561 (_IO_wfile_underflow): Likewise.
2562 (_IO_wfile_underflow_mmap): Likewise.
2563 (_IO_wfile_sync): Call __libio_codecvt_encoding,
2564 __libio_codecvt_length.
2565 (adjust_wide_data): Call __libio_codecvt_encoding,
2566 __libio_codecvt_in.
2567 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
2568 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
2569 __libio_codecvt_length.
2570
75c51570
FW
25712019-05-20 Florian Weimer <fweimer@redhat.com>
2572
2573 * support/support.h (support_sbindir_prefix): Declare.
2574 (support_install_rootsbindir): Update comment.
2575 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
2576 * support/support_paths.c (support_sbindir_prefix): Define.
2577
ff6bec7d
MC
25782019-05-20 Mike Crowe <mac@mcrowe.com>
2579
b62bb3bc
MC
2580 * support/timespec.c: Add backslash to correct newline in failure
2581 message.
2582
ff6bec7d
MC
2583 * support/timespec.h: Correct confusing comment.
2584
dfba907f
AZ
25852019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2586
236c18e5
AZ
2587 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
2588 define.
2589 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
2590 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
2591 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
2592 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
2593
dfba907f
AZ
2594 [BZ #24570]
2595 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
2596 usage.
2597
13886008
JM
25982019-05-20 Joseph Myers <joseph@codesourcery.com>
2599
2600 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
2601 (NT_ARM_PACG_KEYS): Likewise.
2602
1f50f2ad
WD
26032019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
2604
2605 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
2606 (tcache_put): Remove redundant assert.
2607 (tcache_get): Remove redundant asserts.
2608 (__libc_malloc): Check tcache count is not zero.
2609 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
2610
fef7c63c
FW
26112019-05-17 Florian Weimer <fweimer@redhat.com>
2612
2613 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
2614
5f161b23
JM
26152019-05-16 Joseph Myers <joseph@codesourcery.com>
2616
2617 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2618 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
2619 0x050100].
2620 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
2621 Likewise.
2622 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2623 (__ASSUME_STATX): Likewise.
2624
ec255a97
FW
26252019-05-16 Florian Weimer <fweimer@redhat.com>
2626
2627 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
2628 flags argument.
2629 (LINE_PARSER): Do not map IPv4 addresses.
2630 (internal_nis_gethostent_r): Remove flags argument. Adjust call
2631 to parse_line.
2632 (_nss_nis_gethostent_r): Always pass AF_INET to
2633 internal_nis_gethostent_r.
2634 (internal_gethostbyname2_r): Remove flags argument. Adjust call
2635 to parse_line.
2636 (_nss_nis_gethostbyname2_r): Adjust call to
2637 internal_nis_gethostent_r.
2638 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
2639 call to internal_nis_gethostent_r.
2640 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
2641 from parse_line.
2642 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
2643 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
2644 Remove flags argument. Do not map IPv4 addresses.
2645 (internal_nisplus_gethostent_r): Adjust call to
2646 _nss_nisplus_parse_hostent.
2647 (internal_gethostbyname2_r): Remove flags argument. Adjust call
2648 to _nss_nisplus_parse_hostent.
2649 (_nss_nisplus_gethostbyname2_r): Adjust call to
2650 internal_gethostbyname2_r.
2651 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
2652 Adjust call to internal_gethostbyname2_r.
2653 (_nss_nisplus_gethostbyaddr_r): Adjust call to
2654 _nss_nisplus_parse_hostent.
2655 (_nss_nisplus_gethostbyname4_r): Adjust call to
2656 internal_gethostbyname2_r.
2657
9c02d078
FW
26582019-05-16 Florian Weimer <fweimer@redhat.com>
2659
2660 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
2661 Remove flags.
2662 (LINE_PARSER): Remove address mapping.
2663 (EXTRA_ARGS_VALUE): Remove flags argument.
2664 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
2665 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
2666 gethostbyname3_multi.
2667 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
2668 _nss_files_gethostbyname3_r.
2669 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
2670
85b0e1e8
FW
26712019-05-16 Florian Weimer <fweimer@redhat.com>
2672
2673 * support/support_test_compare_blob.c (report_blob): Report
2674 incorrect NULL blobs.
2675
11b451c8
MW
26762019-05-15 Mark Wielaard <mark@klomp.org>
2677
2678 [BZ# 24476]
2679 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
2680 __libc_once_get (once) and static_buf == NULL.
2681 (__dlerror): Check we have a valid key, set result to static_buf
2682 otherwise.
2683
32ff3975
AS
26842019-05-15 Andreas Schwab <schwab@suse.de>
2685
2686 [BZ #20568]
2687 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
2688 __codecvt_do_length.
2689 * libio/Makefile (tests): Add tst-wfile-sync.
2690 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
2691 * libio/tst-wfile-sync.c: New file.
2692 * libio/tst-wfile-sync.input: New file.
2693
a9368c34
FW
26942019-05-15 Florian Weimer <fweimer@redhat.com>
2695
2696 nss: Turn __nss_database_lookup into a compatibility symbol.
2697 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
2698 __nss_database_lookup.
2699 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
2700 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
2701 __nss_database_lookup.
2702 (__nss_next): Move to …
2703 * nss/compat-lookup.c (nss_next): … here. Change it to fail
2704 unconditionally.
2705 (__nss_database_lookup): New function.
2706 * nss/Versions (GLIBC_2.0): Update comment.
2707 (GLIBC_PRIVATE): Export __nss_database_lookup2.
2708 * grp/initgroups.c (internal_getgrouplist): Call
2709 __nss_database_lookup2 instead of __nss_database_lookup.
2710 * nscd/aicache.c (addhstaiX): Likewise.
2711 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2712 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
2713 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
2714 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
2715 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
2716 Likewise.
2717 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
2718 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
2719 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2720
d50f0918 27212019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
32ff3975 2722
d50f0918
AH
2723 * support/support.h (support_install_rootsbindir): New variable.
2724 * support/support_paths.c: Likewise.
2725 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
2726
7ac6fad9
FW
27272019-05-15 Florian Weimer <fweimer@redhat.com>
2728
2729 * iconv/gconv.h (__gconv_transliterate): Move declaration …
2730 * iconv/gconv_int.h (__gconv_transliterate): … here.
2731 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
2732 * iconv/skeleton.c: Likewise.
2733
04b261bd
FW
27342019-05-14 Florian Weimer <fweimer@redhat.com>
2735
2736 Linux: Add the tgkill function.
2737 * bits/signal_ext.h: New file.
2738 * manual/signal.texi (Signaling Another Process): Document tgkill.
2739 * signal/Makefile (headers): Add bits/signal_ext.h.
2740 * signal/signal.h: Include <bits/signal_ext.h>.
2741 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
2742 (tst-tgkill): Link with libpthread.
2743 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
2744 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
2745 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
2746 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
2747 tgkill.
2748 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2749 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2750 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
2751 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2752 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2753 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2754 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2755 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2756 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2757 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2758 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
2759 Likewise.
2760 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2761 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2762 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2764 Likewise.
2765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2766 Likewise.
2767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
2768 Likewise.
2769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
2770 Likewise.
2771 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
2772 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2773 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2774 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2775 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2776 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2777 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2778 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2779
6807f47b
CD
27802019-05-14 Carlos O'Donell <carlos@redhat.com>
2781
2782 * manual/search.texi (Tree Search Function): Adjust twalk_r
2783 documentation.
2784
fdb8a0be
AZ
27852019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2786
da2b83ef
AZ
2787 [BZ #24544]
2788 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
2789 pre-defined value.
2790
c7ac9caa
AZ
2791 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
2792 * support/support.h (support_bindir_prefix): New variable.
2793 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
2794
91f043ae
AZ
2795 * config.make.in (bindir): New variable.
2796
c50e1c26
AZ
2797 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
2798 (lll_trylock): Call __lll_trylock.
2799 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
2800 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
2801 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
2802 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2803 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
2804 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
2805 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2806 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2807 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
2808 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
2809 lowlevellock-futex.h.
2810
959aff9f
AZ
2811 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
2812 initialization for LLL_LOCK_INITIALIZER different than 0.
2813 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
2814 Assume LLL_LOCK_INITIALIZER being 0.
2815 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
2816 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
2817 Likewise.
2818 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
2819 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
2820
d7e4c642
AZ
2821 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
2822 Optimize futex call and add systemtap probe.
2823
fdb8a0be
AZ
2824 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
2825 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
2826 __libc_disable_asynccancel, __librt_enable_asynccancel,
2827 __libc_disable_asynccancel, __librt_enable_asynccancel,
2828 __librt_disable_asynccancel): Move to ...
2829 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
2830 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
2831 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
2832 * sysdeps/generic/single-thread.h: New file.
2833 * sysdeps/unix/sysdep.h: Include single-thread.h.
2834 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
2835 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2836
f6efec90
MF
28372019-05-08 Mike FABIAN <mfabian@redhat.com>
2838
2839 [BZ #24535]
2840 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
2841 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
2842 Unicode 12.1.0.
2843 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
2844 * localedata/unicode-gen/PropList.txt: Likewise.
2845 * localedata/unicode-gen/UnicodeData.txt: Likewise.
2846 * localedata/charmaps/UTF-8: Regenerate.
2847 * localedata/locales/i18n_ctype: Likewise.
2848 * localedata/locales/tr_TR: Likewise.
2849 * localedata/locales/translit_circle: Likewise.
2850 * localedata/locales/translit_cjk_compat: Likewise.
2851 * localedata/locales/translit_combining: Likewise.
2852 * localedata/locales/translit_compat: Likewise.
2853 * localedata/locales/translit_font: Likewise.
2854 * localedata/locales/translit_fraction: Likewise.
2855
5ad533e8
WD
28562019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
2857
2858 [BZ #24531]
2859 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
2860 (do_set_tcache_count): Only update if count is small enough.
2861 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
2862
4aee85f9
FW
28632019-05-10 Florian Weimer <fweimer@redhat.com>
2864
2865 * nptl/sem_close.c (struct walk_closure): Define.
2866 (walker): Adjust for __twalk_r.
2867 (sem_close): Call __twalk_r.
2868
eb669ff5
AZ
28692019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2870
2871 * support/timespec.c (test_timespec_before_impl,
2872 test_timespec_equal_or_after_impl): print timespec member as intmax_t
2873 insted of long int.
2874
51983996
MC
28752019-05-09 Mike Crowe <mac@mcrowe.com>
2876
44ac6ee9
MC
2877 * nptl/tst-abstime.c: Use libsupport.
2878
495514ee
MC
2879 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
2880 small bug where only tv.tv_usec was checked which could cause an
2881 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
2882 than a second.
2883
2884 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
2885 libsupport.
2886
40d0816f
MC
2887 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
2888 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
2889
d8e0b901
MC
2890 * nptl/tst-cond11.c: Use libsupport.
2891
51983996
MC
2892 * support/timespec.h: New file. Provide timespec helper functions
2893 along with macros in the style of those in check.h.
2894 * support/timespec.c: New file. Implement check functions declared
2895 in support/timespec.h.
2896 * support/timespec-add.c: New file from gnulib containing
2897 timespec_add implementation that handles overflow.
2898 * support/timespec-sub.c: New file from gnulib containing
2899 timespec_sub implementation that handles overflow.
2900 * support/README: Mention timespec.h.
2901
18aa51ee
SN
29022019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2903
2904 [BZ #24537]
2905 * nptl/Makefile: Move tst-eintr1 to xtests.
2906
252296c6
AZ
29072019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2908
ae45cf84
AZ
2909 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
2910 TRUNC handling.
2911 (round_mode): Add definition for TRUNC.
2912 * sysdeps/powerpc/fpu/s_trunc.c: New file.
2913 * sysdeps/powerpc/fpu/s_truncf.c: New file.
2914 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
2915 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2916 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
2917 Likewise.
2918 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
2919 Likewise.
2920 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
2921 Likewise.
2922 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2923 Likewise.
2924 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
2925 file.
2926 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
2927 Likewise.
2928 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
2929 Likewise.
2930 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
2931 Likewise.
2932 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
2933 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
2934 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
2935 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
2936 s_truncf-power5+, and s_truncf-ppc64.
2937 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
2938 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
2939 file.
2940 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
2941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
2942 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
2943 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
2944 file.
2945 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
2946 Likewise.
2947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
2948 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
2949 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2950 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
2951 s_truncf-power5+, and s_truncf-ppc64.
2952 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
2953 file.
2954 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
2955 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
2956 Likewise.
2957 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
2958 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2959 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2960 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
2961 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
2962
a1cb1888
AZ
2963 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
2964 ROUND handling.
2965 (round_mode): Add definition for ROUND.
2966 (round_to_integer_float): Likewise.
2967 * sysdeps/powerpc/fpu/s_round.c: New file.
2968 * sysdeps/powerpc/fpu/s_roundf.c: New file.
2969 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
2970 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2971 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
2972 Likewise.
2973 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
2974 Likewise.
2975 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
2976 Likewise.
2977 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2978 Likewise.
2979 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
2980 file.
2981 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
2982 Likewise.
2983 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
2984 Likewise.
2985 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
2986 Likewise.
2987 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
2988 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
2989 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
2990 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
2991 s_roundf-power5+, and s_roundf-ppc64.
2992 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
2993 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
2994 file.
2995 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
2996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
2997 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
2998 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
2999 file.
3000 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
3001 Likewise.
3002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
3003 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
3004 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3005 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
3006 s_roundf-power5+, and s_roundf-ppc64.
3007 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
3008 file.
3009 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
3010 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
3011 Likewise.
3012 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
3013 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3014 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3015 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
3016 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
3017
252296c6
AZ
3018 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
3019 Add FLOOR option.
3020 (round_mode): Add definition for FLOOR.
3021 * sysdeps/powerpc/fpu/s_floor.c: New file.
3022 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
3023 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
3024 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
3026 Remove file.
3027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
3028 Likewise
3029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
3030 Likewise.
3031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
3032 Likewise.
3033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
3034 New file.
3035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
3036 Likewise.
3037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
3038 Likewise.
3039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
3040 Likewise.
3041 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
3042 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
3043 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3044 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
3045 s_floorf-power5+, and s_floorf-ppc64.
3046 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
3047 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
3048 file.
3049 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
3050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
3051 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
3052 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
3053 file.
3054 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
3055 Likewise.
3056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
3057 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
3058 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3059 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
3060 s_floorf-power5+, and s_floorf-ppc64.
3061 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
3062 file.
3063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
3064 file.
3065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
3066 Likewise.
3067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
3068 Likewise.
3069 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
3070 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3071 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
3072 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
3073
33647a72
MC
30742019-05-08 Mike Crowe <mac@mcrowe.com>
3075
3076 * support/xclock_gettime.c (xclock_gettime): New file. Provide
3077 clock_gettime wrapper for use in tests that fails the test rather
3078 than returning failure.
3079
3080 * support/xtime.h: New file to declare xclock_gettime.
3081
3082 * support/Makefile: Add xclock_gettime.c.
3083
3084 * support/README: Mention xtime.h.
3085
b2f601ba
FW
30862019-05-08 Florian Weimer <fweimer@redhat.com>
3087
3088 malloc/tst-mallocfork2: Use process-shared barriers.
3089 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
3090 (signal_count, sigusr1_sender_pid): Remove.
3091 (iterations): Define constant.
3092 (shared): New variable.
3093 (sigusr1_received): Update comment.
3094 (sigusr1_handler): Do not send SIGSTOP to the sender process.
3095 (signal_sender): Optional use barriers to avoid sending signals
3096 during irrelevant times.
3097 (do_it): Initialize variable shared. Use xfork for error
3098 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
3099 the iteration count, independent of signal delivery. Check for
3100 deadlocks in fork. Introduce barriers for reducing signal
3101 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
3102 replaced by the barriers. Count signals during fork/free/malloc
3103 and report them.
3104 * malloc/Makefile (tst-mallocfork): Link with libpthread.
3105
c4a392cf
JM
31062019-05-07 Joseph Myers <joseph@codesourcery.com>
3107
7621676f
JM
3108 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3109 version to 5.1.
3110 (clock_adjtime64) New syscall.
3111 (clock_getres_time64) Likewise.
3112 (clock_gettime64) Likewise.
3113 (clock_nanosleep_time64) Likewise.
3114 (clock_settime64) Likewise.
3115 (futex_time64) Likewise.
3116 (io_pgetevents_time64) Likewise.
3117 (io_uring_enter) Likewise.
3118 (io_uring_register) Likewise.
3119 (io_uring_setup) Likewise.
3120 (mq_timedreceive_time64) Likewise.
3121 (mq_timedsend_time64) Likewise.
3122 (pidfd_send_signal) Likewise.
3123 (ppoll_time64) Likewise.
3124 (pselect6_time64) Likewise.
3125 (recvmmsg_time64) Likewise.
3126 (rt_sigtimedwait_time64) Likewise.
3127 (sched_rr_get_interval_time64) Likewise.
3128 (semtimedop_time64) Likewise.
3129 (timer_gettime64) Likewise.
3130 (timer_settime64) Likewise.
3131 (timerfd_gettime64) Likewise.
3132 (timerfd_settime64) Likewise.
3133 (utimensat_time64) Likewise.
3134
c4a392cf
JM
3135 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
3136 version to 9 branch.
3137
32e902a9
AY
31382019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
3139
3140 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
3141 __memmove_thunderx2 to the list of implementations
3142 * sysdeps/aarch64/multiarch/memmove.c: Likewise
3143 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
3144 (__memmove_thunderx2): Rewritten using SIMD ld/st
3145 (__memcpy_thunderx2): Fixed handling overlapping cases.
3146 Used ldp/stp instead of ldr/str if possible. Made loops
3147 tails branchless.
3148
ac3da35d
FW
31492019-05-03 Florian Weimer <fweimer@redhat.com>
3150
3151 * misc/tst-tsearch.c (walk_tree): Add more error checking.
3152
b2af6fb2
AZ
31532019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3154
7dfde28a 3155 [BZ #24506]
b2af6fb2
AZ
3156 * elf/tst-pldd.c (in_str_list): New function.
3157 (do_test): Add default names for ld and libc as one option.
3158
7b807a35
FW
31592019-05-02 Florian Weimer <fweimer@redhat.com>
3160
3161 misc: Add twalk_r function.
3162 * include/search.h (__twalk_r): Declare.
3163 * manual/examples/twalk.c: New file.
3164 * manual/search.texi (Tree Search Function): Document twalk_r.
3165 * misc/Versions (2.30): Export twalk_r.
3166 (GLIBC_PRIVATE): Export __twalk_r.
3167 * misc/search.h [__USE_GNU] (twalk_r): Declare.
3168 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
3169 (twalk_r): Add weak alias.
3170 * misc/tst-tsearch.c (struct walk_trace_element): Define.
3171 (walk_trace): New variable.
3172 (struct twalk_with_twalk_r_closure): Define.
3173 (twalk_with_twalk_r_action): New function.
3174 (twalk_with_twalk_r): Likewise.
3175 (walk_action): Call walk_trace_add.
3176 (walk_tree_with): Rename from walk_tree. Add walk argument.
3177 (walk_tree): New function.
3178 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
3179 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
3180 Likewise.
3181 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3182 Likewise.
3183 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3184 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
3185 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
3186 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
3187 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
3188 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3189 Likewise.
3190 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3191 Likewise.
3192 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3193 Likewise.
3194 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3195 (GLIBC_2.30): Likewise.
3196 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3197 (GLIBC_2.30): Likewise.
3198 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3199 (GLIBC_2.30): Likewise.
3200 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3201 (GLIBC_2.30): Likewise.
3202 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3203 Likewise.
3204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3205 (GLIBC_2.30): Likewise.
3206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3207 (GLIBC_2.30): Likewise.
3208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3209 (GLIBC_2.30): Likewise.
3210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3211 (GLIBC_2.30): Likewise.
3212 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3213 Likewise.
3214 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3215 Likewise.
3216 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3217 Likewise.
3218 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3219 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3220 Likewise.
3221 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3222 Likewise.
3223 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3224 Likewise.
3225 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3226 Likewise.
3227
20aa5819
PE
32282019-04-30 Paul Eggert <eggert@cs.ucla.edu>
3229
3230 Make mktime etc. compatible with __time64_t
3231 Keep these functions compatible with Gnulib while adding
3232 __time64_t support. The basic idea is to move private API
3233 declarations from include/time.h to time/mktime-internal.h, since
3234 the former file cannot easily be shared with Gnulib whereas the
3235 latter can.
3236 Also, do some other minor cleanup while in the neighborhood.
3237 * include/time.h: Include stdbool.h, time/mktime-internal.h.
3238 (__mktime_internal): Move this prototype to time/mktime-internal.h,
3239 since Gnulib needs it.
3240 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
3241 Move these macros to time/mktime-internal.h, since Gnulib needs them.
3242 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
3243 (in_time_t_range): New static function.
3244 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
3245 so that glibc users are not tempted to use __time64_t.
3246 * time/mktime-internal.h: Rewrite so that it does both glibc
3247 and Gnulib work. Include time.h if not _LIBC.
3248 (mktime_offset_t) [!_LIBC]: Define for gnulib.
3249 (__time64_t): New type or macro, moved here from
3250 posix/bits/types.h.
3251 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
3252 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
3253 from include/time.h.
3254 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
3255 New macros, taken from GNulib.
3256 (__mktime_internal): New prototype, moved here from include/time.h.
3257 * time/mktime.c (mktime_min, mktime_max, convert_time)
3258 (ranged_convert, __mktime_internal, __mktime64):
3259 * time/timegm.c (__timegm64):
3260 Use __time64_t, not time_t.
3261 * time/mktime.c: Stop worrying about whether time_t is floating-point.
3262 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
3263 Rename from mktime.
3264 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
3265 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
3266 for libc_hidden_def.
3267 Include errno.h.
3268 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
3269 Rename from timegm.
3270 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
3271
87c266d7
MR
32722019-04-30 Maciej W. Rozycki <macro@wdc.com>
3273
3274 [BZ #19444]
3275 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
3276 from `-Wmaybe-uninitialized'.
3277 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
3278
c4c0848b
AZ
32792019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3280
6cac323c
AZ
3281 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
3282 function.
3283 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
3284 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
3285 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
3286 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
3287 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
3288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3289 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
3290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
3291 Remove file.
3292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
3293 Likewise.
3294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
3295 Likewise.
3296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
3297 Likewise.
3298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
3299 New file.
3300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
3301 Likewise.
3302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
3303 Likewise.
3304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
3305 Likewise.
3306 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
3307 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
3308 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
3309 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
3310 Likewise.
3311 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
3312 Likewise.
3313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
3314 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
3315 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
3316 file.
3317 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
3318 Likewise.
3319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
3320 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
3321 * here.
3322 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3323 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
3324 s_ceilf-power5+, and s_ceilf-ppc64.
3325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
3326 file.
3327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
3328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
3329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
3330 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
3331 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
3332 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
3333 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
3334
c4c0848b
AZ
3335 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
3336 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
3337 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
3338
f492fc99
YD
33392019-04-29 Yann Droneaud <ydroneaud@opteya.com>
3340
3341 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
3342 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
3343 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
3344 (sem_getvalue): Likewise.
3345
c57afec0
FW
33462019-04-26 Florian Weimer <fweimer@redhat.com>
3347
3348 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
3349 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
3350
a8ff215e
FW
33512019-04-26 Florian Weimer <fweimer@redhat.com>
3352
3353 Makeconfig: Move -Wl,-rpath-link options before library references.
3354 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
3355 (link-libc): Remove $(link-libc-rpath-link).
3356
33572019-04-25 Florian Weimer <fweimer@redhat.com>
3358
3359 * Makeconfig (+link-pie-before-libc): Remove $(CC).
3360 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
3361 (+link-static-before-libc): Remove $(CC).
3362 (+link-static, +link-static-tests): Add $(CC).
3363 (+link-before-libc): Remove $(CC).
3364 (+link, +link-pie, +link-pie-printers): Add $(CC).
3365
e30fb31c
FW
33662019-04-26 Florian Weimer <fweimer@redhat.com>
3367
3368 * Makeconfig (+link-pie-before-libc): Remove $(CC).
3369 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
3370 (+link-static-before-libc): Remove $(CC).
3371 (+link-static, +link-static-tests): Add $(CC).
3372 (+link-before-libc): Remove $(CC).
3373 (+link, +link-pie, +link-pie-printers): Add $(CC).
3374
deacca00
DA
33752019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
3376
3377 [BZ#24484]
3378 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
3379
b5ffdc48
FW
33802019-04-25 Florian Weimer <fweimer@redhat.com>
3381
3382 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
3383 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
3384 (bench-link-targets): New variable.
3385 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
3386
94a4e9e4
FW
33872019-04-25 Florian Weimer <fweimer@redhat.com>
3388
3389 Also enable BIND_NOW for programs if --enable-bind-now.
3390 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
3391 (+link-pie): Use $(link-extra-flags).
3392 (+link-static): Likewise.
3393 [! $(build-pie-default)] (+link): Likewise.
3394 * manual/install.texi (Configuring and compiling): Update
3395 --enable-bind-now description.
3396 * INSTALL: Regenerated.
3397
fe92a91f
WD
33982019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
3399
3400 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
3401 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
3402
f9b645b4
MF
34032019-04-24 Mike Frysinger <vapier@gentoo.org>
3404
3405 [BZ #18465]
3406 * malloc/Makefile (others): Add memusagestat.
3407 ($(objpfx)memusagestat): Delete rule.
3408 (LDLIBS-memusagestat): New variable.
3409
439bf534
FW
34102019-04-24 Florian Weimer <fweimer@redhat.com>
3411
3412 * locale/Makefile (tests-special): Guard setting by
3413 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
3414 to run while cross-compiling.
3415
1a4c2735
AZ
34162019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3417
3418 [BZ #18035]
3419 * elf/Makefile (tests-container): Add tst-pldd.
3420 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
3421 (E(find_maps)): Avoid use alloca, use default read file operations
3422 instead of explicit LFS names, and fix infinite loop.
3423 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
3424 (get_process_info): Use _Static_assert instead of assert, use default
3425 directory operations instead of explicit LFS names, and free some
3426 leadek pointers.
3427 * elf/tst-pldd.c: New file.
3428
2d398aa2
L
34292019-04-23 H.J. Lu <hongjiu.lu@intel.com>
3430
3431 * malloc/arena.c (do_set_mallopt_check): Removed.
3432
e485b2b6
FW
34332019-04-23 Florian Weimer <fweimer@redhat.com>
3434
3435 locale: Add LOCPATH diagnostics to the locale program.
3436 * locale/programs/locale.c (setlocale_failed): New variable.
3437 (try_setlocale): New function.
3438 (quote_string): Likewise.
3439 (setlocale_diagnostics): Likewise.
3440 (main): Call try_setlocale instead of setlocale. Call
3441 setlocale_diagnostics.
3442 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
3443 (tst-locale-locpath.out): New target.
3444 * locale/tst-locale-locpath.sh: New file.
3445
25f7a3c9
AZ
34462019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3447
3448 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
3449 to 2.30 notes.
3450
9bf8e29c
AZ
34512019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3452
3453 [BZ #23741]
3454 * malloc/hooks.c (malloc_check, realloc_check): Use
3455 __builtin_add_overflow on overflow check and adapt to
3456 checked_request2size change.
3457 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
3458 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
3459 allocation size to PTRDIFF_MAX.
3460 (REQUEST_OUT_OF_RANGE): Remove macro.
3461 (checked_request2size): Change to inline function and limit maximum
3462 requested size to PTRDIFF_MAX.
3463 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
3464 maximum allocation size to PTRDIFF_MAX.
3465 (_mid_memalign): Use _int_memalign call for overflow check.
3466 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
3467 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
3468 limit maximum requested size to PTRDIFF_MAX.
3469 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
3470 valloc, pvalloc): Add __attribute_alloc_size__.
3471 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
3472 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
3473 larger than PTRDIFF_MAX.
3474 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
3475 around tests of malloc with negative sizes.
3476 * malloc/tst-posix_memalign.c (do_test): Likewise.
3477 * malloc/tst-pvalloc.c (do_test): Likewise.
3478 * malloc/tst-valloc.c (do_test): Likewise.
3479 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
3480 with resulting size allocation larger than PTRDIFF_MAX with
3481 reallocarray_nowarn.
3482 (reallocarray_nowarn): New function.
3483 * NEWS: Mention the malloc function semantic change.
3484
0e169691
AZ
34852019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3486
52faba65
AZ
3487 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
3488 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
3489
3a16dd78
AZ
3490 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
3491 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
3492 * sysdeps/powerpc/fpu/s_fma.c: New file.
3493 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
3494
1dac8bd6
AZ
3495 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
3496 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
3497
a3ae315a
AZ
3498 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
3499 the magic flag store.
3500 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
3501 Likewise.
3502 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
3503 Likewise.
3504 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
3505 Remove rt_sigreturn call.
3506
ffe8a9a8
AZ
3507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
3508 Remove rt_sigreturn call.
3509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3510 Likewise.
3511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
3512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
3513
0e169691
AZ
3514 * support/Makefile (libsupport-routines): Add support_subprocess,
3515 xposix_spawn, xposix_spawn_file_actions_addclose, and
3516 xposix_spawn_file_actions_adddup2.
3517 (tst-support_capture_subprocess-ARGS): New rule.
3518 * support/capture_subprocess.h (support_capture_subprogram): New
3519 prototype.
3520 * support/support_capture_subprocess.c (support_capture_subprocess):
3521 Refactor to use support_subprocess and support_capture_poll.
3522 (support_capture_subprogram): New function.
3523 * support/tst-support_capture_subprocess.c (write_mode_to_str,
3524 str_to_write_mode, test_common, parse_int, handle_restart,
3525 do_subprocess, do_subprogram, do_multiple_tests): New functions.
3526 (do_test): Add support_capture_subprogram tests.
3527 * support/subprocess.h: New file.
3528 * support/support_subprocess.c: Likewise.
3529 * support/xposix_spawn.c: Likewise.
3530 * support/xposix_spawn_file_actions_addclose.c: Likewise.
3531 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
3532 * support/xspawn.h: Likewise.
3533
bae8cf0e
MG
35342019-04-17 Mike Gerow <gerow@google.com>
3535
3536 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
3537 groups limit.
3538
e3f454ba
FW
35392019-04-11 Florian Weimer <fweimer@redhat.com>
3540
3541 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
3542 domain with empty string.
3543 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3544
32d85c11
FW
35452019-04-11 Florian Weimer <fweimer@redhat.com>
3546
3547 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
3548 comment.
3549 (alloc_buffer_next): Change return type to non-const. Update
3550 comment.
3551
221710af
FW
35522019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
3553
3554 * manual/time.texi (Formatting Calendar Time): Add missing percent
3555 sign to conversion specifier.
3556
e621246e
CD
35572019-04-09 Carlos O'Donell <carlos@redhat.com>
3558 Kwok Cheung Yeung <kcy@codesourcery.com>
3559
3560 [BZ #16573]
3561 * malloc/mtrace.c: Define prototypes for all hooks.
3562 (set_default_hooks): New function.
3563 (set_trace_hooks): Likewise.
3564 (save_default_hooks): Likewise.
3565 (tr_freehook): Use new s*_hooks functions.
3566 (tr_mallochook): Likewise.
3567 (tr_reallochook): Likewise.
3568 (tr_memalignhook): Likewise.
3569 (mtrace): Likewise.
3570 (muntrace): Likewise.
3571
648279f4
WD
35722019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
3573
3574 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
3575 (generic_stpcpy): New function.
3576 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
3577 (generic_stpncpy): New function.
3578 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
3579 (generic_strcat): New function.
3580 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
3581 (generic_strcpy): New function.
3582 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
3583 (STUPID_STRNCAT): Remove function.
3584 (generic_strncat): New function.
3585 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
3586 (STUPID_STRNCPY): Remove function.
3587 (generic_strncpy): New function.
3588 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
3589 (generic_strnlen): New function.
3590 (memchr_strnlen): New function.
3591 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
3592 (memchr_strlen): Likewise.
3593
93eebae5
WD
35942019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
3595
3596 * benchtests/bench-strstr.c (input): Add realistic input text.
3597 (stupid_strstr): Remove function.
3598 (basic_strstr): Add function.
3599 (twoway_strstr): Add function.
3600 (do_one_test): Add result checking.
3601 (do_test): Use new input text. Remove accidental early matches.
3602 (test_main): Improve range of tests, reduce unaligned cases.
3603
a173d09f
WD
36042019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
3605
3606 * benchtests/bench-memmem.c (simple_memmem): Remove function.
3607 (basic_memmem): Add function.
3608 (twoway_memmem): Add function.
3609
6103c0a8
WD
36102019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
3611
3612 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
3613 * benchtests/bench-malloc-thread.c: Likewise.
3614 * benchtests/bench-skeleton.c: Likewise.
3615 * benchtests/bench-strtod.c: Likewise.
3616 * benchtests/bench-timing.h: Likewise.
3617
33322186
FW
36182019-04-08 Florian Weimer <fweimer@redhat.com>
3619
3620 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
3621 definitions.
3622 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
3623 RES_INSECURE2 security checks.
3624 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
3625 RES_INSECURE2 handling.
3626
3f8b44be
FW
36272019-04-08 Florian Weimer <fweimer@redhat.com>
3628
3629 resolv: Remove support for RES_USE_INET6 and the inet6 option.
3630 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
3631 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
3632 GETHOSTBYNAME.
3633 * resolv/Makefile (tests): Remove tst-res_use_inet6.
3634 (tests-internal): Update justification for tst-resolv-res_init,
3635 tst-resolv-res_init-thread.
3636 (tst-res_use_inet6): Remove target.
3637 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
3638 * resolv/res_debug.c (p_option): Remove "inet6" support.
3639 * resolv/res_init.c (res_setoptions): Likewise.
3640 * resolv/res_use_inet6.h: Remove file.
3641 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
3642 definition.
3643 (res_use_inet6): Always return false.
3644 * resolv/resolv.h (RES_USE_INET6): Remove definition.
3645 * resolv/resolv_context.h: Adjust file comment.
3646 (struct resolv_context): Update comment on __next field.
3647 (__resolv_context_put): Update comment.
3648 * resolv/tst-res_use_inet6.c: Remove file.
3649 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
3650 "inet6" support.
3651 (test_cases): Adjust test case.
3652 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
3653 (thread_byname2_af_inet6): Use old byname_inet6 code.
3654 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
3655 (gai): Remove do_inet6 argument.
3656 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
3657 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
3658 (thread_gai_unspec_inet6): Remove functions.
3659 (do_test): Adjust thread_funcs.
3660 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
3661 RES_USE_INET6 flag.
3662 (gaih_inet): Do not disable RES_USE_INET6 flag.
3663
6b5c8607 36642019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
94e358f6
AY
3665
3666 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
3667 and remove redundant code.
3668
e3fd0b0e
AZ
36692019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3670
f82ed45d
AZ
3671 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
3672 New rule.
3673 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
3674 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
3675 Likewise.
3676 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
3677 Likewise.
3678 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
3679 Likewise.
3680 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3681 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
3682 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
3683 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
3684 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3685 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
3686 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3687 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
3688 wcsrchr-power7.
3689 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
3690 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
3691 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3692 Remove wcsrchr optimizations.
3693 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3694
662c2cc4
AZ
3695 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
3696 the loop unroll.
3697
421e3005
AZ
3698 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
3699 New rule.
3700 * sysdeps/powerpc/power6/wcschr.c: Remove file.
3701 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
3702 Likewise.
3703 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
3704 Likewise.
3705 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
3706 Likewise.
3707 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3708 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
3709 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
3710 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
3711 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3712 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
3713 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3714 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
3715 wcschr-power7.
3716 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
3717 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
3718 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3719 Remove wcschr optimizations.
3720 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3721
7ba0100c
AZ
3722 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
3723 the loop unroll.
3724
447a1306
AZ
3725 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
3726 New rule.
3727 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
3728 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
3729 Likewise.
3730 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
3731 Likewise.
3732 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
3733 Likewise.
3734 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3735 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
3736 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
3737 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
3738 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3739 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
3740 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3741 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
3742 wcscpy-power7.
3743 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
3744 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
3745 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3746 Remove wcscpy optimizations.
3747 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3748
e3fd0b0e
AZ
3749 * include/loop_unroll.h: New file.
3750 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
3751 besides generic implementation.
3752
8260f236
DD
37532019-04-03 DJ Delorie <dj@redhat.com>
3754
3755 * time/tst-strftime3.c (tm_to_printed): Disable warning about
3756 snprintf truncating output.
3757
0bd545ee
DD
37582019-04-02 DJ Delorie <dj@redhat.com>
3759
3760 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
3761 warning.
3762
466afec3
TS
37632019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
3764
3765 [BZ #22964]
3766 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
3767 era.
3768 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
3769 (mkreftable): Add rules for the new Japanese era and the new dates.
3770
2f1d6155
TS
37712019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
3772 Rafal Luzynski <digitalfreak@lingonborough.com>
3773
3774 * time/tst-strftime2.c (date_t): Explicitly define the type.
3775 (dates): Use natural month and year numbers to express a date.
3776 (is_before): New function to compare dates.
3777 (mkreftable): Minor improvements to simplify maintenance.
3778 (do_test): Reflect the changes in dates array.
3779
84aea169
TS
3780 [BZ #24293]
3781 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
3782 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
3783 * time/tst-strftime2.c (locales): Likewise.
3784 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
3785 2010-04-01, and 2011-04-01.
3786 (mkreftable): Add rules for the new locales and the new dates.
3787
62449176
CD
37882019-04-01 Carlos O'Donell <carlos@redhat.com>
3789
3790 * localedata/locales/ja_JP: Add comments to era entries.
3791
e0e4c321
DD
37922019-04-01 DJ Delorie <dj@redhat.com>
3793
3794 [BZ #24394]
3795 * time/strptime_l.c (%Ey): Fix fencepost error.
3796 * time/tst-strftime3.c: New.
3797 * time/Makefile (tests): Add tst-strftime3.
3798
6b5c8607 37992019-04-01 Uros Bizjak <ubizjak@gmail.com>
993e3107
UB
3800
3801 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
3802 conditional branch to DIVBYZERO. Fix unwind info.
3803 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
3804 excb after conditional branch to $powerof2. Add missing unop
3805 instructions and .align directives and reorder instructions to
3806 match __divqu.
3807
d5ecee82
RH
38082019-04-01 Richard Henderson <rth@twiddle.net>
3809
3810 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
3811 Do not redefine.
3812 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
3813 Do not redefine.
3814
656dd306
MR
38152019-03-30 Maciej W. Rozycki <macro@wdc.com>
3816
3817 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
3818 $libc_cv_riscv_float_abi in `test' invocation.
3819 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
3820
10cce669
PC
38212019-03-29 Paul A. Clarke <pc@us.ibm.com>
3822
3823 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
3824 asm with builtin.
3825 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
3826 Likewise.
3827 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
3828 (_GET_SI_FPSCR): Likewise.
3829 (_SET_SI_FPSCR): Likewise.
3830
5e67e4bf 38312019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4997e8f3
AZ
3832
3833 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
3834 clang 2.8.
3835 (signbit): Use builtin for clang 3.3.
3836 (isinf): Use builtin for clang 3.7.
3837
01963891
AZ
38382019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3839
3840 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
3841
67112f7a
AH
38422019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
3843
3844 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
3845 quote in printf.
3846
7a773abf
MC
38472019-03-25 Mike Crowe <mac@mcrowe.com>
3848
82849fde
MC
3849 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
3850 pthread_rwlock_timedrdlock with calls to
3851 pthread_rwlock_timedwrlock to ensure that the latter is tested
3852 too. Use new function name in diagnostic messages too.
3853
7a773abf
MC
3854 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
3855 (do_test) Use libsupport test macros rather than hand-coded
3856 conditionals and error messages. Ensure that sem_init returns zero
3857 rather than not -1. Use <support/test-driver.c> rather than
3858 test-skeleton.c.
3859
3860 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
3861 test macros rather than hand-coded conditionals and error messages.
3862 Use <support/test-driver.c> rather than test-skeleton.c.
3863
9ac2de69
JM
38642019-03-25 Joseph Myers <joseph@codesourcery.com>
3865
d7563e62
JM
3866 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
3867
9ac2de69
JM
3868 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
3869 (NT_MIPS_MSA): Likewise.
3870
38cc11da
AZ
38712019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3872
7621e38b
WD
3873 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
3874 * benchtests/README: Update description.
3875 * benchtests/bench-timing.h: Default to hp-timing.
3876 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
3877 HP_TIMING_PRINT): Remove.
3878 (HP_TIMING_NOW): Add generic implementation.
3879 (hp_timing_t): Change to uint64_t.
3880
1e372ded
AZ
3881 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
3882 HP_TIMING_INLINE.
3883 * nptl/descr.h: Likewise.
3884 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
3885 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
3886 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
3887 Abstract hp-timing usage with RTLD_* macros.
3888 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
3889 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
3890 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
3891 HP_TIMING_NONAVAIL): Likewise.
3892 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
3893 Likewise.
3894 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
3895 HP_SMALL_TIMING_AVAIL): Likewise.
3896 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
3897 HP_SMALL_TIMING_AVAIL): Likewise.
3898 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
3899 HP_SMALL_TIMING_AVAIL): Likewise.
3900 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
3901 HP_SMALL_TIMING_AVAIL): Likewise.
3902 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
3903 Likewise.
3904 * sysdeps/generic/hp-timing-common.h: Update comment with
3905 HP_TIMING_AVAIL removal.
3906
359653aa
AZ
3907 * include/random-bits.h: New file.
3908 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
3909 (__res_context_mkquery): Remove usage hp-timing usage and replace with
3910 random_bits.
3911 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
3912 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
3913 Likewise.
3914
6e8ba7fd
AZ
3915 * include/libc-internal.h (__get_clockfreq): Remove prototype.
3916 * rt/Makefile (clock-routines): Remove get_clockfreq.
3917 * rt/get_clockfreq.c: Remove file.
3918 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
3919 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
3920 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
3921 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
3922 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
3923
77b6f553
AZ
3924 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
3925 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
3926 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
3927 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
3928 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
3929
38cc11da
AZ
3930 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
3931 pthread_clock_settime.
3932 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
3933 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
3934 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
3935 * elf/rtld.c (_dl_start_final): Likewise.
3936 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
3937 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
3938 Remove.
3939 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
3940 (_dl_cpuclock_offset): Remove.
3941 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
3942 cpuclock_offset_ununsed.
3943 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
3944 cpuclock_offset set.
3945 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
3946 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
3947 * nptl/pthread_clock_gettime.c: Remove file.
3948 * nptl/pthread_clock_settime.c: Likewise.
3949 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
3950 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
3951 and CLOCK_PROCESS_CPUTIME_ID support.
3952 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
3953 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
3954 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
3955 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
3956 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
3957 Likewise.
3958 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
3959
421749d6
SL
39602019-03-22 Stefan Liebler <stli@linux.ibm.com>
3961
3962 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
3963 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
3964 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
3965 New defines.
3966 * sysdeps/s390/memmem-arch13.S: New file.
3967 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
3968 if it is only used as fallback.
3969 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
3970 * sysdeps/s390/multiarch/ifunc-impl-list.c
3971 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
3972
6f47401b
SL
39732019-03-22 Stefan Liebler <stli@linux.ibm.com>
3974
3975 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
3976 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
3977 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
3978 New defines.
3979 * sysdeps/s390/multiarch/ifunc-impl-list.c
3980 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
3981 * sysdeps/s390/strstr-arch13.S: New file.
3982 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
3983 if it is only used as fallback.
3984 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
3985
96fbb9a3
SL
39862019-03-22 Stefan Liebler <stli@linux.ibm.com>
3987
3988 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
3989 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
3990 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
3991 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
3992 ifunc selector.
3993 * sysdeps/s390/multiarch/ifunc-impl-list.c
3994 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
3995 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
3996 S390_IS_ARCH13_MIE3): New defines.
3997
a899a551
SL
39982019-03-22 Stefan Liebler <stli@linux.ibm.com>
3999
4000 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
4001 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
4002 * sysdeps/s390/configure.ac: Add checks for arch13 support.
4003 * sysdeps/s390/configure: Regenerated.
4004
1a7df49c
SL
40052019-03-22 Stefan Liebler <stli@linux.ibm.com>
4006
4007 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
4008 Add vxe2, vxp, dflt, sort flags.
4009 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
4010 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
4011 capabilities.
4012 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
4013 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
4014 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
4015 HWCAP_S390_DFLT): Define.
4016
5e67e4bf 40172019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5abcddd7
GG
4018
4019 [BZ #24372]
4020 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
4021 of compiler warning.
4022 * locale/programs/ld-collate.c (collate_output): Likewise.
4023
ac64195c
DD
40242019-03-21 DJ Delorie <dj@redhat.com>
4025
4026 [BZ #24372]
4027 * iconv/iconvconfig.c (write_output): Replace floating point math
4028 with integer math to avoid imprecise results.
4029 * locale/programs/ld-collate.c (collate_output): Likewise.
4030
61f5e947
SL
40312019-03-21 Stefan Liebler <stli@linux.ibm.com>
4032
4033 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
4034 Add HWCAP_S390_VX and HWCAP_S390_VXE.
4035
57ada43c 40362019-03-20 mansayk <6688000@gmail.com>
4037
4038 [BZ #24296]
4039 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
4040 (abday): Likewise, but remove the trailing dots.
4041
a2e57f89
JM
40422019-03-19 Joseph Myers <joseph@codesourcery.com>
4043
4044 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
4045 macro.
4046 (HWCAP_PACA): Likewise.
4047 (HWCAP_PACG): Likewise.
4048 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
4049 Increase to 32.
4050 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
4051
e87d8ada
ST
40522019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4053
4054 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
4055 should be handled.
4056
477e739b
JM
40572019-03-15 Joseph Myers <joseph@codesourcery.com>
4058
4059 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4060 version to 5.0.
4061 (old_getpagesize): New syscall.
4062
238d60a1
FY
40632019-03-15 Felix Yan <felixonmars@archlinux.org>
4064
4065 [BZ #24293]
4066 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
4067 * localedata/locales/cmn_TW (era): Likewise.
4068 * localedata/locales/hak_TW (era): Likewise.
4069 * localedata/locales/lzh_TW (era): Likewise.
4070 * localedata/locales/nan_TW (era): Likewise.
4071
5dde9ef7
DD
40722019-03-14 Adam Maris <amaris@redhat.com>
4073
4074 * malloc/malloc.c (_int_malloc): Check for large bin list
4075 corruption when inserting unsorted chunk.
4076
a0a0dc83
FW
40772019-03-14 Florian Weimer <fweimer@redhat.com>
4078
4079 Remove obsolete, never-implemented XSI STREAMS declarations.
4080 * manual/terminal.texi (Allocation): Remove portability note and
4081 adjust example.
4082 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
4083 _SC_STREAMS.
4084 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
4085 * sysdeps/unix/inet/Subdirs (streams): Remove.
4086 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
4087 (conformtest-headers-UNIX98): Likewise.
4088 (conformtest-headers-XOPEN2K): Likewise.
4089 (conformtest-headers-POSIX2008): Likewise.
4090 * posix/compat-streams.c: New file.
4091 * posix/Makefile (routines): Add it.
4092 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
4093 getpmsg, isastream, putmsg, putpmsg.
4094 (GLIBC_2.30): New section.
4095 * bits/stropts.h: Remove file.
4096 * bits/xtitypes.h: Likewise.
4097 * conform/data/stropts.h-data: Likewise.
4098 * include/stropts.h: Likewise.
4099 * include/sys/stropts.h: Likewise.
4100 * include/xtitypes.h: Likewise.
4101 * streams/Makefile: Likewise.
4102 * streams/fattach.c: Likewise.
4103 * streams/fdetach.c: Likewise.
4104 * streams/getmsg.c: Likewise.
4105 * streams/getpmsg.c: Likewise.
4106 * streams/isastream.c: Likewise.
4107 * streams/putmsg.c: Likewise.
4108 * streams/putpmsg.c: Likewise.
4109 * streams/stropts.h: Likewise.
4110 * streams/sys/stropts.h: Likewise.
4111 * sysdeps/ia64/bits/xtitypes.h: Likewise.
4112 * sysdeps/s390/bits/xtitypes.h: Likewise.
4113 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
4114 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
4115 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
4116 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
4117 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
4118 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
4119 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
4120 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
4121 * sysdeps/x86/bits/xtitypes.h: Likewise.
4122
081bdf94
FW
41232019-03-14 Florian Weimer <fweimer@redhat.com>
4124
4125 * nss/tst-nss-files-alias-truncated.c (do_test): Load
4126 libnss_files.
4127 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
4128 but not with libnss_files.
4129 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
4130
97f8225d
ZW
41312019-03-14 Zack Weinberg <zackw@panix.com>
4132
4133 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
4134 Specify encoding="utf-8" when opening headers to check.
4135
0c1041ee
JM
41362019-03-13 Joseph Myers <joseph@codesourcery.com>
4137
4138 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4139 version to 5.0.
4140 (Context.checkout_tar): Handle variable major version for Linux
4141 kernel.
4142
043440e7
FW
41432019-03-13 Florian Weimer <fweimer@redhat.com>
4144
4145 [BZ #24047]
4146 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
4147
29218b26
ZW
41482019-03-13 Zack Weinberg <zackw@panix.com>
4149
4150 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
4151 Move to stdlib.
4152 * include/inttypes.h: Adjust to match.
4153 * include/stdint.h: New wrapper.
4154
711a322a
ZW
41552019-03-13 Zack Weinberg <zackw@panix.com>
4156
4157 * scripts/check-obsolete-constructs.py: New test script.
4158 * scripts/check-installed-headers.sh: Remove tests for
4159 obsolete typedefs, superseded by check-obsolete-constructs.py.
4160 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
4161 as a special test. Update commentary.
4162 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
4163 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
4164 Update commentary.
4165 * posix/sys/types.h (__u_intN_t): Remove.
4166 (u_int8_t): Typedef using __uint8_t.
4167 (u_int16_t): Typedef using __uint16_t.
4168 (u_int32_t): Typedef using __uint32_t.
4169 (u_int64_t): Typedef using __uint64_t.
4170
7c651308
SL
41712019-03-13 Stefan Liebler <stli@linux.ibm.com>
4172
4173 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
4174 call _dl_procinfo.
4175 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
4176 Ignore types other than AT_HWCAP.
4177 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
4178 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
4179 Likewise.
4180 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
4181 in the case of falling back to generic output mechanism.
4182 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
4183 Likewise.
4184
38b52865
FW
41852019-03-12 Florian Weimer <fweimer@redhat.com>
4186
4187 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
4188
08504de7
FW
41892019-03-12 Florian Weimer <fweimer@redhat.com>
4190
4191 [BZ #24047]
4192 resolv: Enable full ICMP errors for UDP DNS sockets
4193 * resolv/res_enable_icmp.c: New file.
4194 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
4195 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
4196 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
4197 socket.
4198
5fbcd763
MH
41992019-03-11 Mao Han <han_mao@c-sky.com>
4200
4201 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
4202 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
4203
c4e5f34b
MH
42042019-03-11 Mao Han <han_mao@c-sky.com>
4205
4206 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
4207 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
4208 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
4209
827e30f3
MH
42102019-03-11 Mao Han <han_mao@c-sky.com>
4211
4212 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
4213 directly.
4214 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
4215 definition.
4216
6229c9bf
MH
42172019-03-11 Mao Han <han_mao@c-sky.com>
4218
4219 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
4220 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
4221 in mcontext_t
4222
86bdd49d
MF
42232019-03-08 Mike FABIAN <mfabian@redhat.com>
4224
4225 [BZ #24307]
4226 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
4227 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
4228 Unicode 12.0.0.
4229 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
4230 * localedata/unicode-gen/PropList.txt: Likewise.
4231 * localedata/unicode-gen/UnicodeData.txt: Likewise.
4232 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
4233 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
4234 * localedata/charmaps/UTF-8: Regenerate.
4235 * localedata/locales/i18n_ctype: Likewise.
4236 * localedata/locales/tr_TR: Likewise.
4237 * localedata/locales/translit_circle: Likewise.
4238 * localedata/locales/translit_cjk_compat: Likewise.
4239 * localedata/locales/translit_combining: Likewise.
4240 * localedata/locales/translit_compat: Likewise.
4241 * localedata/locales/translit_font: Likewise.
4242 * localedata/locales/translit_fraction: Likewise.
4243
c5f65462
JM
42442019-03-07 Joseph Myers <joseph@codesourcery.com>
4245
4246 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
4247 than after operators.
4248 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
4249 (setitimer_locked): Likewise.
4250 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
4251 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
4252 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
4253 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
4254 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
4255 (PPC_CPU_SUPPORTED): Likewise.
4256 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
4257 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
4258 (stat_overflow): Likewise.
4259 (statfs_overflow): Likewise.
4260 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
4261 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
4262 (eq_ttyname_r): Likewise.
4263 (run_chroot_tests): Likewise.
4264
27a2f2f3
FW
42652019-03-07 Florian Weimer <fweimer@redhat.com>
4266
4267 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
4268 header check.
4269
ae514971 42702019-03-07 Martin Liska <mliska@suse.cz>
4271
4272 * math/Makefile: Change location where math-vector-fortran.h is
4273 installed.
4274 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
4275 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
4276 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
4277 * scripts/check-installed-headers.sh: Skip Fortran header files.
4278 * scripts/check-wrapper-headers.py: Likewise.
4279
0ddb7ea8
AZ
42802019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4281
4282 * nptl/nptl-init.c (__have_futex_clock_realtime,
4283 __have_futex_clock_realtime): Remove definition.
4284 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
4285 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
4286 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
4287 __ASSUME_FUTEX_CLOCK_REALTIME support.
4288 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
4289 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4290 * sysdeps/unix/sysv/linux/kernel-features.h
4291 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
4292 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
4293 Adjust comment.
4294
590675c0
GG
42952019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4296
4297 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
4298 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
4299 __GI___wcscpy and wcscpy.
4300
de71ee7b
FW
43012019-03-04 Florian Weimer <fweimer@redhat.com>
4302
4303 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
4304 declaration.
4305 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
4306 defined.
4307
ce6ddae0
SL
43082019-03-04 Stefan Liebler <stli@linux.ibm.com>
4309
4310 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
4311 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4312
31efface
TS
43132019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
4314
4315 [BZ #24162]
4316 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
4317 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
4318
f0eaf862
GG
43192019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4320
4321 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
4322 tests.
4323 (do_test): Likewise.
4324 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
4325 (do_test_call_varg): Likewise.
4326 (do_test_call_rarg): Likewise.
4327 * sysdeps/ieee754/ldbl-opt/Makefile
4328 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
4329 tst-nldbl-error.
4330 ($(objpfx)tst-nldbl-warn.c): New rule.
4331 ($(objpfx)tst-nldbl-error.c): Likewise.
4332 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
4333 New variables.
4334
d11086a9
GG
43352019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4336
4337 [BZ #23984]
4338 * include/bits/error-ldbl.h: New file.
4339 * include/error.h: Include stdarg.h. Declare internal functions
4340 __error_internal and __error_at_line_internal.
4341 * misc/Makefile (headers): Add bits/error-ldbl.h.
4342 * misc/bits/error-ldbl.h: New file.
4343 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
4344 avoid the inclusion of bits/error.h.
4345 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
4346 and __nldbl_error_at_line.
4347 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
4348 (__nldbl_error, __ndlbl_error_at_line): New functions.
4349 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
4350 Redirect error and error_at_line.
4351 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
4352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4353 Likewise.
4354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4355 Likewise.
4356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4357 Likewise.
4358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4359 Likewise.
4360 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4361 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4362 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4363
90188e7d
GG
43642019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4365
4366 [BZ #23984]
4367 * include/bits/err-ldbl.h: New file.
4368 * include/err.h: Add prototypes for the internal functions:
4369 __vwarnx_internal and __vwarn_internal.
4370 * misc/Makefile (headers): Add bits/err-ldbl.h.
4371 * misc/bits/err-ldbl.h: New file.
4372 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
4373 defined, i.e.: when -mlong-double-64 is in use.
4374 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
4375 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
4376 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
4377 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
4378 (VA_CALL): New macro.
4379 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
4380 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
4381 functions.
4382 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
4383 declare prototypes for the new functions.
4384 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
4385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4386 Likewise.
4387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4388 Likewise.
4389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4390 Likewise.
4391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4392 Likewise.
4393 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4394 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4395 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4396
ea2d89d0
GG
43972019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4398
4399 * sysdeps/ieee754/ldbl-opt/Makefile
4400 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
4401 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
4402 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
4403
6e1f6440
GG
44042019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4405
4406 [BZ #23983]
4407 * argp/Makefile (headers): Add bits/argp-ldbl.h.
4408 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
4409 * argp/bits/argp-ldbl.h: New file.
4410 * include/argp.h: Include stdarg.h. Add prototypes for internal
4411 functions: __argp_error_internal and __argp_failure_internal.
4412 * include/bits/argp-ldbl.h: New file.
4413 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
4414 __nldbl_argp_error and __nldbl_argp_failure.
4415 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
4416 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
4417 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
4418 Redirect argp_error and argp_failure calls.
4419 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
4420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4421 Likewise.
4422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4423 Likewise.
4424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4425 Likewise.
4426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4427 Likewise.
4428 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4429 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4430 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4431
c259196b
FW
44322019-03-01 Florian Weimer <fweimer@redhat.com>
4433
4434 [BZ #20419]
4435 * elf/tst-big-note-lib.S: Create a syntactically valid note.
4436 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
4437 code, to avoid creating an ABI tag note.
4438 (modules-names-nobuild): Add tst-big-note-lib.
4439
928b305d
SL
44402019-03-01 Stefan Liebler <stli@linux.ibm.com>
4441
4442 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
4443 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
4444
36f30c10
FW
44452019-03-01 Florian Weimer <fweimer@redhat.com>
4446
4447 [BZ #20271]
4448 * sysdeps/unix/sysv/linux/netlink_assert_response.c
4449 (__netlink_assert_response): Add additional missing newlines.
4450
462e83a4
JM
44512019-02-28 Joseph Myers <joseph@codesourcery.com>
4452
4453 * sysdeps/powerpc/powerpc32/dl-machine.c
4454 (__elf_machine_fixup_plt): Use space before '('.
4455 (__process_machine_rela): Likewise.
4456 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
4457 Likewise.
4458 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
4459 Likewise.
4460 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
4461 Likewise.
4462 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
4463 (pattern): Likewise.
4464 (delta): Likewise.
4465 (check_result): Likewise.
4466 (check_excepts): Likewise.
4467 (check_op): Likewise.
4468 (fail_xr): Likewise.
4469 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
4470 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
4471 (SCNHSZ): Likewise.
4472 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
4473 Likewise.
4474 (ARGS): Likewise.
4475 (__makecontext): Likewise.
4476 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
4477 Likewise.
4478
cc3e573c
FW
44792019-02-28 Florian Weimer <fweimer@redhat.com>
4480
4481 [BZ #23937]
4482 elf: Add test with a local IFUNC resolver.
4483 * elf/ifuncmain9.c: New file.
4484 * elf/ifuncmain9pic.c: Likewise.
4485 * elf/ifuncmain9picstatic.c: Likewise.
4486 * elf/ifuncmain9pie.c: Likewise.
4487 * elf/ifuncmain9static.c: Likewise.
4488 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
4489 ifuncmain9static, ifuncmain9picstatic.
4490 * elf/Makefile [multi-arch && build-shared] (tests-internal):
4491 Add ifuncmain9, ifuncmain9pic.
4492 * elf/Makefile [multi-arch && build-shared && have-fpie]
4493 (ifunc-pie-tests): Add ifuncmain9pie.
4494 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
4495 (CFLAGS-ifuncmain9picstatic.c): Likewise.
4496 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
4497
92ad88fe
L
44982019-02-27 H.J. Lu <hongjiu.lu@intel.com>
4499
4500 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
4501 * configure: Regenerated.
4502 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
4503
6bd4d02e
AZ
45042019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4505
4506 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
4507 symbol as __wcspcy instead of wcscpy.
4508
1b218417
ST
45092019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
4510
4511 * include/stdio.h (__renameat2): New hidden prototype.
4512 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
4513 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
4514 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
4515 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
4516
c4f50205
JM
45172019-02-27 Joseph Myers <joseph@codesourcery.com>
4518
f627dd4d
JM
4519 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
4520 if statement.
4521
c4f50205
JM
4522 * benchtests/bench-strcpy.c (do_test): Use space before '('.
4523 * benchtests/bench-string.h (cmdline_process_function): Likewise.
4524 * benchtests/bench-strlen.c (do_test): Likewise.
4525 (test_main): Likewise.
4526 * catgets/gencat.c (read_old): Likewise.
4527 * elf/cache.c (load_aux_cache): Likewise.
4528 * iconvdata/bug-iconv8.c (do_test): Likewise.
4529 * math/test-tgmath-ret.c (do_test): Likewise.
4530 * nis/nis_call.c (rec_dirsearch): Likewise.
4531 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4532 * nptl/tst-audit-threads.c (do_test): Likewise.
4533 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
4534 * nss/nss_test1.c (init): Likewise.
4535 * nss/test-netdb.c (test_hosts): Likewise.
4536 * posix/execvpe.c (maybe_script_execute): Likewise.
4537 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
4538 * stdio-common/tst-printf.c (do_test): Likewise.
4539 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
4540 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
4541 * stdlib/qsort.c (STACK_SIZE): Likewise.
4542 * stdlib/test-canon.c (do_test): Likewise.
4543 * stdlib/tst-swapcontext1.c (do_test): Likewise.
4544 * string/memcmp.c (OPSIZ): Likewise.
4545 * string/test-strcpy.c (do_test): Likewise.
4546 (do_random_tests): Likewise.
4547 * string/test-strlen.c (do_test): Likewise.
4548 (test_main): Likewise.
4549 * string/test-strrchr.c (do_test): Likewise.
4550 (do_random_tests): Likewise.
4551 * string/tester.c (test_memrchr): Likewise.
4552 (test_memchr): Likewise.
4553 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
4554 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
4555 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
4556 (read_encoded_value_with_base): Likewise.
4557 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
4558 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
4559 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
4560 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
4561 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
4562 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
4563 Likewise.
4564 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
4565 Likewise.
4566 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
4567 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
4568 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
4569 Likewise.
4570 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
4571 Likewise.
4572 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
4573 Likewise.
4574 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
4575 Likewise.
4576 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
4577 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
4578 (FP_XSTATE_MAGIC2_SIZE): Likewise.
4579 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
4580 * time/test_time.c (main): Likewise.
4581
7b3fb620
AZ
45822019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4583
457208b1
AZ
4584 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
4585
30a7e208
AZ
4586 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
4587 wmemcpy.
4588
ddf21ec7
AZ
4589 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
4590 wmemcpy.
4591
4d801563
AZ
4592 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
4593
81a14439
AZ
4594 * include/wchar.h (__wcscpy): New prototype.
4595 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
4596 (__wcscpy): Route internal symbol to generic implementation.
4597 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
4598 Add internal __wcscpy alias.
4599 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
4600 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
4601 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
4602 * wcsmbs/wcscpy.c (wcscpy): Add
4603 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
4604 use generic implementation.
4605 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
4606
39ef0744
AZ
4607 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
4608 wmemset.
4609
7b3fb620
AZ
4610 * sysdeps/m68k/wcpcpy.c: Remove file.
4611 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
4612
e0cb7b61
JM
46132019-02-26 Joseph Myers <joseph@codesourcery.com>
4614
aa0e4663
JM
4615 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
4616 than after operators.
4617 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
4618 * sysdeps/mach/hurd/getcwd.c
4619 (__hurd_canonicalize_directory_name_internal): Likewise.
4620 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
4621 (pthread_mutex_consistent): Likewise.
4622 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
4623 Likewise.
4624 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
4625 (__pthread_mutex_transfer_np): Likewise.
4626 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
4627 (__pthread_mutex_unlock): Likewise.
4628 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
4629 (mtx_owned_p): Likewise.
4630 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
4631 (pthread_mutexattr_getrobust): Likewise.
4632 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
4633 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
4634 Likewise.
4635 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
4636 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
4637 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
4638 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
4639 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
4640 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4641 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
4642 Likewise.
4643 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
4644 Likewise.
4645 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
4646 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
4647 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
4648 (____longjmp_chk): Likewise.
4649 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
4650 Likewise.
4651 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
4652 (INTERNAL_SYSCALL): Likewise.
4653 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
4654 (INTERNAL_SYSCALL): Likewise.
4655 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4656 (__get_clockfreq_via_cpuinfo): Likewise.
4657
e0cb7b61
JM
4658 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
4659 comments.
4660 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
4661 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
4662 (WORD_COPY_BWD): Likewise.
4663 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
4664 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4665 Likewise.
4666 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
4667 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
4668 comment.
4669 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
4670
a04549c1
JM
46712019-02-25 Joseph Myers <joseph@codesourcery.com>
4672
4673 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
4674 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
4675 rather than after operators.
4676 * elf/cache.c (print_cache): Likewise.
4677 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
4678 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
4679 * hurd/hurdinit.c (_hurd_setproc): Likewise.
4680 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
4681 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
4682 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
4683 (reauth_proc): Likewise.
4684 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
4685 (__file_name_split_at): Likewise.
4686 (__directory_name_split_at): Likewise.
4687 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
4688 * hurd/port2fd.c (_hurd_port2fd): Likewise.
4689 * iconv/gconv_dl.c (do_print): Likewise.
4690 * inet/netinet/in.h (struct sockaddr_in): Likewise.
4691 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
4692 * locale/setlocale.c (new_composite_name): Likewise.
4693 * malloc/memusagestat.c (main): Likewise.
4694 * misc/fstab.c (fstab_convert): Likewise.
4695 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
4696 Likewise.
4697 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
4698 (getgrent_next_file): Likewise.
4699 (internal_getgrnam_r): Likewise.
4700 (internal_getgrgid_r): Likewise.
4701 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
4702 Likewise.
4703 (internal_getgrent_r): Likewise.
4704 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
4705 (getpwent_next_nss): Likewise.
4706 (getpwent_next_file): Likewise.
4707 (internal_getpwnam_r): Likewise.
4708 (internal_getpwuid_r): Likewise.
4709 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
4710 Likewise.
4711 (getspent_next_nss): Likewise.
4712 (internal_getspnam_r): Likewise.
4713 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
4714 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
4715 * string/strchr.c (STRCHR): Likewise.
4716 * string/strchrnul.c (STRCHRNUL): Likewise.
4717 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
4718 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
4719 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
4720 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
4721 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
4722 Likewise.
4723 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
4724 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
4725 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
4726 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
4727 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
4728 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
4729 (open_file): Likewise.
4730 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
4731 (pthread_mutexattr_setprotocol): Likewise.
4732 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
4733 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
4734 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
4735 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
4736 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
4737 Likewise.
4738 (elf_machine_rela): Likewise.
4739 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
4740 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
4741 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
4742 * sysdeps/posix/rename.c (rename): Likewise.
4743 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
4744 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
4745 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
4746 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
4747 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4748 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
4749 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
4750 Likewise.
4751 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
4752 Likewise.
4753 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
4754 * time/tzfile.c (__tzfile_compute): Likewise.
4755
34a5a146
JM
47562019-02-22 Joseph Myers <joseph@codesourcery.com>
4757
4758 * benchtests/bench-memmem.c (simple_memmem): Break lines before
4759 rather than after operators.
4760 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
4761 * crypt/md5.c (md5_finish_ctx): Likewise.
4762 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
4763 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
4764 * elf/cache.c (load_aux_cache): Likewise.
4765 * elf/dl-load.c (open_verify): Likewise.
4766 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
4767 * elf/readelflib.c (process_elf_file): Likewise.
4768 * elf/rtld.c (dl_main): Likewise.
4769 * elf/sprof.c (generate_call_graph): Likewise.
4770 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
4771 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
4772 * hurd/dtable.c (reauth_dtable): Likewise.
4773 * hurd/getdport.c (__getdport): Likewise.
4774 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
4775 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
4776 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
4777 Likewise.
4778 * hurd/hurdioctl.c (fioctl): Likewise.
4779 * hurd/hurdselect.c (_hurd_select): Likewise.
4780 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
4781 (STOPSIGS): Likewise.
4782 * hurd/hurdstartup.c (_hurd_startup): Likewise.
4783 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
4784 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
4785 * hurd/msgportdemux.c (msgport_server): Likewise.
4786 * hurd/setauth.c (_hurd_setauth): Likewise.
4787 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
4788 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
4789 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
4790 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
4791 * login/tst-utmp.c (do_check): Likewise.
4792 (simulate_login): Likewise.
4793 * mach/lowlevellock.h (lll_lock): Likewise.
4794 (lll_trylock): Likewise.
4795 * math/test-fenv.c (ALL_EXC): Likewise.
4796 * math/test-fenvinline.c (ALL_EXC): Likewise.
4797 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
4798 * nis/nis_call.c (__do_niscall3): Likewise.
4799 * nis/nis_callback.c (cb_prog_1): Likewise.
4800 * nis/nis_defaults.c (searchaccess): Likewise.
4801 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4802 * nis/nis_ismember.c (internal_ismember): Likewise.
4803 * nis/nis_local_names.c (nis_local_principal): Likewise.
4804 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
4805 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
4806 Likewise.
4807 * nis/ypclnt.c (yp_match): Likewise.
4808 (yp_first): Likewise.
4809 (yp_next): Likewise.
4810 (yp_master): Likewise.
4811 (yp_order): Likewise.
4812 * nscd/hstcache.c (cache_addhst): Likewise.
4813 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4814 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
4815 (internal_getpwuid_r): Likewise.
4816 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
4817 * posix/glob.h (__GLOB_FLAGS): Likewise.
4818 * posix/regcomp.c (peek_token): Likewise.
4819 (peek_token_bracket): Likewise.
4820 (parse_expression): Likewise.
4821 * posix/regexec.c (sift_states_iter_mb): Likewise.
4822 (check_node_accept_bytes): Likewise.
4823 * posix/tst-spawn3.c (do_test): Likewise.
4824 * posix/wordexp-test.c (testit): Likewise.
4825 * posix/wordexp.c (parse_tilde): Likewise.
4826 (exec_comm): Likewise.
4827 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
4828 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
4829 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
4830 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
4831 * stdio-common/tst-fileno.c (do_test): Likewise.
4832 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
4833 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
4834 * stdlib/strtod_l.c (round_and_return): Likewise.
4835 (____STRTOF_INTERNAL): Likewise.
4836 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
4837 * string/strcspn.c (STRCSPN): Likewise.
4838 * string/test-memmem.c (simple_memmem): Likewise.
4839 * termios/tcsetattr.c (tcsetattr): Likewise.
4840 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
4841 * time/asctime.c (asctime_internal): Likewise.
4842 * time/strptime_l.c (__strptime_internal): Likewise.
4843 * time/sys/time.h (timercmp): Likewise.
4844 * time/tzfile.c (__tzfile_compute): Likewise.
4845
b0b50fe0
PF
48462019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
4847
b39d961c
TS
4848 [BZ #21915]
4849 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
b0b50fe0 4850
f43b8dd5
GG
48512019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4852
4853 * argp/argp-help.c (__argp_error_internal): New function,
4854 renamed from __argp_error, but that takes a 'mode_flags'
4855 parameter to control the format of long double parameters.
4856 (__argp_error): Converted into a call __argp_error_internal.
4857 (__argp_failure_internal): New function, renamed from
4858 __argp_failure, but that takes a 'mode_flags' parameter.
4859 (__argp_failure): Converted into a call __argp_failure_internal.
4860 * misc/err.c (__vwarnx_internal): New function, renamed from
4861 vwarnx, but that takes a 'mode_flags' parameter.
4862 (vwarnx): Converted into a call to __vwarnx_internal.
4863 (__vwarn_internal): New function, renamed from vwarn, but that
4864 takes a 'mode_flags' parameter.
4865 (vwarn): Converted into a call to __vwarn_internal.
4866 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
4867 call to __vfxprintf with 'mode_flags'.
4868 (__error_internal): New function, renamed from error, but that
4869 takes a 'mode_flags' parameter.
4870 (error): Converted into a call to __error_internal.
4871 (__error_at_line_internal): New function, renamed from
4872 error_at_line, but that takes a 'mode_flags' parameter.
4873 (error_at_line): Converted into a call to
4874 __error_at_line_internal.
4875 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
4876 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
4877 Likewise.
4878
dc0afac3 48792019-02-20 Martin Liska <mliska@suse.cz>
4880
4881 * math/Makefile: Install math-vector-fortran.h.
4882 * bits/math-vector-fortran.h: New file.
4883 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
4884
4a2dd41c
GG
48852019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4886
4887 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
4888 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
4889
04de9302
WS
48902019-02-19 Wolfram Sang <wsa@the-dreams.de>
4891
4892 * nptl/pthread_mutex_trylock.c: Fix comment.
4893
b026ce1e
CD
48942019-02-19 Carlos O'Donell <carlos@redhat.com>
4895
4896 * nptl/pthread_tryjoin.c: Fix comment.
4897
8c9289b6
JM
48982019-02-18 Joseph Myers <joseph@codesourcery.com>
4899
4900 [BZ #24231]
4901 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
4902 after R_SPARC_H34 case.
4903
308e022f
FW
49042019-02-18 Florian Weimer <fweimer@redhat.com>
4905
4906 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
4907 (getanswer): Do not call Dprintf.
4908 (res_gethostbyname2_context): Likewise.
4909 (res_gethostbyaddr_context): Likewise.
4910
a5406364
FW
49112019-02-18 Florian Weimer <fweimer@redhat.com>
4912
4913 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
4914 declaration.
4915 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
4916 Remove definitions.
4917 * libio/stdfiles.c: Update comment.
4918 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
4919 set _IO_stdin, _IO_stdout, _IO_stderr.
4920 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
4921 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
4922 inline function.
4923 (_IO_deallocate_file): New inline function.
4924 * libio/iolibio.h (_IO_vprintf): Remove definition.
4925 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
4926 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
4927 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
4928 _IO_legacy_file.
4929 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
4930 __builtin_expect. Use _IO_legacy_file.
4931
6c29942c
SL
49322019-02-18 Stefan Liebler <stli@linux.ibm.com>
4933
4934 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
4935 Initialize ctid with a known value and remove update of ctid
4936 after clone.
4937 (wait_tid): Adjust arguments and call futex_wait with ctid_val
4938 as assumed current value of ctid_ptr.
4939
225d9445 49402019-02-16 Florian Weimer <fweimer@redhat.com>
ad18dade
FW
4941
4942 Check that non-sysdeps headers have wrapper headers.
4943 * scripts/check-wrapper-headers.py: New file.
4944 * Makefile (tests-special): Add check-wrapper-headers.out.
4945 (check-wrapper-headers.out): New target.
4946 * Rules (tests-special): Add check-wrapper-headers.out.
4947 (check-wrapper-headers.out): New target.
4948
225d9445 49492019-02-16 Florian Weimer <fweimer@redhat.com>
ebd32784
FW
4950
4951 Add missing header wrappers under include/.
4952 * include/ar.h: New file.
4953 * include/bits/mqueue2.h: Likewise.
4954 * include/bits/stdio.h: Likewise.
4955 * include/bits/stdio2.h: Likewise.
4956 * include/fstab.h: Likewise.
4957 * include/fts.h: Likewise.
4958 * include/lastlog.h: Likewise.
4959 * include/netinet/icmp6.h: Likewise.
4960 * include/netinet/igmp.h: Likewise.
4961 * include/netinet/ip6.h: Likewise.
4962 * include/re_comp.h: Likewise.
4963 * include/regexp.h: Likewise.
4964 * include/rpcsvc/bootparam.h: Likewise.
4965 * include/rpcsvc/yp_prot.h: Likewise.
4966 * include/sys/random.h: Likewise.
4967 * include/sys/stropts.h: Likewise.
4968 * include/sys/ttychars.h: Likewise.
4969 * include/sys/vfs.h: Likewise.
4970 * include/wait.h: Likewise.
4971
225d9445 49722019-02-16 Florian Weimer <fweimer@redhat.com>
a198d37a
FW
4973
4974 * nptl_db/proc_service.h: Move to ...
4975 * sysdeps/nptl/proc_service.h: ... here.
4976 * nptl_db/thread_db.h: Move to ...
4977 * sysdeps/nptl/thread_db.h: ... here.
4978 * nptl/descr.h: Include <thread_db.h>.
4979
e442e40d
AZ
49802019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4981
4982 * io/Makefile (tests): Add tst-lockf.
4983 * io/lockf.c (lockf): Use __fcntl and only define for
4984 !__OFF_T_MATCHES_OFF64_T.
4985 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
4986 __OFF_T_MATCHES_OFF64_T case.
4987 * io/tst-lockf.c: New file.
4988 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
4989 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
4990 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
4991 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
4992 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
4993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
4994 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
4995 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
4996 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
4997
bc10e22c
FW
49982019-02-15 Florian Weimer <fweimer@redhat.com>
4999
5000 [BZ #24211]
5001 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
5002 pd->result after the thread descriptor has been freed.
5003
365f05c7
JM
50042019-02-15 Joseph Myers <joseph@codesourcery.com>
5005
8a11f970
JM
5006 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
5007 from function return type.
5008
365f05c7
JM
5009 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
5010
6b5c8607 50112019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
56a731d4
JK
5012
5013 * scripts/test_printers_common.py: Set TERM to a known harmless
5014 value.
5015
712182c8
JM
50162019-02-14 Joseph Myers <joseph@codesourcery.com>
5017
5018 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
5019 (xdr_u_int): Likewise.
5020 (xdr_enum): Likewise.
5021 (xdr_bytes): Reword fall-through comment.
5022 (xdr_string): Likewise.
5023
eb76e5b4
AZ
50242019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5025
5026 [BZ #2421]
5027 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
5028 (tests): Add tst-join8 tst-join9.
5029 * nptl/lll_timedwait_tid.c: Remove file.
5030 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
5031 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
5032 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
5033 * nptl/pthread_join_common.c (timedwait_tid): New function.
5034 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
5035 is set.
5036 * nptl/tst-join5.c (thread_join): New function.
5037 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
5038 check.
5039 * nptl/tst-join8.c: New file.
5040 * nptl/tst-join9.c: Likewise.
5041 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
5042 lll_futex_timed_wait_cancel): Add generic macros.
5043 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
5044 Remove definitions.
5045 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5046 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5047 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5048 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
5049 Remove function.
5050 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
5051 Likewise.
5052 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5053 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
5054 (lll_futex_timed_wait_cancel): New macro.
5055
3904fd85
WD
50562019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
5057
5058 * benchtests/Makefile: Add malloc-simple benchmark.
5059 * benchtests/bench-malloc-simple.c: New benchmark.
5060
24ca04fe
SP
50612019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
5062
5063 * benchtests/bench-memmove.c (do_one_test): Remove unused
5064 ORIG_SRC.
5065 (do_test): Adjust.
5066 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
5067 ORIG_SRC.
5068 (do_test): Adjust.
5069
85bd1ddb
JW
50702019-01-13 Jim Wilson <jimw@sifive.com>
5071
5072 [BZ #24040]
5073 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
5074 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
5075 (func): New.
5076 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
5077 call func directly.
5078 * nptl/Makefile (tests): Add tst-unwind-thread.
5079 (CFLAGS-tst-unwind-thread.c): Define.
5080 * nptl/tst-unwind-thread.c: New file.
5081 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
5082 as undefined.
5083
86140c62
JM
50842019-02-13 Joseph Myers <joseph@codesourcery.com>
5085
10756268
JM
5086 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
5087 comment wording.
5088 * nis/nis_call.c (__do_niscall3): Likewise.
5089
05383720
JM
5090 * catgets/gencat.c (normalize_line): Use braces around empty
5091 'else' body.
5092 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
5093 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
5094 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
5095 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
5096 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
5097 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
5098 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
5099 definition.
5100
86140c62
JM
5101 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
5102 execlp returns.
5103
16f87cfd
WD
51042019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
5105
5106 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
5107 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
5108 * benchtests/bench-strchr.c (stupid_strchr): Remove.
5109 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
5110 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
5111 * benchtests/bench-strlen.c (builtin_strlen): Remove.
5112 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
5113 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
5114 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
5115 * benchtests/bench-strspn.c (stupid_strspn): Remove.
5116 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
5117 * benchtests/bench-bcopy.c: Delete file.
5118 * benchtests/bench-bzero.c: Likewise.
5119 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
5120 (simple_memccpy): Remove.
5121 (generic_memccpy): Add function.
5122 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
5123 * benchtests/bench-memmove.c (simple_bcopy): Remove.
5124 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
5125 (generic_mempcpy): Add new function.
5126 * benchtests/bench-memset.c (simple_bzero): Remove.
5127 (builtin_bzero): Remove.
5128 (builtin_memset): Remove.
5129 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
5130 (generic_rawmemchr): Add new function.
5131
0c6d82e9
FW
51322019-02-12 Florian Weimer <fweimer@redhat.com>
5133
5134 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
5135
b3fbfe81
AZ
51362019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5137
5138 [BZ #24122]
5139 * elf/Makefile (tests): Add tst-audit13.
5140 (modules-names): Add tst-audit13mod1.
5141 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
5142 rule.
5143 * elf/tst-audit13.c: New file.
5144 * elf/tst-audit13mod1.c: Likewise.
5145
3b856d09
FW
51462019-02-12 Florian Weimer <fweimer@redhat.com>
5147
5148 [BZ #24122]
5149 * elf/rtld.c (unload_audit_module): New function.
5150 (report_audit_module_load_error): Likewise.
5151 (load_audit_module): Likewise. Extracted from dl_main. Call
5152 _dl_close if the laversion symbol cannot be found. Use early
5153 returns for error handling. Add malloc error check. Check for a
5154 zero return value from la_version. Remove spurious comment about
5155 static TLS initialization. Remove useless casts.
5156 (notify_audit_modules_of_loaded_object): New function. Extracted
5157 from dl_main.
5158 (load_audit_module): Likewise.
5159 (dl_main): Call load_audit_modules.
5160
32db86d5
JM
51612019-02-12 Joseph Myers <joseph@codesourcery.com>
5162
5163 * elf/dl-exception.c (_dl_exception_create_format): Add
5164 fall-through comments.
5165 * elf/ldconfig.c (parse_conf_include): Likewise.
5166 * elf/rtld.c (print_statistics): Likewise.
5167 * locale/programs/charmap.c (parse_charmap): Likewise.
5168 * misc/mntent_r.c (__getmntent_r): Likewise.
5169 * posix/wordexp.c (parse_arith): Likewise.
5170 (parse_backtick): Likewise.
5171 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
5172 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
5173 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5174
a51bc4fe
PC
51752019-02-11 Paul A. Clarke <pc@us.ibm.com>
5176
5177 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
5178 Use float instead of double.
5179
fb25b135
TS
51802019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
5181
5182 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
5183
32ea7299
JM
51842019-02-08 Joseph Myers <joseph@codesourcery.com>
5185
5186 * sysdeps/powerpc/bits/mathinline.h: Remove.
5187
eef4d4f8
FW
51882019-02-08 Florian Weimer <fweimer@redhat.com>
5189
5190 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
5191 * math/bits/math-finite.h: Move to ...
5192 * bits/math-finite.h: ... here.
5193
fdfbd47d
FW
51942019-02-08 Florian Weimer <fweimer@redhat.com>
5195
5196 * sysdeps/generic/bits/unistd_ext.h: Move to ...
5197 * bits/unistd_ext.h: here.
5198
11eb21c4
PF
51992019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
5200
5201 [BZ #21915]
5202 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
5203 * nss/tst-nss-files-hosts-long.c: New file.
5204 * nss/tst-nss-files-hosts-long.root: New directory.
5205 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
5206 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
5207
e47d82c9
FW
52082019-02-08 Florian Weimer <fweimer@redhat.com>
5209
5210 * include/bits/unistd_ext.h: Remove file.
5211 * posix/bits/unistd_ext.h: Move to ...
5212 * sysdeps/generic/bits/unistd_ext.h: ... here.
5213
8f89ab21
FW
52142019-02-08 Florian Weimer <fweimer@redhat.com>
5215
5216 * include/bits/unistd_ext.h: New file.
5217
144a794e
TS
52182019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
5219
5220 * time/tst-strftime2.c: Use array_length macros instead of magic
5221 numbers.
5222
669ff911
FW
52232019-02-08 Florian Weimer <fweimer@redhat.com>
5224
5225 [BZ #24161]
5226 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
5227 argument.
5228 * nptl/register-atfork.c (__run_fork_handlers): Only perform
5229 locking if the new do_locking argument is true.
5230 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
5231 __run_fork_handlers.
5232
d0bd87d4 52332019-02-08 Florian Weimer <fweimer@redhat.com>
1d0fc213
FW
5234
5235 [BZ #6399]
5236 Linux: Add gettid system call wrapper.
5237 * posix/Makefile (headers): Add bits/unistd_ext.h.
5238 * posix/bits/unistd_ext.h: New file.
5239 * posix/unistd.h: Include it.
5240 * manual/process.texi (Process Identification): Document gettid.
5241 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
5242 tst-gettid, tst-gettid-kill.
5243 (tst-gettid): Link with $(shared-thread-library).
5244 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
5245 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
5246 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
5247 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
5248 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
5249 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
5250 Add gettid.
5251 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
5252 Likewise.
5253 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
5254 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
5255 Likewise.
5256 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
5257 Likewise.
5258 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
5259 Likewise.
5260 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
5261 Likewise.
5262 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
5263 Likewise.
5264 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
5265 Likewise.
5266 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
5267 Likewise.
5268 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5269 (GLIBC_2.30): Likewise.
5270 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5271 (GLIBC_2.30): Likewise.
5272 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5273 (GLIBC_2.30): Likewise.
5274 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5275 (GLIBC_2.30): Likewise.
5276 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
5277 Likewise.
5278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5279 (GLIBC_2.30): Likewise.
5280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5281 (GLIBC_2.30): Likewise.
5282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
5283 (GLIBC_2.30): Likewise.
5284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
5285 (GLIBC_2.30): Likewise.
5286 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
5287 Likewise.
5288 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
5289 Likewise.
5290 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
5291 Likewise.
5292 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
5293 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
5294 Likewise.
5295 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
5296 Likewise.
5297 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
5298 Likewise.
5299 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
5300 Likewise.
5301 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
5302
225d9445 53032019-02-08 Florian Weimer <fweimer@redhat.com>
f289e656
FW
5304
5305 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
5306 compatibility symbols.
5307
823624bd
SL
53082019-02-07 Stefan Liebler <stli@linux.ibm.com>
5309
5310 [BZ #24180]
5311 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
5312 Add compiler barriers and comments.
5313
8311c83f
FW
53142019-02-07 Florian Weimer <fweimer@redhat.com>
5315
5316 * include/array_length.h (array_length): Do not use a statement
5317 expression and _Static_assert, so that array_length can be used at
5318 file scope and as a constant expression.
5319
94b63e66
FW
53202019-02-07 Florian Weimer <fweimer@redhat.com>
5321
5322 * support/xdlfcn.h (xdlmopen): Declare.
5323 * support/xdlmopen.c: New file.
5324 * support/Makefile (libsupport-routines): Add xdlmopen.
5325
c2d8f0b7
JM
53262019-02-06 Joseph Myers <joseph@codesourcery.com>
5327
5328 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
5329 before return type, without separate inline.
5330 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
5331 * elf/dl-tunables.h (tunable_is_name): Likewise.
5332 * malloc/malloc.c (do_set_trim_threshold): Likewise.
5333 (do_set_top_pad): Likewise.
5334 (do_set_mmap_threshold): Likewise.
5335 (do_set_mmaps_max): Likewise.
5336 (do_set_mallopt_check): Likewise.
5337 (do_set_perturb_byte): Likewise.
5338 (do_set_arena_test): Likewise.
5339 (do_set_arena_max): Likewise.
5340 (do_set_tcache_max): Likewise.
5341 (do_set_tcache_count): Likewise.
5342 (do_set_tcache_unsorted_limit): Likewise.
5343 * nis/nis_subr.c (count_dots): Likewise.
5344 * nptl/allocatestack.c (advise_stack_range): Likewise.
5345 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
5346 (do_sin): Likewise.
5347 (reduce_sincos): Likewise.
5348 (do_sincos): Likewise.
5349 * sysdeps/unix/sysv/linux/x86/elision-conf.c
5350 (do_set_elision_enable): Likewise.
5351 (TUNABLE_CALLBACK_FNDECL): Likewise.
5352
3b935595
FW
53532019-02-06 Florian Weimer <fweimer@redhat.com>
5354
5355 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
5356 (xdlsym): Use dlerror to detect a NULL symbol.
5357
b4333340
FW
53582019-02-06 Florian Weimer <fweimer@redhat.com>
5359
5360 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
5361 <stap-probe.h>.
5362 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5363
b6d8a999
SL
53642019-02-06 Stefan Liebler <stli@linux.ibm.com>
5365
5366 * libio/tst-bz24153.c (wide): Use wide char format specifier.
5367
94eeeec0
SL
53682019-02-06 Stefan Liebler <stli@linux.ibm.com>
5369
5370 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
5371 __wmemcmp and weak alias to wmemcmp.
5372
bc79db3f
SL
53732019-02-06 Stefan Liebler <stli@linux.ibm.com>
5374
5375 [BZ #23403]
5376 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
5377 TLS_TCB_AT_TP tls variant.
5378 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
5379 Add alignment checks.
5380 * support/Makefile (libsupport-routines): Add xposix_memalign and
5381 xpthread_setstack.
5382 * support/support.h: Add xposix_memalign.
5383 * support/xthread.h: Add xpthread_attr_setstack.
5384 * support/xposix_memalign.c: New File.
5385 * support/xpthread_attr_setstack.c: Likewise.
5386
f1ac7455
FW
53872019-02-05 Florian Weimer <fweimer@redhat.com>
5388
5389 [BZ #24164]
5390 arm: Use "nr" constraint for Systemtap probes, to avoid the
5391 compiler using memory operands for constants, due to the "o"
5392 alternative in the default "nor" constraint.
5393 * include/stap-probe.h [USE_STAP_PROBE]: Include
5394 <stap-probe-machine.h>
5395 * sysdeps/generic/stap-probe-machine.h: New file.
5396 * sysdeps/arm/stap-probe-machine.h: Likewise.
5397
7a0dcfc6
JM
53982019-02-04 Joseph Myers <joseph@codesourcery.com>
5399
77dc0d86
JM
5400 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
5401 with 0, not tcache->entries[tc_idx].
5402
7a0dcfc6
JM
5403 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
5404 once.
5405
65f7767a
AS
54062019-02-04 Andreas Schwab <schwab@suse.de>
5407
5408 [BZ #16976]
5409 [BZ #17396]
5410 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
5411 looking up collating elements match against (wide) character
5412 sequence instead of name. Correct alignment adjustment.
5413 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
5414 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
5415 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
5416 (LOCALES): Add cs_CZ.ISO-8859-2.
5417 * posix/tst-fnmatch4.c: New file.
5418 * posix/tst-fnmatch5.c: New file.
5419 * include/wchar.h (__wmemcmp): Declare.
5420 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
5421 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
5422 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
5423 * sysdeps/s390/wmemcmp.c: Likewise.
5424
3f635fb4
L
54252019-02-04 H.J. Lu <hongjiu.lu@intel.com>
5426
5427 [BZ #24155]
5428 CVE-2019-7309
5429 * NEWS: Updated for CVE-2019-7309.
5430 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
5431 upper 32 bits of RDX register for x32. Use unsigned Jcc
5432 instructions, instead of signed.
5433 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
5434 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
5435
2ab5741b
FW
54362019-02-04 Florian Weimer <fweimer@redhat.com>
5437
5438 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
5439 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
5440 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
5441 Likewise.
5442 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
5443 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
5444 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
5445 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
5446 Likewise.
5447 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
5448 Likewise.
5449 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
5450 Likewise.
5451 (posix_spawn_file_actions_addopen): Likewise.
5452 (posix_spawn_file_actions_addclose): Likewise.
5453 (posix_spawn_file_actions_adddup2): Likewise.
5454 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
5455 qualifiers.
5456 (posix_spawn_file_actions_addfchdir_np): Likewise.
5457
8692ebdb
DN
54582019-02-04 David Newall <glibc@davidnewall.com>
5459
5460 elf: Implement --preload option for the dynamic linker.
5461 * elf/rtld.c (preloadarg): New variable.
5462 (handle_preload_list): Pass through “where” argument to
5463 do_preload.
5464 (dl_main): Handle "--preload" and add second call to
5465 handle_preload_list.
5466 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
5467 (tst-rtld-preload-OBJS): Set variable.
5468 (tst-rtld-preload.out): New target.
5469 * elf/tst-rtld-preload.sh: New file.
5470
5e10136b
MM
54712019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
5472
5473 * Makefile (testrun.sh): Exit in case of incorrect argument.
5474
221baae0
FW
54752019-02-04 Florian Weimer <fweimer@redhat.com>
5476
5477 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
5478 alignment gaps.
5479
b8c72381
FW
54802019-02-03 Florian Weimer <fweimer@redhat.com>
5481
5482 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
5483 implicit overflow checks.
5484
11f382ee
AJ
54852019-02-03 Aurelien Jarno <aurelien@aurel32.net>
5486
5487 * stdlib/isomac.c: Include <unistd.h>.
5488
77c7d55e
FW
54892019-02-03 Florian Weimer <fweimer@redhat.com>
5490
5491 * include/time.h (__tzfile_default): Use int, not long int, for
5492 the GMT offsets.
5493 * time/tzfile.c (struct ttinfo): Change type of the offset member
5494 to int.
5495 (__tzfile_read): Remove useless cast.
5496 (__tzfile_default): Adjust prototype.
5497 * time/tzset.c (tz_rule): Change type of the offset member to int.
5498 (parse_offset): Change the type of the sign variable to int.
5499
ee9941f9
FW
55002019-02-03 Florian Weimer <fweimer@redhat.com>
5501
5502 [BZ #24153]
5503 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
5504 * libio/getchar.c (getchar): Likewise.
5505 * libio/getchar_u.c (getchar_unlocked): Likewise.
5506 * libio/getwchar.c (getwchar): Likewise.
5507 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
5508 * libio/iogets.c (_IO_gets): Likewise.
5509 * libio/vscanf.c (_IO_vscanf): Likewise.
5510 * libio/vwscanf.c (__vwscanf): Likewise.
5511 * libio/tst-bz24153.c: New file.
5512 * libio/Makefile (tests): Add it.
5513
c70824b9
FW
55142019-02-02 Florian Weimer <fweimer@redhat.com>
5515
5516 [BZ #14829]
5517 * manual/resource.texi (Basic Scheduling Functions): Add
5518 portability note. Change process to task throughout the section.
5519 Remove incorrect comment about sched_yield as it affects
5520 tasks/threads, not entire processes.
5521 * sysdeps/unix/sysv/linux/bits/posix_opt.h
5522 (_POSIX_PRIORITY_SCHEDULING): Update comment.
5523
4dcbbc3b
JM
55242019-02-01 Joseph Myers <joseph@codesourcery.com>
5525
5526 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
5527 * configure: Regenerated.
5528 * manual/install.texi (Tools for Compilation): Update minimum GCC
5529 version.
5530 * INSTALL: Regenerated.
5531
6175507c
FW
55322019-02-01 Florian Weimer <fweimer@redhat.com>
5533
5534 * support/support_test_compare_string.c
5535 (support_test_compare_string): Use "string" in error message.
5536 * support/tst-test_compare_string.c (do_test): Adjust.
5537
baef1943
FW
55382019-02-01 Florian Weimer <fweimer@redhat.com>
5539
5540 * support/support_format_address_family.c
5541 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
5542
395599f0
FW
55432019-02-01 Florian Weimer <fweimer@redhat.com>
5544
5545 * manual/socket.texi (Internet Address Formats): Clarify the byte
5546 order of struct sockaddr_in, struct sockaddr_in6. Document
5547 sin6_flowinfo and sin6_scope_id.
5548
b06f4c00
WD
55492019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
5550
5551 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
5552 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
5553 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
5554 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
5555 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
5556 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
5557
83d1cc42
FX
55582019-02-01 Feng Xue <fxue@os.amperecomputing.com>
5559
5560 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
5561 [!MEMCHR](MEMCHR): Set to __memchr.
5562 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
5563 Add memchr_generic and memchr_nosimd.
5564 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
5565 (__libc_ifunc_impl_list): Add memchr ifuncs.
5566 * sysdeps/aarch64/multiarch/memchr.c: New file.
5567 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
5568 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
5569
c7d3890f
FX
55702019-02-01 Feng Xue <fxue@os.amperecomputing.com>
5571
5572 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
5573 Add memset_emag.
5574 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
5575 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
5576 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
5577 Add IS_EMAG check for ifunc dispatch.
5578 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
5579 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
5580
07c3d1ec
FX
55812019-02-01 Feng Xue <fxue@os.amperecomputing.com>
5582
5583 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
5584 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
5585 Add emag.
5586 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
5587 New macro.
5588
114f792e
SL
55892019-02-01 Stefan Liebler <stli@linux.ibm.com>
5590
5591 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
5592
d5627550
VG
55932019-01-31 Vineet Gupta <vgupta@synopsys.com>
5594
5595 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
5596 syscall-template file.
5597
5fc9ed4c
CD
55982019-01-31 Carlos O'Donell <carlos@redhat.com>
5599 Torvald Riegel <triegel@redhat.com>
5600 Rik Prohaska <prohaska7@gmail.com>
5601
5602 [BZ# 23844]
5603 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
5604 tst-rwlock-trywrlock-stall.
5605 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
5606 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
5607 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
5608 Set __wrphase_fute to 1 only if we started the write phase.
5609 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
5610 * nptl/tst-rwlock-trywrlock-stall.c: New file.
5611 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
5612 * support/xpthread_rwlock_destroy.c: New file.
5613 * support/xthread.h: Declare xpthread_rwlock_destroy.
5614
932329a5
JM
56152019-02-01 Joseph Myers <joseph@codesourcery.com>
5616
5617 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
5618 version to 4.0.2.
5619
5f10701f
PP
56202019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5621
5622 [BZ #24051]
5623 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
5624 * libio/fileops.c (_IO_new_file_underflow): Likewise
5625 * libio/wfileops.c (_IO_wfile_underflow): Likewise
5626 * libio/putchar.c (putchar): Likewise.
5627 * libio/putchar_u.c (putchar_unlocked): Likewise.
5628 * libio/putwchar.c (putchar): Likewise.
5629 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
5630 * libio/tst-bz24051.c: New test.
5631 * libio/Makefile (tests): Add tst-bz24051
5632
583dd860
PE
56332019-01-31 Paul Eggert <eggert@cs.ucla.edu>
5634
b626c5aa 5635 CVE-2019-9169
583dd860
PE
5636 regex: fix read overrun [BZ #24114]
5637 Problem found by AddressSanitizer, reported by Hongxu Chen in:
5638 https://debbugs.gnu.org/34140
5639 * posix/regexec.c (proceed_next_node):
5640 Do not read past end of input buffer.
5641
2bac7daa
FW
56422019-01-31 Florian Weimer <fweimer@redhat.com>
5643
5644 [BZ #24059]
5645 * nss/nss_files/files-alias.c (get_next_alias): Handle
5646 continuation line without newline at the end.
5647 * nss/tst-nss-files-alias-truncated.c: New file.
5648 * nss/Makefile [$(build-shared)] (tests): Add
5649 tst-nss-files-alias-truncated.
5650 (tst-nss-files-alias-truncated): Link with libnss_files.so.
5651 * support/namespace.h (struct support_chroot_configuration): Add
5652 aliases member.
5653 (struct support_chroot): Add path_aliases member.
5654 * support/support_chroot.c (support_chroot_create): Handle
5655 aliases.
5656 (support_chroot_free): Free path_aliases.
5657
330c9d0d
SP
56582019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
5659
de44ab67
SP
5660 * version.h (RELEASE): Set to "development".
5661 (VERSION): Set to "2.29.9000".
5662 * NEWS: Add section for 2.30.
5663
56c86f5d
SP
5664 * version.h (RELEASE): Set to "stable".
5665 (VERSION): Set to "2.29".
5666 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
5667
330c9d0d
SP
5668 * NEWS: Add the list of bugs fixed in 2.29.
5669 * manual/contrib.texi: Update contributors list with some more
5670 names.
5671 * manual/install.texi: Update latest versions of packages
5672 tested.
5673 * INSTALL: Regenerated.
5674
e1e47c91
SP
56752019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
5676
5677 * po/be.po: Update translations.
5678 * po/bg.po: Likewise.
5679 * po/ca.po: Likewise.
5680 * po/cs.po: Likewise.
5681 * po/da.po: Likewise.
5682 * po/de.po: Likewise.
5683 * po/el.po: Likewise.
5684 * po/eo.po: Likewise.
5685 * po/es.po: Likewise.
5686 * po/fi.po: Likewise.
5687 * po/fr.po: Likewise.
5688 * po/gl.po: Likewise.
5689 * po/hr.po: Likewise.
5690 * po/hu.po: Likewise.
5691 * po/ia.po: Likewise.
5692 * po/id.po: Likewise.
5693 * po/it.po: Likewise.
5694 * po/ja.po: Likewise.
5695 * po/ko.po: Likewise.
5696 * po/lt.po: Likewise.
5697 * po/nb.po: Likewise.
5698 * po/nl.po: Likewise.
5699 * po/pl.po: Likewise.
5700 * po/pt_BR.po: Likewise.
5701 * po/ru.po: Likewise.
5702 * po/rw.po: Likewise.
5703 * po/sk.po: Likewise.
5704 * po/sl.po: Likewise.
5705 * po/sv.po: Likewise.
5706 * po/tr.po: Likewise.
5707 * po/uk.po: Likewise.
5708 * po/vi.po: Likewise.
5709 * po/zh_CN.po: Likewise.
5710 * po/zh_TW.po: Likewise.
5711
8d016826
UB
57122019-01-24 Uroš Bizjak <ubizjak@gmail.com>
5713
5714 [BZ #24130]
5715 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
5716 of $f3 register on $y_is_neg path.
5717
a0bb5abd
ST
57182019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
5719
b96e22d0 5720 [BZ #24110]
a0bb5abd
ST
5721 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
5722 sigaltstack.ss_flags.
5723
b22eed37
TS
57242019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
5725
5726 [BZ #23758]
5727 * manual/time.texi (strftime): Document "%Ey".
5728 * time/strftime_l.c (__strftime_internal): Set the default width
5729 padding with zero of "%Ey" to 2.
5730
32f600a2
TS
5731 [BZ #24096]
5732 * manual/time.texi (strftime): Document "%EC" and "%EY".
5733 * time/Makefile (tests): Add tst-strftime2.
5734 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
5735 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
5736 override padding for "%Ey".
5737 If an optional flag ('_' or '-') is specified to "%EY", interpret the
5738 "%Ey" in the subformat as if decorated with that flag.
5739 * time/tst-strftime2.c: New file.
5740
8e889c5d
AZ
57412019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5742
3367acdb
AZ
5743 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
5744 are not defined.
5745
8e889c5d
AZ
5746 [BZ #24122]
5747 * elf/Makefile (tests): Add tst-audit13.
5748 (modules-names): Add tst-audit13mod1.
5749 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
5750 rule.
5751 * elf/rtld.c (dl_main): Handle invalid audit module version.
5752 * elf/tst-audit13.c: New file.
5753 * elf/tst-audit13mod1.c: Likewise.
5754
a95dc01c
ST
57552019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
5756
5757 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
5758 returned by __hurd_at_flags.
ee4d7902
ST
5759 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
5760 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
5761 directly instead of __hurd_file_name_lookup.
a95dc01c 5762
712f1167
JM
57632019-01-21 Joseph Myers <joseph@codesourcery.com>
5764
5765 * scripts/build-many-glibcs.py (Context.checkout): Default
5766 binutils version to 2.32 branch.
5767
108bc404
FW
57682019-01-21 Florian Weimer <fweimer@redhat.com>
5769
5770 [BZ #20018]
5771 CVE-2016-10739
5772 resolv: Reject trailing characters in host names
5773 * include/arpa/inet.h (__inet_aton_exact): Declare.
5774 (inet_aton): Remove hidden prototype. No longer used internally.
5775 * nscd/gai.c (__inet_aton): Do not define.
5776 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
5777 * nss/digits_dots.c (__inet_aton): Likewise.
5778 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
5779 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
5780 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
5781 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
5782 (tst-resolv-trailing): Likewise.
5783 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
5784 libc.
5785 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
5786 Make static. Add endp parameter.
5787 (__inet_aton_exact): New function.
5788 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
5789 (__inet_addr): Call inet_aton_end.
5790 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
5791 not just IPv6. Call __inet_aton_exact.
5792 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
5793 (tests): Make const. Add additional test cases with trailing
5794 characters.
5795 (do_test): Use array_length.
5796 * resolv/tst-inet_aton_exact.c: New file.
5797 * resolv/tst-resolv-trailing.c: Likewise.
5798 * resolv/tst-resolv-nondecimal.c: Likewise.
5799 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
5800
5165de69
L
58012019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5802
5803 [BZ# 24097]
5804 CVE-2019-6488
5805 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
5806 Clear the upper 32 bits of RSI register.
5807 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
5808 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
5809 and tst-size_t-wcsnlen.
5810 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
5811 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
5812
c7c54f65
L
58132019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5814
5815 [BZ# 24097]
5816 CVE-2019-6488
5817 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
5818 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5819 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5820 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
5821 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
5822
ee915088
L
58232019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5824
5825 [BZ# 24097]
5826 CVE-2019-6488
5827 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
5828 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5829 * sysdeps/x86_64/strcmp.S: Likewise.
5830 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
5831 tst-size_t-strncmp and tst-size_t-wcsncmp.
5832 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
5833 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
5834 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
5835
82d0b4a4
L
58362019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5837
5838 [BZ# 24097]
5839 CVE-2019-6488
5840 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
5841 RDX_LP for length. Clear the upper 32 bits of RDX register.
5842 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
5843 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
5844 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
5845 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
5846
ecd8b842
L
58472019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5848
5849 [BZ# 24097]
5850 CVE-2019-6488
5851 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
5852 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
5853 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
5854 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
5855
231c5676
L
58562019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5857
5858 [BZ# 24097]
5859 CVE-2019-6488
5860 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
5861 length. Clear the upper 32 bits of RDX register.
5862 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5863 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
5864 Likewise.
5865 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
5866 Likewise.
5867 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
5868 tst-size_t-wmemchr.
5869 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
5870
b304fc20
L
58712019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5872
5873 [BZ# 24097]
5874 CVE-2019-6488
5875 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
5876 length. Clear the upper 32 bits of RDX register.
5877 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5878 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5879 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
5880 tst-size_t-wmemcmp.
5881 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
5882 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
5883
97700a34
L
58842019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5885
5886 [BZ# 24097]
5887 CVE-2019-6488
5888 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
5889 upper 32 bits of RDX register.
5890 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
5891 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
5892 tst-size_t-wmemchr.
5893 * sysdeps/x86_64/x32/test-size_t.h: New file.
5894 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
5895 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
5896
6ca53a24
FW
58972019-01-18 Florian Weimer <fweimer@redhat.com>
5898
5899 [BZ #24112]
5900 resolv: Do not send queries for non-host-names in nss_dns.
5901 * resolv/nss_dns/dns-host.c (check_name): New function.
5902 (_nss_dns_gethostbyname2_r): Use it.
5903 (_nss_dns_gethostbyname_r): Likewise.
5904 (_nss_dns_gethostbyname4_r): Likewise.
5905
5e30b8ef
FW
59062019-01-21 Florian Weimer <fweimer@redhat.com>
5907
5908 * resolv/inet_addr.c: Reformat to GNU style.
5909 (__inet_addr, __inet_aton): Update comment.
5910
71effcea
FW
59112019-01-18 Florian Weimer <fweimer@redhat.com>
5912
5913 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
5914 ("malloc: Use current (C11-style) atomics for fastbin access").
5915 This commit introduces a substantial performance regression on
5916 POWER and Aarch64.
5917 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
5918 (REMOVE_FB): Define.
5919 (_int_malloc): Use it and reindent.
5920 (_int_free): Use CAS loop with
5921 catomic_compare_and_exchange_val_rel.
5922 (malloc_consolidate): Use atomic_exchange_acq.
5923
5924
562f4362
L
59252019-01-18 H.J. Lu <hongjiu.lu@intel.com>
5926
5927 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
5928 -Wl,-z,now.
5929 (LDFLAGS-tst-minsigstksz-2): Likewise.
5930 (LDFLAGS-tst-minsigstksz-3): Likewise.
5931 (LDFLAGS-tst-minsigstksz-3a): Likewise.
5932 (LDFLAGS-tst-minsigstksz-4): Likewise.
5933
80dfa298
TS
59342019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
5935
5936 * manual/time.texi (strftime): Fix the wording to "alternative" rather
5937 than "alternate".
5938
008b598e
PC
59392019-01-16 Paul A. Clarke <pc@us.ibm.com>
5940
5941 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
5942
fbbc9a4e
ZW
59432019-01-16 Zack Weinberg <zackw@panix.com>
5944
6b5c8607
TS
5945 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
5946 (xget_sigstack_location): New test support functions.
5947 * support/xsigstack.c: New file, implementing them.
5948 * support/tst-xsigstack.c: New test for them.
5949 * support/Makefile: Update.
fbbc9a4e 5950
6b5c8607
TS
5951 * signal/tst-minsigstksz-1.c
5952 * signal/tst-minsigstksz-2.c
5953 * signal/tst-minsigstksz-3.c
5954 * signal/tst-minsigstksz-3a.c
5955 * signal/tst-minsigstksz-4.c: New tests.
5956 * signal/Makefile: Run them.
fbbc9a4e 5957
5f1135e4
SP
59582019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
5959
5960 * po/libc.pot: Regenerate.
5961
ecdacd34
TMQMF
59622019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5963
5964 * math/libm-test-fma.inc (fma_test_data): Set
5965 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
5966
56054664
RA
59672019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
5968
5969 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
5970 (do_test): Changed __vector __int128_t to __vector unsigned int.
5971
1a153e47
LS
59722019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5973
5974 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5975 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
5976 stpcpy-avx2 and stpncpy-avx2.
5977 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
5978 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
5979 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
5980 and __stpncpy_avx2.
5981 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
5982 ifunc-strcpy.h}: rename header for a more generic name.
5983 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
5984 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
5985 AVX unaligned load is fast and vzeroupper is preferred.
5986 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
5987 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
5988 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
5989 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
5990 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
5991 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
5992
a1b02ae7
DL
59932019-01-12 Dmitry V. Levin <ldv@altlinux.org>
5994
5995 * argp/argp-help.c: Fix typo in comment.
5996 * misc/sys/cdefs.h: Likewise.
5997 * posix/regexec.c (sift_states_iter_mb): Likewise.
5998 * socket/sockatmark.c: Likewise.
5999 * socket/sys/socket.h: Likewise.
6000 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
6001 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
6002 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
6003 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6004 * sysdeps/unix/sockatmark.c: Likewise.
6005 * time/strptime_l.c: Likewise.
6006
5cbbf01e
TS
60072019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
6008
6009 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
6010 missing space after the cast of "_NL_CURRENT".
6011
0bc9bdf1
RA
60122019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
6013
6014 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
6015 ifdef to fix read of VSCR.
6016 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
6017 tst-ucontext-ppc64-vscr.c to test list.
6018 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
6019
5494af04
AH
60202019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
6021
6022 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
6023 fall-through.
6024
e17f63ff
JW
60252019-01-09 Jim Wilson <jimw@sifive.com>
6026
6027 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
6028
02f440c1
WD
60292019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
6030
6031 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
6032 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
6033 __memcpy_falkor for ares.
6034 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
6035 Add new define.
6036 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
6037 Add ares cpu.
6038
69da3c9e
L
60392019-01-07 H.J. Lu <hongjiu.lu@intel.com>
6040
6041 [BZ #24066]
6042 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
6043 4_FP_W_TYPEs are used for IEEE quad precision.
6044 * soft-fp/extendhftf2.c: Likewise.
6045 * soft-fp/extendsftf2.c: Likewise.
6046 * soft-fp/extendxftf2.c: Likewise.
6047 * soft-fp/trunctfdf2.c: Likewise.
6048 * soft-fp/trunctfhf2.c: Likewise.
6049 * soft-fp/trunctfsf2.c: Likewise.
6050 * soft-fp/trunctfxf2.c: Likewise.
6051 * sysdeps/alpha/ots_cvttx.c: Likewise.
6052 * sysdeps/alpha/ots_cvtxt.c: Likewise.
6053 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
6054 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
6055 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
6056 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
6057 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
6058 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
6059 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
6060 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
6061 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
6062 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
6063 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
6064 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
6065 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
6066 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
6067 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
6068 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
6069
2ef42716
AJ
60702019-01-07 Aurelien Jarno <aurelien@aurel32.net>
6071
6072 [BZ #24024]
6073 * Makeconfig: Build libm with -fno-math-errno but build the remaining
6074 code with -fmath-errno.
6075 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
6076 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
6077 * string/test-strerror-errno.c: New file.
6078
7395f3a0
AJ
60792019-01-07 Aurelien Jarno <aurelien@aurel32.net>
6080
6081 [BZ #24046]
6082 * localedata/locales/en_US (date_fmt): Add, set to
6083 "%a %d %b %Y %r %Z".
6084
010fe231
FW
60852019-01-07 Florian Weimer <fweimer@redhat.com>
6086
6087 [BZ #24063]
6088 * manual/arith.texi (Math Error Reporting): Use @code{errno}
6089 instead of @var{errno}.
6090 (Parsing of Integers): Likewise.
6091 (Parsing of Floats): Likewise.
6092 * manual/filesys.texi (Working with Directory Trees): Likewise.
6093 (Temporary Files): Likewise.
6094 * manual/job.texi (Terminal Access Functions): Likewise.
6095 * manual/llio.texi (Synchronizing I/O): Likewise.
6096 * manual/math.texi (SVID Random): Likewise.
6097 * manual/message.texi (The catgets Functions): Likewise.
6098 (Translation with gettext): Likewise.
6099 (Locating gettext catalog): Likewise.
6100 (Charset conversion in gettext): Likewise.
6101 * manual/nss.texi (NSS Module Function Internals): Likewise.
6102 * manual/search.texi (Hash Search Function): Likewise.
6103 * manual/setjmp.texi (System V contexts): Likewise.
6104 * manual/time.texi (Sleeping): Likewise.
6105 * manual/users.texi (Lookup User): Likewise.
6106 (Lookup Group): Likewise.
6107
b79dc8d0
AZ
61082019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6109
6110 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
6111 fix typo.
6112
890461fe 61132019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
27c5e756
MJ
6114
6115 [BZ #19444]
6116 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
6117 __builtin_unreachable for default case in switch.
6118 (__ieee754_yn): Likewise.
6119 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6120 (__ieee754_ynl): Likewise.
6121 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6122 (__ieee754_ynl): Likewise.
6123 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6124 (__ieee754_ynl): Likewise.
6125
8b18d418
SN
61262019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
6127
6128 * manual/maint.texi: Use @{ and @}.
6129
4392898d
FW
61302019-01-04 Florian Weimer <fweimer@redhat.com>
6131
6132 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
6133 function.
6134 (do_in_chroot_1): Call it.
6135 (run_chroot_tests):
6136 Improve error reporting in case it is not possible to create a
6137 collision for the PTY name required by the test.
6138
17cc27d5
AZ
61392019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6140
ce7eb0e9
AZ
6141 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
6142 lll_wait_tid with timeout.
6143 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
6144 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
6145 futex_reltimed_wait_cancelable for cancelabla mode.
6146 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
6147 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
6148 macros.
6149 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
6150 * sysdeps/posix/waitid.c (__sigwait): Likewise.
6151 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
6152 SYSCALL_CANCEL_NCS): New macro.
6153 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
6154 (lll_timedwait_tid): Remove macro.
6155 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
6156 Likewise.
6157 (lll_timedwait_tid): Likewise.
6158 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
6159 Likewise.
6160 (lll_timedwait_tid): Likewise.
6161 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
6162 Likewise.
6163 (lll_timedwait_tid): Likewise.
6164 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
6165 Use INTERNAL_SYSCALL_CANCEL.
6166 * sysdeps/unix/sysv/linux/futex-internal.h
6167 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
6168 instead of __pthread_{enable,disable}_asynccancel.
6169 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
6170 (lll_futex_wait_cancel): New macro.
6171
0b13e255
AZ
6172 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
6173 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
6174
85c828a4
AZ
6175 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
6176 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
6177
d0d7f85f
AZ
6178 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
6179 in backtrace analysis.
6180 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
6181 side-effects.
6182 (tf_send): Likewise.
6183
17cc27d5
AZ
6184 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
6185 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
6186 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
6187 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
6188 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
6189 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
6190 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
6191 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
6192 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
6193 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
6194 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
6195 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
6196 Likewise.
6197 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
6198 tst-cancel-wrappers.sh.
6199 (generated): Remove tst-cancel-wrappers.out.
6200 (tst-cancel-wrappers.out): Remove rule.
6201 * nptl/tst-cancel-wrappers.sh: Remove file.
6202
7d7af8f1
SN
62032019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
6204
6205 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
6206 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
6207 Update.
6208
805334b2
AZ
62092019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6210
6211 [BZ #23640]
6212 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
6213 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
6214 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
6215 close-on-exec reset for adddup2 file action.
6216 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
6217
03992356
ZW
62182019-01-03 Zack Weinberg <zackw@panix.com>
6219
6220 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
6221 parameter. Only use deprecated scanf when __USE_GNU is defined
6222 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
6223 than 201103L, whichever is relevant for the language being compiled.
6224
6225 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
6226 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
6227 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
6228 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
6229 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
6230
6231 * libio/iovsscanf.c
6232 * libio/fwscanf.c
6233 * libio/iovswscanf.c
6234 * libio/swscanf.c
6235 * libio/vscanf.c
6236 * libio/vwscanf.c
6237 * libio/wscanf.c
6238 * stdio-common/fscanf.c
6239 * stdio-common/scanf.c
6240 * stdio-common/vfscanf.c
6241 * stdio-common/vfwscanf.c
6242 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6243 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
6244 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
6245 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
6246 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
6247 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
6248 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
6249 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
6250 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
6251 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
6252 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
6253 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
6254 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
6255 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
6256 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
6257
6258 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
6259 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
6260 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
6261 not sscanf.
6262 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
6263 with a preprocessor macro.
6264
6265 * stdio-common/bug21.c, stdio-common/scanf14.c:
6266 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
6267 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
6268 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
6269 to xscanf, xfscanf, xsscanf.
6270
6271 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
6272 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
6273 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
6274 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
6275 xfscanf, xsscanf.
6276 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
6277 override feature selection macros or provide definitions of u_char etc.
6278 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
6279 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
6280 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
6281 with -std=gnu89.
6282
8083afa5
AZ
62832019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6284
6f343c1f
AZ
6285 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6286 bits/termios-misc.h.
6287 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
6288 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6289 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6290 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6291 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
6292 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
6293
51f4beb0
AZ
6294 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
6295 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
6296 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
6297 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
6298 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
6299 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
6300 termios-misc.h.
6301 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
6302 (sysdep_headers): Add termios-misc.h.
6303
f69c5cb2
AZ
6304 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
6305 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6306 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6307
3aa4a07e
AZ
6308 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6309 termios-tcflow.h.
6310 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
6311 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
6312 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
6313 TCSAFLUSH): Move to termios-tcflow.h.
6314 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6315 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6316 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6317 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6318
22679ddf
AZ
6319 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6320 termios-c_lflag.h.
6321 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
6322 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
6323 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
6324 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
6325 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
6326 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
6327 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
6328 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
6329 Likewise.
6330 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6331 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6332 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6333 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6334
72eb6ecc
AZ
6335 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6336 termios-c_cflag.h.
6337 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
6338 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
6339 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
6340 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
6341 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
6342 termios-c_cflag.h.
6343 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6344 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6345 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6346 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6347
9c5d0d02
AZ
6348 [BZ #23783]
6349 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6350 termios-baud.h.
6351 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
6352 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
6353 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
6354 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
6355 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
6356 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
6357 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
6358 __MAX_BAUD): Move to termios-baud.h.
6359 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
6360 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
6361 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6362 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6363 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6364
7b832018
AZ
6365 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
6366 termios-c_oflag.h.
6367 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
6368 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
6369 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
6370 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
6371 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
6372 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
6373 termios-c_oflag.h.
6374 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
6375 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
6376 FFR1): Likewise.
6377 [USE_MISC] (XTABS): Likewise.
6378 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6379 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6380 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6381 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
6382
3127003e
AZ
6383 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
6384 termios-c_iflag.h.
6385 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
6386 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
6387 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
6388 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
6389 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
6390 IUTF8): Move to termios-c_iflag.h.
6391 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6392 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6393 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6394 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6395
48c1dd96
AZ
6396 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
6397 termios-cc.h.
6398 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
6399 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
6400 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
6401 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
6402 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
6403 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
6404 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
6405 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
6406 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6407 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6408 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6409 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6410
e5a50db3
AZ
6411 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
6412 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
6413 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
6414 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
6415 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6416 termios-struct.h.
6417 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
6418 termios-struct.h.
6419 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
6420 Likewise.
6421 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
6422 Likewise.
6423 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
6424 Likewise.
6425 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
6426 Likewise.
6427 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
6428 _HAVE_C_OSPEED): Define.
6429 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
6430 _HAVE_C_OSPEED): Likewise.
6431 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
6432 _HAVE_C_OSPEED): Likewise.
6433 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
6434 (cfsetospeed): Check for define value instead of existence.
6435 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
6436 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
6437 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
6438 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
6439 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
6440
8083afa5
AZ
6441 [BZ #17783]
6442 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
6443 Define.
6444 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
6445 (TIOCSER_TEMT): Likewise.
6446 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
6447 (TEOCSER_TEMT): Likewise.
6448
4d7d7dc6
P
64492019-01-02 PanderMusubi <pander@users.sourceforge.net>
6450
6451 [BZ #24011]
6452 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
6453
8e291a29
JM
64542019-01-02 Joseph Myers <joseph@codesourcery.com>
6455
6456 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
6457
55137f7d
ST
64582019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
6459
6460 * sysdeps/htl/pt-barrierattr-setpshared.c
6461 (pthread_barrierattr_setpshared): Add stub warning.
6462 * sysdeps/htl/pt-condattr-setpshared.c
6463 (pthread_condattr_setpshared): Likewise.
6464 * sysdeps/htl/pt-mutexattr-setpshared.c
6465 (pthread_mutexattr_setpshared): Likewise.
6466 * sysdeps/htl/pt-rwlockattr-setpshared.c
6467 (pthread_rwlockattr_setpshared): Likewise.
6468 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
6469 (pthread_mutexattr_setpshared): Likewise.
6470
2ce09e01
JM
64712019-01-02 Joseph Myers <joseph@codesourcery.com>
6472
acb55dcb
JM
6473 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
6474 constants to match with Linux 4.20.
6475
2ce09e01
JM
6476 * sysdeps/mips/mips32/libm-test-ulps: Update.
6477 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6478
fe20bb1d
AJ
64792019-01-02 Aurelien Jarno <aurelien@aurel32.net>
6480
6481 [BZ #24034]
6482 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
6483 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
6484 than __typeof (...) for the a_ptr variable.
6485
2d9837c1
GG
64862019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6487
6488 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
6489 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
6490 * libio/Makefile (tests): Add tst-sprintf-ub and
6491 tst-sprintf-chk-ub.
6492 (CFLAGS-tst-sprintf-ub.c): New variable.
6493 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
6494 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
6495 destination buffer and check for overflows in fortified mode.
6496 * libio/libioP.h (PRINTF_CHK): New macro.
6497 * libio/tst-sprintf-chk-ub.c: New file.
6498 * libio/tst-sprintf-ub.c: Likewise.
6499
d5c6df0b 65002019-01-02 Florian Weimer <fweimer@redhat.com>
8c1aafc1
FW
6501
6502 [BZ #24018]
6503 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
6504 failure.
6505
66081e38
FW
65062019-01-02 Florian Weimer <fweimer@redhat.com>
6507
6508 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
6509
04277e02
JM
65102019-01-01 Joseph Myers <joseph@codesourcery.com>
6511
6ef3d225
JM
6512 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
6513 macro.
6514
e3d4e292
JM
6515 * sysdeps/unix/sysv/linux/netpacket/packet.h
6516 (PACKET_IGNORE_OUTGOING): New macro.
6517
f4507797
JM
6518 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
6519 macro.
6520
47ad5e1a
JM
6521 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
6522 version to 4.20.
6523 (riscv_flush_icache): New syscall.
6524
7628a1b0
JM
6525 * manual/texinfo.tex: Update to version 2018-12-28.17 with
6526 trailing whitespace removed.
6527 * scripts/config.guess: Update to version 2019-01-01.
6528 * scripts/config.sub: Update to version 2019-01-01.
6529 * scripts/move-if-change: Update from gnulib.
6530
c9123888
JM
6531 * NEWS: Update copyright dates.
6532 * catgets/gencat.c (print_version): Likewise.
6533 * csu/version.c (banner): Likewise.
6534 * debug/catchsegv.sh: Likewise.
6535 * debug/pcprofiledump.c (print_version): Likewise.
6536 * debug/xtrace.sh (do_version): Likewise.
6537 * elf/ldconfig.c (print_version): Likewise.
6538 * elf/ldd.bash.in: Likewise.
6539 * elf/pldd.c (print_version): Likewise.
6540 * elf/sotruss.sh: Likewise.
6541 * elf/sprof.c (print_version): Likewise.
6542 * iconv/iconv_prog.c (print_version): Likewise.
6543 * iconv/iconvconfig.c (print_version): Likewise.
6544 * locale/programs/locale.c (print_version): Likewise.
6545 * locale/programs/localedef.c (print_version): Likewise.
6546 * login/programs/pt_chown.c (print_version): Likewise.
6547 * malloc/memusage.sh (do_version): Likewise.
6548 * malloc/memusagestat.c (print_version): Likewise.
6549 * malloc/mtrace.pl: Likewise.
6550 * manual/libc.texinfo: Likewise.
6551 * nptl/version.c (banner): Likewise.
6552 * nscd/nscd.c (print_version): Likewise.
6553 * nss/getent.c (print_version): Likewise.
6554 * nss/makedb.c (print_version): Likewise.
6555 * posix/getconf.c (main): Likewise.
6556 * scripts/test-installation.pl: Likewise.
6557 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6558
04277e02
JM
6559 * All files with FSF copyright notices: Update copyright dates
6560 using scripts/update-copyrights.
6561 * locale/programs/charmap-kw.h: Regenerated.
6562 * locale/programs/locfile-kw.h: Likewise.
6563
e740e5b1
JM
65642018-12-31 Joseph Myers <joseph@codesourcery.com>
6565
6566 * timezone/zdump.c: Update from tzcode 2018i.
6567 * timezone/zic.c: Likewise.
6568
9b7f98b3
PE
65692018-12-31 Paul Eggert <eggert@cs.ucla.edu>
6570
6571 regex: improve Gnulib port to AIX
6572 From the glibc point of view, this removes duplicate macro
6573 definitions and is obviously safe.
6574 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
6575 * posix/regex_internal.h:
6576 (__attribute__, __attribute_warn_unused_result__):
6577 Remove; already defined elsewhere.
6578
b50dd3bc
FW
65792018-12-31 Florian Weimer <fw@deneb.enyo.de>
6580
6581 [BZ #24027]
6582 * malloc/malloc.c (_int_realloc): Always call memcpy for the
6583 copying operation. (ncopies had the wrong type, resulting in an
6584 integer wraparound and too few elements being copied.)
6585
0b9c8490
L
65862018-12-31 H.J. Lu <hongjiu.lu@intel.com>
6587
6588 [BZ #24022]
6589 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
6590 <asm/syscalls.h> exists with __has_include__ before including it.
6591
01047fa6
JM
65922018-12-31 Joseph Myers <joseph@codesourcery.com>
6593
6594 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6595 version to 4.20.
6596
6b5c8607 65972018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
065957a3
JW
6598
6599 * hurd/lookup-retry: Include <unistd.h>.
6600 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
6601 Release it on return. Handle "pid" magical lookup retry.
6602
989182c4
RL
66032018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
6604
6605 [BZ #10496]
6606 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
6607 (t_fmt_ampm): Likewise.
6608 * localedata/locales/aa_ER (t_fmt): Likewise.
6609 (t_fmt_ampm): Likewise.
6610 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
6611 (t_fmt_ampm): Likewise.
6612 * localedata/locales/aa_ET (t_fmt): Likewise.
6613 (t_fmt_ampm): Likewise.
6614 * localedata/locales/am_ET (t_fmt): Likewise.
6615 (t_fmt_ampm): Likewise.
6616 * localedata/locales/byn_ER (t_fmt): Likewise.
6617 (t_fmt_ampm): Likewise.
6618 * localedata/locales/om_ET (t_fmt): Likewise.
6619 (t_fmt_ampm): Likewise.
6620 * localedata/locales/sid_ET (t_fmt): Likewise.
6621 (t_fmt_ampm): Likewise.
6622 * localedata/locales/so_DJ (t_fmt): Likewise.
6623 (t_fmt_ampm): Likewise.
6624 * localedata/locales/so_ET (t_fmt): Likewise.
6625 (t_fmt_ampm): Likewise.
6626 * localedata/locales/so_SO (t_fmt): Likewise.
6627 (t_fmt_ampm): Likewise.
6628 * localedata/locales/ti_ER (t_fmt): Likewise.
6629 (t_fmt_ampm): Likewise.
6630 * localedata/locales/ti_ET (t_fmt): Likewise.
6631 (t_fmt_ampm): Likewise.
6632 * localedata/locales/tig_ER (t_fmt): Likewise.
6633 (t_fmt_ampm): Likewise.
6634 * localedata/locales/wal_ET (t_fmt): Likewise.
6635 (t_fmt_ampm): Likewise.
6636
6637 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
6638 * localedata/locales/ar_IN (t_fmt): Likewise.
6639 * localedata/locales/bhb_IN (t_fmt): Likewise.
6640 * localedata/locales/bho_IN (t_fmt): Likewise.
6641 * localedata/locales/bi_VU (t_fmt): Likewise.
6642 * localedata/locales/bn_BD (t_fmt): Likewise.
6643 * localedata/locales/bn_IN (t_fmt): Likewise.
6644 * localedata/locales/brx_IN (t_fmt): Likewise.
6645 * localedata/locales/doi_IN (t_fmt): Likewise.
6646 * localedata/locales/en_HK (t_fmt): Likewise.
6647 (t_fmt_ampm): Likewise.
6648 * localedata/locales/en_IN (t_fmt): Likewise.
6649 * localedata/locales/en_PH (t_fmt): Likewise.
6650 * localedata/locales/gu_IN (t_fmt): Likewise.
6651 * localedata/locales/hi_IN (t_fmt): Likewise.
6652 * localedata/locales/hif_FJ (t_fmt): Likewise.
6653 * localedata/locales/hne_IN (t_fmt): Likewise.
6654 * localedata/locales/kn_IN (t_fmt): Likewise.
6655 * localedata/locales/kok_IN (t_fmt): Likewise.
6656 * localedata/locales/ks_IN (t_fmt): Likewise.
6657 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
6658 * localedata/locales/mag_IN (t_fmt): Likewise.
6659 * localedata/locales/mai_IN (t_fmt): Likewise.
6660 * localedata/locales/mjw_IN (t_fmt): Likewise.
6661 * localedata/locales/ml_IN (t_fmt): Likewise.
6662 * localedata/locales/mni_IN (t_fmt): Likewise.
6663 * localedata/locales/mr_IN (t_fmt): Likewise.
6664 * localedata/locales/ms_MY (t_fmt): Likewise.
6665 * localedata/locales/pa_IN (t_fmt): Likewise.
6666 * localedata/locales/raj_IN (t_fmt): Likewise.
6667 * localedata/locales/sa_IN (t_fmt): Likewise.
6668 * localedata/locales/sat_IN (t_fmt): Likewise.
6669 * localedata/locales/sd_IN (t_fmt): Likewise.
6670 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
6671 * localedata/locales/tcy_IN (t_fmt): Likewise.
6672 * localedata/locales/the_NP (t_fmt): Likewise.
6673 * localedata/locales/to_TO (t_fmt): Likewise.
6674 * localedata/locales/ur_IN (t_fmt): Likewise.
6675
6676 * localedata/locales/hif_FJ (d_t_fmt): Set to
6677 "%A %d %b %Y %I:%M:%S %p".
6678 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
6679
6680 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
6681 * localedata/locales/ar_BH (t_fmt): Likewise.
6682 * localedata/locales/ar_DZ (t_fmt): Likewise.
6683 * localedata/locales/ar_EG (t_fmt): Likewise.
6684 * localedata/locales/ar_IQ (t_fmt): Likewise.
6685 * localedata/locales/ar_JO (t_fmt): Likewise.
6686 * localedata/locales/ar_KW (t_fmt): Likewise.
6687 * localedata/locales/ar_LB (t_fmt): Likewise.
6688 * localedata/locales/ar_LY (t_fmt): Likewise.
6689 * localedata/locales/ar_OM (t_fmt): Likewise.
6690 * localedata/locales/ar_QA (t_fmt): Likewise.
6691 * localedata/locales/ar_SD (t_fmt): Likewise.
6692 * localedata/locales/ar_SS (t_fmt): Likewise.
6693 * localedata/locales/ar_SY (t_fmt): Likewise.
6694 * localedata/locales/ar_TN (t_fmt): Likewise.
6695 * localedata/locales/ar_YE (t_fmt): Likewise.
6696
6697 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
6698 (t_fmt_ampm): Likewise.
6699 * localedata/locales/gez_ET (t_fmt): Likewise.
6700 (t_fmt_ampm): Likewise.
6701
6702 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
6703 (t_fmt_ampm): Likewise.
6704 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
6705
6706 * localedata/locales/zh_HK (t_fmt):
6707 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
6708
6709 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
6710 because this locale does not use the 12-hour clock.
6711 (t_fmt): Set to "%Z %H:%M:%S".
6712 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
6713
6714 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
6715 because this locale does not use the 12-hour clock.
6716 (t_fmt): Set to "%H:%M:%S %Z".
6717 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
6718
6719 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
6720 because this locale does not use the 12-hour clock.
6721 (t_fmt): Set to "%T".
6722 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
6723 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
6724
6725 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
6726 because this locale does not use the 12-hour clock.
6727 (t_fmt): Set to "%H:%M:%S %Z".
6728 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
6729
6730 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
6731 because this locale does not use the 12-hour clock.
6732 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
6733 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
6734
27841a7d
RL
67352018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
6736
6737 [BZ #10496]
6738 [BZ #23724]
6739 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
6740 (t_fmt_ampm): Likewise.
6741 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
6742 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
6743 (d_fmt): Set to "%-d.%-m.%y".
6744
0253580a
AZ
67452018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6746
6747 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
6748 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
6749 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
6750 Likewise.
6751 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
6752 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
6753 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
6754 function.
6755 * support/blob_repeat.c (check_mul_overflow_size_t,
6756 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
6757
09104e5b
AJ
67582018-12-28 Aurelien Jarno <aurelien@aurel32.net>
6759
6760 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
6761
c0feb731
PE
67622018-12-27 Paul Eggert <eggert@cs.ucla.edu>
6763
6764 regex: simplify Gnulib port
6765 This simplifies the code, by removing stuff intended for porting
6766 to Gnulib but no longer needed there.
6767 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
6768 uses of libc_hidden_def, weak_alias.
6769 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
6770 _Restrict_ except for public-facing headers.
6771 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
6772 Remove; already defined elsewhere.
6773 * posix/regex.c, posix/regex_internal.h:
6774 Use __GNUC_PREREQ instead of rolling our own.
6775 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
6776
5289f1f5
WD
67772018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
6778
6779 * benchtests/bench-strlen.c (generic_strlen): New function.
6b5c8607 6780 (memchr_strlen): New function.
5289f1f5 6781
ba4b8fab
L
67822018-12-26 H.J. Lu <hongjiu.lu@intel.com>
6783
6784 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
6785 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
6786 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
6787
9412979a
L
67882018-12-26 H.J. Lu <hongjiu.lu@intel.com>
6789
6790 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6791
8700a785
L
67922018-12-26 H.J. Lu <hongjiu.lu@intel.com>
6793
6794 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
6795 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
6796 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
6797 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
6798 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
6799 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
6800 <sysdeps/ieee754/flt-32/s_sincosf.c>.
6801
57b3ff8e
JM
68022018-12-21 Joseph Myers <joseph@codesourcery.com>
6803
6804 [BZ #24023]
6805 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
6806 PLT reference in libc.so.
6807 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
6808 _Q_lltoq and _Q_qtod PLT references in libc.so.
6809
90d3320d
WD
68102018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
6811
6812 * benchtests/bench-memchr.c: Cleanup defines.
6813 * benchtests/bench-memcmp.c: Likewise.
6814 * benchtests/bench-memset.c: Likewise.
6815 * benchtests/bench-memset-large.c: Likewise.
6816 * benchtests/bench-memset-walk.c: Likewise.
6817 * benchtests/bench-stpcpy.c: Likewise.
6818 * benchtests/bench-stpncpy.c: Likewise.
6819 * benchtests/bench-strcat.c: Likewise.
6820 * benchtests/bench-strchr.c: Likewise.
6821 * benchtests/bench-strcmp.c: Likewise.
6822 * benchtests/bench-strcpy.c: Likewise.
6823 * benchtests/bench-strcspn.c: Likewise.
6824 * benchtests/bench-string.h: Likewise.
6825 * benchtests/bench-strlen.c: Likewise.
6826 * benchtests/bench-strncat.c: Likewise.
6827 * benchtests/bench-strncmp.c: Likewise.
6828 * benchtests/bench-strncpy.c: Likewise.
6829 * benchtests/bench-strnlen.c: Likewise.
6830 * benchtests/bench-strpbrk.c: Likewise.
6831 * benchtests/bench-strrchr.c: Likewise.
6832 * benchtests/bench-strspn.c: Likewise.
6833
192963be
JM
68342018-12-21 Joseph Myers <joseph@codesourcery.com>
6835
5d025ea6
JM
6836 * stdlib/longlong.h: Update from GCC.
6837
192963be
JM
6838 [BZ #23993]
6839 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
6840 * configure: Regenerated.
6841 * manual/install.texi (Tools for Compilation): Update minimum GCC
6842 version.
6843 * INSTALL: Regenerated.
6844
6b5c8607 68452018-12-21 Istvan Kurucsai <pistukem@gmail.com>
c0e82f11
IK
6846
6847 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
6848
6b5c8607 68492018-12-20 Istvan Kurucsai <pistukem@gmail.com>
ebe544bf
IK
6850
6851 * malloc/malloc.c (mremap_chunk): Additional checks.
6852
5f72b005
MH
68532018-12-21 Mao Han <han_mao@c-sky.com>
6854
6855 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
6856 * scripts/build-many-glibcs.py: Add C-SKY targets.
6857 * sysdeps/csky/Implies: New file.
6858 * sysdeps/csky/Makefile: Likewise.
6859 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
6860 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
6861 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
6862 * sysdeps/csky/abiv2/memcmp.S: Likewise.
6863 * sysdeps/csky/abiv2/memcpy.S: Likewise.
6864 * sysdeps/csky/abiv2/memmove.S: Likewise.
6865 * sysdeps/csky/abiv2/memset.S: Likewise.
6866 * sysdeps/csky/abiv2/setjmp.S: Likewise.
6867 * sysdeps/csky/abiv2/start.S: Likewise.
6868 * sysdeps/csky/abiv2/strcmp.S: Likewise.
6869 * sysdeps/csky/abiv2/strcpy.S: Likewise.
6870 * sysdeps/csky/abiv2/strlen.S: Likewise.
6871 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
6872 * sysdeps/csky/abort-instr.h: Likewise.
6873 * sysdeps/csky/atomic-machine.h: Likewise.
6874 * sysdeps/csky/bits/endian.h: Likewise.
6875 * sysdeps/csky/bits/fenv.h: Likewise.
6876 * sysdeps/csky/bits/link.h: Likewise.
6877 * sysdeps/csky/bits/setjmp.h: Likewise.
6878 * sysdeps/csky/bsd-_setjmp.S: Likewise.
6879 * sysdeps/csky/bsd-setjmp.S: Likewise.
6880 * sysdeps/csky/configure: Likewise.
6881 * sysdeps/csky/configure.ac: Likewise.
6882 * sysdeps/csky/dl-machine.h: Likewise.
6883 * sysdeps/csky/dl-procinfo.c: Likewise.
6884 * sysdeps/csky/dl-procinfo.h: Likewise.
6885 * sysdeps/csky/dl-sysdep.h: Likewise.
6886 * sysdeps/csky/dl-tls.h: Likewise.
6887 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
6888 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
6889 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
6890 * sysdeps/csky/fpu/fegetenv.c: Likewise.
6891 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
6892 * sysdeps/csky/fpu/fegetmode.c: Likewise.
6893 * sysdeps/csky/fpu/fegetround.c: Likewise.
6894 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
6895 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
6896 * sysdeps/csky/fpu/fenv_private.h: Likewise.
6897 * sysdeps/csky/fpu/fesetenv.c: Likewise.
6898 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
6899 * sysdeps/csky/fpu/fesetmode.c: Likewise.
6900 * sysdeps/csky/fpu/fesetround.c: Likewise.
6901 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
6902 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
6903 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
6904 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
6905 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
6906 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
6907 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
6908 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
6909 * sysdeps/csky/fpu_control.h: Likewise.
6910 * sysdeps/csky/gccframe.h: Likewise.
6911 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
6912 * sysdeps/csky/ldsodefs.h: Likewise.
6913 * sysdeps/csky/libc-tls.c: Likewise.
6914 * sysdeps/csky/linkmap.h: Likewise.
6915 * sysdeps/csky/machine-gmon.h: Likewise.
6916 * sysdeps/csky/memusage.h: Likewise.
6917 * sysdeps/csky/nofpu/Implies: Likewise.
6918 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
6919 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
6920 * sysdeps/csky/nptl/Makefile: Likewise.
6921 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
6922 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
6923 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
6924 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
6925 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
6926 * sysdeps/csky/nptl/tls.h: Likewise.
6927 * sysdeps/csky/preconfigure: Likewise.
6928 * sysdeps/csky/sfp-machine.h: Likewise.
6929 * sysdeps/csky/sotruss-lib.c: Likewise.
6930 * sysdeps/csky/stackinfo.h: Likewise.
6931 * sysdeps/csky/sysdep.h: Likewise.
6932 * sysdeps/csky/tininess.h: Likewise.
6933 * sysdeps/csky/tst-audit.h: Likewise.
6934 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
6935 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
6936 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
6937 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
6938 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
6939 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
6940 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
6941 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
6942 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
6943 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
6944 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
6945 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
6946 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
6947 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
6948 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
6949 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
6950 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
6951 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
6952 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
6953 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
6954 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
6955 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
6956 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
6957 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
6958 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
6959 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
6960 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
6961 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
6962 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
6963 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
6964 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
6965 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
6966 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
6967 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
6968 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
6969 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
6970 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
6971 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
6972 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
6973 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
6974 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
6975 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
6976 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
6977 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
6978
6b5c8607 69792018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
ac253355
AA
6980
6981 * include/time.h (__difftime64): Add.
6982 * time/difftime.c (subtract): convert to 64-bit time.
6983 * time/difftime.c (__difftime64): Add.
6984 * time/difftime.c (__difftime): Wrap around __difftime64.
6985
ab416931
L
69862018-12-20 H.J. Lu <hongjiu.lu@intel.com>
6987
6988 * manual/examples/add.c: Remove redundant "if not".
6989 * manual/examples/argp-ex1.c: Likewise.
6990 * manual/examples/argp-ex2.c: Likewise.
6991 * manual/examples/argp-ex3.c: Likewise.
6992 * manual/examples/argp-ex4.c: Likewise.
6993 * manual/examples/atexit.c: Likewise.
6994 * manual/examples/db.c: Likewise.
6995 * manual/examples/dir.c: Likewise.
6996 * manual/examples/dir2.c: Likewise.
6997 * manual/examples/execinfo.c: Likewise.
6998 * manual/examples/filecli.c: Likewise.
6999 * manual/examples/filesrv.c: Likewise.
7000 * manual/examples/fmtmsgexpl.c: Likewise.
7001 * manual/examples/genpass.c: Likewise.
7002 * manual/examples/inetcli.c: Likewise.
7003 * manual/examples/inetsrv.c: Likewise.
7004 * manual/examples/isockad.c: Likewise.
7005 * manual/examples/longopt.c: Likewise.
7006 * manual/examples/memopen.c: Likewise.
7007 * manual/examples/memstrm.c: Likewise.
7008 * manual/examples/mkdirent.c: Likewise.
7009 * manual/examples/mkfsock.c: Likewise.
7010 * manual/examples/mkisock.c: Likewise.
7011 * manual/examples/mygetpass.c: Likewise.
7012 * manual/examples/pipe.c: Likewise.
7013 * manual/examples/popen.c: Likewise.
7014 * manual/examples/rprintf.c: Likewise.
7015 * manual/examples/search.c: Likewise.
7016 * manual/examples/select.c: Likewise.
7017 * manual/examples/setjmp.c: Likewise.
7018 * manual/examples/sigh1.c: Likewise.
7019 * manual/examples/sigusr.c: Likewise.
7020 * manual/examples/stpcpy.c: Likewise.
7021 * manual/examples/strdupa.c: Likewise.
7022 * manual/examples/strftim.c: Likewise.
7023 * manual/examples/subopt.c: Likewise.
7024 * manual/examples/swapcontext.c: Likewise.
7025 * manual/examples/termios.c: Likewise.
7026 * manual/examples/testopt.c: Likewise.
7027 * manual/examples/testpass.c: Likewise.
7028 * manual/examples/timeval_subtract.c: Likewise.
7029
515f463f
JM
70302018-12-19 Joseph Myers <joseph@codesourcery.com>
7031
da75c1b1
JM
7032 * sysdeps/x86/fpu/math_private.h: New file.
7033 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
7034
515f463f
JM
7035 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
7036 definition.
7037 (cosh): Likewise.
7038 (tanh): Likewise.
7039
1616d034
TMQMF
70402018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7041
7042 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
7043 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
7044 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
7045 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
7046 fields.
7047 (_dl_show_auxv): Give a special treatment to
7048 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
7049 and AT_L3_CACHEGEOMETRY.
7050 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
7051 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
7052 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
7053 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
7054
61595e3d
AS
70552018-12-19 Andreas Schwab <schwab@suse.de>
7056
7057 * nscd/connections.c (check_use): Don't abort on invalid len.
7058
bbb7dc84
ST
70592018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
7060
7061 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
7062 values in the 64bit value cases.
7063
6b5c8607 70642018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
64c2277d 7065
c4c2836a
AA
7066 * include/time.h
7067 (__ctime64_r): Add.
7068 * time/ctime_r.c
7069 (__ctime64_r): Add.
7070 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
7071
7755e504
AA
7072 * include/time.h
7073 (__ctime64): Add.
7074 * time/gmtime.c
7075 (__ctime64): Add.
7076 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
7077
a1d346ce
AA
7078 * include/time.h
7079 (__gmtime64_r): Add.
7080 * time/gmtime.c
7081 (__gmtime64_r): Add.
7082 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
7083
131db8b0
AA
7084 * include/time.h
7085 (__gmtime64): Add.
7086 * time/gmtime.c
7087 (__gmtime64): Add.
7088 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
7089
64c2277d
AA
7090 * include/time.h
7091 (__localtime64_r): Add.
7092 * time/localtime.c
7093 (__localtime64_r): Add.
7094 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
7095
56b98bf1
AZ
70962018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7097
64dd7a16
AZ
7098 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
7099 kernel_sigction definition.
7100
8b1d5da5
AZ
7101 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
7102
f9eabb19
AZ
7103 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
7104
56b98bf1
AZ
7105 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
7106 __syscall_rt_sigaction.
7107 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
7108 (kernel_sigaction): Use Linux generic defintion.
7109 (STUB): Define.
7110 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
7111 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
7112 (__syscall_rt_sigaction): Remove implementation.
7113 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
7114 hidden.
7115 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
7116 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
7117 INTERNAL_SYSCALL): Remove definitions.
7118 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
7119 action and signal set size.
7120 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
7121 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
7122
43a45c2d
AZ
71232018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7124 James Clarke <jrtc27@jrtc27.com>
7125
dfa6216f 7126 [BZ #23967]
43a45c2d
AZ
7127 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
7128 Define if SA_RESTORER is defined.
7129 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
7130 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
7131 already defined.
7132 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
7133 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
7134 definitions.
7135 (HAS_SA_RESTORER): Define.
7136 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
7137 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
7138 (HAS_SA_RESTORER): Define.
7139 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
7140 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
7141 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
7142 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
7143 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7144
646ce7e0
JM
71452018-12-18 Joseph Myers <joseph@codesourcery.com>
7146
7147 * sysdeps/unix/sysv/linux/kernel-features.h
7148 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
7149 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7150 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
7151 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7152 (__ASSUME_ST_INO_64_BIT): Likewise.
7153 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7154 <kernel-features.h>.
7155 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
7156 Remove conditional code.
7157 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7158 <kernel-features.h>.
7159 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
7160 Remove conditional code.
7161 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
7162 <kernel-features.h>.
7163 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
7164 Remove conditional code.
7165 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
7166 <kernel-features.h>.
7167 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
7168 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
7169
80190d2b
SL
71702018-12-18 Stefan Liebler <stli@linux.ibm.com>
7171
7172 * sysdeps/s390/multiarch/ifunc-resolve.h
7173 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
7174 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
7175 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
7176 Delete macro definition.
7177 (s390_libc_ifunc_init): Rename to
7178 s390_libc_ifunc_expr_stfle_init.
7179 * sysdeps/s390/bzero: Use
7180 s390_libc_ifunc_expr_stfle_init instead of
7181 s390_libc_ifunc_init.
7182 * sysdeps/s390/memcmp.c: Likewise.
7183 * sysdeps/s390/memcpy.c: Likewise.
7184 * sysdeps/s390/mempcpy.c: Likewise.
7185 * sysdeps/s390/memset.c: Likewise.
7186
12f0dcb8
SL
71872018-12-18 Stefan Liebler <stli@linux.ibm.com>
7188
7189 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
7190 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
7191
25654a8c
SL
71922018-12-18 Stefan Liebler <stli@linux.ibm.com>
7193
7194 * sysdeps/s390/multiarch/Makefile
7195 (sysdep_routines): Remove wmemcmp variants.
7196 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
7197 * sysdeps/s390/multiarch/ifunc-impl-list.c
7198 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
7199 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
7200 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
7201 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
7202 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
7203 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
7204 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
7205 * sysdeps/s390/ifunc-wmemcmp.h: New file.
7206
d2a7436c
SL
72072018-12-18 Stefan Liebler <stli@linux.ibm.com>
7208
7209 * sysdeps/s390/multiarch/Makefile
7210 (sysdep_routines): Remove wmemset variants.
7211 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
7212 * sysdeps/s390/multiarch/ifunc-impl-list.c
7213 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
7214 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
7215 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
7216 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
7217 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
7218 * sysdeps/s390/multiarch/wmemset.c: Move to ...
7219 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
7220 * sysdeps/s390/ifunc-wmemset.h: New file.
7221
c62534ae
SL
72222018-12-18 Stefan Liebler <stli@linux.ibm.com>
7223
7224 * sysdeps/s390/multiarch/Makefile
7225 (sysdep_routines): Remove wmemchr variants.
7226 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
7227 * sysdeps/s390/multiarch/ifunc-impl-list.c
7228 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
7229 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
7230 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
7231 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
7232 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
7233 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
7234 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
7235 * sysdeps/s390/ifunc-wmemchr.h: New file.
7236
79b44cf6
SL
72372018-12-18 Stefan Liebler <stli@linux.ibm.com>
7238
7239 * sysdeps/s390/multiarch/Makefile
7240 (sysdep_routines): Remove wcscspn variants.
7241 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
7242 * sysdeps/s390/multiarch/ifunc-impl-list.c
7243 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
7244 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
7245 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
7246 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
7247 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
7248 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
7249 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
7250 * sysdeps/s390/ifunc-wcscspn.h: New file.
7251
8e87c1f6
SL
72522018-12-18 Stefan Liebler <stli@linux.ibm.com>
7253
7254 * sysdeps/s390/multiarch/Makefile
7255 (sysdep_routines): Remove wcspbrk variants.
7256 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
7257 * sysdeps/s390/multiarch/ifunc-impl-list.c
7258 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
7259 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
7260 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
7261 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
7262 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
7263 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
7264 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
7265 * sysdeps/s390/ifunc-wcspbrk.h: New file.
7266
8507e831
SL
72672018-12-18 Stefan Liebler <stli@linux.ibm.com>
7268
7269 * sysdeps/s390/multiarch/Makefile
7270 (sysdep_routines): Remove wcsspn variants.
7271 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
7272 * sysdeps/s390/multiarch/ifunc-impl-list.c
7273 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
7274 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
7275 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
7276 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
7277 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
7278 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
7279 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
7280 * sysdeps/s390/ifunc-wcsspn.h: New file.
7281
4753713a
SL
72822018-12-18 Stefan Liebler <stli@linux.ibm.com>
7283
7284 * sysdeps/s390/multiarch/Makefile
7285 (sysdep_routines): Remove wcsrchr variants.
7286 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
7287 * sysdeps/s390/multiarch/ifunc-impl-list.c
7288 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
7289 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
7290 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
7291 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
7292 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
7293 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
7294 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
7295 * sysdeps/s390/ifunc-wcsrchr.h: New file.
7296
c09c1b6f
SL
72972018-12-18 Stefan Liebler <stli@linux.ibm.com>
7298
7299 * sysdeps/s390/multiarch/Makefile
7300 (sysdep_routines): Remove wcschrnul variants.
7301 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
7302 * sysdeps/s390/multiarch/ifunc-impl-list.c
7303 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
7304 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
7305 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
7306 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
7307 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
7308 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
7309 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
7310 * sysdeps/s390/ifunc-wcschrnul.h: New file.
7311
cf3ccc31
SL
73122018-12-18 Stefan Liebler <stli@linux.ibm.com>
7313
7314 * sysdeps/s390/multiarch/Makefile
7315 (sysdep_routines): Remove wcschr variants.
7316 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
7317 * sysdeps/s390/multiarch/ifunc-impl-list.c
7318 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
7319 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
7320 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
7321 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
7322 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
7323 * sysdeps/s390/multiarch/wcschr.c: Move to ...
7324 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
7325 * sysdeps/s390/ifunc-wcschr.h: New file.
7326
e9873e1d
SL
73272018-12-18 Stefan Liebler <stli@linux.ibm.com>
7328
7329 * sysdeps/s390/multiarch/Makefile
7330 (sysdep_routines): Remove wcsncmp variants.
7331 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
7332 * sysdeps/s390/multiarch/ifunc-impl-list.c
7333 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
7334 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
7335 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
7336 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
7337 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
7338 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
7339 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
7340 * sysdeps/s390/ifunc-wcsncmp.h: New file.
7341
3459e23d
SL
73422018-12-18 Stefan Liebler <stli@linux.ibm.com>
7343
7344 * sysdeps/s390/multiarch/Makefile
7345 (sysdep_routines): Remove wcscmp variants.
7346 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
7347 * sysdeps/s390/multiarch/ifunc-impl-list.c
7348 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
7349 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
7350 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
7351 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
7352 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
7353 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
7354 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
7355 * sysdeps/s390/ifunc-wcscmp.h: New file.
7356
814a76e1
SL
73572018-12-18 Stefan Liebler <stli@linux.ibm.com>
7358
7359 * sysdeps/s390/multiarch/Makefile
7360 (sysdep_routines): Remove wcsncat variants.
7361 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
7362 * sysdeps/s390/multiarch/ifunc-impl-list.c
7363 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
7364 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
7365 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
7366 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
7367 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
7368 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
7369 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
7370 * sysdeps/s390/ifunc-wcsncat.h: New file.
7371
3389cae4
SL
73722018-12-18 Stefan Liebler <stli@linux.ibm.com>
7373
7374 * sysdeps/s390/multiarch/Makefile
7375 (sysdep_routines): Remove wcscat variants.
7376 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
7377 * sysdeps/s390/multiarch/ifunc-impl-list.c
7378 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
7379 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
7380 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
7381 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
7382 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
7383 * sysdeps/s390/multiarch/wcscat.c: Move to ...
7384 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
7385 * sysdeps/s390/ifunc-wcscat.h: New file.
7386
c3081bcb
SL
73872018-12-18 Stefan Liebler <stli@linux.ibm.com>
7388
7389 * sysdeps/s390/multiarch/Makefile
7390 (sysdep_routines): Remove wcpncpy variants.
7391 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
7392 * sysdeps/s390/multiarch/ifunc-impl-list.c
7393 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
7394 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
7395 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
7396 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
7397 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
7398 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
7399 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
7400 * sysdeps/s390/ifunc-wcpncpy.h: New file.
7401
0966dd86
SL
74022018-12-18 Stefan Liebler <stli@linux.ibm.com>
7403
7404 * sysdeps/s390/multiarch/Makefile
7405 (sysdep_routines): Remove wcsncpy variants.
7406 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
7407 * sysdeps/s390/multiarch/ifunc-impl-list.c
7408 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
7409 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
7410 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
7411 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
7412 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
7413 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
7414 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
7415 * sysdeps/s390/ifunc-wcsncpy.h: New file.
7416
0582e428
SL
74172018-12-18 Stefan Liebler <stli@linux.ibm.com>
7418
7419 * sysdeps/s390/multiarch/Makefile
7420 (sysdep_routines): Remove wcpcpy variants.
7421 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
7422 * sysdeps/s390/multiarch/ifunc-impl-list.c
7423 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
7424 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
7425 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
7426 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
7427 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
7428 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
7429 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
7430 * sysdeps/s390/ifunc-wcpcpy.h: New file.
7431
804f2e5c
SL
74322018-12-18 Stefan Liebler <stli@linux.ibm.com>
7433
7434 * sysdeps/s390/multiarch/Makefile
7435 (sysdep_routines): Remove wcscpy variants.
7436 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
7437 * sysdeps/s390/multiarch/ifunc-impl-list.c
7438 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
7439 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
7440 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
7441 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
7442 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
7443 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
7444 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
7445 * sysdeps/s390/ifunc-wcscpy.h: New file.
7446
c7e7cd26
SL
74472018-12-18 Stefan Liebler <stli@linux.ibm.com>
7448
7449 * sysdeps/s390/multiarch/Makefile
7450 (sysdep_routines): Remove wcsnlen variants.
7451 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
7452 * sysdeps/s390/multiarch/ifunc-impl-list.c
7453 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
7454 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
7455 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
7456 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
7457 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
7458 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
7459 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
7460 * sysdeps/s390/ifunc-wcsnlen.h: New file.
7461
2e02d0b7
SL
74622018-12-18 Stefan Liebler <stli@linux.ibm.com>
7463
7464 * sysdeps/s390/multiarch/Makefile
7465 (sysdep_routines): Remove wcslen variants.
7466 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
7467 * sysdeps/s390/multiarch/ifunc-impl-list.c
7468 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
7469 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
7470 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
7471 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
7472 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
7473 * sysdeps/s390/multiarch/wcslen.c: Move to ...
7474 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
7475 * sysdeps/s390/ifunc-wcslen.h: New file.
7476
89bfcbdf
SL
74772018-12-18 Stefan Liebler <stli@linux.ibm.com>
7478
7479 * sysdeps/s390/multiarch/Makefile
7480 (sysdep_routines): Remove memrchr variants.
7481 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
7482 * sysdeps/s390/multiarch/ifunc-impl-list.c
7483 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
7484 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
7485 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
7486 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
7487 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
7488 * sysdeps/s390/multiarch/memrchr.c: Move to ...
7489 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
7490 * sysdeps/s390/ifunc-memrchr.h: New file.
7491
196655ba
SL
74922018-12-18 Stefan Liebler <stli@linux.ibm.com>
7493
7494 * sysdeps/s390/multiarch/Makefile
7495 (sysdep_routines): Remove memccpy variants.
7496 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
7497 * sysdeps/s390/multiarch/ifunc-impl-list.c
7498 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
7499 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
7500 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
7501 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
7502 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
7503 * sysdeps/s390/multiarch/memccpy.c: Move to ...
7504 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
7505 * sysdeps/s390/ifunc-memccpy.h: New file.
7506
4c7b3cec
SL
75072018-12-18 Stefan Liebler <stli@linux.ibm.com>
7508
7509 * sysdeps/s390/multiarch/Makefile
7510 (sysdep_routines): Remove rawmemchr variants.
7511 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
7512 * sysdeps/s390/multiarch/ifunc-impl-list.c
7513 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
7514 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
7515 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
7516 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
7517 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
7518 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
7519 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
7520 * sysdeps/s390/ifunc-rawmemchr.h: New file.
7521
581a051c
SL
75222018-12-18 Stefan Liebler <stli@linux.ibm.com>
7523
7524 * sysdeps/s390/multiarch/Makefile
7525 (sysdep_routines): Remove memchr variants.
7526 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
7527 * sysdeps/s390/multiarch/ifunc-impl-list.c
7528 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
7529 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
7530 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
7531 * sysdeps/s390/multiarch/memchr.c: Move to ...
7532 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
7533 * sysdeps/s390/ifunc-memchr.h: New file.
7534 * sysdeps/s390/s390-64/memchr.S: Move to ...
7535 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
7536 for 31/64bit and ifunc handling.
7537 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
7538 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
7539 * sysdeps/s390/s390-32/memchr.S: Likewise.
7540
5d2ec20a
SL
75412018-12-18 Stefan Liebler <stli@linux.ibm.com>
7542
7543 * sysdeps/s390/multiarch/Makefile
7544 (sysdep_routines): Remove strcspn variants.
7545 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
7546 * sysdeps/s390/multiarch/ifunc-impl-list.c
7547 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
7548 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
7549 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
7550 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
7551 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
7552 * sysdeps/s390/multiarch/strcspn.c: Move to ...
7553 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
7554 * sysdeps/s390/ifunc-strcspn.h: New file.
7555
572cca93
SL
75562018-12-18 Stefan Liebler <stli@linux.ibm.com>
7557
7558 * sysdeps/s390/multiarch/Makefile
7559 (sysdep_routines): Remove strpbrk variants.
7560 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
7561 * sysdeps/s390/multiarch/ifunc-impl-list.c
7562 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
7563 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
7564 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
7565 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
7566 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
7567 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
7568 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
7569 * sysdeps/s390/ifunc-strpbrk.h: New file.
7570
483fc569
SL
75712018-12-18 Stefan Liebler <stli@linux.ibm.com>
7572
7573 * sysdeps/s390/multiarch/Makefile
7574 (sysdep_routines): Remove strspn variants.
7575 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
7576 * sysdeps/s390/multiarch/ifunc-impl-list.c
7577 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
7578 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
7579 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
7580 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
7581 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
7582 * sysdeps/s390/multiarch/strspn.c: Move to ...
7583 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
7584 * sysdeps/s390/ifunc-strspn.h: New file.
7585
26ea8760
SL
75862018-12-18 Stefan Liebler <stli@linux.ibm.com>
7587
7588 * sysdeps/s390/multiarch/Makefile
7589 (sysdep_routines): Remove strrchr variants.
7590 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
7591 * sysdeps/s390/multiarch/ifunc-impl-list.c
7592 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
7593 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
7594 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
7595 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
7596 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
7597 * sysdeps/s390/multiarch/strrchr.c: Move to ...
7598 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
7599 * sysdeps/s390/ifunc-strrchr.h: New file.
7600
a1361e65
SL
76012018-12-18 Stefan Liebler <stli@linux.ibm.com>
7602
7603 * sysdeps/s390/multiarch/Makefile
7604 (sysdep_routines): Remove strchrnul variants.
7605 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
7606 * sysdeps/s390/multiarch/ifunc-impl-list.c
7607 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
7608 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
7609 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
7610 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
7611 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
7612 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
7613 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
7614 * sysdeps/s390/ifunc-strchrnul.h: New file.
7615
32f12653
SL
76162018-12-18 Stefan Liebler <stli@linux.ibm.com>
7617
7618 * sysdeps/s390/multiarch/Makefile
7619 (sysdep_routines): Remove strchr variants.
7620 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
7621 * sysdeps/s390/multiarch/ifunc-impl-list.c
7622 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
7623 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
7624 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
7625 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
7626 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
7627 * sysdeps/s390/multiarch/strchr.c: Move to ...
7628 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
7629 * sysdeps/s390/ifunc-strchr.h: New file.
7630
316b8842
SL
76312018-12-18 Stefan Liebler <stli@linux.ibm.com>
7632
7633 * sysdeps/s390/multiarch/Makefile
7634 (sysdep_routines): Remove strncmp variants.
7635 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
7636 * sysdeps/s390/multiarch/ifunc-impl-list.c
7637 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
7638 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
7639 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
7640 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
7641 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
7642 * sysdeps/s390/multiarch/strncmp.c: Move to ...
7643 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
7644 * sysdeps/s390/ifunc-strncmp.h: New file.
7645
cdab85fe
SL
76462018-12-18 Stefan Liebler <stli@linux.ibm.com>
7647
7648 * sysdeps/s390/multiarch/Makefile
7649 (sysdep_routines): Remove strcmp variants.
7650 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
7651 * sysdeps/s390/multiarch/ifunc-impl-list.c
7652 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
7653 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
7654 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
7655 * sysdeps/s390/multiarch/strcmp.c: Move to ...
7656 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
7657 * sysdeps/s390/ifunc-strcmp.h: New file.
7658 * sysdeps/s390/s390-64/strcmp.S: Move to ...
7659 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
7660 for 31/64bit and ifunc handling.
7661 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
7662 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
7663 * sysdeps/s390/s390-32/strcmp.S: Likewise.
7664
b9353351
SL
76652018-12-18 Stefan Liebler <stli@linux.ibm.com>
7666
7667 * sysdeps/s390/multiarch/Makefile
7668 (sysdep_routines): Remove strncat variants.
7669 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
7670 * sysdeps/s390/multiarch/ifunc-impl-list.c
7671 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
7672 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
7673 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
7674 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
7675 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
7676 * sysdeps/s390/multiarch/strncat.c: Move to ...
7677 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
7678 * sysdeps/s390/ifunc-strncat.h: New file.
7679
8e5a0afb
SL
76802018-12-18 Stefan Liebler <stli@linux.ibm.com>
7681
7682 * sysdeps/s390/multiarch/Makefile
7683 (sysdep_routines): Remove strcat variants.
7684 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
7685 * sysdeps/s390/multiarch/ifunc-impl-list.c
7686 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
7687 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
7688 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
7689 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
7690 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
7691 * sysdeps/s390/multiarch/strcat.c: Move to ...
7692 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
7693 * sysdeps/s390/ifunc-strcat.h: New file.
7694
25218822
SL
76952018-12-18 Stefan Liebler <stli@linux.ibm.com>
7696
7697 * sysdeps/s390/multiarch/Makefile
7698 (sysdep_routines): Remove stpncpy variants.
7699 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
7700 * sysdeps/s390/multiarch/ifunc-impl-list.c
7701 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
7702 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
7703 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
7704 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
7705 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
7706 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
7707 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
7708 * sysdeps/s390/ifunc-stpncpy.h: New file.
7709
d1bdbf38
SL
77102018-12-18 Stefan Liebler <stli@linux.ibm.com>
7711
7712 * sysdeps/s390/multiarch/Makefile
7713 (sysdep_routines): Remove strncpy variants.
7714 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
7715 * sysdeps/s390/multiarch/ifunc-impl-list.c
7716 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
7717 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
7718 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
7719 * sysdeps/s390/multiarch/strncpy.c: Move to ...
7720 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
7721 * sysdeps/s390/ifunc-strncpy.h: New file.
7722 * sysdeps/s390/s390-64/strncpy.S: Move to ...
7723 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
7724 and adjust ifunc handling.
7725 * sysdeps/s390/s390-32/strncpy.S: Move to ...
7726 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
7727 and adjust ifunc handling.
7728 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
7729 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
7730
97044931
SL
77312018-12-18 Stefan Liebler <stli@linux.ibm.com>
7732
7733 * sysdeps/s390/multiarch/Makefile
7734 (sysdep_routines): Remove stpcpy variants.
7735 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
7736 * sysdeps/s390/multiarch/ifunc-impl-list.c
7737 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
7738 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
7739 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
7740 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
7741 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
7742 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
7743 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
7744 * sysdeps/s390/ifunc-stpcpy.h: New file.
7745
914a4e05
SL
77462018-12-18 Stefan Liebler <stli@linux.ibm.com>
7747
7748 * sysdeps/s390/multiarch/Makefile
7749 (sysdep_routines): Remove strcpy variants.
7750 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
7751 * sysdeps/s390/multiarch/ifunc-impl-list.c
7752 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
7753 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
7754 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
7755 * sysdeps/s390/multiarch/strcpy.c: Move to ...
7756 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
7757 * sysdeps/s390/ifunc-strcpy.h: New file.
7758 * sysdeps/s390/s390-64/strcpy.S: Move to ...
7759 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
7760 for 31/64bit and ifunc handling.
7761 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
7762 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
7763 * sysdeps/s390/s390-32/strcpy.S: Likewise.
7764
de10e44d
SL
77652018-12-18 Stefan Liebler <stli@linux.ibm.com>
7766
7767 * sysdeps/s390/multiarch/Makefile
7768 (sysdep_routines): Remove strnlen variants.
7769 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
7770 * sysdeps/s390/multiarch/ifunc-impl-list.c
7771 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
7772 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
7773 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
7774 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
7775 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
7776 * sysdeps/s390/multiarch/strnlen.c: Move to ...
7777 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
7778 * sysdeps/s390/ifunc-strnlen.h: New file.
7779
ff3ca374
SL
77802018-12-18 Stefan Liebler <stli@linux.ibm.com>
7781
7782 * sysdeps/s390/multiarch/Makefile
7783 (sysdep_routines): Remove strlen variants.
7784 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
7785 * sysdeps/s390/multiarch/ifunc-impl-list.c
7786 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
7787 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
7788 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
7789 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
7790 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
7791 * sysdeps/s390/multiarch/strlen.c: Move to ...
7792 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
7793 * sysdeps/s390/ifunc-strlen.h: New file.
7794
d2c4c403
SL
77952018-12-18 Stefan Liebler <stli@linux.ibm.com>
7796
7797 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
7798 * sysdeps/s390/multiarch/ifunc-impl-list.c
7799 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
7800 * sysdeps/s390/ifunc-memmem.h: New file.
7801 * sysdeps/s390/memmem.c: Likewise.
7802 * sysdeps/s390/memmem-c.c: Likewise.
7803 * sysdeps/s390/memmem-vx.c: Likewise.
7804
8c25dddd
SL
78052018-12-18 Stefan Liebler <stli@linux.ibm.com>
7806
7807 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
7808 * sysdeps/s390/multiarch/ifunc-impl-list.c
7809 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
7810 * sysdeps/s390/ifunc-strstr.h: New file.
7811 * sysdeps/s390/strstr.c: Likewise.
7812 * sysdeps/s390/strstr-c.c: Likewise.
7813 * sysdeps/s390/strstr-vx.c: Likewise.
7814
cdd927d9
SL
78152018-12-18 Stefan Liebler <stli@linux.ibm.com>
7816
7817 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
7818 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
7819 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
7820 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
7821 New defines.
7822 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
7823 * sysdeps/s390/memmove-c.c: New file.
7824 * sysdeps/s390/memmove.c: Likewise.
7825 * sysdeps/s390/multiarch/ifunc-impl-list.c
7826 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
7827
2ee1bc57
SL
78282018-12-18 Stefan Liebler <stli@linux.ibm.com>
7829
7830 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
7831 * sysdeps/s390/configure.ac: Add check for z13 support.
7832 * sysdeps/s390/configure: Regenerated.
7833
d097d976
SL
78342018-12-18 Stefan Liebler <stli@linux.ibm.com>
7835
7836 * sysdeps/s390/memcopy.h: New file.
7837
e099aab0
SL
78382018-12-18 Stefan Liebler <stli@linux.ibm.com>
7839
7840 * sysdeps/s390/s390-32/bcopy.S: Remove.
7841 * sysdeps/s390/s390-64/bcopy.S: Likewise.
7842
18eb862d
SL
78432018-12-18 Stefan Liebler <stli@linux.ibm.com>
7844
7845 * sysdeps/s390/ifunc-memcpy.h: New File.
7846 * sysdeps/s390/memcpy.S: Move to ...
7847 * sysdeps/s390/memcpy-z900.S ... here.
7848 Move implementations from memcpy-s390x.s to here.
7849 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
7850 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
7851 Remove memcpy/mempcpy variants.
7852 * sysdeps/s390/Makefile (sysdep_routines):
7853 Add memcpy/mempcpy variants.
7854 * sysdeps/s390/multiarch/ifunc-impl-list.c
7855 (__libc_ifunc_impl_list): Adjust ifunc variants for
7856 memcpy and mempcpy.
7857 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
7858 to ...
7859 * sysdeps/s390/memcpy.c: ... here.
7860 Adjust ifunc variants for memcpy.
7861 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
7862 * sysdeps/s390/mempcpy.c: ... here.
7863 Adjust ifunc variants for mempcpy.
7864 * sysdeps/s390/mempcpy.S: Delete file.
7865
df3eb8de
SL
78662018-12-18 Stefan Liebler <stli@linux.ibm.com>
7867
7868 * sysdeps/s390/s390-64/memcpy.S: Move to ...
7869 * sysdeps/s390/memcpy.S: ... here.
7870 Adjust to be usable for 31/64bit.
7871 * sysdeps/s390/s390-32/memcpy.S: Delete File.
7872 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
7873 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
7874 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
7875 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
7876 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
7877 Adjust to be usable for 31/64bit.
7878 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
7879 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
7880 * sysdeps/s390/multiarch/memcpy.c: ... here.
7881 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
7882
b7e024a8
SL
78832018-12-18 Stefan Liebler <stli@linux.ibm.com>
7884
7885 * sysdeps/s390/ifunc-memcmp.h: New File.
7886 * sysdeps/s390/memcmp.S: Move to ...
7887 * sysdeps/s390/memcmp-z900.S ... here.
7888 Move implementations from memcmp-s390x.s to here.
7889 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
7890 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
7891 Remove memcmp variants.
7892 * sysdeps/s390/Makefile (sysdep_routines):
7893 Add memcmp variants.
7894 * sysdeps/s390/multiarch/ifunc-impl-list.c
7895 (__libc_ifunc_impl_list): Adjust ifunc variants for
7896 memcmp.
7897 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
7898 to ...
7899 * sysdeps/s390/memcmp.c: ... here.
7900 Adjust ifunc variants for memcmp.
7901
6c6b8c74
SL
79022018-12-18 Stefan Liebler <stli@linux.ibm.com>
7903
7904 * sysdeps/s390/s390-64/memcmp.S: Move to ...
7905 * sysdeps/s390/memcmp.S: ... here.
7906 Adjust to be usable for 31/64bit.
7907 * sysdeps/s390/s390-32/memcmp.S: Delete File.
7908 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
7909 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
7910 Remove memcmp.
7911 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
7912 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
7913 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
7914 Adjust to be usable for 31/64bit.
7915 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
7916 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
7917 * sysdeps/s390/multiarch/memcmp.c: ... here.
7918 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
7919
07be3928
SL
79202018-12-18 Stefan Liebler <stli@linux.ibm.com>
7921
7922 * sysdeps/s390/s390-32/bzero.S: Delete file.
7923 * sysdeps/s390/s390-64/bzero.S: Likewise.
7924 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
7925 * sysdeps/s390/bzero.c: New file.
7926 * sysdeps/s390/memset-z900.S: Add bzero entry points.
7927 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
7928 * sysdeps/s390/multiarch/ifunc-impl-list.c
7929 (__libc_ifunc_impl_list): Add bzero ifunc variants.
7930
712a254a
SL
79312018-12-18 Stefan Liebler <stli@linux.ibm.com>
7932
7933 * sysdeps/s390/ifunc-memset.h: New File.
7934 * sysdeps/s390/memset.S: Move to ...
7935 * sysdeps/s390/memset-z900.S ... here.
7936 Move implementations from memset-s390x.s to here.
7937 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
7938 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
7939 Remove memset variants.
7940 * sysdeps/s390/Makefile (sysdep_routines):
7941 Add memset variants.
7942 * sysdeps/s390/multiarch/ifunc-impl-list.c
7943 (__libc_ifunc_impl_list): Adjust ifunc variants for
7944 memset.
7945 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
7946 to ...
7947 * sysdeps/s390/memset.c: ... here.
7948 Adjust ifunc variants for memset.
7949
5f1743d1
SL
79502018-12-18 Stefan Liebler <stli@linux.ibm.com>
7951
7952 * sysdeps/s390/s390-64/memset.S: Move to ...
7953 * sysdeps/s390/memset.S: ... here.
7954 Adjust to be usable for 31/64bit.
7955 * sysdeps/s390/s390-32/memset.S: Delete File.
7956 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
7957 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
7958 Remove memset.
7959 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
7960 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
7961 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
7962 Adjust to be usable for 31/64bit.
7963 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
7964 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
7965 * sysdeps/s390/multiarch/memset.c: ... here.
7966 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
7967
e8023f26
SL
79682018-12-18 Stefan Liebler <stli@linux.ibm.com>
7969
7970 * sysdeps/s390/multiarch/ifunc-resolve.h
7971 (s390_libc_ifunc_init, s390_libc_ifunc,
7972 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
7973
b8686c0d
SL
79742018-12-18 Stefan Liebler <stli@linux.ibm.com>
7975
7976 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
7977 * sysdeps/s390/configure.ac: Add check for z10 support.
7978 * sysdeps/s390/configure: Regenerated.
7979
cd815050
L
79802018-12-18 H.J. Lu <hongjiu.lu@intel.com>
7981
7982 * sysdeps/i386/atomic-machine.h: Merged with ...
7983 * sysdeps/x86_64/atomic-machine.h: To ...
7984 * sysdeps/x86/atomic-machine.h: This. New file.
7985
053c52b1
FW
79862018-12-18 Florian Weimer <fweimer@redhat.com>
7987
7988 Rewrite locale/gen-translit.pl in Python.
7989 * locale/Makefile (generated): Add C-translit.h.
7990 (before-compile): Add $(objpfx)C-translit.h.
7991 (C-translit.h): Move to $(objpfx). Create target directory.
7992 Build using Python script.
7993 * locale/gen-translit.py: New file.
7994 * locale/gen-translit.pl: Remove file.
7995 * locale/C-translit.h.in: Change comment character to '#' for
7996 easier parsing without a C preprocessor.
7997 * locale/C-translit.h: Remove generated file.
7998 * manual/install.texi (Tools for Compilation): Do not mention
7999 C-translit.h.
8000 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
8001 Remove locale/C-translit.h.
8002 * scripts/update-copyrights: Likewise.
8003 * INSTALL: Regenerate.
8004
40e6c1ec
FW
80052018-12-18 Florian Weimer <fweimer@redhat.com>
8006
8007 [BZ #23995]
8008 * localedata/locales/bi_VU: Remove executable bit from file.
8009
6b5c8607 80102018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
6e15f3e2
AA
8011
8012 * include/time.h
8013 (__localtime64): Add.
8014 * manual/maint.texi: Document Y2038 symbol handling.
8015 * time/localtime.c
8016 (__localtime64): Add.
bfb79db4 8017 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6e15f3e2 8018
df648905
JM
80192018-12-17 Joseph Myers <joseph@codesourcery.com>
8020
551e81d9
JM
8021 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
8022 Do not clobber r12.
8023
df648905
JM
8024 * scripts/glibcextract.py (compare_macro_consts): Take parameters
8025 to allow extra macros from first or second sources.
8026 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
8027 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8028 (tests-special): Add $(objpfx)tst-mman-consts.out.
8029 ($(objpfx)tst-mman-consts.out): New makefile target.
8030
6bbfc5c0
MH
80312018-12-17 Mao Han <han_mao@c-sky.com>
8032
8033 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
8034 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
8035 without stat64 system call support.
8036 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
8037 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
8038 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
8039 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
8040 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
8041 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
8042 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
8043 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
8044 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
8045 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
8046 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
8047
ef202e53
PE
80482018-12-15 Paul Eggert <eggert@cs.ucla.edu>
8049
8050 regex: fix storage-exhaustion error
8051 [BZ #18040]
8052 * posix/regexec.c (get_subexp):
8053 Do not continue if storage is exhausted.
8054
077caf61
AG
80552018-12-15 Assaf Gordon <assafgordon@gmail.com>
8056
8057 regex: fix heap-use-after-free error
8058 [BZ #18040]
8059 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
8060 https://debbugs.gnu.org/32592
8061 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
8062 call extend_buffers which reallocates the re_string_t internal buffer.
8063 Local variable 'buf' was not updated in such case, resulting in
8064 use-after-free.
8065 * posix/regexec.c (get_subexp): Update 'buf' after call to
8066 get_subexp_sub.
8067
0c1719e6
FW
80682018-12-15 Florian Weimer <fweimer@redhat.com>
8069
8070 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
8071 (minimum_stride_size): Use it.
8072 (support_blob_repeat_allocate): Likewise.
8073
033a2c0a
JM
80742018-12-14 Joseph Myers <joseph@codesourcery.com>
8075
8076 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
8077 definition.
8078 (acosh): Likewise.
8079 (atanh): Likewise.
8080
e361dc04
FW
80812018-12-14 Florian Weimer <fweimer@redhat.com>
8082
8083 * manual/process.texi (Process Creation Concepts): Remove
8084 documentation of process (ID) lifetime. List more process
8085 creation functions. Reference Process Identification section.
8086 (Process Identification): Add information about process ID
8087 lifetime. Describe Linux thread/task IDs.
8088 * manual/signal.texi (Signaling Another Process): Mention that the
8089 signal is always sent to the process.
8090
bd51ff5e
GG
80912018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8092
8093 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
8094 and tst-ldbl-efgcvt.
8095 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
8096 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
8097 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
8098 (fcvt_tests, output_error, output_r_error, do_test): Use the
8099 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
8100 select the type of floating-point variables and arguments; to
8101 produce extra tests for double and conversion specifiers for
8102 printf; and to set the names of called functions.
8103 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
8104 in tst-efgcvt-template.c.
8105 * misc/tst-ldbl-efgcvt.c: Likewise.
8106
268bb71e
SL
81072018-12-14 Stefan Liebler <stli@linux.ibm.com>
8108
8109 * nss/Makefile (tst-nss-test3.out): New rule.
8110
db6df070
JM
81112018-12-13 Joseph Myers <joseph@codesourcery.com>
8112
8113 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
8114 clobber sp.
8115
ade8b817
CD
81162018-12-13 fanjinke <fanjinke@hygon.cn>
8117
8118 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
8119 "HygonGenuine".
8120
3d265911
AS
81212018-12-13 Andreas Schwab <schwab@suse.de>
8122
f21e8f8c 8123 [BZ #23861]
3d265911 8124 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
f21e8f8c
AS
8125 (__pthread_rwlock_rdlock_full): Update expected value for
8126 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
8127 * nptl/tst-rwlock-pwn.c: New file.
8128 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3d265911 8129
bf8ae8c0
JM
81302018-12-12 Joseph Myers <joseph@codesourcery.com>
8131
8132 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
8133 definition.
8134
de099757
LS
81352018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8136
8137 * benchtests/scripts/compare_bench.py (do_compare): write to
8138 stderr in casestat is not present.
8139 * benchtests/scripts/compare_bench.py (plot_graphs): write to
8140 stderr in case timings field is not present. Also string showing
8141 the output filename goes into the stderr.
8142
1990185f
LS
81432018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8144
8145 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
8146 and ZeroDivisorError exceptions.
8147 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
8148 argument to loop through user provided statistics.
8149 * benchtests/scripts/compare_bench.py (main): Include the --stats
8150 argument.
8151
587426d4
LS
81522018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8153
8154 * benchtests/scripts/compare_bench.py (compare_runs): Continue
8155 instead of return.
8156
46703efa
FW
81572018-12-12 Florian Weimer <fweimer@redhat.com>
8158
8159 * sysdeps/posix/timespec_get.c: Add missing “any later version”
8160 clause to copyright header.
8161
1d880d4a
TMQMF
81622018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8163
8164 [BZ #23614]
8165 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
8166 registers saved in the stack frame.
8167 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
8168 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
8169
1a502f52
GG
81702018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8171
8172 * include/bits/monetary-ldbl.h: New file.
8173 * include/bits/printf-ldbl.h: Likewise.
8174 * include/bits/stdio-ldbl.h: Likewise.
8175 * include/bits/stdlib-ldbl.h: Likewise.
8176 * include/bits/syslog-ldbl.h: Likewise.
8177 * include/bits/wchar-ldbl.h: Likewise.
8178
df682d1d
GG
81792018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8180
8181 * libio/libio.h: Remove redirection for _IO_vfprintf.
8182
c2c082c1
AS
81832018-12-11 Andreas Schwab <schwab@suse.de>
8184
8185 * Makerules: Remove all references to abilist-pattern.
8186 (update-all-abi): Simplify find expression.
8187
505b5b29
SN
81882018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
8189
8190 [BZ #23961]
8191 * math/auto-libm-test-in: Add new test case.
8192 * math/auto-libm-test-out-pow: Regenerated.
8193 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
8194
304c61a2
DD
81952018-12-10 DJ Delorie <dj@redhat.com>
8196
8197 [BZ #23948]
8198 * support/test-container.c: Move postclean step to before we
8199 change namespaces.
8200
a8110b72
JM
82012018-12-10 Joseph Myers <joseph@codesourcery.com>
8202
cb7be159
JM
8203 * scripts/gen-as-const.py (main): Handle --python option.
8204 * scripts/gen-py-const.awk: Remove.
8205 * Makerules (py-const-script): Use gen-as-const.py.
8206 ($(py-const)): Likewise.
8207 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
8208 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
8209 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
8210 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
8211 ~PTHREAD_MUTEX_NO_ELISION_NP.
8212 * manual/README.pretty-printers: Update reference to
8213 gen-py-const.awk.
8214
a8110b72
JM
8215 * scripts/glibcextract.py: New file.
8216 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
8217 or tempfile. Import glibcexctract.
8218 (compute_c_consts): Remove. Moved to glibcextract.py.
8219 (gen_test): Update reference to compute_c_consts.
8220 (main): Likewise.
8221 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
8222 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
8223 * sysdeps/unix/sysv/linux/Makefile
8224 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
8225 Redirect stderr as well as stdout.
8226
f9ba9eb8
RÁE
82272018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
8228
8229 [BZ #19767]
8230 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
b39d961c
TS
8231 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
8232 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
f9ba9eb8 8233 ALWAYS_USE_VSYSCALL.
b39d961c 8234 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
f9ba9eb8
RÁE
8235 ALWAYS_USE_VSYSCALL.
8236 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
8237 ALWAYS_USE_VSYSCALL.
8238
8d20a2f4
FW
82392018-12-10 Florian Weimer <fweimer@redhat.com>
8240
8241 [BZ #23972]
8242 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
8243 offset instead of count for clarity. Fix typo in comment.
8244 (__old_getdents64): Keep track of previous offset. Use it to call
8245 handle_overflow.
8246 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
8247 that d_off is never zero.
8248
80472e2f
AS
82492018-12-10 Andreas Schwab <schwab@suse.de>
8250
8251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
8252 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
8253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
8254 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
8255 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
8256
0afcb29d
JM
82572018-12-10 Joseph Myers <joseph@codesourcery.com>
8258
8259 * timezone/private.h: Update from tzcode 2018g.
8260 * timezone/tzfile.h: Likewise.
8261 * timezone/tzselect.ksh: Likewise.
8262 * timezone/zdump.c: Likewise.
8263 * timezone/zic.c: Likewise.
8264
b93f4052
PP
82652018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8266
8267 [BZ #23490]
8268 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
8269 (do_test): Adjust buffer size and fix format.
8270
7c9a7c68
DD
82712018-12-07 DJ Delorie <dj@redhat.com>
8272
8273 [BZ #23907]
8274 * malloc/tst-tcfree3.c: New.
8275 * malloc/Makefile: Add it.
8276
37caec3a
L
82772018-12-07 H.J. Lu <hongjiu.lu@intel.com>
8278
8279 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
8280
10446f5d
GG
82812018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8282
8283 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
8284 used as a mask for the mode argument of __vfscanf_internal and
8285 __vfwscanf_internal.
8286 * stdio-common/vfscanf-internal.c
8287 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
8288 (__strtof128_internal): Define to __wcstof128_internal.
8289 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
8290 __strtof128_internal or __wcstof128_internal when the format of
8291 long double is the same as _Float128.
8292
45f33aac
ST
82932018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
8294
8295 * include/unistd.h (__confstr): Add prototype and hidden prototype.
8296 * posix/confstr.c (confstr): Rename to __confstr.
8297 (__confstr): Add hidden def.
8298 (confstr): Add weak alias for __confstr.
8299 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
8300 confstr.
8301
a092ca94
L
83022018-12-07 H.J. Lu <hongjiu.lu@intel.com>
8303
8304 * NEWS: Mention getcpu.
8305 * include/sched.h (__getcpu): New libc_hidden_proto.
8306 * manual/resource.texi: Document getcpu.
8307 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
8308 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
8309 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
8310 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8311 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8312 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8313 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8314 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8315 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8316 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8317 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8318 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8319 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
8320 Likewise.
8321 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8322 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8323 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8325 Likewise.
8326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8327 Likewise.
8328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
8329 Likewise.
8330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
8331 Likewise.
8332 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
8333 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8334 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8335 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8336 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8337 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8338 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8339 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8340 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
8341 * sysdeps/unix/sysv/linux/getcpu.c: New file.
8342 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
8343 Also check getcpu.
8344
7c857b6f
ST
83452018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
8346
8347 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
8348 functions.
8349 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
8350
3a3fb755
FW
83512018-12-07 Florian Weimer <fweimer@redhat.com>
8352
8353 [BZ #17405]
8354 * posix/Makefile (routines): Add spawn_faction_addfchdir.
8355 * posix/Versions (GLIBC_2.29): Export
8356 posix_spawn_file_actions_addfchdir_np.
8357 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
8358 * posix/spawn_faction_destroy.c
8359 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
8360 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
8361 and the field action.fchdir_action.
8362 * posix/tst-spawn-chdir.c (add_chdir): New function.
8363 (do_test): Add do_fchdir loop. Call add_chdir.
8364 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
8365 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
8366 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
8367 posix_spawn_file_actions_addfchdir_np.
8368 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
8369 Likewise.
8370 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
8371 Likewise.
8372 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
8373 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
8374 Likewise.
8375 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
8376 Likewise.
8377 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
8378 Likewise.
8379 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
8380 Likewise.
8381 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
8382 Likewise.
8383 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
8384 Likewise.
8385 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8386 (GLIBC_2.29): Likewise.
8387 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8388 (GLIBC_2.29): Likewise.
8389 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8390 (GLIBC_2.29): Likewise.
8391 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8392 (GLIBC_2.29): Likewise.
8393 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
8394 Likewise.
8395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8396 (GLIBC_2.29): Likewise.
8397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8398 (GLIBC_2.29): Likewise.
8399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8400 (GLIBC_2.29): Likewise.
8401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8402 (GLIBC_2.29): Likewise.
8403 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
8404 Likewise.
8405 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
8406 Likewise.
8407 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
8408 Likewise.
8409 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
8410 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
8411 Likewise.
8412 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
8413 Likewise.
8414 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
8415 Likewise.
8416 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
8417 Likewise.
8418
c37cd439
JM
84192018-12-06 Joseph Myers <joseph@codesourcery.com>
8420
8421 * manual/texinfo.tex: Update to version 2018-09-21.20 with
8422 trailing whitespace removed.
8423 * scripts/config.guess: Update to version 2018-11-28.
8424 * scripts/config.sub: Update to version 2018-11-28.
8425 * scripts/install-sh: Update to version 2018-03-11.20.
8426 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
8427 * scripts/move-if-change: Update to version 2018-03-07 03:47.
8428
899478c2
FW
84292018-12-07 Florian Weimer <fweimer@redhat.com>
8430
8431 [BZ #23927]
8432 CVE-2018-19591
8433 * inet/tst-if_index-long.c: New file.
8434 * inet/Makefile (tests): Add tst-if_index-long.
8435
f255336a
FW
84362018-12-07 Florian Weimer <fweimer@redhat.com>
8437
8438 * support/check.h (support_record_failure_is_failed): Declare.
8439 * support/descriptors.h: New file.
8440 * support/support_descriptors.c: Likewise.
8441 * support/tst-support_descriptors.c: Likewise.
8442 * support/support_record_failure.c
8443 (support_record_failure_is_failed): New function.
8444 * support/Makefile (libsupport-routines): Add support_descriptors.
8445 (tests): Add tst-support_descriptors.
8446
35caceb1
ZW
84472018-12-05 Zack Weinberg <zackw@panix.com>
8448 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8449
8450 * stdio-common/vfprintf-internal.c
8451 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
8452 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
8453 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
8454 and __no_long_double.
8455 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
8456 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
8457 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
8458 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
8459 and __nldbl_*syslog* functions.
8460 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
8461 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
8462 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
8463 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
8464 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
8465 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
8466 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
8467 (__nldbl_vwprintf, __nldbl_wprintf):
8468 Directly call the appropriate __v*printf_internal routine, passing
8469 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
8470 variable names.
8471 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
8472 (__nldbl___printf_chk, __nldbl___snprintf_chk)
8473 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
8474 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
8475 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
8476 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
8477 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
8478 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
8479 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
8480 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
8481 Likewise, and also pass PRINTF_FORTIFY when appropriate.
8482 (__nldbl_syslog, __nldbl_vsyslog):
8483 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
8484 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
8485 appropriate.
8486 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
8487 appropriate.
8488
4e2f43f8
ZW
84892018-12-05 Zack Weinberg <zackw@panix.com>
8490 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8491
8492 [BZ #11319]
8493 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
8494 Moved here from debug/vsprintf_chk.c.
8495 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
8496 and completion logic for the strfile to match exactly what
8497 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
8498 _IO_str_init_static_internal instead of maxlen-1.
8499 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
8500 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
8501 __vsprintf_internal.
8502
8503 * debug/vsprintf_chk.c (__vsprintf_chk)
8504 * debug/sprintf_chk.c (__sprintf_chk):
8505 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
8506 'flags' argument is positive, and slen as maxlen. No need to lock
8507 the FILE and/or construct a temporary FILE. Minimize and normalize
8508 header inclusions and variable names. Do not libc_hidden_def anything.
8509
8510 * debug/asprintf_chk.c (__asprintf_chk)
8511 * debug/dprintf_chk.c (__dprintf_chk)
8512 * debug/fprintf_chk.c (__fprintf_chk)
8513 * debug/fwprintf_chk.c (__fwprintf_chk)
8514 * debug/printf_chk.c (__printf_chk)
8515 * debug/snprintf_chk.c (__snprintf_chk)
8516 * debug/swprintf_chk.c (__swprintf_chk)
8517 * debug/vasprintf_chk.c (__vasprintf_chk)
8518 * debug/vdprintf_chk.c (__vdprintf_chk)
8519 * debug/vfprintf_chk.c (__vfprintf_chk)
8520 * debug/vfwprintf_chk.c (__vfwprintf_chk)
8521 * debug/vprintf_chk.c (__vprintf_chk)
8522 * debug/vsnprintf_chk.c (__vsnprintf_chk)
8523 * debug/vswprintf_chk.c (__vswprintf_chk)
8524 * debug/vwprintf_chk.c (__vwprintf_chk)
8525 * debug/wprintf_chk.c (__wprintf_chk):
8526 Directly call the corresponding vxxprintf_internal function, passing
8527 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
8528 the FILE and/or construct a temporary FILE. Minimize and normalize
8529 header inclusions and variable names. Do not libc_hidden_def anything.
8530
8531 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
8532 __obstack_vprintf_internal.
8533 (__obstack_vprintf_chk): Convert into a wrapper that calls
8534 __obstack_vprintf_internal (these two functions already had the
8535 same code) and move to new file...
8536 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
8537 file.
8538 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
8539 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
8540 * debug/Makefile (routines): Add vobprintf_chk.
8541
8542 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
8543 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
8544 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
8545 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
8546 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
8547 (__nldbl___obstack_vfprintf_chk):
8548 Directly call the corresponding vxxprintf_internal function,
8549 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
8550 duplicate comparison of slen with 0 or maxlen from the corresponding
8551 non-__nldbl function.
8552
8553 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
8554 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
8555 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
8556 Remove libc_hidden_proto.
8557
8558 * stdio-common/vfprintf-internal.c
8559 (__vfprintf_internal, __vfwprintf_internal):
8560 Do not check _IO_FLAGS2_FORTIFY.
8561 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
8562 * libio/libioP.h: Update prototype of __vsprintf_internal and add
8563 a comment explaining why it has the maxlen argument.
8564 (_IO_acquire_lock_clear_flags2_fct): Remove.
8565 (_IO_acquire_lock_clear_flags2): Remove.
8566 (_IO_release_lock): Remove conditional statement which will
8567 now never execute.
8568 (_IO_acquire_lock): Remove variable which is now unused.
8569 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
8570 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
8571
8572 * stdio-common/Makefile (tests): Add tst-bz11319 and
8573 tst-bz11319-fortify2.
8574 (CFLAGS-tst-bz11319-fortify2.c): New macro.
8575 * stdio-common/tst-bz11319-fortify2.c: New file.
8576 * stdio-common/tst-bz11319.c: Likewise.
8577
124fc732
ZW
85782018-12-05 Zack Weinberg <zackw@panix.com>
8579 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8580
8581 * misc/syslog.c: Include libioP.h, not iolibio.h.
8582 (__vsyslog_internal): New function with the former body of
8583 __vsyslog_chk; takes mode_flags argument same as
8584 __v*printf_internal. Call __vfprintf_internal directly.
8585
8586 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
8587 Remove libc_hidden_def.
8588 (__syslog, __syslog_chk): Use __vsyslog_internal.
8589 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
8590
8591 * include/sys/syslog.h: Add multiple inclusion guard.
8592 Add prototype for __vsyslog_internal.
8593 Remove declaration and libc_hidden_proto for __vsyslog_chk.
8594
8595 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
8596 Use __vsyslog_internal.
8597
698fb75b
ZW
85982018-12-05 Zack Weinberg <zackw@panix.com>
8599 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8600
8601 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
8602 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
8603 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
8604 New functions.
8605 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
8606 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
8607
8608 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
8609 Include wctype.h here if COMPILE_WPRINTF is defined.
8610 Define __vfprintf_internal or __vfwprintf_internal, depending
8611 on COMPILE_WPRINTF.
8612 Temporarily, on entry to this function, update mode_flags
8613 according to the environmental settings corresponding to
8614 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
8615 Throughout, check mode_flags instead of __ldbl_is_dbl and
8616 _IO_FLAGS2_FORTIFY on the destination FILE.
8617 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
8618 Include vfprintf-internal.c. Don't include wctype.h.
8619 * stdio-common/vfprintf.c: New file. Just define __vfprintf
8620 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
8621 and vfprintf.
8622 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
8623 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
8624 and vfwprintf.
8625 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
8626
8627 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
8628 and add mode_flags argument; use __vfprintf_internal.
8629 (__vdprintf): New function. Alias vdprintf to this.
8630 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
8631 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
8632 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
8633 (__obstack_printf): Use __obstack_printf_internal.
8634 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
8635 public aliases __vsnprintf and vsnprintf.
8636 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
8637 called internally.
8638 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
8639 public aliases _IO_vsprintf and vsprintf.
8640 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
8641 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
8642 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
8643 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
8644 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
8645
8646 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
8647 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
8648 * stdio-common/fprintf.c, stdio-common/fxprintf.c
8649 * stdio-common/printf.c: Use __vfprintf_internal.
8650
8651 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
8652 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
8653 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
8654
8655 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
8656 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
8657 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
8658 __vfwprintf_internal.
8659
8660 * libio/libio.h: Remove libc_hidden_proto and declaration for
8661 _IO_vfprintf.
8662 Remove declaration of _IO_vfwprintf.
8663 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
8664 _IO_vsprintf.
8665 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
8666 _IO_obstack_printf.
8667 * include/stdio.h: Add prototype for __vasprintf.
8668 (__vsnprintf): Remove declaration, because there are no more
8669 internal calls.
8670 * include/wchar.h (__vfwprintf, __vswprintf): Remove
8671 declaration, because there are no more internal calls.
8672
8673 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
8674 __vsnprintf_internal, instead of _IO_vsnprintf.
8675 * argp/argp-help.c (__argp_error, __argp_failure): Use
8676 __vasprintf_internal, instead of _IO_vasprintf.
8677 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
8678 redefine, because there are no more internal calls.
8679
d91798b3
ZW
86802018-12-05 Zack Weinberg <zackw@panix.com>
8681 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8682
8683 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
8684 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
8685 Include libio/strfile.h instead of libioP.h.
8686 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
8687 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
8688 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
8689 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
8690 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
8691 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
8692 necessary. Do not set __no_long_double. Normalize variable names.
8693 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
8694 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
8695 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
8696 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
8697 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
8698 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
8699 Call __vfscanf_internal / __vfwscanf_internal directly, passing
8700 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
8701 Do not set __no_long_double. Normalize variable names.
8702
b87eb3f8
ZW
87032018-12-05 Zack Weinberg <zackw@panix.com>
8704 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8705
8706 * stdio-common/isoc99_scanf.c
8707 * stdio-common/isoc99_fscanf.c
8708 * stdio-common/isoc99_sscanf.c
8709 * stdio-common/isoc99_vscanf.c
8710 * stdio-common/isoc99_vfscanf.c
8711 * stdio-common/isoc99_vsscanf.c
8712 * wcsmbs/isoc99_wscanf.c
8713 * wcsmbs/isoc99_fwscanf.c
8714 * wcsmbs/isoc99_swscanf.c
8715 * wcsmbs/isoc99_vwscanf.c
8716 * wcsmbs/isoc99_vfwscanf.c
8717 * wcsmbs/isoc99_vswscanf.c:
8718 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
8719 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
8720 No need to lock and unlock the FILE passed to that function.
8721
8722 * stdio-common/vfscanf-internal.c
8723 (__vfscanf_internal, __vfwscanf_internal):
8724 Don't look at _IO_FLAGS2_SCANF_STD.
8725 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
8726 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
8727 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
8728
349718d4
ZW
87292018-12-05 Zack Weinberg <zackw@panix.com>
8730 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8731
8732 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
8733 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
8734 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
8735 * libio/strfile.h: Add multiple inclusion guard.
8736 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
8737
8738 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
8739 consistency with the other version of this file.
8740 (ldbl_compat_symbol): New macro.
8741 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
8742 New macro.
8743
8744 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
8745 Define __vfscanf_internal or __vfwscanf_internal, depending on
8746 COMPILE_WSCANF; don't define any other public symbols.
8747 Remove errval and code to set errp.
8748 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
8749 as the mode_flags argument.
8750 (encode_error, conv_error, input_error): Don't set errval.
8751 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
8752 Include vfscanf-internal.c.
8753 * stdio-common/vfscanf.c: New file defining the public entry
8754 point vfscanf, which calls __vfscanf_internal.
8755 * stdio-common/vfwscanf.c: New file defining the public entry
8756 point vfwscanf, which calls __vfwscanf_internal.
8757
8758 * stdio-common/iovfscanf.c: New file.
8759 * stdio-common/iovfwscanf.c: Likewise.
8760
8761 * stdio-common/Makefile (routines): Add vfscanf-internal,
8762 vfwscanf-internal, iovfscanf, iovfwscanf.
8763 * stdio-common/Versions: Mention GLIBC_2.29, so that
8764 it can be used in SHLIB_COMPAT expressions.
8765 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
8766 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
8767 Call __vfscanf_internal, instead of _IO_vfscanf.
8768 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
8769 _IO_vfscanf.
8770 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
8771 _IO_vfwscanf.
8772
8773 * libio/iovsscanf.c: Clean up includes, when possible. Use
8774 _IO_strfile_read or _IO_strfile_readw, when needed. Call
8775 __vfscanf_internal or __vfwscanf_internal directly.
8776 * libio/iovswscanf.c: Likewise.
8777 * libio/swscanf.c: Likewise.
8778 * libio/vscanf.c: Likewise.
8779 * libio/vwscanf.c: Likewise.
8780 * libio/wscanf.c: Likewise.
8781 * stdio-common/isoc99_fscanf.c: Likewise.
8782 * stdio-common/isoc99_scanf.c: Likewise.
8783 * stdio-common/isoc99_sscanf.c: Likewise.
8784 * stdio-common/isoc99_vfscanf.c: Likewise.
8785 * stdio-common/isoc99_vscanf.c: Likewise.
8786 * stdio-common/isoc99_vsscanf.c: Likewise.
8787 * stdio-common/scanf.c: Likewise.
8788 * stdio-common/sscanf.c: Likewise.
8789 * wcsmbs/isoc99_fwscanf.c: Likewise.
8790 * wcsmbs/isoc99_swscanf.c: Likewise.
8791 * wcsmbs/isoc99_vfwscanf.c: Likewise.
8792 * wcsmbs/isoc99_vswscanf.c: Likewise.
8793 * wcsmbs/isoc99_vwscanf.c: Likewise.
8794 * wcsmbs/isoc99_wscanf.c: Likewise.
8795
6b5c8607 87962018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
72b8692d
AA
8797
8798 * include/time.h
8799 (__tz_compute): Replace time_t with __time64_t.
8800 (__tz_convert): Replace time_t* with __time64_t.
8801 (__offtime): Replace time_t* with __time64_t.
8802 * time/gmtime.c
8803 (__gmtime_r): Adjust call to __tz_convert.
8804 (gmtime): Likewise.
8805 * time/localtime.c
8806 (__localtime_r): Likewise.
8807 (localtime): Likewise.
8808 * time/offtime.c: Replace time_t with __time64_t.
8809 * time/tzset.c: Likewise.
8810
bd598da9
JM
88112018-12-04 Joseph Myers <joseph@codesourcery.com>
8812
8813 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
8814 dynamic linker unless [$(run-built-tests) = yes].
8815
b2e93de0
DD
88162018-12-03 DJ Delorie <dj@delorie.com>
8817
8818 * support/test-container.c (check_for_unshare_hints): New.
8819 (main): Call it if unshare fails. Add support for "su" scriptlet
8820 command.
8821
477a02f6
JM
88222018-12-03 Joseph Myers <joseph@codesourcery.com>
8823
8824 * scripts/gen-as-const.py (compute_c_consts): Take an argument
8825 'START' to indicate that start text should be output.
8826 (gen_test): Likewise.
8827 (main): Generate 'START' for first symbol or '--' line, or at end
8828 of input if not previously generated.
8829
6af956e5
RÁE
88302018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
8831
8832 [BZ #19767]
8833 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
8834 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
8835 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
8836 ALWAYS_USE_VSYSCALL.
8837
f5ec0ea9
AZ
88382018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8839
8840 [BZ #23913]
8841 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
8842 new_argv by one.
8843
8cebd4ff
CD
88442018-12-03 Carlos O'Donell <carlos@redhat.com>
8845
8846 [BZ #23923]
8847 * locale/programs/localedef.c: Declare boolean hard_links default true.
8848 (options): Add --no-hard-links option.
8849 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
8850 * locale/programs/localedef.h: Declare prototype for hard_links.
8851 * locale/programs/locfile.c (write_locale_data): Don't use hard
8852 links if hard_links is false.
8853
c22e4c2a
L
88542018-12-03 H.J. Lu <hongjiu.lu@intel.com>
8855
8856 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
8857 cpu_features_basic.
8858 (__cache_sysconf): Likewise.
8859 (init_cacheinfo): Likewise.
8860 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
8861 populate COMMON_CPUID_INDEX_80000007 and
8862 COMMON_CPUID_INDEX_80000008.
8863 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
8864 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
8865 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
8866 (init_cpu_features): Use _Static_assert on
8867 index_arch_Fast_Unaligned_Load.
8868 __get_cpuid_registers and __get_arch_feature. Updated for
8869 cpu_features_basic. Set stepping in cpu_features.
8870 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
8871 (FEATURE_INDEX_2): New.
8872 (FEATURE_INDEX_MAX): Changed to enum.
8873 (COMMON_CPUID_INDEX_D_ECX_1): New.
8874 (COMMON_CPUID_INDEX_80000007): Likewise.
8875 (COMMON_CPUID_INDEX_80000008): Likewise.
8876 (cpuid_registers): Likewise.
8877 (cpu_features_basic): Likewise.
8878 (CPU_FEATURE_USABLE): Likewise.
8879 (bit_arch_XXX_Usable): Likewise.
8880 (cpu_features): Use cpuid_registers and cpu_features_basic.
8881 (bit_arch_XXX): Reweritten.
8882 (bit_cpu_XXX): Likewise.
8883 (index_cpu_XXX): Likewise.
8884 (reg_XXX): Likewise.
8885 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
8886 <support/check.h>.
8887 (CHECK_CPU_FEATURE): New.
8888 (CHECK_CPU_FEATURE_USABLE): Likewise.
8889 (cpu_kinds): Likewise.
8890 (do_test): Print vendor, family, model and stepping. Check
8891 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
8892 (TEST_FUNCTION): Removed.
8893 Include <support/test-driver.c> instead of
8894 "../../test-skeleton.c".
8895 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
8896 Check POPCNT instead of POPCOUNT.
8897 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
8898
7b36d26b
ST
88992018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
8900
8901 * scripts/gen-as-const.py (main): Avoid emitting empty line when
8902 there is no element in `consts'.
8903
02cd5c1a
FW
89042018-12-01 Florian Weimer <fweimer@redhat.com>
8905
8906 * support/support_capture_subprocess.c
8907 (support_capture_subprocess): Check that pipe descriptors have
8908 expected values. Close original pipe descriptors in subprocess.
8909
fc493bc9
ST
89102018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
8911
8912 [BZ #23032]
8913 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
8914 attr with __pthread_default_barrierattr.
8915 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
8916 attr with __pthread_default_condattr.
8917 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
8918 attr with __pthread_default_mutexattr.
8919 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
8920 attr with __pthread_default_rwlockattr.
8921
6310e6be
KW
89222018-12-01 Kemi Wang <kemi.wang@intel.com>
8923
8924 * manual/tunables.texi (POSIX Thread Tunables): New node.
8925 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
8926 * nptl/nptl-init.c: Include pthread_mutex_conf.h
8927 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
8928 __pthread_tunables_init.
8929 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
8930 (max_adaptive_count): Define.
8931 * nptl/pthread_mutex_conf.c: New file.
8932 * nptl/pthread_mutex_conf.h: New file.
8933 * sysdeps/generic/adaptive_spin_count.h: New file.
8934 * sysdeps/nptl/dl-tunables.list: New file.
8935 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
8936 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
8937 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
8938 Likewise.
8939
8e67b39e
PP
89402018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
8941
8942 [BZ #20544]
8943 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
8944 * stdlib/on_exit.c (__on_exit): Likewise.
8945 * stdlib/Makefile (tests): Add tst-bz20544.
8946 * stdlib/tst-bz20544.c: New test.
8947
15b8d67e
RÁE
89482018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
8949
8950 [BZ #19767]
8951 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
8952 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
8953 New.
8954
5e63c240
FW
89552018-11-30 Florian Weimer <fweimer@redhat.com>
8956
8957 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
8958 Extend error logging.
8959 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
8960 symbol.
8961
71058602 89622018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14d0e87d 8963
5fb7fc96
AZ
8964 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
8965 __sigismember instead of sigismember.
8966 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
8967 cancel_handler): New definitions.
8968 (do_system): Use posix_spawn instead of fork and execl and remove
8969 reentracy code.
8970 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
8971 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
8972 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
8973 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
8974 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
8975 * sysdeps/unix/sysv/linux/system.c: Likewise.
8976
14d0e87d
AZ
8977 [BZ #22834]
8978 [BZ #17490]
8979 * NEWS: Add new semantic for atfork with popen and system.
8980 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
8981 fork and execl.
8982
e5d262ef
TMQMF
89832018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8984
8985 [BZ #23690]
8986 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
8987 modification order when accessing reloc_result->addr.
8988 * include/link.h (reloc_result): Add field init.
8989 * nptl/Makefile (tests): Add tst-audit-threads.
8990 (modules-names): Add tst-audit-threads-mod1 and
8991 tst-audit-threads-mod2.
8992 Add rules to build tst-audit-threads.
8993 * nptl/tst-audit-threads-mod1.c: New file.
8994 * nptl/tst-audit-threads-mod2.c: Likewise.
8995 * nptl/tst-audit-threads.c: Likewise.
8996 * nptl/tst-audit-threads.h: Likewise.
8997
7e1d4240
JM
89982018-11-30 Joseph Myers <joseph@codesourcery.com>
8999
9000 * scripts/gen-as-const.py: New file.
9001 * scripts/gen-as-const.awk: Remove.
9002 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
9003 gen-as-const.py.
9004 ($(objpfx)test-as-const-%.c): Likewise.
9005
ce7387cc
L
90062018-11-29 H.J. Lu <hongjiu.lu@intel.com>
9007
9008 * elf/dl-exception.c: Include <_itoa.h>.
9009
c6a5bdc1
ST
90102018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9011
9012 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
9013 returned by __f_setlk.
9014
a5275ba5
L
90152018-11-29 H.J. Lu <hongjiu.lu@intel.com>
9016 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9017
9018 * elf/Makefile (tests-internal): Add tst-create_format1.
9019 * elf/dl-exception.c (_dl_exception_create_format): Support
9020 %x, %lx and %zx.
9021 * elf/tst-create_format1.c: New file.
9022
3a67e81d
CAC
90232018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
9024
9025 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
9026 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
9027 gnulib.)
9028 * argp/argp-help.c (__argp_failure): Likewise.
9029
4975f0c3
MH
90302018-11-29 Mao Han <han_mao@c-sky.com>
9031
9032 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
9033 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
9034 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
9035 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
9036 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
9037 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
9038 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
9039 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
9040 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
9041 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
9042 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
9043 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
9044 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
9045 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
9046 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
9047 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
9048 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
9049 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
9050 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
9051 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
9052 (R_CKCORE_TLS_TPOFF32): New defines.
9053
250102c8
FW
90542018-11-29 Florian Weimer <fweimer@redhat.com>
9055
9056 * posix/Makefile (before-compile): Remove testcases.h and
9057 ptestcases.h.
9058 (generated): Add testcases.h and ptestcases.h.
9059 (testcases.h, ptestcases.h): Move to $(objpfx).
9060 (runtests.o): Add dependency on testcases.h.
9061 (runptests.o): Add dependency on ptestcases.h.
9062 * posix/testcases.h, posix/ptestcases.h: Remove files.
9063 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
9064 not touch posix/testcases.h and posix/ptestcases.h.
9065
96cd0558
FW
90662018-11-28 Florian Weimer <fweimer@redhat.com>
9067
9068 support: Add signal support to support_capture_subprocess_check.
9069 * support/capture_subprocess.h (support_capture_subprocess_check):
9070 Adjust comment and rename parameter.
9071 * support/support_capture_subprocess_check.c
9072 (print_actual_status): New function.
9073 (support_capture_subprocess_check): Support negative
9074 status_or_signal. Call print_actual_status.
9075 * support/tst-support_capture_subprocess.c (do_test): Call
9076 support_capture_subprocess_check.
9077 * libio/tst-vtables-common.c (termination_status)
9078 (init_termination_status): Remove.
9079 (check_for_termination): Adjust support_capture_subprocess_check
9080 call.
9081 (do_test): Remove call to init_termination_status.
9082
530504e3
JM
90832018-11-28 Joseph Myers <joseph@codesourcery.com>
9084
9085 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
9086 source directory instead of a copy.
9087 (CommandList.create_copy_dir): Remove.
9088
9a0b6970
SL
90892018-11-28 Stefan Liebler <stli@linux.ibm.com>
9090
9091 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9092
47d8d9a2
FW
90932018-11-28 Florian Weimer <fweimer@redhat.com>
9094
9095 * support/support.h (support_quote_string): Do not use str
9096 parameter name.
9097
b473b7d8
JM
90982018-11-27 Joseph Myers <joseph@codesourcery.com>
9099
9100 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
9101 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
9102
c74a91de
FW
91032018-11-27 Florian Weimer <fweimer@redhat.com>
9104
9105 * support/support.h (support_quote_string): Declare.
9106 * support/support_quote_string.c: New file.
9107 * support/tst-support_quote_string.c: Likewise.
9108 * support/Makefile (libsupport-routines): Add
9109 support_quote_string.
9110 (tests): Add tst-support_quote_string.
9111
d527c860
FW
91122018-11-27 Florian Weimer <fweimer@redhat.com>
9113
9114 [BZ #23927]
9115 CVE-2018-19591
9116 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
9117 descriptor leak in case of ENODEV error.
9118
979cfed0
RÁE
91192018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
9120
9121 [BZ #19767]
9122 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
9123 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
9124 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
9125
ce035c6e
CD
91262018-11-26 Carlos O'Donell <carlos@redhat.com>
9127
9128 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
9129 Error for unknown lines.
9130
2bd0bfcc
JM
91312018-11-26 Joseph Myers <joseph@codesourcery.com>
9132
9133 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
9134 Touch additional files.
9135
affec03b
FW
91362018-11-26 Florian Weimer <fweimer@redhat.com>
9137
9138 [BZ #23907]
9139 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
9140 double-frees.
9141
8ae74ead
RÁE
91422018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
9143
9144 [BZ #19767]
9145 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
9146 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
9147 SHARED. Include sysdep.h.
9148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
9149 ALWAYS_USE_VSYSCALL.
9150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
9151 ALWAYS_USE_VSYSCALL.
9152
1e8bdc3a
RÁE
91532018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
9154
9155 [BZ #19767]
9156 * nptl/Makefile (tests-static): Add tst-cond11-static.
9157 (tests): Likewise.
9158 * nptl/tst-cond11-static.c: New File.
9159 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
9160 tst-affinity-static.
9161 (tests): Likewise.
9162 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
9163 instead of SHARED.
9164 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
9165 (USE_VSYSCALL): Likewise.
9166 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
9167 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
9168 instead of SHARED.
9169 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
9170 SHARED.
9171 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
9172 New.
9173
1283c478
JM
91742018-11-23 Joseph Myers <joseph@codesourcery.com>
9175
9176 [BZ #23915]
9177 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9178 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
9179 Undefine.
9180
c089fd80
L
91812018-11-23 H.J. Lu <hongjiu.lu@intel.com>
9182
9183 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
9184 (tst-cet-legacy-1a-ARGS): New.
9185 ($(objpfx)tst-cet-legacy-1a): New target.
9186 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
9187
cc6c89fa
JM
91882018-11-22 Joseph Myers <joseph@codesourcery.com>
9189
95edd05c
JM
9190 * conform/conformtest.py (CompileSubTest.__init__): Set
9191 self.run_early to False.
9192 (ExecuteSubTest.__init__): Likewise.
9193 (HeaderTests.run): Try running all non-optional, non-XFAILed
9194 compilation tests in a single execution of the compiler.
9195
cc6c89fa
JM
9196 * conform/conformtest.py (CompileSubTest): New class.
9197 (ExecuteSubTest): Likewise.
9198 (ElementTest.run): Rename to gen_subtests. Append tests to
9199 self.subtests instead of running them.
9200 (ConstantTest.run): Likewise.
9201 (SymbolTest.run): Likewise.
9202 (TypeTest.run): Likewise.
9203 (TagTest.run): Likewise.
9204 (FunctionTest.run): Likewise.
9205 (VariableTest.run): Likewise.
9206 (MacroFunctionTest.run): Likewise.
9207 (MacroStrTest.run): Likewise.
9208 (HeaderTests.handle_test_line): Generate subtests for tests.
9209 (HeaderTests.run): Run subtests for tests.
9210
a502c529
SN
92112018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
9212
9213 * math/Versions (GLIBC_2.29): Add pow.
9214 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
9215 symbol.
9216 * math/w_pow.c: New file.
9217 * sysdeps/i386/fpu/w_pow.c: New file.
9218 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
9219 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
9220 and add necessary aliases.
9221 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
9222 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
9223 * sysdeps/mach/hurd/i386/libm.abilist: Update.
9224 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
9225 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
9226 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
9227 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
9228 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
9229 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
9230 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
9231 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
9232 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
9233 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
9234 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
9235 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
9236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
9237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
9238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
9239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
9240 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
9241 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
9242 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
9243 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
9244 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
9245 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
9246 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
9247 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
9248 __pow.
9249 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
9250 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
9251 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
9252
718d6542
SN
92532018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
9254
9255 * math/Versions (GLIBC_2.29): Add log2.
9256 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
9257 symbol.
9258 * math/w_log2.c: New file.
9259 * sysdeps/i386/fpu/w_log2.c: New file.
9260 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
9261 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
9262 and add necessary aliases.
9263 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
9264 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
9265 * sysdeps/mach/hurd/i386/libm.abilist: Update.
9266 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
9267 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
9268 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
9269 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
9270 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
9271 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
9272 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
9273 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
9274 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
9275 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
9276 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
9277 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
9278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
9279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
9280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
9281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
9282 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
9283 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
9284 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
9285 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
9286 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
9287 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
9288 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
9289
f29b7c49
SN
92902018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
9291
9292 * math/Versions (GLIBC_2.29): Add log.
9293 * math/w_log_compat.c (__log_compat): Change to versioned compat
9294 symbol.
9295 * math/w_log.c: New file.
9296 * sysdeps/i386/fpu/w_log.c: New file.
9297 * sysdeps/ia64/fpu/e_log.S: Update.
9298 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
9299 and add necessary aliases.
9300 * sysdeps/ieee754/dbl-64/w_log.c: New file.
9301 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
9302 * sysdeps/mach/hurd/i386/libm.abilist: Update.
9303 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
9304 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
9305 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
9306 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
9307 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
9308 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
9309 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
9310 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
9311 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
9312 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
9313 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
9314 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
9315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
9316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
9317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
9318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
9319 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
9320 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
9321 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
9322 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
9323 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
9324 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
9325 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
9326 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
9327 __log.
9328 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
9329 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
9330 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
9331 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
9332
c20a1056
SN
93332018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
9334
9335 * math/Versions (GLIBC_2.29): Add exp and exp2.
9336 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
9337 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
9338 * math/w_exp_compat.c (__exp_compat): Likewise.
9339 * math/w_exp.c: New file.
9340 * math/w_exp2.c: New file.
9341 * sysdeps/i386/fpu/w_exp.c: New file.
9342 * sysdeps/i386/fpu/w_exp2.c: New file.
9343 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
9344 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
9345 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
9346 and add necessary aliases.
9347 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
9348 and add necessary aliases.
9349 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
9350 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
9351 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
9352 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
9353 * sysdeps/mach/hurd/i386/libm.abilist: Update.
9354 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
9355 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
9356 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
9357 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
9358 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
9359 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
9360 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
9361 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
9362 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
9363 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
9364 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
9365 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
9366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
9367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
9368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
9369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
9370 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
9371 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
9372 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
9373 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
9374 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
9375 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
9376 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
9377 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
9378 (__ieee754_exp): Rename to __exp.
9379 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
9380 (__ieee754_exp): Rename to __exp.
9381 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
9382 (__ieee754_exp): Rename to __exp.
9383 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
9384 __exp.
9385 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
9386
bcdaad21
DD
93872018-11-20 DJ Delorie <dj@redhat.com>
9388
9389 * malloc/malloc.c (tcache_entry): Add key field.
9390 (tcache_put): Set it.
9391 (tcache_get): Likewise.
9392 (_int_free): Check for double free in tcache.
9393 * malloc/tst-tcfree1.c: New.
9394 * malloc/tst-tcfree2.c: New.
9395 * malloc/Makefile: Run the new tests.
9396 * manual/probes.texi: Document memory_tcache_double_free probe.
9397
9398 * dlfcn/dlerror.c (check_free): Prevent double frees.
9399
5770c0ad
WD
94002018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
9401
9402 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
9403
9a62a939
JM
94042018-11-20 Joseph Myers <joseph@codesourcery.com>
9405
9406 * conform/conformtest.py (ElementTest.run): Use unique identifiers
9407 in tests. Use names for format arguments.
9408 (ConstantTest.run): Likewise.
9409 (SymbolTest.run): Likewise.
9410 (TypeTest.run): Likewise.
9411 (TagTest.run): Likewise.
9412 (FunctionTest.run): Likewise.
9413 (VariableTest.run): Likewise.
9414 (MacroFunctionTest.run): Likewise.
9415 (MacroStrTest.run): Likewise.
9416 (HeaderTests.__init__): Set self.num_tests.
9417 (HeaderTests.handle_test_line): Set test.num. Increment
9418 self.num_tests.
9419
b15b1a95
ST
94202018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
9421
9422 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
9423 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
9424 SEEK_SET.
9425
0c7f97ae
MH
94262018-11-19 Mao Han <han_mao@c-sky.com>
9427
9428 * scripts/config.guess: Update to version 2018-08-29.
9429 * scripts/config.sub: Update to version 2018-08-29.
9430
35e3fbc4
FW
94312018-11-19 Florian Weimer <fweimer@redhat.com>
9432
9433 support: Print timestamps in timeout handler.
9434 * support/support_test_main.c (print_timestamp): New function.
9435 (signal_handler): Use it to print the termination time and the
9436 time of the last write to standard output.
9437
c75772e3
ZW
94382018-11-16 Zack Weinberg <zackw@panix.com>
9439 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9440
9441 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
9442 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
9443 argument.
9444 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
9445 and add flags argument. Check flags instead of __ldbl_is_dbl when
9446 deciding whether to set is_long_double.
9447 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
9448 passing zero for flags argument.
9449 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
9450
9451 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
9452 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
9453 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
9454 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
9455 variable names. Remove libc_hidden_def/libc_hidden_proto from
9456 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
9457 longer called from within the library.
9458 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
9459 for __nldbl___vstrfmon_l, declare it explicitly.
9460
9461 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
9462
346ef23f
ST
94632018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
9464
9465 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
9466 macros
9467 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
9468 F_SETLK64, F_SETLKW64, respectively.
9469 * sysdeps/mach/hurd/f_setlk.c: New file.
9470 * sysdeps/mach/hurd/f_setlk.h: New file.
9471 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
9472 f_setlk.
9473 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
9474 (__libc_fcntl): Move non-flock operations to...
9475 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
9476 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
9477
de20b81a
PE
94782018-11-15 Paul Eggert <eggert@cs.ucla.edu>
9479
5d8af156
PE
9480 mktime: DEBUG_MKTIME cleanup
9481 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
9482 And it’s no longer needed now that glibc and Gnulib both have
9483 their own testing mechanisms for mktime.
9484 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
9485
86aece3b
PE
9486 mktime: fix non-EOVERFLOW errno handling
9487 [BZ#23789]
9488 mktime was not properly reporting failures when the underlying
9489 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
9490 them like EOVERFLOW failures, and set errno to EOVERFLOW.
9491 The problem could happen on non-glibc platforms, with Gnulib.
9492 * time/mktime.c (guess_time_tm): Remove, replacing with ...
9493 (tm_diff): ... this simpler function, which does not change errno.
9494 All callers changed to deal with errno themselves.
9495 (ranged_convert, __mktime_internal): Return failure immediately if
9496 the underlying function reports any failure other than EOVERFLOW.
9497 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
9498 gap code fails.
9499
f6b3331b
PE
9500 mktime: fix bug with Y2038 DST transition
9501 [BZ#23789]
9502 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
9503 mishandle a DST transition that jumps over the Y2038 boundary.
9504 No such DST transitions are known so this is only a theoretical
9505 bug, but we might as well do things right.
9506
efbdddc3
PE
9507 mktime: make more room for overflow
9508 [BZ#23789]
9509 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
9510 This is so that we can add tm_diff results to a previous guess,
9511 which will be useful in a later patch.
9512
6c90d759
PE
9513 mktime: simplify offset guess
9514 [BZ#23789]
9515 * time/mktime.c (__mktime_internal): Omit excess precision.
9516
32c12f3f
PE
9517 mktime: new test for mktime failure
9518 [BZ#23789]
9519 Based on a test suggested by Albert Aribaud in:
9520 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
9521 * time/Makefile (tests): Add bug-mktime4.
9522 * time/bug-mktime4.c: New file.
9523
de20b81a
PE
9524 mktime: fix EOVERFLOW bug
9525 [BZ#23789]
9526 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
9527 Include libc-config.h, not config.h, for __set_errno.
9528 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
9529
8c6c3fb0
ST
95302018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
9531
9532 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
9533 __attribute_copy__ to copy attributes from name. Drop static qualifier
9534 to avoid warnings about leaf attribute not having effect on static
9535 functions.
9536
6923f6db
FW
95372018-11-13 Florian Weimer <fweimer@redhat.com>
9538
9539 * malloc/malloc.c (fastbin_push_entry): New function.
9540 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
9541 (REMOVE_FB): Remove macro.
9542 (_int_malloc): Use fastbin_pop_entry and reindent.
9543 (_int_free): Use fastbin_push_entry.
9544 (malloc_consolidate): Use atomic_exchange_acquire.
9545
53f5c659
JM
95462018-11-13 Joseph Myers <joseph@codesourcery.com>
9547
0c096dcf
JM
9548 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
9549 alias attribute, not with strong_alias.
9550
9c4b457e
JM
9551 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
9552 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
9553 with additional parameter thread.
9554 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
9555 in terms of __hidden_ver2.
9556 (hidden_tls_def): New macro.
9557 (libc_hidden_tls_def): Likewise.
9558 (rtld_hidden_tls_def): Likewise.
9559 (libm_hidden_tls_def): Likewise.
9560 (libmvec_hidden_tls_def): Likewise.
9561 (libresolv_hidden_tls_def): Likewise.
9562 (librt_hidden_tls_def): Likewise.
9563 (libdl_hidden_tls_def): Likewise.
9564 (libnss_files_hidden_tls_def): Likewise.
9565 (libnsl_hidden_tls_def): Likewise.
9566 (libnss_nisplus_hidden_tls_def): Likewise.
9567 (libutil_hidden_tls_def): Likewise.
9568 (libutil_hidden_tls_def): Likweise.
9569 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
9570 libc_hidden_tls_def.
9571 (__sim_disabled_exceptions_thread): Likewise.
9572 (__sim_round_mode_thread): Likewise.
9573
53f5c659
JM
9574 * sysdeps/sparc/sparc-ifunc.h [SHARED]
9575 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
9576 copy attributes from name.
9577
092dfde6
JM
95782018-11-12 Joseph Myers <joseph@codesourcery.com>
9579
f578f97b
JM
9580 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
9581 Use __attribute_copy__ to copy attributes from name.
9582
9a7c643a
JM
9583 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
9584 with __hidden_ver1 call.
9585 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
9586 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
9587 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
9588 (__cosf): Do not declare here.
9589 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
9590 (__sincosf): Do not declare here.
9591 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
9592 (__sinf): Do not declare here.
9593
092dfde6
JM
9594 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
9595 (__BIG_ENDIAN): Likewise.
9596 (__BYTE_ORDER): Likewise.
9597 (strong_alias): Likewise.
9598 (_strong_alias): Likewise.
9599
1ecba1fa
FW
96002018-11-12 Florian Weimer <fweimer@redhat.com>
9601
9602 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
9603 function. Move after the definition of in_smallbin_range. Do not
9604 use __builtin_expect for paths that lead to a noreturn function.
9605 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
9606 because it is unclear whether this is in fact an unlikely
9607 condition.
9608 (_int_malloc, _int_free): Adjust.
9609 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
9610 variables.
9611 * malloc/arena.c (heap_trim): Likewise.
9612
434c34bd
ST
96132018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9614
9615 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
9616 it, free it if needed.
9617 (reauthenticate): Test and use ccwdir.
9618 (child_init_port): In non-resetids case, test and use ccwdir.
9619 (child_chdir): New nested function to set ccwdir.
7fa495cd
ST
9620 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
9621 * hurd/hurd/port.h (_hurd_port_move): New function.
9622 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
9623 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
88b26b7e
ST
9624 * hurd/Versions (_hurd_port_move): Export function.
9625 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
9626 symbol.
58bb655a
ST
9627 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
9628 of dtablesize for allocating dtable_cloexec.
434c34bd 9629
1626a1cf
MS
96302018-11-09 Martin Sebor <msebor@redhat.com>
9631
9632 * include/libc-symbols.h (__attribute_copy__): Define macro unless
9633 it's already defined.
9634 (_strong_alias): Use __attribute_copy__.
9635 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
9636 * misc/sys/cdefs.h (__attribute_copy__): New macro.
9637 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
9638 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
9639 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
9640 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
9641 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
9642 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
9643 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
9644 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
9645 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
9646 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
9647 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
9648 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
9649 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
9650 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
9651 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
9652 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
9653 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
9654
968ed530
GG
96552018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9656
9657 * misc/tst-efgcvt.c: Include support/check.h and
9658 support/test-driver.c. Do not include test-skeleton.c.
9659 (error_count): Remove.
9660 (output_error): Replace increments to error_count with calls to
9661 support_record_failure.
9662 (output_r_error): Likewise.
9663 (special): Likewise.
9664 (do_test): Unconditionally return zero.
9665 (TEST_FUNCTION): Remove.
9666
c3ec0972
JM
96672018-11-09 Joseph Myers <joseph@codesourcery.com>
9668
91faaa93
JM
9669 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
9670 not $(@D)/scratch.
9671 ($(linknamespace-header-tests)): Likewise.
9672
c3ec0972
JM
9673 * conform/conformtest.py: New file.
9674 * conform/conformtest.pl: Remove.
9675 * conform/GlibcConform.pm: Likewise.
9676 * conform/glibcconform.py (KEYWORDS_C90): New constant.
9677 (KEYWORDS_C99): Likewise.
9678 (KEYWORDS): Likewise.
9679 * conform/Makefile ($(conformtest-header-tests)): Use
9680 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
9681 option. Use --header instead of --headers.
9682 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
9683 function entries.
9684 * conform/data/spawn.h-data: Likewise.
9685 * conform/data/fcntl.h-data (openat): Add space after function
9686 name.
9687 * conform/data/wchar.h-data (wcscasecmp): Likewise.
9688 (wcscasecmp_l): Likewise.
9689 * conform/data/termios.h-data (c_cc): Add space after element
9690 name.
9691
43257c33
GG
96922018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9693
9694 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
9695 instead of manually comparing and reporting mismatching strings.
9696 * misc/tst-ldbl-error.c (do_one_test): Likewise.
9697 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
9698
e5de3b5b
JM
96992018-11-08 Joseph Myers <joseph@codesourcery.com>
9700
9701 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
9702 __ASSUME_SOCKETCALL.
9703 * sysdeps/unix/sysv/linux/i386/kernel-features.h
9704 (__ASSUME_SOCKETCALL): Remove.
9705 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9706 (__ASSUME_SOCKETCALL): Likewise.
9707 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9708 (__ASSUME_SOCKETCALL): Likewise.
9709 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9710 (__ASSUME_SOCKETCALL): Likewise.
9711 * sysdeps/unix/sysv/linux/s390/kernel-features.h
9712 (__ASSUME_SOCKETCALL): Likewise.
9713 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9714 (__ASSUME_SOCKETCALL): Likewise.
9715 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9716 (__ASSUME_SOCKETCALL): Likewise.
9717
d524fa6c
L
97182018-11-08 H.J. Lu <hongjiu.lu@intel.com>
9719
9720 [BZ #23509]
9721 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
9722 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
9723 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
9724 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
9725 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
9726 lc_unknown.
9727
ac806026
AH
97282018-11-08 Alexandra Hájková <ahajkova@redhat.com>
9729
9730 [BZ #17630]
9731 * resolv/tst-resolv-network.c: Add test for getnetbyname.
9732
596cc360
JM
97332018-11-07 Joseph Myers <joseph@codesourcery.com>
9734
9735 [BZ #23867]
9736 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9737 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
9738 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9739 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
9740
00c86a37
AZ
97412018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9742
9743 * support/support_test_compare_string.c
9744 (support_test_compare_string): Fix printf format.
9745
1df872fd
FW
97462018-11-07 Florian Weimer <fweimer@redhat.com>
9747
9748 Implement TEST_COMPARE_STRING.
9749 * support/check.h (TEST_COMPARE_STRING): Define.
9750 (support_test_compare_string): Declare.
9751 * support/Makefile (libsupport-routines): Add
9752 support_test_compare_string.
9753 (tests): Add tst-test_compare_string.
9754 * support/support_test_compare_string.c: New file.
9755 * support/tst-test_compare_string.c: Likewise.
9756
295132ff
AS
97572018-11-07 Andreas Schwab <schwab@suse.de>
9758
9759 [BZ #23864]
9760 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
9761 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
9762 Undef.
9763
e143ceba
JM
97642018-11-06 Joseph Myers <joseph@codesourcery.com>
9765
9766 [BZ #23862]
9767 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9768 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
9769 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
9770 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
9771 Likewise.
9772
4a938cb2
FW
97732018-11-06 Florian Weimer <fweimer@redhat.com>
9774
9775 [BZ #17405]
9776 * posix/Makefile (routines): Add spawn_faction_addchdir.
9777 (tests): Add tst-spawn-chdir.
9778 * posix/Versions (GLIBC_2.29): Add
9779 posix_spawn_file_actions_addchdir_np.
9780 * posix/spawn_faction_addchdir.c: New file.
9781 * posix/spawn_faction_destroy.c
9782 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
9783 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
9784 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
9785 chdir_action.
9786 * posix/tst-spawn-chdir.c: New file.
9787 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
9788 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
9789 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
9790 posix_spawn_file_actions_addchdir_np.
9791 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
9792 Likewise.
9793 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
9794 Likewise.
9795 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
9796 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
9797 Likewise.
9798 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
9799 Likewise.
9800 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
9801 Likewise.
9802 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
9803 Likewise.
9804 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
9805 Likewise.
9806 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
9807 Likewise.
9808 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9809 (GLIBC_2.29): Likewise.
9810 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9811 (GLIBC_2.29): Likewise.
9812 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9813 (GLIBC_2.29): Likewise.
9814 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9815 (GLIBC_2.29): Likewise.
9816 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
9817 Likewise.
9818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9819 (GLIBC_2.29): Likewise.
9820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9821 (GLIBC_2.29): Likewise.
9822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9823 (GLIBC_2.29): Likewise.
9824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9825 (GLIBC_2.29): Likewise.
9826 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
9827 Likewise.
9828 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
9829 Likewise.
9830 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
9831 Likewise.
9832 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
9833 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
9834 Likewise.
9835 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
9836 Likewise.
9837 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
9838 Likewise.
9839 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
9840 Likewise.
9841
7597b0c7
GG
98422018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9843
9844 * misc/Makefile (tests): Add tst-ldbl-error.
9845 * misc/tst-ldbl-error.c: New file.
9846
9771e6cb
GG
98472018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9848
9849 * misc/Makefile (tests): Add tst-ldbl-warn.
9850 * misc/tst-ldbl-warn.c: New file.
9851
2c03961f
GG
98522018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9853
9854 * argp/Makefile (tests): Add tst-ldbl-argp.
9855 * argp/tst-ldbl-argp.c: New file.
9856
6d6ee046
AS
98572018-11-05 Arjun Shankar <arjun@redhat.com>
9858
9859 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
9860 __gconv_path_elem and call __gconv_get_path unconditionally.
9861
bd3b0fba
AS
98622018-11-05 Andreas Schwab <schwab@suse.de>
9863
9864 [BZ #22927]
9865 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
9866 creating the first helper thread failed.
9867
2e96e980
ST
98682018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
9869
9870 * sysdeps/mach/hurd/msync.c: New file.
9871
6e36266c
FW
98722018-11-02 Florian Weimer <fweimer@redhat.com>
9873
9874 * support/shell-container.c (copy_func): Call
9875 support_copy_file_range instead of copy_file_range to support
9876 cross-device copies.
9877
599f7bee
FW
98782018-11-02 Florian Weimer <fweimer@redhat.com>
9879
9880 * support/test-container.c: Include <libc-pointer-arith.h> for
9881 ALIGN_UP.
9882
ff48ea67
ZL
98832018-11-01 Zong Li <zong@andestech.com>
9884
af1d5782
ZL
9885 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
9886 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
9887 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
9888 (__FP_FRAC_SET_8): Add implementation for RV32 use.
9889
ff48ea67
ZL
9890 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
9891 variable to avoid overlap arguments.
9892
daea71c2
JM
98932018-11-01 Joseph Myers <joseph@codesourcery.com>
9894
eac4405a
JM
9895 * posix/bug-regex22.c (main): Use puts with distinct error
9896 messages for unexpected success of re_compile_pattern, not printf
9897 with NULL argument to %s.
9898
6f30e59f
JM
9899 * stdio-common/bug22.c: Include <libc-diag.h>.
9900 (do_test): Disable -Wformat-overflow= warnings around fprintf
9901 calls outputting more than INT_MAX characters.
9902 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
9903 around printf call with NULL %s argument.
9904
daea71c2
JM
9905 [BZ #23848]
9906 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
9907 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
9908 Undefine.
9909 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9910 (__ASSUME_RECVMSG_SYSCALL): Likewise.
9911 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9912 (__ASSUME_SENDTO_SYSCALL): Likewise.
9913 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9914 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
9915 [!__arch64__].
9916 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9917 (__ASSUME_CONNECT_SYSCALL): Likewise.
9918 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9919 (__ASSUME_RECVFROM_SYSCALL): Likewise.
9920 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
9921 Define.
9922 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
9923 Likewise.
9924 [__LINUX_KERNEL_VERSION >= 0x040400]
9925 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9926 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
9927 Remove.
9928 (listen): Likewise.
9929 (setsockopt): Likewise.
9930
8e3c00db
FN
99312018-11-01 Fredrik Noring <noring@nocrew.org>
9932
9933 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
9934 with the ISA override.
9935
9c3dbdbe
RAE
99362018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
9937
9938 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
9939 #endif.
9940
e3a88b3e
ST
99412018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
9942
a67377e7 9943 * manual/errno.texi (EIEIO): Document how translators should
e3a88b3e 9944 translate the error message.
a67377e7
ST
9945 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
9946 printing trailing whitespaces refused by git.
9947 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
9948 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fc783076 9949 * hurd/Makefile (user-interfaces): Add pci.
e3a88b3e 9950
3ca235ed
JM
99512018-10-30 Joseph Myers <joseph@codesourcery.com>
9952
9953 * conform/linknamespace.py: New file.
9954 * conform/linknamespace.pl: Remove file.
9955 * conform/Makefile ($(linknamespace-header-tests)): Use
9956 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
9957 option.
9958
60708030
FW
99592018-10-30 Florian Weimer <fweimer@redhat.com>
9960
9961 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
9962 memory leaks.
9963
a91e9301
FW
99642018-10-30 Florian Weimer <fweimer@redhat.com>
9965
9966 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
9967
07da99aa
FW
99682018-10-30 Florian Weimer <fweimer@redhat.com>
9969
9970 * stdlib/tst-strtod-overflow.c (do_test): Switch to
9971 support_blob_repeat.
9972
f5e7e959
FW
99732018-10-30 Florian Weimer <fweimer@redhat.com>
9974
9975 Avoid spurious test failures in stdlib/test-bz22786.
9976 * support/Makefile (libsupport-routines): Add blob_repeat.
9977 (tests): Add tst-support_blob_repeat.
9978 * support/blob_repeat.h: New file.
9979 * support/blob_repeat.c: Likewise.
9980 * support/tst-support_blob_repeat.c: Likewise.
9981 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
9982 support_blob_repeat_allocate.
9983
2dd12baa
AS
99842018-10-30 Andreas Schwab <schwab@suse.de>
9985
9986 [BZ #23125]
9987 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
9988 Don't use tail call.
9989 * elf/tst-unwind-main.c: New file.
9990 * elf/Makefile (tests): Add tst-unwind-main.
9991 (CFLAGS-tst-unwind-main.c): Define.
9992
6b5c8607 99932018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
fec8bb7c
SAA
9994
9995 [BZ #23791]
9996 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
9997 n_cs_precedes to 0.
9998 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
9999
c6982f7e
JM
100002018-10-29 Joseph Myers <joseph@codesourcery.com>
10001
954cf3c2
JM
10002 * conform/glibcconform.py: Do not import shutil.
10003 (list_exported_functions): Use tempfile.TemporaryDirectory instead
10004 of mkdtemp.
10005
c6982f7e
JM
10006 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
10007 critic_missing for versions before 3.4.
10008 * configure: Regenerated.
10009 * manual/install.texi (Tools for Compilation): Document
10010 requirement for Python to build glibc.
10011 * INSTALL: Regenerated.
10012 * Rules [PYTHON]: Make code unconditional.
10013 * benchtests/Makefile [PYTHON]: Likewise.
10014 * conform/Makefile [PYTHON]: Likewise.
10015 * manual/Makefile [PYTHON]: Likewise.
10016 * math/Makefile [PYTHON]: Likewise.
10017
46a7f24c
ST
100182018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10019
10020 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
2d0d1d38 10021 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
b6e7c449 10022 answer to interrupt_operation, return EIEIO instead of EINTR.
5c81be53
ST
10023 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
10024 _hurd_intr_rpc_msg_about_to global point to start of controlled
10025 assembly snippet. Make it check canceled flag.
10026 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
10027 the _hurd_intr_rpc_msg_about_to point.
10028 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
10029 issue, remove cancel flag check.
46a7f24c 10030
e5b8756d
JM
100312018-10-26 Joseph Myers <joseph@codesourcery.com>
10032
10033 * scripts/build-many-glibcs.py: Remove compatibility for missing
10034 os.cpu_count and re.fullmatch.
10035
ba5b14c7
SN
100362018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
10037
10038 [BZ #23822]
10039 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
10040 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
10041 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
10042
fe61f17c
JM
100432018-10-25 Joseph Myers <joseph@codesourcery.com>
10044
10045 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
10046 macro.
10047
7c5e34d7
FW
100482018-10-25 Florian Weimer <fweimer@redhat.com>
10049
10050 [BZ #23562]
10051 [BZ #23821]
10052 XFAIL siginfo_t si_band conform test on sparc64.
10053 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
10054 (__SI_BAND_TYPE): Only override long int default type on sparc64.
10055 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10056 (conformtest-xfail-conds): Add sparc64-linux.
10057 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
10058 sparc64.
10059 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
10060
5b784e88
JM
100612018-10-25 Joseph Myers <joseph@codesourcery.com>
10062
10063 * elf/elf.h (NT_MIPS_DSP): New macro.
10064 (NT_MIPS_FP_MODE): Likewise.
10065
41432ebe
ZL
100662018-10-25 Zong Li <zong@andestech.com>
10067
10068 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
10069 name by adding the file extension (.so).
10070
d026efea
ST
100712018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
10072
10073 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
10074 (test-xfail-ISO11/threads.h/linknamespace,
10075 test-xfail-ISO11/threads.h/conform): Add.
10076
b71ac2b9
JM
100772018-10-24 Joseph Myers <joseph@codesourcery.com>
10078
10079 * math/gen-libm-test.py: Import os.
10080 (ALL_FLOATS_MANUAL): New constant.
10081 (ALL_FLOATS_SUFFIX): Likewise.
10082 (Ulps.all_functions): New function.
10083 (real_all_ulps): Likewise.
10084 (generate_err_table_sub): Likewise.
10085 (generate_err_table): Likewise.
10086 (main): Handle -s and -m options.
10087 * manual/libm-err-tab.pl: Remove.
10088 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
10089 instead of libm-err-tab.pl.
10090 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
10091 != no].
10092 * manual/install.texi (Tools for Compilation): Document
10093 requirement for Python to build manual.
10094 * INSTALL: Regenerated.
10095
6b5c8607 100962018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
d51f99ce
AA
10097
10098 * bits/time64.h: New file.
10099 * include/time.h: Replace internal_time_t with __time64_t.
10100 * posix/bits/types (__time64_t): Add.
10101 * stdlib/Makefile: Add bits/time64.h to includes.
10102 * time/tzfile.c: Replace internal_time_t with __time64_t.
10103
97d91fcc 101042018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2a973ab7
AZ
10105
10106 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
10107 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
10108 __posix_spawn_file_actions_init, __posix_spawnattr_init,
10109 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
10110 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
10111 prototype.
10112 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
10113 * posix/spawn_faction_addclose.c
10114 (__posix_spawn_file_actions_addclose): Add hidden definition.
10115 * posix/spawn_faction_adddup2.c
10116 (__posix_spawn_file_actions_adddup2): Likewise.
10117 * posix/spawn_faction_destroy.c
10118 (__posix_spawn_file_actions_destroy): Likewise.
10119 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
10120 Likewise.
10121 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
10122 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
10123 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
10124 Likewise.
10125 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
10126 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
10127 Likewise.
10128
2954daf0
AS
101292018-10-24 Andreas Schwab <schwab@suse.de>
10130
10131 [BZ #18093]
10132 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
10133 format cache.
10134 * elf/cache.c (print_cache): Likewise.
10135
6b5c8607 101362018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
a27a4f47
AA
10137
10138 * bits/timesize.h: New file.
10139 * stdlib/Makefile (headers): Add bits/timesize.h.
10140 * sysdeps/unix/sysv/linux/bits/msq-pad.h
10141 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
10142 * sysdeps/unix/sysv/linux/bits/sem-pad.h
10143 (__SEM_PAD_AFTER_TIME): Likewise.
10144 * sysdeps/unix/sysv/linux/bits/shm-pad.h
10145 (__SHM_PAD_AFTER_TIME): Likewise.
10146 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
10147 (__MSQ_PAD_BEFORE_TIME): Likewise.
10148 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
10149 (__SEM_PAD_BEFORE_TIME): Likewise.
10150 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
10151 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
10152 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
b39d961c
TS
10153 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
10154 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
10155 (__MSQ_PAD_BEFORE_TIME): Likewise.
a27a4f47
AA
10156 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
10157 (__SEM_PAD_BEFORE_TIME): Likewise.
10158 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
10159 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
10160 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
10161 (__MSQ_PAD_BEFORE_TIME): Likewise.
10162 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
10163 (__SEM_PAD_BEFORE_TIME): Likewise.
10164 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
10165 (__SHM_PAD_BEFORE_TIME): Likewise.
10166 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
10167 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
10168 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
10169
7cc65773
L
101702018-10-24 H.J. Lu <hongjiu.lu@intel.com>
10171
10172 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
10173 USE_RDTSCP is defined.
10174 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
10175 USE_RDTSCP is defined.
10176
c3d8dc45
AZ
101772018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10178
18ad0de6
AZ
10179 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
10180 defined.
10181
c3d8dc45
AZ
10182 [BZ #23709]
10183 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
10184 independently of other flags.
10185
f1034472
FW
101862018-10-23 Florian Weimer <fweimer@redhat.com>
10187
10188 * time/tst-mktime2.c (N_STRINGS): Remove.
10189 (set_timezone): New function.
10190 (spring_forward_gap): Call it. Use FAIL_EXIT1.
10191 (mktime_test1): Report localtime failure and check errno value.
10192 Use TEST_COMPARE.
10193 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
10194 (do_test): Remove alarm call. Use set_timezone and array_length.
10195
367d7cc2
AS
101962018-10-23 Andreas Schwab <schwab@suse.de>
10197
10198 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
10199 (__start_context): Use END instead of PSEUDO_END.
10200
be8ff03f
JM
102012018-10-22 Joseph Myers <joseph@codesourcery.com>
10202
029ad711
JM
10203 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10204 version to 4.19.
10205
8190520f
JM
10206 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10207 version to 4.19.
10208
be8ff03f
JM
10209 [BZ #23793]
10210 * wcsmbs/c32rtomb.c: New file.
10211 * wcsmbs/mbrtoc32.c: Likewise.
10212 * wcsmbs/tst-c32-state.c: Likewise.
10213 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
10214 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
10215 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
10216 (tests): Add tst-c32-state.
10217 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
10218 $(gen-locales).
10219
2dd8e58c
L
102202018-10-21 H.J. Lu <hongjiu.lu@intel.com>
10221
10222 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
10223 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
10224
d0a74159
JM
102252018-10-19 Joseph Myers <joseph@codesourcery.com>
10226
10227 [BZ #23794]
10228 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
10229 pair and return 0 in that case, and use saved character to
10230 interpret following character.
10231 * wcsmbs/tst-c16-surrogate.c: New file.
10232 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
10233 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
10234 Depend on $(gen-locales)
10235
f997b4be
IYM
102362018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
10237
10238 [BZ #23562]
10239 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
10240 (struct siginfo_t): Use correct type for si_band.
10241
53b2bb87
FW
102422018-10-19 Florian Weimer <fweimer@redhat.com>
10243
10244 [BZ #23689]
10245 * resource/bits/types/struct_rusage.h (struct rusage): Update
10246 comment on struct. Remove extraneous field comment.
10247
0a271c8f
DM
102482018-10-18 David S. Miller <davem@davemloft.net>
10249
94a3a27f
DM
10250 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
10251 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
10252 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
10253 sysdep_routines in subdir elf.
10254 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
10255 version for __vdso_clock_gettime.
10256 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
10257 Define.
10258 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
10259 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
10260
0a271c8f
DM
10261 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
10262
72771e53
L
102632018-10-17 H.J. Lu <hongjiu.lu@intel.com>
10264
10265 * sysdeps/i386/init-arch.h: Removed.
10266 * sysdeps/i386/i586/init-arch.h: Likewise.
10267 * sysdeps/i386/i686/init-arch.h: Likewise.
10268 * sysdeps/i386/i686/hp-timing.h: Likewise.
10269 * sysdeps/x86_64/hp-timing.h: Likewise.
10270 * sysdeps/i386/isa.h: New file.
10271 * sysdeps/i386/i586/isa.h: Likewise.
10272 * sysdeps/i386/i686/isa.h: Likewise.
10273 * sysdeps/x86_64/isa.h: Likewise.
10274 * sysdeps/x86/hp-timing.h: New file.
10275 * sysdeps/x86/init-arch.h: Include <isa.h>.
10276
c2b7ccad
JM
102772018-10-17 Joseph Myers <joseph@codesourcery.com>
10278
10279 * math/libm-test-pow.inc (pow_test_data): Do not allow
10280 divide-by-zero exception for pow(+/- 0, -Inf).
10281
26756e57
ZW
102822018-10-17 Zack Weinberg <zackw@panix.com>
10283
10284 * manual/job.texi (Job Control is Optional): Remove node, as
10285 job control has not been optional in quite some time.
10286 (Job Control): Mention briefly that systems older than
10287 POSIX.1-2001 might not support job control.
10288 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
10289 defined on systems conforming to POSIX.1-2001.
10290
c5288d37
AS
102912018-10-17 Arjun Shankar <arjun@redhat.com>
10292
10293 [BZ #22062]
10294 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
10295 indentation.
10296 * (__gconv_read_conf): Mark function static.
10297 * (once): New static variable.
10298 * (__gconv_load_conf): New function.
10299 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
10300 * iconv/gconv_db.c (once): Remove static variable.
10301 * (__gconv_compare_alias): Use __gconv_load_conf instead of
10302 __gconv_read_conf.
10303 * (__gconv_find_transform): Likewise.
10304 * iconv/tst-iconv-mt.c: New test.
10305 * iconv/Makefile: Add tst-iconv_mt.
10306
8c8d2a8a
JM
103072018-10-17 Joseph Myers <joseph@codesourcery.com>
10308
10309 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
729f3402
JM
10310 bits/shm-pad.h.
10311 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
10312 (shmatt_t): Define as __syscall_ulong_t.
10313 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
10314 and [__SHM_PAD_AFTER_TIME].
10315 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
10316 Define shm_segsz and associated padding based on
10317 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
10318 Use __syscall_ulong_t instead of unsigned long int.
10319 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
10320 unsigned long int.
10321 [__USE_MISC] (struct shm_info): Likewise.
10322 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
10323 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
10324 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
10325 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
10326 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
10327 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
10328 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
10329 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
10330 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
10331 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
10332 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
10333
10334 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8c8d2a8a
JM
10335 bits/shmlba.h.
10336 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
10337 (SHMLBA): Remove macro.
10338 (__getpagesize): Remove function declaration.
10339 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
10340 <bits/shmlba.h>.
10341 (SHMLBA): Remove macro.
10342 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
10343 <bits/shmlba.h>.
10344 (SHMLBA): Remove macro.
10345 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
10346 <bits/shmlba.h>.
10347 (SHMLBA): Remove macro.
10348 (__getpagesize): Remove function declaration.
10349 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
10350 <bits/shmlba.h>.
10351 (SHMLBA): Remove macro.
10352 (__getshmlba): Remove function declaration.
10353 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
10354 (SHMLBA): Remove macro.
10355 (__getpagesize): Remove function declaration.
10356 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
10357 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
10358 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
10359 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
10360 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
10361 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
10362 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
10363 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
10364 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
10365 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
10366
403b4feb
SL
103672018-10-17 Stefan Liebler <stli@linux.ibm.com>
10368
10369 [BZ #23275]
10370 * nptl/tst-mutex10.c: New File.
10371 * nptl/Makefile (tests): Add tst-mutex10.
10372 (tst-mutex10-ENV): New variable.
10373 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
10374 Ensure that elision path is used if elision is available.
10375 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
10376 Likewise.
10377 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
10378 Likewise.
10379 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
10380 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
10381 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
10382 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
10383 Likewise.
10384 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
10385 (__pthread_mutex_cond_lock_adjust): Likewise.
10386 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
10387 Likewise.
10388 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
10389 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
10390 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10391 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
10392 Add comments.
10393 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
10394 Use atomic_load_relaxed and atomic_store_relaxed.
10395 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
10396 Use atomic_store_relaxed.
10397
ce5a7de6
AS
103982018-10-17 Andreas Schwab <schwab@suse.de>
10399
10400 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
10401 * crypt/badsalttest.c (TIMEOUT): Likewise.
10402 * crypt/sha256c-test.c (TIMEOUT): Likewise.
10403 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
10404 * io/test-lfs.c (TIMEOUT): Likewise.
10405 * libio/tst-atime.c (TIMEOUT): Likewise.
10406 * localedata/tst-leaks.c (TIMEOUT): Likewise.
10407 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
10408 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
10409 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
10410 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
10411 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
10412 * nptl/tst-cond11.c (TIMEOUT): Likewise.
10413 * nptl/tst-cond14.c (TIMEOUT): Likewise.
10414 * nptl/tst-cond15.c (TIMEOUT): Likewise.
10415 * nptl/tst-cond24.c (TIMEOUT): Likewise.
10416 * nptl/tst-cond25.c (TIMEOUT): Likewise.
10417 * nptl/tst-kill2.c (TIMEOUT): Likewise.
10418 * nptl/tst-kill3.c (TIMEOUT): Likewise.
10419 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
10420 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
10421 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
10422 * nptl/tst-once2.c (TIMEOUT): Likewise.
10423 * nptl/tst-once3.c (TIMEOUT): Likewise.
10424 * nptl/tst-once4.c (TIMEOUT): Likewise.
10425 * nptl/tst-robust8.c (TIMEOUT): Likewise.
10426 * nptl/tst-robust9.c (TIMEOUT): Likewise.
10427 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
10428 * nptl/tst-sem14.c (TIMEOUT): Likewise.
10429 * nptl/tst-sem6.c (TIMEOUT): Likewise.
10430 * nptl/tst-signal3.c (TIMEOUT): Likewise.
10431 * nptl/tst-spin4.c (TIMEOUT): Likewise.
10432 * nptl/tst-tls3.c (TIMEOUT): Likewise.
10433 * nptl/tst-tls4.c (TIMEOUT): Likewise.
10434 * posix/tst-chmod.c (TIMEOUT): Likewise.
10435 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
10436 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
10437 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
10438 * posix/tst-regex2.c (TIMEOUT): Likewise.
10439 * posix/tst-waitid.c (TIMEOUT): Likewise.
10440 * rt/tst-aio.c (TIMEOUT): Likewise.
10441 * rt/tst-aio10.c (TIMEOUT): Likewise.
10442 * rt/tst-aio4.c (TIMEOUT): Likewise.
10443 * rt/tst-aio5.c (TIMEOUT): Likewise.
10444 * rt/tst-aio6.c (TIMEOUT): Likewise.
10445 * rt/tst-aio64.c (TIMEOUT): Likewise.
10446 * rt/tst-aio7.c (TIMEOUT): Likewise.
10447 * rt/tst-aio9.c (TIMEOUT): Likewise.
10448 * rt/tst-clock.c (TIMEOUT): Likewise.
10449 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
10450 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
10451 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
10452 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
10453 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
10454 * rt/tst-timer4.c (TIMEOUT): Likewise.
10455 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
10456 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
10457 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
10458 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
10459 * time/tst-ftime.c (TIMEOUT): Likewise.
10460 * timezone/tst-tzset.c (TIMEOUT): Likewise.
10461
6b5c8607 104622018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
75c1aee5
AY
10463
10464 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
10465 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
10466 for thunderX2.
10467
bcdb1bfa
JM
104682018-10-15 Joseph Myers <joseph@codesourcery.com>
10469
10470 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10471 bits/sem-pad.h.
10472 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
10473 instead of <bits/wordsize.h>.
10474 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
10475 and [__SEM_PAD_AFTER_TIME].
10476 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
10477 __syscall_ulong_t instead of unsigned long int.
10478 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
10479 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
10480 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
10481 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
10482 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
10483 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
10484 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
10485 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
10486 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
10487 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
10488 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
10489
f4efbdfb
PE
104902018-10-14 Paul Eggert <eggert@cs.ucla.edu>
10491
620a5d4c
PE
10492 regex: simplify by using intprops.h
10493 [BZ#23744]
10494 * posix/regex_internal.h [_LIBC]: Include intprops.h.
10495 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
10496 intprops.h defines them.
10497
f4efbdfb
PE
10498 regex: __builtin_expect → __glibc_unlikely
10499 [BZ#23744]
10500 This refactoring was prompted by a problem when the regex code is
10501 used as part of Gnulib and when the builder’s compiler does not grok
10502 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
10503 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
10504 Although this refactoring does not fix the problem directly,
10505 we might as well have Gawk use the now-preferred glibc style for when
10506 __builtin_expect is unavailable.
10507 * posix/regex_internal.h (BE): Remove.
10508 All uses replaced by __glibc_unlikely or __glibc_likely.
10509
9f9feb6d
JM
105102018-10-11 Joseph Myers <joseph@codesourcery.com>
10511
10512 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10513 bits/msq-pad.h.
10514 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
10515 instead of <bits/wordsize.h>.
10516 (msgqnum_t): Define as __syscall_ulong_t.
10517 (msglen_t): Likewise.
10518 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
10519 and [__MSQ_PAD_AFTER_TIME].
10520 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
10521 __syscall_ulong_t instead of unsigned long int.
10522 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
10523 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
10524 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
10525 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
10526 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
10527 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
10528 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
10529 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
10530 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
10531 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
10532 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
10533
b9c0f6c1
JM
105342018-10-10 Joseph Myers <joseph@codesourcery.com>
10535
2a4b25fa
JM
10536 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
10537 (struct shmid_ds): Condition padding after time fields on
10538 [__WORDSIZE == 32].
10539 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
10540 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
10541 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
10542
19e62f26
JM
10543 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
10544 (struct semid_ds): Condition padding after time fields on
10545 [__WORDSIZE == 32].
10546 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
10547 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
10548 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
10549 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
10550
b9c0f6c1
JM
10551 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
10552 (struct msqid_ds): Condition padding after time fields on
10553 [__WORDSIZE == 32].
10554 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
10555 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
10556 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
10557 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
10558
97785a61
SN
105592018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
10560
10561 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
10562
ed643089
SN
105632018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
10564
10565 * libio/tst-readline.c (TIMEOUT): Define.
10566
5a580643
PE
105672018-10-08 Paul Eggert <eggert@cs.ucla.edu>
10568
10569 mktime fix for Gnulib + coreutils
10570 [BZ#23745]
10571 This fix affects only Gnulib. Problem discovered when
10572 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
10573 * time/mktime.c:
10574 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
10575 Do not define since it is not used. Defining an unused static
10576 function prompts a warning from GCC when Coreutils is configured
10577 with --enable-gcc-warnings.
10578
c892ae04
LS
105792018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10580
10581 * benchtests/scripts/compare_bench.py (main): set float type on
10582 threshold argument.
10583
a68ec8ea
RL
105842018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
10585
10586 [BZ #23740]
10587 * localedata/locales/kl_GL (mon): Update, the relative case.
10588 (alt_mon): Add, fill with month names in the nominative case.
10589 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
10590 (d_fmt): Set to "%b %d %Y".
10591
a1987621
JM
105922018-10-04 Joseph Myers <joseph@codesourcery.com>
10593
47c49251
JM
10594 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
10595 <bits/mman-linux.h>.
10596 (PROT_READ): Don't define here.
10597 (PROT_WRITE): Likewise.
10598 (PROT_EXEC): Likewise.
10599 (PROT_NONE): Likewise.
10600 (PROT_GROWSDOWN): Likewise.
10601 (PROT_GROWSUP): Likewise.
10602 (MAP_SHARED): Likewise.
10603 (MAP_PRIVATE): Likewise.
10604 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
10605 [__USE_MISC] (MAP_FILE): Likewise.
10606 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
10607 [__USE_MISC] (MAP_ANON): Likewise.
10608 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
10609 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
10610 (MCL_CURRENT): Likewise.
10611 (MCL_FUTURE): Likewise.
10612 (MCL_ONFAULT): Likewise.
10613 [__USE_MISC] (MADV_NORMAL): Likewise.
10614 [__USE_MISC] (MADV_RANDOM): Likewise.
10615 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
10616 [__USE_MISC] (MADV_WILLNEED): Likewise.
10617 [__USE_MISC] (MADV_DONTNEED): Likewise.
10618 [__USE_MISC] (MADV_FREE): Likewise.
10619 [__USE_MISC] (MADV_REMOVE): Likewise.
10620 [__USE_MISC] (MADV_DONTFORK): Likewise.
10621 [__USE_MISC] (MADV_DOFORK): Likewise.
10622 [__USE_MISC] (MADV_HWPOISON): Likewise.
10623 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
10624 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
10625 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
10626 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
10627 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
10628 (__MAP_ANONYMOUS): New macro.
10629 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
10630 <bits/mman-linux.h> inclusion.
10631 (MAP_FIXED): Likewise.
10632 (MS_SYNC): Likewise.
10633 (MS_ASYNC): Likewise.
10634 (MS_INVALIDATE): Likewise.
10635 [__USE_MISC] (MADV_MERGEABLE): Likewise.
10636 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
10637 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
10638 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
10639 [__USE_MISC] (MADV_DONTDUMP): Likewise.
10640 [__USE_MISC] (MADV_DODUMP): Likewise.
10641 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
10642 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
10643
a1987621
JM
10644 [BZ #23735]
10645 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
10646 Define.
10647 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
10648 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
10649 Add test-nldbl-redirect.
10650 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
10651 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
10652 $(objpfx)libnldbl_nonshared.a.
10653
e7624d70
SL
106542018-10-04 Stefan Liebler <stli@linux.ibm.com>
10655
10656 * support/support.h (support_objdir_elf_ldso): New variable.
10657 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
10658 * support/Makefile (CFLAGS-support_paths.c): Add definition
10659 for OBJDIR_ELF_LDSO_PATH.
10660 * support/test-container.c (main): Search for the ld.so
10661 which is also used by the testsuite.
10662
dae3ed95
RL
106632018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
10664
10665 [BZ #20209]
10666 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
10667 should be "sap" rather than "sab".
10668 (day): Fix spelling of Sunday, should be "sapaat" rather than
10669 "sabaat".
10670
f346b5b3
JM
106712018-10-02 Joseph Myers <joseph@codesourcery.com>
10672
10673 * math/libm-test-fma.inc (fma_test_data): Add more tests.
10674
4a06ceea
MJ
106752018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
10676
10677 [BZ #19444]
10678 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
10679 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
10680 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
10681
a06fc4a5
AZ
106822018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10683
10684 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
10685
a1ccc065
L
106862018-10-02 H.J. Lu <hongjiu.lu@intel.com>
10687
10688 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
10689 Add -mrtm.
10690 (CFLAGS-elision-unlock.c): Likewise.
10691 (CFLAGS-elision-timed.c): Likewise.
10692 (CFLAGS-elision-trylock.c): Likewise.
10693 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
10694
0b727ed4
AZ
106952018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10696
10697 [BZ #21037]
10698 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
10699 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
10700 new fd_to_filename interface.
10701 * libio/freopen64.c (freopen64): Likewise.
10702 * libio/tst-memstream.h: New file.
10703 * libio/tst-memstream4.c: Likewise.
10704 * libio/tst-wmemstream4.c: Likewise.
10705 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
10706 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
10707 and remove internal dynamic allocation.
10708
d0e91e8c
JM
107092018-10-01 Joseph Myers <joseph@codesourcery.com>
10710
10711 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
10712 (MREMAP_MAYMOVE): Do not define here.
10713 [__USE_GNU] (MREMAP_FIXED): Likewise.
10714 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
10715 (MREMAP_MAYMOVE): Define here instead.
10716 [__USE_GNU] (MREMAP_FIXED): Likewise.
10717 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
10718 (MREMAP_MAYMOVE): Remove.
10719 [__USE_GNU] (MREMAP_FIXED): Likewise.
10720
c52944e8
JM
107212018-09-28 Joseph Myers <joseph@codesourcery.com>
10722
10723 * math/fromfp.h: Do not include <math_private.h>.
10724 * math/s_cacosh_template.c: Likewise.
10725 * math/s_casin_template.c: Likewise.
10726 * math/s_casinh_template.c: Likewise.
10727 * math/s_ccos_template.c: Likewise.
10728 * math/s_cproj_template.c: Likewise.
10729 * math/s_fdim_template.c: Likewise.
10730 * math/s_fmaxmag_template.c: Likewise.
10731 * math/s_fminmag_template.c: Likewise.
10732 * math/s_iseqsig_template.c: Likewise.
10733 * math/s_ldexp_template.c: Likewise.
10734 * math/s_nextdown_template.c: Likewise.
10735 * math/w_log1p_template.c: Likewise.
10736 * math/w_scalbln_template.c: Likewise.
10737 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
10738 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
10739 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
10740 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
10741 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
10742 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
10743 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
10744 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
10745 * sysdeps/i386/fpu/s_atanl.c: Likewise.
10746 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
10747 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
10748 * sysdeps/i386/fpu/s_fdim.c: Likewise.
10749 * sysdeps/i386/fpu/s_logbl.c: Likewise.
10750 * sysdeps/i386/fpu/s_rintl.c: Likewise.
10751 * sysdeps/i386/fpu/s_significandl.c: Likewise.
10752 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
10753 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
10754 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10755 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10756 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
10757 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10758 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10759 * sysdeps/ieee754/k_standardf.c: Likewise.
10760 * sysdeps/ieee754/k_standardl.c: Likewise.
10761 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10762 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
10763 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
10764 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
10765 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
10766 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
10767 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10768 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10769 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10770 * sysdeps/ieee754/s_signgam.c: Likewise.
10771 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
10772 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
10773 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
10774 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
10775 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
10776 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
10777 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
10778 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
10779 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
10780 * sysdeps/riscv/rvd/s_finite.c: Likewise.
10781 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
10782 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
10783 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
10784 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
10785 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
10786 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
10787 * sysdeps/riscv/rvf/fegetround.c: Likewise.
10788 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
10789 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
10790 * sysdeps/riscv/rvf/fesetround.c: Likewise.
10791 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
10792 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
10793 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
10794 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
10795 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
10796 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
10797 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
10798 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
10799 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
10800 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
10801 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
10802 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
10803 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
10804 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
10805 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
10806 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
10807 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
10808 <math_private.h>.
10809 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
10810
7b1f9406
L
108112018-09-28 H.J. Lu <hongjiu.lu@intel.com>
10812
10813 [BZ #23716]
10814 * sysdeps/i386/dl-cet.c: Removed.
10815 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
10816 prototype.
10817 (_dl_runtime_profile_shstk): Likewise.
10818 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
10819 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
10820
7a16bdbb
AZ
108212018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10822
10823 [BZ #23579]
10824 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
10825 do_test_with_invalid_iov): New tests.
10826 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
10827 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
10828 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
10829 errno is ENOSYS.
10830 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
10831 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
10832 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
10833
9755bc46
JM
108342018-09-27 Joseph Myers <joseph@codesourcery.com>
10835
81dca813
JM
10836 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10837 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
10838 (MATH_REDIRECT_BINARY_ARGS): New macro.
10839 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10840 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
10841 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
10842 header inclusion.
10843 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
10844 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10845 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
10846 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10847 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10848 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10849 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
10851 Likewise.
10852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
10853 Likewise.
10854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
10855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
10856 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
10857 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
10858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
10859 Likewise.
10860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
10861 Likewise.
10862 * sysdeps/generic/math_private_calls.h
10863 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
10864 Do not declare and define as an inline function.
10865 * math/divtc3.c (__divtc3): Use copysign functions instead of
10866 __copysign variants.
10867 * math/multc3.c (__multc3): Likewise.
10868 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
10869 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
10870 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10871 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
10872 Likewise.
10873 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10874 (__ieee754_yn): Likewise.
10875 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10876 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
10877 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10878 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10879 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
10880 (__sin): Likewise.
10881 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
10882 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10883 Likewise.
10884 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10885 Likewise.
10886 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10887 Likewise.
10888 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10889 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10890 Likewise.
10891 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10892 (__ieee754_ynf): Likewise.
10893 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
10894 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10895 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
10896 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10897 Likewise.
10898 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10899 (__ieee754_ynl): Likewise.
10900 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10901 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10902 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10903 Likewise.
10904 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10905 (__ieee754_ynl): Likewise.
10906 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
10907 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10908 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10909 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10910 Likewise.
10911 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10912 (__ieee754_ynl)
10913 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
10914 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10915 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
10916 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
10917 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10918
9755bc46
JM
10919 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10920 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
10921 using MATH_REDIRECT.
10922 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
10923 header inclusion.
10924 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
10925 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10926 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10927 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
10928 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10929 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10930 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
10932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
10933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
10934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
10935 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
10936 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
10937 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10938 (round): Redirect to __round.
10939 (__roundl): Call round instead of __round.
10940 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
10941 Remove macro.
10942 [_ARCH_PWR5X] (__roundf): Likewise.
10943 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
10944 functions instead of __round variants.
10945 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
10946 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
10947 Likewise.
10948 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
10949 Likewise.
10950 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
10951 Likewise.
10952 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
10953 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
10954 __lroundl.
10955 (__ieee754_expl): Call roundl instead of __roundl.
10956
f841c97e
AS
109572018-09-27 Andreas Schwab <schwab@suse.de>
10958
10959 [BZ #23717]
10960 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
10961 (do_test): Make st1 static.
10962
6ca8284e
AS
109632018-09-26 Andreas Schwab <schwab@suse.de>
10964
10965 [BZ #23707]
10966 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
10967 * elf/Makefile (tests): Add tst-unwind-ctor.
10968 (modules-names): Add tst-unwind-ctor-lib.
10969 ($(objpfx)tst-unwind-ctor): Depend on
10970 $(objpfx)tst-unwind-ctor-lib.so.
10971
61d8b5fe
JM
109722018-09-26 Joseph Myers <joseph@codesourcery.com>
10973
10974 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
10975 file. Most contents moved from ....
10976 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
10977 and include <bits/mman-map-flags-generic.h>.
10978 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10979 (sysdep_headers): Add bits/mman-map-flags-generic.h.
10980 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
10981 <bits/mman-map-flags-generic.h>.
10982 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
10983 macros defined in <bits/mman-map-flags-generic.h>.
10984 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
10985 <bits/mman-map-flags-generic.h>.
10986 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
10987 defined in <bits/mman-map-flags-generic.h>.
10988
46341286
AS
109892018-09-26 Andreas Schwab <schwab@suse.de>
10990
10991 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
10992 output.
10993
b5c45e83
AZ
109942018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
10995 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10996 Fangrui Song <maskray@google.com>
10997
10998 [BZ #20480]
10999 * config.make.in (have-textrel_ifunc): New define.
11000 * configure.ac: Add check if linker supports textrel relocation with
11001 ifunc.
11002 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
11003 tst-ifunc-textrel.
11004 (CFLAGS-tst-ifunc-textrel.c): New rule.
11005 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
11006 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
11007 * elf/tst-ifunc-textrel.c: New file.
11008
8ea4d2b7
JM
110092018-09-25 Joseph Myers <joseph@codesourcery.com>
11010
d62f9ec0
JM
11011 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
11012 <bits/procfs-prregset.h>.
11013 (prgregset_t): Define using __prgregset_t.
11014 (prfpregset_t): Define using __prfpregset_t.
11015 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11016 (sysdep_headers): Add bits/procfs-prregset.h.
11017 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
11018 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
11019 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
11020 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
11021
d0d8eb43
JM
11022 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
11023 <bits/procfs-id.h> and <bits/procfs-extra.h>.
11024 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
11025 pr_uid and pr_gid.
11026 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11027 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
11028 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
11029 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
11030 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
11031 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
11032 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
11033 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
11034 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
11035 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
11036 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
11037 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
11038 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
11039 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
11040 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
11041 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
11042 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
11043 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
11044 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
11045 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
11046 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
11047 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
11048 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11049 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
11050
8ea4d2b7
JM
11051 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
11052 AArch64 version. Include <bits/procfs.h>.
11053 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11054 (sysdep_headers): Add bits/procfs.h.
11055 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
11056 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
11057 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
11058 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
11059 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
11060 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
11061 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
11062 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
11063 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
11064 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
11065 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
11066 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
11067 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
11068 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
11069 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
11070 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
11071 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
11072
c7027166
AZ
110732018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11074
11075 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
11076 Use libsupport.
11077
335a3b0a
AS
110782018-09-25 Arjun Shankar <arjun@redhat.com>
11079
11080 * iconv/gconv_int.h (__gconv_path_elem): Remove.
11081 (__gconv_max_path_elem_len): Likewise.
11082 (__gconv_nmodules): Likewise.
11083 (__gconv_get_path): Likewise.
11084 (path_elem): Move to ...
11085 * iconv/gconv_conf.c: ... here.
11086 (__gconv_get_path): Mark function static.
11087 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
11088 * iconv/gconv_open.c: ... here.
11089
462d348c
AS
110902018-09-24 Andreas Schwab <schwab@suse.de>
11091
11092 * scripts/haveversions.awk: New file.
11093 * Makerules ($(common-objpfx)Versions.def)
11094 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
11095 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
11096 Move rules ...
11097 * Makeconfig ($(common-objpfx)Versions.def)
11098 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
11099 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
11100 ... here.
11101 ($(common-objpfx)Versions.mk): New rule. Include it.
11102 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
11103 Emit error if build-obsolete-nsl = yes.
11104 * manual/install.texi (Configuring and compiling): Describe
11105 --enable-obsolete-nsl as unavaiable after version 2.28.
11106 * INSTALL: Regenerate.
11107
f0458cf4
AZ
111082018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11109
11110 * NEWS: Add note about new TLE support on powerpc64le.
11111 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
11112 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
11113 __ununsed1.
11114 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
11115 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
11116 * sysdeps/powerpc/powerpc32/sysdep.h,
11117 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
11118 ABORT_TRANSACTION): Remove macros.
11119 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
11120 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
11121 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
11122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
11123 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11124 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
11125 usage.
11126 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
11127
434d45fd
RL
111282018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
11129
11130 [BZ #10425]
11131 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
11132 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
11133 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
11134 which is the same as in it_IT.
11135 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
11136 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
11137
d90c9b1a
JM
111382018-09-20 Joseph Myers <joseph@codesourcery.com>
11139
7abf97be
JM
11140 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11141 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
11142 using MATH_REDIRECT.
11143 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
11144 header inclusion.
11145 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
11146 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
11147 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
11148 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
11149 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11150 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
11152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
11153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
11154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
11155 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
11156 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
11157 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
11158 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
11159 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
11160 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
11161 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
11162 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11163 (ceil): Redirect to __ceil.
11164 (floor): Redirect to __floor.
11165 (trunc): Redirect to __trunc.
11166 (__truncl): Call trunc instead of __trunc.
11167 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
11168 Remove macro.
11169 [_ARCH_PWR5X] (__truncf): Likewise.
11170 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
11171 trunc functions instead of __trunc variants.
11172 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11173 Likewise.
11174 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11175 Likewise.
11176 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11177 Likewise.
11178 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11179 Likewise.
11180
d90c9b1a
JM
11181 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
11182 [__i586__ || __pentium__].
11183 [__i486__]: Handle explicitly.
11184 (HAS_CPUID): Define to 1 if above macros are undefined.
11185 (HAS_I586): Likewise.
11186 (HAS_I686): Likewise.
11187
db9a8ad4
FW
111882018-09-20 Florian Weimer <fweimer@redhat.com>
11189
11190 * misc/tst-gethostid.c: New file.
11191 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
11192 (tst-gethostid): Link with -ldl.
11193
1214ba06
MY
111942018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
11195
11196 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
11197 value from gethostbyname_r.
11198
791b350d
CD
111992018-09-19 Carlos O'Donell <carlos@redhat.com>
11200
11201 * stdlib/tst-setcontext9.c (f1): Rename to...
11202 (f1a): ... this.
11203 (f1b): New function implementing lower half of f1 in alternate stack.
11204
8e6fd2bd
PE
112052018-09-19 Paul Eggert <eggert@cs.ucla.edu>
11206
e1080e7e
PE
11207 Fix mktime localtime offset confusion
11208 [BZ #23603]
11209 * include/time.h (__mktime_internal): The localtime offset is now
11210 of type long int instead of time_t. This is the longstanding type
11211 in glibc, and it is more than enough to represent difference
11212 between localtime and gmtime even if it is 32 bits and time_t is
11213 64. Changing it now will let us avoid an unnecessary change when
11214 time_t is widened to 64 bits on 32-bit platforms.
11215 * time/mktime-internal.h (mktime_offset_t): Now long int.
11216
8e6fd2bd
PE
11217 Merge mktime, timegm from upstream Gnulib
11218 [BZ #23603][BZ #16346]
11219 This fixes some obscure problems with integer overflow.
11220 Although it looks scary, it is almost all a byte-for-byte copy
11221 from Gnulib, and the Gnulib code has been tested reasonably well.
11222 * include/intprops.h: New file, copied from Gnulib.
11223 * include/verify.h, time/mktime-internal.h:
11224 New tiny files, simplified from Gnulib.
11225 * time/mktime.c: Copy from Gnulib. This has the following changes:
11226 Do not include config.h if DEBUG_MKTIME is nonzero.
11227 Include stdbool.h, intprops.h, verify.h.
11228 Include string.h only if needed.
11229 Include stdlib.h on MS-Windows.
11230 Include mktime-internal.h.
11231 (DEBUG_MKTIME): Default to 0, and simplify later uses.
11232 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
11233 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
11234 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
11235 simplify later conditionals; default the others to zero. Use
11236 these conditionals to express only the code needed on the current
11237 platform. In uses of these conditionals, explicitly spell out how
11238 _LIBC affects things, so it’s easier to review from a glibc
11239 viewpoint.
11240 (WRAPV): Remove; no longer needed now that we have
11241 systematic overflow checking.
11242 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
11243 compartmentalize tzset issues. Move system-dependent tzsettish
11244 code here from mktime.
11245 (verify): Remove; now done by verify.h. All uses changed.
11246 (long_int): Use a more-conservative definition, to avoid
11247 integer overflow.
11248 (SHR): Remove, replacing with ...
11249 (shr): New function, which means we needn’t worry about side
11250 effects in args, and conversion analysis is simpler.
11251 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
11252 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
11253 (time_t_avg, time_t_add_ok): Remove.
11254 (mktime_min, mktime_max): New constants.
11255 (leapyear, isdst_differ): Use bool for booleans.
11256 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
11257 Use long_int, not time_t, for mktime differences.
11258 (long_int_avg): New function, replacing time_t_avg.
11259 INT_ADD_WRAPV replaces time_t_add_ok.
11260 (guess_time_tm): 6th arg is now long_int, not time_t const *.
11261 All uses changed.
11262 (convert_time): New function.
11263 (ranged_convert): Use it.
11264 (__mktime_internal): Last arg now points to mktime_offset_t, not
11265 time_t. All uses changed. This is a no-op on glibc, where
11266 mktime_offset_t is always time_t. Use int, not time_t, for UTC
11267 offset guess. Directly check for integer overflow instead of
11268 using a heuristic that works only 99.9...% of the time.
11269 Access *OFFSET only once, to avoid an unlikely race if the
11270 compiler delays a load and if this cascades into a signed integer
11271 overflow.
11272 (mktime): Move tzsettish code to my_tzset, and move
11273 localtime_offset to within mktime so that it doesn’t
11274 need a separate ifdef.
11275 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
11276 instead of localtime.
11277 * time/timegm.c: Copy from Gnulib. This has the following changes:
11278 Include mktime-internal.h.
11279 [!_LIBC]: Include config.h and time.h. Do not include
11280 timegm.h or time_r.h. Make __mktime_internal a macro,
11281 and include mktime-internal.h to get its declaration.
11282 (timegm): Temporary is now mktime_offset_t, not time_t.
11283 This affects only Gnulib.
11284
83a552b0
WD
112852018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
11286
11287 [BZ #23637]
11288 * string/test-strstr.c (pr23637): New function.
11289 (test_main): Add tests with longer needles.
11290 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
11291 * string/strstr.c (AVAILABLE): Likewise.
11292
d7347278
SN
112932018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
11294
11295 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
11296
424c4f60
SN
112972018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
11298
11299 * NEWS: Mention pow improvements.
11300 * math/Makefile (type-double-routines): Add e_pow_log_data.
11301 * sysdeps/generic/math_private.h (__exp1): Remove.
11302 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
11303 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
11304 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
11305 contraction.
11306 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
11307 (exp_inline): Remove.
11308 (__ieee754_exp): Only single double input is handled.
11309 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
11310 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
11311 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
11312 (__pow_log_data): Define.
11313 * sysdeps/ieee754/dbl-64/upow.h: Remove.
11314 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
11315 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
11316 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
11317 contraction.
11318 (CFLAGS-e_pow-fma4.c): Likewise.
11319
e4e4fde5
PE
113202018-09-18 Paul Eggert <eggert@cs.ucla.edu>
11321
dab9c348
PE
11322 Simplify tzfile fstat failure code
11323 [BZ #21716]
11324 * time/tzfile.c (__tzfile_read): Simplify slightly.
11325
e4e4fde5
PE
11326 Fix tzfile low-memory assertion failure
11327 [BZ #21716]
11328 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
11329 when registering time zone abbreviations.
11330
50bc59ca
JM
113312018-09-18 Joseph Myers <joseph@codesourcery.com>
11332
d3a43e49
JM
11333 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
11334 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
11335 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
11336 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
11337 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
11338 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
11339 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
11340 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11341 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11342
50bc59ca
JM
11343 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
11344 __ceil.
11345 (__ceill): Call ceil instead of __ceil.
11346 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
11347 __floor.
11348 (__floorl): Call floor instead of __floor.
11349
89983cb3
JM
113502018-09-17 Joseph Myers <joseph@codesourcery.com>
11351
71223ef9
JM
11352 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11353 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
11354 using MATH_REDIRECT.
11355 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
11356 header inclusion.
11357 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
11358 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11359 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11360 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
11361 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11362 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11363 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11364 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
11365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
11366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
11367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
11368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
11369 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
11370 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
11371 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
11372 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
11373 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
11374 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
11375 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
11376 Remove macro.
11377 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
11378 functions instead of __ceil variants.
11379 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
11380 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
11381 Likewise.
11382 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
11383 Likewise.
11384 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
11385 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
11386 Likewise.
11387 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
11388 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11389
89983cb3
JM
11390 [BZ #21286]
11391 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
11392 constant.
11393 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
11394 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
11395 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
11396 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
11397 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
11398 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
11399 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
11400 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
11401 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
11402 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
11403 (ILL_BADIADDR): Remove constant.
11404 (TRAP_BRANCH): Likewise.
11405 (TRAP_HWBKPT): Likewise.
11406
e44acb20
JM
114072018-09-14 Joseph Myers <joseph@codesourcery.com>
11408
3f7f1d18
JM
11409 [BZ #23656]
11410 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
11411 Remove [_MIPS_SIM = _ABIN32] conditional case.
11412 (struct elf_prpsinfo): Likewise.
11413
d59f3e5e
JM
11414 [BZ #23649]
11415 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
11416 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
11417 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
11418 Likewise.
11419 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
11420 elf_prpsinfo): Likewise.
11421 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
11422 elf_prpsinfo): Likewise.
11423 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
11424 Likewise.
11425
f29b6f17
JM
11426 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11427 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
11428 using MATH_REDIRECT.
11429 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
11430 header inclusion.
11431 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
11432 * sysdeps/alpha/fpu/s_rint.c: Likewise.
11433 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
11434 * sysdeps/i386/fpu/s_rintl.c: Likewise.
11435 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11436 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11437 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
11438 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11439 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11440 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11441 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
11442 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
11443 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
11444 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
11445 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
11446 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
11447 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11448 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
11449 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
11450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
11451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
11452 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
11453 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
11454 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
11455 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
11456 * sysdeps/x86_64/fpu/math_private.h: Remove file.
11457 * math/e_scalb.c (invalid_fn): Use rint functions instead of
11458 __rint variants.
11459 * math/e_scalbf.c (invalid_fn): Likewise.
11460 * math/e_scalbl.c (invalid_fn): Likewise.
11461 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
11462 Likewise.
11463 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11464 Likewise.
11465 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
11466 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
11467 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11468 Likewise.
11469 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11470 Likewise.
11471 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11472 Likewise.
11473 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
11474 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
11475
e44acb20
JM
11476 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11477 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
11478 New macro.
11479 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
11480 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
11481 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
11482 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
11483 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
11484 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
11485 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
11486 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
11487 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
11488 && !NO_MATH_REDIRECT] (floor): Likewise.
11489 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
11490 header inclusion.
11491 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
11492 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11493 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11494 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
11495 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11496 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11497 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11498 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
11499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
11500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
11501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
11502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
11503 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
11504 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
11505 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
11506 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
11507 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
11508 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
11509 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
11510 Remove macro.
11511 [_ARCH_PWR5X] (__floorf): Likewise.
11512 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
11513 inline function.
11514 [__SSE4_1__] (__floorf): Likewise.
11515 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
11516 instead of __floor variants.
11517 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
11518 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
11519 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
11520 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
11521 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
11522 * math/w_tgamma_compat.c (__tgamma): Likewise.
11523 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
11524 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
11525 * math/w_tgammal_compat.c (__tgammal): Likewise.
11526 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
11527 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
11528 Likewise.
11529 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
11530 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
11531 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
11532 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11533 Likewise.
11534 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
11535 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
11536 Likewise.
11537 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
11538 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
11539 Likewise.
11540 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11541 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
11542 Likewise.
11543 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11544 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
11545 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
11546 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
11547 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
11548 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11549
221e4bab
JM
115502018-09-12 Joseph Myers <joseph@codesourcery.com>
11551
11552 * elf/Makefile (modules-names-tests): New variable.
11553
3e08ff54
SN
115542018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
11555
11556 * NEWS: Mention log2 improvements.
11557 * math/Makefile (type-double-routines): Add e_log2_data.
11558 * sysdeps/i386/fpu/e_log2_data.c: New file.
11559 * sysdeps/ia64/fpu/e_log2_data.c: New file.
11560 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
11561 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
11562 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
11563 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
11564 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
11565
f41b0a43
SN
115662018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
11567
11568 * NEWS: Mention log improvement.
11569 * math/Makefile (type-double-routines): Add e_log_data.
11570 * sysdeps/i386/fpu/e_log_data.c: New file.
11571 * sysdeps/ia64/fpu/e_log_data.c: New file.
11572 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
11573 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
11574 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
11575 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
11576 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
11577 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
11578
5a274db4
L
115792018-09-12 H.J. Lu <hongjiu.lu@intel.com>
11580 Xuepeng Guo <xuepeng.guo@intel.com>
11581
11582 [BZ #23606]
11583 * sysdeps/i386/start.S: Include <sysdep.h>
11584 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
11585 enabled. Add cfi_undefined (eip).
11586
b1176270
JM
115872018-09-11 Joseph Myers <joseph@codesourcery.com>
11588
4e7fbdd7
JM
11589 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
11590 (MOVQ): Likewise.
11591 (EXTRACT_WORDS64): Likewise.
11592 (INSERT_WORDS64): Likewise.
11593 (GET_FLOAT_WORD): Likewise.
11594 (SET_FLOAT_WORD): Likewise.
11595
b1176270
JM
11596 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
11597 argument.
11598 (Config.build_gcc): Use --disable-libsanitizer for first GCC
11599 build, but not for second build if --full-gcc. Use
11600 --enable-languages=all for second build if --full-gcc.
11601 (get_parser): Add --full-gcc option.
11602 (main): Update call to Context.
11603
527f355e
RL
116042018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
11605
11606 [BZ #10797]
11607 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
11608 Single Quotation Mark).
11609 (thousands_sep): Likewise.
11610 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
11611 * localedata/locales/it_IT (thousands_sep): Use ".".
11612 (grouping): Use "3;3".
11613
7244f13d
JM
116142018-09-10 Joseph Myers <joseph@codesourcery.com>
11615
11616 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
11617 x86_64 and i686 configs using --enable-obsolete-rpc
11618 --enable-obsolete-nsl.
11619
38245425
SL
116202018-09-06 Stefan Liebler <stli@linux.ibm.com>
11621
11622 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11623
28669f86
SL
116242018-09-06 Stefan Liebler <stli@linux.ibm.com>
11625
11626 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
11627 Increment size of new_argv by one.
11628
a33650d1
RL
116292018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
11630
11631 [BZ #17426]
11632 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
11633 * localedata/locales/ar_IN (d_fmt): Likewise.
11634 * localedata/locales/bhb_IN (d_fmt): Likewise.
11635 * localedata/locales/bho_IN (d_fmt): Likewise.
11636 * localedata/locales/bn_BD (d_fmt): Likewise.
11637 * localedata/locales/bn_IN (d_fmt): Likewise.
11638 * localedata/locales/doi_IN (d_fmt): Likewise.
11639 * localedata/locales/gu_IN (d_fmt): Likewise.
11640 * localedata/locales/hi_IN (d_fmt): Likewise.
11641 * localedata/locales/hne_IN (d_fmt): Likewise.
11642 * localedata/locales/kn_IN (d_fmt): Likewise.
11643 * localedata/locales/mag_IN (d_fmt): Likewise.
11644 * localedata/locales/mai_IN (d_fmt): Likewise.
11645 * localedata/locales/mjw_IN (d_fmt): Likewise.
11646 * localedata/locales/ml_IN (d_fmt): Likewise.
11647 * localedata/locales/mni_IN (d_fmt): Likewise.
11648 * localedata/locales/mr_IN (d_fmt): Likewise.
11649 * localedata/locales/pa_IN (d_fmt): Likewise.
11650 * localedata/locales/raj_IN (d_fmt): Likewise.
11651 * localedata/locales/sat_IN (d_fmt): Likewise.
11652 * localedata/locales/sd_IN (d_fmt): Likewise.
11653 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
11654 * localedata/locales/ta_IN (d_fmt): Likewise.
11655 * localedata/locales/ta_LK (d_fmt): Likewise.
11656 * localedata/locales/tcy_IN (d_fmt): Likewise.
11657 * localedata/locales/ur_IN (d_fmt): Likewise.
11658
11659 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
11660 * localedata/locales/ks_IN (d_fmt): Likewise.
11661 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
11662
11663 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
11664 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
11665 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
11666 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
11667
d114e6a7
SN
116682018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
11669
11670 * NEWS: Mention exp and exp2 improvements.
11671 * math/Makefile (libm-support): Remove t_exp.
11672 (type-double-routines): Add math_err and e_exp_data.
11673 * sysdeps/aarch64/libm-test-ulps: Update.
11674 * sysdeps/arm/libm-test-ulps: Update.
11675 * sysdeps/i386/fpu/e_exp_data.c: New file.
11676 * sysdeps/i386/fpu/math_err.c: New file.
11677 * sysdeps/i386/fpu/t_exp.c: Remove.
11678 * sysdeps/ia64/fpu/e_exp_data.c: New file.
11679 * sysdeps/ia64/fpu/math_err.c: New file.
11680 * sysdeps/ia64/fpu/t_exp.c: Remove.
11681 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
11682 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
11683 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
11684 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
11685 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
11686 * sysdeps/ieee754/dbl-64/math_config.h: New file.
11687 * sysdeps/ieee754/dbl-64/math_err.c: New file.
11688 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
11689 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
11690 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
11691 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
11692 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
11693 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
11694 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
11695 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11696 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11697
b9d8c474
JM
116982018-09-05 Joseph Myers <joseph@codesourcery.com>
11699
b7cdc2ae
JM
11700 * sysdeps/alpha/fpu/math_private.h: Remove.
11701
b9d8c474
JM
11702 * sysdeps/generic/math_private.h
11703 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
11704 Move this inline function ....
11705 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
11706 * include/math.h [!_ISOMAC]: To here....
11707
418d99e6
JM
117082018-09-04 Joseph Myers <joseph@codesourcery.com>
11709
11710 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
11711 code ....
11712 [!FE_HAVE_ROUNDING_MODES]: And this code ....
11713 * include/fenv.h [!_ISOMAC]: ... to here.
11714 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
11715 (feraiseexcept): Likewise.
11716 * math/fromfp.h: Do not include <fenv_private.h>.
11717 * math/s_cexp_template.c: Likewise.
11718 * math/s_csin_template.c: Likewise.
11719 * math/s_csinh_template.c: Likewise.
11720 * math/s_ctan_template.c: Likewise.
11721 * math/s_ctanh_template.c: Likewise.
11722 * math/s_iseqsig_template.c: Likewise.
11723 * math/w_acos_compat.c: Likewise.
11724 * math/w_acosf_compat.c: Likewise.
11725 * math/w_acosl_compat.c: Likewise.
11726 * math/w_asin_compat.c: Likewise.
11727 * math/w_asinf_compat.c: Likewise.
11728 * math/w_asinl_compat.c: Likewise.
11729 * math/w_j0_compat.c: Likewise.
11730 * math/w_j0f_compat.c: Likewise.
11731 * math/w_j0l_compat.c: Likewise.
11732 * math/w_j1_compat.c: Likewise.
11733 * math/w_j1f_compat.c: Likewise.
11734 * math/w_j1l_compat.c: Likewise.
11735 * math/w_jn_compat.c: Likewise.
11736 * math/w_jnf_compat.c: Likewise.
11737 * math/w_log10_compat.c: Likewise.
11738 * math/w_log10f_compat.c: Likewise.
11739 * math/w_log10l_compat.c: Likewise.
11740 * math/w_log2_compat.c: Likewise.
11741 * math/w_log2f_compat.c: Likewise.
11742 * math/w_log2l_compat.c: Likewise.
11743 * math/w_log_compat.c: Likewise.
11744 * math/w_logf_compat.c: Likewise.
11745 * math/w_logl_compat.c: Likewise.
11746 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11747 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11748 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11749 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11750 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11751 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11752 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11753 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11754 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11755 * sysdeps/ieee754/k_standardl.c: Likewise.
11756 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11757 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11758 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11759 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11760 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11761 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11762 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11763 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11764 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11765 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11766 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11767 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11768 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11769 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11770 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11771 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11772 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11773 * math/w_ilogb_template.c: Include <fenv.h> instead of
11774 <fenv_private.h>.
11775 * math/w_llogb_template.c: Likewise.
11776 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11777 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11778
70e2ba33
JM
117792018-09-03 Joseph Myers <joseph@codesourcery.com>
11780
11781 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
11782 * math/fromfp.h: Include <fenv_private.h>.
11783 * math/math-narrow.h: Likewise.
11784 * math/s_cexp_template.c: Likewise.
11785 * math/s_csin_template.c: Likewise.
11786 * math/s_csinh_template.c: Likewise.
11787 * math/s_ctan_template.c: Likewise.
11788 * math/s_ctanh_template.c: Likewise.
11789 * math/s_iseqsig_template.c: Likewise.
11790 * math/w_acos_compat.c: Likewise.
11791 * math/w_acosf_compat.c: Likewise.
11792 * math/w_acosl_compat.c: Likewise.
11793 * math/w_asin_compat.c: Likewise.
11794 * math/w_asinf_compat.c: Likewise.
11795 * math/w_asinl_compat.c: Likewise.
11796 * math/w_ilogb_template.c: Likewise.
11797 * math/w_j0_compat.c: Likewise.
11798 * math/w_j0f_compat.c: Likewise.
11799 * math/w_j0l_compat.c: Likewise.
11800 * math/w_j1_compat.c: Likewise.
11801 * math/w_j1f_compat.c: Likewise.
11802 * math/w_j1l_compat.c: Likewise.
11803 * math/w_jn_compat.c: Likewise.
11804 * math/w_jnf_compat.c: Likewise.
11805 * math/w_llogb_template.c: Likewise.
11806 * math/w_log10_compat.c: Likewise.
11807 * math/w_log10f_compat.c: Likewise.
11808 * math/w_log10l_compat.c: Likewise.
11809 * math/w_log2_compat.c: Likewise.
11810 * math/w_log2f_compat.c: Likewise.
11811 * math/w_log2l_compat.c: Likewise.
11812 * math/w_log_compat.c: Likewise.
11813 * math/w_logf_compat.c: Likewise.
11814 * math/w_logl_compat.c: Likewise.
11815 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
11816 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
11817 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
11818 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
11819 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11820 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11821 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11822 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11823 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11824 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11825 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11826 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11827 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
11828 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
11829 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11830 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
11831 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11832 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11833 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11834 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11835 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11836 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11837 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11838 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11839 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11840 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11841 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11842 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
11843 * sysdeps/ieee754/float128/float128_private.h: Likewise.
11844 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11845 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11846 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11847 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
11848 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11849 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11850 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11851 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11852 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11853 * sysdeps/ieee754/k_standardl.c: Likewise.
11854 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11855 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11856 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11857 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11858 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11859 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
11860 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11861 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11862 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11863 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11864 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11865 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11866 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11867 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11868 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11869 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
11870 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11871 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
11872 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11873 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11874 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11875 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11876 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11877 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11878 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11879 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11880 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11881 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
11882 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
11883 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11884 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11885 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11886 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11887 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11888 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11889 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
11890 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11891 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11892 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
11893 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
11894 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
11895 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
11896 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
11897 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
11898 * sysdeps/riscv/rvd/s_finite.c: Likewise.
11899 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
11900 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
11901 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
11902 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
11903 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
11904 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
11905 * sysdeps/riscv/rvf/fegetround.c: Likewise.
11906 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
11907 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
11908 * sysdeps/riscv/rvf/fesetround.c: Likewise.
11909 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
11910 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
11911 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
11912 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
11913 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
11914 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
11915 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
11916 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
11917 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
11918 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
11919 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
11920 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
11921 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
11922 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
11923 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
11924 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
11925
a6e8926f
PP
119262018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
11927
11928 [BZ #20271]
11929 * include/stdio.h (__libc_fatal): Mention newline in comment.
11930 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
11931 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
11932 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11933 * nss/nsswitch.c (__nss_next2): Likewise.
11934 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
11935 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
11936 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
11937 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11938 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
11939 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
11940 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
11941 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
11942 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
11943 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
11944 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
11945 * sysdeps/unix/sysv/linux/netlink_assert_response.c
11946 (__netlink_assert_response): Likewise.
11947
2bbd06bc
JM
119482018-08-31 Joseph Myers <joseph@codesourcery.com>
11949
11950 * conform/glibcconform.py: New file.
11951 * conform/list-header-symbols.py: Likewise.
11952 * conform/list-header-symbols.pl: Remove.
11953 * conform/Makefile (tests-special): Only add linknamespace tests
11954 if [PYTHON].
11955 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
11956
81b9d87b
L
119572018-08-31 H.J. Lu <hongjiu.lu@intel.com>
11958
11959 [BZ #23597]
11960 * support/Makefile (libsupport-routines): Add
11961 support_copy_file_range and xcopy_file_range.
11962 * support/support.h: Include <sys/types.h>.
11963 (support_copy_file_range): New prototype.
11964 * support/support_copy_file_range.c: New file. Copied and
11965 modified from io/copy_file_range-compat.c.
11966 * support/test-container.c (copy_one_file): Call xcopy_file_rang
11967 instead of copy_file_range.
11968 * support/xcopy_file_range.c: New file.
11969 * support/xunistd.h (xcopy_file_range): New prototype.
11970
d330f31a
CD
119712018-08-30 Carlos O'Donell <carlos@redhat.com>
11972
11973 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
11974 xpthread_create and xpthread_join.
11975
2bda273a
FW
119762018-08-30 Florian Weimer <fweimer@redhat.com>
11977
11978 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
11979
3bad2358
SL
119802018-08-30 Stefan Liebler <stli@linux.ibm.com>
11981
11982 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
11983 if malloc fails.
11984
09c12efc
JM
119852018-08-29 Joseph Myers <joseph@codesourcery.com>
11986
11987 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
11988 and minus_oflow as non-finite.
11989
ff6b2450
JM
119902018-08-28 Joseph Myers <joseph@codesourcery.com>
11991
11992 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
11993 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
11994 moved to fenv_private.h except for ...
11995 (TOINT_INTRINSICS): Kept in math_private.h.
11996 (roundtoint): Likewise.
11997 (converttoint): Likewise.
11998 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
11999 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
12000 * sysdeps/arm/math_private.h: Remove.
12001 * sysdeps/generic/fenv_private.h: New file. Contents moved from
12002 ....
12003 * sysdeps/generic/math_private.h: ... this file. Include
12004 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
12005 Include <fenv_private.h>. Remove functions and macros moved to
12006 fenv_private.h.
12007 * sysdeps/i386/fpu/math_private.h: Remove.
12008 * sysdeps/mips/math_private.h: Move to ....
12009 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
12010 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
12011 [__mips_hard_float] conditional. Include next <fenv_private.h>.
12012 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
12013 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
12014 * sysdeps/powerpc/fpu/math_private.h: Do not include
12015 <fenv_private.h>.
12016 * sysdeps/riscv/rvf/math_private.h: Move to ....
12017 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
12018 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
12019 <fenv_private.h>.
12020 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
12021 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
12022 * sysdeps/sparc/fpu/math_private.h: Remove.
12023 * sysdeps/i386/fpu/fenv_private.h: Move to ....
12024 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
12025 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
12026 <fenv_private.h>.
12027 * sysdeps/x86_64/fpu/math_private.h: Do not include
12028 <sysdeps/i386/fpu/fenv_private.h>.
12029
761404b7
FW
120302018-08-28 Florian Weimer <fweimer@redhat.com>
12031
12032 [BZ #23578]
12033 * posix/tst-regcomp-truncated.c: New file.
12034 * posix/Makefile (tests): Add it.
12035 (tst-regcomp-truncated.out): Depend on generated locales.
12036
d6c44c3d
FW
120372018-08-28 Florian Weimer <fweimer@redhat.com>
12038
12039 * support/test-container.c (main): Treat unshare failure with
12040 EPERM as an unsupported test.
12041
745664bd
FW
120422018-08-28 Florian Weimer <fweimer@redhat.com>
12043
12044 [BZ #23520]
12045 nscd: Fix use-after-free in addgetnetgrentX and its callers.
12046 * nscd/netgroupcache.c
12047 (addgetnetgrentX): Add tofreep parameter. Do not free
12048 heap-allocated buffer.
12049 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
12050 (addgetnetgrentX_ignore): New function.
12051 (addgetnetgrent): Call it.
12052 (readdgetnetgrent): Likewise.
12053
c8dd67e7
RS
120542018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12055
12056 * string/memmem.c: Use memcmp for first match.
12057
5abedf97
RL
120582018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
12059
12060 [BZ #17426]
12061 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
12062
86de0499
DD
120632018-08-27 DJ Delorie <dj@redhat.com>
12064
12065 * support/Makefile (others): Don't list programs explicitly as a
12066 dependency of "others".
12067
c3ab2110
JM
120682018-08-27 Joseph Myers <joseph@codesourcery.com>
12069
12070 * sysdeps/generic/math-tests-trap-force.h: New file.
12071 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
12072 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
12073 * sysdeps/powerpc/math-tests.h: Remove file.
12074 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
12075
6b5c8607
TS
120762018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
12077 Torvald Riegel <triegel@redhat.com>
99ea93ca
MK
12078
12079 [BZ #23538]
12080 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
12081 Update r to include the set wake-request flag if waiters are
12082 remaining after spinning.
12083
4061791f
JM
120842018-08-27 Joseph Myers <joseph@codesourcery.com>
12085
12086 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
12087
bc680b33
PE
120882018-08-25 Paul Eggert <eggert@cs.ucla.edu>
12089
761404b7 12090 [BZ #23578]
bc680b33
PE
12091 regex: fix uninitialized memory access
12092 I introduced this bug into gnulib in commit
12093 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
12094 eventually it was merged into glibc. The bug was found by
12095 project-repo <bugs@feusi.co> and reported here:
12096 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
12097 Diagnosis and draft fix reported by Assaf Gordon here:
12098 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
12099 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
12100 * posix/regex_internal.c (build_wcs_upper_buffer):
12101 Fix bug when mbrtowc returns 0.
12102
02458a52
CD
121032018-08-24 Carlos O'Donell <carlos@redhat.com>
12104
12105 * po/be.po: Update translation.
12106
acc2842a
DD
121072018-08-24 DJ Delorie <dj@delorie.com>
12108
12109 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
12110 $(libunwind).
12111
6c3a8a9d
PP
121122018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
12113
b39d961c
TS
12114 [BZ #23400]
12115 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
12116 create temporary files in source tree.
6c3a8a9d 12117
895ef79e
JM
121182018-08-24 Joseph Myers <joseph@codesourcery.com>
12119
12120 * sysdeps/generic/math-tests-trap.h: New file.
12121 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
12122 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
12123 * sysdeps/aarch64/math-tests.h: Remove file.
12124 * sysdeps/arm/math-tests.h: Likewise.
12125 * sysdeps/riscv/math-tests.h: Likewise.
12126 * sysdeps/aarch64/math-tests-trap.h: New file.
12127 * sysdeps/arm/math-tests-trap.h: Likewise.
12128 * sysdeps/riscv/math-tests-trap.h: Likewise.
12129
ca3aac57
WD
121302018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
12131
12132 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
12133 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
12134 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
12135 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
12136 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
12137 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
12138 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12139 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
12140 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
12141 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12142 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12143 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12144 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12145 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
12146 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
12147 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
12148 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
12149 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
12150
60bcac09
JM
121512018-08-23 Joseph Myers <joseph@codesourcery.com>
12152
12153 * sysdeps/generic/math-tests-exceptions.h: New file.
12154 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
12155 (EXCEPTION_TESTS_float): Do not define here.
12156 (EXCEPTION_TESTS_double): Likewise.
12157 (EXCEPTION_TESTS_long_double): Likewise.
12158 (EXCEPTION_TESTS_float128): Likewise.
12159 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
12160 Likewise.
12161 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
12162 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
12163 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
12164 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
12165 * sysdeps/mips/math-tests.h: Likewise.
12166 * sysdeps/nios2/math-tests.h: Likewise.
12167 * sysdeps/riscv/math-tests.h [!__riscv_flen]
12168 (EXCEPTION_TESTS_float): Do not define here.
12169 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
12170 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
12171 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
12172
3bded567
WD
121732018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
12174
12175 * NEWS: Move optimized sinf entry to 2.29.
12176
900fb446
WD
121772018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
12178
12179 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
12180
561b0bec
DD
121812018-08-22 DJ Delorie <dj@redhat.com>
12182
12183 * Makefile (testroot.pristine): New rules to initialize the
12184 test-in-container "testroot".
12185 * Makerules (all-testsuite): Add tests-container.
12186 * Rules (tests-expected): Add tests-container.
12187 (binaries-all-tests): Likewise.
12188 (tests-container): New, run these tests in the testroot container.
12189 * support/Makefile (others): Add *-container, support_paths.c,
12190 xmkdirp, and links-dso-program.
12191 * support/links-dso-program-c.c: New.
12192 * support/links-dso-program.cc: New.
12193 * support/test-container.c: New.
12194 * support/shell-container.c: New.
12195 * support/echo-container.c: New.
12196 * support/true-container.c: New.
12197 * support/xmkdirp.c: New.
12198 * support/xsymlink.c: New.
12199 * support/support_paths.c: New.
12200 * support/support.h: Add support paths prototypes.
12201 * support/xunistd.h: Add xmkdirp () and xsymlink ().
12202
12203 * nss/tst-nss-test3.c: Convert to test-in-container.
12204 * nss/tst-nss-test3.root/: New.
12205
b35d3509
PE
122062018-08-22 Paul Eggert <eggert@cs.ucla.edu>
12207
12208 regex: port Gnulib code to z/OS POSIX environment
12209 Problem reported by Arnold Robbins in:
12210 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
12211 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
12212 Undef.
12213
16a25138
JM
122142018-08-22 Joseph Myers <joseph@codesourcery.com>
12215
debc4c98
JM
12216 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
12217 (ROUNDING_TESTS_double): Remove.
12218 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
12219 (ROUNDING_TESTS_double): Remove.
12220 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
12221 (ROUNDING_TESTS_double): Remove.
12222 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
12223 (ROUNDING_TESTS_float): Remove.
12224 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
12225 (ROUNDING_TESTS_float): Remove.
12226 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
12227 (ROUNDING_TESTS_float): Remove.
12228 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
12229 !TEST_MATHVEC here.
12230 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12231 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12232
16a25138
JM
12233 * sysdeps/generic/math-tests-rounding.h: New file.
12234 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
12235 (ROUNDING_TESTS_float): Do not define here.
12236 (ROUNDING_TESTS_double): Likewise.
12237 (ROUNDING_TESTS_long_double): Likewise.
12238 (ROUNDING_TESTS_float128): Likewise.
12239 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
12240 (ROUNDING_TESTS_double): Undefine before defining.
12241 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
12242 (ROUNDING_TESTS_double): Undefine before defining.
12243 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
12244 (ROUNDING_TESTS_double): Undefine before defining.
12245 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
12246 (ROUNDING_TESTS_float): Undefine before defining.
12247 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
12248 (ROUNDING_TESTS_float): Undefine before defining.
12249 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
12250 (ROUNDING_TESTS_float): Undefine before defining.
12251 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
12252 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
12253 not define here.
12254 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
12255 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
12256 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
12257 * sysdeps/riscv/math-tests.h [!__riscv_flen]
12258 (ROUNDING_TESTS_float): Do not define here.
12259 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
12260 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
12261 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
12262 (ROUNDING_TESTS_float): Likewise.
12263 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
12264 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
12265 * sysdeps/mips/math-tests.h [__mips_soft_float]
12266 (ROUNDING_TESTS_float): Likewise.
12267 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
12268 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
12269 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
12270 (ROUNDING_TESTS_double): Likewise.
12271 (ROUNDING_TESTS_long_double): Likewise.
12272
38b0593e
TK
122732018-08-21 Tobias Klauser <tklauser@distanz.ch>
12274
12275 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
12276 (PF_XDP): New macro.
12277 (AF_XDP): New macro.
12278 (SOL_XDP): New macro.
12279
5cd7dbde
JM
122802018-08-21 Joseph Myers <joseph@codesourcery.com>
12281
12282 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
12283 (TCP_INQ): Likewise.
12284 (TCP_CM_INQ): Likewise.
12285 (TCP_REPAIR_ON): Likewise.
12286 (TCP_REPAIR_OFF): Likewise.
12287 (TCP_REPAIR_OFF_NO_WP): Likewise.
12288 (struct tcp_zerocopy_receive): New type.
12289
aa42b3db
FW
122902018-08-21 Florian Weimer <fweimer@redhat.com>
12291
12292 * support/support.h (support_descriptor_supports_holes): Declare.
12293 * support/Makefile (libsupport-routines): Add
12294 support_descriptor_supports_holes.
12295 * support/support_descriptor_supports_holes.c: New file.
12296 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
12297 and stop testing if holes are not supported.
12298 * io/test-lfs.c (do_prepare): Likewise.
12299 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
12300 Likewise.
12301 * timezone/tst-tzset.c (create_tz_file): Likewise.
12302 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
12303 variable.
12304 (do_prepare): Set it.
12305 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
12306
c7627f41
FW
123072018-08-21 Florian Weimer <fweimer@redhat.com>
12308
12309 [BZ #17248]
12310 * Makeconfig (+cflags): Do not sort (and deduplicate).
12311
ef939d92
FW
123122018-08-21 Florian Weimer <fweimer@redhat.com>
12313
12314 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
12315 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
12316
88ffb39d
FW
123172018-08-20 Florian Weimer <fweimer@redhat.com>
12318
12319 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
12320 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
12321
17419540
JM
123222018-08-20 Joseph Myers <joseph@codesourcery.com>
12323
e6edd40d
JM
12324 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
12325 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
12326 and ssi_arch members.
12327
17419540
JM
12328 * elf/elf.c (NT_VMCOREDD): New macro.
12329 (AT_MINSIGSTKSZ): Likewise.
12330
fa78896b
RS
123312018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12332
12333 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
12334 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
12335 s_cosf-ppc64 and s_cosf-power8.
12336 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
12337 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
12338 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12339 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
12340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
12341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
12342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
12343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
12344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
12345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
12346 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
12347 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
12348
86a6c75a
FW
123492018-08-17 Florian Weimer <fweimer@redhat.com>
12350
12351 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12352
35cfefd9
FW
123532018-08-17 Istvan Kurucsai <pistukem@gmail.com>
12354
12355 * malloc/malloc.c (_int_malloc): Additional binning code checks.
12356
6413fcde
FW
123572018-08-16 Florian Weimer <fweimer@redhat.com>
12358
12359 * configure.ac: Add --with-nonshared-cflags option.
12360 * config.make.in (extra-nonshared-cflags): Set variable.
12361 * Makeconfig (CFLAGS-.oS): Use it.
12362 * manual/install.texi (Configuring and compiling): Document
12363 --with-nonshared-cflags.
12364 * configure: Regenerate.
12365 * INSTALL: Likewise.
12366
93a2584c
FW
123672018-08-16 Florian Weimer <fweimer@redhat.com>
12368
12369 * Makeconfig (ASFLAGS): Always append required assembler flags.
12370
f6f275d2 123712018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
d6db68e6
ME
12372
12373 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
12374 (malloc_consolidate): Likewise.
12375
30a17d8c
PC
123762018-08-16 Pochang Chen <johnchen902@gmail.com>
12377
12378 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
12379
953a5a4a
SP
123802018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
12381
34f86d61
SP
12382 * benchtests/bench-strlen.c (do_test): Allocate buffers before
12383 every strlen call.
12384
953a5a4a
SP
12385 * benchtests/bench-strlen.c: Print performance numbers in json.
12386
7793ad7a
RS
123872018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12388
12389 * sysdeps/powerpc/powerpc64/multiarch/Makefile
12390 (sysdep_routines): Build strcmp-power9 and strncmp-power9
12391 only for little endian.
12392 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12393 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
12394 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
12395 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
12396 Add check for little endian.
12397 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
12398 (__strcmp_power9): Add check for little endian.
12399 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
12400 Add check for little endian.
12401 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
12402 (__strncmp_power9): Add check for little endian.
12403 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
12404 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
12405 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
12406 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
12407 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
12408
436e4d5b
SP
124092018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
12410
12411 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
12412 [!STRLEN](STRLEN): Set to __strlen.
12413 * sysdeps/aarch64/multiarch/strlen.c: New file.
12414 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
12415 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
12416 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
12417 (__libc_ifunc_impl_list): Add strlen.
12418 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
12419 strlen_generic and strlen_asimd.
12420
126c4e3f
WD
124212018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
12422
12423 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
12424 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
12425 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
12426
49acec17
WD
124272018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
12428
12429 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
12430
fdb16de3
FW
124312018-08-14 Florian Weimer <fweimer@redhat.com>
12432
12433 [BZ #23519]
12434 * include/stdio.h (__vfxprintf): Declare.
12435 * stdio-common/fxprintf.c (__vfxprintf): New function.
12436 (__fxprintf): Call it.
12437 * misc/err.c (convert_and_print): Remove function.
12438 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
12439 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
12440 * misc/Makefile (tests): Add tst-warn-wide.
12441 * misc/tst-warn-wide.c: New file.
12442
599cf397
WD
124432018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
12444 Szabolcs Nagy <szabolcs.nagy@arm.com>
12445
12446 * NEWS: Mention sinf, cosf, sincosf.
12447 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
12448 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
12449 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
12450 constants rather than including generic sincosf.h.
12451 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
12452 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
12453 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
12454 (reduced_cos): Remove.
12455 (sinf_poly): New function.
12456 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
12457
e95c6f61
FW
124582018-08-14 Florian Weimer <fweimer@redhat.com>
12459
12460 [BZ #23521]
12461 [BZ #23522]
12462 * nss/nss_files/files-alias.c (get_next_alias): During :include:
12463 processing, bail out if no room, and close the stream before
12464 returning ERANGE.
12465 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
12466 (tst-nss-files-alias-leak): Link with libdl.
12467 (tst-nss-files-alias-leak.out): Depend on nss_files.
12468
12469 * nss/tst-nss-files-alias-leak.c: New file.
12470
2d7acfac
FW
124712018-08-14 Florian Weimer <fweimer@redhat.com>
12472
12473 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
12474 server_user, stat_user.
12475
f3cd0904
JM
124762018-08-13 Joseph Myers <joseph@codesourcery.com>
12477
17b26500
JM
12478 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12479 version to 4.18.
12480 (io_pgetevents): New syscall.
12481 (rseq): Likewise.
12482
3c1622eb
JM
12483 * manual/install.texi (Configuring and compiling): Do not list
12484 tools used for testing pretty printers here.
12485 (Tools for Compilation): List Python, PExpect and GDB here.
12486 Update descriptions of uses of Perl and Python.
12487 * INSTALL: Regenerate.
12488
f3cd0904
JM
12489 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12490 version to 4.18.
12491
b7b52b9d
FW
124922018-08-13 Florian Weimer <fweimer@redhat.com>
12493
12494 * misc/error.c (error): Add missing va_end call.
12495 (error_at_line): Likewise.
12496
01780188
FW
124972018-08-13 Florian Weimer <fweimer@redhat.com>
12498
12499 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
12500
44727aec
SP
125012018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
12502
8cac1f26
SP
12503 * benchtests/scripts/benchout.schema.json (properties): Add
12504 new properties.
12505
44727aec
SP
12506 * benchtests/bench-skeleton.c (main): Add duration and
12507 iterations attributes.
12508
c77bf91b
PE
125092018-08-10 Paul Eggert <eggert@cs.ucla.edu>
12510
12511 regex: Gnulib unibyte RRI uses bytes not chars
12512 Adjust the non-glibc code to agree with what Gawk needs for
12513 rational range interpretation (RRI) for regular expression ranges.
12514 In unibyte locales, Gawk wants ranges to use the underlying byte
12515 rather than the character code point. This change does not affect
12516 glibc proper.
12517 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
12518 In unibyte locales, use the byte value rather than
12519 running it through btowc.
12520
2ce7ba7d
JM
125212018-08-10 Joseph Myers <joseph@codesourcery.com>
12522
12523 * sysdeps/generic/math-tests-snan.h: New file.
12524 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
12525 (SNAN_TESTS_float): Do not define here.
12526 (SNAN_TESTS_double): Likewise.
12527 (SNAN_TESTS_long_double): Likewise.
12528 (SNAN_TESTS_float128): Likewise.
12529 * sysdeps/i386/fpu/math-tests-snan.h: New file.
12530 * sysdeps/i386/fpu/math-tests.h: Remove file.
12531 * sysdeps/ia64/math-tests-snan.h: New file.
12532 * sysdeps/ia64/math-tests.h: Remove file.
12533 * sysdeps/x86/math-tests.h: Likewise.
12534 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
12535
ea5c662c
WD
125362018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
12537 Szabolcs Nagy <szabolcs.nagy@arm.com>
12538
12539 * math/Makefile: Add s_sincosf_data.c.
12540 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
12541 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
12542 (sincosf_poly): Likewise.
12543 (reduce_small): Likewise.
12544 (reduce_large): Likewise.
12545 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
12546 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
12547 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
12548 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
12549
43cfdf8f
SN
125502018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
12551 Szabolcs Nagy <szabolcs.nagy@arm.com>
12552
12553 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
12554 (converttoint): Use lround.
12555 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
12556 document the semantics when TOINT_INTRINSICS is set.
12557 (converttoint): Likewise.
12558 (TOINT_RINT): Remove.
12559 (TOINT_SHIFT): Remove.
12560 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
12561 path.
12562
69065288
FW
125632018-08-10 Florian Weimer <fweimer@redhat.com>
12564
12565 [BZ #23497]
12566 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
12567 function.
12568 (__old_getdents64): Use getdents64. Convert entries without
12569 moving them.
12570 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
12571 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
12572 tst-readdir64-compat.
12573
8f135efc
IL
125742018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12575
12576 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
12577 Fix unwind.
12578
71c01af5
IL
125792018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12580
12581 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
12582 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
12583 code to s390x-mcount.h and #include it.
12584 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
12585 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
12586 (__fentry__): Add.
12587
8d997d22
IL
125882018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12589
12590 * stdlib/Versions: Remove __fentry__.
12591 * sysdeps/i386/Versions: Add __fentry__.
12592 * sysdeps/x86_64/Versions: Add __fentry__.
12593
69e2444a
IL
125942018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12595
12596 * sysdeps/s390/Makefile: Register the new tests.
12597 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
12598 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
12599 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
12600 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
12601 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
12602 * sysdeps/s390/tst-dl-runtime.c: New file.
12603
bde6320f
IL
126042018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12605
12606 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
12607 Do not clobber R0.
12608
5755f5e4
IL
126092018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12610
12611 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
12612 Do not clobber R0.
12613
c8ad8522
IL
126142018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12615
12616 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
12617 Do not clobber R0.
12618
b215eee1
IL
126192018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12620
12621 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
12622 Do not clobber R0.
12623
329c6fec
IL
126242018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12625
12626 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
12627 Use symbolic offsets for stack variables.
12628
0fb7afa2
IL
126292018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12630
12631 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
12632 Use symbolic offsets for stack variables.
12633
6954059a
IL
126342018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12635
12636 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
12637 Use symbolic offsets for stack variables.
12638
c7099673
IL
126392018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12640
12641 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
12642 Use symbolic offsets for stack variables.
12643
2813e41e
JM
126442018-08-09 Joseph Myers <joseph@codesourcery.com>
12645
12646 * math/gen-libm-test.py: New file.
12647 * math/gen-libm-test.pl: Remove.
12648 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
12649 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
12650 gen-libm-test.pl.
12651 ($(libm-test-c-noauto-obj)): Likewise.
12652 ($(libm-test-c-auto-obj)): Likewise.
12653 ($(libm-test-c-narrow-obj)): Likewise.
12654 (regen-ulps): Likewise.
12655 * math/README.libm-test: Update references to gen-libm-test.pl.
12656 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
12657 referencing gen-libm-test.pl.
12658 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
12659 * math/libm-test-support.c: Likewise.
12660 * math/libm-test-support.h: Likewise.
12661 * sysdeps/generic/libm-test-ulps: Likewise.
12662
be64b194
SP
126632018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
12664
12665 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
12666 Fix value.
12667
140137fb
JM
126682018-08-08 Joseph Myers <joseph@codesourcery.com>
12669
12670 * math/libm-test-nextdown.inc (do_test): Move comment to ....
12671 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
12672
b5403eca
ST
126732018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
12674
12675 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
12676 symbols.
8ac0f9e6
ST
12677 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
12678 __pthread_setspecific): Add hidden proto.
12679 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
12680 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
b5403eca 12681
014efdd7
SP
126822018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
12683
12684 * benchtests/bench-string.h (buf1_size, buf2_size): New
12685 variables.
12686 (init_sizes): New function.
12687 (test_init): Use it.
12688 (alloc_buf, exit_error): New functions.
12689 (alloc_bufs): Use ALLOC_BUF.
12690 (realloc_bufs): Remove.
12691 * benchtests/bench-memcmp.c (do_test): Adjust.
12692 * benchtests/bench-memset-large.c (do_test): Likewise.
12693 * benchtests/bench-memset-walk.c (do_test): Likewise.
12694 * benchtests/bench-memset.c (do_test): Likewise.
12695 * benchtests/bench-strncmp.c (do_test): Likewise.
12696
92a4cba7
AS
126972018-08-06 Andreas Schwab <schwab@suse.de>
12698
12699 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
12700 of CONST_THREAD_AREA.
12701
fb4c32ae
L
127022018-08-06 H.J. Lu <hongjiu.lu@intel.com>
12703
12704 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
12705 (STATE_SAVE_MASK): Likewise.
12706 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
12707 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
12708 (STATE_SAVE_MASK): Likewise.
12709 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
12710 instead of <cpu-features.h>.
12711
bf418187
DD
127122018-08-03 DJ Delorie <dj@redhat.com>
12713
12714 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
e5721f45 12715 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
bf418187 12716
bb17621a
DD
12717 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
12718
ea705eb5
JM
127192018-08-03 Joseph Myers <joseph@codesourcery.com>
12720
12721 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
12722 after TEST_* calls.
12723 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
12724 * math/libm-test-logb.inc (logb_test_data): Likewise.
12725
284f42bc
WD
127262018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
12727
12728 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
12729 * string/strstr.c (AVAILABLE): Likewise.
12730
430388d5
L
127312018-08-03 H.J. Lu <hongjiu.lu@intel.com>
12732
12733 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
12734 <init-arch.h>.
12735 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
12736 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
12737 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
12738
c5760aa9
CD
127392018-08-03 Carlos O'Donell <carlos@redhat.com>
12740
12741 * po/be.po: Update translation.
12742
6b535b84
CD
12743 * po/be.po: Update translation.
12744
ae67f2e5
L
127452018-08-03 H.J. Lu <hongjiu.lu@intel.com>
12746
12747 * sysdeps/x86/cpu-features-offsets.sym
12748 (rtld_global_ro_offsetof): Removed.
12749 (CPU_FEATURES_SIZE): Likewise.
12750 (CPUID_OFFSET): Likewise.
12751 (CPUID_SIZE): Likewise.
12752 (CPUID_EAX_OFFSET): Likewise.
12753 (CPUID_EBX_OFFSET): Likewise.
12754 (CPUID_ECX_OFFSET): Likewise.
12755 (CPUID_EDX_OFFSET): Likewise.
12756 (FAMILY_OFFSET): Likewise.
12757 (MODEL_OFFSET): Likewise.
12758 (FEATURE_OFFSET): Likewise.
12759 (FEATURE_SIZ): Likewise.
12760 (COMMON_CPUID_INDEX_1): Likewise.
12761 (COMMON_CPUID_INDEX_7): Likewise.
12762 (FEATURE_INDEX_1): Likewise.
12763 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
12764
6b5c8607 127652018-08-02 Carlos O'Donell <carlos@redhat.com>
08a5ee14
CD
12766
12767 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
12768 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
12769 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
12770 (install-locales): Depend on install-locale-archive.
12771 (install-locale-archive): Define.
7b7adbd8 12772 (install-locale-files): Define.
08a5ee14
CD
12773 (build-one-locale): Define macro.
12774 * manual/install.texi (Running make install): Document.
12775 * manual/INSTALL: Regenerate.
12776
525691bd
SP
127772018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
12778
d67d634b
SP
12779 * benchtests/scripts/compare_strings.py: Import traceback.
12780 (parse_file): Pretty-print error.
12781
525691bd
SP
12782 * NEWS: Mention the change.
12783 * elf/dl-tunables.list: Rename tune namespace to cpu.
12784 * sysdeps/powerpc/dl-tunables.list: Likewise.
12785 * sysdeps/x86/dl-tunables.list: Likewise.
12786 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
12787 cpu.name.
12788 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
12789 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
12790 * manual/README.tunables: Likewise.
12791 * manual/tunables.texi: Likewise.
12792 * sysdeps/powerpc/cpu-features.c: Likewise.
12793 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
12794 (init_cpu_features): Likewise.
12795 * sysdeps/x86/cpu-features.c: Likewise.
12796 * sysdeps/x86/cpu-features.h: Likewise.
12797 * sysdeps/x86/cpu-tunables.c: Likewise.
12798 * sysdeps/x86_64/Makefile: Likewise.
12799 * sysdeps/x86/dl-cet.c: Likewise.
12800
506d7fb1
JM
128012018-08-02 Joseph Myers <joseph@codesourcery.com>
12802
12803 [BZ #23479]
12804 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
12805 [__mips_hard_float].
12806 (FE_UNDERFLOW): Likewise.
12807 (FE_OVERFLOW): Likewise.
12808 (FE_DIVBYZERO): Likewise.
12809 (FE_INVALID): Likewise.
12810 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
12811 (FE_TOWARDZERO): Define only if [__mips_hard_float].
12812 (FE_UPWARD): Likewise.
12813 (FE_DOWNWARD): Likewise.
12814 (__FE_UNDEFINED): Define if [!__mips_hard_float]
12815 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
12816 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
12817 [__mips_hard_float].
12818 (FP_ROUNDMODE): Likewise.
12819 (FP_RND_NEAREST): Likewise.
12820 (FP_RND_ZERO): Likewise.
12821 (FP_RND_PINF): Likewise.
12822 (FP_RND_MINF): Likewise.
12823 (FP_EX_INVALID): Likewise.
12824 (FP_EX_OVERFLOW): Likewise.
12825 (FP_EX_UNDERFLOW): Likewise.
12826 (FP_EX_DIVZERO): Likewise.
12827 (FP_EX_INEXACT): Likewise.
12828 (FP_INIT_ROUNDMODE): Likewise.
12829 * sysdeps/mips/nofpu/fesetenv.c: New file.
12830 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
12831
f6dcefbe
JM
128322018-08-01 Joseph Myers <joseph@codesourcery.com>
12833
12834 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
12835 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
12836 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
12837 conditional on [FE_UPWARD].
12838
fa67ba06
PE
128392018-08-01 Paul Eggert <eggert@cs.ucla.edu>
12840
12841 regex: fix memory leak in Gnulib
12842 Problem and fix reported by Assaf Gordon in:
12843 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
12844 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
12845 range_ends members too, as they are defined in 'struct
12846 re_charset_t' even if not _LIBC. This affects only Gnulib.
12847
82c80ac2
L
128482018-08-01 H.J. Lu <hongjiu.lu@intel.com>
12849
12850 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
12851 ...
12852 (get_common_indices): This.
12853 (init_cpu_features): Updated.
12854
c0e7e2c1
JM
128552018-08-01 Joseph Myers <joseph@codesourcery.com>
12856
46f8cf57
JM
12857 * sysdeps/generic/math-tests-snan-payload.h: New file.
12858 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
12859 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
12860 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
12861 * sysdeps/generic/math-tests.h: Include
12862 <math-tests-snan-payload.h>.
12863 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
12864 * sysdeps/hppa/math-tests.h: Remove file.
12865 * sysdeps/mips/math-tests.h [!__mips_nan2008]
12866 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
12867 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
12868 Likewise.
12869
c0e7e2c1
JM
12870 * sysdeps/generic/math-tests-snan-cast.h: New file.
12871 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
12872 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
12873 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
12874 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
12875
74939c83
CD
128762018-08-01 Carlos O'Donel <carlos@redhat.com>
12877
b029723b
CD
12878 * version.h (RELEASE): Set to "development".
12879 (VERSION): Set to "2.28.9000".
12880 * NEWS (2.29): New section.
12881
3c03baca
CD
12882 * version.h (RELEASE): Set to "stable".
12883 (VERSION): Set to "2.28".
12884 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
12885 * NEWS: Add the list of bugs fixed in 2.28.
12886
74939c83
CD
12887 * po/ca.po: Update to latest version.
12888 * po/cs.po: Likewise
12889 * po/da.po: Likewise
12890 * po/el.po: Likewise
12891 * po/eo.po: Likewise
12892 * po/es.po: Likewise
12893 * po/fi.po: Likewise
12894 * po/fr.po: Likewise
12895 * po/gl.po: Likewise
12896 * po/hu.po: Likewise
12897 * po/ia.po: Likewise
12898 * po/id.po: Likewise
12899 * po/it.po: Likewise
12900 * po/ja.po: Likewise
12901 * po/ko.po: Likewise
12902 * po/lt.po: Likewise
12903 * po/nb.po: Likewise
12904 * po/nl.po: Likewise
12905 * po/pt_BR.po: Likewise
12906 * po/ru.po: Likewise
12907 * po/rw.po: Likewise
12908 * po/sk.po: Likewise
12909 * po/sl.po: Likewise
12910 * po/tr.po: Likewise
12911 * po/zh_CN.po: Likewise
12912 * po/zh_TW.po: Likewise
12913
d4b54bdf
ST
129142018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
12915
12916 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
12917 initialization...
12918 (init): ... before initializing libpthread.
12919
42fc12ef
ST
12920 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
12921 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
12922 (__mach_setup_tls): ... new function.
12923 (mach_setup_tls): New alias.
12924 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
12925 __mach_setup_thread.
12926 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
12927 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
12928 * mach/Versions [libc] (mach_setup_tls): Add symbol.
12929 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
12930
6cca855e
CD
129312018-07-31 Carlos O'Donell <carlos@redhat.com>
12932
f650932b
CD
12933 * manual/install.texi: Update versions.
12934 * INSTALL: Regenerate.
12935
6cca855e
CD
12936 * manual/contrib.texi (Contributors): Update contributions.
12937
07fdea47
CD
129382018-07-31 Carlos O'Donell <carlos@redhat.com>
12939
12940 * po/be.po: Update translations.
12941
63d5fad4
AZ
129422018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12943
12944 * sysdeps/sh/libm-test-ulps: Update.
12945
1ff712a6
CD
129462018-07-30 Carlos O'Donell <carlos@redhat.com>
12947
12948 * po/bg.po: Update translations.
12949 * po/de.po: Likewise.
12950 * po/hr.po: Likewise.
12951 * po/pt_BR.po: Likewise.
12952 * po/sv.po: Likewise.
12953 * po/vi.po: Likewise.
12954
98864ed0
L
129552018-07-30 H.J. Lu <hongjiu.lu@intel.com>
12956
12957 [BZ #23467]
12958 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
12959 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
12960 (CFLAGS-tst-cet-property-1.o): New.
12961 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
12962 ($(objpfx)tst-cet-property-2): Likewise.
12963 ($(objpfx)tst-cet-property-2.out): Likewise.
12964 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
12965 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
12966 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
12967 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
12968 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
12969
c92a00d8
L
129702018-07-30 H.J. Lu <hongjiu.lu@intel.com>
12971
12972 [BZ #23458]
12973 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
12974
99bc6241
ST
129752018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
12976
12977 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
12978 __sbrk): Do not set attribute_hidden.
af86087f 12979 * sysdeps/mach/hurd/not-errno.h: New file.
99bc6241
ST
12980 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
12981 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
12982
bcb1c4af
CD
129832018-07-27 Carlos O'Donell <carlos@redhat.com>
12984
12985 * po/uk.po: Update translations.
12986 * po/cs.po: Likewise.
12987 * po/pl.po: Likewise.
12988
4591b7db
L
129892018-07-27 H.J. Lu <hongjiu.lu@intel.com>
12990
12991 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
12992 parse beyond the note end.
12993
2c6da2f4
AZ
129942018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12995
12996 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
12997 kernel does not support OFD locks.
12998 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
12999
20365a31
ST
130002018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13001
13002 * sysdeps/mach/hurd/Versions (libc): Make __access and
13003 __access_noerrno external so they can override the ld symbols.
13004 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
13005 __writev, __open64, __access_noerrno extern so they can be overrided.
13006 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
13007 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
13008
cb1a43db
CD
130092018-07-26 Carlos O'Donell <carlos@redhat.com>
13010
13011 * po/libc.pot: Regenerate.
13012
74759ae5
JM
130132018-07-26 Joseph Myers <joseph@codesourcery.com>
13014
13015 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
13016
da80612d
L
130172018-07-26 H.J. Lu <hongjiu.lu@intel.com>
13018
13019 [BZ #23459]
13020 * sysdeps/x86/cpu-features.c (get_extended_indices): New
13021 function.
13022 (init_cpu_features): Call get_extended_indices for both Intel
13023 and AMD CPUs.
13024 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
13025 Remove "for AMD" comment.
13026
65d87ade
L
130272018-07-26 H.J. Lu <hongjiu.lu@intel.com>
13028
13029 [BZ # 23456]
13030 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
13031 COMMON_CPUID_INDEX_80000001.
13032
c9dc4d51
SL
130332018-07-26 Stefan Liebler <stli@linux.ibm.com>
13034
13035 * string/tst-xbzero-opt.c (use_test_buffer): New function.
13036 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
13037
cfba5dbb
FW
130382018-07-26 Florian Weimer <fweimer@redhat.com>
13039
13040 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
13041 aliases for symbols not in the implementation namespace.
13042
6b5c8607 130432018-07-25 Carlos O'Donell <carlos@redhat.com>
7cd7d36f
CD
13044
13045 [BZ #23393]
13046 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
13047 lowercase in LATIN script.
13048 * localedata/Makefile (test-input): Add en_US.UTF-8.
13049 * localedata/en_US.UTF-8.in: New file.
13050 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
13051 and restore old tests.
13052 * posix/tst-regexloc.c (do_test): Add back range expression test.
13053
3fb455b3
L
130542018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13055
13056 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
13057
d6499b70
AZ
130582018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13059
13060 * nptl/threads.h: Move to ...
13061 * sysdeps/nptl/threads.h: ... here.
13062 * sysdeps/hurd/stdc-predef.h: New file.
13063
08ac6bed
L
130642018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13065
13066 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
13067 tst-cet-setcontext-1 if CET is enabled.
13068 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
13069 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
13070
9faaf938
AZ
130712018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13072
13073 * include/threads.h: Move to ...
13074 * sysdeps/nptl/threads.h: ... here.
13075 * sysdeps/htl/threads.h: New file.
13076 * conform/Makefile (linknamespace-libs-ISO11): Use
13077 static-thread-library instead of linking libpthread.
13078 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
13079
d6b8f847
FW
130802018-07-25 Florian Weimer <fweimer@redhat.com>
13081
13082 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
13083 nanoseconds into seconds.
13084 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
13085 (do_test): Likewise.
13086 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
13087 (do_test): Likewise. Avoid nanosecond overflow and spurious
13088 timeouts due to system load.
13089 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
13090 (child_wait): Increment it.
13091 (do_test): Wait as long as necessary until all expected threads
13092 have arrived.
13093
25123a1c
L
130942018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
13095 H.J. Lu <hongjiu.lu@intel.com>
13096
13097 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
13098 __ssp.
13099 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
13100 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
13101 (__push___start_context): New.
13102 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
13103 <asm/prctl.h>.
13104 (__getcontext): Record the current shadow stack base. Save the
13105 caller's shadow stack pointer and base.
13106 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
13107 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
13108 (__push___start_context): New prototype.
13109 (__makecontext): Call __push___start_context to allocate a new
13110 shadow stack, push __start_context onto the new stack as well
13111 as the new shadow stack.
13112 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
13113 <asm/prctl.h>.
13114 (__setcontext): Restore the target shadow stack.
13115 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
13116 <asm/prctl.h>.
13117 (__swapcontext): Record the current shadow stack base. Save
13118 the caller's shadow stack pointer and base. Restore the target
13119 shadow stack.
13120 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
13121 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
13122 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
13123
375a4844
L
131242018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13125
13126 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
13127 tst-setcontext8 and tst-setcontext9.
13128 * stdlib/tst-setcontext6.c: New file.
13129 * stdlib/tst-setcontext7.c: Likewise.
13130 * stdlib/tst-setcontext8.c: Likewise.
13131 * stdlib/tst-setcontext9.c: Likewise.
13132
bd4f7903
L
131332018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13134
13135 * stdlib/Makefile ((tests): Add tst-setcontext5.
13136 * stdlib/tst-setcontext5.c: New file.
13137
7e28f203
L
131382018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13139
13140 * stdlib/Makefile (tests): Add tst-setcontext4.
13141 * stdlib/tst-setcontext4.c: New file.
13142
8516ad2d
L
131432018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13144
13145 * stdlib/Makefile (tests): Add tst-swapcontext1.
13146 * stdlib/tst-swapcontext1.c: New test.
13147
fddcd003
L
131482018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13149
13150 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
13151 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
13152 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
13153 and tst-cet-legacy-4c.
13154 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
13155 and tst-cet-legacy-mod-4.
13156 (CFLAGS-tst-cet-legacy-2.c): New.
13157 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
13158 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
13159 (CFLAGS-tst-cet-legacy-3.c): Likewise.
13160 (CFLAGS-tst-cet-legacy-4.c): Likewise.
13161 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
13162 ($(objpfx)tst-cet-legacy-1): Likewise.
13163 ($(objpfx)tst-cet-legacy-2): Likewise.
13164 ($(objpfx)tst-cet-legacy-2.out): Likewise.
13165 ($(objpfx)tst-cet-legacy-2a): Likewise.
13166 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
13167 ($(objpfx)tst-cet-legacy-4): Likewise.
13168 ($(objpfx)tst-cet-legacy-4.out): Likewise.
13169 ($(objpfx)tst-cet-legacy-4a): Likewise.
13170 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
13171 (tst-cet-legacy-4a-ENV): Likewise.
13172 ($(objpfx)tst-cet-legacy-4b): Likewise.
13173 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
13174 (tst-cet-legacy-4b-ENV): Likewise.
13175 ($(objpfx)tst-cet-legacy-4c): Likewise.
13176 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
13177 (tst-cet-legacy-4c-ENV): Likewise.
13178 * sysdeps/x86/tst-cet-legacy-1.c: New file.
13179 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
13180 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
13181 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
13182 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
13183 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
13184 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
13185 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
13186 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
13187 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
13188 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
13189
9aa3113a
L
131902018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13191
13192 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
13193 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
13194 with ssp_base.
13195 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
13196 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
13197 with ssp_base.
13198
9c79cec8
AS
131992018-07-25 Andreas Schwab <schwab@suse.de>
13200
13201 [BZ #23442]
13202 * locale/weightwc.h (findidx): Handle the case where usrc is a
13203 prefix of cp but one character too short.
13204
969c3355
AZ
132052018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13206
13207 * NEWS: Add ISO C threads addition.
13208
e0f9c462
FW
132092018-07-24 Florian Weimer <fweimer@redhat.com>
13210
13211 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13212 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
13213 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
13214 4.13.
13215
394df381
L
132162018-07-24 H.J. Lu <hongjiu.lu@intel.com>
13217
13218 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
13219 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
13220 <sys/prctl.h> and <asm/prctl.h>.
13221 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
13222 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
13223 and <asm/prctl.h>.
13224 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
13225 ARCH_CET_LEGACY_BITMAP.
13226 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
13227 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
13228 * sysdeps/x86/libc-start.c: Include <startup.h>.
13229
46545530
FW
132302018-07-24 Florian Weimer <fweimer@redhat.com>
13231
13232 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
13233 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
13234
6b5c8607 132352018-07-24 Rical Jasan <rj@2c3t.io>
9d0a979e 13236 Adhemerval Zanella <adhemerval.zanella@linaro.org>
0a07288b
AZ
13237 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
13238
13239 [BZ #14092]
9d0a979e
RJ
13240 * manual/debug.texi: Update adjacent chapter name.
13241 * manual/probes.texi: Likewise.
13242 * manual/threads.texi (ISO C Threads): New section.
13243 (POSIX Threads): Convert to a section.
13244
132452018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13246 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
13247
13248 [BZ# 14092]
0a07288b
AZ
13249 * nptl/Makefile (tests): Add new test files.
13250 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
13251 * nptl/tst-cnd-basic.c: Likewise.
13252 * nptl/tst-cnd-broadcast.c: Likewise.
13253 * nptl/tst-cnd-timedwait.c: Likewise.
13254 * nptl/tst-mtx-basic.c: Likewise.
13255 * nptl/tst-mtx-recursive.c: Likewise.
13256 * nptl/tst-mtx-timedlock.c: Likewise.
13257 * nptl/tst-mtx-trylock.c: Likewise.
13258 * nptl/tst-thrd-basic.c: Likewise.
13259 * nptl/tst-thrd-detach.c: Likewise.
13260 * nptl/tst-thrd-sleep.c: Likewise.
13261 * nptl/tst-tss-basic.c: Likewise.
13262
ce7528f6
AZ
132632018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13264
c6dd669b
AZ
13265 [BZ #14092]
13266 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
13267 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
13268 symbols.
13269 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13270 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13271 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13272 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13273 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13274 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13275 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13276 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13277 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13278 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13279 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13280 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13282 Likewise.
13283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13284 Likewise.
13285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
13286 Likewise.
13287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13288 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
13289 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13290 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13291 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13292 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13293 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13294 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13295 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13296 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
13297 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
13298 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
13299 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
13300 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
13301 Likewise.
13302 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
13303 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
13304 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
13305 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
13306 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
13307 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
13308 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
13309 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
13310 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
13311 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
13312 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
13313 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
13314 ikewise.
13315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
13316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
13317 Likewise.
13318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
13319 Likewise.
13320 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
13321 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
13322 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
13323 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
13324 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
13325 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
13326 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
13327 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
13328
78d40132
AZ
13329 [BZ #14092]
13330 * conform/data/threads.h-data (thread_local): New macro.
13331 (TSS_DTOR_ITERATIONS): Likewise.
13332 (tss_t): New type.
13333 (tss_dtor_t): Likewise.
13334 (tss_create): New function.
13335 (tss_get): Likewise.
13336 (tss_set): Likewise.
13337 (tss_delete): Likewise.
13338 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
13339 tss_get, and tss_set objects.
13340 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
13341 * nptl/tss_create.c: New file.
13342 * nptl/tss_delete.c: Likewise.
13343 * nptl/tss_get.c: Likewise.
13344 * nptl/tss_set.c: Likewise.
13345 * sysdeps/nptl/threads.h (thread_local): New define.
13346 (TSS_DTOR_ITERATIONS): Likewise.
13347 (tss_t): New typedef.
13348 (tss_dtor_t): Likewise.
13349 (tss_create): New prototype.
13350 (tss_get): Likewise.
13351 (tss_set): Likewise.
13352 (tss_delete): Likewise.
13353
918311a3
AZ
13354 [BZ #14092]
13355 * conform/data/threads.h-data (cnd_t): New type.
13356 (cnd_init): New function.
13357 (cnd_signal): Likewise.
13358 (cnd_broadcast): Likewise.
13359 (cnd_wait): Likewise.
13360 (cnd_timedwait): Likewise.
13361 (cnd_destroy): Likewise.
13362 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
13363 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
13364 object.
13365 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
13366 * nptl/cnd_broadcast.c: New file.
13367 * nptl/cnd_destroy.c: Likewise.
13368 * nptl/cnd_init.c: Likewise.
13369 * nptl/cnd_signal.c: Likewise.
13370 * nptl/cnd_timedwait.c: Likewise.
13371 * nptl/cnd_wait.c: Likewise.
13372 * sysdeps/nptl/threads.h (cnd_t): New type.
13373 (cnd_init): New prototype.
13374 (cnd_signa): Likewise.
13375 (cnd_broadcast): Likewise.
13376 (cnd_wait): Likewise.
13377 (cnd_timedwait): Likewise.
13378 (cnd_destroy): Likewise.
13379
3c20a679
AZ
13380 [BZ #14092]
13381 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
13382 (once_flag): New type.
13383 (call_once): New function.
13384 * nptl/Makefile (libpthread-routines): Add call_once object.
13385 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
13386 * nptl/call_once.c: New file.
13387 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
13388 (once_flag): New type.
13389 (call_once): New prototype.
13390
18d59c1b
AZ
13391 [BZ #14092]
13392 * conform/data/threads.h-data (mtx_plain): New constant.
13393 (mtx_recursive): Likewise.
13394 (mtx_timed): Likewise.
13395 (mtx_t): New type.
13396 (mtx_init): New function.
13397 (mtx_lock): Likewise.
13398 (mtx_timedlock): Likewise.
13399 (mtx_trylock): Likewise.
13400 (mtx_unlock): Likewise.
13401 (mtx_destroy): Likewise.
13402 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
13403 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
13404 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
13405 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
13406 * nptl/mtx_destroy.c: New file.
13407 * nptl/mtx_init.c: Likewise.
13408 * nptl/mtx_lock.c: Likewise.
13409 * nptl/mtx_timedlock.c: Likewise.
13410 * nptl/mtx_trylock.c: Likewise.
13411 * nptl/mtx_unlock.c: Likewise.
13412 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
13413 (mtx_recursive): Likewise.
13414 (mtx_timed): Likewise.
13415 (mtx_t): New type.
13416 (mtx_init): New prototype.
13417 (mtx_lock): Likewise.
13418 (mtx_timedlock): Likewise.
13419 (mtx_trylock): Likewise.
13420 (mtx_unlock): Likewise.
13421 (mtx_destroy): Likewise.
13422
ce7528f6
AZ
13423 [BZ #14092]
13424 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
13425 (linknamespace-libs-ISO11): Add libpthread.a.
13426 * conform/data/threads.h-data: New file: add C11 thrd_* types and
13427 functions.
13428 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
13429 * nptl/Makefile (headers): Add threads.h.
13430 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
13431 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
13432 thrd_yield.
13433 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
13434 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
13435 thrd_join, thrd_sleep, and thrd_yield symbols.
13436 * nptl/descr.h (struct pthread): Add c11 field.
13437 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
13438 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
13439 routine with expected function prototype.
13440 (__pthread_create_2_1): Add C11 threads check based on attribute
13441 value.
13442 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
13443 * nptl/thrd_create.c: New file.
13444 * nptl/thrd_current.c: Likewise.
13445 * nptl/thrd_detach.c: Likewise.
13446 * nptl/thrd_equal.c: Likewise.
13447 * nptl/thrd_exit.c: Likewise.
13448 * nptl/thrd_join.c: Likewise.
13449 * nptl/thrd_priv.h: Likewise.
13450 * nptl/thrd_sleep.c: Likewise.
13451 * nptl/thrd_yield.c: Likewise.
13452 * include/threads.h: Likewise.
13453
e27f41ba
L
134542018-07-24 H.J. Lu <hongjiu.lu@intel.com>
13455
13456 * bits/indirect-return.h: New file.
13457 * misc/sys/cdefs.h (__glibc_has_attribute): New.
13458 * sysdeps/x86/bits/indirect-return.h: Likewise.
13459 * stdlib/Makefile (headers): Add bits/indirect-return.h.
13460 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
13461 (swapcontext): Add __INDIRECT_RETURN.
13462 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
13463 (prepare_test_buffer): Use it.
13464
21526a50
AS
134652018-07-24 Andreas Schwab <schwab@suse.de>
13466
13467 [BZ #23448]
13468 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
13469 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
13470
3650e1d9
L
134712018-07-24 H.J. Lu <hongjiu.lu@intel.com>
13472
13473 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
13474 Redefine if shadow stack is enabled.
13475 (SYSCALL_ERROR_LABEL): Likewise.
13476 (__vfork): Pop shadow stack and jump back to to caller directly
13477 when shadow stack is in use.
13478 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
13479 Redefine if shadow stack is enabled.
13480 (SYSCALL_ERROR_LABEL): Likewise.
13481 (__vfork): Pop shadow stack and jump back to to caller directly
13482 when shadow stack is in use.
13483
ca027e0f
L
134842018-07-24 H.J. Lu <hongjiu.lu@intel.com>
13485
13486 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
13487 enabled.
13488 (foo): Likewise.
13489 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
13490 (foo): Likewise.
13491
b99f1c95
JM
134922018-07-20 Joseph Myers <joseph@codesourcery.com>
13493
13494 * scripts/build-many-glibcs.py (Context.checkout): Default
13495 binutils version to 2.31 branch.
13496
c8fabb84
ZL
134972018-07-20 Zong Li <zong@andestech.com>
13498
13499 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
13500 URL of gcc's tarball.
13501
786658a0
FW
135022018-07-20 Florian Weimer <fweimer@redhat.com>
13503
13504 [BZ #23396]
13505 * posix/regcomp.c (build_equiv_class): When comparing weights, do
13506 not compare an extra byte after the end of the weights.
13507
46f2474e
ST
135082018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
13509
13510 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
13511 to 1.
8ba1520e
ST
13512 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
13513 hidden prototypes.
13514 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
13515 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
2d5c41de
ST
13516 * scripts/check-execstack.awk: Consider `xfail' variable containing a
13517 list of libraries whose stack executability is expected.
13518 * elf/Makefile ($(objpfx)check-execstack.out): Pass
13519 $(check-execstack-xfail) to check-execstack.awk through `xfail'
13520 variable.
13521 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
13522 libc.so libpthread.so.
46f2474e 13523
60088242
TS
135242018-07-20 Thomas Schwinge <tschwinge@gnu.org>
13525
13526 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
13527 SOCK_NONBLOCK.
75d5e4a0
TS
13528 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
13529 and SOCK_NONBLOCK.
de195be0
TS
13530 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
13531 implement __pipe2.
13532 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
60088242 13533
1cf4ae7f
LS
135342018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13535
13536 * benchtests/scripts/compare_bench.py (__main__): use the argparse
13537 library to improve command line parsing.
13538 (__main__): make schema file as optional parameter (--schema),
13539 defaulting to benchtests/scripts/benchout.schema.json.
13540 (main): move out of the parsing stuff to __main_  and leave it
13541 only as caller of main comparison functions.
13542
e84bd851
L
135432018-07-19 H.J. Lu <hongjiu.lu@intel.com>
13544
13545 * NEWS: Add a note for Intel CET status.
13546 * manual/install.texi: Likewise.
13547 * INSTALL: Regenerated.
13548
df467d22
QP
135492018-07-18 Quentin PAGÈS <provaires@quentino.fr>
13550
13551 [BZ #23140]
13552 * localedata/locales/oc_FR (mon): Rename to...
13553 (alt_mon): This, then update October (typo fix).
13554 (mon): New content (genitive case, month names preceded by
13555 "de" or "d’").
13556
13557 [BZ #23422]
13558 * localedata/locales/oc_FR (abday): Update all items.
13559 (day): Update Wednesday and Saturday (typo fixes).
13560 (abmon): Update all items, except May.
13561 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
13562 (LC_IDENTIFICATION): Bump the revision number and date.
13563 Keep the "category" entries in alphabetic order.
13564 (LC_ADDRESS): Remove no longer needed comment.
13565 (LC_COLLATE): Use “copy "ca_ES"”.
13566 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
13567 "name_mrs".
13568
5c112f1b
JM
135692018-07-18 Joseph Myers <joseph@codesourcery.com>
13570
13571 * grp/tst_fgetgrent.c: Include <unistd.h>.
13572 (main): Use mkstemp instead of tmpnam.
13573 * io/test-utime.c (main): Likewise.
13574 * posix/annexc.c (macrofile): Change to modifiable array.
13575 (main): Remove macrofile here.
13576 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
13577 macrofile here.
13578 (check_header): Do not remove macrofile here.
13579 * posix/bug-getopt1.c: Include <stdlib.h>.
13580 (do_test): Use mkstemp instead of tmpnam.
13581 * posix/bug-getopt2.c: Include <stdlib.h>.
13582 (do_test): Use mkstemp instead of tmpnam.
13583 * posix/bug-getopt3.c: Include <stdlib.h>.
13584 (do_test): Use mkstemp instead of tmpnam.
13585 * posix/bug-getopt4.c: Include <stdlib.h>.
13586 (do_test): Use mkstemp instead of tmpnam.
13587 * posix/bug-getopt5.c: Include <stdlib.h>.
13588 (do_test): Use mkstemp instead of tmpnam.
13589 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
13590 (main): Use mkstemp instead of tmpnam.
13591 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
13592 (main): Use mkstemp instead of tmpnam.
13593 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
13594 (main): use mkstemp instead of tmpnam.
13595 * stdlib/isomac.c (macrofile): Change to modifiable array.
13596 (main): Remove macrofile here.
13597 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
13598 macrofile here.
13599 (check_header): Do not remove macrofile here.
13600
6d90776d
L
136012018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13602
13603 * manual/tunables.texi: Document glibc.tune.x86_ibt and
13604 glibc.tune.x86_shstk.
13605
e6c69509
L
136062018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13607
13608 * NEWS: Mention --enable-cet.
13609 * manual/install.texi: Document --enable-cet.
13610 * INSTALL: Regenerated.
13611
e2d40a88
L
136122018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13613
13614 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
13615 Add _CET_NOTRACK before indirect jump to jump table.
13616
77a8ae09
L
136172018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13618
13619 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
13620 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13621 to jump table.
13622
90d15dc5
L
136232018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13624
13625 * sysdeps/i386/i686/multiarch/strcat-sse2.S
13626 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13627 to jump table.
13628
f1574581
L
136292018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13630
13631 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
13632 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13633 to jump table.
13634
7fb61336
L
136352018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13636
13637 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
13638 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13639 to jump table.
13640
0a899af0
L
136412018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13642
13643 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
13644 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13645 to jump table.
13646 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
13647
177824e2
L
136482018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13649
13650 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
13651 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13652 to jump table.
13653
00e7b76a
L
136542018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13655
13656 * sysdeps/i386/i686/multiarch/memset-sse2.S
13657 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13658 to jump table.
13659
7e119cd5
L
136602018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13661
13662 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
13663 indirect jump to jump table.
13664
03aaf49b
L
136652018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13666
13667 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
13668 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13669 to jump table.
13670 (MEMCPY): Likewise.
13671
811e9e52
L
136722018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13673
13674 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
13675 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13676 to jump table.
13677 (MEMCPY): Likewise.
13678
8817df42
L
136792018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13680
13681 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
13682 _CET_NOTRACK before indirect jump to jump table.
13683
921595d1
L
136842018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13685
13686 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
13687 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13688 to jump table.
13689
4ef60d95
L
136902018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13691
13692 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
13693 indirect jump to jump table.
13694
61c4aad7
VT
136952018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
13696
13697 [BZ #22241]
13698 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
13699 (LOCALES): Likewise.
13700 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
13701 * localedata/locales/sah_RU: New file.
13702 * localedata/sah_RU.UTF-8.in: New file.
13703
be9ccd27
L
137042018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13705
13706 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
13707 "sysdep.h".
13708 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
13709 _CET_ENDBR to indirect jump targets and adjust jump destination
13710 for _CET_ENDBR.
13711 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
13712 "sysdep.h".
13713 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
13714 _CET_ENDBR to indirect jump targets and adjust jump destination
13715 for _CET_ENDBR.
13716 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
13717 "sysdep.h".
13718 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
13719 _CET_ENDBR to indirect jump targets and adjust jump destination
13720 for _CET_ENDBR.
13721
5efc6777
L
137222018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13723
13724 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
13725 _CET_ENDBR.
13726
562837c0
L
137272018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13728
13729 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
13730 _CET_ENDBR.
13731 (_dl_tlsdesc_undefweak): Likewise.
13732 (_dl_tlsdesc_dynamic): Likewise.
13733 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
13734 (_dl_tlsdesc_resolve_rel): Likewise.
13735 (_dl_tlsdesc_resolve_rela): Likewise.
13736 (_dl_tlsdesc_resolve_hold): Likewise.
13737 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
13738 (_dl_tlsdesc_undefweak): Likewise.
13739 (_dl_tlsdesc_dynamic): Likewise.
13740 (_dl_tlsdesc_resolve_rela): Likewise.
13741 (_dl_tlsdesc_resolve_hold): Likewise.
13742
124bcde6
L
137432018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13744
13745 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
13746 (_fini): Likewise.
13747 * sysdeps/x86_64/crti.S (_init): Likewise.
13748 (_fini): Likewise.
13749
9145f033
RL
137502018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
13751
13752 [BZ #23140]
13753 * localedata/locales/os_RU (mon): Rename to...
13754 (alt_mon): This.
13755 (mon): Import from CLDR (genitive case).
13756
ba2ea23d
L
137572018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13758
13759 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
13760 cet-tunables.h> when CET is enabled.
13761
f753fa7d
L
137622018-07-16 H.J. Lu <hongjiu.lu@intel.com>
13763
6b5c8607 13764 [BZ #21598]
f753fa7d
L
13765 * configure.ac: Add --enable-cet.
13766 * configure: Regenerated.
13767 * elf/Makefille (all-built-dso): Add a comment.
13768 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
13769 Include <dl-prop.h>.
13770 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
13771 segment.
13772 * elf/dl-open.c: Include <dl-prop.h>.
13773 (dl_open_worker): Call _dl_open_check.
13774 * elf/rtld.c: Include <dl-prop.h>.
13775 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
13776 _rtld_main_check.
13777 * sysdeps/generic/dl-prop.h: New file.
13778 * sysdeps/i386/dl-cet.c: Likewise.
13779 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
13780 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
13781 * sysdeps/x86/cet-tunables.h: Likewise.
13782 * sysdeps/x86/check-cet.awk: Likewise.
13783 * sysdeps/x86/configure: Likewise.
13784 * sysdeps/x86/configure.ac: Likewise.
13785 * sysdeps/x86/dl-cet.c: Likewise.
13786 * sysdeps/x86/dl-procruntime.c: Likewise.
13787 * sysdeps/x86/dl-prop.h: Likewise.
13788 * sysdeps/x86/libc-start.h: Likewise.
13789 * sysdeps/x86/link_map.h: Likewise.
13790 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
13791 _CET_ENDBR.
13792 (_dl_runtime_profile): Likewise.
13793 (_dl_runtime_resolve_shstk): New.
13794 (_dl_runtime_profile_shstk): Likewise.
13795 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
13796 if CET is enabled.
13797 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
13798 (CFLAGS-.os): Likewise.
13799 (CFLAGS-.op): Likewise.
13800 (CFLAGS-.oS): Likewise.
13801 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
13802 is enabled.
13803 (tests-special): Add $(objpfx)check-cet.out.
13804 (cet-built-dso): New.
13805 (+$(cet-built-dso:=.note)): Likewise.
13806 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
13807 ($(objpfx)check-cet.out): New.
13808 (generated): Add check-cet.out.
13809 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
13810 <cet-tunables.h>.
13811 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
13812 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
13813 (init_cpu_features): Call get_cet_status to check CET status
13814 and update dl_x86_feature_1 with CET status. Call
13815 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
13816 (set_x86_shstk). Disable and lock CET in libc.a.
13817 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
13818 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
13819 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
13820 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
13821 (_CET_ENDBR): Define if not defined.
13822 (ENTRY): Add _CET_ENDBR.
13823 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
13824 x86_shstk.
13825 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
13826 _CET_ENDBR.
13827 (_dl_runtime_profile): Likewise.
13828
52b2a80f
RA
138292018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
13830
13831 [BZ #21895]
13832 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
13833 restore r2 on longjmp.
13834 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
13835 test list.
13836 Added rules to build test tst-setjmp-bug21895-static.
13837 Added module setjmp-bug21895 and rules to build a shared object from it.
13838 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
13839 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
13840
3ae725df
WD
138412018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
13842
13843 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
13844 * benchtests/bench-strstr.c: Likewise.
13845 * string/memmem.c (FASTSEARCH): Define.
13846 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
13847 Add support for FASTSEARCH.
13848 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
13849 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
13850 (FASTSEARCH): Define.
13851 * string/test-strcasestr.c: Rename __strnlen to strnlen.
13852 * string/test-strstr.c: Likewise.
13853
31e422ca
L
138542018-07-15 H.J. Lu <hongjiu.lu@intel.com>
13855
13856 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
13857 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
13858
faaee1f0
L
138592018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
13860 H.J. Lu <hongjiu.lu@intel.com>
13861
13862 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
13863 (__longjmp): Restore shadow stack pointer if shadow stack is
13864 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
13865 isn't defined for __longjmp_cancel.
13866 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
13867 (_setjmp): Save shadow stack pointer if shadow stack is enabled
13868 and SHADOW_STACK_POINTER_OFFSET is defined.
13869 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
13870 (setjmp): Save shadow stack pointer if shadow stack is enabled
13871 and SHADOW_STACK_POINTER_OFFSET is defined.
13872 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
13873 (__sigsetjmp): Save shadow stack pointer if shadow stack is
13874 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13875 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
13876 <jmp_buf-ssp.h>.
13877 (____longjmp_chk): Restore shadow stack pointer if shadow stack
13878 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13879 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
13880 Remove jmp_buf-ssp.sym.
13881 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13882 <jmp_buf-ssp.h>.
13883 (____longjmp_chk): Restore shadow stack pointer if shadow stack
13884 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13885 * sysdeps/x86/Makefile (gen-as-const-headers): Add
13886 jmp_buf-ssp.sym.
13887 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
13888 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
13889 (__longjmp): Restore shadow stack pointer if shadow stack is
13890 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
13891 isn't defined for __longjmp_cancel.
13892 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
13893 (__sigsetjmp): Save shadow stack pointer if shadow stack is
13894 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13895
ebff9c5c
L
138962018-07-14 H.J. Lu <hongjiu.lu@intel.com>
13897
13898 [BZ #22563]
13899 * nptl/pthread_create.c: Include <tls-setup.h>.
13900 (__pthread_create_2_1): Call tls_setup_tcbhead.
13901 * sysdeps/generic/tls-setup.h: New file.
13902 * sysdeps/x86/nptl/tls-setup.h: Likewise.
13903 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
13904 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
13905 Likewise.
13906 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
13907 to feature_1.
13908 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
13909 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
13910 (X86_FEATURE_1_SHSTK): Likewise.
13911 (CET_ENABLED): Likewise.
13912 (IBT_ENABLED): Likewise.
13913 (SHSTK_ENABLED): Likewise.
13914
0a83bad2
RL
139152018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
13916
13917 [BZ #23208]
13918 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
13919 (LOCALES): Likewise.
13920 * localedata/dsb_DE.UTF-8.in: New file.
13921 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
13922
046bfed9
FW
139232018-07-12 Florian Weimer <fweimer@redhat.com>
13924
13925 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
13926 __mprotect, not mprotect.
13927
93304f5f
FW
139282018-07-11 Florian Weimer <fweimer@redhat.com>
13929
13930 * io/Makefile (headers): Add bits/statx.h.
13931
4beefeeb
MF
139322018-07-10 Mike FABIAN <mfabian@redhat.com>
13933
13934 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
13935 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
13936 and headers.
13937 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
13938 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
13939 for utf8_gen.py
13940
fd70af45
FW
139412018-07-10 Florian Weimer <fweimer@redhat.com>
13942
13943 * io/Makefile (routines): Add statx.
13944 (tests-internal): Add tst-statx.
13945 * io/Versions (GLIBC_2.28): Export statx.
13946 * io/bits/statx.h: New file.
13947 * io/sys/stat.h [__USE_GNU]: Include it.
13948 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
13949 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
13950 Define.
13951 * io/statx.c: New file.
13952 * io/statx_generic.: Likewise.
13953 * io/tst-statx.: Likewise.
13954 * include/bits/statx.h: Likewise.
13955 * sysdeps/unix/sysv/linux/kernel-features.h
13956 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
13957 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13958 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
13959 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
13960 Undefine.
13961 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13962 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
13963 * sysdeps/unix/sysv/linux/statx.c: New file.
13964 * manual/filesys.texi: Note that statx is undocumented.
13965 * sysdeps/**/libc*.abilist: Update.
13966
b444e8f7
AZ
139672018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13968
13969 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
13970 a kernel issue which lead to test failure in some cases.
13971
7b2f4ced
FW
139722018-07-10 Florian Weimer <fweimer@redhat.com>
13973
13974 [BZ #23036]
13975 * posix/regexec.c (check_node_accept_bytes): When comparing
13976 weights, do not compare an extra byte after the end of the
13977 weights.
13978
4fa34da6
FW
139792018-07-10 Florian Weimer <fweimer@redhat.com>
13980
13981 * libio/readline.c: Fix copyright year.
13982 * libio/tst-readline.c Likewise.
13983 * nss/tst-nss-files-hosts-getent.c: Likewise.
13984
916124ed
FW
139852018-07-06 Florian Weimer <fweimer@redhat.com>
13986
13987 [BZ #18991]
13988 * nss/nss_files/files-XXX.c (internal_getent): Use
13989 __libc_readline_unlocked. Seek back to the start of the line if
13990 parsing failes with ERANGE.
13991 (get_contents_ret, get_contents): Remove.
13992 * nss/tst-nss-files-hosts-getent.c: New file.
13993 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
13994 (tst-nss-files-hosts-getent): Link with -ldl.
13995
3f5e3f5d
FW
139962018-07-06 Florian Weimer <fweimer@redhat.com>
13997
13998 * include/stdio.h (__libc_readline_unlocked): Declare.
13999 (__ftello64, __fseeko64): Declare aliases.
14000 * libio/readline.c: New file.
14001 * libio/tst-readline.c: Likewise.
14002 (routines): Add readline.
14003 (tests-internal): Add tst-readlime.
14004 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
14005 __libc_readline_unlocked.
14006 * libio/fseeko.c (__fseeko): Rename from fseeko.
14007 (fseeko): Add alias.
14008 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
14009 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
14010 (fseeko64): Add alias.
14011 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
14012 * libio/ftello64.c (__ftello64): Rename from ftello64.
14013 (ftello64): Add alias.
14014
397c54c1
SN
140152018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
14016
14017 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
14018 HWCAP_ATOMICS.
14019
d0cd7980
SN
140202018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
14021
14022 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
14023 Use dl_hwcap without masking.
14024 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
14025 Remove HWCAP_CPUID.
14026
ddb3c626
FW
140272018-07-06 Florian Weimer <fweimer@redhat.com>
14028
14029 * conform/conformtest.pl (checknamespace): Escape literal braces
14030 in regular expressions.
14031
bce5911b
AP
140322018-07-06 Amit Pawar <amit.pawar@amd.com>
14033
14034 * sysdeps/x86/cpu-features.c (get_common_indeces):
14035 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
14036 * sysdeps/x86/cpu-features.c (init_cpu_features):
14037 AVX_Fast_Unaligned_Load is disabled for Excavator core.
14038
3a885c1f
FW
140392018-07-05 Florian Weimer <fweimer@redhat.com>
14040
14041 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
14042 protector.
14043 (CFLAGS-elf-init.oS): Likewise.
14044
38cade0c
FW
140452018-07-05 Florian Weimer <fweimer@redhat.com>
14046 Carlos O'Donell <carlos@redhat.com>
14047
14048 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
14049 $(no-stack-protector). stack_chk_fail_local.c can be compiled
14050 with stack protector enabled because there is no risk of infinite
14051 recursion.
14052
9449a295
MR
140532018-07-05 Maciej W. Rozycki <macro@mips.com>
14054
14055 [BZ #19818]
14056 [BZ #23307]
14057 * libc-abis (ABSOLUTE): New ABI.
14058 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
14059 * NEWS: Mention the new ABI.
14060
d6da5cb6
FW
140612018-07-05 Florian Weimer <fweimer@redhat.com>
14062
14063 [BZ # 17662]
14064 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
14065 (RENAME_WHITEOUT): Define.
14066 [__USE_GNU] (renameat2): Declare.
14067 * stdio-common/Makefile (routines): Add renameat2.
14068 (tests): Add tst-renameat2.
14069 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
14070 * stdio-common/renameat2.c: New file.
14071 * stdio-common/tst-renameat2.c: Likewise.
14072 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
14073 * manual/filesys.texi (Temporary Files): Note that renameat2 is
14074 undocumented.
14075 * sysdeps/unix/sysv/linux/kernel-features.h
14076 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
14077 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14078 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
14079 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14080 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
14081 * sysdeps/unix/sysv/linux/sh/kernel-features.h
14082 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
14083 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14084 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
14085 * include/stdio.h (__renameat): Add alias for renameat.
14086 * stdio-common/renameat.c (__renameat): Rename from renameat.
14087 Add hidden definition and alias.
14088 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
14089 * sysdeps/mach/hurd/renameat.c: Likewise.
14090 * sysdeps/**/libc*.abilist: Add renameat2.
14091
1002d708
AZ
140922018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14093
14094 * posix/bug-regex33.c: Fix build after regex sync.
14095
34fdb893
CD
140962018-07-04 Carlos O'Donell <carlos@redhat.com>
14097
14098 [BZ #23164]
14099 * localedata/tst-langinfo-setlocale.c: New file.
14100 * localedata/tst-langinfo-setlocale-static.c: New file.
14101 * localedata/tst-langinfo-newlocale.c: New file.
14102 * localedata/tst-langinfo-newlocale-static.c: New file.
14103 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
14104 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
14105 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
14106 (tests-static): Remove tst-langinfo-static. Add
14107 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
14108 (tests-special): Remove $(objpfx)tst-langinfo.out,
14109 $(objpfx)tst-langinfo-static.out. Add
14110 $(objpfx)tst-langinfo-setlocale.out,
14111 $(objpfx)tst-langinfo-newlocale.out,
14112 $(objpfx)tst-langinfo-setlocale-static.out,
14113 $(objpfx)tst-langinfo-newlocale-static.out.
14114 ($(objpfx)tst-langinfo.out): Remove.
14115 ($(objpfx)tst-langinfo-static.out): Remove.
14116 ($(objpfx)tst-langinfo-newlocale.out): New target.
14117 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
14118 (test-xfail-tst-langinfo-newlocale-static): Add.
14119 ($(objpfx)tst-langinfo-setlocale.out): New target.
14120 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
14121 * localedata/tst-langinfo.c: Call test_locale.
14122 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
14123 data.
14124
f2873d2d
FW
141252018-07-04 Florian Weimer <fweimer@redhat.com>
14126
14127 testrun.sh: Implement --tool=strace, --tool=valgrind
14128 * Makefile (testrun-script): Define variable.
14129 (testrun.sh): Use variable.
14130 * manual/install.texi (Tools for Compilation): make 4.0 or later
14131 is required.
14132 * configure.ac: Check for make 4.0 or later.
14133 * INSTALL: Regenerate.
14134 * configure: Likewise.
14135
eb04c213
AZ
141362018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14137
14138 [BZ #23233]
14139 [BZ #21163]
14140 [BZ #18986]
14141 [BZ #13762]
14142 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
14143 * posix/PCRE.tests: Remove invalid test.
14144 * posix/bug-regex28.c: Fix expected values for used syntax.
14145 * posix/bug-regex37.c: New file.
14146 * posix/bug-regex38.c: Likewise.
14147 * posix/regcomp.c: Sync with gnulib.
14148 * posix/regex.c: Likewise.
14149 * posix/regex.h: Likewise.
14150 * posix/regex_internal.c: Likewise.
14151 * posix/regex_internal.h: Likewise.
14152 * posix/regexec.c: Likewise.
14153
b11643c2
MF
141542018-06-26 Mike FABIAN <mfabian@redhat.com>
14155
14156 [BZ #23308]
14157 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
14158 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
14159 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
14160 * localedata/unicode-gen/PropList.txt: likewise.
14161 * localedata/unicode-gen/UnicodeData.txt: likewise.
14162 * localedata/charmaps/UTF-8: Regenerate.
14163 * localedata/locales/i18n_ctype: likewise.
14164 * localedata/locales/tr_TR: likewise.
14165 * localedata/locales/translit_circle: likewise.
14166 * localedata/locales/translit_cjk_compat: likewise.
14167 * localedata/locales/translit_combining: likewise.
14168 * localedata/locales/translit_compat: likewise.
14169 * localedata/locales/translit_font: likewise.
14170 * localedata/locales/translit_fraction: likewise.
14171
5a357506
FW
141722018-07-03 Florian Weimer <fweimer@redhat.com>
14173
14174 [BZ #23363]
14175 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
14176 * stdio-common/tst-printf.sh: Adjust expected output.
14177 * LICENSES: Update.
14178
7279af00
AZ
141792018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14180
14181 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
14182 symbol.
14183
b7b88cea
GG
141842018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14185
14186 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
14187 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
14188 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
14189 * stdio-common/tst-printfsz-islongdouble.c: New file.
14190 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
14191 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
14192 [subdir == stdio-common] (routines): Add ieee128-printf_size.
14193 [subdir == stdio-common] (tests-internal): Add
14194 test-printf-size-ieee128, and test-printf-size-ibm128.
14195 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
14196 (CFLAGS-test-printf-size-ibm128.c): New variables.
14197 [subdir == stdio-common] (tests-special): Add
14198 $(objpfx)test-printf-size-ieee128.out and
14199 $(objpfx)test-printf-size-ibm128.out.
14200 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
14201 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
14202 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
14203 __printf_sizeieee128.
14204 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
14205 New file.
14206 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
14207 Likewise.
14208 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
14209 Likewise.
14210
2b445206
SN
142112018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
14212
14213 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
14214 (exp2f_inline): Likewise.
14215 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
14216 (__math_uflowf): Likewise.
14217 (__math_may_uflowf): Likewise.
14218 (__math_divzerof): Likewise.
14219 (__math_invalidf): Likewise.
14220 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
14221 (__math_oflowf): Likewise.
14222 (__math_uflowf): Likewise.
14223 (__math_may_uflowf): Likewise.
14224 (__math_divzerof): Likewise.
14225 (__math_invalidf): Likewise.
14226
2827ab99
CD
142272018-06-29 DJ Delorie <dj@redhat.com>
14228 Carlos O'Donell <carlos@redhat.com>
14229
14230 [BZ #23329]
14231 * include/libc-symbols.h: Comment the freeres framework.
14232 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
14233 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
14234 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
14235 * dlfcn/dlerror.c: Include libc-symbols.h
14236 (__dlerror_main_freeres): New function.
14237 * dlfcn/dlfreeres.c: New file.
14238 * dlfcn/sdlfreeres.c: New file.
14239 * include/dlfcn.h: Declare __dlerror_main_freeres.
14240 * malloc/set-freeres.c: Declare __libdl_freeres, and
14241 __libpthread_freeres.
14242 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
14243 the releavant libraries are loaded.
14244 * malloc/thread-freeres.c: Add comments.
14245 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
14246 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
14247 * nptl/allocatestack.c (__nptl_free_stacks): New function.
14248 (__free_stacks): Rename to...
14249 (free_stacks): ...this. Mark static.
14250 (queue_stack): Call free_stacks.
14251 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
14252 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
14253 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
14254 ptr_freeres element from struct.
14255 (pthread_functions): Remove .ptr_freeres from struct initializer.
14256 [SHARED] (nptl_freeres): Remove.
14257 * nptl/nptlfreeres.c: New file.
14258 * nptl/pthreadP.h
14259 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
14260 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
14261 attribute_hidden.
14262 (__free_stacks): Rename to...
14263 (__nptl_stacks_freeres): ...this.
14264 (__shm_directory_freeres): Declare.
14265 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
14266 (__nptl_unwind_freeres): ...this.
14267 * resolv/res-close.c: Add comment.
14268 * resolv/resolv_conf.c: Include libc-symbols.h.
14269 * string/strerror_l.c: Include libc-symbols.h.
14270 * sunrpc/rpc_thread.c: Include libc-symbols.h.
14271 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
14272 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
14273 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
14274
37d3d244
RS
142752018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14276
14277 * stdlib/tst-strfmon_l.c: Add tests for long double.
14278
a1e0c5fa
MW
142792018-06-29 Michael Wolf <milupo@sorbzilla.de>
14280
14281 [BZ #23208]
14282 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
14283 * localedata/locales/dsb_DE: New file.
14284
2e0c5de6
RL
142852018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
14286
14287 [BZ #23140]
14288 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
14289 genitive case).
14290 (alt_mon): New entry, import from CLDR (nominative case).
14291
cdb52c71
SL
142922018-06-29 Sylvain Lesage <severo@rednegra.net>
14293
14294 [BZ #22996]
14295 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
14296
ce76a5cb
SP
142972018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
14298
0aec4c1d
SP
14299 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
14300 Use vector registers.
14301
ce76a5cb
SP
14302 * sysdeps/aarch64/multiarch/memmove_falkor.S
14303 (__memcpy_falkor): Use vector registers.
14304
7e8989d0
MS
143052018-06-29 Martin Sebor <msebor@redhat.com>
14306
14307 * manual/stdio.texi (Customizing Printf): Mention interaction
14308 with GCC built-ins.
14309
bac15a72
MR
143102018-06-29 Maciej W. Rozycki <macro@mips.com>
14311
14312 [BZ #23307]
14313 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
14314 `st_value' is 0 if `st_shndx' is SHN_ABS.
14315 * elf/tst-absolute-zero.c: New file.
14316 * elf/tst-absolute-zero-lib.c: New file.
14317 * elf/tst-absolute-zero-lib.lds: New file.
14318 * elf/Makefile (tests): Add `tst-absolute-zero'.
14319 (modules-names): Add `tst-absolute-zero-lib'.
14320 (LDLIBS-tst-absolute-zero-lib.so): New variable.
14321 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
14322 ($(objpfx)tst-absolute-zero: New dependency.
14323
e69d994a
ZW
143242018-06-29 Zack Weinberg <zackw@panix.com>
14325
14326 * configure.ac: New command-line option --disable-crypt.
14327 Force --disable-nss-crypt when --disable-crypt is given, with a
14328 warning if it was explicitly enabled.
14329 * configure: Regenerate.
14330 * config.make.in: New boolean substitution variable $(build-crypt).
14331 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
14332 when $(build-crypt).
14333 * manual/install.texi: Document --disable-crypt.
14334 * INSTALL: Regenerate.
14335
14336 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
14337 which is never set.
14338 * conform/Makefile: Only include libcrypt.a in
14339 linknamespace-libs-xsi and linknamespace-libs-XPG4
14340 when $(build-crypt).
14341 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
14342 USE_CRYPT to 1 when $(build-crypt).
14343 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
14344 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
14345 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
14346
841785ba
ZW
143472018-06-29 Zack Weinberg <zackw@panix.com>
14348
14349 * crypt/crypt.h, posix/unistd.h: Update comments and
14350 prototypes for crypt and crypt_r.
14351
14352 * manual/crypt.texi (Cryptographic Functions): New initial
14353 exposition.
14354 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
14355 (Unpredictable Bytes): Improve initial exposition. Clarify error
14356 behavior of getentropy and getrandom.
14357 * manual/examples/genpass.c: Generate a salt using getentropy
14358 instead of the current time. Use hash $5$ (SHA-2-256).
14359 * manual/examples/testpass.c: Demonstrate validation against
14360 hashes generated with three different one-way functions.
14361
14362 * manual/intro.texi: crypt.texi does not need an overview
14363 anymore.
14364
14365 * manual/nss.texi, manual/memory.texi, manual/socket.texi
14366 * manual/terminal.texi: Consistently refer to "passphrases"
14367 * instead of "passwords", and to the "user database" instead
14368 * of the "password database".
14369 * manual/users.texi: Similarly. Add notes about how actual
14370 passphrase hashes are now stored in the shadow database.
14371 Remove 20-year-old junk todo note.
14372
6ab902e4
ZW
143732018-06-29 Zack Weinberg <zackw@panix.com>
14374
14375 * manual/crypt.texi: Use a normal top-level @node declaration.
14376 Move most of the introductory text to the 'crypt' section.
14377 Move the example programs below the @deftypefun for 'crypt_r'.
14378 Move the 'getpass' section...
14379 * manual/terminal.texi: ...here.
14380
b10a0acc
ZW
143812018-06-29 Zack Weinberg <zackw@panix.com>
14382 Florian Weimer <fweimer@redhat.com>
14383
14384 * posix/unistd.h: Do not declare encrypt.
14385 (_XOPEN_CRYPT): Remove macro definition.
14386 (crypt): Declare only for _USE_MISC.
14387 * stdlib/stdlib.h: Do not declare setkey.
14388 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
14389 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
14390
14391 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
14392 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
14393 into compat symbols. Don't define initial_perm if it's not
14394 going to be used.
14395 * crypt/cert.c: Link explicitly with the expected versions for
14396 setkey and encrypt. If they are not available at all, mark
14397 the test as unsupported.
14398
14399 * sunrpc/des_crypt.c: Unconditionally block linkage with
14400 cbc_crypt and ecb_crypt for new binaries.
14401 * sunrpc/des_soft.c: Unconditionally block linkage with
14402 des_setparity for new binaries.
14403
14404 * manual/crypt.texi: Remove the entire "DES Encryption"
14405 section. Also remove the paragraph talking about FIPS 140-2
14406 from the introduction.
14407 * manual/string.texi (strfry, memfrob): Revise. Recommend use
14408 of libgcrypt for "real" encryption, not DES.
14409 * manual/conf.texi (Constants for Sysconf): Mention that
14410 _XOPEN_CRYPT is no longer impelemented.
14411
14412 * conform/data/unistd.h-data: Remove crypt function declaration.
14413
524d796d
FW
144142018-06-29 Florian Weimer <fweimer@redhat.com>
14415
14416 [BZ #23351]
14417 * malloc/hooks.c: Update comments on restoring of dumped heaps.
14418 (disallow_malloc_check): Remove variable.
14419 (__malloc_check_init): Adjust.
14420 (malloc_set_state): Update comment.
14421 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
14422 declarations.
14423
339124ab
RL
144242018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
14425
14426 [BZ #23140]
14427 * localedata/locales/ast_ES (mon): Rename to...
14428 (alt_mon): This.
14429 (mon): Import from CLDR (genitive case).
14430
c1f86a33
DA
144312018-06-29 Daniel Alvarez <dalvarez@redhat.com>
14432 Jakub Sitnicki <jkbs@redhat.com>
14433
14434 [BZ #21812]
14435 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
14436 on NLM_F_DUMP_INTR.
14437
0b11b649
SN
144382018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
14439
14440 * manual/llio.texi: Remove spurious space.
14441
c1c2848b
FW
144422018-06-28 Florian Weimer <fweimer@redhat.com>
14443
14444 [BZ #23349]
14445 * time/bits/types/struct_timespec.h: Change header inclusion guard to
14446 _STRUCT_TIMESPEC.
14447
86a0f561
RS
144482018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14449
14450 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
6b5c8607 14451 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
86a0f561
RS
14452 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
14453 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
14454 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
14455 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
14456 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
14457
780684eb
MR
144582018-06-27 Maciej W. Rozycki <macro@mips.com>
14459
14460 [BZ #23266]
14461 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
14462 Copy and null-terminate entries that are not terminated, in
14463 addition to empty ones.
14464
c49e1822
FW
144652018-06-27 Florian Weimer <fweimer@redhat.com>
14466
14467 [BZ #18023]
b39d961c
TS
14468 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
14469 (extend_alloca_account): Remove.
c49e1822
FW
14470 * manual/stdio.texi (Variable Arguments Output): Update comment.
14471
a833e627
JM
144722018-06-27 Joseph Myers <joseph@codesourcery.com>
14473
14474 * nptl/sockperf.c: Remove file.
14475
92d6aa85
FW
144762018-06-27 Florian Weimer <fweimer@redhat.com>
14477
14478 [BZ #18023]
14479 * elf/dl-deps.c (_dl_map_object_deps): Use struct
14480 scratch_buffer instead of extend_alloca.
14481
890c2ced
FW
144822018-06-27 Florian Weimer <fweimer@redhat.com>
14483
14484 [BZ #18023]
14485 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
14486 scratch_buffer instead of extend_alloca. Update comments.
14487
4272059d
FW
144882018-06-27 Florian Weimer <fweimer@redhat.com>
14489
14490 [BZ #18023]
14491 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
14492 instead of extend_alloca.
14493
27f10a09
JM
144942018-06-26 Joseph Myers <joseph@codesourcery.com>
14495
14496 [BZ #13888]
14497 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
14498 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
14499 /tmp.
14500 * scripts/test-installation.pl: Put temporary files in build
14501 directory, not /tmp.
14502 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
14503 (CFLAGS-bug4.c): Likewise.
14504 (CFLAGS-bug5.c): Likewise.
14505 (CFLAGS-test-fseek.c): Likewise.
14506 (CFLAGS-test-popen.c): Likewise.
14507 (CFLAGS-test_rdwr.c): Likewise.
14508 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
14509 /tmp.
14510 * stdio-common/bug4.c (main): Likewise.
14511 * stdio-common/bug5.c (main): Likewise.
14512 * stdio-common/test-fseek.c (TESTFILE): Likewise.
14513 * stdio-common/test-popen.c (do_test): Likewise.
14514 * stdio-common/test_rdwr.c (main): Likewise.
14515
05598a09
PF
145162018-06-26 Patsy Franklin <pfrankli@redhat.com>
14517
14518 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
14519 (sem_open): Set sem.newsem.pad to zero for valgrind.
14520
06ab719d
AZ
145212018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14522
14523 [BZ #20251]
14524 * NEWS: Mention fcntl64 addition.
14525 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
14526 * login/utmp_file.c: Likewise.
14527 * sysdeps/posix/fdopendir.c: Likewise.
14528 * sysdeps/posix/opendir.c: Likewise.
14529 * sysdeps/unix/pt-fcntl.c: Likewise.
14530 * include/fcntl.h (__libc_fcntl64, __fcntl64,
14531 __fcntl64_nocancel_adjusted): New prototype.
14532 (__fcntl_nocancel_adjusted): Remove prototype.
14533 * io/Makefile (routines): Add fcntl64.
14534 (CFLAGS-fcntl64.c): New rule.
14535 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
14536 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
14537 * io/fcntl.h (fcntl64): Add prototype and redirect if
14538 __USE_FILE_OFFSET64 is defined.
14539 * io/fcntl64.c: New file.
14540 * manual/llio.text: Add a note for which commands fcntl acts a
14541 cancellation point.
14542 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
14543 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
14544 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
14545 New symbols.
14546 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
14547 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
14548 non-LFS case.
14549 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
14550 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
14551 to __fcntl64_nocancel.
14552 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
14553 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
14554 to __fcntl64_nocancel.
14555 * sysdeps/generic/not-cancel.h: Likewise.
14556 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
14557 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
14558 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
14559 (fcntl64): New symbol.
14560 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14561 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14562 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14565 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14566 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14567 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14568 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14569 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14570 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
14571 fcntl64): Likewise.
14572 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14573 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
14574 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14575 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14576 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14577 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14578 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14579 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14580 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14582 Likewise.
14583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14584 Likewise.
14585 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14586 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14587 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14588
124e0258
FW
145892018-06-26 Florian Weimer <fweimer@redhat.com>
14590
14591 Run thread shutdown functions in an explicit order.
14592 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
14593 definition.
14594 (__libc_thread_freeres): Call thread shutdown functions
14595 explicitly.
14596 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
14597 * include/string.h (__strerror_thread_freeres): Declare.
14598 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
14599 arena_thread_freeres. No longer static. Remove thread shutdown
14600 hook registration.
14601 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
14602 Declare.
14603 * resolv/res-close.c (__res_thread_freeres): Renamed from
14604 res_thread_freeres. No longer static. Remove thread shutdown
14605 hook registration.
14606 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
14607 * resolv/resolv_conf.c (freeres): Remove incorrect section
14608 attribute and use libc_freeres_fn.
14609 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
14610 strerror_thread_freeres. No longer static. Remove thread
14611 shutdown hook registration.
14612 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
14613 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
14614 shutdown hook registration.
14615 * Makerules (shlib.lds): Do not provide section boundary symbols
14616 for __libc_thread_subfreeres.
14617 * manual/memory.texi (Basic Allocation): Update comment.
14618
935d920e
FW
146192018-06-26 Florian Weimer <fweimer@redhat.com>
14620
14621 Remove always-defined _RPC_THREAD_SAFE_ macro.
14622 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
14623 Do not define _RPC_THREAD_SAFE_.
14624 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
14625 conditional.
14626 * sunrpc/clnt_perr.c: Likewise.
14627 * sunrpc/clnt_raw.c: Likewise.
14628 * sunrpc/clnt_simp.c: Likewise.
14629 * sunrpc/key_call.c: Likewise.
14630 * sunrpc/rpc_common.c: Likewise.
14631 * sunrpc/rpc_main.c: Likewise.
14632 * sunrpc/rpc_thread.c: Likewise.
14633 * sunrpc/svc.c: Likewise.
14634 * sunrpc/svc_raw.c: Likewise.
14635 * sunrpc/svc_simple.c: Likewise.
14636 * sumrpc/svcauth_des.c: Likewise.
14637
29055464
FW
146382018-06-26 Florian Weimer <fweimer@redhat.com>
14639
14640 * libio/Makefile (tests-internal): Add tst-vtables,
14641 tst-vtables-interposed.
14642 * libio/tst-vtables.c: New file.
14643 * libio/tst-vtables-common.c: Likewise.
14644 * libio/tst-vtables-interposed.c: Likewise.
14645
5c0202af
FW
146462018-06-26 Florian Weimer <fweimer@redhat.com>
14647
14648 * support/support_test_main.c (support_test_main): Only call
14649 setvbuf if not disables.
14650 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
14651 * support/test-driver.h (struct test_config): Add no_setvbuf member.
14652
c402355d
FW
146532018-06-26 Florian Weimer <fweimer@redhat.com>
14654
14655 [BZ #23313]
14656 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
14657
43b1048a
FW
146582018-06-25 Florian Weimer <fweimer@redhat.com>
14659
14660 [BZ #18023]
14661 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14662 Use struct scratch_buffer instead of extend_alloca.
14663
1599ed4e
FW
146642018-06-25 Florian Weimer <fweimer@redhat.com>
14665
14666 [BZ #18023]
14667 * nss/getent.c (initgroups_keys): Use dynarray instead of
14668 extend_alloca.
14669
a26fe163
FW
146702018-06-25 Florian Weimer <fweimer@redhat.com>
14671
14672 [BZ #18023]
14673 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
14674 Use struct scratch_buffer instead of extend_alloca.
14675
90d9d9ce
FW
146762018-06-25 Florian Weimer <fweimer@redhat.com>
14677
14678 [BZ #18023]
14679 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
14680 back to malloc directly, without stack allocations.
14681
6b7b2aba
FW
146822018-06-25 Florian Weimer <fweimer@redhat.com>
14683
14684 [BZ #18023]
14685 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
14686 of extend_alloca.
14687
2f9f0d18
FW
146882018-06-25 Florian Weimer <fweimer@redhat.com>
14689
14690 [BZ #18023]
14691 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
14692 of extend_alloca.
14693 * nscd/hstcache.c (addhstbyX): Likewise.
14694 * nscd/pwdcache.c (addpwbyX): Likewise.
14695 * nscd/servicescache.c (addservbyX): Likewise.
14696
318bad78
FW
146972018-06-25 Florian Weimer <fweimer@redhat.com>
14698
14699 [BZ #18023]
14700 * nscd/connections.c (read_cmdline): New function.
14701 (restart): Use it. Update comment.
14702
189699ab
RL
147032018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
14704
14705 [BZ #23140]
14706 * localedata/locales/csb_PL (mon): Rename to...
14707 (alt_mon): This.
14708 (abmon): Rename to...
14709 (ab_alt_mon): This.
14710 (mon): Add with proper genitive forms, copy from Wikipedia.
14711 (abmon): Likewise.
14712
0ea3f13c
RL
147132018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
14714
14715 [BZ #19485]
14716 * localedata/locales/csb_PL (mon): Fix typos:
14717 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
14718 (yesstr): Add, value is "jo".
14719 (nostr): Add, value is "nié".
14720
d93f4ff1
TMQMF
147212018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14722
14723 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
14724 all log1p and significand functions on m680x0.
14725 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
14726 of s_significand.c..
14727 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
14728 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
14729 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
14730 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
14731 s_log1p.c and include it..
14732
f6299d2a
VC
147332018-06-21 Vincent Chen <vincentc@andestech.com>
14734
14735 * elf/elf.h (R_NDS32_NONE): New define.
14736 (R_NDS32_32_RELA): Likewise.
14737 (R_NDS32_COPY): Likewise.
14738 (R_NDS32_GLOB_DAT): Likewise.
14739 (R_NDS32_JUMP_SLOT): Likewise.
14740 (R_NDS32_RELATIVE): Likewise.
14741 (R_NDS32_TLS_TPOFF): Likewise.
14742 (R_NDS32_TLS_DESC): Likewise.
14743
61ab61c2
MW
147442018-06-21 Mark Wielaard <mark@klomp.org>
14745
14746 * elf/elf.h (R_BPF_MAP_FD): Removed.
14747 (R_BPF_64_64, R_BPF_64_32): New.
14748
f496b28e
FW
147492018-06-21 Florian Weimer <fweimer@redhat.com>
14750
14751 [BZ #23253]
14752 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
14753 Renamed from libc_feholdsetround_ctx.
14754 (default_libc_feresetround_ctx): Renamed from
14755 libc_feresetround_ctx.
14756 (default_libc_feholdsetround_noex_ctx): Renamed from
14757 libc_feholdsetround_noex_ctx.
14758 (default_libc_feresetround_noex_ctx): Renamed from
14759 libc_feresetround_noex_ctx.
14760 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
14761 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
14762 forwardning to the old implementations under the new names.
14763 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
14764 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
14765 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
14766 (libc_feresetround_ctx): Forward to default implements for i386
14767 and MATH_SET_BOTH_ROUNDING_MODES.
14768 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
14769 Add -DMATH_SET_BOTH_ROUNDING_MODES.
14770
1760daad
JM
147712018-06-20 Joseph Myers <joseph@codesourcery.com>
14772
99c7adf9
JM
14773 * string/tst-cmp.c: Include <libc-diag.h>.
14774 (strncmp_max): Disable -Wstringop-overflow= around call to
14775 strncmp.
14776 (strncasecmp_max): Disable -Wstringop-overflow= around call to
14777 strncasecmp.
14778
1760daad
JM
14779 * string/bug-strpbrk1.c: Include <libc-diag.h>.
14780 (main): Disable -Wunused-value around call to strpbrk.
14781 * string/bug-strspn1.c: Include <libc-diag.h>.
14782 (main): Disable -Wunused-value around call to strspn.
14783
209ae17c
TMQMF
147842018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14785 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14786
14787 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
14788 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
14789
badba23c
TMQMF
147902018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14791
5e79e029
TMQMF
14792 * math/Makefile (libm-calls): Move s_significandF to...
14793 (gen-libm-calls): ... here.
14794 * math/s_significand_template.c: New file.
14795 * math/s_significand.c: Removed.
14796 * math/s_significandf.c: Removed.
14797 * math/s_significandl.c: Removed.
14798 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
14799 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
14800
badba23c
TMQMF
14801 * math/e_exp2_template.c (declare_mgen_finite_alias,
14802 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
14803 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
14804 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
14805
2d1c89a5
FW
148062018-06-20 Florian Weimer <fweimer@redhat.com>
14807
14808 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
14809
646c2833
JM
148102018-06-19 Joseph Myers <joseph@codesourcery.com>
14811
14812 [BZ #23280]
14813 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
14814 floating-point number to strtod functions rather than possibly
14815 negating result of those functions.
14816 * stdio-common/tst-scanf-round.c: New file.
14817 * stdio-common/Makefile (tests): Add tst-scanf-round.
14818 ($(objpfx)tst-scanf-round): Depend on $(libm).
14819
c77e4dc0
ST
148202018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14821
14822 * sysdeps/mach/hurd/localplt.data: Move to...
14823 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
14824 R_386_GLOB_DAT like on Linux i386.
14825
91b2f3e5
JM
148262018-06-18 Joseph Myers <joseph@codesourcery.com>
14827
f2857da7
JM
14828 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
14829 (SHM_STAT_ANY): New macro.
14830 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
14831 (SHM_STAT_ANY): Likewise.
14832 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
14833 (SHM_STAT_ANY): Likewise.
14834 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
14835 (SHM_STAT_ANY): Likewise.
14836 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
14837 (SHM_STAT_ANY): Likewise.
14838 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
14839 (SHM_STAT_ANY): Likewise.
14840 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
14841 (SHM_STAT_ANY): Likewise.
14842 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
14843 (SHM_STAT_ANY): Likewise.
14844 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
14845 (SHM_STAT_ANY): Likewise.
14846 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
14847 (SHM_STAT_ANY): Likewise.
14848 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
14849 (SHM_STAT_ANY): Likewise.
14850 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
14851 (SHM_STAT_ANY): Likewise.
14852
176c7fee
JM
14853 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
14854 (SEM_STAT_ANY): New macro.
14855 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
14856 (SEM_STAT_ANY): Likewise.
14857 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
14858 (SEM_STAT_ANY): Likewise.
14859 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
14860 (SEM_STAT_ANY): Likewise.
14861 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
14862 (SEM_STAT_ANY): Likewise.
14863 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
14864 (SEM_STAT_ANY): Likewise.
14865 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
14866 (SEM_STAT_ANY): Likewise.
14867 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
14868 (SEM_STAT_ANY): Likewise.
14869 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
14870 (SEM_STAT_ANY): Likewise.
14871 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
14872 (SEM_STAT_ANY): Likewise.
14873
86bf0019
JM
14874 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
14875 (MSG_STAT_ANY): New macro.
14876 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
14877 (MSG_STAT_ANY): Likewise.
14878 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
14879 (MSG_STAT_ANY): Likewise.
14880 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
14881 (MSG_STAT_ANY): Likewise.
14882 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
14883 (MSG_STAT_ANY): Likewise.
14884 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
14885 (MSG_STAT_ANY): Likewise.
14886 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
14887 (MSG_STAT_ANY): Likewise.
14888 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
14889 (MSG_STAT_ANY): Likewise.
14890 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
14891 (MSG_STAT_ANY): Likewise.
14892 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
14893 (MSG_STAT_ANY): Likewise.
14894
91b2f3e5
JM
14895 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
14896 (MAP_TYPE): Change value to 0x2b.
14897
3fe8fc79
FW
148982018-06-18 Florian Weimer <fweimer@redhat.com>
14899
14900 [BZ #15722]
14901 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
14902 socket with SOCK_CLOEXEC.
14903
809dc95d
JM
149042018-06-18 Joseph Myers <joseph@codesourcery.com>
14905
14906 [BZ #23303]
14907 * sysdeps/powerpc/powerpc64/le/Makefile
14908 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
14909 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
14910 (gnulib-tests): Also add $(f128-loader-link) for
14911 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
14912
298a8b59
ST
149132018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
14914
14915 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
14916 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
14917 of sendfile.
14918 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
14919 (sendfile64): New strong alias.
faf7bbc2
ST
14920 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
14921 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
14922 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
f96a85e0
ST
14923 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
14924 attribute.
14925 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
14926 ___pthread_get_cleanup_stack.
932d05f0 14927 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
c1b7586c
ST
14928 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
14929 * mach/shortcut.awk: Make syscall stubs include
14930 <mach-shortcuts-hidden.h> and add hidden definition.
14931 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
7a646a93
ST
14932 (__mach_msg): Add hidden prototype.
14933 * mach/msg.c: Include <mach.h>.
14934 (__mach_msg): Add hidden definition.
b0344cf5
ST
14935 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
14936 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
14937 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
14938 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
8c9d5342
ST
14939 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
14940 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
4d0ac037
ST
14941 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
14942 prototype and definition.
14943 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
14944 hidden target for _hurd_self_sigstate.
298a8b59 14945
b12c1e79
JM
149462018-06-15 Joseph Myers <joseph@codesourcery.com>
14947
14948 [BZ #23007]
14949 * stdlib/tst-strtod-nan-sign-main.c: New file.
14950 * stdlib/tst-strtod-nan-sign.c: Likewise.
14951 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
14952 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
14953 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
14954 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
14955 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
14956
b0debe14
HB
149572018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
14958
14959 [BZ #23007]
14960 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
14961 appropriate sign.
14962
14beef75
FW
149632018-06-14 Florian Weimer <fweimer@redhat.com>
14964
14965 [BZ #23290]
14966 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
14967 that the result stays within the ISO-8859-1 range.
14968 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
14969 characters are defined in IBM273.
14970
c596630b
ST
149712018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
14972
14973 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
14974 __mach_task_self): Remove attribute_hidden.
14975
35ebb6b0
JM
149762018-06-14 Joseph Myers <joseph@codesourcery.com>
14977
14978 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
14979 ignore -Wrestrict for one test.
14980
3c7b9f1f
SE
149812018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
14982 Szabolcs Nagy <szabolcs.nagy@arm.com>
14983
14984 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
14985
c59ee916
FW
149862018-06-14 Florian Weimer <fweimer@redhat.com>
14987
14988 * scripts/update-abilist.sh: Accept empty list of files to patch.
14989
43b5ff50
ST
149902018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
14991
14992 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
14993 test-xfail-check-abi-libmachuser): Add.
c8c910ed
ST
14994 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
14995 __libc_read and __libc_write to __read and __write.
c8c6e6d6 14996 * sysdeps/hurd/include/hurd/port.h: New file.
126b3ec3
ST
14997 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
14998 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
14999 __thread_switch, __evc_wait): Move declarations to...
15000 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
15001 attribute_hidden.
06d1a826
ST
15002 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
15003 use PLT to call _hurd_self_sigstate.
43b5ff50 15004
fcd6b5ac
JM
150052018-06-13 Joseph Myers <joseph@codesourcery.com>
15006
15007 [BZ #23279]
15008 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
15009 MAX_EXP as overflowing.
15010 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
15011 overflow flag.
15012 (round_str): Output also whether result overflows in each rounding
15013 mode.
15014 * stdlib/tst-strtod-round-data: Add more tests.
15015 * stdlib/tst-strtod-round-data.h: Regenerated.
15016 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
15017 (TEST): Handle extra arguments for overflow flags.
15018 (struct test_overflow): New type.
15019 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
15020 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
15021 (test_in_one_mode): Take argument with overflow information.
15022 (do_test): Update calls to test_in_one_mode.
15023
35df5a77
CD
150242018-06-12 Carlos O'Donell <carlos@redhat.com>
15025
a745c837
CD
15026 * elf/dl-load (_dl_dst_substitute): Correct comment.
15027 (_dl_dst_count): Likewise.
15028
35df5a77
CD
15029 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
15030 lll_futex_timed_wait.
15031
48b12ed5
JM
150322018-06-12 Joseph Myers <joseph@codesourcery.com>
15033
15034 [BZ #23277]
15035 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
15036 attribute.
15037 * math/test-nan-const.c: New file.
15038 * math/Makefile (tests): Add test-nan-const.
15039 (CFLAGS-test-nan-const.c): New variable.
15040
cb8f6aff
L
150412018-06-12 H.J. Lu <hongjiu.lu@intel.com>
15042
15043 * benchtests/scripts/compare_strings.py (process_results): Add
15044 funcs argument. Compare only functions which are selected.
15045 (main): Check if base function is among selected functions.
15046 Pass selected functions to process_results.
15047 (__main__): Add -f/--functions argument.
15048
fc2ba803
HZ
150492018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
15050 Hongbo Zhang <hongbo.zhang@linaro.org>
15051
15052 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
15053 __memcpy_falkor for phecda core.
15054 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
15055 __memmove_falkor for phecda core.
15056 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
15057 __memset_falkor for phecda core.
15058 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
15059 for phecda core.
15060 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
15061 macro to identify phecda core.
15062
5aad5f61
CD
150632018-06-12 Carlos O'Donell <carlos@redhat.com>
15064 Andreas Schwab <schwab@suse.de>
15065 Dmitry V. Levin <ldv@altlinux.org>
6b5c8607 15066 Florian Weimer <fweimer@redhat.com>
5aad5f61
CD
15067
15068 [BZ #23102]
15069 [BZ #21942]
15070 [BZ #18018]
15071 [BZ #23259]
15072 CVE-2011-0536
15073 * elf/dl-dst.h: Remove DL_DST_COUNT.
15074 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
15075 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
15076 (is_dst): Comment. Support ELF gABI.
15077 (_dl_dst_count): Comment. Simplify and count DSTs.
15078 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
15079 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
15080 locals.
15081
329ea513
ZW
150822018-06-12 Zack Weinberg <zackw@panix.com>
15083
15084 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
15085 * sysdeps/unix/sysv/linux/dl-sysdep.c
15086 Include not-cancel.h. Use __close_nocancel instead of __close,
15087 __open64_nocancel instead of __open, __read_nocancel instead of
15088 __libc_read, and __write_nocancel instead of __libc_write.
15089
15090 * csu/check_fds.c (check_one_fd)
15091 * sysdeps/posix/fdopendir.c (__fdopendir)
15092 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
b39d961c 15093 instead of __fcntl and/or __libc_fcntl.
329ea513
ZW
15094
15095 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
15096 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
b39d961c 15097 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
329ea513
ZW
15098 Use __open64_nocancel instead of __open_nocancel.
15099
15100 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
15101 hidden_proto declarations to the end and issue them if either
15102 IS_IN(libc) or IS_IN(rtld).
15103 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
15104 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
15105 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
15106 read_nocancel, waitpid_nocancel, write_nocancel.
15107
b39d961c
TS
15108 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
15109 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
15110 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
329ea513 15111
b39d961c
TS
15112 * nptl/pt-fcntl.c: New file.
15113 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
15114 (libpthread-routines): Add pt-fcntl.
15115 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
15116 (__libc_fcntl): Remove attribute_hidden.
329ea513
ZW
15117 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
15118 __fcntl_nocancel_adjusted, not fcntl_common.
b39d961c 15119 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
329ea513
ZW
15120 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
15121 to fcntl_nocancel.c.
15122 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
15123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
15124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15125 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
15126
15127 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
15128 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
15129 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
15130 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
15131 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
15132 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
15133 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
15134 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
15135 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
15136 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
15137 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
15138 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
15139 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
15140 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
15141 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
15142 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
15143 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
15144 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
15145 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
15146 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
15147
b39d961c
TS
15148 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
15149 libpthread-routines.
15150 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
15151 defines nothing.
329ea513 15152
b39d961c
TS
15153 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
15154 __libc_read, and __write instead of __libc_write. Define
15155 __open64 in addition to __open.
329ea513 15156
0221ce2a
L
151572018-06-12 H.J. Lu <hongjiu.lu@intel.com>
15158
15159 [BZ #23250]
15160 [BZ #10686]
15161 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
15162 to _private_tm[3] and add __glibc_reserved2.
15163 Add _Static_assert of offset of __private_ss == 0x30.
15164 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
15165 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
15166
e826574c
FW
151672018-06-12 Florian Weimer <fweimer@redhat.com>
15168
15169 x86: Make strncmp usable from rtld.
15170 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
15171 __strncmp_ia32 if in libc (and not in rtld).
15172 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
15173 strncmp if not in libc (and not to __strncmp_sse2).
15174
c4ad5782
RL
151752018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
15176
15177 [BZ #23140]
15178 * localedata/locales/gd_GB (mon): Rename to...
15179 (alt_mon): This.
15180 (mon): Import from CLDR (genitive case).
15181 * localedata/locales/hsb_DE (mon): Rename to...
15182 (alt_mon): This.
15183 (mon): Import from CLDR (genitive case).
15184 * localedata/locales/wa_BE (mon): Rename to...
15185 (alt_mon): This.
15186 (mon): Add, fill with the proper genitive forms, but CLDR data
15187 is incomplete; completed according to the comments in this file.
15188 (d_t_fmt): Do not use "di" before the month name, no longer needed.
15189
15190 * localedata/locales/wa_BE (country_name): Reword
15191 "Beljike" -> "Beldjike".
15192
ca121b11
JM
151932018-06-11 Joseph Myers <joseph@codesourcery.com>
15194
15195 [BZ #23272]
15196 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
15197 cases of non-finite arguments.
15198 * math/libm-test-fma.inc (fma_test_data): Add more tests.
15199
2b69fecb
JDA
152002018-06-10 John David Anglin <danglin@gcc.gnu.org>
15201
15202 [BZ #23174]
15203 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
15204
283d9851
AZ
152052018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15206
15207 [BZ #23264]
15208 * include/unistd.h (__execvpex): New prototype.
15209 * posix/Makefile (tests): Add tst-spawn4.
15210 (tests-internal): Add tst-spawn4-compat.
15211 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
15212 * posix/tst-spawn4-compat.c: New file.
15213 * posix/tst-spawn4.c: Likewise.
15214 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
15215 binaries as shell scripts.
15216 * sysdeps/posix/spawni.c (__spawni): Likewise.
15217
67c05796
L
152182018-06-08 H.J. Lu <hongjiu.lu@intel.com>
15219
15220 [BZ #23145]
15221 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
15222 ($(all-built-dso:=.dynsym): New target.
15223 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
15224 ($(objpfx)check-initfini.out): New target.
15225 (generated): Add check-initfini.out.
15226 * scripts/check-initfini.awk: New file.
15227 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
15228 (_fini): Likewise.
15229 * sysdeps/alpha/crti.S (_init): Mark as hidden.
15230 (_fini): Likewise.
15231 * sysdeps/arm/crti.S (_init): Mark as hidden.
15232 (_fini): Likewise.
15233 * sysdeps/hppa/crti.S (_init): Mark as hidden.
15234 (_fini): Likewise.
15235 * sysdeps/i386/crti.S (_init): Mark as hidden.
15236 (_fini): Likewise.
15237 * sysdeps/ia64/crti.S (_init): Mark as hidden.
15238 (_fini): Likewise.
15239 * sysdeps/m68k/crti.S (_init): Mark as hidden.
15240 (_fini): Likewise.
15241 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
15242 (_fini): Likewise.
15243 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
15244 (_fini): Likewise.
15245 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
15246 (_fini): Likewise.
15247 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
15248 (_fini): Likewise.
15249 * sysdeps/nios2/crti.S (_init): Mark as hidden.
15250 (_fini): Likewise.
15251 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
15252 (_fini): Likewise.
15253 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
15254 (_fini): Likewise.
15255 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
15256 (_fini): Likewise.
15257 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
15258 (_fini): Likewise.
15259 * sysdeps/sh/crti.S (_init): Mark as hidden.
15260 (_fini): Likewise.
15261 * sysdeps/sparc/crti.S (_init): Mark as hidden.
15262 (_fini): Likewise.
15263 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
15264 (_fini): Likewise.
15265
1c09524e
TMQMF
152662018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15267
15268 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
15269 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
15270 and TF redirection to KFtype and KF only when the default
15271 long double type is not the IEEE 128-bit floating point type.
15272
0e0577c9
JM
152732018-06-05 Joseph Myers <joseph@codesourcery.com>
15274
0c1c33b2
JM
15275 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
15276 macro.
15277 (HWCAP_USCAT): Likewise.
15278 (HWCAP_ILRCPC): Likewise.
15279 (HWCAP_FLAGM): Likewise.
15280 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
15281 Increase to 28.
15282 (_dl_aarch64_cap_flags): Add new flag names.
15283
bef1cbf4
JM
15284 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
15285 (MAP_FIXED_NOREPLACE): New macro.
15286 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
15287 (MAP_FIXED_NOREPLACE): Likewise.
15288 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
15289 (MAP_FIXED_NOREPLACE): Likewise.
15290 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
15291 (MAP_FIXED_NOREPLACE): Likewise.
15292 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
15293 (MAP_FIXED_NOREPLACE): Likewise.
15294 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
15295 (MAP_FIXED_NOREPLACE): Likewise.
15296 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
15297 (MAP_FIXED_NOREPLACE): Likewise.
15298 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
15299 (MAP_FIXED_NOREPLACE): Likewise.
15300 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
15301 (MAP_FIXED_NOREPLACE): Likewise.
15302 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
15303 (MAP_FIXED_NOREPLACE): Likewise.
15304 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
15305 (MAP_FIXED_NOREPLACE): Likewise.
15306 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
15307 (MAP_FIXED_NOREPLACE): Likewise.
15308 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
15309 (MAP_FIXED_NOREPLACE): Likewise.
15310 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
15311 (MAP_FIXED_NOREPLACE): Likewise.
15312 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
15313 (MAP_FIXED_NOREPLACE): Likewise.
15314
0e0577c9
JM
15315 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15316 version to 4.17.
15317
ab3a0da0
JM
153182018-06-04 Joseph Myers <joseph@codesourcery.com>
15319
15320 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
15321 version to 4.17
15322
d2d9dfb6
ST
153232018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15324
15325 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
15326 int.
15327 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
15328
a650b05e
LS
153292018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
15330
15331 * benchtests/scripts/compare_string.py: (process_results) Catch
15332 exception in non-existent base_func and catch exception in
15333 non-existent attribute.
15334 (parse_file) Catch exception if input file does not exist.
15335
195abbf4
LS
153362018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
15337
15338 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
15339 options to avoid diff calculation and omit header, respectively.
15340 (main): process --no-diff and --no-header
15341
14570163
LS
153422018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
15343 H.J. Lu <hongjiu.lu@intel.com>
15344
15345 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15346 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
15347 wcsncmp-sse2.
15348 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15349 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
15350 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
15351 and __wcsncmp_sse2.
15352 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
15353 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
15354 AVX unaligned load is fast and vzeroupper is preferred.
15355 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
15356 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
15357 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
15358 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
15359 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
15360 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
15361 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
15362 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
15363 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
15364 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
15365 is undefined.
15366
e02c026f
FW
153672018-06-01 Florian Weimer <fweimer@redhat.com>
15368
15369 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
15370 configuring with --disable-multi-arch, building with
15371 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
15372 Haswell-era CPU.
15373
d8c19275
FW
153742018-06-01 Florian Weimer <fweimer@redhat.com>
15375
15376 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
15377 results from building with “-march=x86-64 -mtune=generic
15378 -mfpmath=sse” and running on a Haswell-era CPU.
15379
0d2163eb
JM
153802018-06-01 Joseph Myers <joseph@codesourcery.com>
15381
15382 [BZ #18473]
15383 * soft-fp/sqrttf2.c: Remove file.
15384 * soft-fp/sqrtdf2.c: Move to ....
15385 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
15386 <shlib-compat.h>.
15387 (__sqrtdf2): Make conditional on
15388 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
15389 symbol.
15390 * soft-fp/sqrtsf2.c: Move to ....
15391 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
15392 <shlib-compat.h>.
15393 (__sqrtsf2): Make conditional on
15394 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
15395 symbol.
15396 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
15397 (gcc-double-routines): Remove sqrtdf2.
15398 (gcc-quad-routines): Remove sqrttf2.
15399 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
15400 Do not filter out sqrtsf2 and sqrtdf2.
15401 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
15402 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
15403
10450210
FW
154042018-06-01 Florian Weimer <fweimer@redhat.com>
15405
15406 * sysdeps/generic/libcidn.abilist: Remove file.
15407
4e8a6346
FW
154082018-06-01 Florian Weimer <fweimer@redhat.com>
15409
15410 [BZ #23236]
15411 * libio/strfile.h (struct _IO_str_fields): Rename members to
15412 discourage their use and add comment.
15413 (_IO_STR_DYNAMIC): Remove unused macro.
15414 * libio/strops.c (_IO_str_init_static_internal): Do not use
15415 callback pointers. Call malloc and free.
15416 (_IO_str_overflow): Do not use callback pointers. Call malloc
15417 and free.
15418 (enlarge_userbuf): Likewise.
15419 (_IO_str_finish): Call free.
15420 * libio/wstrops.c (_IO_wstr_init_static): Initialize
15421 _allocate_buffer_unused.
15422 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
15423 and free.
15424 (enlarge_userbuf): Likewise.
15425 (_IO_wstr_finish): Call free.
15426 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
15427 _allocate_buffer_unused, _free_buffer_unused.
15428 * libio/memstream.c (__open_memstream): Likewise.
15429 * libio/vasprintf.c (_IO_vasprintf): Likewise.
15430 * libio/wmemstream.c (open_wmemstream): Likewise.
15431
50d004c9
PP
154322018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
15433
15434 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
15435 AMD Ryzen 7 1800X.
15436
2c93fce7
RS
154372018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15438
15439 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
15440 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
15441 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
15442 New file.
15443 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
15444 Likewise.
15445 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
15446
0ce2fa69
FW
154472018-05-29 Florian Weimer <fweimer@redhat.com>
15448
15449 * support/Makefile (libsupport-routines): Add
15450 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
15451 xpthread_barrierattr_setpshared.
15452 * support/xpthread_barrierattr_destroy.c: New file.
15453 * support/xpthread_barrierattr_init.c: Likewise.
15454 * support/xpthread_barrierattr_setpshared.c: Likewise.
15455
7f7b5d8d
L
154562018-05-29 H.J. Lu <hongjiu.lu@intel.com>
15457
15458 [BZ #23206]
15459 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
15460 _r_debug and update DT_DEBUG for debugger.
15461
e4890300
FW
154622018-05-29 Florian Weimer <fweimer@redhat.com>
15463
15464 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
15465 (tst-strtod5i.out): Likewise.
15466
2c753f3e
JM
154672018-05-25 Joseph Myers <joseph@codesourcery.com>
15468
b5453d9f
JM
15469 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
15470 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
15471 (sparc64-quad-routines): New variable. Moved from ....
15472 [$(subdir) = soft-fp] (sysdep_routines): Add
15473 $(sparc64-quad-routines). Moved from ....
15474 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
15475 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
15476 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
15477 moved from ....
15478 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
15479 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
15480 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
15481 * sysdeps/sparc/sparc64/qp_add.c: ... here.
15482 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
15483 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
15484 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
15485 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
15486 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
15487 * sysdeps/sparc/sparc64/qp_div.c: ... here.
15488 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
15489 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
15490 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
15491 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
15492 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
15493 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
15494 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
15495 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
15496 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
15497 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
15498 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
15499 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
15500 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
15501 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
15502 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
15503 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
15504 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
15505 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
15506 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
15507 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
15508 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
15509 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
15510 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
15511 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
15512 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
15513 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
15514 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
15515 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
15516 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
15517 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
15518 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
15519 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
15520 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
15521 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
15522 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
15523 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
15524 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
15525 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
15526 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
15527 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
15528 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
15529 * sysdeps/sparc/sparc64/qp_util.c: ... here.
15530 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
15531 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
15532 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
15533 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
15534 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
15535 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
15536
2c753f3e
JM
15537 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
15538 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
15539 (sparc32-quad-routines): New variable. Moved from ....
15540 [$(subdir) = soft-fp] (sysdep_routines): Add
15541 $(sparc32-quad-routines). Moved from ....
15542 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
15543 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
15544 moved from ....
15545 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
15546 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
15547 * sysdeps/sparc/sparc32/q_add.c: ... here.
15548 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
15549 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
15550 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
15551 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
15552 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
15553 * sysdeps/sparc/sparc32/q_div.c: ... here.
15554 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
15555 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
15556 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
15557 * sysdeps/sparc/sparc32/q_feq.c: ... here.
15558 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
15559 * sysdeps/sparc/sparc32/q_fge.c: ... here.
15560 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
15561 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
15562 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
15563 * sysdeps/sparc/sparc32/q_fle.c: ... here.
15564 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
15565 * sysdeps/sparc/sparc32/q_flt.c: ... here.
15566 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
15567 * sysdeps/sparc/sparc32/q_fne.c: ... here.
15568 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
15569 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
15570 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
15571 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
15572 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
15573 * sysdeps/sparc/sparc32/q_mul.c: ... here.
15574 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
15575 * sysdeps/sparc/sparc32/q_neg.c: ... here.
15576 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
15577 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
15578 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
15579 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
15580 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
15581 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
15582 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
15583 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
15584 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
15585 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
15586 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
15587 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
15588 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
15589 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
15590 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
15591 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
15592 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
15593 * sysdeps/sparc/sparc32/q_sub.c: ... here.
15594 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
15595 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
15596 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
15597 * sysdeps/sparc/sparc32/q_util.c: ... here.
15598 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
15599 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
15600 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
15601 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
15602
c1dc1e1b
TMQMF
156032018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15604 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15605
15606 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
15607 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
15608 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
15609 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
15610
14186e8d
JM
156112018-05-24 Joseph Myers <joseph@codesourcery.com>
15612
15613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
15614 powerpc/soft-fp.
15615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15616 Likewise.
15617 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
15618 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
15619
fb0e10b8
GG
156202018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15621
15622 [BZ #23171]
15623 * math/math.h [C++] (iseqsig): Fix parameter type for the long
15624 double version.
15625
1dfeb17e
JM
156262018-05-23 Joseph Myers <joseph@codesourcery.com>
15627
15628 * sysdeps/sh/Implies: Remove sh/soft-fp.
15629 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
15630 * sysdeps/sh/sfp-machine.h: ... here.
15631
727b38df
L
156322018-05-23 H.J. Lu <hongjiu.lu@intel.com>
15633
15634 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15635 (__mempcpy_erms): Skip zero length.
15636 (__memmove_erms): Likewise.
15637 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
15638 (__memset_erms): Likewise.
15639
2834fb46
JM
156402018-05-23 Joseph Myers <joseph@codesourcery.com>
15641
15642 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
15643 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
15644 Add functions moved from ....
15645 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
15646 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
15647 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
15648 from ....
15649 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
15650 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
15651 * sysdeps/alpha/e_sqrtl.c: ... here.
15652 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
15653 * sysdeps/alpha/local-soft-fp.h: ... here.
15654 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
15655 * sysdeps/alpha/ots_add.c: ... here.
15656 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
15657 * sysdeps/alpha/ots_cmp.c: ... here.
15658 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
15659 * sysdeps/alpha/ots_cmpe.c: ... here.
15660 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
15661 * sysdeps/alpha/ots_cvtqux.c: ... here.
15662 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
15663 * sysdeps/alpha/ots_cvtqx.c: ... here.
15664 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
15665 * sysdeps/alpha/ots_cvttx.c: ... here.
15666 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
15667 * sysdeps/alpha/ots_cvtxq.c: ... here.
15668 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
15669 * sysdeps/alpha/ots_cvtxt.c: ... here.
15670 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
15671 * sysdeps/alpha/ots_div.c: ... here.
15672 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
15673 * sysdeps/alpha/ots_mul.c: ... here.
15674 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
15675 * sysdeps/alpha/ots_nintxq.c: ... here.
15676 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
15677 * sysdeps/alpha/ots_sub.c: ... here.
15678 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
15679 * sysdeps/alpha/sfp-machine.h: ... here.
15680
7f9f1ecb
FW
156812018-05-23 Florian Weimer <fweimer@redhat.com>
15682
15683 [BZ #19728]
15684 [BZ #19729]
15685 [BZ #22247]
15686 CVE-2016-6261
15687 CVE-2016-6263
15688 CVE-2017-14062
15689 Switch to extern IDNA implementation (libidn2).
15690 * libidn: Remove subdirectory.
15691 * LICENSES: Do not mention licensing conditions for the removed
15692 libidn code.
15693 * config.h.in (HAVE_LIBIDN): Remove.
15694 * include/dlfcn.h (__libc_dlopen): Update comment.
15695 * include/idna.h: Remove file.
15696 * inet/Makefile (routines): Add idna.
15697 (tests-static, tests-internal): Add tst-idna_name_classify.
15698 (LOCALES): Generate locales for tests.
15699 (tst-idna_name_classify.out): Depend on generated locales.
15700 * inet/idna_name_classify.c: New file.
15701 * inet/tst-idna_name_classify.c: Likewise.
15702 * inet/net-internal.h (__idna_to_dns_encoding)
15703 (__idna_from_dns_encoding): Declare.
15704 * inet/net-internal.h (enum idna_name_classification): Define.
15705 (__idna_name_classify): Declare.
15706 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
15707 __idna_from_dns_encoding.
15708 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
15709 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
15710 name as a fallback in case of encoding errors.
15711 (getnameinfo): Use DEPRECATED_NI_IDN.
15712 * inet/idna.c: New file.
15713 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
15714 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
15715 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
15716 (modules-names): Add tst-no-libidn2.
15717 (extra-test-objs): Add tst-no-libidn2.os.
15718 (LDFLAGS-tst-no-libidn2.so): Set soname.
15719 (LOCALES): Set, and generate locales.
15720 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
15721 (tst-resolv-ai_idn-latin1): Likewise.
15722 (tst-resolv-ai_idn-nolibidn2): Likewise.
15723 (tst-resolv-ai_idn.out): Depend on locales.
15724 (tst-resolv-ai_idn-latin1.out): Depend on locales.
15725 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
15726 tst-no-libidn2.so.
15727 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
15728 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
15729 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
15730 * resolv/tst-resolv-ai_idn.c: New file.
15731 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
15732 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
15733 * resolv/tst-no-libidn2.c: Likewise.
15734 * support/support_format_addrinfo.c (format_ai_flags): Do not
15735 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
15736 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
15737 (gaih_inet): Call __idna_to_dns_encoding and
15738 __idna_from_dns_encoding, and use the original (punycode) name if
15739 __idna_from_dns_encoding fails due to an encoding error.
15740 (getaddrinfo): Use DEPRECATED_AI_IDN.
15741 * sysdeps/unix/inet/Subdirs (libidn): Remove.
15742 * sysdeps/unix/inet/configure: Remove file.
15743 * sysdeps/unix/inet/configure.ac: Likewise.
15744
5f7b841d
FW
157452018-05-23 Florian Weimer <fweimer@redhat.com>
15746
15747 Implement allocate_once.
15748 * include/allocate_once.h: New file.
15749 * misc/allocate_once.c: Likewise.
15750 * misc/tst-allocate_once.c: Likewise.
15751 * misc/Makefile (routines): Add allocate_once.
15752 (tests-internal): Add tst-allocate_once.
15753 (generated): Add tst-allocate_once.mtrace,
15754 tst-allocate_once-mem.out.
15755 (tests-special): Add tst-allocate_once-mem.out.
15756 (tst-allocate_once-ENV): Set MALLOC_TRACE.
15757 (tst-allocate_once-mem.out): Call mtrace.
15758 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
15759
ed983107
L
157602018-05-23 H.J. Lu <hongjiu.lu@intel.com>
15761
15762 [BZ #23196]
15763 * string/test-memcpy.c (do_test1): New function.
15764 (test_main): Call it.
15765
9aaaab7c
AS
157662018-05-23 Andreas Schwab <schwab@suse.de>
15767
15768 [BZ #23196]
15769 CVE-2018-11237
15770 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
15771 (L(preloop_large)): Save initial destination pointer in %r11 and
15772 use it instead of %rax after the loop.
15773 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
15774
5c5c0dd7
JM
157752018-05-22 Joseph Myers <joseph@codesourcery.com>
15776
8f145c77
JM
15777 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
15778 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
15779 -I../soft-fp. Moved from ....
15780 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
15781 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
15782 * sysdeps/aarch64/e_sqrtl.c: ... here.
15783 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
15784 * sysdeps/aarch64/sfp-machine.h: ... here.
15785
3d6302a5
JM
15786 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
15787 -Wmaybe-uninitialized around access to fq[0].
15788 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
15789 Likewise.
15790
5c5c0dd7
JM
15791 [BZ #18471]
15792 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
15793 aliases for non-libc case of versioned symbols.
15794 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
15795 (llseek): Define as compat symbol if
15796 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
15797 with link warning.
15798 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
15799 Make into a compat symbol, disabled for minimum symbol version
15800 GLIBC_2.28 and later.
15801 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
15802
ed0d6988
FW
158032018-05-22 Florian Weimer <fweimer@redhat.com>
15804
15805 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
15806 not add -mpreferred-stack-boundary=4.
15807 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
15808 (stack-align-test-flags): Likewise.
15809 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
15810 Likewise.
15811 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
15812 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
15813 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
15814 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
15815 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
15816 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
15817 (CFLAGS-tst-align2.c): Likewise.
15818
e28e9b1e
L
158192018-05-21 H.J. Lu <hongjiu.lu@intel.com>
15820
15821 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
15822 (index_arch_Prefer_FSRM): Likewise.
15823 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
15824 Also check Prefer_FSRM.
15825 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
15826 Also return OPTIMIZE (erms) for Prefer_FSRM.
15827
1af30adc
L
158282018-05-21 H.J. Lu <hongjiu.lu@intel.com>
15829
15830 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
15831 (index_cpu_FSRM): Likewise.
15832 (reg_FSRM): Likewise.
15833
78274dc8
JM
158342018-05-18 Joseph Myers <joseph@codesourcery.com>
15835
7c67e6e8
JM
15836 * math/gen-tgmath-tests.py: Import sys.
15837 (Tests.__init__): Initialize macros_seen.
15838 (Tests.add_tests): Add macro to macros_seen. Only generate tests
15839 if requested to do so for this macro.
15840 (Tests.add_all_tests): Take argument for macro for which to
15841 generate tests.
15842 (Tests.check_macro_list): New function.
15843 (main): Handle check-list argument and argument specifying macro
15844 for which to generate tests.
15845 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
15846 [PYTHON] (tgmath3-macro-tests): Likewise.
15847 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
15848 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
15849 not test-tgmath3.c.
15850 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
15851 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
15852 to CFLAGS.
15853 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
15854 [PYTHON] ($(foreach
15855 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
15856 rule.
15857 [PYTHON] (tests-special): Add
15858 $(objpfx)test-tgmath3-macro-list.out.
15859 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
15860
ebc129fd
JM
15861 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
15862 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
15863 later.
15864
78274dc8
JM
15865 [BZ #22639]
15866 * time/tzset.c (SECSPERDAY): Cast to time_t.
15867 * time/tst-y2039.c: New file.
15868 * time/Makefile (tests): Add tst-y2039.
15869
6f7fdeeb
LS
158702018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
15871
15872 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15873 (PREFETCH_ONE_SET): Remove duplicate line.
15874
e363a91c
FW
158752018-05-17 Florian Weimer <fweimer@redhat.com>
15876
15877 * sysdeps/generic/math-type-macros-double.h: Include
15878 <math-nan-payload-double.h> after <libm-alias-double.h>.
15879 * sysdeps/generic/math-type-macros-float.h: Include
15880 <math-nan-payload-float.h> after <libm-alias-float.h>.
15881 * sysdeps/generic/math-type-macros-float128.h: Include
15882 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
15883 * sysdeps/generic/math-type-macros-ldouble.h: Include
15884 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
15885
dae6c43c
AS
158862018-05-17 Andreas Schwab <schwab@suse.de>
15887
15888 * resolv/res_send.c (__res_context_send): Don't set errno when
15889 returing error after malloc failure.
15890
0068c085
L
158912018-05-17 H.J. Lu <hongjiu.lu@intel.com>
15892
15893 * nptl/allocatestack.c (allocate_stack): Remove the
15894 !__ASSUME_PRIVATE_FUTEX paths.
15895 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
15896 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
15897 Likewise.
15898 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
15899 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
15900 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
15901 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
15902 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
15903 !__ASSUME_PRIVATE_FUTEX path.
15904 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
15905 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
15906 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
15907 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
15908 !__ASSUME_PRIVATE_FUTEX macros.
15909 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
15910 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
15911 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
15912 * sysdeps/unix/sysv/linux/kernel-features.h
15913 (__ASSUME_PRIVATE_FUTEX): Removed.
15914
632a6cbe
JM
159152018-05-17 Joseph Myers <joseph@codesourcery.com>
15916
15917 * math/Makefile (libm-narrow-fns): Add div.
15918 (libm-test-funcs-narrow): Likewise.
15919 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
15920 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
15921 * math/gen-auto-libm-tests.c (test_functions): Add div.
15922 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
15923 (NARROW_DIV_ROUND_TO_ODD): Likewise.
15924 (NARROW_DIV_TRIVIAL): Likewise.
15925 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
15926 macro.
15927 (__ddivl): Likewise.
15928 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
15929 ddiv.
15930 (CFLAGS-nldbl-ddiv.c): New variable.
15931 (CFLAGS-nldbl-fdiv.c): Likewise.
15932 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15933 __nldbl_ddivl.
15934 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
15935 prototype.
15936 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
15937 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
15938 * math/auto-libm-test-in: Add tests of div.
15939 * math/auto-libm-test-out-narrow-div: New generated file.
15940 * math/libm-test-narrow-div.inc: New file.
15941 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
15942 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
15943 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
15944 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
15945 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
15946 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
15947 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
15948 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
15949 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
15950 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
15951 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
15952 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
15953 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
15954 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
15955 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
15956 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
15957 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
15958 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
15959 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15960 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15961 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15962 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15963 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15964 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15965 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15966 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15967 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15968 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15969 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15970 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15971 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15972 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15977 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15978 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15979 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15980 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15981 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15982 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15983 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15984 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15985
8c78faa9
AZ
159862018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15987
15988 [BZ #23178]
15989 * nscd/nscd-client.h (sendfileall): Remove prototype.
15990 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
15991 (handle_request): Use writeall instead of sendfileall.
15992 * nscd/aicache.c (addhstaiX): Likewise.
15993 * nscd/grpcache.c (cache_addgr): Likewise.
15994 * nscd/hstcache.c (cache_addhst): Likewise.
15995 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15996 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
15997 * nscd/pwdcache.c (cache_addpw): Likewise.
15998 * nscd/servicescache.c (cache_addserv): Likewise.
15999 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
16000 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
16001 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
16002 Remove define.
16003
04958880
L
160042018-05-16 H.J. Lu <hongjiu.lu@intel.com>
16005
16006 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
16007 Include <string/strncat.c>.
16008 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
16009 alias.
16010 (__GI___strncat): New hidden alias.
16011
c9992d13
JM
160122018-05-16 Joseph Myers <joseph@codesourcery.com>
16013
16014 * sysdeps/mips/mips32/libm-test-ulps: Update.
16015 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16016
2afece36
FW
160172018-05-16 Florian Weimer <fweimer@redhat.com>
16018
16019 * support/Makefile (libsupport-routines): Add support_quote_blob,
16020 support_test_compare_blob.
16021 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
16022 * support/check.h (TEST_COMPARE_BLOB): Define.
16023 (support_test_compare_blob): Declare.
16024 * support/support.h (support_quote_blob): Declare.
16025 * support/support_quote_blob.c: New file.
16026 * support/support_test_compare_blob.c: Likewise.
16027 * support/tst-support_quote_blob.c: Likewise.
16028 * support/tst-test_compare_blob.c: Likewise.
16029
9761bf4d
FW
160302018-05-16 Florian Weimer <fweimer@redhat.com>
16031
16032 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
16033 of <strtod_nan_double.h>.
16034 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
16035 instead of SET_MANTISSA.
16036 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
16037 of include <strtod_nan_float.h>.
16038 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
16039 instead of <strtod_nan_ldouble.h>.
16040 * stdlib/strtod_nan_double.h: Move to ...
16041 * sysdeps/generic/math-nan-payload-double.h: ... here.
16042 (FLOAT): Remove definition.
16043 (SET_MANTISSA): Rename to ...
16044 (SET_NAN_PAYLOAD): ... this.
16045 * stdlib/strtod_nan_float.h: Move to ...
16046 * sysdeps/generic/math-nan-payload-float.h: ... here.
16047 (FLOAT): Remove definition.
16048 (SET_MANTISSA): Rename to ...
16049 (SET_NAN_PAYLOAD): ... this.
16050 * sysdeps/generic/math-type-macros-double.h: Include
16051 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
16052 instead of <math-svid-compat.h>.
16053 * sysdeps/generic/math-type-macros-float.h: Include
16054 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
16055 instead of <math-svid-compat.h>.
16056 * sysdeps/generic/math-type-macros-float128.h: Include
16057 <math-nan-payload-float128.h>.
16058 * sysdeps/generic/math-type-macros-ldouble.h: Include
16059 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
16060 instead of <math-svid-compat.h>.
16061 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
16062 check for definition.
16063 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
16064 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
16065 Include <ieee754_float128.h>.
16066 (FLOAT): Remove definition.
16067 (SET_MANTISSA): Rename to ...
16068 (SET_NAN_PAYLOAD): ... this.
16069 * sysdeps/ieee754/float128/strtof128_nan.c: Include
16070 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
16071 Do not include <float128_private.h>.
16072 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
16073 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
16074 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
16075 (FLOAT): Remove definition.
16076 (SET_MANTISSA): Rename to ...
16077 (SET_NAN_PAYLOAD): ... this.
16078 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
16079 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
16080 (FLOAT): Remove definition.
16081 (SET_MANTISSA): Rename to ...
16082 (SET_NAN_PAYLOAD): ... this.
16083 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
16084 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
16085 (FLOAT): Remove definition.
16086 (SET_MANTISSA): Rename to ...
16087 (SET_NAN_PAYLOAD): ... this.
16088 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
16089 of "../stdlib/strtod_nan_double.h".
16090 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
16091 of "../stdlib/strtod_nan_float.h".
16092 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
16093 instead of "../stdlib/strtod_nan_ldouble.h".
16094 * manual/arith.texi (Parsing of Floats): Adjust comment.
16095
69a01461
JM
160962018-05-16 Joseph Myers <joseph@codesourcery.com>
16097
16098 * math/Makefile (libm-narrow-fns): Add mul.
16099 (libm-test-funcs-narrow): Likewise.
16100 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
16101 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
16102 * math/gen-auto-libm-tests.c (test_functions): Add mul.
16103 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
16104 (NARROW_MUL_ROUND_TO_ODD): Likewise.
16105 (NARROW_MUL_TRIVIAL): Likewise.
16106 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
16107 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
16108 macro.
16109 (__dmull): Likewise.
16110 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
16111 dmul.
16112 (CFLAGS-nldbl-dmul.c): New variable.
16113 (CFLAGS-nldbl-fmul.c): Likewise.
16114 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16115 __nldbl_dmull.
16116 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
16117 prototype.
16118 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
16119 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
16120 * math/auto-libm-test-in: Add tests of mul.
16121 * math/auto-libm-test-out-narrow-mul: New generated file.
16122 * math/libm-test-narrow-mul.inc: New file.
16123 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
16124 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
16125 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
16126 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
16127 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
16128 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
16129 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
16130 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
16131 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
16132 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
16133 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
16134 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
16135 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
16136 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
16137 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
16138 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
16139 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
16140 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
16141 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16142 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16143 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16144 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16145 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16146 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16147 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16148 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16149 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16150 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16151 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16152 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16153 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16154 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16159 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16160 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16161 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16162 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16163 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16164 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16165 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16166 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16167
a15529fd
L
161682018-05-14 H.J. Lu <hongjiu.lu@intel.com>
16169
16170 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
16171 with *%eax in call.
16172
98ee36c7
L
161732018-05-14 H.J. Lu <hongjiu.lu@intel.com>
16174
16175 * sysdeps/i386/ldsodefs.h: Removed.
16176 * sysdeps/x86_64/ldsodefs.h: Moved to ...
16177 * sysdeps/x86/ldsodefs.h: This.
16178 (La_i86_regs): New.
16179 (La_i86_retval): Likewise.
16180 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
16181 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
16182
e322ec32
L
161832018-05-14 H.J. Lu <hongjiu.lu@intel.com>
16184
16185 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
16186 unnecessary testl.
16187
0937e209
AM
161882018-05-13 Alan Modra <amodra@gmail.com>
16189
16190 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
16191 R_PARISC_TLS_DTPOFF32 reloc addend.
16192
5db7d705
TMQMF
161932018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16194
16195 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
16196 * math/math.h: Restrict the prototype definition for the functions
16197 issignaling(_Float128) and iszero(_Float128); and template
16198 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
16199 __HAVE_FLOAT128_UNLIKE_LDBL.
16200 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
16201 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
16202 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
16203 __f128() constants; define the type _Float128 as long double;
16204 and reuse long double in __CFLOAT128.
16205
b4d5b8b0
JM
162062018-05-11 Joseph Myers <joseph@codesourcery.com>
16207
16208 * sysdeps/generic/math_private.h: Do not include
16209 <math-barriers.h>.
16210 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
16211 <math_private.h>.
16212 * math/fromfp.h: Include <math-barriers.h>.
16213 * math/math-narrow.h: Likewise.
16214 * math/s_nextafter.c: Likewise.
16215 * math/s_nexttowardf.c: Likewise.
16216 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
16217 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
16218 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
16219 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
16220 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16221 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16222 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16223 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16224 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16225 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16226 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16227 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16228 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16229 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16230 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
16231 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
16232 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16233 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16234 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
16235 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16236 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16237 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16238 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16239 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16240 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16241 * sysdeps/ieee754/k_standardl.c: Likewise.
16242 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16243 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16244 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16245 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
16246 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16247 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16248 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16249 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16250 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16251 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
16252 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16253 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16254 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16255 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16256 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16257 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16258 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
16259 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
16260 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16261 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16262 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
16263 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
16264
fc79706a
FW
162652018-05-11 Florian Weimer <fweimer@redhat.com>
16266
16267 Use 64-bit epoch values in the time zone file parser.
16268 * include/time.h (internal_time_t): Define.
16269 (__tzfile_compute): Use it.
16270 * time/tzfile.c (struct leap): Use internal_time_t for epoch
16271 member.
16272 (transitions): Switch to internal_time_t.
16273 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
16274 types.
16275 (__tzfile_compute): Use internal_time_t for timer argument. Check
16276 for truncation before calling __offtime.
16277
89aacb51
FW
162782018-05-11 Florian Weimer <fweimer@redhat.com>
16279
16280 [BZ #23166]
16281 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
16282 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
16283 Likewise.
16284 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
16285 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
16286 export without --enable-obsolete-rpc.
16287 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
16288 symbol. This should not have been exported, ever.
16289
bb066cb8
RL
162902018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
16291
16292 [BZ #23152]
16293 * localedata/locales/gd_GB (abmon): Fix typo in May:
16294 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
16295
70c97f84
SP
162962018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
16297
db725a45
SP
16298 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
16299 Use multiple registers to copy data in loop tail.
16300
70c97f84
SP
16301 * sysdeps/aarch64/multiarch/memmove_falkor.S
16302 (__memmove_falkor): Use multiple registers to move data in
16303 loop tail.
16304
8f5b00d3
JM
163052018-05-10 Joseph Myers <joseph@codesourcery.com>
16306
16307 * math/math-underflow.h: New file.
16308 * sysdeps/generic/math_private.h: Do not include <float.h>.
16309 (fabs_tg): Remove macro. Moved to math-underflow.h.
16310 (min_of_type_f): Likewise.
16311 (min_of_type_): Likewise.
16312 (min_of_type_l): Likewise.
16313 (min_of_type_f128): Likewise.
16314 (min_of_type): Likewise.
16315 (math_check_force_underflow): Likewise.
16316 (math_check_force_underflow_nonneg): Likewise.
16317 (math_check_force_underflow_complex): Likewise.
16318 * math/e_exp2_template.c: Include <math-underflow.h>.
16319 * math/k_casinh_template.c: Likewise.
16320 * math/s_catan_template.c: Likewise.
16321 * math/s_catanh_template.c: Likewise.
16322 * math/s_ccosh_template.c: Likewise.
16323 * math/s_cexp_template.c: Likewise.
16324 * math/s_clog10_template.c: Likewise.
16325 * math/s_clog_template.c: Likewise.
16326 * math/s_csin_template.c: Likewise.
16327 * math/s_csinh_template.c: Likewise.
16328 * math/s_csqrt_template.c: Likewise.
16329 * math/s_ctan_template.c: Likewise.
16330 * math/s_ctanh_template.c: Likewise.
16331 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16332 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16333 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16334 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16335 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16336 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16337 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16338 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16339 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16340 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16341 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16342 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16343 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16344 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16345 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16346 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16347 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16348 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16349 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16350 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16351 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
16352 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16353 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16354 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16355 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16356 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16357 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16358 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16359 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16360 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16361 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16362 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16363 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16364 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16365 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16366 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
16367 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16368 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16369 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16370 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16371 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16372 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16373 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16374 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16375 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16376 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16377 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16378 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16379 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16380 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16381 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16382 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
16383 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16384 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
16385 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16386 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16387 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16388 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16389 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16390 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16391 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16392 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
16393 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16394 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
16395 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16396 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16397 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16398 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
16399 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16400 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16401 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16402 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16403 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16404 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
16405 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16406 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16407 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16408 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16409 * sysdeps/x86/fpu/powl_helper.c: Likewise.
16410 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
16411 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
16412 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
16413 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
16414 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
16415
9ed2e15f
JM
164162018-05-09 Joseph Myers <joseph@codesourcery.com>
16417
16418 * sysdeps/generic/math-barriers.h: New file.
16419 * sysdeps/generic/math_private.h [!math_opt_barrier]
16420 (math_opt_barrier): Move to math-barriers.h.
16421 [!math_opt_barrier] (math_force_eval): Likewise.
16422 * sysdeps/aarch64/fpu/math-barriers.h: New file.
16423 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
16424 math-barriers.h.
16425 (math_force_eval): Likewise.
16426 * sysdeps/alpha/fpu/math-barriers.h: New file.
16427 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
16428 math-barriers.h.
16429 (math_force_eval): Likewise.
16430 * sysdeps/x86/fpu/math-barriers.h: New file.
16431 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
16432 math-barriers.h.
16433 (math_force_eval): Likewise.
16434 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
16435 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
16436 multiple-include guard for rename.
16437 * sysdeps/powerpc/fpu/math-barriers.h: New file.
16438 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
16439 math-barriers.h.
16440 (math_force_eval): Likewise.
16441
5460617d
PP
164422018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
16443
16444 [BZ #22786]
43d4f3d5 16445 CVE-2018-11236
5460617d
PP
16446 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
16447 computation.
16448 * stdlib/Makefile (test-bz22786): New test.
16449 * stdlib/test-bz22786.c: New test.
16450
aaee3cd8
JM
164512018-05-09 Joseph Myers <joseph@codesourcery.com>
16452
16453 * include/math-narrow-eval.h: New file. Contents moved from ....
16454 * sysdeps/generic/math_private.h: ... here.
16455 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
16456 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
16457 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
16458 * stdlib/strtod_l.c: Likewise.
16459 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
16460 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
16461 * sysdeps/i386/fpu/s_fdim.c: Likewise.
16462 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16463 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16464 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16465 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16466 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16467 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16468 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16469 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16470 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
16471 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16472 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
16473 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16474 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16475 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
16476 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16477 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
16478 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16479 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16480 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16481 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16482 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16483 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
16484 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16485 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
16486 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
16487 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16488
0555c477
AS
164892018-05-08 Andreas Schwab <schwab@suse.de>
16490
16491 * sysdeps/nptl/internaltypes.h: Fix comment.
16492
50d7d351
L
164932018-05-07 H.J. Lu <hongjiu.lu@intel.com>
16494
16495 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
16496 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
16497 hidden.
16498
543477f7
SP
164992018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
16500
16501 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
16502 of I into loop header.
16503 * benchtests/bench-memmove-walk.c
16504 (test_main): Likewise.
16505
165062018-05-07 Alexandre Oliva <oliva@gnu.org>
ffa81c22
AO
16507
16508 Revert:
16509 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
16510 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
16511
0065aaaa
PP
165122018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16513
16514 [BZ #20419]
16515 * elf/dl-load.c (open_verify): Fix stack overflow.
16516 * elf/Makefile (tst-big-note): New test.
16517 * elf/tst-big-note-lib.S: New.
16518 * elf/tst-big-note.c: New.
16519
b289cd9d
JM
165202018-05-04 Joseph Myers <joseph@codesourcery.com>
16521
16522 * scripts/abilist.awk: Ignore absolute symbols.
16523 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
16524 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
16525 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
16526 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
16527 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
16528 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
16529 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16530 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
16531 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
16532 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
16533 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
16534 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
16535 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
16536 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
16537 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
16538 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
16539 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
16540 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
16541 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16542 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
16543 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
16544 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
16545 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
16546 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
16547 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
16548 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
16549 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
16550 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
16551 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16552 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
16553 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
16554 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16555 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
16556 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
16557 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
16558 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
16559 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
16560 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
16561 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
16562 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
16563 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
16564 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
16565 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
16566 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
16567 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16568 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
16569 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
16570 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
16571 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
16572 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
16573 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
16574 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
16575 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
16576 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
16577 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
16578 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
16579 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
16580 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16581 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
16582 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
16583 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
16584 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
16585 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
16586 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
16587 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
16588 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
16589 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
16590 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
16591 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
16592 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
16593 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16594 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
16595 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
16596 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
16597 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
16598 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
16599 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
16600 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
16601 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
16602 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
16603 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16604 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
16605 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
16606 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16607 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
16608 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
16609 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
16610 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
16611 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
16612 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
16613 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
16614 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
16615 Likewise.
16616 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
16617 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16618 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
16619 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
16620 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16621 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
16622 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
16623 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
16624 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
16625 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
16626 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
16627 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
16628 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
16629 Likewise.
16630 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
16631 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16632 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
16633 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
16634 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16635 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
16636 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
16637 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
16638 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
16639 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
16640 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
16641 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
16642 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
16643 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
16644 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16645 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
16646 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
16647 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16648 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
16649 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
16650 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
16651 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
16652 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
16653 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
16654 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16655 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
16656 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
16657 Likewise.
16658 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
16659 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
16660 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
16661 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
16662 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16663 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
16664 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
16665 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
16666 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
16667 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
16668 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
16669 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
16670 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
16671 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
16672 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
16673 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
16674 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
16675 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
16676 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
16677 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
16678 Likewise.
16679 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
16680 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
16681 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
16682 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16683 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
16684 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
16685 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
16686 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
16687 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
16688 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
16689 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16690 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
16691 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
16692 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16693 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
16694 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
16695 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
16696 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
16697 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
16698 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
16699 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
16700 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16701 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
16702 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
16703 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
16704 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
16705 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
16706 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
16707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
16708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
16710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
16711 Likewise.
16712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
16713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
16714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
16715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
16716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
16717 Likewise.
16718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
16719 Likewise.
16720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
16721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
16722 Likewise.
16723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
16724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16725 Likewise.
16726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16727 Likewise.
16728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
16729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
16730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
16731 Likewise.
16732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
16733 Likewise.
16734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
16735 Likewise.
16736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
16737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
16740 Likewise.
16741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
16742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
16743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
16744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
16747 Likewise.
16748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
16749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
16750 Likewise.
16751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
16752 Likewise.
16753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
16754 Likewise.
16755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
16756 Likewise.
16757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
16758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
16759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
16760 Likewise.
16761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
16762 Likewise.
16763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
16764 Likewise.
16765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
16766 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
16767 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
16768 Likewise.
16769 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
16770 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
16771 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
16772 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
16773 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16774 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
16775 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
16776 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
16777 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
16778 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
16779 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
16780 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
16781 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
16782 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
16783 Likewise.
16784 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16785 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
16786 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
16787 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16788 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
16789 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
16790 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
16791 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
16792 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
16793 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
16794 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
16795 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
16796 Likewise.
16797 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16798 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
16799 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
16800 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16801 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
16802 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
16803 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
16804 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
16805 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
16806 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
16807 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
16808 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
16809 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
16810 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16811 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
16812 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
16813 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16814 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
16815 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
16816 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
16817 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
16818 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
16819 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
16820 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
16821 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
16822 Likewise.
16823 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
16824 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16825 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
16826 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
16827 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16828 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
16829 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
16830 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
16831 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
16832 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
16833 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
16834 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
16835 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
16836 Likewise.
16837 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
16838 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16839 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
16840 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
16841 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16842 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
16843 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
16844 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
16845 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
16846 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
16847 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
16848 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
16849 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
16850 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
16851 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16852 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
16853 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
16854 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16855 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
16856 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
16857 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
16858 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
16859 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
16860 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
16861 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
16862 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
16863 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
16864 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
16865 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16866 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
16867 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
16868 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16869 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
16870 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
16871 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
16872 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
16873 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
16874 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
16875
16609018
SL
168762018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
16877
16878 [BZ #23137]
16879 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
16880 Use atomic_load_acquire to load __tid.
16881
556f5c46
L
168822018-05-02 H.J. Lu <hongjiu.lu@intel.com>
16883
16884 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
16885 Restore the pointer into %rdx, after syscall and use %rdx,
16886 instead of %rsi, to restore context.
16887
8b8f32b2
L
168882018-05-02 H.J. Lu <hongjiu.lu@intel.com>
16889
16890 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
16891 Pop the pointer into %rdx after syscall and use %rdx, instead
16892 of %rsi, to restore context.
16893
d6cc1829
L
168942018-05-02 H.J. Lu <hongjiu.lu@intel.com>
16895
16896 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
16897 handlers after setjmp.
16898 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
16899 defined.
16900 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
16901 <libc-pointer-arith.h>.
16902 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
16903 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
16904 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
16905 _JUMP_BUF_SIGSET_BITS_PER_WORD.
16906 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
16907 * sysdeps/x86/__longjmp_cancel.S: New file.
16908 * sysdeps/x86/longjmp.c: Likewise.
16909 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
16910
cf2478d5
AZ
169112018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16912
16913 * NEWS: Add ustat.h deprecation entry.
16914 * bits/ustat.h: Remove file.
16915 * misc/sys/ustat.h: Likewise.
16916 * misc/ustat.h: Likewise.
16917 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
16918 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
16919 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
16920 compatibility mode.
16921 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
16922 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
16923 generic Linux implementation.
16924
dc115e1c
TMQMF
169252018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16926
16927 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
16928 * math/w_expl_compat.c: Likewise.
16929 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
16930
6b5c8607 169312018-04-30 Raymond Nicholson <rain1@airmail.cc>
340d9652
RN
16932
16933 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
16934
c57bf7c1
AZ
169352018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16936
16937 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
16938 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
16939 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
16940 Remove.
16941 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
16942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16943 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16944 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
16945 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
16946 and SYSCALL_LL64.
16947
06135c33
TMQMF
169482018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16949
33927914
TMQMF
16950 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
16951
06135c33
TMQMF
16952 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
16953 * math/w_asin_template.c: Likewise.
16954 * math/w_atanh_template.c: Likewise.
16955
3a33b069
GG
169562018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16957
16958 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
16959 to powerpc/powerpc64/be for big-endian.
16960 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
16961 little-endian.
16962
16963 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
16964 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
16965 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
16966 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
16967 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
16968 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
16969 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
16970 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
16971 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
16972 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
16973 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
16974 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
16975 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
16976 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
16977 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
16978 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
16979 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
16980 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
16981 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
16982 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
16983 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
16984 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
16985 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
16986 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
16987 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
16988 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
16989 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
16990 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
16991 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
16992 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
16993 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
16994 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
16995
16996 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
16997 adjusted to imply powerpc64 and older processors on powerpc64/be.
16998 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
16999 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
17000 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
17001 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
17002 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
17003 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
17004 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
17005 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
17006 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
17007 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
17008 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
17009 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
17010 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
17011 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
17012 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
17013 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
17014 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
17015 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
17016 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
17017 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
17018 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
17019 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
17020 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
17021 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
17022 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
17023 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
17024 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
17025 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
17026 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
17027 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
17028 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
17029
17030 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
17031 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
17032 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
17033 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
17034
17035 * sysdeps/powerpc/powerpc64/be/Implies: New file.
17036 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
17037 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
17038 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
17039
17040 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
17041 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
17042 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
17043 * sysdeps/powerpc/powerpc64le/configure: Likewise.
17044 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
17045 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
17046 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
17047 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
17048 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
17049 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
17050 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
17051
17052 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
17053 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
17054 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
17055 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
17056 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
17057 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
17058 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
17059 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
17060 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
17061 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
17062 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
17063
17064 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
17065 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
17066 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
17067 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
17068 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
17069 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
17070 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
17071 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
17072 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
17073 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
17074 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
17075 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
17076
17077 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
17078 and adjusted to imply olders processors.
17079 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
17080 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
17081 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
17082 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
17083 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
17084 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
17085 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
17086 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
17087 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
17088 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
17089 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
17090
17091 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
17092 powerpc64/le.
17093 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
17094 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
17095
17096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
17097 powerpc64le.
17098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
17099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
17100
17101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
17102 powerpc64/be.
17103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
17105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
17106
17107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
17108 powerpc64 and adjusted.
17109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
17110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
17111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
17112 Likewise.
17113
a3fb6b6b
JM
171142018-04-27 Joseph Myers <joseph@codesourcery.com>
17115
17116 * sysdeps/tile: Remove.
17117 * sysdeps/unix/sysv/linux/tile: Likewise.
17118 * README (tilegx-*-linux-gnu): Remove from list of supported
17119 configurations.
17120 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
17121 contribution of support for generic Linux kernel syscall
17122 interface.
17123 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
17124 tilegx configurations.
17125 (Config.install_linux_headers): Do not handle tile.
17126 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
17127 in comment.
17128 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
17129 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
17130 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
17131 conditional undefine and redefine.
17132 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
17133 in comment.
17134 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
17135 conditional undefine and redefine.
17136
7a6f7478
AJ
171372018-04-26 Aurelien Jarno <aurelien@aurel32.net>
17138
17139 * signal/tst-sigaction.c: New file to test BZ #23069.
17140 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
17141
81b49e96
TMQMF
171422018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17143
17144 [BZ #22766]
17145 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
17146 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
17147 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
17148 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
17149
7d80f48e
AZ
171502018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17151
17152 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
17153 _DIRENT_MATCHES_DIRENT64 is not defined.
17154 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
17155 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
17156 is defined.
17157 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
17158 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
17159
42a2bf58
JM
171602018-04-25 Joseph Myers <joseph@codesourcery.com>
17161
17162 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
17163 version to GCC 8 branch.
17164
9320ca88
JM
171652018-04-24 Joseph Myers <joseph@codesourcery.com>
17166
5e14bb97
JM
17167 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
17168 (check_no_hidden): Use type of original function when declaring
17169 alias.
17170
9320ca88
JM
17171 * sysdeps/unix/sysv/linux/sys/ptrace.h
17172 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
17173 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
17174 (struct __ptrace_seccomp_metadata): New type.
17175 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
17176 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17177 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
17178 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17179 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
17180 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17181 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
17182 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17183 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
17184 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17185 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
17186 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17187 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
17188 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17189 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
17190 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17191
af7e376b
AZ
171922018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17193
17194 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
17195 defined.
17196 * dirent/versionsort.c (versionsort): Likewise.
17197 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
17198 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
17199 * dirent/versionsort64.c (versionsort64): Likewise.
17200 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
17201 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
17202 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
17203 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
17204 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
17205 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
17206 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
17207 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
17208 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
17209 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
17210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
17211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
17212 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
17213 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
17214
da5e0361
JM
172152018-04-23 Joseph Myers <joseph@codesourcery.com>
17216
17217 * elf/elf.h (NT_PPC_PKEY): New macro.
17218
6b5c8607 172192018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
ea76691a
DSN
17220
17221 [BZ #23094]
17222 * localedata/locales/hr_HR: fix thousands_sep and
17223 mon_thousands_sep
17224
573963e3
JM
172252018-04-20 Joseph Myers <joseph@codesourcery.com>
17226
17227 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
17228 (XTABS): Define to TAB3.
17229
c0123b3b
AZ
172302018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17231
0900a849
AZ
17232 * sysdeps/hppa/fpu/libm-test-ulps: Update.
17233
c0123b3b
AZ
17234 * dirent/scandir-tail-common.c: New file.
17235 * dirent/scandir-tail.c: Use scandir-tail-common.c.
17236 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
17237 * dirent/scandir.c: Use scandir-tail-common.c.
17238 * dirent/scandirat.c: Likewise.
17239 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
17240 * dirent/scandir64.c (scandir64): Always build and alias to scandir
17241 if _DIRENT_MATCHES_DIRENT64 is defined.
17242 * dirent/scandirat64.c (scandirat64): Likewise.
17243 * include/dirent.h (__scandir_tail): Only define iff
17244 _DIRENT_MATCHES_DIRENT64 is not defined.
17245 (__scandir64_tail): Define regardless.
17246 (__scandirat, scandirat64): Remove libc_hidden_proto.
17247 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
17248 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
17249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
17250 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
17251 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
17252 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
17253 * sysdeps/unix/sysv/linux/scandir64.c: New file.
17254
458b94f6
JM
172552018-04-20 Joseph Myers <joseph@codesourcery.com>
17256
17257 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
17258 New macro.
17259 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
17260 Increase to 24.
17261 (_dl_aarch64_cap_flags): Add asimdfhm.
17262
9f0437e8
CLT
172632018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
17264
17265 * sysdeps/nios2/libm-test-ulps: Update.
17266
298d0e31
AZ
172672018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17268
50511ca4
AZ
17269 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
17270 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
17271
298d0e31
AZ
17272 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
17273 requirements.
6b5c8607 17274 (_DIRENT_MATCHES_DIRENT64): Undef
298d0e31
AZ
17275 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
17276 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
17277 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
17278 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
17279 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
17280 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
17281 use getdents64 syscalls as base.
17282 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
17283 symbol if required.
17284 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
17285 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
17286 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
17287 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
17288 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
17289 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
17290 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
17291 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
17292 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17293 (__get_clockfreq_via_proc_openprom): Use __getdents64.
17294 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
17295
0085be14
SL
172962018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
17297
17298 * scripts/test_printers_common.py (init_test): Disable lock elision.
17299
da796524
SL
173002018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
17301
17302 * math/test-tgmath.c (count_double, count_float,
17303 count_ldouble, count_cdouble, count_cfloat,
17304 count_cldouble): Use volatile int.
17305
0dd25301
ST
173062018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
17307
17308 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
17309 (conformtest-xfail-conds): Add i386-gnu.
cbc256b1 17310 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
0dd25301
ST
17311 i386-gnu.
17312 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
17313 ipc_perm.cuid, ipc_perm.cgid): Likewise.
17314 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
17315 msqid_ds.msg_lrpid): Likewise.
17316 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
17317 Likewise.
17318 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
17319 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
9d9f8f03
ST
17320 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
17321 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
17322 unsigned int.
17323 (struct statvfs64): Likewise.
f55a4fde
ST
17324 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
17325 Likewise.
77b93390
ST
17326 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
17327 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
17328 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
17329 instead of wait_queue.
17330 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
17331 instead of vm_area_struct.
5cd2931a
ST
17332 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
17333 struct sched_param definition to it.
e60c3f2b
ST
17334 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
17335 * bits/types/struct_sched_param.h: New file.
17336 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
17337 <bits/types/struct_sched_param.h> instead of <sched.h>.
17338 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
5cd2931a
ST
17339 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
17340 generic version but include <bits/pthreadtypes.h> to make struct
17341 sigevent's sigev_notify_attributes field a pthread_attr_t*.
ed370924
ST
17342 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
17343 non-compliant.
a564872d
ST
17344 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
17345 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
17346 [__USE_XOPEN] (OFDEL): New macro.
17347 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
a279b8ed 17348 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
5dbfe13b
ST
17349 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
17350 prototypes.
17351 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
17352 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
81b032c8
ST
17353 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
17354 non-compliant.
17355 * sysdeps/i386/sys/ucontext.h: Likewise.
17356 * sysdeps/m68k/sys/ucontext.h: Likewise.
17357 * sysdeps/mips/sys/ucontext.h: Likewise.
17358 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
f00b62ec
ST
17359 * sysdeps/mach/hurd/i386/Makefile
17360 (test-xfail-POSIX/fcntl.h/conform): Add.
17361 (test-xfail-POSIX/signal.h/conform): Add.
17362 (test-xfail-POSIX/semaphore.h/conform): Add.
17363 (test-xfail-POSIX/regex.h/conform): Add.
17364 (test-xfail-POSIX/aio.h/conform): Add.
17365 (test-xfail-POSIX/mqueue.h/conform): Add.
17366 (test-xfail-POSIX/sys/types.h/conform): Add.
17367 (test-xfail-UNIX98/fcntl.h/conform): Add.
17368 (test-xfail-UNIX98/netdb.h/conform): Add.
17369 (test-xfail-UNIX98/signal.h/conform): Add.
17370 (test-xfail-UNIX98/semaphore.h/conform): Add.
17371 (test-xfail-UNIX98/regex.h/conform): Add.
17372 (test-xfail-UNIX98/aio.h/conform): Add.
17373 (test-xfail-UNIX98/ftw.h/conform): Add.
17374 (test-xfail-UNIX98/mqueue.h/conform): Add.
17375 (test-xfail-UNIX98/netinet/in.h/conform): Add.
17376 (test-xfail-UNIX98/sys/wait.h/conform): Add.
17377 (test-xfail-UNIX98/sys/sem.h/conform): Add.
17378 (test-xfail-UNIX98/sys/uio.h/conform): Add.
17379 (test-xfail-UNIX98/sys/socket.h/conform): Add.
17380 (test-xfail-UNIX98/sys/types.h/conform): Add.
17381 (test-xfail-UNIX98/stdlib.h/conform): Add.
17382 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
17383 (test-xfail-POSIX2008/fcntl.h/conform): Add.
17384 (test-xfail-POSIX2008/netdb.h/conform): Add.
17385 (test-xfail-POSIX2008/signal.h/conform): Add.
17386 (test-xfail-POSIX2008/semaphore.h/conform): Add.
17387 (test-xfail-POSIX2008/regex.h/conform): Add.
17388 (test-xfail-POSIX2008/aio.h/conform): Add.
17389 (test-xfail-POSIX2008/mqueue.h/conform): Add.
17390 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
17391 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
17392 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
17393 (test-xfail-POSIX2008/sys/types.h/conform): Add.
17394 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
17395 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
17396 (test-xfail-XOPEN2K/netdb.h/conform): Add.
17397 (test-xfail-XOPEN2K/signal.h/conform): Add.
17398 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
17399 (test-xfail-XOPEN2K/regex.h/conform): Add.
17400 (test-xfail-XOPEN2K/aio.h/conform): Add.
17401 (test-xfail-XOPEN2K/ftw.h/conform): Add.
17402 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
17403 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
17404 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
17405 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
17406 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
17407 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
17408 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
17409 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
17410 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
17411 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
17412 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
17413 (test-xfail-XOPEN2K8/signal.h/conform): Add.
17414 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
17415 (test-xfail-XOPEN2K8/regex.h/conform): Add.
17416 (test-xfail-XOPEN2K8/aio.h/conform): Add.
17417 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
17418 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
17419 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
17420 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
17421 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
17422 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
17423 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
17424 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
17425 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
17426 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
cbc256b1
ST
17427 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
17428 i386-gnu.
17429 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
17430 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
0dd25301 17431
d6397de3
JM
174322018-04-18 Joseph Myers <joseph@codesourcery.com>
17433
17434 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
17435 --enable-obsolete for powerpc-linux-gnuspe.
17436
8323a902
ST
174372018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
17438
3dc0814c 17439 * conform/data/sys/un.h-data: Allow sun_ prefix.
c5896a45 17440 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
d4379e02 17441 prototypes.
c5896a45
ST
17442 * sysdeps/mach/include/mach.h: Likewise.
17443 * sysdeps/mach/include/mach/mig_support.h: Likewise.
17444 * sysdeps/mach/include/mach_error.h: Likewise.
8323a902 17445
743b9c2a
AZ
174462018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17447
17448 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
17449 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
17450 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
17451 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
17452
326e74e7
AS
174532018-04-16 Andreas Schwab <schwab@suse.de>
17454
17455 [BZ #19527]
17456 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
17457
6b5c8607 174582018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
a14d8acd
PM
17459
17460 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
17461 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
17462
a700e7cb
DD
174632018-04-12 DJ Delorie <dj@redhat.com>
17464
17465 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
17466 version to 4.16.
17467
d8abfab7
SL
174682018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
17469
17470 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
17471 (struct kernel_sigaction): Use the same definition on 31bit as is used
17472 on 64bit.
17473
583a27d5
FW
174742018-04-09 Florian Weimer <fweimer@redhat.com>
17475
17476 [BZ #23037]
17477 * resolv/res_send.c (send_dg): Use designated initializers instead
17478 of assignment to zero-initialize other fields of struct mmsghdr.
17479
243f59e5
AZ
174802018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17481
942de61a
AZ
17482 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
17483 __READDIR_ALIAS): Undefine after usage.
17484 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
17485 __READDIR_R_ALIAS): Likewise.
17486 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
17487 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
17488 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
17489 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
17490 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
17491 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
17492 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
17493 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17494 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
17495 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
17496 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
17497 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
17498 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
17499 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
17500 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
17501 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
17502 * sysdeps/unix/sysv/linux/readdir.c: New file.
17503 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
17504 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
17505 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
17506
243f59e5
AZ
17507 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
17508
690c3475
AS
175092018-04-06 Andreas Schwab <schwab@linux-m68k.org>
17510
17511 * manual/charset.texi (Converting a Character): Fix typo.
17512
6b5c8607 175132018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
b4a5d26d 17514
bbc2062a
AZ
17515 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17516
fa7c6199
AZ
17517 * sysdeps/arm/libm-test-ulps: Update.
17518
b4a5d26d
AZ
17519 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
17520 as base implementation.
17521 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
17522 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
17523 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17524 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17525 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
17526 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
17527 remove unrequired definitions and update comments.
17528 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
17529 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
17530 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
17531 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
17532 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
17533 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
17534 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
17535 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
17536 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
17537 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
17538 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
17539 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
17540 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
17541 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
17542 and RESET_SA_RESTORER hooks.
17543
db9e55ff
SL
175442018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
17545
17546 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17547
cf138b0c
FW
175482018-04-05 Florian Weimer <fweimer@redhat.com>
17549
17550 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
17551 integer overflow, memory leak on error, and indeterminate errno
17552 value. Add a null wide character to terminate the result string.
17553 * manual/charset.texi (Converting a Character): Mention embedded
17554 null bytes in the mbrtowc input string. Explain what happens in
17555 the -2 result case. Do not claim that mbrtowc is simple or
17556 obvious to use. Adjust the description of the code example. Use
17557 @code, not @var, for concrete variables.
17558
0f339252
FW
175592018-04-05 Florian Weimer <fweimer@redhat.com>
17560
17561 * manual/examples/mbstouwcs.c: New file.
17562 * manual/charset.texi (Converting a Character): Include it.
17563
e5f9508a
ST
175642018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
17565
c120981d
ST
17566 * include/dirent.h (dirfd): Add hidden proto.
17567 * dirent/dirfd.c (dirfd): Add hidden def.
17568 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
17569 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
e5f9508a 17570
b2fd61ca
TMQMF
175712018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17572
17573 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
17574 sin, cos and sincos to 1 ULP.
17575
10a446dd
MR
175762018-04-04 Maciej W. Rozycki <macro@mips.com>
17577
e7feec37
MR
17578 [BZ #19818]
17579 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
17580 symbols.
17581 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
17582 * elf/tst-absolute-sym.c: New file.
17583 * elf/tst-absolute-sym-lib.c: New file.
17584 * elf/tst-absolute-sym-lib.lds: New file.
17585 * elf/Makefile (tests): Add `tst-absolute-sym'.
17586 (modules-names): Add `tst-absolute-sym-lib'.
17587 (LDLIBS-tst-absolute-sym-lib.so): New variable.
17588 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
17589 ($(objpfx)tst-absolute-sym): New dependency.
17590
10a446dd
MR
17591 [BZ #19818]
17592 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
17593 parameter.
17594 (SYMBOL_ADDRESS): New macro.
17595 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
17596 SYMBOL_ADDRESS for symbol address calculation.
17597 * elf/dl-runtime.c (_dl_fixup): Likewise.
17598 (_dl_profile_fixup): Likewise.
17599 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
17600 * elf/rtld.c (dl_main): Likewise.
17601 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
17602 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
17603 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
17604 (elf_machine_rela): Likewise.
17605 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
17606 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
17607 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17608 (elf_machine_rela): Likewise.
17609 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
17610 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
17611 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
17612 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
17613 Likewise.
17614 (elf_machine_reloc): Likewise.
17615 (elf_machine_got_rel): Likewise.
17616 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
17617 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
17618 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
17619 Likewise.
17620 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17621 Likewise.
17622 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
17623 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17624 Likewise.
17625 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17626 Likewise.
17627 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17628 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17629 Likewise.
17630 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17631 Likewise.
17632 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
17633 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17634
9185f86d
ZW
176352018-04-04 Zack Weinberg <zackw@panix.com>
17636
17637 * sysdeps/generic/internal-signals.h: Include signal.h,
17638 sigsetops.h, and stdbool.h.
17639 (__libc_signal_block_all): Actually block all signals.
17640 (__libc_signal_block_app): Likewise.
17641 (__libc_signal_restore_set): Actually restore the signal mask.
17642
b07367bc
FW
176432018-04-04 Florian Weimer <fweimer@redhat.com>
17644
17645 inet: Actually build and run tst-deadline.
17646 * inet/Makefile (tests-internal): Add tst-deadline and do not
17647 overwrite the variable.
17648 (tests-static-internal): Remove variable.
17649
f2652643
L
176502018-04-03 H.J. Lu <hongjiu.lu@intel.com>
17651
17652 [BZ #22947]
17653 * bits/uio-ext.h (RWF_APPEND): New.
17654 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
17655 * manual/llio.texi: Document RWF_APPEND.
17656 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
17657 (RWF_SUPPORTED): Add RWF_APPEND.
17658
6b5c8607 176592018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
d2dc5467
AZ
17660
17661 [BZ #22391]
17662 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
17663 check for internal nptl signals.
17664 * nptl/sigaction.c (__sigaction): Likewise.
17665 * signal/sigaddset.c (sigaddset): Likewise.
17666 * signal/sigdelset.c (sigdelset): Likewise.
17667 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
17668 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
17669 value.
17670 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
17671 to filter out internal nptl signals.
17672 * signal/tst-sigset.c (do_test): Check ech signal indidually and
17673 also check realtime signals using standard macros.
17674 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
17675 __is_internal_signal, __libc_signal_block_all,
17676 __libc_signal_block_app, __libc_signal_restore_set): New functions.
17677 * sysdeps/nptl/sigfillset.c: Remove file.
17678 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
17679 Change return to bool.
17680 (__clear_internal_signals): Remove SIGTIMER clean since it is
17681 equal to SIGCANEL on Linux.
17682 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
17683 signal set was constructed using standard functions.
17684
511ed56f
ST
176852018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17686
92846492
ST
17687 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
17688 ifname is too long.
e8ef51b1
ST
17689 * hurd/hurdsig.c (interrupted_reply_port_location): Use
17690 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
ff297b70
ST
17691 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
17692 hidden def.
17693 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
d8440a21
ST
17694 * signal/sigaddset.c: Include <sigsetopts.h>.
17695 * signal/sigdelset.c: Likewise.
511ed56f 17696
e88ecbbf
WD
176972018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17698
17699 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
17700 (__cos): Likewise.
17701 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
17702 logic as sin and cos.
17703
aef3e255
WD
177042018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17705
17706 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
17707 inputs. Return correct sign.
17708 (do_sincos): Remove small input check before do_sin, let do_sin set
17709 the sign.
17710 (__sin): Likewise.
17711 (__cos): Likewise.
17712
72f6e9a3
WD
177132018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17714
17715 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
17716 (do_cos_slow): Likewise.
17717 (do_sin_slow): Likewise.
17718 (reduce_and_compute): Likewise.
17719 (slow): Likewise.
17720 (slow1): Likewise.
17721 (slow2): Likewise.
17722 (sloww): Likewise.
17723 (sloww1): Likewise.
17724 (sloww2): Likewise.
17725 (bslow): Likewise.
17726 (bslow1): Likewise.
17727 (bslow2): Likewise.
17728 (cslow2): Likewise.
17729
64909583
WD
177302018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17731
17732 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
17733 (do_cos): Remove corp parameter and calculations.
17734 (do_sin): Likewise.
17735 (do_sincos): Remove cor variable.
17736 (__sin): Use do_sincos for huge inputs.
17737 (__cos): Likewise.
17738 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
17739 (reduce_and_compute_sincos): Remove unused function.
17740
d9469deb
WD
177412018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17742
17743 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
17744 reduce_sincos, improve accuracy to 136 bits.
17745 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
17746 (__sin): Use improved reduction and simplified do_sincos calculation.
17747 (__cos): Likewise.
17748 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
17749
7a5640f2
WD
177502018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17751
17752 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
17753 (do_sincos_2): Likewise.
17754 (__sin): Remove middle range reduction case.
17755 (__cos): Likewise.
17756 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
17757 reduction case.
17758
19a8b9a3
WD
177592018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17760
17761 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
17762 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
17763 inputs.
17764 (__cos): Likewise.
17765 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
17766
f72aa11d
JM
177672018-04-03 Joseph Myers <joseph@codesourcery.com>
17768
17769 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19a8b9a3 17770 version to 4.16
f72aa11d 17771
8e4754ed
AZ
177722018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17773
17774 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
17775 Remove definitions.
17776 (opendir_oflags): Use O_DIRECTORY regardless.
17777 (__opendir, __opendirat): Remove need_isdir_precheck usage.
17778 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
17779
8e2666ea
ST
177802018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17781
17782 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
17783 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
17784 macros.
17785 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
17786 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
17787 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
17788 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
deed72f6
ST
17789 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
17790 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
8e2666ea 17791
ad2b41bf
ST
17792 * htl/Makefile: Bump licence to LGPL 2.1+.
17793 * htl/alloca_cutoff.c: Likewise.
17794 * htl/cthreads-compat.c: Likewise.
17795 * htl/lockfile.c: Likewise.
17796 * htl/pt-alloc.c: Likewise.
17797 * htl/pt-cancel.c: Likewise.
17798 * htl/pt-cleanup.c: Likewise.
17799 * htl/pt-create.c: Likewise.
17800 * htl/pt-dealloc.c: Likewise.
17801 * htl/pt-detach.c: Likewise.
17802 * htl/pt-exit.c: Likewise.
17803 * htl/pt-getattr.c: Likewise.
17804 * htl/pt-initialize.c: Likewise.
17805 * htl/pt-internal.h: Likewise.
17806 * htl/pt-join.c: Likewise.
17807 * htl/pt-self.c: Likewise.
17808 * htl/pt-setcancelstate.c: Likewise.
17809 * htl/pt-setcanceltype.c: Likewise.
17810 * htl/pt-sigmask.c: Likewise.
17811 * htl/pt-spin-inlines.c: Likewise.
17812 * htl/pt-testcancel.c: Likewise.
17813 * htl/pt-yield.c: Likewise.
17814 * htl/tests/test-1.c: Likewise.
17815 * htl/tests/test-10.c: Likewise.
17816 * htl/tests/test-11.c: Likewise.
17817 * htl/tests/test-12.c: Likewise.
17818 * htl/tests/test-13.c: Likewise.
17819 * htl/tests/test-14.c: Likewise.
17820 * htl/tests/test-15.c: Likewise.
17821 * htl/tests/test-16.c: Likewise.
17822 * htl/tests/test-17.c: Likewise.
17823 * htl/tests/test-2.c: Likewise.
17824 * htl/tests/test-3.c: Likewise.
17825 * htl/tests/test-4.c: Likewise.
17826 * htl/tests/test-5.c: Likewise.
17827 * htl/tests/test-6.c: Likewise.
17828 * htl/tests/test-7.c: Likewise.
17829 * htl/tests/test-8.c: Likewise.
17830 * htl/tests/test-9.c: Likewise.
17831 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
17832 * sysdeps/htl/bits/cancelation.h: Likewise.
17833 * sysdeps/htl/bits/pthread-np.h: Likewise.
17834 * sysdeps/htl/bits/pthread.h: Likewise.
17835 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
17836 * sysdeps/htl/bits/semaphore.h: Likewise.
17837 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
17838 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
17839 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
17840 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
17841 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
17842 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
17843 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
17844 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
17845 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
17846 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
17847 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
17848 * sysdeps/htl/old_pt-atfork.c: Likewise.
17849 * sysdeps/htl/pt-atfork.c: Likewise.
17850 * sysdeps/htl/pt-attr-destroy.c: Likewise.
17851 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
17852 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
17853 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
17854 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
17855 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
17856 * sysdeps/htl/pt-attr-getscope.c: Likewise.
17857 * sysdeps/htl/pt-attr-getstack.c: Likewise.
17858 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
17859 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
17860 * sysdeps/htl/pt-attr-init.c: Likewise.
17861 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
17862 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
17863 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
17864 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
17865 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
17866 * sysdeps/htl/pt-attr-setscope.c: Likewise.
17867 * sysdeps/htl/pt-attr-setstack.c: Likewise.
17868 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
17869 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
17870 * sysdeps/htl/pt-attr.c: Likewise.
17871 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
17872 * sysdeps/htl/pt-barrier-init.c: Likewise.
17873 * sysdeps/htl/pt-barrier-wait.c: Likewise.
17874 * sysdeps/htl/pt-barrier.c: Likewise.
17875 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
17876 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
17877 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
17878 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
17879 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
17880 * sysdeps/htl/pt-cond-destroy.c: Likewise.
17881 * sysdeps/htl/pt-cond-init.c: Likewise.
17882 * sysdeps/htl/pt-cond-signal.c: Likewise.
17883 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
17884 * sysdeps/htl/pt-cond-wait.c: Likewise.
17885 * sysdeps/htl/pt-cond.c: Likewise.
17886 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
17887 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
17888 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
17889 * sysdeps/htl/pt-condattr-init.c: Likewise.
17890 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
17891 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
17892 * sysdeps/htl/pt-destroy-specific.c: Likewise.
17893 * sysdeps/htl/pt-equal.c: Likewise.
17894 * sysdeps/htl/pt-getconcurrency.c: Likewise.
17895 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
17896 * sysdeps/htl/pt-getschedparam.c: Likewise.
17897 * sysdeps/htl/pt-getspecific.c: Likewise.
17898 * sysdeps/htl/pt-init-specific.c: Likewise.
17899 * sysdeps/htl/pt-key-create.c: Likewise.
17900 * sysdeps/htl/pt-key-delete.c: Likewise.
17901 * sysdeps/htl/pt-key.h: Likewise.
17902 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
17903 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
17904 * sysdeps/htl/pt-mutex-init.c: Likewise.
17905 * sysdeps/htl/pt-mutex-lock.c: Likewise.
17906 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
17907 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
17908 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
17909 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
17910 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
17911 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
17912 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
17913 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
17914 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
17915 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
17916 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
17917 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
17918 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
17919 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
17920 * sysdeps/htl/pt-mutexattr.c: Likewise.
17921 * sysdeps/htl/pt-once.c: Likewise.
17922 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
17923 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
17924 * sysdeps/htl/pt-rwlock-init.c: Likewise.
17925 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
17926 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
17927 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
17928 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
17929 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
17930 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
17931 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
17932 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
17933 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
17934 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
17935 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
17936 * sysdeps/htl/pt-setconcurrency.c: Likewise.
17937 * sysdeps/htl/pt-setschedparam.c: Likewise.
17938 * sysdeps/htl/pt-setschedprio.c: Likewise.
17939 * sysdeps/htl/pt-setspecific.c: Likewise.
17940 * sysdeps/htl/pt-spin.c: Likewise.
17941 * sysdeps/htl/pt-startup.c: Likewise.
17942 * sysdeps/htl/pthread.h: Likewise.
17943 * sysdeps/htl/sem-close.c: Likewise.
17944 * sysdeps/htl/sem-destroy.c: Likewise.
17945 * sysdeps/htl/sem-getvalue.c: Likewise.
17946 * sysdeps/htl/sem-init.c: Likewise.
17947 * sysdeps/htl/sem-open.c: Likewise.
17948 * sysdeps/htl/sem-post.c: Likewise.
17949 * sysdeps/htl/sem-timedwait.c: Likewise.
17950 * sysdeps/htl/sem-trywait.c: Likewise.
17951 * sysdeps/htl/sem-unlink.c: Likewise.
17952 * sysdeps/htl/sem-wait.c: Likewise.
17953 * sysdeps/hurd/htl/pt-kill.c: Likewise.
17954 * sysdeps/i386/htl/pt-machdep.h: Likewise.
17955 * sysdeps/mach/htl/pt-block.c: Likewise.
17956 * sysdeps/mach/htl/pt-spin.c: Likewise.
17957 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
17958 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
17959 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
17960 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
17961 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
17962 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
17963 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
17964 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
17965 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
17966 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
17967 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
17968 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
17969 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
17970 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
17971 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
17972 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
17973 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
17974 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
17975 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
17976 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
17977 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
17978 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
17979 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
17980 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
17981 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
17982 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
17983 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
17984 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
17985 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
17986 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
17987 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
17988 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
17989 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
17990 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
17991 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
17992 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
17993 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
17994 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
17995 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
17996 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
17997 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
17998 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
17999 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
18000
fb03b04b
ST
18001 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
18002 * README: Remove the mention of out-of-tree patches needed for
18003 GNU/Hurd.
18004
fa9e1555
ST
18005 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
18006 (UTIME_NOW, UTIME_OMIT): Define macros.
18007
f6fb29d2
ST
18008 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
18009 instead of pthread_detach.
18010 (__cthread_fork): Call __pthread_create instead of pthread_create.
18011 (__cthread_keycreate): Call __pthread_key_create instead of
18012 pthread_key_create.
18013 (__cthread_getspecific): Call __pthread_getspecific instead of
18014 pthread_getspecific.
18015 (__cthread_setspecific): Call __pthread_setspecific instead of
18016 pthread_setspecific.
18017 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
18018 __pthread_mutex_unlock instead of pthread_mutex_lock and
18019 pthread_mutex_unlock.
18020 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
18021 ___pthread_get_cleanup_stack.
18022 (__pthread_get_cleanup_stack): New strong alias.
18023 * htl/pt-create.c: Include <pthreadP.h>.
18024 (entry_point): Call __pthread_exit instead of pthread_exit.
18025 (pthread_create): Rename to __pthread_create.
18026 (pthread_create): New strong alias.
18027 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
18028 (pthread_detach): New strong alias.
18029 (__pthread_detach): Call __pthread_cond_broadcast instead of
18030 pthread_cond_broadcast.
fe9748cc
ST
18031 * htl/pt-exit.c: Include <pthreadP.h>.
18032 (__pthread_exit): Call __pthread_setcancelstate and
18033 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
18034 __pthread_get_cleanup_stack.
f6fb29d2
ST
18035 * htl/pt-testcancel.c: Include <pthreadP.h>.
18036 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
18037 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
18038 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
18039 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
18040 pthread_attr_getstacksize.
18041 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
18042 Rename to __pthread_attr_getstackaddr.
18043 (pthread_attr_getstackaddr): New strong alias.
18044 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
18045 Rename to __pthread_attr_getstacksize.
18046 (pthread_attr_getstacksize): New strong alias.
18047 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
18048 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
18049 (pthread_attr_setstack): New strong alias.
18050 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
18051 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
18052 pthread_attr_getstacksize, pthread_attr_setstacksize and
18053 pthread_attr_setstackaddr.
18054 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
18055 Rename to __pthread_attr_setstackaddr.
18056 (pthread_attr_setstackaddr): New strong alias.
18057 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
18058 Rename to __pthread_attr_setstacksize.
18059 (pthread_attr_setstacksize): New strong alias.
18060 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
18061 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
18062 pthread_exit.
18063 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
18064 (__pthread_key_create): New hidden def.
18065 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
18066 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
18067 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
18068 __pthread_exit, __pthread_key_create, __pthread_getspecific,
18069 __pthread_setspecific, __pthread_setcancelstate,
18070 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
18071 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
18072 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
18073 declarations.
18074 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
18075 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
18076 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
18077 (pthread_attr_setstackaddr): New strong alias.
18078 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
18079 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
18080 (pthread_attr_setstacksize): New strong alias.
18081 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
18082 (call_exit): Call __pthread_exit instead of pthread_exit.
18083 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
18084 (_pthread_mutex_init): New hidden definition.
18085 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
18086 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
18087 instead of pthread_attr_init and pthread_attr_setstack.
18088
dba2bdbe
ST
18089 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
18090 __vm_deallocate instead of vm_allocate and vm_deallocate.
18091 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
18092 setenv.
18093 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
18094 of geteuid.
18095 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
18096 strdup.
18097 * hurd/siginfo.c: Include <libioP.h>.
18098 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
18099 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
18100 munmap.
dba2bdbe
ST
18101 * mach/devstream.c: Include <libioP.h>.
18102 (dealloc_ref): Call __mach_port_deallocate instead of
18103 mach_port_deallocate.
18104 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
18105 Call __mach_port_deallocate instead of mach_port_deallocate.
18106 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
18107 pathconf.
18108 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
18109 munmap.
18110 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
18111 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
18112 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
18113 of munmap.
18114 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
18115 of close.
18116 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
18117 instead of sysconf.
18118 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
18119 __clock_gettime instead of clock_gettime.
18120 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
18121 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
18122 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
18123 * sysdeps/unix/bsd/stty.c (stty): Likewise.
18124 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
18125 tcgetattr.
18126 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
18127 __clock_gettime and __nanosleep instead of clock_gettime and
18128 nanosleep.
7a8f45e3
ST
18129 * hurd/catch-signal.c (hurd_catch_signal): Rename to
18130 __hurd_catch_signal.
18131 (hurd_catch_signal): New strong alias.
18132 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
18133 __hurd_catch_signal instead of hurd_catch_signal.
18134 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
18135 * hurd/hurdexec.c (_hurd_init): Add hidden def.
18136 * hurd/hurdinit.c (_hurd_init): Add hidden def.
18137 * hurd/hurdsig.c: Include <mach/mig_support.h>.
18138 (_hurd_thread_sigstate): Add hidden def.
18139 (_hurd_internal_post_signal): Use __mutex_unlock instead of
18140 mutex_unlock.
18141 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
18142 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
18143 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
18144 __hurd_file_name_path_lookup.
18145 (hurd_file_name_path_lookup): New strong alias.
18146 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
18147 hurd_file_name_path_lookup.
18148 * mach/errstring.c (mach_error_type): Add hidden def.
18149 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
18150 * mach/mutex-init.c (__mutex_init): Add hidden def.
18151 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
18152 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
18153 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
18154 * sysdeps/mach/hurd/getcwd.c
18155 (_hurd_canonicalize_directory_name_internal): Rename to
18156 __hurd_canonicalize_directory_name_internal.
18157 (_hurd_canonicalize_directory_name_internal): New strong alias.
18158 (__canonicalize_directory_name_internal, __getcwd): Call
18159 __hurd_canonicalize_directory_name_internal instead of
18160 _hurd_canonicalize_directory_name_internal.
18161 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
18162 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
18163 hidden defs.
18164 * sysdeps/hurd/include/hurd.h: New file.
18165 * sysdeps/hurd/include/hurd/fd.h: New file.
18166 * sysdeps/hurd/include/hurd/signal.h: New file.
18167 * sysdeps/mach/include/lock-intern.h: New file.
18168 * sysdeps/mach/include/mach.h: New file.
18169 * sysdeps/mach/include/mach/mig_support.h: New file.
18170 * sysdeps/mach/include/mach_error.h: New file.
a758c293
ST
18171 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
18172 prototype.
18173 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
18174 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
18175 _HEADER_H_HIDDEN_DEF macro.
18176 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
18177 _hurd_fd_error_signal): Add hidden prototype.
18178 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
18179 hidden def.
82dbf555
ST
18180 * libio/iolibio.h (_IO_puts): New hidden prototype.
18181 * libio/ioputs.c (_IO_puts): New hidden def.
171488a2
ST
18182 * sysdeps/mach/hurd/localplt.data: New file.
18183
33574c17 181842018-04-02 Agustina Arzille <avarzille@riseup.net>
b39d961c
TS
18185 Amos Jeffries <squid3@treenet.co.nz>
18186 David Michael <fedora.dm0@gmail.com>
18187 Marco Gerards <marco@gnu.org>
18188 Marcus Brinkmann <marcus@gnu.org>
18189 Neal H. Walfield <neal@gnu.org>
18190 Pino Toscano <toscano.pino@tiscali.it>
18191 Richard Braun <rbraun@sceen.net>
18192 Roland McGrath <roland@gnu.org>
18193 Samuel Thibault <samuel.thibault@ens-lyon.org>
18194 Thomas DiModica <ricinwich@yahoo.com>
18195 Thomas Schwinge <tschwinge@gnu.org>
33574c17
ST
18196
18197 * htl: New directory.
18198 * sysdeps/htl: New directory.
18199 * sysdeps/hurd/htl: New directory.
18200 * sysdeps/i386/htl: New directory.
18201 * sysdeps/mach/htl: New directory.
18202 * sysdeps/mach/hurd/htl: New directory.
18203 * sysdeps/mach/hurd/i386/htl: New directory.
18204 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
18205 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
18206 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
18207
03e2aa50
ST
182082018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18209
18210 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
18211 signals in thread created for runing timers.
18212
1aa52ced
FW
182132018-04-01 Florian Weimer <fweimer@redhat.com>
18214
18215 * support/support_format_addrinfo.c (support_format_addrinfo):
18216 Include unknown error number in formatted result.
18217
4d76d3e5
FW
182182018-03-29 Florian Weimer <fweimer@redhat.com>
18219
18220 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
18221 capture SIGBUS.
18222
d39c0a45
AZ
182232018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18224
18225 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
18226 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
18227 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
18228 (__ASSUME_CLONE_BACKWARDS): Define.
18229
cc8a1620
JH
182302018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
18231
57408435 18232 [BZ #23024]
cc8a1620
JH
18233 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
18234 early when linux sentinel value is set.
18235
8bfd94d0
ST
182362018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18237
18238 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
18239
f178e59f
AS
182402018-03-27 Andreas Schwab <schwab@suse.de>
18241
18242 [BZ #23005]
18243 * resolv/res_send.c (__res_context_send): Return ENOMEM if
18244 allocation of private copy of nsaddr_list fails.
18245
5f45f96a
JM
182462018-03-26 Joseph Myers <joseph@codesourcery.com>
18247
18248 [BZ #16552]
18249 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
18250 * sysdeps/unix/sysv/linux/umount.c: ... here.
18251 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
18252 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
18253 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
18254 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
18255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
18256 * sysdeps/unix/sysv/linux/umount.S: Likewise.
18257 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
18258
3dfd23eb
AS
182592018-03-26 Andreas Schwab <schwab@suse.de>
18260
18261 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
18262 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
18263 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
18264 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
18265 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
18266 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
18267 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
18268 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
18269 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
18270 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
18271 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
18272 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
18273 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
18274 (R_RISCV_NUM): Define.
18275
fa97d2ab
ST
182762018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
18277
18278 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
18279 TLS declaration of errno.
37be82a0
ST
18280 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
18281 __libc_setup_tls.
18282 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
18283 (ARCH_SETUP_TLS): Likewise.
18284 * sysdeps/mach/hurd/libc-start.h: New file copied from
18285 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
978a6803
ST
18286 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
18287 instead of __libc_setup_tls.
37be82a0 18288 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
978a6803
ST
18289 __libc_setup_tls before initializing libpthread and running _hurd_init
18290 which starts the signal thread.
18291 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
18292 Declare function.
2d813d7b 18293 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fa97d2ab 18294
b8114edd
L
182952018-03-24 H.J. Lu <hongjiu.lu@intel.com>
18296
18297 [BZ #22998]
18298 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
18299 after it is defined.
18300
cd66c0e5
AS
183012018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
18302 Max Horn <max@quendi.de>
18303
18304 [BZ #22644]
43d4f3d5 18305 CVE-2017-18269
cd66c0e5
AS
18306 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
18307 branch conditions.
18308 * string/test-memmove.c (do_test2): New testcase.
18309
a4406139
JM
183102018-03-22 Joseph Myers <joseph@codesourcery.com>
18311
18312 * sysdeps/generic/frame.h: Remove file.
18313 * sysdeps/arm/frame.h: Likewise.
18314 * sysdeps/hppa/frame.h: Likewise.
18315 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
18316 macro.
18317 (GET_FRAME): Likewise.
18318 (GET_STACK): Likewise.
18319 (CALL_SIGHANDLER): Likewise.
18320 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
18321 Likewise.
18322 (GET_FRAME): Likewise.
18323 (GET_STACK): Likewise.
18324 (CALL_SIGHANDLER): Likewise.
18325 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
18326 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18327 (GET_FRAME): Likewise.
18328 (GET_STACK): Likewise.
18329 (CALL_SIGHANDLER): Likewise.
18330 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
18331 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18332 (GET_FRAME): Likewise.
18333 (GET_STACK): Likewise.
18334 (ADVANCE_STACK_FRAME): Likewise.
18335 (CALL_SIGHANDLER): Likewise.
18336 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
18337 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18338 (GET_FRAME): Likewise.
18339 (GET_STACK): Likewise.
18340 (CALL_SIGHANDLER): Likewise.
18341 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
18342 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18343 (GET_FRAME): Likewise.
18344 (GET_STACK): Likewise.
18345 (CALL_SIGHANDLER): Likewise.
18346 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
18347 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18348 (GET_FRAME): Likewise.
18349 (GET_STACK): Likewise.
18350 (CALL_SIGHANDLER): Likewise.
18351 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
18352 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18353 (GET_FRAME): Likewise.
18354 (GET_STACK): Likewise.
18355 (CALL_SIGHANDLER): Likewise.
18356 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
18357 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18358 (GET_FRAME): Likewise.
18359 (GET_STACK): Likewise.
18360 (CALL_SIGHANDLER): Likewise.
18361 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
18362 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18363 (GET_FRAME): Likewise.
18364 (GET_STACK): Likewise.
18365 (CALL_SIGHANDLER): Likewise.
18366 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
18367 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18368 (GET_FRAME): Likewise.
18369 (GET_STACK): Likewise.
18370 (CALL_SIGHANDLER): Likewise.
18371 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
18372 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18373 (GET_FRAME): Likewise.
18374 (GET_STACK): Likewise.
18375 (CALL_SIGHANDLER): Likewise.
18376 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
18377 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18378 (GET_FRAME): Likewise.
18379 (GET_STACK): Likewise.
18380 (CALL_SIGHANDLER): Likewise.
18381 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
18382 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18383 (FIRST_FRAME_POINTER): Likewise.
18384 (ADVANCE_STACK_FRAME): Likewise.
18385 (GET_STACK): Likewise.
18386 (GET_FRAME): Likewise.
18387 (CALL_SIGHANDLER): Likewise.
18388 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
18389 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18390 (ADVANCE_STACK_FRAME): Likewise.
18391 (GET_STACK): Likewise.
18392 (GET_FRAME): Likewise.
18393 (CALL_SIGHANDLER): Likewise.
18394 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
18395 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18396 (GET_FRAME): Likewise.
18397 (GET_STACK): Likewise.
18398 (CALL_SIGHANDLER): Likewise.
18399 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
18400 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18401 (GET_FRAME): Likewise.
18402 (GET_STACK): Likewise.
18403 (CALL_SIGHANDLER): Likewise.
18404
ffec7b27
JM
184052018-03-21 Joseph Myers <joseph@codesourcery.com>
18406
18407 * sysdeps/x86_64/backtrace.c: Move to ....
18408 * debug/backtrace.c: ... here.
18409 * sysdeps/aarch64/backtrace.c: Remove file.
18410 * sysdeps/alpha/backtrace.c: Likewise.
18411 * sysdeps/hppa/backtrace.c: Likewise.
18412 * sysdeps/ia64/backtrace.c: Likewise.
18413 * sysdeps/mips/backtrace.c: Likewise.
18414 * sysdeps/nios2/backtrace.c: Likewise.
18415 * sysdeps/riscv/backtrace.c: Likewise.
18416 * sysdeps/sh/backtrace.c: Likewise.
18417 * sysdeps/tile/backtrace.c: Likewise.
18418
8a07b0c4
JM
184192018-03-20 Joseph Myers <joseph@codesourcery.com>
18420
d0c5d731
JM
18421 [BZ #22987]
18422 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
18423 function.
18424 (fdimf): Likewise.
18425 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
18426
8a07b0c4
JM
18427 [BZ #17343]
18428 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
18429 possibly overflowing computations.
18430
ceb54b9b
ST
184312018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
18432
18433 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
18434 values from Linux-specific section now that it is in the GNU section.
18435 * sysdeps/gnu/errlist.c: Regenerate.
18436
8d3f9e85
JM
184372018-03-20 Joseph Myers <joseph@codesourcery.com>
18438
18439 * math/Makefile (libm-narrow-fns): Add sub.
18440 (libm-test-funcs-narrow): Likewise.
18441 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
18442 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
18443 * math/gen-auto-libm-tests.c (test_functions): Add sub.
18444 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
18445 (NARROW_SUB_ROUND_TO_ODD): Likewise.
18446 (NARROW_SUB_TRIVIAL): Likewise.
18447 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
18448 macro.
18449 (__dsubl): Likewise.
18450 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
18451 dsub.
18452 (CFLAGS-nldbl-dsub.c): New variable.
18453 (CFLAGS-nldbl-fsub.c): Likewise.
18454 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
18455 __nldbl_dsubl.
18456 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
18457 prototype.
18458 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
18459 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
18460 * math/auto-libm-test-in: Add tests of sub.
18461 * math/auto-libm-test-out-narrow-sub: New generated file.
18462 * math/libm-test-narrow-sub.inc: New file.
18463 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
18464 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
18465 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
18466 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
18467 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
18468 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
18469 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
18470 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
18471 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
18472 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
18473 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
18474 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
18475 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
18476 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
18477 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
18478 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
18479 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
18480 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
18481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18482 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
18483 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18484 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18485 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18486 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18487 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18488 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18489 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18490 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18491 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18492 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18493 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18494 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
18497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18499 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18500 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18501 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18502 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18503 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18504 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18505 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
18506 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
18507 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18508 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18509
d473f015
JM
185102018-03-19 Joseph Myers <joseph@codesourcery.com>
18511
18512 [BZ #20079]
18513 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
18514
fbce6f72
WD
185152018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
18516
18517 * benchtests/bench-timing.h (attribute_hidden): Undefine.
18518
72e7ffc3
RB
185192018-03-18 Richard Braun <rbraun@sceen.net>
18520
18521 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
18522 thread reference.
18523
542c20a1
AA
185242018-03-18 Agustina Arzille <avarzille@riseup.net>
18525
18526 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
18527 (__libc_cleanup_fct): Define function.
18528 (__libc_cleanup_region_start, __libc_cleanup_region_end,
18529 __libc_cleanup_end): Rewrite implementation using
18530 __attribute__ ((__cleanup__)).
18531 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
fb4cc8a0
AA
18532 * hurd/Makefile (routines): Add hurdlock.
18533 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
18534 interface.
18535 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
18536 * hurd/hurdpid.c: Include <lowlevellock.h>
18537 (_S_msg_proc_newids): Use lll_wait to synchronize.
18538 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
18539 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
18540 * mach/Makefile (lock-headers): Remove machine-lock.h.
18541 * mach/lock-intern.h: Include <lowlevellock.h> instead of
18542 <machine-lock.h>.
18543 (__spin_lock_t): New type.
18544 (__SPIN_LOCK_INITIALIZER): New macro.
18545 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
18546 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
18547 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
18548 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
18549 (__mutex_init): Initialize with lll.
18550 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
18551 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
18552 needing lll.
18553 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
18554 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
18555 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
18556 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
18557 (__setpgid): Use lll for synchronization.
18558 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
18559 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
18560 instead of <cthreads.h>.
18561 (_IO_lock_inexpensive): New macro
18562 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
18563 (__libc_lock_self0): New declaration.
18564 (__libc_lock_owner_self): New macro.
18565 (__libc_key_t): Remove type.
18566 (_LIBC_LOCK_INITIALIZER): New macro.
18567 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
18568 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
18569 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
18570 __libc_lock_define_initialized_recursive,
18571 __rtld_lock_define_initialized_recursive,
18572 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
18573 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
18574 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
18575 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
18576 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
18577 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
18578 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
18579 New macros.
18580 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
18581 * hurd/hurdlock.c: New file.
18582 * hurd/hurdlock.h: New file.
18583 * mach/lowlevellock.h: New file
542c20a1 18584
9a37922e
ST
185852018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
18586
18587 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
489999cc
ST
18588 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
18589 when opening a symlink with O_NOFOLLOW.
72103e73
ST
18590 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
18591 path when flags contains O_NOFOLLOW.
18592 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
18593 if flags contains O_DIRECTORY and the result is a directory.
aa218929
ST
18594 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
18595 oneself when the pointer given in D is nul (as set by ext2fs).
20bc801b
ST
18596 * sysdeps/mach/hurd/mlockall.c: New file.
18597 * sysdeps/mach/hurd/munlockall.c: New file.
9a37922e 18598
34e6a869
ST
185992018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
18600
18601 * hurd/hurdsig.c: Include <pthread.h>.
18602 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
18603 get the signal thread stack layout.
dc33bef3
ST
18604 * hurd/Makefile (headers): Remove threadvar.h.
18605 (inline-headers): Remove threadvar.h.
18606 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
18607 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
18608 __hurd_threadvar_max, __hurd_errno_location.
18609 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
18610 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
18611 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
18612 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
18613 unless TLS is not initialized yet, in which case we do not need a
18614 critical section yet anyway.
18615 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
18616 <machine-sp.h>.
18617 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
18618 declarations.
18619 (__hurd_threadvar_index): Remove enum.
18620 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
18621 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
18622 inlines.
18623 (__hurd_reply_port0): New variable declaration.
18624 (__hurd_local_reply_port): New macro.
18625 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
18626 (interrupted_reply_port_location): Add thread_t parameter. Use it
18627 with THREAD_TCB to access thread-local variables.
18628 (_hurdsig_abort_rpcs): Pass ss->thread to
18629 interrupted_reply_port_location.
18630 (_hurd_internal_post_signal): Likewise.
18631 (_hurdsig_init): Use presence of cthread_fork instead of
18632 __hurd_threadvar_stack_mask to start signal thread by hand.
18633 Remove signal thread threadvar initialization.
18634 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
18635 * hurd/sigunwind.c: Include <hurd/threadvar.h>
18636 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
18637 of threadvar.
18638 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
18639 __libc_lock_self0.
18640 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
18641 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
18642 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
18643 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
18644 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
18645 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
18646 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
18647 define variables.
18648 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
18649 <hurd/threadvar.h>.
18650 [IS_IN(rtld)] (rtld_errno): New variable.
18651 [IS_IN(rtld)] (__errno_location): New weak function.
18652 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
18653 * sysdeps/mach/hurd/errno.c: Remove file.
18654 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
18655 (__fork): Remove THREADVAR_SPACE macro and its use.
18656 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
18657 variable.
18658 (init): Do not initialize threadvar.
18659 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
18660 symbol.
18661 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
18662 __hurd_local_reply_port instead of threadvar.
18663 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
18664 _hurd_sigstate fields.
18665 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
18666 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
18667 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
18668 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
18669 instead of threadvar.
18670 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
18671 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
18672 (use_threadvar, global_reply_port): Remove variables.
18673 (__hurd_reply_port0): New variable.
18674 (__mig_get_reply_port): Use __hurd_local_reply_port and
18675 __hurd_reply_port0 instead of threadvar.
18676 (__mig_dealloc_reply_port): Likewise.
18677 (__mig_init): Do not initialize threadvar.
18678 * sysdeps/mach/hurd/profil.c: Fix comment.
c2fb08c7
ST
18679 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
18680 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
18681 cthread_keycreate, cthread_getspecific, cthread_setspecific to
18682 __cthread_fork, __cthread_detach, __pthread_getattr_np,
18683 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
18684 __cthread_setspecific.
18685 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
18686 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
18687 __cthread_t instead of cthread_fork, cthread_detach,
18688 pthread_getattr_np, pthread_attr_getstack.
18689 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
18690 __cthread_keycreate.
18691 (cthread_getspecific): Rename to __cthread_getspecific.
18692 (cthread_setspecific): Rename to __cthread_setspecific.
18693 (__libc_getspecific): Use __cthread_getspecific instead of
18694 cthread_getspecific.
18695 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
18696 __cthread_keycreate instead of cthread_keycreate.
18697 (__libc_setspecific): Use __cthread_setspecific instead of
18698 cthread_setspecific.
18699 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
18700 Likewise.
dd28d4ba
ST
18701 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
18702 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
18703 testing whether it is defined.
34e6a869 18704
f8baf2a2
ST
187052018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18706
18707 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
18708 Define macro.
18709 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
18710 * sysdeps/mach/i386/thread_state.h
18711 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
18712 i386_THREAD_STATE.
18713 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
18714 i386_THREAD_STATE.
18715 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
18716
18717 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
18718 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
18719
18720 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
18721 macros.
18722 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
18723 descriptor instead of creating a new one.
18724 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
18725
18726 * mach/setup-thread.c: Include <ldsodefs.h>.
18727 (__mach_setup_thread): Call _dl_allocate_tls, pass
18728 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
18729 MACHINE_THREAD_STATE_FLAVOR, before getting
18730 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
18731 MACHINE_THREAD_STATE_FLAVOR with the result.
18732 * hurd/hurdfault.c (_hurdsig_fault_init): Call
18733 MACHINE_THREAD_STATE_FIX_NEW.
18734 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
18735 too. Add original thread parameter.
18736
34ba96b8
JM
187372018-03-16 Joseph Myers <joseph@codesourcery.com>
18738
5d75b75f
JM
18739 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
18740 Remove inline function.
18741
34ba96b8
JM
18742 * sysdeps/i386/fpu/libm-test-ulps: Update.
18743 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18744
22679b2c
WD
187452018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
18746
18747 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
18748 commit.
18749
c429a8d8
JM
187502018-03-15 Joseph Myers <joseph@codesourcery.com>
18751
18752 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
18753 (__sincos_code): Remove define and undefine.
18754 [__FAST_MATH__] (__sincos): Remove inline function.
18755 [__FAST_MATH__] (__sincosf): Remove inline function.
18756 [__FAST_MATH__] (__sincosl): Remove inline function.
18757 (__atan2l): Remove inline functions.
18758 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
18759 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
18760 function.
18761 (floor): Remove inline function.
18762 (ceil): Likewise.
18763 [__FAST_MATH__] (__ldexp_code): Remove macro.
18764 [__FAST_MATH__] (ldexp): Remove inline function.
18765 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
18766 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
18767 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
18768 [__USE_ISOC99] (__lrint_code): Remove macro.
18769 [__USE_ISOC99] (__llrint_code): Likewise.
18770 [__USE_ISOC99] (lrintf): Remove inline function.
18771 [__USE_ISOC99] (lrint): Likewise.
18772 [__USE_ISOC99] (lrintl): Likewise.
18773 [__USE_ISOC99] (llrint): Likewise.
18774 [__USE_ISOC99] (llrintf): Likewise.
18775 [__USE_ISOC99] (llrintl): Likewise.
18776
700593fd
WD
187772018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18778
18779 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
18780 (__ieee754_sqrtf): Remove.
18781 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
18782 (__ieee754_sqrtf): Remove.
18783 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
18784 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
18785 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
18786 (__ieee754_sqrtf): Remove.
18787 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
18788 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
18789 (sqrtf): Remove.
18790 (sqrtl): Remove.
18791 (__ieee754_sqrt): Remove.
18792 (__ieee754_sqrtf): Remove.
18793 (__ieee754_sqrtl): Remove.
18794 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
18795 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
18796 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
18797 (__ieee754_sqrtf): Remove.
18798 (__ieee754_sqrtl): Remove.
18799
f67a8147
WD
188002018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18801
18802 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
18803 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
18804 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
18805 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
18806 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
18807 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18808 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18809 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
18810 Likewise.
18811 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
18812 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
18813 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
18814 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
18815 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
18816 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
18817 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
18818 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
18819 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
18820 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
18821 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
18822 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
18823 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
18824 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
18825 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
18826 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18827 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18828 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
18829 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
18830 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
18831 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
18832 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18833 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
18834 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
18835 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
18836 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
18837 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18838 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18839 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
18840 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
18841 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
18842 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
18843 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
18844 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
18845 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18846 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18847 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
18848 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
18849 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
18850 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
18851
1294b189
WD
188522018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18853
18854 * include/math.h (sqrt): Declare with asm redirect.
18855 (sqrtf): Likewise.
18856 (sqrtl): Likewise.
18857 (sqrtf128): Likewise.
18858 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
18859 nonlib and libnldbl with -fmath-errno.
18860 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
18861 * math/w_sqrt_template.c: Likewise.
18862 * math/w_sqrtf_compat.c: Likewise.
18863 * math/w_sqrtl_compat.c: Likewise.
18864 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
18865 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
18866 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
18867 complex.h.
18868
f1c8185d
WD
188692018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18870
18871 * benchtests/Makefile: Define _ISOMAC.
18872 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
18873 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
18874 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
18875 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
18876 * benchtests/bench-timing.h: Define attribute_hidden.
18877
b47c3e76
SP
188782018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
18879
18880 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
18881 mov + lsr.
18882
807fee29
RL
188832018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
18884
18885 [BZ #22963]
18886 * localedata/locales/cs_CZ (mon): Rename to...
18887 (alt_mon): This.
18888 (mon): Import from CLDR (genitive case).
18889
e7155a28
RL
188902018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
18891
18892 [BZ #22937]
18893 * localedata/locales/el_CY (abmon): Rename to...
18894 (ab_alt_mon): This.
18895 (abmon): Import from CLDR (abbreviated genitive case).
18896 * localedata/locales/el_GR (abmon): Rename to...
18897 (ab_alt_mon): This.
18898 (abmon): Import from CLDR (abbreviated genitive case).
18899
71d7b121
RL
189002018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
18901
18902 [BZ #22932]
18903 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
18904
a00bffe8
RB
189052018-03-15 Robert Buj <robert.buj@gmail.com>
18906
18907 [BZ #22848]
18908 * localedata/locales/ca_ES (abmon): Rename to...
18909 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
18910 (mon): Rename to...
18911 (alt_mon): This.
18912 (abmon): Import from CLDR (genitive case, month names preceded by
18913 "de" or "d’").
18914 (mon): Likewise.
18915 (abday): Synchronize with CLDR.
18916 (d_t_fmt): Likewise.
18917 (d_fmt): Likewise.
18918 (am_pm): Likewise.
18919
18920 (LC_TIME): Improve indentation.
18921 (LC_TELEPHONE): Likewise.
18922 (LC_NAME): Likewise.
18923 (LC_ADDRESS): Likewise.
18924
f9555d73
JM
189252018-03-14 Joseph Myers <joseph@codesourcery.com>
18926
18927 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
18928 (lrintf): Remove definitions used only with old GCC.
18929 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
18930 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
18931 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
18932 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
18933 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
18934 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
18935 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
18936 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
18937 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
18938 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
18939 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
18940 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
18941 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
18942 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
18943 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
18944 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
18945 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
18946 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
18947 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
18948 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
18949 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
18950 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
18951 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
18952 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
18953 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
18954 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
18955 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
18956 [__FAST_MATH__] (__M_SQRT2): Remove macro.
18957
d46f84de
SP
189582018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
18959
18960 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
18961 instruction to unbreak builds with binutils 2.26 and older.
18962
7108f1f9
SP
189632018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
18964
18965 * sysdeps/aarch64/strncmp.S (count): New macro.
18966 (strncmp): Store misaligned length in SRC1 in COUNT.
18967 (mutual_align): Adjust.
18968 (misaligned8): Load dword at a time when it is safe.
18969
2cc7bad0
ZW
189702018-03-12 Zack Weinberg <zackw@panix.com>
18971
18972 [BZ #1190]
18973 [BZ #19476]
18974 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
18975 if the _IO_EOF_SEEN bit is already set; update commentary.
18976 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
18977 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
18978
18979 * support/support_openpty.c, support/tty.h: New files.
18980 * support/Makefile (libsupport-routines): Add support_openpty.
18981
18982 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
18983 New test cases.
18984 * libio/Makefile (tests): Add tst-fgetc-after-eof.
18985 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
18986
778f1974
DL
189872018-03-12 Dmitry V. Levin <ldv@altlinux.org>
18988
18989 * po/pt_BR.po: Update translations.
18990
6b5c8607 189912018-03-12 David Michael <fedora.dm0@gmail.com>
da6d4404
DM
18992
18993 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
18994 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
18995 get a port to the startup server.
18996
d3da750d
ZW
189972018-03-11 Zack Weinberg <zackw@panix.com>
18998
18999 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
19000 before nldbl-compat.h.
19001
054b72cc
ZW
190022018-03-10 Zack Weinberg <zackw@panix.com>
19003
0d13dfa1
ZW
19004 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
19005 math.h or math_private.h.
19006
19007 * sysdeps/alpha/fpu/s_isnan.c
19008 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
19009 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
19010 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
19011 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
19012 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
19013 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
19014 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
19015 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
19016 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
19017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
19018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
19019 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
19020 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
19021 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
19022 Include math_private.h.
19023
19024 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
19025 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
19026 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
19027 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
19028 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
19029 * sysdeps/powerpc/power7/fpu/s_logb.c:
19030 Include math.h and math_private.h.
19031
054b72cc
ZW
19032 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
19033 uses of $at in .set noat / .set at.
19034
6253bacd
L
190352018-03-10 H.J. Lu <hongjiu.lu@intel.com>
19036
19037 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
19038 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
19039 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
19040 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
19041 Likewise.
19042
229855e5
FW
190432018-03-09 Florian Weimer <fweimer@redhat.com>
19044
19045 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
19046 in comment.
19047
9aa5c222
AJ
190482018-03-09 Aurelien Jarno <aurelien@aurel32.net>
19049
19050 [BZ #22919]
19051 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
19052 Add nop before __startcontext, add explaining comments.
19053
3dc21497
AZ
190542018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19055
e921c89e
AZ
19056 [BZ #22926]
19057 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
19058 empty for __SPE__.
19059 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
19060 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
19061 Do not build hardware transactional code for __SPE__.
19062 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
19063 (__lll_trylock_elision): Likewise.
19064 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
19065 (__lll_unlock_elision): Likewise.
19066
d9f26dab 19067 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
3dc21497
AZ
19068 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
19069 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
19070 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
19071 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
19072 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
19073 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
19074 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
19075 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
19076 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
19077 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
19078 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
19079 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
19080 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
19081 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
19082 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
19083 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
19084 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
19085 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
19086 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
19087 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
19088 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19089 (__ASSUME_CLONE_BACKWARDS): Define.
19090 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
19091 __clone2 if __NR_clone2 is defined.
19092 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19093 (__ASSUME_CLONE_BACKWARDS): Likewise.
19094 * sysdeps/unix/sysv/linux/i386/kernel-features.h
19095 (__ASSUME_CLONE_BACKWARDS): Likewise.
19096 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19097 (__ASSUME_CLONE2): Likewise.
19098 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19099 (__ASSUME_CLONE_BACKWARDS3): Likewise.
19100 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
19101 variants and the define architecture can use.
19102 (__ASSUME_CLONE_DEFAULT): Define as default.
19103 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19104 (__ASSUME_CLONE_BACKWARDS): Likewise.
19105 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19106 (__ASSUME_CLONE_BACKWARDS): Likewise.
19107 * sysdeps/unix/sysv/linux/s390/kernel-features.h
19108 (__ASSUME_CLONE_BACKWARDS2): Likewise.
19109
adc95fb0
SP
191102018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
19111
4e54d918
SP
19112 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
19113
30a81dae
SP
19114 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
19115 time.
19116
adc95fb0
SP
19117 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
19118 (do_test_limit): Likewise.
19119
19120 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
19121 for every implementation.
19122 (do_test): Likewise.
19123
19124 * benchtests/bench-strncmp.c: Convert output to json.
19125
4e9066bc
ST
191262018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19127
19128 * io/futimens.c: Add missing start-of-file descriptive comment.
19129 * io/utime.c: Likewise.
19130 * misc/futimesat.c: Likewise.
19131 * misc/utimes.c: Likewise.
19132 * sysdeps/mach/hurd/futimesat.c: Likewise.
19133 * sysdeps/mach/hurd/utimes.c: Likewise.
19134 * sysdeps/posix/utime.c: Likewise.
19135 * sysdeps/posix/utimes.c: Likewise.
19136 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
19137 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
19138 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
19139 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
19140
ec1300cf
ST
191412018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
19142
19143 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
19144 hurd_futimes.
19145 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
19146 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
19147 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
19148 (__futimens): Move implementation to...
19149 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
19150 utime_tvalue_from_tspec): ... new helper functions.
19151 (hurd_futimens): New function.
19152 * sysdeps/mach/hurd/futimesat.c: New file.
19153 * sysdeps/mach/hurd/utimensat.c: New file.
19154
bbe762d1
FC
191552018-03-05 Flávio Cruz <flaviocruz@gmail.com>
19156
19157 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
19158 UTIME_OMIT): New macros.
19159 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
19160 before reverting to converting time spec to time value and calling
19161 __file_utimes.
19162 * sysdeps/mach/hurd/utime-helper.c: New file.
19163 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
19164 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
19165 reverting to utime_tvalue_from_tval and __file_utimes.
19166 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
19167 (__lutimes): Just call hurd_futimens after lookup.
19168 * sysdeps/mach/hurd/utimes.c: Likewise.
19169
a1ede3a4
ST
191702018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
19171
19172 * bits/sigaction.h: Add include guard.
19173 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
19174 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
19175 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
19176 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
19177 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
19178 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
19179 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
19180 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
19181 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
19182
6900d2ca
JM
191832018-03-05 Joseph Myers <joseph@codesourcery.com>
19184
19185 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
19186 -Wmaybe-uninitialized for -Os.
19187 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
19188 this disabling.
19189
68448be2
AZ
191902018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19191
5226a81f
AZ
19192 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
19193 __INO_T_MATCHES_INO64_T is defined.
19194 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
19195 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
19196 of definition.
19197 * dirent/alphasort64.c: Likewise.
19198 * dirent/scandir.c: Likewise.
19199 * dirent/scandir64-tail.c: Likewise.
19200 * dirent/scandir64.c: Likewise.
19201 * dirent/scandirat.c: Likewise.
19202 * dirent/scandirat64.c: Likewise.
19203 * dirent/versionsort.c: Likewise.
19204 * dirent/versionsort64.c: Likewise.
19205 * include/dirent.h: Likewise.
19206
fbd01e6c
AZ
19207 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
19208 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
19209 for socketpair endpoint.
19210 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
19211 WRITE_BUFFER_SIZE as buffer size for sending socket.
19212 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
19213 issue on system where send is implemented with sendto syscall.
19214 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
19215 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
19216 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
19217 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
19218
68448be2
AZ
19219 [BZ #21269]
19220 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
19221 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
19222 sa_restorer for vDSO case.
19223 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
19224
eb1ca47e
ST
192252018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
19226
19227 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
e30c291a
ST
19228 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
19229 * hurd/hurd/ioctl.h: Include <mach/port.h>
19230 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
f4bff843
ST
19231 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
19232 <mach/mach_types.h> and <mach/message.h>.
430fd945
ST
19233 (headers): Move mach/param.h to bits/mach/param.h.
19234 * sysdeps/mach/i386/mach/param.h: Move file to ...
19235 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
19236 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
19237 of <mach/param.h>.
3403cb7d
ST
19238 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
19239 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
19240 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
48d34cbc
ST
19241 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
19242 trivial, for C++ conformity.
44c6376c 19243 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
95dfdbd2
ST
19244 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
19245 Process mig output through $(migheadersed).
19246 * hurd/Makefile (migheadersed): Define variable.
a726c87a
ST
19247 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
19248 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
19249 headers.
ba89615d
ST
19250 * hurd/hurd.h: Include <bits/types/sigset_t.h>
19251 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
19252 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
19253 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
19254 <bits/types/sigset_t.h>.
19255 [!defined __USE_GNU]: Do not #error out.
19256 (struct hurd_sigstate): Use _NSIG instead of NSIG.
19257 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
19258 Include <stddef.h> and <bits/types/sigset_t.h>
19259 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
19260 instead of sighandler_t.
974393ea
ST
19261 * stdlib/errno.h (error_t): Move definition to...
19262 * bits/types/error_t.h: ... new header.
19263 * stdlib/Makefile (headers): Add bits/types/error_t.h.
19264 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
19265 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
19266 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
19267 * hurd/hurd.h: Include <bits/types/error_t.h>
19268 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
19269 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
19270 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
19271 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
19272 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
19273 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
8d965cde 19274 * sysdeps/mach/hurd/futimens.c: New file.
eb1ca47e 19275
eaf6753f
AS
192762018-03-03 Andreas Schwab <schwab@linux-m68k.org>
19277
19278 [BZ #22918]
19279 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
19280 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
19281 * nscd/gai.c (__nss_hosts_database): Readd definition.
19282 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
19283 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
19284 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
19285
4dc23804
JM
192862018-03-02 Joseph Myers <joseph@codesourcery.com>
19287
19288 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
19289 (ifunc_one): Likewise.
19290
1c81d55f
DD
192912018-03-01 DJ Delorie <dj@delorie.com>
19292
19293 [BZ #22342]
19294 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
19295 key value.
19296
b717c14f
MR
192972018-03-01 Maciej W. Rozycki <macro@mips.com>
19298
19299 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
19300 `match_pid' parameter.
19301 (td_ta_thr_iter): Update accordingly.
19302
1efe1358
FW
193032018-03-01 Florian Weimer <fweimer@redhat.com>
19304
19305 * nptl/Makefile (install-lib-ldscripts): Remove.
19306 (install): Remove rule.
19307 ($(inst_libdir)/libpthread.so): Likewise.
19308
a527f09c
MF
193092018-03-01 Mike FABIAN <mfabian@redhat.com>
19310
19311 [BZ #22896]
19312 * localedata/locales/an_ES: update month and day names,
19313 improve d_fmt, improve postal_fmt, add country_post,
19314 add country_isbn
19315
35d660b0
MF
193162018-03-01 Mike FABIAN <mfabian@redhat.com>
19317
19318 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
19319 Ukrainian instead of Bulgarian.
19320
1a2f44a8
FW
193212018-03-01 Florian Weimer <fweimer@redhat.com>
19322
19323 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
19324 reference.
19325
bd60ce86
FW
193262018-03-01 Florian Weimer <fweimer@redhat.com>
19327
19328 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
19329 * nptl/Makefile (routines): Add pthread_atfork.
19330 (static-only-routines): Set to pthread_atfork.
19331 (libpthread-routines): Remove pthread_atfork.
19332 (libpthread-static-only-routines): Remove.
19333 (install): Update comment.
19334 (libpthread.so): Do not install libpthread_nonshared.a.
19335 (tests): Do not link with libpthread_nonshared.a.
19336 (generated): Remove libpthread_nonshared.a.
19337 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
19338 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
19339 with libpthread_nonshared.a.
19340
000f290f
JM
193412018-02-28 Joseph Myers <joseph@codesourcery.com>
19342
e2bcf6a8
JM
19343 [BZ #22902]
19344 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
19345 (libc_feholdexcept_setroundf128): New macro.
19346 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
19347
000f290f
JM
19348 [BZ #15105]
19349 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
19350 libc_hidden_def.
19351 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
19352 * include/inttypes.h: New file.
19353
02f2fead
JM
193542018-02-27 Joseph Myers <joseph@codesourcery.com>
19355
19356 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
19357 -Os in two more places.
19358
874c56d7
MF
193592018-02-27 Mike FABIAN <mfabian@redhat.com>
19360
19361 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
19362 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
19363 be sorted correctly at the moment because of a bug.
19364
15973854
MF
193652018-02-27 Mike FABIAN <mfabian@redhat.com>
19366
19367 [BZ #22550] - es_ES locale (and other es_* locales): collation should
19368 treat ñ as a primary different character, sync the collation
19369 for Spanish with CLDR.
19370 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
19371 * localedata/Makefile: Add new test files.
19372 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
19373 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
19374 collation order.
19375 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
19376 * localedata/am_ET.UTF-8.in: New test file.
19377 * localedata/az_AZ.UTF-8.in: Likewise.
19378 * localedata/be_BY.UTF-8.in: Likewise.
19379 * localedata/ber_DZ.UTF-8.in: Likewise.
19380 * localedata/ber_MA.UTF-8.in: Likewise.
19381 * localedata/bg_BG.UTF-8.in: Likewise.
19382 * localedata/br_FR.UTF-8.in: Likewise.
19383 * localedata/cmn_TW.UTF-8.in: Likewise.
19384 * localedata/crh_UA.UTF-8.in: Likewise.
19385 * localedata/csb_PL.UTF-8.in: Likewise.
19386 * localedata/cv_RU.UTF-8.in: Likewise.
19387 * localedata/cy_GB.UTF-8.in: Likewise.
19388 * localedata/dz_BT.UTF-8.in: Likewise.
19389 * localedata/eo.UTF-8.in: Likewise.
19390 * localedata/es_ES.UTF-8.in: Likewise.
19391 * localedata/fa_IR.UTF-8.in: Likewise.
19392 * localedata/fi_FI.UTF-8.in: Likewise.
19393 * localedata/fil_PH.UTF-8.in: Likewise.
19394 * localedata/fur_IT.UTF-8.in: Likewise.
19395 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
19396 * localedata/ha_NG.UTF-8.in: Likewise.
19397 * localedata/ig_NG.UTF-8.in: Likewise.
19398 * localedata/ik_CA.UTF-8.in: Likewise.
19399 * localedata/kk_KZ.UTF-8.in: Likewise.
19400 * localedata/ku_TR.UTF-8.in: Likewise.
19401 * localedata/ky_KG.UTF-8.in: Likewise.
19402 * localedata/ln_CD.UTF-8.in: Likewise.
19403 * localedata/mi_NZ.UTF-8.in: Likewise.
19404 * localedata/ml_IN.UTF-8.in: Likewise.
19405 * localedata/mn_MN.UTF-8.in: Likewise.
19406 * localedata/mr_IN.UTF-8.in: Likewise.
19407 * localedata/mt_MT.UTF-8.in: Likewise.
19408 * localedata/nb_NO.UTF-8.in: Likewise.
19409 * localedata/om_KE.UTF-8.in: Likewise.
19410 * localedata/os_RU.UTF-8.in: Likewise.
19411 * localedata/ps_AF.UTF-8.in: Likewise.
19412 * localedata/ro_RO.UTF-8.in: Likewise.
19413 * localedata/ru_RU.UTF-8.in: Likewise.
19414 * localedata/sc_IT.UTF-8.in: Likewise.
19415 * localedata/se_NO.UTF-8.in: Likewise.
19416 * localedata/sq_AL.UTF-8.in: Likewise.
19417 * localedata/sv_SE.UTF-8.in: Likewise.
19418 * localedata/szl_PL.UTF-8.in: Likewise.
19419 * localedata/tg_TJ.UTF-8.in: Likewise.
19420 * localedata/tk_TM.UTF-8.in: Likewise.
19421 * localedata/tt_RU.UTF-8.in: Likewise.
19422 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
19423 * localedata/ug_CN.UTF-8.in: Likewise.
19424 * localedata/uz_UZ.UTF-8.in: Likewise.
19425 * localedata/vi_VN.UTF-8.in: Likewise.
19426 * localedata/yi_US.UTF-8.in: Likewise.
19427 * localedata/yo_NG.UTF-8.in: Likewise.
19428 * localedata/zh_CN.UTF-8.in: Likewise.
19429 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
19430 file and fix bugs in the collation.
19431 * localedata/locales/az_AZ: Likewise.
19432 * localedata/locales/be_BY: Likewise.
19433 * localedata/locales/ber_DZ: Likewise.
19434 * localedata/locales/ber_MA: Likewise.
19435 * localedata/locales/bg_BG: Likewise.
19436 * localedata/locales/br_FR: Likewise.
19437 * localedata/locales/br_FR@euro: Likewise.
19438 * localedata/locales/ca_ES: Likewise.
19439 * localedata/locales/cns11643_stroke: Likewise.
19440 * localedata/locales/crh_UA: Likewise.
19441 * localedata/locales/cs_CZ: Likewise.
19442 * localedata/locales/csb_PL: Likewise.
19443 * localedata/locales/cv_RU: Likewise.
19444 * localedata/locales/cy_GB: Likewise.
19445 * localedata/locales/da_DK: Likewise.
19446 * localedata/locales/dz_BT: Likewise.
19447 * localedata/locales/en_CA: Likewise.
19448 * localedata/locales/eo: Likewise.
19449 * localedata/locales/es_CU: Likewise.
19450 * localedata/locales/es_EC: Likewise.
19451 * localedata/locales/es_ES: Likewise.
19452 * localedata/locales/es_US: Likewise.
19453 * localedata/locales/et_EE: Likewise.
19454 * localedata/locales/fa_IR: Likewise.
19455 * localedata/locales/fi_FI: Likewise.
19456 * localedata/locales/fil_PH: Likewise.
19457 * localedata/locales/fur_IT: Likewise.
19458 * localedata/locales/gez_ER@abegede: Likewise.
19459 * localedata/locales/ha_NG: Likewise.
19460 * localedata/locales/hr_HR: Likewise.
19461 * localedata/locales/hsb_DE: Likewise.
19462 * localedata/locales/hu_HU: Likewise.
19463 * localedata/locales/ig_NG: Likewise.
19464 * localedata/locales/ik_CA: Likewise.
19465 * localedata/locales/is_IS: Likewise.
19466 * localedata/locales/iso14651_t1_pinyin: Likewise.
19467 * localedata/locales/kk_KZ: Likewise.
19468 * localedata/locales/ku_TR: Likewise.
19469 * localedata/locales/ky_KG: Likewise.
19470 * localedata/locales/ln_CD: Likewise.
19471 * localedata/locales/lt_LT: Likewise.
19472 * localedata/locales/lv_LV: Likewise.
19473 * localedata/locales/mi_NZ: Likewise.
19474 * localedata/locales/ml_IN: Likewise.
19475 * localedata/locales/mn_MN: Likewise.
19476 * localedata/locales/mr_IN: Likewise.
19477 * localedata/locales/mt_MT: Likewise.
19478 * localedata/locales/nb_NO: Likewise.
19479 * localedata/locales/om_KE: Likewise.
19480 * localedata/locales/os_RU: Likewise.
19481 * localedata/locales/pl_PL: Likewise.
19482 * localedata/locales/ps_AF: Likewise.
19483 * localedata/locales/ro_RO: Likewise.
19484 * localedata/locales/ru_RU: Likewise.
19485 * localedata/locales/ru_UA: Likewise.
19486 * localedata/locales/sc_IT: Likewise.
19487 * localedata/locales/se_NO: Likewise.
19488 * localedata/locales/si_LK: Likewise.
19489 * localedata/locales/sq_AL: Likewise.
19490 * localedata/locales/sv_FI: Likewise.
19491 * localedata/locales/sv_FI@euro: Likewise.
19492 * localedata/locales/sv_SE: Likewise.
19493 * localedata/locales/szl_PL: Likewise.
19494 * localedata/locales/tg_TJ: Likewise.
19495 * localedata/locales/ti_ER: Likewise.
19496 * localedata/locales/tk_TM: Likewise.
19497 * localedata/locales/tl_PH: Likewise.
19498 * localedata/locales/tr_TR: Likewise.
19499 * localedata/locales/tt_RU: Likewise.
19500 * localedata/locales/tt_RU@iqtelif: Likewise.
19501 * localedata/locales/ug_CN: Likewise.
19502 * localedata/locales/uk_UA: Likewise.
19503 * localedata/locales/uz_UZ: Likewise.
19504 * localedata/locales/uz_UZ@cyrillic: Likewise.
19505 * localedata/locales/vi_VN: Likewise.
19506 * localedata/locales/yi_US: Likewise.
19507 * localedata/locales/yo_NG: Likewise.
19508
ce6636b0
MF
195092018-02-27 Mike FABIAN <mfabian@redhat.com>
19510
19511 * gen-locales.mk: Make test files which contain @ modifiers in their
19512 name work.
19513 * localedata/gen-locale.sh: Likewise.
19514
ac3a3b4b
MF
195152018-02-27 Mike FABIAN <mfabian@redhat.com>
19516
19517 * posix/tst-fnmatch.input: Fix results for range expressions
19518 for non C locales.
19519 * posix/tst-regexloc.c: Do not use a range expression for
19520 de_DE.ISO-8859-1 locale.
19521
770cbe14
MF
195222018-02-27 Mike FABIAN <mfabian@redhat.com>
19523
19524 * posix/bug-regex5.c: Fix test case because with the new
19525 iso14651_t1_common file, the da_DK locale now has 6 collating elements
19526 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
19527 file.
19528
0fc355d9
MF
195292018-02-27 Mike FABIAN <mfabian@redhat.com>
19530
19531 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
19532 downloaded from ISO, the collation order of @-. and space has changed.
19533 Therefore, this test file needed to be adapted.
19534 * localedata/fr_CA.UTF-8.in: Likewise.
19535 * localedata/fr_FR.UTF-8.in: Likewise.
19536 * localedata/uk_UA.UTF-8.in: Likewise.
19537
43f3893f
MF
195382018-02-27 Mike FABIAN <mfabian@redhat.com>
19539
19540 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
19541 order of ȥ in the new iso14651_t1_common file.
19542 * localedata/pl_PL.UTF-8.in: Likewise.
19543
df74ef78
MF
195442018-02-27 Mike FABIAN <mfabian@redhat.com>
19545
19546 * localedata/locales/iso14651_t1_common: Add sections for various
19547 scripts to the iso14651_t1_common file.
19548
d5adfbad
MF
195492018-02-27 Mike FABIAN <mfabian@redhat.com>
19550
19551 * localedata/locales/iso14651_t1_common: Use the code point of a
19552 character in the fourth collation level instead of IGNORE for all
19553 entries which have IGNORE on all 4 levels.
19554
5f5a9610
MF
195552018-02-27 Mike FABIAN <mfabian@redhat.com>
19556
19557 * localedata/locales/iso14651_t1_common: Add some convenient collation
19558 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
19559 rules similar to those in CLDR.
19560
8a97e900
MF
195612018-02-27 Mike FABIAN <mfabian@redhat.com>
19562
19563 * localedata/locales/iso14651_t1_common: The new version of this
19564 file downloaded from ISO contained several syntax errors which
19565 are fixed by this patch.
19566
bbdd2fba
MF
195672018-02-27 Mike FABIAN <mfabian@redhat.com>
19568
19569 * localedata/locales/iso14651_t1_common: replace all <U.....>
19570 with <U000.....> because glibc understands only 4 digit or 8 digit
19571
1569e551
MF
195722018-02-27 Mike FABIAN <mfabian@redhat.com>
19573
19574 * localedata/locales/iso14651_t1_common: Necessary changes
19575 to make the file downloaded from ISO usable by glibc.
19576
9479b6d5
MF
195772018-02-27 Mike FABIAN <mfabian@redhat.com>
19578
19579 [BZ #14095]
19580 * localedata/locales/iso14651_t1_common: Update file to
19581 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
19582
03b540b3
ST
195832018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19584
19585 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
19586 of <nptl/pthreadP.h>
19587 (thread_attr_compare): Move function to...
eb937a52 19588 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
03b540b3 19589 * sysdeps/nptl/timer_routines.h: ... new header.
7211eba6 19590 * sysdeps/mach/hurd/gai_misc.h: New file.
03b540b3 19591
20602c72
JM
195922018-02-26 Joseph Myers <joseph@codesourcery.com>
19593
f54d8f73
JM
19594 * string/strcoll_l.c: Include <libc-diag.h>.
19595 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
19596 declarations of seq1 and seq2.
19597
20602c72
JM
19598 [BZ #15105]
19599 * stdlib/atoi.c (atoi): Use libc_hidden_def.
19600 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
19601
f5f473a9
DL
196022018-02-26 Dmitry V. Levin <ldv@altlinux.org>
19603
19604 [BZ #22433]
19605 [BZ #22807]
19606 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
19607 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
19608 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
19609 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
19610 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
19611 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
19612
398c6fdd
TMQMF
196132018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19614
19615 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
19616 macros used in __ptrace_request.
19617
f5d1f629
L
196182018-02-23 H.J. Lu <hongjiu.lu@intel.com>
19619
19620 [BZ #22792]
19621 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
19622 to $(CC).
19623 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
19624 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
19625 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
19626 <tcb-offsets.h>.
19627
54412d20
JM
196282018-02-23 Joseph Myers <joseph@codesourcery.com>
19629
19630 [BZ #15105]
19631 * ctype/ctype.c (tolower): Use libc_hidden_def.
19632 (toupper): Likewise.
19633 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
19634 [!_ISOMAC] (toupper): Likewise.
19635
81be4b5e
MF
196362018-02-23 Mike FABIAN <mfabian@redhat.com>
19637
19638 * localedata/Makefile: Remove --quiet argument when
19639 installing locales
19640
9d5cfd8e
MF
196412018-02-23 Mike FABIAN <mfabian@redhat.com>
19642
19643 [BZ #17438]
19644 * localedata/locales/pt_BR (LC_TIME): use / instead of -
19645 in d_fmt.
19646 * localedata/locales/pt_PT (LC_TIME): likewise
19647
6c7269f3
MF
196482018-02-23 Mike FABIAN <mfabian@redhat.com>
19649
19650 [BZ #22646]
19651 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
19652 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
19653 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
19654
92aabad9
AZ
196552018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19656
4cdc25a4
AZ
19657 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19658
27761a10
AZ
19659 * nptl/Makefile (routines): Remove unregister-atfork.
19660 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
19661 (fork_handler_alloc): Remove function.
19662 (fork_handlers, fork_handler_init): New variables.
19663 (__fork_lock): Rename to atfork_lock.
19664 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
19665 to use a dynamic array to add/remove atfork handlers.
19666 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
19667 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
19668 Remove declaration.
19669 (fork_handler): Remove next, refcntr, and need_signal member.
19670 (__run_fork_handler_type): New enum.
19671 (__run_fork_handlers): New prototype.
19672 * nptl/register-atfork.c: Remove file.
19673 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
19674
92aabad9
AZ
19675 * sysdeps/nptl/nptl-signals.h: Move to ...
19676 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
19677 comments.
19678 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
19679 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
19680 unnecessary check for SIGTIMER.
19681 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
19682 remove unnecessary removal of SIGTIMER.
19683 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
19684 include-signals.h rename.
19685 * nptl/pthreadP.h: Likewise.
19686 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
19687 __is_internal_signal instead of __nptl_is_internal_signal.
19688
6b5c8607 196892018-02-22 Andrew Waterman <andrew@sifive.com>
fdcc6253 19690
7e04eb29 19691 [BZ # 22884]
fdcc6253
AW
19692 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
19693 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
19694 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
19695 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
19696
8090720a
DD
196972018-02-22 DJ Delorie <dj@delorie.com>
19698
19699 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
19700
6ca24c43
SP
197012018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
19702
19703 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
19704 do_misaligned, not misaligned8.
19705
e9537ddd
SE
197062018-02-22 Steve Ellcey <sellcey@cavium.com>
19707
19708 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
19709 Add memcpy_thunderx2.
19710 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
19711 Increment to 4.
19712 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
19713 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
19714 and IS_THUNDERX2PA checks.
19715 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
19716 Use macro to set name appropriately.
19717 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
19718 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
19719 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
19720 New macro.
19721 (IS_THUNDERX2): New macro.
19722
6e336476
SL
197232018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
19724
19725 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19726
34957904
ZW
197272018-02-21 Zack Weinberg <zackw@panix.com>
19728
30bfee26
ZW
19729 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
19730 Define here, unconditionally.
19731 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
19732 * libio/libioP.h: Remove #if 0 blocks.
19733 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
19734 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
19735 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
19736
19737 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
19738 Assume weak_alias is always defined.
19739
19740 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
19741 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
19742 Remove #if 0 and #ifdef TODO blocks.
19743 Assume text_set_element is always defined.
19744
19745 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
19746 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
19747 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
19748
df6c012b
ZW
19749 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
19750 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
19751 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
19752 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
19753 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
19754 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
19755 Reformat bit flags for _flags field to make occupancy clearer.
19756 Update commentary.
19757 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
19758 Keep definitions consistent with those in libio/libio.h.
19759
19760 * libio/libio.h (_IO_file_flags): Remove macro.
19761 All uses changed to _flags.
19762
177aad3f
ZW
19763 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
19764 (__HAVE_COLUMN, _IO_BE): Don't define.
19765 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
19766 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
19767 * libio/libioP.h (EOF): Don't define.
19768 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
19769 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
19770 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
19771 testing _IO_UNIFIED_JUMPTABLES.
19772
9964a145
ZW
19773 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
19774 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
19775 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
19776 (_IO_size_t): Delete; all uses changed to size_t.
19777 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
19778 (_IO_off_t): Delete; all uses changed to off_t.
19779 (_IO_off64_t): Delete; all uses changed to off64_t.
19780 (_IO_pid_t): Delete; all uses changed to pid_t.
19781 (_IO_uid_t): Delete; all uses changed to uid_t.
19782 (_IO_wint_t): Delete; all uses changed to wint_t.
19783 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
19784 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
19785 (_IO_cookie_io_functions_t): Delete; all uses changed to
19786 cookie_io_functions_t.
19787 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
19788 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
19789 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
19790 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
19791
19792 * libio/iofopncook.c: Remove unnecessary forward declarations.
19793 * libio/iolibio.h: Correct outdated commentary.
19794 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
19795 * stdio-common/fxprintf.c (__fxprintf_nocancel):
19796 Remove unnecessary casts.
19797 * stdio-common/getline.c: Use _IO_getdelim directly.
19798 Don't redefine ssize_t.
19799 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
19800 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
19801 Remove outdated comments.
19802 * stdio-common/vfscanf.c: Don't redefine va_list.
19803
34957904
ZW
19804 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
19805 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
19806 Remove preprocessor conditionals on _LIBC and __USE_GNU,
19807 which are always true, and __cplusplus, which is always false.
19808
30ac923d
JM
198092018-02-21 Joseph Myers <joseph@codesourcery.com>
19810
039c721a
JM
19811 [BZ #15105]
19812 [BZ #19463]
19813 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
19814 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
19815 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
19816 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
19817 libc_hidden_proto.
19818 [!_ISOMAC] (putc_unlocked): Likewise.
19819 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
19820 define inline if [__USE_EXTERN_INLINES].
19821 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
19822 putc_unlocked.
19823
30ac923d
JM
19824 [BZ #15105]
19825 [BZ #19463]
19826 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
19827 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
19828 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
19829 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
19830 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
19831 getc_unlocked.
19832 * time/tzfile.c (__tzfile_read): Likewise.
19833
7ec5f946
MF
198342018-02-21 Mike FABIAN <mfabian@redhat.com>
19835
19836 [BZ #22517]
19837 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
19838
0d217f40
RJ
198392018-02-21 Rical Jasan <ricaljasan@pacific.net>
19840
19841 * io/fcntl.h: Fix a typo in a comment.
19842
862b4502
RJ
198432018-02-21 Rical Jasan <ricaljasan@pacific.net>
19844
19845 [BZ #22862]
19846 * include/features.h: Add _ISOC11_SOURCE to test for whether to
19847 define _DEFAULT_SOURCE.
19848 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
19849
999a6dab
FW
198502018-02-21 Florian Weimer <fweimer@redhat.com>
19851
19852 [BZ #20890]
19853 * elf/cache.c (save_cache): Call fsync on temporary file before
19854 renaming it.
19855 (save_aux_cache): Call fdatasync on temporary file before renaming
19856 it.
19857
52a01100
FW
198582018-02-21 Florian Weimer <fweimer@redhat.com>
19859
19860 [BZ #22787]
19861 * include/caller.h: Remove file.
19862 * elf/dl-caller.c: Likewise.
19863 * elf/Makefile (dl-routines): Remove dl-caller.
19864 (shared-only-routines): Do not add dl-caller.
19865 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
19866 __check_caller.
19867 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
19868 member.
19869 (dl_open_worker): Do not call __check_caller.
19870 (_dl_open): Do not set caller_dl_open member.
19871 * elf/rtld.c (_rtld_global_ro): Do not initialize
19872 _dl_check_caller member.
19873 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
19874 _dl_check_caller member.
19875 (_dl_check_caller): Remove declaration.
19876 * sysdeps/unix/sysv/linux/dl-execstack.c
19877 (_dl_make_stack_executable): Do not call __check_caller.
19878
b5bf62e4
ST
198792018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
19880
19881 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
315304d2 19882 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
b5bf62e4 19883
e8d190b9
RJ
198842018-02-20 Rical Jasan <ricaljasan@pacific.net>
19885
19886 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
19887 description.
19888
6a3962c4
RJ
198892018-02-20 Rical Jasan <ricaljasan@pacific.net>
19890
da81ae64 19891 [BZ #16335]
6a3962c4
RJ
19892 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
19893 of 199606L, 200112L, and 200809L.
19894 (_XOPEN_SOURCE): Document special values of 600 and 700.
19895 (_ISOC11_SOURCE): Document macro.
19896 (_ATFILE_SOURCE): Likewise.
19897 (_FORTIFY_SOURCE): Likewise.
19898
ec481ad8
JM
198992018-02-19 Joseph Myers <joseph@codesourcery.com>
19900
19901 [BZ #15105]
19902 [BZ #19463]
19903 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
19904 and define as weak alias of __ferror_unlocked. Use
19905 libc_hidden_weak.
19906 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
19907 libc_hidden_proto.
19908 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
19909 function if [__USE_EXTERN_INLINES].
19910 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
19911 ferror_unlocked.
19912
7d15ef84
RJ
199132018-02-19 Rical Jasan <ricaljasan@pacific.net>
19914
19915 [BZ #6889]
19916 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
19917
f8d79582
AJ
199182018-02-18 Aurelien Jarno <aurelien@aurel32.net>
19919
19920 [BZ #22818]
19921 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
19922 the GLIBC_2.1 version.
19923
56456a2a
AJ
199242018-02-18 Aurelien Jarno <aurelien@aurel32.net>
19925
19926 [BZ #21508]
19927 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
19928 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
19929 intl/tst-gettext-de.po from po/de.po by removing the
19930 POT-Creation-Date line.
19931 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
19932 ../po/de.po.
19933 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
19934 ../po/de.po.
19935
13768813
ST
199362018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
19937
19938 * mach/Makefile (headers): Add mach/param.h.
19939 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
19940 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
dd1efd8c
ST
19941 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
19942 (__ptsname_r): Move implementation to...
19943 (__ptsname_internal): ... new function. Add filling the STP
19944 structure.
13768813 19945
6aca1b61
JDA
199462018-02-17 John David Anglin <danglin@gcc.gnu.org>
19947
19948 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
19949 idouble to 1 ULP.
19950
16efad51
RJ
199512018-02-16 Rical Jasan <ricaljasan@pacific.net>
19952
19953 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
19954 syntax.
19955
87245073
SL
199562018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
19957
19958 * nptl/Makefile (tst-mutex8-ENV): Delete.
19959 * nptl/tst-mutex8.c (check_type):
19960 Add runtime check if mutex will be elided.
19961
7fc03cf3
JM
199622018-02-15 Joseph Myers <joseph@codesourcery.com>
19963
db9881ec
JM
19964 [BZ #20980]
19965 [BZ #21234]
19966 * manual/install.texi (Configuring and compiling): Describe
19967 passing CC and CFLAGS on configure command line, not as
19968 environment variables. Use @code markup on those variables.
19969 Specify what options go in CC and what go in CFLAGS. Note the
19970 requirement to compile with optimization.
19971 * INSTALL: Regenerated.
19972
3785b31c
JM
19973 [BZ #18124]
19974 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
19975 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
19976 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
19977 __sigprocmask instead of sigprocmask.
19978 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
19979 Likewise.
19980 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
19981 __sigsetjmp and sigprocmask.
19982
055ac2a7
JM
19983 [BZ #15105]
19984 * include/argz.h (argz_next): Use libc_hidden_proto.
19985 (__argz_next): Likewise.
19986 * string-argz-next.c (__argz_next): Use libc_hidden_def.
19987 (argz_next): Use libc_hidden_weak.
19988
e4452a2d
JM
19989 [BZ #15105]
19990 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
19991 libc_hidden_proto.
19992 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
19993 libc_hidden_def.
19994
499b3153
JM
19995 [BZ #15105]
19996 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
19997 libc_hidden_proto.
19998 * libio/iofputs.c (fputs): Use libc_hidden_weak.
19999
7fc03cf3
JM
20000 [BZ #15105]
20001 [BZ #19463]
20002 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
20003 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
20004 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
20005 (__feof_unlocked): New declaration, and inline function if
20006 [__USE_EXTERN_INLINES].
20007 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
20008 instead of feof_unlocked.
20009 * intl/localealias.c [_LIBC] (FEOF): Likewise.
20010 * nss/nsswitch.c (nss_parse_file): Likewise.
20011 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
20012 Likewise.
20013 * time/getdate.c (__getdate_r): Likewise.
20014 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
20015 Define as macro to call __feof_unlocked.
20016
0c8a67a5
WD
200172018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
20018
20019 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
20020
610ee1fc
WD
200212018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
20022
20023 * math/Makefile: Remove mpexp.c and mplog.c
20024 * sysdeps/i386/fpu/mpexp.c: Delete file.
20025 * sysdeps/i386/fpu/mplog.c: Likewise.
20026 * sysdeps/ia64/fpu/mpexp.c: Likewise.
20027 * sysdeps/ia64/fpu/mplog.c: Likewise.
20028 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
20029 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
20030 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
20031 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
20032 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
20033 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
20034 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
20035 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
20036 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
20037 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
20038 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
20039 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
20040 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
20041 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
20042 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
20043 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
20044
8e7196c8
SL
200452018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
20046
20047 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20048
4f55ad0b
AZ
200492018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20050
20051 * sysdeps/sh/libm-test-ulps: Update.
20052
261a851c
TMQMF
200532018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20054
20055 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
20056 idouble to 1 ULP.
20057
e16deca6
ZW
200582018-02-12 Zack Weinberg <zackw@panix.com>
20059
20060 [BZ #19239]
20061 * posix/sys/types.h: Don't include sys/sysmacros.h.
20062 * misc/sys/sysmacros.h: Remove the conditional deprecation
20063 warnings for the macros defined by this header.
20064
de800d83
SN
200652018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
20066
20067 * manual/probes.texi: Remove slowexp probes.
20068 * math/Makefile: Remove slowexp.
20069 * sysdeps/generic/math_private.h (__slowexp): Remove.
20070 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
20071 document error bounds.
20072 * sysdeps/i386/fpu/slowexp.c: Remove.
20073 * sysdeps/ia64/fpu/slowexp.c: Remove.
20074 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
20075 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
20076 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
20077 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
20078 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
20079 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
20080 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
20081 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
20082 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
20083 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
20084 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
20085
c3d466cb
WD
200862018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
20087
20088 [BZ #13932]
20089 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
20090 * benchtests/pow-inputs: Update comment for slow path cases.
20091 * manual/probes.texi (slowpow_p10): Delete removed probe.
20092 (slowpow_p10): Likewise.
20093 * math/Makefile: Remove halfulp.c and slowpow.c.
20094 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
20095 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
20096 (__halfulp): Remove.
20097 (__slowpow): Remove.
20098 * sysdeps/i386/fpu/halfulp.c: Delete file.
20099 * sysdeps/i386/fpu/slowpow.c: Likewise.
20100 * sysdeps/ia64/fpu/halfulp.c: Likewise.
20101 * sysdeps/ia64/fpu/slowpow.c: Likewise.
20102 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
20103 improve comments and add error analysis.
20104 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
20105 (power1): Remove function:
20106 (log1): Remove error argument, add error analysis.
20107 (my_log2): Remove function.
20108 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
20109 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20110 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
20111 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
20112 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
20113 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
20114 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
20115 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
20116 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
20117 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
20118 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
20119 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
20120 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
20121 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
20122
7bb087bd
ST
201232018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
20124
20125 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
20126 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
20127
2fd4bbaa
DL
201282018-02-10 Dmitry V. Levin <ldv@altlinux.org>
20129
20130 [BZ #22433]
20131 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
20132 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
20133 and PTRACE_SETHBPREGS.
20134
402ecba4
ZW
201352018-02-10 Zack Weinberg <zackw@panix.com>
20136
20137 [BZ #22830]
20138 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
20139 correctly.
20140 * malloc/tst-malloc-stats-cancellation.c: New test case.
20141 * malloc/Makefile: Add new test case.
20142
4f5b921e
WD
201432018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
20144
20145 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
20146
a85b70db
JM
201472018-02-10 Joseph Myers <joseph@codesourcery.com>
20148
d8742dd8
JM
20149 * math/Makefile (libm-narrow-fns): Add add.
20150 (libm-test-funcs-narrow): Likewise.
20151 * math/Versions (GLIBC_2.28): Add narrowing add functions.
20152 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
20153 * math/gen-auto-libm-tests.c (test_functions): Add add.
20154 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
20155 (NARROW_ADD_ROUND_TO_ODD): Likewise.
20156 (NARROW_ADD_TRIVIAL): Likewise.
20157 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
20158 macro.
20159 (__daddl): Likewise.
20160 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
20161 dadd.
20162 (CFLAGS-nldbl-dadd.c): New variable.
20163 (CFLAGS-nldbl-fadd.c): Likewise.
20164 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
20165 __nldbl_daddl.
20166 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
20167 prototype.
20168 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
20169 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
20170 * math/auto-libm-test-in: Add tests of add.
20171 * math/auto-libm-test-out-narrow-add: New generated file.
20172 * math/libm-test-narrow-add.inc: New file.
20173 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
20174 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
20175 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
20176 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
20177 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
20178 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
20179 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
20180 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
20181 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
20182 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
20183 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
20184 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
20185 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
20186 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
20187 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
20188 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
20189 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
20190 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
20191 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20192 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
20193 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20194 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20195 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20196 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20197 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20198 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20199 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20200 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20201 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20202 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20203 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20204 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
20206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
20207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
20208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
20209 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
20210 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20211 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20212 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20213 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20214 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20215 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
20216 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
20217 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20218 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20219
a85b70db
JM
20220 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
20221 (f128-pairs): New variable.
20222 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
20223 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
20224 to CFLAGS.
20225 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
20226 Also make tests add $(f128-loader-link) to gnulib-tests.
20227
6a1ff640
DD
202282018-02-09 DJ Delorie <dj@redhat.com>
20229
20230 [BZ #22827]
20231 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
20232 64-bit ELF type for 64-bit ELF objects.
20233
bfd47587
JM
202342018-02-09 Joseph Myers <joseph@codesourcery.com>
20235
31958338
JM
20236 * math/libm-test-driver.c (snan_tests_arg): New variable.
20237 * math/libm-test-support.h (snan_tests_arg): New declaration.
20238 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
20239
8e554659
JM
20240 * math/Makefile (test-type-pairs): New variable.
20241 (test-type-pairs-f64xf128-yes): Likewise.
20242 (tests): Add test-narrow-macros.
20243 (libm-test-funcs-narrow): New variable.
20244 (libm-test-c-narrow): Likewise.
20245 (generated): Add $(libm-test-c-narrow).
20246 (libm-tests-base-narrow): New variable.
20247 (libm-tests-narrow): Likewise.
20248 (libm-tests): Add $(libm-tests-narrow).
20249 (libm-tests-for-type): Handle $(libm-tests-narrow).
20250 (libm-test-c-narrow-obj): New variable.
20251 ($(libm-test-c-narrow-obj)): New rule.
20252 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
20253 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
20254 $(o-iterator) to set dependencies and CFLAGS.
20255 * math/gen-auto-libm-tests.c: Document use for narrowing
20256 functions.
20257 (output_for_one_input_case): Take argument NARROW.
20258 (generate_output): Likewise. Update call to
20259 output_for_one_input_case.
20260 (main): Take --narrow option. Update call to generate_output.
20261 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
20262 (apply_lit): Update call to _apply_lit.
20263 (apply_arglit): New function.
20264 (parse_args): Handle "a" arguments.
20265 (parse_auto_input): Handle format names using ":".
20266 * math/README.libm-test: Document "a" parameter type.
20267 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
20268 (ARG_TYPE_TRUE_MIN): Likewise.
20269 (ARG_TYPE_MAX): Likwise.
20270 (ARG_MIN_EXP): Likewise.
20271 (ARG_MAX_EXP): Likewise.
20272 (ARG_MANT_DIG): Likewise.
20273 (TEST_COND_arg_ibm128): Likewise.
20274 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
20275 (TEST_COND_arg_fmt): New macro.
20276 (init_max_error): Update prototype.
20277 * math/libm-test-support.c (test_ibm128): New variable.
20278 (init_max_error): Take argument testing_ibm128 and set test_ibm128
20279 instead of using [TEST_COND_ibm128] conditional.
20280 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
20281 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
20282 [TEST_NARROW] (TEST_MSG): New definition.
20283 (arg_plus_zero): New macro.
20284 (arg_minus_zero): Likewise.
20285 (arg_plus_infty): Likewise.
20286 (arg_minus_infty): Likewise.
20287 (arg_qnan_value_pl): Likewise.
20288 (arg_qnan_value): Likewise.
20289 (arg_snan_value_pl): Likewise.
20290 (arg_snan_value): Likewise.
20291 (arg_max_value): Likewise.
20292 (arg_min_value): Likewise.
20293 (arg_min_subnorm_value): Likewise.
20294 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
20295 (RUN_TEST_LOOP_aa_f): New macro.
20296 (TEST_SUFF): New macro.
20297 (TEST_SUFF_STR): Likewise.
20298 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
20299 (TEST_COND_any_ibm128): New macro.
20300 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
20301 this_func. Update call to init_max_error.
20302 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
20303 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
20304 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
20305 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
20306 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
20307 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
20308 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
20309 * math/test-math-scalar.h (TEST_NARROW): Likewise.
20310 * math/test-math-vector.h (TEST_NARROW): Likewise.
20311 * math/test-arg-double.h: New file.
20312 * math/test-arg-float128.h: Likewise.
20313 * math/test-arg-float32x.h: Likewise.
20314 * math/test-arg-float64.h: Likewise.
20315 * math/test-arg-float64x.h: Likewise.
20316 * math/test-arg-ldouble.h: Likewise.
20317 * math/test-math-narrow.h: Likewise.
20318 * math/test-narrow-macros.c: Likewise.
20319 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
20320 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
20321 test-narrow-macros-ldbl-64.
20322 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
20323
63716ab2
JM
20324 * math/bits/mathcalls-narrow.h: New file.
20325 * include/bits/mathcalls-narrow.h: Likewise.
20326 * math/math-narrow.h: Likewise.
20327 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
20328 (__MATHCALL_NARROW_ARGS_2): Likewise.
20329 (__MATHCALL_NARROW_ARGS_3): Likewise.
20330 (__MATHCALL_NARROW_NORMAL): Likewise.
20331 (__MATHCALL_NARROW_REDIR): Likewise.
20332 (__MATHCALL_NARROW): Likewise.
20333 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
20334 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
20335 defined.
20336 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
20337 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
20338 (libm-narrow-fns): New variable.
20339 (libm-narrow-types-basic): Likewise.
20340 (libm-narrow-types-ldouble-yes): Likewise.
20341 (libm-narrow-types-float128-yes): Likewise.
20342 (libm-narrow-types-float128-alias-yes): Likewise.
20343 (libm-narrow-types): Likewise.
20344 (libm-routines): Add narrowing functions.
20345 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
20346 (libc_feholdexcept_setroundf128): New macro.
20347 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
20348 * sysdeps/ieee754/float128/float128_private.h: Include
20349 <math/math-narrow.h>.
20350 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
20351 Undefine and redefine.
20352 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
20353 (libm_alias_float_ldouble): Undefine and redefine.
20354 (libm_alias_double_ldouble): Likewise.
20355
bfd47587
JM
20356 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
20357
3f8d9d58
WD
203582018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
20359
20360 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
20361 FPCR/FPSR.
20362
1f6676d7
RJ
203632018-02-09 Rical Jasan <ricaljasan@pacific.net>
20364
20365 * manual/creature.texi: Convert references to gcc.info to gcc.
20366 * manual/stdio.texi: Likewise.
20367 * manual/string.texi: Likewise.
20368
d80441dd
JM
203692018-02-07 Joseph Myers <joseph@codesourcery.com>
20370
15081be9
JM
20371 [BZ #17979]
20372 * posix/bits/types.h (__int_least8_t): New typedef.
20373 (__uint_least8_t): Likewise.
20374 (__int_least16_t): Likewise.
20375 (__uint_least16_t): Likewise.
20376 (__int_least32_t): Likewise.
20377 (__uint_least32_t): Likewise.
20378 (__int_least64_t): Likewise.
20379 (__uint_least64_t): Likewise.
20380 * sysdeps/generic/stdint.h (int_least8_t): Define using
20381 __int_least8_t.
20382 (int_least16_t): Define using __int_least16_t.
20383 (int_least32_t): Define using __int_least32_t.
20384 (int_least64_t): Define using __int_least64_t.
20385 (uint_least8_t): Define using __uint_least8_t.
20386 (uint_least16_t): Define using __uint_least16_t.
20387 (uint_least32_t): Define using __uint_least32_t.
20388 (uint_least64_t): Define using __uint_least64_t.
20389 * wcsmbs/uchar.h: Include <bits/types.h>.
20390 (char16_t): Define using __uint_least16_t conditional only on
20391 [!__USE_ISOCXX11].
20392 (char32_t): Define using __uint_least32_t conditional only on
20393 [!__USE_ISOCXX11].
20394 * wcsmbs/test-char-types.c: New file.
20395 * wcsmbs/Makefile (tests): Add test-char-types.
20396
d80441dd
JM
20397 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
20398 version to 4.0.1.
20399
6c6c962a
ZW
204002018-02-07 Zack Weinberg <zackw@panix.com>
20401
63fb8f9a
ZW
20402 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
20403 Delete all contents except for definitions of _G_HAVE_MMAP and
20404 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
20405 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
20406 sysdeps/unix/sysv/linux/_G_config.h. Make same content
20407 change as above.
20408
20409 * libio/libio.h: Don't include bits/_G_config.h here.
20410 Include stddef.h with __need_wchar_t defined. Include
20411 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
20412 Define _IO_iconv_t here, directly.
20413 Don't define _IO_HAVE_ST_BLKSIZE.
20414 * libio/libioP.h: Include _G_config.h here. Move include of
20415 shlib-compat.h up with rest of includes. Simplify conditionals
20416 controlling definition of _IO_JUMPS_OFFSET.
20417
20418 * csu/init.c: Remove always-true #if around entire file.
20419 Don't include stdio.h. Set _IO_stdin_used to hardwired
20420 constant 0x20001, and update commentary.
20421 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
20422 Replace all uses of _G_va_list with __gnuc_va_list.
20423 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
20424 instead of #if _IO_HAVE_ST_BLKSIZE.
20425 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
20426 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
20427 not #ifdef.
20428
6c6c962a
ZW
20429 * libio/bits/libio.h: Move back to libio/libio.h and adjust
20430 multiple-include guard to match.
20431 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
20432 into this file.
20433 Remove preprocessor conditionals that are always true and/or
20434 redundant to other preprocessor conditionals in the same nest.
20435 Include shlib-compat.h unconditionally.
20436 Error out if _LIBC is not defined, or if _ISOMAC is defined,
20437 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
20438 defined after including stdio.h.
20439 Use __BEGIN_DECLS/__END_DECLS.
20440
20441 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
20442 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
20443 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
20444
a4fea3f2
ZW
204452018-02-07 Zack Weinberg <zackw@panix.com>
20446
20447 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
20448 New single-type headers split from _G_config.h.
20449 * libio/bits/types/cookie_io_functions_t.h
20450 * libio/bits/types/struct_FILE.h
20451 New single-type headers split from libio.h.
20452
20453 * libio/Makefile: Install the above new headers. Don't install
20454 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
20455 bits/libio-ldbl.h.
20456 * libio/_G_config.h, libio/libio.h: Delete file.
20457
20458 * libio/bits/libio.h: Remove improper-inclusion guard.
20459 Include stdio.h and don't repeat anything that it does.
20460 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
20461 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
20462 __io_read_fn as cookie_read_function_t,
20463 __io_write_fn as cookie_write_function_t,
20464 __io_seek_fn as cookie_seek_function_t,
20465 __io_close_fn as cookie_close_function_t,
20466 and _IO_cookie_io_functions_t as cookie_io_functions_t.
20467 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
20468 here, in the "compatibility defines" section. Remove an #if 0
6c6c962a 20469 block. Use the "body" macros from bits/types/struct_FILE.h to
a4fea3f2
ZW
20470 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
20471 and _IO_ferror_unlocked.
20472 Move prototypes of __uflow and __overflow...
20473
20474 * libio/stdio.h: ...here. Don't include bits/libio.h.
20475 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
6c6c962a 20476 directly from stdarg.h. Include bits/types/__fpos_t.h,
a4fea3f2
ZW
20477 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
20478 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
20479 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
20480 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
20481 cookie_io_functions_t, not _IO_cookie_io_functions_t;
20482 __ssize_t, not _IO_ssize_t. Unconditionally define
20483 BUFSIZ as 8192 and EOF as (-1).
20484
20485 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
20486 macros from bits/types/struct_FILE.h instead of _IO_* macros
20487 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
20488 instead of _IO_ssize_t.
20489 * libio/bits/stdio2.h: Similarly.
20490
20491 * libio/iolibio.h: Add multiple-include guard.
20492 Include bits/libio.h after stdio.h.
20493 * libio/libioP.h: Add multiple-include guard.
20494 Include stdio.h and bits/libio.h before iolibio.h.
20495
6c6c962a 20496 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
a4fea3f2
ZW
20497 * include/bits/types/cookie_io_functions_t.h
20498 * include/bits/types/struct_FILE.h: New wrappers.
20499
20500 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
6c6c962a
ZW
20501 Get definitions of _G_fpos_t and _G_fpos64_t from
20502 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
20503 respectively. Remove improper-inclusion guards.
a4fea3f2 20504
6c6c962a 20505 * conform/data/stdio.h-data: Update expectations of va_list.
a4fea3f2 20506 * scripts/check-installed-headers.sh: Remove special case for
6c6c962a 20507 libio.h and _G_config.h.
a4fea3f2 20508
ce999220
JM
205092018-02-07 Joseph Myers <joseph@codesourcery.com>
20510
8b4a1182
JM
20511 [BZ #15105]
20512 [BZ #19463]
20513 * include/sys/sysmacros.h [!_ISOMAC]
20514 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
20515 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
20516 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
20517 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
20518 libc_hidden_proto.
20519 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
20520 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
20521 Likewise.
20522 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
20523 Undefine and redefine to add use __gnu_dev_ prefix.
20524 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
20525 Likewise.
20526 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
20527 and define as hidden inline function.
20528 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
20529 Likewise.
20530 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
20531 Likewise.
20532 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
20533 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
20534 (gnu_dev_minor): Likewise.
20535 (gnu_dev_makedev): Likewise.
20536 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
20537 makedev.
20538 * posix/wordexp.c (exec_comm_child): Likewise.
20539 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
20540 instead of minor and __gnu_dev_major instead of major.
20541 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
20542 __gnu_dev_major instead of major.
20543 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
20544 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
20545 instead of gnu_dev_minor.
20546 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
20547 (SLAVE_P): Likewise.
20548 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
20549 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
20550 instead of major.
20551
ce999220
JM
20552 [BZ #21313]
20553 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
20554 in another place.
20555 * locale/weightwc.h (findidx): Likewise.
20556
b7c83ca3
WD
205572018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
20558
20559 * manual/probes.texi (slowlog): Delete documentation of removed probe.
20560 (slowlog_inexact): Likewise
20561 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
20562 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
20563
388ff7bd
IG
205642018-02-07 Igor Gnatenko <ignatenko@redhat.com>
20565
20566 [BZ #22797]
20567 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
20568 missing second underscore to parameter name.
20569
663e7d78
JM
205702018-02-06 Joseph Myers <joseph@codesourcery.com>
20571
0d40d0ec
JM
20572 [BZ #14508]
20573 [BZ #15512]
20574 [BZ #17082]
20575 [BZ #20530]
20576 * bits/byteswap.h: Update file comment. Do not include
20577 <bits/byteswap-16.h>.
20578 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
20579 constant.
20580 (__bswap_16): Define as inline function.
20581 (__bswap_constant_32): Reformat definition.
20582 (__bswap_32): Always define as inline function, not macro, using
20583 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
20584 otherwise __bswap_constant_32.
20585 (__bswap_constant_64): Reformat definition. Do not use
20586 __extension__ here.
20587 (__bswap_64): Always define as inline function, not macro. Use
20588 __extension__ on function definition. Use __builtin_bswap64 if
20589 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
20590 * string/test-endian-file-scope.c: New file.
20591 * string/test-endian-sign-conversion.c: Likewise.
20592 * string/Makefile (headers): Remove bits/byteswap-16.h.
20593 (tests): Add test-endian-file-scope and
20594 test-endian-sign-conversion.
20595 (CFLAGS-test-endian-sign-conversion.c): New variable.
20596 * bits/byteswap-16.h: Remove file.
20597 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
20598 * sysdeps/ia64/bits/byteswap.h: Likewise.
20599 * sysdeps/m68k/bits/byteswap.h: Likewise.
20600 * sysdeps/s390/bits/byteswap-16.h: Likewise.
20601 * sysdeps/s390/bits/byteswap.h: Likewise.
20602 * sysdeps/tile/bits/byteswap.h: Likewise.
20603 * sysdeps/x86/bits/byteswap-16.h: Likewise.
20604 * sysdeps/x86/bits/byteswap.h: Likewise.
20605
383e87c9
JM
20606 [BZ #17721]
20607 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
20608 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
20609 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
20610 199901L] (__restrict): Define to restrict.
20611
d92c2759
JM
20612 [BZ #19667]
20613 * string/testcopy.c: Include <support/support.h>. Do not include
20614 <malloc.h>. Use <support/test-driver.c>.
20615 (main): Rename to do_test. Make static. Use xmalloc instead of
20616 malloc.
20617
625fb764
JM
20618 [BZ #13575]
20619 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
20620 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
20621 (SSIZE_MAX): Define to INT_MAX.
20622 * posix/test-ssize-max.c: New file.
20623 * posix/Makefile (tests): Add test-ssize-max.
20624
02325d6c
JM
20625 [BZ #19668]
20626 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
20627 <support/support.h>. Do not include <malloc.h>.
20628 (query_auxv): Use xmalloc instead of malloc.
20629
663e7d78
JM
20630 [BZ #14553]
20631 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
20632 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
20633 instead of loff_t.
20634
6b5c8607 206352018-02-06 Florian Weimer <fweimer@redhat.com>
6d7aa2b5
FW
20636
20637 [BZ #18023]
20638 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20639 Use scratch_buffer instead of extend_alloca.
20640
de6da571
ZW
206412018-02-06 Zack Weinberg <zackw@panix.com>
20642
26c07172
ZW
20643 * libio/stdio.h: Don't define getc or putc as macros.
20644 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
20645 not _IO_getc and _IO_putc.
20646
de6da571
ZW
20647 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
20648 * stdio-common/tstgetln.c: Don't redefine ssize_t.
20649
92669d6e
JM
206502018-02-06 Joseph Myers <joseph@codesourcery.com>
20651
c2b84df9
JM
20652 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
20653 (TCP_FASTOPEN_NO_COOKIE): Likewise.
20654
41376f8c
JM
20655 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
20656
d28bf648
JM
20657 [BZ #14890]
20658 * elf/elf.h (NT_PRFPREG): New macro.
20659 (NT_S390_VXRS_LOW): Likewise.
20660 (NT_S390_VXRS_HIGH): Likewise.
20661 (NT_S390_GS_CB): Likewise.
20662 (NT_S390_GS_BC): Likewise.
20663 (NT_S390_RI_CB): Likewise.
20664
e76def72
JM
20665 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
20666 (MAP_SYNC): New macro.
20667 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
20668 Likewise.
20669 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
20670 (MAP_SYNC): Likewise.
20671 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
20672 (MAP_SYNC): Likewise.
20673 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
20674 (MAP_SYNC): Likewise.
20675 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
20676 (MAP_SYNC): Likewise.
20677 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
20678 (MAP_SYNC): Likewise.
20679 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
20680 (MAP_SYNC): Likewise.
20681 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
20682 Likewise.
20683 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
20684 Likewise.
20685
92669d6e
JM
20686 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
20687 (MAP_SHARED_VALIDATE): New macro.
20688 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
20689 (MAP_SHARED_VALIDATE): Likewise.
20690
6a5cac49
L
206912018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20692
20693 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
20694 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
20695 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
20696
b44e0dfb
L
206972018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20698
20699 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
20700 (DT_NUM): Updated to 35.
20701
f886c16c
L
207022018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20703
20704 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
20705 __builtin_expect with __glibc_likely and __glibc_unlikely.
20706 (elf_machine_rela): Likewise.
20707 (elf_machine_lazy_rel): Likewise.
20708
06fbebff
L
207092018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20710
20711 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
8f4bf93f 20712 __builtin_expect with __glibc_likely and __glibc_unlikely.
06fbebff
L
20713 (elf_machine_lazy_rel): Likewise.
20714
371b220f
L
207152018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20716
20717 [BZ #22638]
20718 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
20719 SHARED.
65805016 20720 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
371b220f 20721
f649a1b8
AS
207222018-02-05 Andreas Schwab <schwab@suse.de>
20723
20724 [BZ #22761]
20725 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
20726 string.
20727
9fdb340e
ST
207282018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
20729
20730 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
20731 not check against PTHREAD_STACK_MIN.
20732
09e56b9e
SM
207332018-02-02 Sean McKean <smckean83@gmail.com>
20734
20735 [BZ #22735]
20736 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
20737
d4b4a00a
FW
207382018-02-02 Florian Weimer <fweimer@redhat.com>
20739
20740 [BZ #22753]
20741 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
20742 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
20743 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
20744 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
20745 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
20746 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
20747 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
20748 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
20749 * manual/llio.texi (Scatter-Gather): Mention offset -1.
20750 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
20751 * misc/tst-preadvwritev2.c (do_test): Call it.
20752 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
20753
3dfcbfa1
SP
207542018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
20755
84c94d2f
SP
20756 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
20757
96e6a716
SP
20758 * benchtests/bench-memcmp.c: Print json instead of plain text.
20759
3dfcbfa1
SP
20760 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
20761 every test run.
20762
049375e2
JM
207632018-02-01 Joseph Myers <joseph@codesourcery.com>
20764
39f898c6
JM
20765 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
20766 version to 4.15.
20767 (s390_sthyi): New syscall.
20768
6f9a3dd8
JM
20769 * sysdeps/generic/ldbl-classify-compat.h: New file.
20770 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
20771 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
20772 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
20773 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
20774 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
20775 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
20776 * sysdeps/ieee754/dbl-64/s_finite.c: Include
20777 <ldbl-classify-compat.h>.
20778 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20779 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
20780 <ldbl-classify-compat.h>.
20781 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20782 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
20783 <ldbl-classify-compat.h>.
20784 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20785 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
20786 <ldbl-classify-compat.h>.
20787 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20788 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
20789 <ldbl-classify-compat.h>.
20790 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20791 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
20792 <ldbl-classify-compat.h>.
20793 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20794 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
20795 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
20796 * sysdeps/m68k/coldfire/math_private.h: Remove file.
20797 * sysdeps/microblaze/math_private.h: Likewise.
20798 * sysdeps/nios2/math_private.h: Likewise.
20799 * sysdeps/sh/math_private.h: Likewise.
20800
eb65a3d5
JM
20801 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
20802 * sysdeps/m68k/coldfire/math_private.h: ... here.
20803 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
20804 * sysdeps/tile/math_private.h: Likewise.
20805 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
20806 Remove macro.
20807 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
20808 Likewise.
20809
8a6bb1d0
JM
20810 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
20811 Remove macro.
20812 (libc_fetestexcept): Likewise.
20813 (libc_feupdateenv_test): Likewise.
20814 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
20815 (libc_fetestexcept): Likewise.
20816 (libc_feupdateenv_test): Likewise.
20817 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
20818 (libc_fetestexcept): Likewise.
20819 (libc_feupdateenv_test): Likewise.
20820 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
20821 (libc_fetestexcept): Likewise.
20822 (libc_feupdateenv_test): Likewise.
20823
ae1fcb7b
JM
20824 * sysdeps/generic/math_private.h
20825 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
20826 New inline function.
20827 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
20828 Likewise.
20829
b1c347e2
JM
20830 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
20831 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
20832 * sysdeps/generic/math_private.h
20833 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
20834 inline function.
20835 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
20836 Likewise.
20837 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
20838 Likewise.
20839 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
20840 Likewise.
20841 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
20842 Likewise.
20843 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
20844 Likewise.
20845 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
20846 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
20847 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
20848 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
20849 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
20850 (__fegetenv): Likewise.
20851 (fesetenv): Likewise.
20852 (__fesetenv): Likewise.
20853 (feupdateenv): Likewise.
20854 (__feupdateenv): Likewise.
20855 (fegetround): Likewise.
20856 (__fegetround): Likewise.
20857 (fesetround): Likewise.
20858 (__fesetround): Likewise.
20859
d23a4962
JM
20860 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
20861 (feraiseexcept): New macro.
20862 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
20863 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
20864 Remove macro.
20865 (__feraiseexcept): Likewise.
20866 (feclearexcept): Likewise.
20867 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
20868 (__feraiseexcept): Likewise.
20869 (feclearexcept): Likewise.
20870 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
20871 (__feraiseexcept): Likewise.
20872 (feclearexcept): Likewise.
20873 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
20874 (__feraiseexcept): Likewise.
20875 (feclearexcept): Likewise.
20876 (fetestexcept): Likewise.
20877
5f167950
JM
20878 * sysdeps/m68k/coldfire/math-tests.h: New file.
20879
ccc9035a
JM
20880 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
20881 * sysdeps/m68k/bits/fenv.h: ... here.
20882 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
20883 not define.
20884 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
20885 Likewise.
20886 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
20887 Likewise.
20888 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
20889 Likewise.
20890 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
20891 Likewise.
20892 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
20893 Define to 0.
20894 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
20895 (__FE_UNDEFINED): New enum constant.
20896 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
20897 Do not define.
20898 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
20899 Likewise.
20900 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
20901 Likewise.
20902 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
20903 to match generic bits/fenv.h.
20904 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
20905 Do not define.
20906
049375e2
JM
20907 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
20908 packed on bits.
20909 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
20910 * soft-fp/half.h (union _FP_UNION_H): Likewise.
20911 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
20912 * soft-fp/single.h (union _FP_UNION_S): Likewise.
20913
f1d73681
CD
209142018-02-01 Carlos O'Donell <carlos@redhat.com>
20915 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
20916 Joseph Myers <joseph@codesourcery.com>
20917
20918 [BZ #21314]
20919 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
20920 (__log1p): Disable -Wmaybe-uninitialized for -Os around
20921 computation using c.
20922 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
20923 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
20924 computation using c.
20925
242cbc90
DL
209262018-02-01 Dmitry V. Levin <ldv@altlinux.org>
20927
086ee48e
DL
20928 * version.h (RELEASE): Set to "development".
20929 (VERSION): Set to "2.27.9000".
20930 * NEWS (2.28): New section.
20931
23158b08
DL
20932 * version.h (RELEASE): Set to "stable".
20933 (VERSION): Set to "2.27".
20934 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
20935
242cbc90
DL
20936 * NEWS: Add the list of bugs fixed in 2.27.
20937
673e2305
AZ
209382018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20939
20940 * stdlib/test-atexit-race-common.c (do_test): Check stack size
20941 against PTHREAD_STACK_MIN.
20942
ced64e01
DL
209432018-02-01 Dmitry V. Levin <ldv@altlinux.org>
20944
20945 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
20946 New entries.
20947 (Rafal Luzynski, Andreas Schwab): Update.
20948
c10c9a5e
RL
209492018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
20950
20951 [BZ #10871]
20952 * NEWS: List the languages which actually use the alternative
20953 months feature in this release. Also explain that "alt_mon" and
20954 "ab_alt_mon" are optional.
20955
650ba77a
IM
209562018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
20957
20958 [BZ #22765]
20959 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
20960
93493119
DL
209612018-01-31 Dmitry V. Levin <ldv@altlinux.org>
20962
20963 * manual/install.texi (Tools for Compilation): Update the newest
20964 versions of gcc, binutils, texinfo, gawk, bison, and sed.
20965 * INSTALL: Regenerated.
20966
363e4519 209672018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
407552cf
ST
20968
20969 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
20970 instead of __builtin_expect.
20971
d7536874
FW
209722018-01-30 Florian Weimer <fweimer@redhat.com>
20973
20974 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
20975 data.
20976 * nss/tst-nss-getpwent.c (do_test): Likewise.
20977
9a1b267d
RL
209782018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
20979
20980 [BZ #10871]
20981 * localedata/locales/hr_HR (mon): Rename to...
20982 (alt_mon): This.
20983 (mon): Import from CLDR (genitive case).
20984 (d_t_fmt): Update the comment.
20985
9a179328
AS
209862018-01-29 Andreas Schwab <schwab@linux-m68k.org>
20987
20988 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
20989 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
20990 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
20991
e01e0ddc
ST
209922018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
20993
20994 * mach/Versions: Fix version when __mach_host_self_ was added.
20995 * hurd/Versions: Fix version when _hurd_exec_paths was added.
20996 * sysdeps/mach/hurd/i386/ld.abilist: New file.
20997 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
20998 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
20999 * sysdeps/mach/hurd/i386/libc.abilist: New file.
21000 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
21001 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
21002 * sysdeps/mach/hurd/i386/libm.abilist: New file.
21003 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
21004 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
21005 * sysdeps/mach/hurd/i386/librt.abilist: New file.
21006 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
ba729de6
ST
21007 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
21008 || to respect codestyle.
2aadb705
ST
21009 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
21010 (do_test_bz20181): Rename accordingly.
406e7a0a
ST
21011 * malloc/malloc.c: Include <assert.h>.
21012 (assert): Do not define.
21013 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
99dfbef4
ST
21014 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
21015 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
ac56adbb 21016 * sysdeps/mach/hurd/hp-timing.h: New file.
ef4cf463 21017 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
e01e0ddc 21018
521877e1
PD
210192018-01-29 Darius Rad <darius@bluespec.com>
21020
21021 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
21022
532cf290
PD
210232018-01-29 Palmer Dabbelt <palmer@sifive.com>
21024
21025 * sysdeps/init_array/crti.S (.section .init_array): Add
21026 PREINIT_FUNCTION when defined.
40ca951b 21027 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
4215e276 21028 * config.h.in: Regenerate.
ba9e25a6
PD
21029 * manual/platform.texi: Add RISC-V documenation for
21030 __riscv_flush_icache.
c776fa11
PD
21031 * sysdeps/riscv/__longjmp.S: New file.
21032 * sysdeps/riscv/backtrace.c: Likewise.
21033 * sysdeps/riscv/bits/endian.h: Likewise.
21034 * sysdeps/riscv/bits/setjmp.h: Likewise.
21035 * sysdeps/riscv/bits/wordsize.h: Likewise.
21036 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
21037 * sysdeps/riscv/bsd-setjmp.c: Likewise.
21038 * sysdeps/riscv/dl-trampoline.S: Likewise.
21039 * sysdeps/riscv/gccframe.h: Likewise.
21040 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
21041 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
21042 * sysdeps/riscv/machine-gmon.h: Likewise.
21043 * sysdeps/riscv/memusage.h: Likewise.
21044 * sysdeps/riscv/setjmp.S: Likewise.
21045 * sysdeps/riscv/sys/asm.h: Likewise.
21046 * sysdeps/riscv/tls-macros.h: Likewise.
33712660
PD
21047 * sysdeps/riscv/dl-tls.h: New file.
21048 * sysdeps/riscv/libc-tls.c: Likewise.
21049 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
21050 * sysdeps/riscv/nptl/tls.h: Likewise.
21051 * sysdeps/riscv/stackinfo.h: Likewise.
67236aeb
PD
21052 * sysdeps/riscv/bits/fenv.h: New file.
21053 * sysdeps/riscv/e_sqrtl.c: Likewise.
21054 * sysdeps/riscv/fpu_control.h: Likewise.
21055 * sysdeps/riscv/math-tests.h: Likewise.
21056 * sysdeps/riscv/nofpu/Implies: Likewise.
21057 * sysdeps/riscv/sfp-machine.h: Likewise.
21058 * sysdeps/riscv/tininess.h: Likewise.
b2cb5e02
PD
21059 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
21060 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
21061 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
21062 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
21063 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
21064 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
21065 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
21066 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
21067 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
21068 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
21069 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
21070 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
21071 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
21072 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
21073 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
21074 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
21075 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
21076 * sysdeps/riscv/rvd/s_finite.c: Likewise.
21077 * sysdeps/riscv/rvd/s_fma.c: Likewise.
21078 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
21079 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
21080 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
21081 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
21082 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
21083 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
21084 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
21085 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
21086 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
21087 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
21088 * sysdeps/riscv/rvf/fegetround.c: Likewise.
21089 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
21090 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
21091 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
21092 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
21093 * sysdeps/riscv/rvf/fesetround.c: Likewise.
21094 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
21095 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
21096 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
21097 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
21098 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
21099 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
21100 * sysdeps/riscv/rvf/math_private.h: Likewise.
21101 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
21102 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
21103 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
21104 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
21105 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
21106 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
21107 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
21108 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
21109 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
21110 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
21111 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
21112 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
21113 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
21114 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
21115 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
21116 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
d1c09b24
PD
21117 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
21118 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
21119 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
21120 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
36960f0c
PD
21121 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
21122 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
21123 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
21124 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
21125 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
21126 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
21127 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
21128 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
21129 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
7f33b09c
PD
21130 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
21131 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
21132 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
21133 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
21134 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
21135 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
21136 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
21137 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
21138 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
21139 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
21140 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
21141 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
21142 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
21143 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
21144 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
21145 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
21146 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
21147 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
21148 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
21149 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
21150 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
21151 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
ee53fed9
PD
21152 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
21153 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
21154 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
2268c433
PD
21155 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
21156 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
21157 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
21158 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
21159 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
21160 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
21161 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
21162 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
21163 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
21164 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
21165 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
21166 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
21167 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
21168 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
c5061557
PD
21169 * sysdeps/riscv/Implies: New file.
21170 * sysdeps/riscv/Makefile: Likewise.
21171 * sysdeps/riscv/configure: Likewise.
21172 * sysdeps/riscv/configure.ac: Likewise.
21173 * sysdeps/riscv/nptl/Makefile: Likewise.
21174 * sysdeps/riscv/preconfigure: Likewise.
21175 * sysdeps/riscv/rv64/Implies-after: Likewise.
21176 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
21177 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
21178 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
21179 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
21180 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
21181 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
21182 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
21183 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
21184 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
21185 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
21186 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
0fd5d876
PD
21187 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
21188 (Config): Likewise.
532cf290 21189
cdd14619
FW
211902018-01-29 Florian Weimer <fweimer@redhat.com>
21191
21192 [BZ #22701]
21193 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
21194 libnsl_hidden_proto.
21195 * include/rpcsvc/yp.h (yp_xdrall): Declare with
21196 libnsl_hidden_proto.
21197 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
21198 * nis/Makefile (libnsl-routines): Add nss-default only for
21199 build-obsolete-nsl.
21200 * nis/nis_defaults.c (__nis_default_ttl): Add
21201 libnsl_hidden_nolink_def.
21202 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
21203 declaration.
21204 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
21205 * nis/ypclnt.c (yp_maplist): Likewise.
21206
b7ccb5de
RN
212072018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
21208
21209 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21210 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
21211
522623e4
JM
212122018-01-29 Joseph Myers <joseph@codesourcery.com>
21213
e3aa6999
JM
21214 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
21215 clean -dxfq for git updates when replacing sources.
21216
088de7d0
JM
21217 * scripts/build-many-glibcs.py (Config.build_gcc): Use
21218 --disable-libcilkrts unconditionally, not just for the final GCC
21219 build for Hurd.
21220
522623e4
JM
21221 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
21222 version to 4.15.
21223
8b406f87
RL
212242018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
21225
21226 [BZ #10871]
21227 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
21228 case).
21229
105e90bd
RL
212302018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
21231
21232 [BZ #10871]
21233 * localedata/locales/be_BY (mon): Rename to...
21234 (alt_mon): This, then synchronize with CLDR (nominative case).
21235 (abmon): Rename to...
21236 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
21237 (mon): Import from CLDR (genitive case).
21238 (abmon): Likewise.
21239 * localedata/locales/be_BY@latin (mon): Rename to...
21240 (alt_mon): This.
21241 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
21242
21243 * localedata/locales/be_BY@latin (lang_name): Reworded to
21244 "biełaruskaja mova".
21245
561cb414
RL
212462018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
21247
21248 [BZ #10871]
21249 * localedata/locales/el_CY (mon): Renamed to...
21250 (alt_mon): This.
21251 (mon): Import from CLDR (genitive case).
21252 * localedata/locales/el_GR: Likewise.
21253
f7bdf30d
RL
212542018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
21255
21256 [BZ #10871]
21257 * localedata/locales/ru_RU (mon): Rename to...
21258 (alt_mon): This.
21259 (abmon): Rename to...
21260 (ab_alt_mon): This.
21261 (mon): Import from CLDR (genitive case).
21262 (abmon): Copy from the old content except the 5th month which is
21263 now in the genitive case, even when abbreviated.
21264 * localedata/locales/ru_UA: Likewise.
21265 * time/tst-strptime.c (day_tests): Add an actual example of
21266 a difference between %b and %Ob in Russian.
21267
85285a0c
ST
212682018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
21269
21270 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
da8168df
ST
21271 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
21272 a `c' variable.
3538a4b6 21273 * resolv/res-close.c: Include <stdlib.h>.
b29848b9
ST
21274 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
21275 <sys/wait.h>, <time.h>, <sys/uio.h>.
21276 (NOT_CANCEL_H): Add inclusion guard.
4f66dc23 21277 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
147d1dbb
ST
21278 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
21279 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
21280 return 0.
05ebfe87
ST
21281 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
21282 vm_address_t * to ElfW(Addr) * for dl_main parameter.
61a3a8c6
ST
21283 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
21284 instead of void *.
21285 * sysdeps/pthread/timer_create.c (timer_create): Do not use
21286 timer_ptr2id to cast struct timer_node * to void *.
d4d5b2dd
ST
21287 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
21288 --disable-libcilkrts to gcc configure.
19fd8d0d
ST
21289 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
21290 and make them the default for now.
903d3633
ST
21291 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
21292 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
7dab2d00
ST
21293 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
21294 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
21295 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
21296 MACH_IPC_COMPAT.
06fac9f5
ST
21297 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
21298 __task_terminate would ever return successfully.
f8177753
ST
21299 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
21300 to global scope.
41cdb1eb
ST
21301 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
21302 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
660b7bff
ST
21303 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
21304 critical section to make code simpler and avoid warning.
21305 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
21306 critical section to make code simpler and avoid warning.
844bf921
ST
21307 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
21308 const char * instead of char *.
f8bee46c
ST
21309 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
21310 __hurd_file_name_split, hurd_file_name_split,
21311 __hurd_directory_name_split, hurd_directory_name_split,
21312 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
21313 hurd_file_name_path_lookup): Make lookup function parameter take a
21314 const char *name instead of char *name.
21315 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
21316 __hurd_directory_name_split): Likewise.
21317 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
21318 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
40066975
ST
21319 * sysdeps/mach/hurd/check_native.c: New file.
21320 * sysdeps/mach/hurd/check_pf.c: New file.
7c5b106d
ST
21321 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
21322 (__freeifaddrs): Define macro to freeifaddrs.
5f982b0b
ST
21323 * sysdeps/mach/hurd/libhurduser.abilist: New file.
21324 * sysdeps/mach/libmachuser.abilist: New file.
cef7166a
ST
21325 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
21326 (do_test_bz20181): Rename accordingly.
21327 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
3fc1ecf9
ST
21328 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
21329 <sys/mount.h>.
28f6186f
ST
21330 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
21331 version only if __USE_EXTERN_INLINES is defined.
21332 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
21333 __hurd_sockfail): Likewise.
21334 (_hurd_fd_get): Always declare functions, and provide inline versions
21335 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
21336 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
21337 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
21338 _hurd_port_set): Always declare functions, and provide inline versions
21339 only if __USE_EXTERN_INLINES and _LIBC are defined and
21340 IS_IN(libc).
21341 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
21342 _hurd_critical_section_unlock): Likewise.
21343 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
21344 * __hurd_threadvar_location): Likewise.
21345 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
21346 _hurd_userlink_clear): Likewise.
21347 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
21348 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
21349 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
21350 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
21351 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
21352 __spin_lock_locked): Likewise.
21353 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
21354 __spin_lock_locked): Likewise.
21355 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
21356 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
21357 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
21358 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
21359 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
b1025304
ST
21360 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
21361 _POSIX_NO_TRUNC): Define to 0.
a902a086
ST
21362 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
21363 check size against PTHREAD_STACK_MIN.
625ba81e
ST
21364 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
21365 IS_IN(libpthread)]: Include <sigsetops.h>.
2e52dff4
ST
21366 * mach/Makefile (user-interfaces): Add mach/gnumach.
21367 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
21368 * sysdeps/mach/configure (mach_interface_list): Regenerate.
80463dc6
ST
21369 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
21370 instead of invalid -1.
1f89ac71
ST
21371 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
21372 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
21373 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
21374 <net/ppp_defs.h>.
85285a0c 21375
1fd1e27c 213762018-01-27 Thomas Schwinge <tschwinge@gnu.org>
84814e2a
TS
21377
21378 * hurd/fcntl-internal.h: New file.
21379
3854c5a8
JC
213802018-01-27 James Clarke <jrtc27@jrtc27.com>
21381
7e23a7dd
JC
21382 * sysdeps/hppa/fpu/libm-test-ulps: Update.
21383
3854c5a8
JC
21384 * sysdeps/alpha/fpu/libm-test-ulps: Update.
21385
5503f413
AS
213862018-01-26 Andreas Schwab <schwab@linux-m68k.org>
21387
21388 [BZ #22701]
21389 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
21390 Build only shared objects.
21391
caaf7804
CD
213922018-01-26 Carlos O'Donell <carlos@redhat.com>
21393
21394 * README: Update for hppa.
21395
1cbf818d
PM
213962018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21397
caaf7804
CD
21398 * sysdeps/sparc/fpu/libm-test-ulps: Update
21399 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
1cbf818d 21400
caaf7804 214012018-01-26 Carlos O'Donell <carlos@redhat.com>
2ec0e7ea
CD
21402
21403 Revert:
21404
21405 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21406
21407 [BZ #22563]
21408 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
21409 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
21410 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
21411 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
21412 to feature_1.
21413
21414 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21415
21416 [BZ #22563]
21417 * bits/types/__cancel_jmp_buf_tag.h: New file.
21418 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
21419 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
21420 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
21421 * nptl/Makefile (headers): Add
21422 bits/types/__cancel_jmp_buf_tag.h.
21423 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
21424 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
21425 * sysdeps/nptl/pthread.h: Include
21426 <bits/types/__cancel_jmp_buf_tag.h>.
21427 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
21428 __cancel_jmp_buf.
21429 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
21430
65f6c94e
RL
214312018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
21432
21433 [BZ #10871]
21434 * localedata/locales/uk_UA (mon): Renamed to...
21435 (alt_mon): This.
21436 (alt_digits): "0" removed and then renamed to...
21437 (mon): This.
21438 (date_fmt): Definition changed not to use the alternative
21439 digits hack.
21440
fb58aac5
PD
214412018-01-25 Palmer Dabbelt <palmer@sifive.com>
21442
21443 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
21444 FLAG_RISCV_FLOAT_ABI_DOUBLE.
21445 * elf/elf.h (EF_RISCV_RVC): New define.
21446 (EF_RISCV_FLOAT_ABI): Likewise.
21447 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
21448 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
21449 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
21450 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
21451 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
21452 define.
21453 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
21454
128c43a2
AS
214552018-01-25 Andreas Schwab <schwab@suse.de>
21456
21457 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
21458 single quotes.
21459 * sysdeps/gnu/configure: Regenerate.
21460 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
21461 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
21462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
21463 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
21464 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
21465 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
21466 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
21467 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
21468
f9015003
ST
214692018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
21470
48130690 21471 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
47c4b4b0 21472 URL, and run autoconf, make it the default for now.
f9015003 21473
91b2cffa
JM
214742018-01-24 Joseph Myers <joseph@codesourcery.com>
21475
3005b705
JM
21476 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21477 soft-float ColdFire configuration.
21478
69231fab
JM
21479 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
21480 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
21481 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
21482
d4c7e1d0
JM
21483 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
21484 MicroBlaze file.
21485
0cfe5be5
JM
21486 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
21487 ....
21488 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
21489 ... here.
21490 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
21491 New file.
21492
91b2cffa
JM
21493 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
21494 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
21495 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
21496 file.
21497
c739e191
SN
214982018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
21499
21500 [BZ #22742]
21501 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
21502 Rename to __reserved and add comment.
21503 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
21504 Rename to __reserved.
21505
394b5bac
JM
215062018-01-24 Joseph Myers <joseph@codesourcery.com>
21507
21508 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21509 i686-gnu configurations.
21510 (Context.run_builds): Include mig, gnumach and hurd in components
21511 considered.
21512 (Context.checkout): Add mig, gnumach and hurd to components.
21513 (Context.checkout_tar): Add URL mappings for mig, gnumach and
21514 hurd.
21515 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
21516 (Config.build): Install gnumach headers, build mig and install
21517 hurd headers for 'gnu' OS.
21518 (Config.install_gnumach_headers): New function.
21519 (Config.install_hurd_headers): Likewise.
21520 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
21521 when building for 'gnu' OS.
21522
28c3f14f
TK
215232018-01-23 Tobias Klauser <tklauser@distanz.ch>
21524
21525 * manual/tunables.texi (Hardware Capability Tunables): Fix
21526 spelling.
21527
0f5e2da1
RJ
215282018-01-22 Rical Jasan <ricaljasan@pacific.net>
21529
21530 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
21531 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
21532 (ALTMON_11, ALTMON_12): Improve documentation.
21533 * manual/time.texi (strftime): Likewise.
21534
7817b14a
RL
215352018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
21536
21537 [BZ #10871]
21538 * localedata/locales/pl_PL: Alternative month names added,
21539 primary month names are genitive now.
21540 * time/tst-strptime.c (day_tests): Actually use a genitive case
21541 of a month name in Polish language.
21542
22390764
RL
215432018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
21544
21545 [BZ #10871]
21546 * manual/locale.texi: Document ALTMON_1..12 constants for
21547 nl_langinfo. Specify when to use ALTMON instead of MON.
21548 * manual/time.texi (strftime, strptime): Document GNU extension
21549 permitting O modifier with %B and %b. Specify when to use
21550 %OB instead of %B.
21551
761a585c
RL
215522018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
21553
21554 [BZ #10871]
21555 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
21556 names, define them as the same as abbreviated month names explicitly.
21557 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
21558 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
21559 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
21560 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
21561 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
21562 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
21563 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
21564 _NL_WABALTMON_12): New enum constants.
21565 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
21566 wab_alt_mon, and ab_alt_mon_defined members.
21567 (time_output): Output ab_alt_mon and wab_alt_mon members.
21568 (time_read): Read them, initialize them as copies of abmon and wabmon
21569 respectively if they are missing, initialize ab_alt_mon_defined.
21570 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
21571 * locale/programs/locfile-kw.h: Regenerate.
21572 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
21573 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
21574 and ru_RU.UTF-8.
21575 * time/strftime_l.c (a_altmonth, aam_len): New macros.
21576 [!COMPILE_WIDE] (ABALTMON_1): New macro.
21577 (__strftime_internal): Handle %Ob and %Oh formats.
21578 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
21579 (__strptime_internal): Handle %Ob and %Oh formats.
21580 * time/tst-strptime.c (day_tests): Add more tests to parse different
21581 forms of month names including the new %Ob format specifier.
21582
95cb863a
RL
215832018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
21584
21585 [BZ #10871]
21586 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
21587 define them as the same as primary full month names explicitly.
21588 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
21589 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
21590 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
21591 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
21592 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
21593 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
21594 _NL_WALTMON_12): New enum constants.
21595 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
21596 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
21597 macros.
21598 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
21599 walt_mon, and alt_mon_defined members.
21600 (time_output): Output alt_mon and walt_mon members.
21601 (time_read): Read them, initialize them as copies of mon and wmon
21602 respectively if they are missing, initialize alt_mon_defined.
21603 * locale/programs/locfile-kw.gperf (alt_mon): Define.
21604 * locale/programs/locfile-kw.h: Regenerate.
21605 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
21606 * localedata/tst-langinfo.c (map): Add tests for the new constants
21607 ALTMON_1 .. ALTMON_12.
21608 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
21609 and pl_PL.UTF-8.
21610 * time/strftime_l.c (f_altmonth): New macro.
21611 (__strftime_internal): Handle %OB format.
21612 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
21613 (__strptime_internal): Handle %OB format.
21614 * time/tst-strptime.c (day_tests): Add tests to parse different forms
21615 of month names including the new %OB format specifier.
21616
4612268a
TMQMF
216172018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21618
21619 [BZ #22685]
21620 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
21621 from ABORT_TRANSACTION.
21622 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
21623 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
21624 ABORT_TRANSACTION_IMPL): Likewise.
21625 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
21626 Linux code, but remove the code that aborts transactions.
21627
64f63cb4
ST
216282018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
21629
21630 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
21631
32ac6e92
RL
216322018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
21633
21634 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
21635 in date: "2004-14-09" should be "2004-09-14".
21636 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
21637 "2003-15-09" should be "2003-09-15".
21638
8e448310
AS
216392018-01-18 Arjun Shankar <arjun@redhat.com>
21640
21641 [BZ #22343]
71aa429b 21642 [BZ #22774]
4590634f 21643 CVE-2018-6485
71aa429b 21644 CVE-2018-6551
8e448310
AS
21645 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
21646 after padding.
21647 (_int_memalign): check for integer overflow before calling
21648 _int_malloc.
21649 * malloc/tst-malloc-too-large.c: New test.
21650 * malloc/Makefile: Add tst-malloc-too-large.
21651
e234d7cb
RL
216522018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
21653
21654 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
21655 in date: "2017-24-07" should be "2017-07-24".
21656 * localedata/locales/mai_IN: Likewise.
21657 * localedata/locales/mai_NP: Likewise.
21658
48b66019
DL
216592018-01-17 Dmitry V. Levin <ldv@altlinux.org>
21660
21661 * po/ru.po: Update translations.
21662
1eeddc58
JM
216632018-01-17 Joseph Myers <joseph@codesourcery.com>
21664
21665 [BZ #22719]
21666 * sysdeps/hppa/backtrace.c: New file.
21667
207a72e2
L
216682018-01-17 H.J. Lu <hongjiu.lu@intel.com>
21669
21670 [BZ #22715]
21671 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
21672 align La_x86_64_retval to VEC_SIZE.
21673
4942c4ea
JM
216742018-01-16 Joseph Myers <joseph@codesourcery.com>
21675
21676 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
21677 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
21678
10d200db
FW
216792018-01-16 Florian Weimer <fweimer@redhat.com>
21680
21681 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
21682 Move tst-thread-exit-clobber ...
21683 [$(CXX)] (tests-unsupported): ... to here.
21684
953c49cc
SN
216852018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
21686
21687 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
21688 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
21689 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
21690 (_dl_aarch64_cap_flags): Update.
21691 (_DL_HWCAP_COUNT): Update.
21692
afce1991
SN
216932018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
21694
21695 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
21696 (_DL_HWCAP_LAST): Remove.
21697 (_DL_HWCAP_COUNT): Move to ...
21698 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
21699 (_DL_HWCAP_COUNT): ... here.
21700
b725132d
FW
217012018-01-16 Florian Weimer <fweimer@redhat.com>
21702
21703 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
21704 mode with GNU extensions.
21705
c9e613a7
AH
217062018-01-15 Alan Hayward <alan.hayward@arm.com>
21707
21708 * elf/elf.h (NT_ARM_SVE): Define.
21709
860b0240
FW
217102018-01-15 Florian Weimer <fweimer@redhat.com>
21711
21712 [BZ #22636]
21713 * nptl/tst-minstack-throw.cc: New file.
21714 * nptl/Makefile (tests): Add tst-minstack-throw.
21715 (LDLIBS-tst-minstack-throw): Link with libstdc++.
21716 [!CXX] (tests-unsupported): Add tst-minstack-throw.
21717
16d0f6ac
JM
217182018-01-15 Joseph Myers <joseph@codesourcery.com>
21719
21720 * scripts/build-many-glibcs.py (Context.checkout): Default
21721 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
21722 version to 1.1.0.
21723
505d3910
CD
217242018-01-13 Carlos O'Donell <carlos@redhat.com>
21725
21726 [BZ #22707]
21727 * elf/elf.h (DF_1_STUB): Define.
21728 (DF_1_PIE): Define.
21729
af1e6be4
TMQMF
217302018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21731
21732 [BZ #22697]
21733 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
21734 Do not add 0.5 to integer or out-of-range arguments.
21735
98d13ce0
DL
217362018-01-12 Dmitry V. Levin <ldv@altlinux.org>
21737
21738 * po/bg.po: Update translations.
21739 * po/cs.po: Likewise.
21740 * po/de.po: Likewise.
21741 * po/ko.po: Likewise.
21742 * po/pl.po: Likewise.
21743 * po/sv.po: Likewise.
21744 * po/uk.po: Likewise.
21745 * po/vi.po: Likewise.
21746
3d1d7928
SN
217472018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21748
21749 * aarch64/start.S (_start): Use __wrap_main.
21750 (__wrap_main): New local symbol.
21751
52a713fd
DL
217522018-01-12 Dmitry V. Levin <ldv@altlinux.org>
21753
21754 [BZ #22679]
21755 CVE-2018-1000001
21756 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
21757 generic_getcwd if the path returned by getcwd syscall is not absolute.
21758 * io/tst-getcwd-abspath.c: New test.
21759 * io/Makefile (tests): Add tst-getcwd-abspath.
21760
249a5895
IK
217612018-01-12 Istvan Kurucsai <pistukem@gmail.com>
21762
21763 * malloc/malloc.c (malloc_consolidate): Add size check.
21764
1a51e46e
FW
217652018-01-12 Florian Weimer <fweimer@redhat.com>
21766
21767 * support/write_message.c (write_message): Preserve errno.
21768 * support/check.c (print_failure): Likewise.
21769 * support/support_test_verify_impl.c (support_test_verify_impl):
21770 Likewise.
21771 * support/support_test_compare_failure.c
21772 (support_test_compare_failure): Likewise.
21773
9a08a366
FW
217742018-01-12 Florian Weimer <fweimer@redhat.com>
21775
21776 [BZ #22701]
21777 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
21778 Prevent installation of libnsl.so.
21779 (libnsl-inhibit-o): Do not build (or install) static libraries.
21780
80647883 217812018-01-12 Egmont Koblinger <egmont@gmail.com>
f172187b
EK
21782
21783 [BZ #22657]
21784 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
21785 before the day number which may produce a double space.
21786 (date_fmt): Likewise.
21787
c8924f1f
JM
217882018-01-12 Joseph Myers <joseph@codesourcery.com>
21789
21790 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
21791 instead of fegetenv.
21792
da09e6fa
JM
217932018-01-11 Joseph Myers <joseph@codesourcery.com>
21794
21795 [BZ #22702]
21796 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
21797 comment to say exceptions are discarded.
21798 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
21799 __fegetenv.
21800 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
21801 be enabled.
21802
08c6e952
FW
218032018-01-11 Florian Weimer <fweimer@redhat.com>
21804
21805 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
21806 and error message.
21807
d8b77890
FW
218082018-01-11 Florian Weimer <fweimer@redhat.com>
21809
21810 [BZ #22636]
21811 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
21812 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
21813
b303185d
JM
218142018-01-10 Joseph Myers <joseph@codesourcery.com>
21815
21816 [BZ #22693]
21817 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
21818 negative arguments in test for NaN or infinity argument.
21819
ee61d028
DL
218202018-01-10 Dmitry V. Levin <ldv@altlinux.org>
21821
21822 * po/libc.pot: Regenerate.
21823
f993b875
FW
218242018-01-10 Florian Weimer <fweimer@redhat.com>
21825
21826 [BZ #22636]
21827 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
21828 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
21829
09085ede
ST
218302018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21831
21832 * hurd/hurd/fd.h: Include <fcntl.h>
21833 (__hurd_at_flags): New function.
21834 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
21835 with call to __hurd_at_flags.
21836 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
21837 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
21838 __faccessat
21839 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
21840 (__access_noerrno): Use __faccessat_common instead of access_common.
21841 (__access): Likewise.
21842 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
21843 with a call to __faccessat.
21844 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
21845 (__faccessat_common): ... this. Move implementation of __access into it when
21846 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
21847 reauthenticate_cwdir_at helper to implement AT mechanism.
21848 (__faccessat_noerrno): New function, just calls __faccessat_common.
21849 (__faccessat): New function, just calls __faccessat_common.
21850 (faccessat): Define weak alias.
21851
12727488
JM
218522018-01-10 Joseph Myers <joseph@codesourcery.com>
21853
87faac55
JM
21854 [BZ #22691]
21855 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21856 (CFLAGS-s_fmaxmagl.c): New variable.
21857 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
21858
12727488
JM
21859 [BZ #22690]
21860 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
21861 long int for arguments of possibly overflowing addition or
21862 subtraction.
21863 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
21864
e134ca17
JM
218652018-01-09 Joseph Myers <joseph@codesourcery.com>
21866
b2584ac2
JM
21867 [BZ #22688]
21868 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21869 (CFLAGS-e_remainderl.c): New variable.
21870
e134ca17
JM
21871 [BZ #22687]
21872 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
21873 variable.
21874 (CFLAGS-s_cacoshl.c): Likewise.
21875 (CFLAGS-s_casinhl.c): Likewise.
21876 (CFLAGS-s_catanl.c): Likewise.
21877 (CFLAGS-s_catanhl.c): Likewise.
21878 (CFLAGS-s_cexpl.c): Likewise.
21879 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
21880 (CFLAGS-s_csinhl.c): Likewise.
21881 (CFLAGS-s_clogl.c): Likewise.
21882 (CFLAGS-s_clog10l.c): Likewise.
21883 (CFLAGS-s_csinl.c): Likewise.
21884 (CFLAGS-s_csqrtl.c): Likewise.
21885
d31a4a48
ST
218862017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
218872017-01-09 Svante Signell <svante.signell@gmail.com>
311ba8dc
ST
21888
21889 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
21890 (_hurd_exec_paths): New function.
21891 * hurd/hurd.h (_hurd_exec): Deprecate function.
21892 (_hurd_exec_paths): Declare function.
21893 * hurd/Versions: Export _hurd_exec_paths.
21894 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
21895 (__execve): Use __getcwd to build absolute path, and use
21896 _hurd_exec_paths instead of _hurd_exec.
21897 * sysdeps/mach/hurd/spawni.c: Likewise.
21898 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
21899 _hurd_exec.
21900
d7ff3f11
DL
219012018-01-08 Dmitry V. Levin <ldv@altlinux.org>
21902
21903 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
21904 test instead of failing in case of ENOENT returned by posix_openpt.
21905
401311cf
FW
219062018-01-08 Florian Weimer <fweimer@redhat.com>
21907
21908 resolv: Support binary labels in test framework.
21909 * support/resolv_test.c (struct to_be_freed): Remove.
21910 (struct compressed_name): New.
21911 (allocate_compressed_name, ascii_tolower)
21912 (compare_compressed_name): New functions.
21913 (struct resolv_response_builder): Update type of
21914 compression_offsets for use with tsearch. Rempve to_be_freed.
21915 (response_push_pointer_to_free): Remove function.
21916 (resolv_response_add_name): Rewrite using struct compressed_name
21917 and tsearch instead of hsearch_r.
21918 (response_builder_allocate): Remove initialization of
21919 compression_offsets.
21920 (response_builder_free): Update for removal of to_be_freed. Use
21921 tdestroy instead of hdestroy_r.
21922 * resolv/Makefile (tests): Add tst-resolv-binary.
21923 (tst-resolv-binary): Link with -lresolv -lpthread.
21924
2b3aa446
FW
219252018-01-08 Florian Weimer <fweimer@redhat.com>
21926
21927 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
21928 time. Pass positive flag instead of negative flag to
21929 support_test_compare_failure.
21930 (support_test_compare_failure): Change negative parameter to
21931 positive.
21932 * support/support_test_compare_failure.c (report)
21933 (support_test_compare_failure): Likewise.
21934 * support/tst-test_compare.c (return_ssize_t, return_int): New.
21935 (do_test): Check int/size_t, ssize_t/size_t comparisons.
21936
630f4cc3
SN
219372018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
21938
21939 [BZ #22637]
21940 * nptl/descr.h (stackblock, stackblock_size): Update comments.
21941 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
21942 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
21943 stacksize.
21944 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
21945
c70e4e9c
L
219462018-01-08 H.J. Lu <hongjiu.lu@intel.com>
21947
21948 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21949 Add s_sincosf-sse2 and s_sincosf-fma.
21950 (CFLAGS-s_sincosf-fma.c): New.
21951 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
21952 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
21953 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
21954 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
21955 __sincosf is defined.
21956
579396ee
FW
219572018-01-08 Florian Weimer <fweimer@redhat.com>
21958
21959 * nptl/tst-thread-exit-clobber.cc: New file.
21960 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
21961 C++11 mode.
21962 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
21963 (tests): Add tst-thread-exit-clobber.
21964 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
21965
dabd75b6
FW
219662018-01-08 Florian Weimer <fweimer@redhat.com>
21967
21968 * support/check.h (support_static_assert): Define.
21969 (TEST_COMPARE): Use it.
21970
c2e014cc
AJ
219712018-01-07 Aurelien Jarno <aurelien@aurel32.net>
21972
21973 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
21974 [!__RLIM_T_MATCHES_RLIM64_T]
21975 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
21976 __getrlimit64. Add libc_hidden_weak.
21977
31a98837
PD
219782018-01-06 Palmer Dabbelt <palmer@sifive.com>
21979
21980 * elf/elf.h (R_RISCV_NONE): New define.
21981 (R_RISCV_32): Likewise.
21982 (R_RISCV_64): Likewise.
21983 (R_RISCV_RELATIVE): Likewise.
21984 (R_RISCV_COPY): Likewise.
21985 (R_RISCV_JUMP_SLOT): Likewise.
21986 (R_RISCV_TLS_DTPMOD32): Likewise.
21987 (R_RISCV_TLS_DTPMOD64): Likewise.
21988 (R_RISCV_TLS_DTPREL32): Likewise.
21989 (R_RISCV_TLS_DTPREL64): Likewise.
21990 (R_RISCV_TLS_TPREL32): Likewise.
21991 (R_RISCV_TLS_TPREL64): Likewise.
00505532
PD
21992 * Makerules (make-link-multidir): Make directories before linking into
21993 them.
150bbac1
PD
21994 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
21995 define.
21996 (VDSO_HASH_LINUX_4_15): Likewise.
1598f3ad
PD
21997 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
21998 in subdirectories of lib.
8e13c51b
PD
21999 * nptl/Makefile (/librt.so): Always depend on
22000 "$(shared-thread-library)".
31a98837 22001
fad7d57e
ST
220022018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22003
22004 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
4a5ce6e9
ST
22005 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
22006 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
22007 (___tls_get_addr).
22008 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
107a35a5
ST
22009 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
22010 "-O2 -march=i686".
01c7e549 22011 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
f417d92c
ST
22012 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
22013 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
22014 * sysdeps/gnu/glob-lstat-compat.c: New file.
22015 * sysdeps/gnu/glob64-lstat-compat.c: New file.
200fc24b 22016 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
fad7d57e 22017
3a32b716
TMQMF
220182018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22019
22020 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
22021 Reserve 16 chars to reloc_addr before calling _itoa_word.
22022
24731685
AJ
220232018-01-05 Aurelien Jarno <aurelien@aurel32.net>
22024
22025 [BZ #22678]
22026 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
22027 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
22028
19be56d8
AJ
22029 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
22030 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
22031
a6d0afb5
AJ
22032 * resource/tst-getrlimit.c: Add copyright header.
22033
8e900969
AJ
220342018-01-05 Aurelien Jarno <aurelien@aurel32.net>
22035 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22036
22037 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
22038 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
22039 Define __GI_getrlimit64 as weak alias of __getrlimit64.
22040 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
22041 instead.
22042 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
22043 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
22044 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
22045 RLIM64_INFINITY): Fix values to match the kernel ones.
22046 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
22047 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
22048 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
22049 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
22050 getrlimit64@@GLIBC_2_27.
22051 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
22052 and setrlimit64.
22053 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
22054 getrlimit, setrlimit, getrlimit64 and setrlimit64.
22055 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
22056 setrlimit, getrlimit64 and setrlimit64.
22057
0d0bc784
AJ
220582018-01-05 Aurelien Jarno <aurelien@aurel32.net>
22059
22060 [BZ #22648]
22061 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
22062 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
22063
ba374b6d
JM
220642018-01-04 Joseph Myers <joseph@codesourcery.com>
22065
22066 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
22067 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
22068 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
22069
4854ddd8
AZ
220702018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22071
b0a4eca2
AZ
22072 [BZ #15479]
22073 [BZ #22666]
22074 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
22075 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
22076
4854ddd8
AZ
22077 [BZ #15479]
22078 [BZ #22665]
22079 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
22080 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
22081 * sysdeps/alpha/fpu/s_floor.c: Likewise.
22082 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
22083
8a5df95f
FW
220842018-01-04 Florian Weimer <fweimer@redhat.com>
22085
22086 [BZ #22667]
22087 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
22088 Align the stack before calling exit.
22089 * stdlib/tst-makecontext-align.c: New file.
22090 * stdlib/Makefile (tests): Add tst-makecontext-align.
22091
82eef55f
FW
220922018-01-04 Florian Weimer <fweimer@redhat.com>
22093
22094 Add support for calling dlvsym from libc.so.
22095 * include/dlfcn.h (__libc_dlvsym): Declare.
22096 * elf/Makefile (tests-static-internal): Add
22097 tst-libc_dlvsym-static.
22098 (tests-internal): Add tst-libc_dlvsym.
22099 (modules-names): Add tst-libc_dlvsym-dso.
22100 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
22101 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
22102 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
22103 object tst-libc_dlvsym-dso.so needs to be built before running
22104 these tests.
22105 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
22106 * elf/Versions: Export __libc_dlvsym.
22107 * elf/dl-libc.c (struct do_dlvsym_args): New.
22108 (do_dlvsym, __libc_dlvsym): New functions.
22109 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
22110 (_dl_open_hook2): New variable.
22111 (__libc_register_dl_open_hook): Set it.
22112 * elf/tst-libc_dlvsym-dso.c: New file.
22113 * elf/tst-libc_dlvsym-static.c: Likewise.
22114 * elf/tst-libc_dlvsym.c: Likewise.
22115 * elf/tst-libc_dlvsym.h: Likewise.
22116
1714fc06
ST
221172018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
22118
22119 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
22120 include <sys/mount.h>.
22121
3c7d0312
WD
221222018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
22123
22124 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
22125 Add __NO_MATH_ERRNO__ check.
22126
7eff0954
JM
221272018-01-02 Joseph Myers <joseph@codesourcery.com>
22128
22129 * sysdeps/mips/mips32/libm-test-ulps: Update.
22130 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22131
77f49956
FW
221322018-01-02 Florian Weimer <fweimer@redhat.com>
22133
22134 * misc/tst-pselect.c: Add copyright header.
22135
363e4519 221362018-01-02 Aurelien Jarno <aurelien@aurel32.net>
d35989be
AJ
22137
22138 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
22139 comment.
22140 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
22141 comment.
22142 (settrlimit): Rename into setrlimit.
22143 (__sttrlimit): Rename into __setrlimit.
22144
3e4226ff
AJ
22145 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
22146 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
22147 never defined in that case.
22148
b9256ab6
JM
221492018-01-02 Joseph Myers <joseph@codesourcery.com>
22150
28fd6a44
JM
22151 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
22152
a4933a15
JM
22153 * sysdeps/arm/libm-test-ulps: Update.
22154
b9256ab6
JM
22155 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
22156 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
22157
4cf82d23
RS
221582018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22159
22160 * NEWS: Add cosf and sincosf to list of optimized functions.
22161
6a9dd7a7
AJ
221622018-01-02 Aurelien Jarno <aurelien@aurel32.net>
22163
22164 [BZ #22660]
22165 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
22166 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
22167 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
22168 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
22169
dbba87d5
DL
221702018-01-01 Dmitry V. Levin <ldv@altlinux.org>
22171
b05cb613
DL
22172 [BZ #22433]
22173 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
22174
dbba87d5
DL
22175 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
22176 making a copy of it.
22177
688903eb
JM
221782018-01-01 Joseph Myers <joseph@codesourcery.com>
22179
66ac23de
JM
22180 * manual/texinfo.tex: Update to version 2017-12-26.21 with
22181 trailing whitespace removed.
22182 * scripts/config.guess: Update to version 2018-01-01.
22183 * scripts/config.sub: Update to version 2018-01-01.
22184 * scripts/move-if-change: Update from gnulib.
22185
09533208
JM
22186 * NEWS: Update copyright dates.
22187 * catgets/gencat.c (print_version): Likewise.
22188 * csu/version.c (banner): Likewise.
22189 * debug/catchsegv.sh: Likewise.
22190 * debug/pcprofiledump.c (print_version): Likewise.
22191 * debug/xtrace.sh (do_version): Likewise.
22192 * elf/ldconfig.c (print_version): Likewise.
22193 * elf/ldd.bash.in: Likewise.
22194 * elf/pldd.c (print_version): Likewise.
22195 * elf/sotruss.sh: Likewise.
22196 * elf/sprof.c (print_version): Likewise.
22197 * iconv/iconv_prog.c (print_version): Likewise.
22198 * iconv/iconvconfig.c (print_version): Likewise.
22199 * locale/programs/locale.c (print_version): Likewise.
22200 * locale/programs/localedef.c (print_version): Likewise.
22201 * login/programs/pt_chown.c (print_version): Likewise.
22202 * malloc/memusage.sh (do_version): Likewise.
22203 * malloc/memusagestat.c (print_version): Likewise.
22204 * malloc/mtrace.pl: Likewise.
22205 * manual/libc.texinfo: Likewise.
22206 * nptl/version.c (banner): Likewise.
22207 * nscd/nscd.c (print_version): Likewise.
22208 * nss/getent.c (print_version): Likewise.
22209 * nss/makedb.c (print_version): Likewise.
22210 * posix/getconf.c (main): Likewise.
22211 * scripts/test-installation.pl: Likewise.
22212 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
22213
688903eb
JM
22214 * All files with FSF copyright notices: Update copyright dates
22215 using scripts/update-copyrights.
22216 * locale/programs/charmap-kw.h: Regenerated.
22217 * locale/programs/locfile-kw.h: Likewise.
22218
4f820792
ZW
222192017-12-31 Zack Weinberg <zackw@panix.com>
22220
22221 * libio/bits/libio-ldbl.h: Correct check for improper
22222 inclusion. Add own multiple include guard.
22223
3e3c904d
AJ
222242017-12-30 Aurelien Jarno <aurelien@aurel32.net>
22225 Dmitry V. Levin <ldv@altlinux.org>
22226
22227 [BZ #22625]
31f96325 22228 CVE-2017-16997
3e3c904d
AJ
22229 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
22230 string token expansion. Check for NULL pointer or empty string possibly
22231 returned by expand_dynamic_string_token.
22232 (decompose_rpath): Check for empty path after dynamic string
22233 token expansion.
22234
7e21972b
DL
222352017-12-29 Dmitry V. Levin <ldv@altlinux.org>
22236
c48831d0
DL
22237 [BZ #22433]
22238 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
22239
ac583f50
DL
22240 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
22241 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
22242 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
22243 and PTRACE_SYSCALL.
22244 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
22245 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22246 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22247 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22248 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22249 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
22250
7e21972b
DL
22251 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
22252 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
22253 __ptrace_peeksiginfo_flags, ptrace): Move to ...
22254 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
22255 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22256 bits/ptrace-shared.h.
22257 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
22258 <bits/ptrace-shared.h>.
22259 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
22260 __ptrace_peeksiginfo_flags, ptrace): Remove.
22261 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22262 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22263 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22264 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22265 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
22266
72f29e3a
AJ
222672017-12-29 Aurelien Jarno <aurelien@aurel32.net>
22268
22269 [BZ #17804]
22270 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
22271 end of the loop. Improve comments.
22272
54e4efc2
AJ
222732017-12-29 Zack Weinberg <zackw@panix.com>
22274
22275 [BZ #22615]
22276 * manual/errno.texi (Checking for Errors): Explicitly say that errno
22277 might be set on success.
22278
f8aa69be
AJ
222792017-12-29 Aurelien Jarno <aurelien@aurel32.net>
22280
22281 [BZ #22611]
22282 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
22283 is unchanged on success.
22284
97f13188
DL
222852017-12-27 Dmitry V. Levin <ldv@altlinux.org>
22286
2bd86632
DL
22287 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
22288 updated.
22289 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
22290 expand_dynamic_string_token): Likewise.
22291 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
22292 is_path argument.
22293
1c36e1e6
DL
22294 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
22295 contains ':'.
22296
97f13188
DL
22297 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
22298 is set and name contains ':', and all code depending on these checks.
22299
48a8f832
ZW
223002017-12-24 Zack Weinberg <zackw@panix.com>
22301
22302 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
22303 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
22304 respectively.
22305 * libio/libio.h: Rename the original version of this file to
22306 libio/bits/libio.h. Error out if not included by stdio.h or the
22307 stub libio.h.
22308 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
22309 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
22310 if not included by bits/libio.h or the stub _G_config.h.
22311 * sysdeps/unix/sysv/linux/_G_config.h: Move to
22312 sysdeps/unix/sysv/linux/bits. Error out if not included by
22313 bits/libio.h or the stub _G_config.h.
22314 * libio/stdio.h: Include bits/libio.h, not libio.h.
22315 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
22316 well as libio.h and _G_config.h.
22317
22318 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
22319 * libio/strfile.h, stdio-common/vfscanf.c
22320 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
22321 Include stdio.h, not _G_config.h nor libio.h.
22322 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
22323 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
22324
22325 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
22326
a47ad79a
DL
223272017-12-23 Dmitry V. Levin <ldv@altlinux.org>
22328
22329 [BZ #22347]
22330 * stdlib/getrandom.c (getrandom): Fix comment.
22331 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
22332
363e4519 223332017-12-23 Aurelien Jarno <aurelien@aurel32.net>
e65a5644 22334
f5c558f3
AJ
22335 [BZ #21161]
22336 * manual/arith.texi (strtoul): Fix a typo.
22337
e65a5644
AJ
22338 [BZ #22596]
22339 * manual/arith.texi (finite): Fix the description of the return
22340 value.
22341
ed8ae46b
EB
223422017-12-22 Eric Blake <ebb9@byu.net>
22343
22344 Avoid gcc warnings on cygwin
22345 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
22346 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
22347 Avoid unused variable.
22348
bad7a0c8
FW
223492017-12-22 Florian Weimer <fweimer@redhat.com>
22350
22351 * io/Makefile (routines): Add copy_file_range.
22352 (tests): Add tst-copy_file_range.
22353 (tests-static, tests-internal): Add tst-copy_file_range-compat.
22354 * io/Versions (GLIBC_2.27): Export copy_file_range.
22355 * io/copy_file_range-compat.c: New file.
22356 * io/copy_file_range.c: Likewise.
22357 * io/tst-copy_file_range-compat.c: Likewise.
22358 * io/tst-copy_file_range.c: Likewise.
22359 * manual/llio.texi (Copying File Data): New section.
22360 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
22361 * support/Makefile (libsupport-routines): Add support-xfstat,
22362 xftruncate, xlseek.
22363 * support/support-xfstat.c: New file.
22364 * support/xftruncate.c: Likewise.
22365 * support/xlseek.c: Likewise.
22366 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
22367 * sysdeps/unix/sysv/linux/**.abilist: Update.
22368 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
22369
6cb86fd2
SN
223702017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
22371
22372 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22373 disable-multi-arch variant to aarch64-linux-gnu.
22374
41d11b15
JM
223752017-12-20 Joseph Myers <joseph@codesourcery.com>
22376
22377 * manual/texinfo.tex: Update to version 2017-12-18.20 with
22378 trailing whitespace removed.
22379 * scripts/config.guess: Update to version 2017-12-17.
22380 * scripts/config.sub: Update to version 2017-11-23.
22381 * scripts/install-sh: Update to version 2017-09-23.17.
22382 * scripts/move-if-change: Update to version 2017-09-13 06:45.
22383
4735850f
AZ
223842017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22385
8d2d239c
AZ
22386 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
22387 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
22388 * sysdeps/tile/_mcount.S (__mcount): Likewise.
22389 * sysdeps/tile/crti.S (_init, _fini): Likewise.
22390 * sysdeps/tile/crtn.S: Likewise.
22391 * sysdeps/tile/dl-start.S (_start): Likewise.
22392 * sysdeps/tile/dl-trampoline.S: Likewise.
22393 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
22394 * sysdeps/tile/start.S (_start): Likewise.
22395 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
22396 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
22397 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
22398 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
22399 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
22400 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
22401 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
22402
24d1d8ec
AZ
22403 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
22404 comment.
22405 * sysdeps/tile/preconfigure: Remove tilegx folder.
22406 * sysdeps/tile/tilegx/Implies: Move definitions to ...
22407 * sysdeps/tile/Implies: ... here.
22408 * sysdeps/tile/tilegx/Makefile: Move rules to ...
22409 * sysdeps/tile/Makefile: ... here.
22410 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
22411 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
22412 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
22413 * sysdeps/tile/bits/wordsize.h: ... here.
22414 * sysdeps/tile/tilegx/*: Move to ...
22415 * sysdeps/tile/*: ... here.
22416 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
22417 * sysdeps/tile/tilegx32/Implies: ... here.
22418 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
22419 * sysdeps/tile/tilegx64/Implies: ... here.
22420 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
22421 to ...
22422 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
22423 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
22424 * sysdeps/unix/sysv/linux/tile/*: ... here.
22425 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
22426 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
22427 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
22428 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
22429
ed95f611
AZ
22430 * README: Remove tilepro-*-linux-gnu from supported architecture.
22431 * scripts/build-many-glibcs.py: Likewise.
22432 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
22433 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
22434 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
22435 elf_machine_matches_host, elf_machine_dynamic,
22436 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
22437 howto, elf_machine_rela): Likewise.
22438 * sysdeps/tile/dl-start.S (_start): Likewise.
22439 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
22440 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
22441 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
22442 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
22443 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
22444 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
22445 Likewise.
22446 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
22447 * sysdeps/tile/preconfigure: Likewise.
22448 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
22449 POINTER_CHK_GUARD): Likewise.
22450 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
22451 * sysdeps/tile/start.S (_start): Likewise.
22452 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
22453 Likewise.
22454 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
22455 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
22456 CMOVNEZ): Remove.
22457 * sysdeps/unix/sysv/linux/tile/bits/environments.h
22458 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
22459 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
22460 Likewise.
22461 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
22462 * sysdeps/tile/tilepro/Implies: Remove file.
22463 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
22464 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
22465 * sysdeps/tile/tilepro/memchr.c: Likewise.
22466 * sysdeps/tile/tilepro/memcpy.S: Likewise.
22467 * sysdeps/tile/tilepro/memset.c: Likewise.
22468 * sysdeps/tile/tilepro/memusage.h: Likewise.
22469 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
22470 * sysdeps/tile/tilepro/strchr.c: Likewise.
22471 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
22472 * sysdeps/tile/tilepro/strlen.c: Likewise.
22473 * sysdeps/tile/tilepro/strrchr.c: Likewise.
22474 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
22475 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
22476 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
22477 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
22478 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
22479 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
22480 Likewise.
22481 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
22482 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22483 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
22484 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
22485 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22486 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
22487 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
22488 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
22489 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
22490 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
22491 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
22492 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
22493 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
22494 tilepro mention in comment.
22495
4735850f
AZ
22496 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
22497 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
22498 * nptl/pthread_join_common.c: New file: common function used on
22499 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
22500 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
22501 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
22502 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
22503 (cleanup): Move definition to pthread_join_common.c.
22504 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
22505 Remove superflous checks.
22506 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
22507 Likewise.
22508
8bfb461e
SN
225092017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
22510
22511 * sysdeps/aarch64/libm-test-ulps: Update.
22512
4e001969
AZ
225132017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22514
22515 * sysdeps/aarch64/memset.S (MEMSET): Define.
22516
8a26ad2a
FW
225172017-12-20 Florian Weimer <fweimer@redhat.com>
22518
22519 [BZ #22635]
22520 nptl: Provide full implementation of pthread_self in libc.so.
22521 * nptl/Makefile (routines): Add pthread_self.
22522 (libpthread-routines): Replace pthread_self with
22523 compat-pthread_self.
22524 * nptl/forward.c (pthread_self): Remove.
22525 * nptl/nptl-init.c (pthread_functions): Do not initialize
22526 ptr_pthread_self.
22527 * nptl/pthread_self.c (pthread_self): Remove weak alias.
22528 * nptl/compat-pthread_self.c: New file.
22529 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
22530 Remove ptr_pthread_self.
22531
5069ff32
AR
225322017-12-19 Arnold D. Robbins <arnold@skeeve.com>
22533
22534 * posix/regcomp.c: Fix spelling in comments.
22535 * posix/regex.h: Likewise.
22536 * posix/regex_internal.c: Likewise.
22537 * posix/regexec.c: Likewise.
22538
c85e54ac
GG
225392017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
22540
22541 [BZ #22377]
22542 * math/Makefile [C++] (tests): Add test for iseqsig.
22543 * math/math.h [C++] (iseqsig): New implementation, which does
22544 not rely on __MATH_TG/__builtin_types_compatible_p.
22545 * math/test-math-iseqsig.cc: New file.
22546 * sysdeps/powerpc/powerpc64le/Makefile
22547 (CFLAGS-test-math-iseqsig.cc): New variable.
22548
10e93d96
DL
225492017-12-19 Dmitry V. Levin <ldv@altlinux.org>
22550
22551 * elf/dl-load.c (is_trusted_path): Remove.
22552 (fillin_rpath): Remove check_trusted argument and its use,
22553 all callers changed.
22554
ce16eb52
L
225552017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22556
22557 [BZ #22630]
22558 * Makeconfig (link-pie-before-libc): Replace -pie with
22559 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
22560 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
22561 (tst-dlopen-aout-no-pie): New.
22562 (LDFLAGS-tst-prelink): Removed.
22563 (tst-prelink-no-pie): New.
22564 (LDFLAGS-tst-main1): Removed.
22565 (tst-main1-no-pie): New.
22566 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
22567 (tst-gmon-no-pie): New.
22568
126adc89
L
225692017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22570
22571 * manual/install.texi: Document that --enable-static-pie
22572 implies PIE.
22573 * INSTALL: Regenerated.
22574
648615e1
BE
225752017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
22576
22577 [BZ #21309]
22578 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
22579 unsigned.
22580
f1e00502
JM
225812017-12-19 Joseph Myers <joseph@codesourcery.com>
22582
22583 Revert:
22584
22585 2017-12-19 Joseph Myers <joseph@codesourcery.com>
22586
22587 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22588
22589 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22590
22591 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
22592 <errno.h>. Include "eexp.tbl".
22593 (half): New constant.
22594 (one): Likewise.
22595 (__ieee754_exp): Rewrite.
22596 (__slowexp): Remove prototype.
22597 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
22598 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
22599 * sysdeps/i386/fpu/slowexp.c: Likewise.
22600 * sysdeps/ia64/fpu/slowexp.c: Likewise.
22601 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
22602 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
22603 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
22604 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22605 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
22606 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
22607 comment.
22608 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
22609 (CPPFLAGS-slowexp.c): Remove variable.
22610 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22611 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
22612 (CFLAGS-slowexp-fma.c): Remove variable.
22613 (CFLAGS-slowexp-fma4.c): Likewise.
22614 (CFLAGS-slowexp-avx.c): Likewise.
22615 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
22616 define as macro.
22617 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
22618 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
22619 * math/Makefile (type-double-routines): Remove slowexp.
22620 * manual/probes.texi (slowexp_p6): Remove.
22621 (slowexp_p32): Likewise.
22622
d711a00f
AZ
226232017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22624
e184ac3a
AZ
22625 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
22626 arithmetic.
22627
d711a00f
AZ
22628 * lib/glob.c (glob): Do not pass NULL to mempcpy.
22629
6f58c10d
JM
226302017-12-19 Joseph Myers <joseph@codesourcery.com>
22631
22632 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22633
6fd0a3c6
PM
226342017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22635
22636 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
22637 <errno.h>. Include "eexp.tbl".
22638 (half): New constant.
22639 (one): Likewise.
22640 (__ieee754_exp): Rewrite.
22641 (__slowexp): Remove prototype.
22642 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
22643 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
22644 * sysdeps/i386/fpu/slowexp.c: Likewise.
22645 * sysdeps/ia64/fpu/slowexp.c: Likewise.
22646 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
22647 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
22648 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
22649 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22650 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
22651 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
22652 comment.
22653 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
22654 (CPPFLAGS-slowexp.c): Remove variable.
22655 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22656 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
22657 (CFLAGS-slowexp-fma.c): Remove variable.
22658 (CFLAGS-slowexp-fma4.c): Likewise.
22659 (CFLAGS-slowexp-avx.c): Likewise.
22660 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
22661 define as macro.
22662 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
22663 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
22664 * math/Makefile (type-double-routines): Remove slowexp.
22665 * manual/probes.texi (slowexp_p6): Remove.
22666 (slowexp_p32): Likewise.
22667
3bb1ef58 226682017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6b5c8607 22669 James Clarke <jrtc27@jrtc27.com>
3bb1ef58
AZ
22670
22671 [BZ #22603]
22672 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
22673 addition.
22674
554e3d51
AZ
226752017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22676
22677 [BZ #22605]
22678 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
22679 code.
22680
cba595c3
L
226812017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22682
22683 [BZ #22563]
22684 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22685 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
22686 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22687 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
22688 to feature_1.
22689
f81ddabf
L
226902017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22691
22692 [BZ #22563]
22693 * bits/types/__cancel_jmp_buf_tag.h: New file.
22694 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
22695 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
22696 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
22697 * nptl/Makefile (headers): Add
22698 bits/types/__cancel_jmp_buf_tag.h.
22699 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
22700 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
22701 * sysdeps/nptl/pthread.h: Include
22702 <bits/types/__cancel_jmp_buf_tag.h>.
22703 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
22704 __cancel_jmp_buf.
22705 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
22706
1a49fc59
L
227072017-12-18 H.J. Lu <hongjiu.lu@intel.com>
22708
22709 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22710 --enable-static-pie variants to x86_64, x32 and i686.
22711
8e52f573
JM
227122017-12-19 Joseph Myers <joseph@codesourcery.com>
22713
66425185
JM
22714 [BZ #22631]
22715 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
22716 argument for attrubutes. All callers changed.
22717 (__inline_mathop1): Likewise. All callers changed.
22718 (__inline_mathop): Likewise. All callers changed.
22719 [__USE_MISC] (scalbn): Use __inline_forward instead of
22720 __inline_forward_c.
22721 [__USE_ISOC99] (scalbln): Likewise.
22722 [__USE_ISOC99] (nearbyint): Likewise.
22723 [__USE_ISOC99] (lrint): Likewise.
22724 [__USE_MISC] (scalbnf): Likewise.
22725 [__USE_ISOC99] (scalblnf): Likewise.
22726 [__USE_ISOC99] (nearbyintf): Likewise.
22727 [__USE_ISOC99] (lrintf): Likewise.
22728 [__USE_MISC] (scalbnl): Likewise.
22729 [__USE_ISOC99] (scalblnl): Likewise.
22730 [__USE_ISOC99] (nearbyintl): Likewise.
22731 [__USE_ISOC99] (lrintl): Likewise.
22732 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
22733 __inline_mathop and __m81_defun changed.
22734
8e52f573
JM
22735 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
22736 CPU or FPU for ARM hard-float configurations.
22737
1421f39b
JM
227382017-12-18 Joseph Myers <joseph@codesourcery.com>
22739
40c4162d
JM
22740 * nptl/tst-attr3.c: Include <libc-diag.h>.
22741 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
22742
5983df32
JM
22743 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
22744
1421f39b
JM
22745 * string/tester.c (test_strncat): Also disable -Warray-bounds
22746 warnings for two tests.
22747
00c714df
L
227482017-12-18 H.J. Lu <hongjiu.lu@intel.com>
22749
22750 [BZ #22614]
22751 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
22752 $(cc-pie-default) == yes.
22753 * config.make.in (cc-pie-default): New.
22754 * configure.ac (libc_cv_pie_default): Renamed to ...
22755 (libc_cv_cc_pie_default): This.
22756 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
22757 * configure: Regenerated.
22758
8e1472d2
FW
227592017-12-18 Florian Weimer <fweimer@redhat.com>
22760
22761 [BZ #20204]
22762 ld.so: Harden dl-libc/libdl hooks.
22763 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
22764 (rtld_active): New function.
22765 * dlfcn/dladdr.c (__dladdr): Call it.
22766 * dlfcn/dladdr1.c (__dladdr1): Likewise.
22767 * dlfcn/dlclose.c (__dlcose): Likewise.
22768 * dlfcn/dlerror.c (__dlerror): Likewise.
22769 * dlfcn/dlinfo.c (__dlinfo): Likewise.
22770 * dlfcn/dlmopen.c (__dlmopen): Likewise.
22771 * dlfcn/dlopen.c (__dlopen): Likewise.
22772 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
22773 * dlfcn/dlsym.c (__dlsym): Likewise.
22774 * dlfcn/dlvsym.c (__dlvsym): Likewise.
22775 * libio/vtables.c (_IO_vtable_check): Likewise.
22776 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
22777 (__libc_dlclose): Likewise.
22778 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
22779 assignment.
22780
49b036bc
JM
227812017-12-18 Joseph Myers <joseph@codesourcery.com>
22782
22783 [BZ #22446]
22784 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
22785 buffers for readlink input and output.
22786
368b6c8d
ST
227872017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
22788
c85c564d
ST
22789 [BZ #22624]
22790 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
22791 inhibit_stack_protector.
22792
368b6c8d
ST
22793 [BZ #22624]
22794 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
22795 inhibit_stack_protector.
22796
bb195224
DL
227972017-12-18 Dmitry V. Levin <ldv@altlinux.org>
22798
22799 [BZ #22627]
22800 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
22801 code and invocation.
22802
14d886ed
SN
228032017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
22804
22805 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
22806
7d38eb38
AJ
228072017-12-16 Aurelien Jarno <aurelien@aurel32.net>
22808
22809 [BZ #22505]
22810 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
22811
2e77deef
RS
228122017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22813
22814 * sysdeps/s390/fpu/libm-test-ulps: Update.
22815
0b9bef6d
RS
228162017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22817
22818 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22819
984ae996
RS
228202017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22821
22822 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
22823 constants to s_sincosf.h file.
22824 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22825 * sysdeps/ieee754/flt-32/s_sincosf.c: New
22826 implementation.
22827 * sysdeps/ieee754/flt-32/s_sincosf.h:
22828 New file.
22829
363e4519 228302017-12-12 Carlos O'Donell <carlos@redhat.com>
93930ea9
CD
22831
22832 [BZ #14681]
22833 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
22834 before mtrace.
22835
9d7a3741
L
228362017-12-15 H.J. Lu <hongjiu.lu@intel.com>
22837
22838 [BZ #19574]
22839 * INSTALL: Regenerated.
22840 * Makeconfig (real-static-start-installed-name): New.
22841 (pic-default): Updated for --enable-static-pie.
22842 (pie-default): New for --enable-static-pie.
22843 (default-pie-ldflag): Likewise.
22844 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
22845 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
22846 Replace $(static-start-installed-name) with
22847 $(real-static-start-installed-name).
22848 (+prectorT): Updated for --enable-static-pie.
22849 (+postctorT): Likewise.
22850 (CFLAGS-.o): Add $(pie-default).
22851 (CFLAGS-.op): Likewise.
22852 * NEWS: Mention --enable-static-pie.
22853 * config.h.in (ENABLE_STATIC_PIE): New.
22854 * configure.ac (--enable-static-pie): New configure option.
22855 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
22856 (have-static-pie): Likewise.
22857 Enable static PIE if linker supports --no-dynamic-linker.
22858 (ENABLE_STATIC_PIE): New AC_DEFINE.
22859 (enable-static-pie): New LIBC_CONFIG_VAR.
22860 * configure: Regenerated.
22861 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
22862 gr$(start-installed-name) for --enable-static-pie.
22863 (extra-objs): Likewise.
22864 (install-lib): Likewise.
22865 (extra-objs): Add static-reloc.o and static-reloc.os
22866 ($(objpfx)$(start-installed-name)): Also depend on
22867 $(objpfx)static-reloc.o.
22868 ($(objpfx)r$(start-installed-name)): New.
22869 ($(objpfx)g$(start-installed-name)): Also depend on
22870 $(objpfx)static-reloc.os.
22871 ($(objpfx)gr$(start-installed-name)): New.
22872 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
22873 in libc.a.
22874 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
22875 initimage.
22876 * csu/static-reloc.c: New file.
22877 * elf/Makefile (routines): Add dl-reloc-static-pie.
22878 (elide-routines.os): Likewise.
22879 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
22880 (tst-tls1-static-non-pie-no-pie): New.
22881 * elf/dl-reloc-static-pie.c: New file.
22882 * elf/dl-support.c (_dl_get_dl_main_map): New function.
22883 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
22884 STATIC_PIE_BOOTSTRAP.
22885 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
22886 * gmon/Makefile (tests): Add tst-gmon-static-pie.
22887 (tests-static): Likewise.
22888 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
22889 (tst-gmon-static-no-pie): New.
22890 (CFLAGS-tst-gmon-static-pie.c): Likewise.
22891 (CRT-tst-gmon-static-pie): Likewise.
22892 (tst-gmon-static-pie-ENV): Likewise.
22893 (tests-special): Likewise.
22894 ($(objpfx)tst-gmon-static-pie.out): Likewise.
22895 (clean-tst-gmon-static-pie-data): Likewise.
22896 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
22897 * gmon/tst-gmon-static-pie.c: New file.
22898 * manual/install.texi: Document --enable-static-pie.
22899 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
22900 (_dl_get_dl_main_map): Likewise.
22901 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
22902 * sysdeps/x86_64/configure.ac: Likewise.
22903 * sysdeps/i386/configure: Regenerated.
22904 * sysdeps/x86_64/configure: Likewise.
22905 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
22906 (ASFLAGS-.op): Likewise.
22907
95511aab
JM
229082017-12-15 Joseph Myers <joseph@codesourcery.com>
22909
22910 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
22911 * posix/tst-mmap-offset.c (fname): Use /tmp.
22912 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
22913
a7e3edf4
SE
229142017-12-15 Steve Ellcey <sellcey@cavium.com>
22915
22916 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
22917
d232f2e1
TS
229182017-12-15 Thomas Schwinge <thomas@codesourcery.com>
22919
22920 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
22921 errno.
22922
174edbde
JM
229232017-12-15 Joseph Myers <joseph@codesourcery.com>
22924
5170fa49
JM
22925 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
22926 --with-float=hard for arm-linux-gnueabihf configurations.
22927
f2da2fd8
JM
22928 [BZ #14121]
22929 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
22930 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
22931 ($(mo-installed)): Use $(objpfx)%.mo.
22932 (realclean): Remove rule.
22933
0c4fe28d
JM
22934 * po/Makefile (linguas): Remove rule and dependencies.
22935 (linguas.mo): Likewise.
22936 (.PHONY): Do not depend on linguas and linguas.mo.
22937 (podir): Remove variable.
22938 (pofiles): Likewise.
22939 [$(pofiles)] (%.po): Remove rule.
22940
174edbde
JM
22941 * sysdeps/sparc/sparc32/Makefile
22942 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
22943 start-of-line whitespace in argument of echo.
22944 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
22945 with whitespace. Generate __wrap_.udiv alias.
22946 * sysdeps/sparc/sparc32/rem.S: Regenerated.
22947 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
22948 * sysdeps/sparc/sparc32/udiv.S: Likewise.
22949 * sysdeps/sparc/sparc32/urem.S: Likewise.
22950
1e36806f
RS
229512017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22952
22953 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
22954 for aligned inputs.
22955
aa6932aa
SP
229562017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
22957
5f1603c3
SP
22958 * benchtests/bench-strcmp.c: Print output in JSON format.
22959
aa6932aa
SP
22960 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
22961
3ff3dfa5
FW
229622017-12-14 Florian Weimer <fweimer@redhat.com>
22963
22964 [BZ #22607]
22965 CVE-2017-1000409
22966 * elf/dl-load.c (_dl_init_paths): Compute number of components in
22967 the expanded path string.
22968
8a0b17e4
FW
229692017-12-14 Florian Weimer <fweimer@redhat.com>
22970
22971 [BZ #22606]
22972 CVE-2017-1000408
22973 * elf/dl-load.c (system_dirs): Update comment.
22974 (nsystem_dirs_len): Use array_length.
22975 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
22976
f58bd7f0
FW
229772017-12-14 Florian Weimer <fweimer@redhat.com>
22978
22979 Simplify compiling most of support/ outside of glibc.
22980 * support/check_addrinfo.c: Include <string.h>.
22981 * support/check_dns_packet.c: Likewise.
22982 * support/check_hostent.c: Likewise.
22983 * support/support_can_chroot.c: Include <support/xunistd.h>.
22984 * support/support_format_addrinfo.c: Include <stdlib.h>
22985 * support/support_format_dns_packet.c: Include <stdbool.h>.
22986 * support/support_format_hostent.c: Include <stdlib.h>.
22987 * support/support_format_netent.c: Likewise.
22988 * support/support_write_string.c: Include <support/xunistd.h>.
22989 * support/xdlfcn.c: Include <stddef.h>.
22990
4ca945e9
L
229912017-12-14 H.J. Lu <hongjiu.lu@intel.com>
22992
22993 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
22994
1b6e07f8
PM
229952017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22996 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22997
e6a1c5dc
PM
22998 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22999 (sysdeps_routines): Add memset-niagara7.
23000 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
23001 Likewise.
23002 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
23003 file.
23004 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
23005 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
23006 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
23007 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
23008 Add niagara7 option.
23009 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
23010 memset.
23011
1b6e07f8
PM
23012 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23013 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
23014 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
23015 Likewise.
23016 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
23017 New file.
23018 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
23019 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
23020 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
23021 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
23022 and __memmove_niagara7.
23023 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
23024 Add niagara7 option.
23025 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
23026 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
23027 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
23028 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
23029 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
23030
bfb7bf22
JM
230312017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
23032
767a26d6
JM
23033 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
23034 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
23035 * sysdeps/sparc/sparc64/memmove.S: Likewise.
23036 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
23037
bfb7bf22
JM
23038 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
23039 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
23040 _dl_sparc_cap_flags array.
23041 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
23042
2bce01eb
SP
230432017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
23044
23045 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
23046 time whenever possible.
23047
363e4519 230482017-12-12 Carlos O'Donell <carlos@redhat.com>
243b6333
CD
23049
23050 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
23051 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
23052
6f7c0092
JM
230532017-12-12 Joseph Myers <joseph@codesourcery.com>
23054
23055 * soft-fp/fmadf4.c: Move to ....
23056 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
23057 * soft-fp/fmasf4.c: Move to ....
23058 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
23059 * soft-fp/fmatf4.c: Move to ....
23060 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
23061 * sysdeps/ieee754/soft-fp/Makefile: New file.
23062 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
23063 * sysdeps/arm/preconfigure: Regenerated.
23064 * sysdeps/arm/nofpu/Implies: New file.
23065 * sysdeps/arm/s_fma.c: Remove file.
23066 * sysdeps/arm/s_fmaf.c: Likewise.
23067 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
23068 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
23069 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
23070 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
23071 * sysdeps/microblaze/s_fma.c: Remove file.
23072 * sysdeps/microblaze/s_fmaf.c: Likewise.
23073 * sysdeps/mips/mips32/nofpu/Implies: New file.
23074 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
23075 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
23076 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
23077 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
23078 * sysdeps/mips/ieee754/s_fma.c: Remove file.
23079 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
23080 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
23081 implementation.
23082 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
23083 * sysdeps/nios2/s_fma.c: Remove file.
23084 * sysdeps/nios2/s_fmaf.c: Likewise.
23085 * sysdeps/sh/nofpu/Implies: New file.
23086 * sysdeps/sh/s_fma.c: Remove file.
23087 * sysdeps/sh/s_fmaf.c: Likewise.
23088 * sysdeps/tile/Implies: Add ieee754/soft-fp.
23089 * sysdeps/tile/s_fma.c: Remove file.
23090 * sysdeps/tile/s_fmaf.c: Likewise.
23091
ac817e08
L
230922017-12-12 H.J. Lu <hongjiu.lu@intel.com>
23093
23094 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23095 Add s_cosf-sse2 and s_cosf-fma.
23096 (CFLAGS-s_cosf-fma.c): New.
23097 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
23098 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
23099 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
23100
eb428576
SE
231012017-12-12 Steve Ellcey <sellcey@cavium.com>
23102
23103 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
23104
c80acdc3
AZ
231052017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23106
cc683f7e
AZ
23107 * libio/Makefile (tests): Add tst-bz22415.
23108 (tst-bz22415-ENV): New rule.
23109 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
23110 (tests-special): Add tst-bz22415-mem.out.
23111 ($(objpfx)tst-bz22415-mem.out): New rule.
23112 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
23113 in case of a successful seek operation.
23114 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23115 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
23116 buffer is required.
23117 * libio/tst-bz22415.c: New test.
23118
c80acdc3
AZ
23119 * sysdeps/ia64/fpu/libm-test-ulps: Update.
23120
363e4519 231212017-12-12 James Clarke <jrtc27@jrtc27.com>
89bd8016
JC
23122
23123 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
23124 __IPC_64 to 0 to avoid IPC_64 being set.
23125
4e0dca54
SN
231262017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
23127
23128 [BZ #22593]
23129 * math/bits/mathcalls.h (nextafter): Remove const.
23130 (nexttoward): Likewise.
23131
8df5d347
JM
231322017-12-12 Joseph Myers <joseph@codesourcery.com>
23133
23134 * configure.ac (--with-fp): Remove configure option.
23135 (with_fp_cond): New variable.
23136 (libc_cv_with_fp): New configure test. Use this variable instead
23137 of with_fp.
23138 * configure: Regenerated.
23139 * config.make.in (with-fp): Use @libc_cv_with_fp@.
23140 * manual/install.texi (Configuring and compiling): Remove
23141 --without-fp.
23142 * INSTALL: Regenerated.
23143 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
23144 * sysdeps/mips/preconfigure (with_fp_cond): Define.
23145 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
23146 * sysdeps/sh/preconfigure (with_fp_cond): Define.
23147 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
23148 use --without-fp to configure glibc.
23149
0cee1257
RJ
231502017-12-12 Rical Jasan <ricaljasan@pacific.net>
23151
23152 * manual/locale.texi (nl_langinfo): Fix a typo.
23153
363e4519 231542017-12-12 Aurelien Jarno <aurelien@aurel32.net>
f54ad2f9
AJ
23155
23156 [BZ #22588]
23157 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
23158
36975e8e
L
231592017-12-11 H.J. Lu <hongjiu.lu@intel.com>
23160
23161 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
23162 (CFLAGS-argp-parse.c): Likewise.
23163 (CFLAGS-argp-fmtstream.c): Likewise.
23164 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
23165 (CPPFLAGS-sha512-crypt.c): Likewise.
23166 (CPPFLAGS-md5-crypt.c): Likewise.
23167 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
23168 (CFLAGS-stack_chk_fail_local.c): Likewise.
23169 (CFLAGS-backtrace.c): Likewise.
23170 (CFLAGS-sprintf_chk.c): Likewise.
23171 (CFLAGS-snprintf_chk.c): Likewise.
23172 (CFLAGS-vsprintf_chk.c): Likewise.
23173 (CFLAGS-vsnprintf_chk.c): Likewise.
23174 (CFLAGS-asprintf_chk.c): Likewise.
23175 (CFLAGS-vasprintf_chk.c): Likewise.
23176 (CFLAGS-obprintf_chk.c): Likewise.
23177 (CFLAGS-dprintf_chk.c): Likewise.
23178 (CFLAGS-vdprintf_chk.c): Likewise.
23179 (CFLAGS-printf_chk.c): Likewise.
23180 (CFLAGS-fprintf_chk.c): Likewise.
23181 (CFLAGS-vprintf_chk.c): Likewise.
23182 (CFLAGS-vfprintf_chk.c): Likewise.
23183 (CFLAGS-gets_chk.c): Likewise.
23184 (CFLAGS-fgets_chk.c): Likewise.
23185 (CFLAGS-fgets_u_chk.c): Likewise.
23186 (CFLAGS-fread_chk.c): Likewise.
23187 (CFLAGS-fread_u_chk.c): Likewise.
23188 (CFLAGS-swprintf_chk.c): Likewise.
23189 (CFLAGS-vswprintf_chk.c): Likewise.
23190 (CFLAGS-wprintf_chk.c): Likewise.
23191 (CFLAGS-fwprintf_chk.c): Likewise.
23192 (CFLAGS-vwprintf_chk.c): Likewise.
23193 (CFLAGS-vfwprintf_chk.c): Likewise.
23194 (CFLAGS-fgetws_chk.c): Likewise.
23195 (CFLAGS-fgetws_u_chk.c): Likewise.
23196 (CFLAGS-read_chk.c): Likewise.
23197 (CFLAGS-pread_chk.c): Likewise.
23198 (CFLAGS-pread64_chk.c): Likewise.
23199 (CFLAGS-recv_chk.c): Likewise.
23200 (CFLAGS-recvfrom_chk.c): Likewise.
23201 (CFLAGS-tst-longjmp_chk.c): Likewise.
23202 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
23203 (CFLAGS-tst-longjmp_chk2.c): Likewise.
23204 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
23205 (CFLAGS-tst-longjmp_chk3.c): Likewise.
23206 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
23207 (CFLAGS-tst-chk1.c): Likewise.
23208 (CFLAGS-tst-chk2.c): Likewise.
23209 (CFLAGS-tst-chk3.c): Likewise.
23210 (CFLAGS-tst-chk4.cc): Likewise.
23211 (CFLAGS-tst-chk5.cc): Likewise.
23212 (CFLAGS-tst-chk6.cc): Likewise.
23213 (CFLAGS-tst-lfschk1.c): Likewise.
23214 (CFLAGS-tst-lfschk2.c): Likewise.
23215 (CFLAGS-tst-lfschk3.c): Likewise.
23216 (CFLAGS-tst-lfschk4.cc): Likewise.
23217 (CFLAGS-tst-lfschk5.cc): Likewise.
23218 (CFLAGS-tst-lfschk6.cc): Likewise.
23219 (CFLAGS-tst-ssp-1.c): Likewise.
23220 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
23221 (CFLAGS-scandir64.c): Likewise.
23222 (CFLAGS-scandir-tail.c): Likewise.
23223 (CFLAGS-scandir64-tail.c): Likewise.
23224 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
23225 (CFLAGS-dl-tunables.c): Likewise.
23226 (CFLAGS-dl-runtime.c): Likewise.
23227 (CFLAGS-dl-lookup.c): Likewise.
23228 (CFLAGS-dl-iterate-phdr.c): Likewise.
23229 (CFLAGS-vismain.c): Likewise.
23230 (CFLAGS-tst-linkall-static.c): Likewise.
23231 (CFLAGS-tst-linkall-static.c): Likewise.
23232 (CPPFLAGS-dl-load.c): Likewise.
23233 (CFLAGS-ldconfig.c): Likewise.
23234 (CFLAGS-dl-cache.c): Likewise.
23235 (CFLAGS-cache.c): Likewise.
23236 (CFLAGS-rtld.c): Likewise.
23237 (CFLAGS-multiload.c): Likewise.
23238 (CFLAGS-filtmod1.c): Likewise.
23239 (CFLAGS-tst-align.c): Likewise.
23240 (CFLAGS-tst-align2.c): Likewise.
23241 (CFLAGS-tst-alignmod.c): Likewise.
23242 (CFLAGS-tst-alignmod2.c): Likewise.
23243 (CPPFLAGS-tst-execstack.c): Likewise.
23244 (CFLAGS-tst-ptrguard1-static.c): Likewise.
23245 (CFLAGS-tst-latepthreadmod.c): Likewise.
23246 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
23247 (CFLAGS-getgrnam_r.c): Likewise.
23248 (CFLAGS-getgrent_r.c): Likewise.
23249 (CFLAGS-getgrent.c): Likewise.
23250 (CFLAGS-fgetgrent.c): Likewise.
23251 (CFLAGS-fgetgrent_r.c): Likewise.
23252 (CFLAGS-putgrent.c): Likewise.
23253 (CFLAGS-initgroups.c): Likewise.
23254 (CFLAGS-getgrgid.c): Likewise.
23255 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
23256 (CFLAGS-getsgent.c): Likewise.
23257 (CFLAGS-fgetsgent.c): Likewise.
23258 (CFLAGS-fgetsgent_r.c): Likewise.
23259 (CFLAGS-putsgent.c): Likewise.
23260 (CFLAGS-getsgnam.c): Likewise.
23261 (CFLAGS-getsgnam_r.c): Likewise.
23262 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
23263 (CFLAGS-iconv_charmap.c): Likewise.
23264 (CFLAGS-dummy-repertoire.c): Likewise.
23265 (CFLAGS-charmap.c): Likewise.
23266 (CFLAGS-linereader.c): Likewise.
23267 (CFLAGS-simple-hash.c): Likewise.
23268 (CFLAGS-gconv_conf.c): Likewise.
23269 (CFLAGS-iconvconfig.c): Likewise.
23270 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
23271 (CFLAGS-gethstbyad.c): Likewise.
23272 (CFLAGS-gethstbynm_r.c): Likewise.
23273 (CFLAGS-gethstbynm.c): Likewise.
23274 (CFLAGS-gethstbynm2_r.c): Likewise.
23275 (CFLAGS-gethstbynm2.c): Likewise.
23276 (CFLAGS-gethstent_r.c): Likewise.
23277 (CFLAGS-gethstent.c): Likewise.
23278 (CFLAGS-rcmd.c): Likewise.
23279 (CFLAGS-getnetbynm_r.c): Likewise.
23280 (CFLAGS-getnetbynm.c): Likewise.
23281 (CFLAGS-getnetbyad_r.c): Likewise.
23282 (CFLAGS-getnetbyad.c): Likewise.
23283 (CFLAGS-getnetent_r.c): Likewise.
23284 (CFLAGS-getnetent.c): Likewise.
23285 (CFLAGS-getaliasent_r.c): Likewise.
23286 (CFLAGS-getaliasent.c): Likewise.
23287 (CFLAGS-getrpcent_r.c): Likewise.
23288 (CFLAGS-getrpcent.c): Likewise.
23289 (CFLAGS-getservent_r.c): Likewise.
23290 (CFLAGS-getservent.c): Likewise.
23291 (CFLAGS-getprtent_r.c): Likewise.
23292 (CFLAGS-getprtent.c): Likewise.
23293 (CFLAGS-either_ntoh.c): Likewise.
23294 (CFLAGS-either_hton.c): Likewise.
23295 (CFLAGS-getnetgrent.c): Likewise.
23296 (CFLAGS-getnetgrent_r.c): Likewise.
23297 (CFLAGS-tst-checks-posix.c): Likewise.
23298 (CFLAGS-tst-sockaddr.c): Likewise.
23299 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
23300 (CFLAGS-tst-translit.c): Likewise.
23301 (CFLAGS-tst-gettext2.c): Likewise.
23302 (CFLAGS-tst-codeset.c): Likewise.
23303 (CFLAGS-tst-gettext3.c): Likewise.
23304 (CFLAGS-tst-gettext4.c): Likewise.
23305 (CFLAGS-tst-gettext5.c): Likewise.
23306 (CFLAGS-tst-gettext6.c): Likewise.
23307 * io/Makefile (CFLAGS-open.c): Likewise.
23308 (CFLAGS-open64.c): Likewise.
23309 (CFLAGS-creat.c): Likewise.
23310 (CFLAGS-creat64.c): Likewise.
23311 (CFLAGS-fcntl.c): Likewise.
23312 (CFLAGS-poll.c): Likewise.
23313 (CFLAGS-ppoll.c): Likewise.
23314 (CFLAGS-lockf.c): Likewise.
23315 (CFLAGS-statfs.c): Likewise.
23316 (CFLAGS-fstatfs.c): Likewise.
23317 (CFLAGS-statvfs.c): Likewise.
23318 (CFLAGS-fstatvfs.c): Likewise.
23319 (CFLAGS-fts.c): Likewise.
23320 (CFLAGS-fts64.c): Likewise.
23321 (CFLAGS-ftw.c): Likewise.
23322 (CFLAGS-ftw64.c): Likewise.
23323 (CFLAGS-lockf.c): Likewise.
23324 (CFLAGS-posix_fallocate.c): Likewise.
23325 (CFLAGS-posix_fallocate64.c): Likewise.
23326 (CFLAGS-fallocate.c): Likewise.
23327 (CFLAGS-fallocate64.c): Likewise.
23328 (CFLAGS-read.c): Likewise.
23329 (CFLAGS-write.c): Likewise.
23330 (CFLAGS-test-stat.c): Likewise.
23331 (CFLAGS-test-lfs.c): Likewise.
23332 * libio/Makefile (CFLAGS-fileops.c): Likewise.
23333 (CFLAGS-fputc.c): Likewise.
23334 (CFLAGS-fputwc.c): Likewise.
23335 (CFLAGS-freopen64.c): Likewise.
23336 (CFLAGS-freopen.c): Likewise.
23337 (CFLAGS-fseek.c): Likewise.
23338 (CFLAGS-fseeko64.c): Likewise.
23339 (CFLAGS-fseeko.c): Likewise.
23340 (CFLAGS-ftello64.c): Likewise.
23341 (CFLAGS-ftello.c): Likewise.
23342 (CFLAGS-fwide.c): Likewise.
23343 (CFLAGS-genops.c): Likewise.
23344 (CFLAGS-getc.c): Likewise.
23345 (CFLAGS-getchar.c): Likewise.
23346 (CFLAGS-getwc.c): Likewise.
23347 (CFLAGS-getwchar.c): Likewise.
23348 (CFLAGS-iofclose.c): Likewise.
23349 (CFLAGS-iofflush.c): Likewise.
23350 (CFLAGS-iofgetpos64.c): Likewise.
23351 (CFLAGS-iofgetpos.c): Likewise.
23352 (CFLAGS-iofgets.c): Likewise.
23353 (CFLAGS-iofgetws.c): Likewise.
23354 (CFLAGS-iofputs.c): Likewise.
23355 (CFLAGS-iofputws.c): Likewise.
23356 (CFLAGS-iofread.c): Likewise.
23357 (CFLAGS-iofsetpos64.c): Likewise.
23358 (CFLAGS-iofsetpos.c): Likewise.
23359 (CFLAGS-ioftell.c): Likewise.
23360 (CFLAGS-iofwrite.c): Likewise.
23361 (CFLAGS-iogetdelim.c): Likewise.
23362 (CFLAGS-iogetline.c): Likewise.
23363 (CFLAGS-iogets.c): Likewise.
23364 (CFLAGS-iogetwline.c): Likewise.
23365 (CFLAGS-ioputs.c): Likewise.
23366 (CFLAGS-ioseekoff.c): Likewise.
23367 (CFLAGS-ioseekpos.c): Likewise.
23368 (CFLAGS-iosetbuffer.c): Likewise.
23369 (CFLAGS-iosetvbuf.c): Likewise.
23370 (CFLAGS-ioungetc.c): Likewise.
23371 (CFLAGS-ioungetwc.c): Likewise.
23372 (CFLAGS-oldfileops.c): Likewise.
23373 (CFLAGS-oldiofclose.c): Likewise.
23374 (CFLAGS-oldiofgetpos64.c): Likewise.
23375 (CFLAGS-oldiofgetpos.c): Likewise.
23376 (CFLAGS-oldiofsetpos64.c): Likewise.
23377 (CFLAGS-oldiofsetpos.c): Likewise.
23378 (CFLAGS-peekc.c): Likewise.
23379 (CFLAGS-putc.c): Likewise.
23380 (CFLAGS-putchar.c): Likewise.
23381 (CFLAGS-putwc.c): Likewise.
23382 (CFLAGS-putwchar.c): Likewise.
23383 (CFLAGS-rewind.c): Likewise.
23384 (CFLAGS-wfileops.c): Likewise.
23385 (CFLAGS-wgenops.c): Likewise.
23386 (CFLAGS-oldiofopen.c): Likewise.
23387 (CFLAGS-iofopen.c): Likewise.
23388 (CFLAGS-iofopen64.c): Likewise.
23389 (CFLAGS-oldtmpfile.c): Likewise.
23390 (CFLAGS-tst_putwc.c): Likewise.
23391 * locale/Makefile (CFLAGS-md5.c): Likewise.
23392 (CFLAGS-charmap.c): Likewise.
23393 (CFLAGS-locfile.c): Likewise.
23394 (CFLAGS-charmap-dir.c): Likewise.
23395 * login/Makefile (CFLAGS-grantpt.c): Likewise.
23396 (CFLAGS-getpt.c): Likewise.
23397 (CFLAGS-pt_chown.c): Likewise.
23398 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
23399 (CFLAGS-obstack.c): Likewise.
23400 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
23401 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
23402 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
23403 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
23404 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
23405 (CFLAGS-test-tgmath.c): Likewise.
23406 (CFLAGS-test-tgmath2.c): Likewise.
23407 (CFLAGS-test-tgmath-ret.c): Likewise.
23408 (CFLAGS-test-powl.c): Likewise.
23409 (CFLAGS-test-snan.c): Likewise.
23410 (CFLAGS-test-signgam-finite.c): Likewise.
23411 (CFLAGS-test-signgam-finite-c99.c): Likewise.
23412 (CFLAGS-test-signgam-finite-c11.c): Likewise.
23413 (CFLAGS-test-signgam-uchar.c): Likewise.
23414 (CFLAGS-test-signgam-uchar-init.c): Likewise.
23415 (CFLAGS-test-signgam-uchar-static.c): Likewise.
23416 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
23417 (CFLAGS-test-signgam-uint.c): Likewise.
23418 (CFLAGS-test-signgam-uint-init.c): Likewise.
23419 (CFLAGS-test-signgam-uint-static.c): Likewise.
23420 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
23421 (CFLAGS-test-signgam-ullong.c): Likewise.
23422 (CFLAGS-test-signgam-ullong-init.c): Likewise.
23423 (CFLAGS-test-signgam-ullong-static.c): Likewise.
23424 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
23425 (CFLAGS-test-math-cxx11.cc): Likewise.
23426 (CFLAGS-test-math-isinff.cc): Likewise.
23427 (CFLAGS-test-math-iszero.cc): Likewise.
23428 (CFLAGS-test-math-issignaling.cc): Likewise.
23429 (CFLAGS-test-math-iscanonical.cc): Likewise.
23430 (CFLAGS-test-iszero-excess-precision.c): Likewise.
23431 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
23432 (CFLAGS-test-flt-eval-method.c): Likewise.
23433 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
23434 (CFLAGS-test-finite-macros.c): Likewise.
23435 * misc/Makefile (CFLAGS-select.c): Likewise.
23436 (CFLAGS-tsearch.c): Likewise.
23437 (CFLAGS-lsearch.c): Likewise.
23438 (CFLAGS-pselect.c): Likewise.
23439 (CFLAGS-readv.c): Likewise.
23440 (CFLAGS-writev.c): Likewise.
23441 (CFLAGS-preadv.c): Likewise.
23442 (CFLAGS-preadv64.c): Likewise.
23443 (CFLAGS-pwritev.c): Likewise.
23444 (CFLAGS-pwritev64.c): Likewise.
23445 (CFLAGS-preadv2.c): Likewise.
23446 (CFLAGS-preadv64v2.c): Likewise.
23447 (CFLAGS-pwritev2.c): Likewise.
23448 (CFLAGS-pwritev64v2.c): Likewise.
23449 (CFLAGS-usleep.c): Likewise.
23450 (CFLAGS-syslog.c): Likewise.
23451 (CFLAGS-error.c): Likewise.
23452 (CFLAGS-getpass.c): Likewise.
23453 (CFLAGS-mkstemp.c): Likewise.
23454 (CFLAGS-mkstemp64.c): Likewise.
23455 (CFLAGS-getsysstats.c): Likewise.
23456 (CFLAGS-getusershell.c): Likewise.
23457 (CFLAGS-err.c): Likewise.
23458 (CFLAGS-tst-tsearch.c): Likewise.
23459 (CFLAGS-msync.c): Likewise.
23460 (CFLAGS-fdatasync.c): Likewise.
23461 (CFLAGS-fsync.c): Likewise.
23462 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
23463 (CFLAGS-unwind.c): Likewise.
23464 (CFLAGS-unwind-forcedunwind.c): Likewise.
23465 (CFLAGS-pthread_cancel.c): Likewise.
23466 (CFLAGS-pthread_setcancelstate.c): Likewise.
23467 (CFLAGS-pthread_setcanceltype.c): Likewise.
23468 (CFLAGS-cancellation.c): Likewise.
23469 (CFLAGS-libc-cancellation.c): Likewise.
23470 (CFLAGS-pthread_exit.c): Likewise.
23471 (CFLAGS-forward.c): Likewise.
23472 (CFLAGS-pthread_testcancel.c): Likewise.
23473 (CFLAGS-pthread_join.c): Likewise.
23474 (CFLAGS-pthread_timedjoin.c): Likewise.
23475 (CFLAGS-pthread_once.c): Likewise.
23476 (CFLAGS-pthread_cond_wait.c): Likewise.
23477 (CFLAGS-sem_wait.c): Likewise.
23478 (CFLAGS-sem_timedwait.c): Likewise.
23479 (CFLAGS-fcntl.c): Likewise.
23480 (CFLAGS-lockf.c): Likewise.
23481 (CFLAGS-pread.c): Likewise.
23482 (CFLAGS-pread64.c): Likewise.
23483 (CFLAGS-pwrite.c): Likewise.
23484 (CFLAGS-pwrite64.c): Likewise.
23485 (CFLAGS-wait.c): Likewise.
23486 (CFLAGS-waitpid.c): Likewise.
23487 (CFLAGS-sigwait.c): Likewise.
23488 (CFLAGS-msgrcv.c): Likewise.
23489 (CFLAGS-msgsnd.c): Likewise.
23490 (CFLAGS-tcdrain.c): Likewise.
23491 (CFLAGS-open.c): Likewise.
23492 (CFLAGS-open64.c): Likewise.
23493 (CFLAGS-pause.c): Likewise.
23494 (CFLAGS-recv.c): Likewise.
23495 (CFLAGS-send.c): Likewise.
23496 (CFLAGS-accept.c): Likewise.
23497 (CFLAGS-sendto.c): Likewise.
23498 (CFLAGS-connect.c): Likewise.
23499 (CFLAGS-recvfrom.c): Likewise.
23500 (CFLAGS-recvmsg.c): Likewise.
23501 (CFLAGS-sendmsg.c): Likewise.
23502 (CFLAGS-close.c): Likewise.
23503 (CFLAGS-read.c): Likewise.
23504 (CFLAGS-write.c): Likewise.
23505 (CFLAGS-nanosleep.c): Likewise.
23506 (CFLAGS-sigsuspend.c): Likewise.
23507 (CFLAGS-msync.c): Likewise.
23508 (CFLAGS-fdatasync.c): Likewise.
23509 (CFLAGS-fsync.c): Likewise.
23510 (CFLAGS-pt-system.c): Likewise.
23511 (CFLAGS-tst-cleanup2.c): Likewise.
23512 (CFLAGS-tst-cleanupx2.c): Likewise.
23513 (CFLAGS-flockfile.c): Likewise.
23514 (CFLAGS-ftrylockfile.c): Likewise.
23515 (CFLAGS-funlockfile.c): Likewise.
23516 (CFLAGS-tst-initializers1.c): Likewise.
23517 (CFLAGS-tst-initializers1-c89.c): Likewise.
23518 (CFLAGS-tst-initializers1-c99.c): Likewise.
23519 (CFLAGS-tst-initializers1-c11.c): Likewise.
23520 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
23521 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
23522 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
23523 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
23524 (CFLAGS-nscd_getgr_r.c): Likewise.
23525 (CFLAGS-nscd_gethst_r.c): Likewise.
23526 (CFLAGS-nscd_getai.c): Likewise.
23527 (CFLAGS-nscd_initgroups.c): Likewise.
23528 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
23529 (CFLAGS-pause.c): Likewise.
23530 (CFLAGS-pread.c): Likewise.
23531 (CFLAGS-pread64.c): Likewise.
23532 (CFLAGS-pwrite.c): Likewise.
23533 (CFLAGS-pwrite64.c): Likewise.
23534 (CFLAGS-sleep.c): Likewise.
23535 (CFLAGS-wait.c): Likewise.
23536 (CFLAGS-waitid.c): Likewise.
23537 (CFLAGS-waitpid.c): Likewise.
23538 (CFLAGS-getopt.c): Likewise.
23539 (CFLAGS-wordexp.c): Likewise.
23540 (CFLAGS-sysconf.c): Likewise.
23541 (CFLAGS-pathconf.c): Likewise.
23542 (CFLAGS-fpathconf.c): Likewise.
23543 (CFLAGS-spawn.c): Likewise.
23544 (CFLAGS-spawnp.c): Likewise.
23545 (CFLAGS-spawni.c): Likewise.
23546 (CFLAGS-glob.c): Likewise.
23547 (CFLAGS-glob64.c): Likewise.
23548 (CFLAGS-getconf.c): Likewise.
23549 (CFLAGS-nanosleep.c): Likewise.
23550 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
23551 (CFLAGS-getpwent.c): Likewise.
23552 (CFLAGS-getpw.c): Likewise.
23553 (CFLAGS-fgetpwent_r.c): Likewise.
23554 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
23555 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
23556 (CFLAGS-mq_timedreceive.c): Likewise.
23557 (CFLAGS-mq_timedsend.c): Likewise.
23558 (CFLAGS-clock_nanosleep.c): Likewise.
23559 (CFLAGS-librt-cancellation.c): Likewise.
23560 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
23561 (CFLAGS-getspent.c): Likewise.
23562 (CFLAGS-fgetspent.c): Likewise.
23563 (CFLAGS-fgetspent_r.c): Likewise.
23564 (CFLAGS-putspent.c): Likewise.
23565 (CFLAGS-getspnam.c): Likewise.
23566 (CFLAGS-getspnam_r.c): Likewise.
23567 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
23568 (CFLAGS-sigsuspend.c): Likewise.
23569 (CFLAGS-sigtimedwait.c): Likewise.
23570 (CFLAGS-sigwait.c): Likewise.
23571 (CFLAGS-sigwaitinfo.c): Likewise.
23572 (CFLAGS-sigreturn.c): Likewise.
23573 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
23574 (CFLAGS-vfwprintf.c): Likewise.
23575 (CFLAGS-tmpfile.c): Likewise.
23576 (CFLAGS-tmpfile64.c): Likewise.
23577 (CFLAGS-tempname.c): Likewise.
23578 (CFLAGS-psignal.c): Likewise.
23579 (CFLAGS-vprintf.c): Likewise.
23580 (CFLAGS-cuserid.c): Likewise.
23581 (CFLAGS-errlist.c): Likewise.
23582 (CFLAGS-siglist.c): Likewise.
23583 (CFLAGS-scanf15.c): Likewise.
23584 (CFLAGS-scanf17.c): Likewise.
23585 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
23586 (CFLAGS-msort.c): Likewise.
23587 (CFLAGS-qsort.c): Likewise.
23588 (CFLAGS-system.c): Likewise.
23589 (CFLAGS-fmtmsg.c): Likewise.
23590 (CFLAGS-strfmon.c): Likewise.
23591 (CFLAGS-strfmon_l.c): Likewise.
23592 (CFLAGS-strfromd.c): Likewise.
23593 (CFLAGS-strfromf.c): Likewise.
23594 (CFLAGS-strfroml.c): Likewise.
23595 (CFLAGS-tst-bsearch.c): Likewise.
23596 (CFLAGS-tst-qsort.c): Likewise.
23597 (CFLAGS-tst-makecontext2.c): Likewise.
23598 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
23599 (CFLAGS-xnlm_prot.c): Likewise.
23600 (CFLAGS-xrstat.c): Likewise.
23601 (CFLAGS-xyppasswd.c): Likewise.
23602 (CFLAGS-xklm_prot.c): Likewise.
23603 (CFLAGS-xrex.c): Likewise.
23604 (CFLAGS-xsm_inter.c): Likewise.
23605 (CFLAGS-xmount.c): Likewise.
23606 (CFLAGS-xrusers.c): Likewise.
23607 (CFLAGS-xspray.c): Likewise.
23608 (CFLAGS-xnfs_prot.c): Likewise.
23609 (CFLAGS-xrquota.c): Likewise.
23610 (CFLAGS-xkey_prot.c): Likewise.
23611 (CFLAGS-auth_unix.c): Likewise.
23612 (CFLAGS-key_call.c): Likewise.
23613 (CFLAGS-pmap_rmt.c): Likewise.
23614 (CFLAGS-clnt_perr.c): Likewise.
23615 (CFLAGS-openchild.c): Likewise.
23616 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
23617 (CFLAGS-msgsnd.c): Likewise.
23618 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
23619 * time/Makefile (CFLAGS-tzfile.c): Likewise.
23620 (CFLAGS-tzset.c): Likewise.
23621 (CFLAGS-getdate.c): Likewise.
23622 (CFLAGS-test_time.c): Likewise.
23623 (CPPFLAGS-tst-tzname.c): Likewise.
23624 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
23625 (CFLAGS-zic.c): Likewise.
23626 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
23627 (CFLAGS-wcswidth.c): Likewise.
23628 (CFLAGS-wcstol.c): Likewise.
23629 (CFLAGS-wcstoul.c): Likewise.
23630 (CFLAGS-wcstoll.c): Likewise.
23631 (CFLAGS-wcstoull.c): Likewise.
23632 (CFLAGS-wcstod.c): Likewise.
23633 (CFLAGS-wcstold.c): Likewise.
23634 (CFLAGS-wcstof128.c): Likewise.
23635 (CFLAGS-wcstof.c): Likewise.
23636 (CFLAGS-wcstol_l.c): Likewise.
23637 (CFLAGS-wcstoul_l.c): Likewise.
23638 (CFLAGS-wcstoll_l.c): Likewise.
23639 (CFLAGS-wcstoull_l.c): Likewise.
23640 (CFLAGS-wcstod_l.c): Likewise.
23641 (CFLAGS-wcstold_l.c): Likewise.
23642 (CFLAGS-wcstof128_l.c): Likewise.
23643 (CFLAGS-wcstof_l.c): Likewise.
23644 (CPPFLAGS-tst-wchar-h.c): Likewise.
23645 (CPPFLAGS-wcstold_l.c): Likewise.
583dd860 23646
f4b2aea6
PC
236472017-12-11 Paul A. Clarke <pc@us.ibm.com>
23648
23649 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
23650
c9cd7b0c
AZ
236512017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23652 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23653
23654 * manual/tunables.texi (Hardware Capability Tunables): Document
23655 glibc.tune.cached_memopt.
23656 * sysdeps/powerpc/cpu-features.c: New file.
23657 * sysdeps/powerpc/cpu-features.h: New file.
23658 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
23659 _dl_powerpc_cpu_features.
23660 * sysdeps/powerpc/dl-tunables.list: New file.
23661 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
23662 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
23663 (INIT_ARCH): Initialize use_aligned_memopt.
23664 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
23665 IS_IN(rtld))]: Restrict dl_platform_init availability and
23666 initialize CPU features used by tunables.
23667 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
23668 Add memcpy-power8-cached.
23669 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
23670 __memcpy_power8_cached.
23671 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
23672 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
23673 New file.
23674
e70c6fee
L
236752017-12-11 H.J. Lu <hongjiu.lu@intel.com>
23676
23677 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
23678 (CFLAGS-noinl-tester.c): Likewise.
23679 (CFLAGS-tst-strlen.c): Likewise.
23680 (CFLAGS-stratcliff.c): Likewise.
23681 (CFLAGS-test-ffs.c): Likewise.
23682 (CFLAGS-tst-inlcall.c): Likewise.
23683 (CFLAGS-tst-xbzero-opt.c): Likewise.
23684 (CFLAGS-memcpy.c): Likewise.
23685 (CFLAGS-wordcopy.c): Likewise.
23686
dee94366
SL
236872017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
23688
23689 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
23690 Store r15 on stack and add cfi rule.
23691 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
23692 Likewise.
23693
363e4519 236942017-12-10 Aurelien Jarno <aurelien@aurel32.net>
f648728c
AJ
23695
23696 [BZ #22577]
23697 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
23698 call.
23699
9d0ffa60
L
237002017-12-07 H.J. Lu <hongjiu.lu@intel.com>
23701
23702 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23703 Add s_sinf-sse2 and s_sinf-fma.
23704 (CFLAGS-s_sinf-fma.c): New.
23705 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
23706 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
23707 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
23708
9574c7b6
L
237092017-12-07 H.J. Lu <hongjiu.lu@intel.com>
23710
23711 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
23712
d15e83c5
JM
237132017-12-07 Joseph Myers <joseph@codesourcery.com>
23714
23715 [BZ #22568]
23716 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
23717 part of result to imaginary part of argument if it is zero and the
23718 real part of the argument is not finite.
23719 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
23720 of result to real part of argument if it is zero and the imaginary
23721 part of the argument is not finite.
23722
d89756eb
MF
237232017-12-07 Mike FABIAN <mfabian@redhat.com>
23724
23725 [BZ #22524]
23726 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
23727 and to the list of locales to be built for testing.
23728 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
23729 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
23730 and build the collation rules upon that.
23731
1f9055ce
JM
237322017-12-07 Joseph Myers <joseph@codesourcery.com>
23733
23734 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
23735 * manual/math.texi (Mathematics): Document support for _Float32.
23736 * math/Makefile (test-types): Add float32.
23737 * math/Versions (GLIBC_2.27): Add _Float32 functions.
23738 * stdlib/Versions (GLIBC_2.27): Likewise.
23739 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23740 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23741 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23742 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23743 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23744 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
23745 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
23746 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
23747 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
23748 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23749 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23750 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23751 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23752 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
23753 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
23754 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
23755 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
23756 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
23757 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
23758 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
23759 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
23760 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
23761 Likewise.
23762 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23763 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23764 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23765 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
23766 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
23767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
23768 Likewise.
23769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
23770 Likewise.
23771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
23772 Likewise.
23773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23774 Likewise.
23775
23776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23777 Likewise.
23778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
23779 Likewise.
23780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23781 Likewise.
23782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
23783 Likewise.
23784 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23785 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23786 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23787 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23788 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
23789 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
23790 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23791 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23792 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23793 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23794 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
23795 Likewise.
23796 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23797 Likewise.
23798 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
23799 Likewise.
23800 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23801 Likewise.
23802 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23803 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23804 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23805 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23806 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23807 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23808 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23809 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23810
5244527d
JM
238112017-12-06 Joseph Myers <joseph@codesourcery.com>
23812
fb1ca2aa
JM
23813 * stdlib/strtof.c: Include <bits/floatn.h>
23814 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
23815 and later undefine as macro. Define as weak alias if
23816 [!USE_WIDE_CHAR].
23817 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
23818 and later undefine as macro. Define as weak alias if
23819 [USE_WIDE_CHAR].
23820 * stdlib/strtof_l.c: Include <bits/floatn.h>
23821 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
23822 and later undefine as macro. Define as weak alias if
23823 [!USE_WIDE_CHAR].
23824 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
23825 and later undefine as macro. Define as weak alias if
23826 [USE_WIDE_CHAR].
23827
fc10cc3f
JM
23828 * stdlib/strfromf.c: Include <bits/floatn.h>.
23829 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
23830 and later undefine as macro and define as weak alias.
23831
e420d228
JM
23832 * math/test-float32.h: New file.
23833
26007a2f
JM
23834 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
23835 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
23836 (libm_alias_float_other_r): Create f32 alias.
23837 (libm_alias_float_r): Use semicolon before call to
23838 libm_alias_float_other_r.
23839
c191f64c
JM
23840 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
23841 second argument to libm_alias_float_other.
23842 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
23843 second argument to libm_alias_float_other.
23844 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
23845 argument to libm_alias_float_other.
23846
5244527d
JM
23847 [BZ #22561]
23848 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
23849 real part of result for argument 0 + i * NaN.
23850 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
23851 results for tests of 0 + i * NaN.
23852
d73fac82
AZ
238532017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23854
23855 * sysdeps/alpha/fpu/libm-test-ulps: Update.
23856
7ec094e8
DM
238572017-12-06 David S. Miller <davem@davemloft.net>
23858
23859 * sysdeps/sparc/fpu/libm-test-ulps: Update
23860 exp_{downward,towardzero,upward} ulps.
23861
53994f12
JM
238622017-12-06 Joseph Myers <joseph@codesourcery.com>
23863
1dbe6f64
JM
23864 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
23865 variables static.
23866
53994f12
JM
23867 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
23868 (Y0_2D): Likewise.
23869 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
23870 (Y0_2D): Likewise.
23871 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
23872 (Y0_2D): Likewise.
23873 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
23874 (Y0_2D): Likewise.
23875
62ea2193
MF
238762017-12-06 Mike FABIAN <mfabian@redhat.com>
23877
23878 [BZ #22515]
23879 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
23880 and to the list of locales to be built for testing.
23881 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
23882 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
23883 and build the collation rules upon that.
23884
87235d70
RS
238852017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23886
23887 * NEWS: Add sinf to list of optimized functions.
23888
0d93b7fd
JM
238892017-12-06 Joseph Myers <joseph@codesourcery.com>
23890
23891 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
23892 (__HAVE_FLOAT32X): Likewise.
23893 * manual/math.texi (Mathematics): Document support for _Float64
23894 and _Float32x.
23895 * math/Makefile (test-types): Add float64 and float32x.
23896 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
23897 functions.
23898 * stdlib/Versions (GLIBC_2.27): Likewise.
23899 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23900 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23901 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23902 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23903 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23904 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
23905 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
23906 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
23907 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
23908 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23909 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23910 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23911 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23912 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
23913 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
23914 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
23915 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
23916 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
23917 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
23918 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
23919 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
23920 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
23921 Likewise.
23922 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23923 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23924 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23925 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
23926 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
23927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
23928 Likewise.
23929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
23930 Likewise.
23931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
23932 Likewise.
23933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23934 Likewise.
23935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23936 Likewise.
23937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
23938 Likewise.
23939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23940 Likewise.
23941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
23942 Likewise.
23943 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23944 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23945 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23946 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23947 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
23948 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
23949 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23950 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23951 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23952 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23953 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
23954 Likewise.
23955 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23956 Likewise.
23957 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
23958 Likewise.
23959 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23960 Likewise.
23961 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23962 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23963 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23964 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23965 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23966 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23967 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23968 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23969
f7787234
JM
239702017-12-05 Joseph Myers <joseph@codesourcery.com>
23971
23972 * bits/floatn-common.h: Include <bits/long-double.h>.
23973 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
23974 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
23975 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
23976 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
23977 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
23978 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
23979 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23980 (__builtin_huge_valf64): Use __builtin_huge_vall.
23981 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23982 (__builtin_inff64): Use __builtin_infl.
23983 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23984 (__builtin_nanf64): Use __builtin_nanl.
23985 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23986 (__builtin_nansf64): Use __builtin_nansl.
23987
363e4519
DL
239882017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
23989 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6b5c8607 23990 Carlos O'Donnell <carlos@redhat.com>
07ed18d2
RA
23991
23992 * elf/dl-tunables.list: Add elision parameters.
23993 * manual/tunables.texi: Add entries about elision tunable.
23994 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
23995 Add callback functions to dynamically enable/disable elision.
23996 Add multiple callbacks functions to set elision parameters.
23997 Deleted __libc_enable_secure check.
23998 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
23999 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
24000 * configure: Regenerated.
24001 * configure.ac: Option enable_lock_elision was deleted.
24002 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
24003 * config.make.in: Remove references to enable_lock_elision.
24004 * manual/install.texi: Elision configure option was removed.
24005 * INSTALL: Regenerated to remove enable_lock_elision.
24006 * nptl/Makefile:
24007 Disable elision so it can verify error case for destroying a mutex.
24008 * sysdeps/powerpc/nptl/elide.h:
24009 Cleanup ENABLE_LOCK_ELISION check.
24010 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
24011 * sysdeps/s390/configure: Regenerated.
24012 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
24013 * nptl/tst-mutex8.c:
24014 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
24015 * sysdeps/powerpc/powerpc32/sysdep.h:
24016 Deleted all ENABLE_LOCK_ELISION checks.
24017 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24018 * sysdeps/powerpc/sysdep.h: Likewise.
24019 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
24020 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
24021 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
24022 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
24023 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24024 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
24025 enable-lock-elision.
24026
a5a2a76b
JM
240272017-12-05 Joseph Myers <joseph@codesourcery.com>
24028
24029 * stdlib/strtod.c: Include <bits/floatn.h>.
24030 (BUILD_DOUBLE): New macro.
24031 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
24032 (strtof64): Define and later undefine as macro. Define as weak
24033 alias if [!USE_WIDE_CHAR].
24034 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
24035 (wcstof64): Define and later undefine as macro. Define as weak
24036 alias if [USE_WIDE_CHAR].
24037 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
24038 (strtof32x): Define and later undefine as macro. Define as weak
24039 alias if [!USE_WIDE_CHAR].
24040 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
24041 (wcstof32x): Define and later undefine as macro. Define as weak
24042 alias if [USE_WIDE_CHAR].
24043 * stdlib/strtod_l.c: Include <bits/floatn.h>.
24044 (BUILD_DOUBLE): New macro.
24045 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
24046 (strtof64_l): Define and later undefine as macro. Define as weak
24047 alias if [!USE_WIDE_CHAR].
24048 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
24049 (wcstof64_l): Define and later undefine as macro. Define as weak
24050 alias if [USE_WIDE_CHAR].
24051 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
24052 (strtof32x_l): Define and later undefine as macro. Define as weak
24053 alias if [!USE_WIDE_CHAR].
24054 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
24055 (wcstof32x_l): Define and later undefine as macro. Define as weak
24056 alias if [USE_WIDE_CHAR].
24057
94d80dfc
AZ
240582017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24059
24060 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
24061 (reduced): Use ones as double instead of integer.
24062
00d54af7
SN
240632017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
24064
24065 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
24066
f2d64d62
JM
240672017-12-05 Joseph Myers <joseph@codesourcery.com>
24068
1f70eae4
JM
24069 * stdlib/strfromd.c: Include <bits/floatn.h>.
24070 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
24071 and later undefine as macro and define as weak alias.
24072 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
24073 Likewise.
24074
e2c4dce5
JM
24075 * math/test-float32x.h: New file.
24076 * math/test-float64.h: Likewise.
24077
f2d64d62
JM
24078 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
24079 (libm_alias_double_other_r_f64): New macro.
24080 (libm_alias_double_other_r_f32x): Likewise.
24081 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
24082 libm_alias_double_other_r_f32x.
24083 (libm_alias_double_r): Use semicolon before call to
24084 libm_alias_double_other_r.
24085 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
24086 <bits/floatn.h>.
24087 (libm_alias_double_other_r_f64): New macro.
24088 (libm_alias_double_other_r_f32x): Likewise.
24089 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
24090 libm_alias_double_other_r_f32x.
24091
91c318e7
L
240922017-12-05 H.J. Lu <hongjiu.lu@intel.com>
24093
24094 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
24095 int.
24096 (SINF_FUNC): Likewise. Replace floor with simple casts.
24097
de9661d6
MF
240982017-12-05 Mike FABIAN <mfabian@redhat.com>
24099
24100 [BZ #22517]
24101 * localedata/Makefile: Add et_EE.UTF-8 to test-input
24102 and to the list of locales to be built for testing.
24103 * localedata/et_EE.UTF-8.in: New file for testing the collation.
24104 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
24105 and build the collation rules upon that.
24106
f18b8dc7
CM
241072017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
24108
24109 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
24110 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
24111 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
24112 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
24113 instead of __insn__xxx.
24114 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
24115 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
24116 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
24117 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
24118 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
24119 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
24120
446d22e9
FW
241212017-12-05 Florian Weimer <fweimer@redhat.com>
24122
24123 Linux: Implement interfaces for memory protection keys
24124 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
24125 xsignal, xsysconf.
24126 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
24127 * support/xunistd.h (xsysconf): Declare.
24128 * support/xraise.c: New file.
24129 * support/xsigaction.c: Likewise.
24130 * support/xsignal.c: Likewise.
24131 * support/xsysconf.c: Likewise.
24132 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
24133 pkey_set, pkey_get, pkey_mprotect.
24134 [misc] (tests): Add tst-pkey.
24135 (tst-pkey): Link with -lpthread.
24136 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
24137 pkey_free, pkey_set, pkey_get, pkey_mprotect.
24138 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
24139 (PKEY_DISABLE_WRITE): Define.
24140 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
24141 Declare.
24142 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
24143 (SEGV_PKUERR): Add.
24144 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
24145 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
24146 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
24147 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
24148 Add.
24149 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
24150 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
24151 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
24152 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
24153 * sysdeps/unix/sysv/linux/**.abilist: Update.
24154
da616c14
FW
241552017-12-05 Florian Weimer <fweimer@redhat.com>
24156
24157 * support/tst-test_compare.c (subprocess): Use long long instead
24158 of long argument for consistent type width across 32-bit and
24159 64-bit architectures.
24160 (do_test): Adjust expected output.
24161
216933b2
JM
241622017-12-05 Joseph Myers <joseph@codesourcery.com>
24163
24164 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
24165 (cosf): Define using libm_alias_float.
24166 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
24167 (fabsf): Define using libm_alias_float.
24168 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
24169 (fmaf): Define using libm_alias_float.
24170 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
24171 (rintf): Define using libm_alias_float.
24172 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
24173 (sinf): Define using libm_alias_float.
24174 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
24175 <libm-alias-float.h>.
24176 (modff): Define using libm_alias_float.
24177 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
24178 <libm-alias-float.h>.
24179 (logbf): Define using libm_alias_float.
24180 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
24181 <libm-alias-float.h>.
24182 (ceilf): Define using libm_alias_float.
24183 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
24184 <libm-alias-float.h>.
24185 (copysignf): Define using libm_alias_float.
24186 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
24187 <libm-alias-float.h>.
24188 (floorf): Define using libm_alias_float.
24189 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
24190 <libm-alias-float.h>.
24191 (llrintf): Define using libm_alias_float.
24192 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
24193 <libm-alias-float.h>.
24194 (llroundf): Define using libm_alias_float.
24195 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
24196 <libm-alias-float.h>.
24197 (lrintf): Define using libm_alias_float.
24198 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
24199 <libm-alias-float.h>.
24200 (lroundf): Define using libm_alias_float.
24201 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
24202 <libm-alias-float.h>.
24203 (nearbyintf): Define using libm_alias_float.
24204 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
24205 <libm-alias-float.h>.
24206 (rintf): Define using libm_alias_float.
24207 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
24208 <libm-alias-float.h>.
24209 (roundf): Define using libm_alias_float.
24210 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
24211 <libm-alias-float.h>.
24212 (truncf): Define using libm_alias_float.
24213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
24214 Include <libm-alias-float.h>.
24215 (ceilf): Define using libm_alias_float.
24216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
24217 Include <libm-alias-float.h>.
24218 (copysignf): Define using libm_alias_float.
24219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
24220 Include <libm-alias-float.h>.
24221 (floorf): Define using libm_alias_float.
24222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
24223 Include <libm-alias-float.h>.
24224 (llrintf): Define using libm_alias_float.
24225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
24226 Include <libm-alias-float.h>.
24227 (llroundf): Define using libm_alias_float.
24228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
24229 Include <libm-alias-float.h>.
24230 (logbf): Define using libm_alias_float.
24231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
24232 Include <libm-alias-float.h>.
24233 (lrintf): Define using libm_alias_float.
24234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
24235 Include <libm-alias-float.h>.
24236 (lroundf): Define using libm_alias_float.
24237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
24238 Include <libm-alias-float.h>.
24239 (modff): Define using libm_alias_float.
24240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
24241 Include <libm-alias-float.h>.
24242 (roundf): Define using libm_alias_float.
24243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
24244 Include <libm-alias-float.h>.
24245 (truncf): Define using libm_alias_float.
24246 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
24247 <libm-alias-float.h>.
24248 (llrintf): Define using libm_alias_float.
24249 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
24250 <libm-alias-float.h>.
24251 (llroundf): Define using libm_alias_float.
24252 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
24253 <libm-alias-float.h>.
24254 (ceilf): Define using libm_alias_float.
24255 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
24256 <libm-alias-float.h>.
24257 (floorf): Define using libm_alias_float.
24258 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
24259 <libm-alias-float.h>.
24260 (llroundf): Define using libm_alias_float.
24261 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
24262 <libm-alias-float.h>.
24263 (lroundf): Define using libm_alias_float.
24264 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
24265 <libm-alias-float.h>.
24266 (roundf): Define using libm_alias_float.
24267 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
24268 <libm-alias-float.h>.
24269 (truncf): Define using libm_alias_float.
24270 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
24271 <libm-alias-float.h>.
24272 (copysignf): Define using libm_alias_float.
24273 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
24274 <libm-alias-float.h>.
24275 (llrintf): Define using libm_alias_float.
24276 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
24277 <libm-alias-float.h>.
24278 (llroundf): Define using libm_alias_float.
24279 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
24280 <libm-alias-float.h>.
24281 (lrintf): Define using libm_alias_float.
24282 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
24283 <libm-alias-float.h>.
24284 (lroundf): Define using libm_alias_float.
24285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
24286 <libm-alias-float.h>.
24287 (ceilf): Define using libm_alias_float.
24288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
24289 <libm-alias-float.h>.
24290 (copysignf): Define using libm_alias_float.
24291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
24292 <libm-alias-float.h>.
24293 (cosf): Define using libm_alias_float.
24294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
24295 <libm-alias-float.h>.
24296 (floorf): Define using libm_alias_float.
24297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
24298 <libm-alias-float.h>.
24299 (llrintf): Define using libm_alias_float.
24300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
24301 <libm-alias-float.h>.
24302 (llroundf): Define using libm_alias_float.
24303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
24304 <libm-alias-float.h>.
24305 (logbf): Define using libm_alias_float.
24306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
24307 <libm-alias-float.h>.
24308 (modff): Define using libm_alias_float.
24309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
24310 <libm-alias-float.h>.
24311 (roundf): Define using libm_alias_float.
24312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
24313 <libm-alias-float.h>.
24314 (sinf): Define using libm_alias_float.
24315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
24316 <libm-alias-float.h>.
24317 (truncf): Define using libm_alias_float.
24318 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
24319 <libm-alias-float.h>.
24320 (ceilf): Define using libm_alias_float.
24321 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
24322 <libm-alias-float.h>.
24323 (copysignf): Define using libm_alias_float.
24324 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
24325 <libm-alias-float.h>.
24326 (floorf): Define using libm_alias_float.
24327 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
24328 <libm-alias-float.h>.
24329 (llrintf): Define using libm_alias_float.
24330 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
24331 <libm-alias-float.h>.
24332 (llroundf): Define using libm_alias_float.
24333 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
24334 <libm-alias-float.h>.
24335 (nearbyintf): Define using libm_alias_float.
24336 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
24337 <libm-alias-float.h>.
24338 (rintf): Define using libm_alias_float.
24339 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
24340 <libm-alias-float.h>.
24341 (roundf): Define using libm_alias_float.
24342 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
24343 <libm-alias-float.h>.
24344 (truncf): Define using libm_alias_float.
24345 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
24346 <libm-alias-float.h>.
24347 (ceilf): Define using libm_alias_float.
24348 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
24349 <libm-alias-float.h>.
24350 (floorf): Define using libm_alias_float.
24351 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
24352 <libm-alias-float.h>.
24353 (llroundf): Define using libm_alias_float.
24354 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
24355 <libm-alias-float.h>.
24356 (roundf): Define using libm_alias_float.
24357 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
24358 <libm-alias-float.h>.
24359 (truncf): Define using libm_alias_float.
24360 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
24361 <libm-alias-float.h>.
24362 (copysignf): Define using libm_alias_float.
24363 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
24364 <libm-alias-float.h>.
24365 (llrintf): Define using libm_alias_float.
24366 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
24367 <libm-alias-float.h>.
24368 (llroundf): Define using libm_alias_float.
24369 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
24370 <libm-alias-float.h>.
24371 (cosf): Define using libm_alias_float.
24372 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
24373 <libm-alias-float.h>.
24374 (llrintf): Define using libm_alias_float.
24375 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
24376 <libm-alias-float.h>.
24377 (llroundf): Define using libm_alias_float.
24378 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
24379 <libm-alias-float.h>.
24380 (sinf): Define using libm_alias_float.
24381
93485524
FW
243822017-12-04 Florian Weimer <fweimer@redhat.com>
24383
24384 * support/check.h (TEST_COMPARE): Define.
24385 (support_test_compare_failure): Declare.
24386 * support/Makefile (libsupport-routines): Add
24387 support_test_compare_failure.
24388 (tests): Add tst-test_compare.
24389 * support /support_test_compare_failure.c: New file.
24390 * support/tst-test_compare.c: Likewise.
24391
96b06a19
MF
243922017-12-04 Mike FABIAN <mfabian@redhat.com>
24393
24394 [BZ #22527]
24395 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
24396 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
24397 available, this rewrite of the collation rules does reproduce
24398 the test file in the same order.
24399
1f6d91f3
MF
244002017-12-04 Mike FABIAN <mfabian@redhat.com>
24401
24402 [BZ #10580]
24403 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
24404 digraphs in the month and day names. Using single code points for
24405 digraphs is deprecated. While there are dedicated Unicode
24406 codepoints, for the digraphs, these are included for backwards
24407 compatibility and modern texts use a sequence of Basic Latin
24408 characters. See: https://www.unicode.org/faq/ligature_digraph.html
24409 This makes the month and day names agree exactly with CLDR now,
24410 CLDR does not use the single code points for the digraphs either.
24411
2e49fed8
CM
244122017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
24413
24414 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
24415
73895b49
JM
244162017-12-04 Joseph Myers <joseph@codesourcery.com>
24417
24418 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
24419 of floor.
24420
4c1d801a
SP
244212017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
24422
24423 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
24424 Define only for libc.so.
24425
478593e6
SL
244262017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
24427
24428 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24429 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
6b5c8607 24430 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
478593e6
SL
24431 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
24432 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24433
7863a711
RS
244342017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24435
24436 [BZ #5997]
24437 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
24438
800a496a
JDA
244392017-12-02 John David Anglin <danglin@gcc.gnu.org>
24440
b3f7fb12
JDA
24441 [BZ libc/19170]
24442 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
24443 PREINIT_FUNCTION_WEAK is nonzero.
24444 (gmon_initializer): New function. Put procedure label for it in
24445 .init_array section.
24446 (_init): Don't call PREINIT_FUNCTION.
24447 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
24448 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
24449 value when map argument is null.
24450
800a496a
JDA
24451 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
24452 depi instruction from PIC pc-relative sequence.
24453 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
24454 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
24455 (elf_machine_load_address): Likewise.
24456 (elf_machine_runtime_setup): Likewise.
24457
d17542d2
JM
244582017-12-02 Joseph Myers <joseph@codesourcery.com>
24459
24460 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
24461 <libm-alias-double.h>.
24462 (logb): Define using libm_alias_double.
24463 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
24464 <libm-alias-double.h>.
24465 (copysign): Define using libm_alias_double.
24466 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
24467 <libm-alias-double.h>.
24468 (llrint): Define using libm_alias_double.
24469 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
24470 <libm-alias-double.h>.
24471 (llround): Define using libm_alias_double.
24472 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
24473 <libm-alias-double.h>.
24474 (lrint): Define using libm_alias_double.
24475 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
24476 <libm-alias-double.h>.
24477 (lround): Define using libm_alias_double.
24478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
24479 Include <libm-alias-double.h>.
24480 (copysign): Define using libm_alias_double.
24481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
24482 Include <libm-alias-double.h>.
24483 (llrint): Define using libm_alias_double.
24484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
24485 Include <libm-alias-double.h>.
24486 (llround): Define using libm_alias_double.
24487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
24488 <libm-alias-double.h>.
24489 (logb): Define using libm_alias_double.
24490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
24491 Include <libm-alias-double.h>.
24492 (lrint): Define using libm_alias_double.
24493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
24494 Include <libm-alias-double.h>.
24495 (lround): Define using libm_alias_double.
24496 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
24497 <libm-alias-double.h>.
24498 (llrint): Define using libm_alias_double.
24499 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
24500 <libm-alias-double.h>.
24501 (llround): Define using libm_alias_double.
24502 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
24503 <libm-alias-double.h>.
24504 (llround): Define using libm_alias_double.
24505 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
24506 <libm-alias-double.h>.
24507 (lround): Define using libm_alias_double.
24508 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
24509 <libm-alias-double.h>.
24510 (copysign): Define using libm_alias_double.
24511 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
24512 <libm-alias-double.h>.
24513 (llrint): Define using libm_alias_double.
24514 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
24515 <libm-alias-double.h>.
24516 (llround): Define using libm_alias_double.
24517 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
24518 <libm-alias-double.h>.
24519 (lrint): Define using libm_alias_double.
24520 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
24521 <libm-alias-double.h>.
24522 (lround): Define using libm_alias_double.
24523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
24524 <libm-alias-double.h>.
24525 (copysign): Define using libm_alias_double.
24526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
24527 <libm-alias-double.h>.
24528 (llrint): Define using libm_alias_double.
24529 (lrint): Likewise.
24530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
24531 <libm-alias-double.h>.
24532 (llround): Define using libm_alias_double.
24533 (lround): Likewise.
24534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
24535 <libm-alias-double.h>.
24536 (logb): Define using libm_alias_double.
24537 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
24538 <libm-alias-double.h>.
24539 (copysign): Define using libm_alias_double.
24540 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
24541 <libm-alias-double.h>.
24542 (llrint): Define using libm_alias_double.
24543 (lrint): Likewise.
24544 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
24545 <libm-alias-double.h>.
24546 (llround): Define using libm_alias_double.
24547 (lround): Likewise.
24548 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
24549 <libm-alias-double.h>.
24550 (llround): Define using libm_alias_double.
24551 (lround): Likewise.
24552 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
24553 <libm-alias-double.h>.
24554 (copysign): Define using libm_alias_double.
24555 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
24556 <libm-alias-double.h>.
24557 (llrint): Define using libm_alias_double.
24558 (lrint): Likewise.
24559 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
24560 <libm-alias-double.h>.
24561 (llround): Define using libm_alias_double.
24562 (lround): Likewise.
24563 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
24564 <libm-alias-double.h>.
24565 (llrint): Define using libm_alias_double.
24566 (lrint): Likewise.
24567 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
24568 <libm-alias-double.h>.
24569 (llround): Define using libm_alias_double.
24570 (lround): Likewise.
24571
ec2cf3f4
JM
245722017-12-01 Joseph Myers <joseph@codesourcery.com>
24573
0ddde474
JM
24574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
24575 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
24576 compat symbol based on llround.
24577
0d5ba561
JM
24578 * sysdeps/powerpc/power7/fpu/s_logb.c
24579 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
24580 symbol based on __logb, not on logb.
24581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
24582 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
24583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
24584 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
24585
51ea3b20
JM
24586 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
24587 (rint): Define using libm_alias_double.
24588 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
24589 <libm-alias-double.h>.
24590 (modf): Define using libm_alias_double.
24591 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
24592 <libm-alias-double.h>.
24593 (ceil): Define using libm_alias_double.
24594 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
24595 <libm-alias-double.h>.
24596 (floor): Define using libm_alias_double.
24597 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
24598 <libm-alias-double.h>.
24599 (nearbyint): Define using libm_alias_double.
24600 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
24601 <libm-alias-double.h>.
24602 (rint): Define using libm_alias_double.
24603 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
24604 <libm-alias-double.h>.
24605 (round): Define using libm_alias_double.
24606 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
24607 <libm-alias-double.h>.
24608 (trunc): Define using libm_alias_double.
24609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
24610 <libm-alias-double.h>.
24611 (ceil): Define using libm_alias_double.
24612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
24613 Include <libm-alias-double.h>.
24614 (floor): Define using libm_alias_double.
24615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
24616 <libm-alias-double.h>.
24617 (modf): Define using libm_alias_double.
24618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
24619 Include <libm-alias-double.h>.
24620 (round): Define using libm_alias_double.
24621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
24622 Include <libm-alias-double.h>.
24623 (trunc): Define using libm_alias_double.
24624 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
24625 <libm-alias-double.h>.
24626 (ceil): Define using libm_alias_double.
24627 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
24628 <libm-alias-double.h>.
24629 (floor): Define using libm_alias_double.
24630 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
24631 <libm-alias-double.h>.
24632 (round): Define using libm_alias_double.
24633 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
24634 <libm-alias-double.h>.
24635 (trunc): Define using libm_alias_double.
24636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
24637 <libm-alias-double.h>.
24638 (ceil): Define using libm_alias_double.
24639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
24640 <libm-alias-double.h>.
24641 (floor): Define using libm_alias_double.
24642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
24643 <libm-alias-double.h>.
24644 (modf): Define using libm_alias_double.
24645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
24646 <libm-alias-double.h>.
24647 (round): Define using libm_alias_double.
24648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
24649 <libm-alias-double.h>.
24650 (trunc): Define using libm_alias_double.
24651 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
24652 <libm-alias-double.h>.
24653 (ceil): Define using libm_alias_double.
24654 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
24655 <libm-alias-double.h>.
24656 (floor): Define using libm_alias_double.
24657 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
24658 <libm-alias-double.h>.
24659 (nearbyint): Define using libm_alias_double.
24660 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
24661 <libm-alias-double.h>.
24662 (rint): Define using libm_alias_double.
24663 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
24664 <libm-alias-double.h>.
24665 (round): Define using libm_alias_double.
24666 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
24667 <libm-alias-double.h>.
24668 (trunc): Define using libm_alias_double.
24669 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
24670 <libm-alias-double.h>.
24671 (ceil): Define using libm_alias_double.
24672 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
24673 <libm-alias-double.h>.
24674 (floor): Define using libm_alias_double.
24675 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
24676 <libm-alias-double.h>.
24677 (round): Define using libm_alias_double.
24678 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
24679 <libm-alias-double.h>.
24680 (trunc): Define using libm_alias_double.
24681
ec2cf3f4
JM
24682 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
24683 (fabs): Define using libm_alias_double.
24684 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
24685 (fma): Define using libm_alias_double.
24686 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
24687 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
24688 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
24689 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
24690
5b7bd975
AZ
246912017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24692
0594b13f
AZ
24693 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
24694
dbdfcf3b
AZ
24695 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
24696 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
24697 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
24698
5b7bd975
AZ
24699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
24700 due redirect macro.
24701
ef9ecfa6
AS
247022017-12-01 Andreas Schwab <schwab@linux-m68k.org>
24703
24704 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
24705
5b4e5e78
AZ
247062017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24707
2a14526b
AZ
24708 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
24709 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
24710 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
24711 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
24712
dbeb74ef 24713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1c051a9b
AZ
24714 (libm-sysdep_routines): Add s_nearbyintf-generic and
24715 s_nearbyint-generic.
24716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
24717 New file.
24718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
24719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
24720 Likewise.
24721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
24722 Likewise.
24723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
24724 file.
24725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
24726 Likewise.
24727
24728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
dbeb74ef
AZ
24729 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
24730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
24731 file.
24732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
24733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
24734 Likewise.
24735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
24736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
24737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24738
fa7ded96
AZ
24739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24740 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
24741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
24742 file.
24743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
24744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
24745 Likewise.
24746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
24747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
24748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
24749
e240cf0e
AZ
24750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24751 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
24752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
24753 file.
24754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
24755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
24756 Likewise.
24757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
24758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
24759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24760
5b4e5e78
AZ
24761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24762 (sysdep_calls): New rule.
24763 (sysdep_routines): Use sysdep_calls as base.
24764 (libm-sysdep_routines): Add generic rule for symbols shared with
24765 libc. Add s_copysign-generic and s_copysign-generic objects.
24766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
24767 New file.
24768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
24769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
24770 Likewise.
24771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
24772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
24773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
24774
d985adae
MF
247752017-12-01 Mike FABIAN <mfabian@redhat.com>
24776
24777 [BZ #22519]
24778 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
24779 the list of locales to be built for testing.
24780 * localedata/is_IS.UTF-8.in: New file.
24781 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
24782 on iso14651_t1.
24783
ff84a0e0
JM
247842017-12-01 Joseph Myers <joseph@codesourcery.com>
24785
24786 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
24787 <libm-alias-float.h>.
24788 (fabsf): Define using libm_alias_float.
24789
ef5d8b43
L
247902017-11-30 H.J. Lu <hongjiu.lu@intel.com>
24791
24792 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
24793
c0535adf
JM
247942017-11-30 Joseph Myers <joseph@codesourcery.com>
24795
f938b397
JM
24796 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
24797 <libm-alias-float.h>.
24798 (fabsf): Define using libm_alias_float.
24799 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
24800 <libm-alias-float.h>.
24801 (lrintf): Define using libm_alias_float.
24802 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
24803 <libm-alias-float.h>.
24804 (rintf): Define using libm_alias_float.
24805
2251fad0
JM
24806 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
24807 <libm-alias-double.h>.
24808 (fabs): Define using libm_alias_double.
24809 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
24810 <libm-alias-double.h>.
24811 (lrint): Define using libm_alias_double.
24812 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
24813 <libm-alias-double.h>.
24814 (rint): Define using libm_alias_double.
24815
e53df1de
JM
24816 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
24817 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
24818 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
24819 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
24820 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
24821 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
24822 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
24823 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
24824 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
24825 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
24826 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
24827 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
24828 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
24829 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
24830 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
24831 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
24832 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
24833 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
24834 s_atan_template.c.
24835 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
24836 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
24837 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
24838 s_ceil_template.c.
24839 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
24840 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
24841 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
24842 s_cos_template.c.
24843 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
24844 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
24845 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
24846 s_expm1_template.c.
24847 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
24848 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
24849 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
24850 s_fabs_template.c.
24851 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
24852 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
24853 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
24854 s_floor_template.c.
24855 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
24856 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
24857 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
24858 s_frexp_template.c.
24859 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
24860 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
24861 s_lrint_template.c.
24862 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
24863 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
24864 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
24865 s_modf_template.c.
24866 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
24867 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
24868 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
24869 s_nearbyint_template.c.
24870 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
24871 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
24872 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
24873 s_remquo_template.c.
24874 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
24875 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
24876 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
24877 s_rint_template.c.
24878 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
24879 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
24880 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
24881 s_sin_template.c.
24882 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
24883 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
24884 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
24885 s_sincos_template.c.
24886 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
24887 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
24888 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
24889 s_tan_template.c.
24890 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
24891 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
24892 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
24893 s_tanh_template.c.
24894 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
24895 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
24896 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
24897 s_trunc_template.c.
24898 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
24899 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
24900 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
24901 s_atan.c instead of including s_atan.c.
24902 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
24903 s_atanf.c instead of including s_atanf.c.
24904 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
24905 s_atanl.c instead of including s_atanl.c.
24906 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
24907 instead of s_atan.c.
24908 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
24909 instead of s_atanf.c.
24910 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
24911 instead of s_atanl.c.
24912
c0535adf
JM
24913 * scripts/update-copyrights: Do not handle intl/plural.c
24914 specially.
24915
1faaf703
JB
249162017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
24917
24918 [BZ #22432]
24919 * configure.ac (BISON): Require to be present.
24920 * configure: Regenerated.
24921 * intl/Makefile (generated): Add plural.c.
24922 [$(BISON) != no]: Make code unconditional.
24923 (plural.c): Change rule to $(objpfx)plural.c.
24924 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
24925 * intl/plural.c: Remove.
24926 * manual/install.texi (Tools for Compilation): Document bison as
24927 required.
24928 * INSTALL: Regenerated.
24929
faec6323
JM
249302017-11-30 Joseph Myers <joseph@codesourcery.com>
24931
bd6ea9ed
JM
24932 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
24933 <libm-alias-double.h>.
24934 (llrint): Define using libm_alias_double.
24935 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
24936 <libm-alias-float.h>.
24937 (llrintf): Define using libm_alias_float.
24938 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
24939 <libm-alias-ldouble.h>.
24940 (llrintl): Define using libm_alias_ldouble.
24941
faec6323
JM
24942 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
24943 declare_mgen_alias instead of weak_alias.
24944 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
24945 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
24946 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
24947
023cade3
AZ
249482017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24949
9e2279a0
AZ
24950 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24951 Add add_n-generic.
24952 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
24953 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
24954 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
24955
75f37c71
AZ
24956 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24957 Add submul_1-generic.
24958 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
24959 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
24960 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
24961
b70cbbfc 24962 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
dda1d2e8
AZ
24963 Add addmul_1-generic.
24964 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
24965 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
24966 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
24967
24968 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
b70cbbfc
AZ
24969 Add sub_n-generic.
24970 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
24971 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
24972 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
24973
023cade3
AZ
24974 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24975 Add mul_1-generic.
24976 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
24977 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
24978 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
24979
fbb5fd03
MF
249802017-11-30 Mike FABIAN <mfabian@redhat.com>
24981
24982 According to CLDR, collation rules for Serbian and Bosnian
24983 should be the same as for Croatian.
24984
24985 [BZ #22534]
24986 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
24987 and to the list of locales to be built for testing.
24988 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
24989 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
24990 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
24991 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
24992
5e56e937
MF
249932017-11-30 Mike FABIAN <mfabian@redhat.com>
24994
24995 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
24996 to make test case pass.
24997 * localedata/hr_HR.UTF-8.in: Add more test strings.
24998
cf4341ca
MF
249992017-11-30 Mike FABIAN <mfabian@redhat.com>
25000
25001 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
25002
363e4519 250032017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
9ca6b343
DSN
25004
25005 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
25006 the list of locales to built for testing.
25007 * localedata/hr_HR.UTF-8.in: New file.
25008
363e4519 250092017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
37075ae1
DSN
25010
25011 [BZ #10580]
25012 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
25013 iso14651_t1.
25014 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
25015 CLDR (except use ligatures for the digraphs, CLDR does not use
25016 the ligatures), add first_workday, some fixes in the date and time
25017 formats.
25018 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
25019 for Đ and đ.
25020 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
25021 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
25022 Add int_p_cs_precedes and int_n_cs_precedes.
25023 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
25024 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
25025 LC_MONETARY now).
25026 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
25027 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
25028 name_miss.
25029 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
25030 and lang_lib. Change postal_fmt.
25031
f33632cc
L
250322017-11-30 H.J. Lu <hongjiu.lu@intel.com>
25033
25034 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
25035 <setjmp.h>.
25036 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
25037 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
25038 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
25039 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
25040 * sysdeps/generic/setjmpP.h: New file.
25041 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
25042 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
25043 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
25044 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
25045 Add jmp_buf-ssp.sym.
25046 (tests): Add tst-saved_mask-1.
25047
34697694
AS
250482017-11-30 Arjun Shankar <arjun@redhat.com>
25049
25050 [BZ #22375]
37ac8e63 25051 CVE-2017-17426
34697694
AS
25052 * malloc/malloc.c (__libc_malloc): Use checked_request2size
25053 instead of request2size.
25054
3e5efdbd
JM
250552017-11-30 Joseph Myers <joseph@codesourcery.com>
25056
18305fba
JM
25057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
25058 (__lllrint): Remove alias.
25059 (lllrint): Likewise.
25060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
25061 (__lllrintf): Likewise.
25062 (lllrintf): Likewise.
25063
3e5efdbd
JM
25064 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
25065 <libm-alias-float.h>.
25066 (copysignf): Define using libm_alias_float.
25067 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
25068 <libm-alias-float.h>.
25069 (fabsf): Define using libm_alias_float.
25070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25071 Include <libm-alias-float.h>.
25072 (copysignf): Define using libm_alias_float.
25073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
25074 <libm-alias-float.h>.
25075 (fabsf): Define using libm_alias_float.
25076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
25077 <libm-alias-float.h>.
25078 (fdimf): Define using libm_alias_float.
25079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
25080 <libm-alias-float.h>.
25081 (fmaf): Define using libm_alias_float.
25082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
25083 <libm-alias-float.h>.
25084 (llrintf): Define using libm_alias_float.
25085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
25086 Include <libm-alias-float.h>.
25087 (nearbyintf): Define using libm_alias_float.
25088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
25089 <libm-alias-float.h>.
25090 (rintf): Define using libm_alias_float.
25091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
25092 <libm-alias-float.h>.
25093 (llrintf): Define using libm_alias_float.
25094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
25095 <libm-alias-float.h>.
25096 (lrintf): Define using libm_alias_float.
25097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
25098 <libm-alias-float.h>.
25099 (nearbyintf): Define using libm_alias_float.
25100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
25101 <libm-alias-float.h>.
25102 (rintf): Define using libm_alias_float.
25103 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
25104 <libm-alias-float.h>.
25105 (ceilf): Define using libm_alias_float.
25106 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
25107 <libm-alias-float.h>.
25108 (floorf): Define using libm_alias_float.
25109 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
25110 <libm-alias-float.h>.
25111 (fmaf): Define using libm_alias_float.
25112 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
25113 <libm-alias-float.h>.
25114 (lrintf): Define using libm_alias_float.
25115 (llrintf): Likewise.
25116 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
25117 <libm-alias-float.h>.
25118 (nearbyintf): Define using libm_alias_float.
25119 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
25120 <libm-alias-float.h>.
25121 (rintf): Define using libm_alias_float.
25122 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
25123 <libm-alias-float.h>.
25124 (truncf): Define using libm_alias_float.
25125 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
25126 <libm-alias-float.h>.
25127 (copysignf): Define using libm_alias_float.
25128 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
25129 <libm-alias-float.h>.
25130 (fabsf): Define using libm_alias_float.
25131 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
25132 <libm-alias-float.h>.
25133 (lrintf): Define using libm_alias_float.
25134 (llrintf): Likewise.
25135 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
25136 <libm-alias-float.h>.
25137 (nearbyintf): Define using libm_alias_float.
25138 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
25139 <libm-alias-float.h>.
25140 (rintf): Define using libm_alias_float.
25141
011fba7e
JM
251422017-11-29 Joseph Myers <joseph@codesourcery.com>
25143
875cd548
JM
25144 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
25145 <libm-alias-double.h>.
25146 (copysign): Define using libm_alias_double.
25147 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
25148 <libm-alias-double.h>.
25149 (fabs): Define using libm_alias_double.
25150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25151 Include <libm-alias-double.h>.
25152 (copysign): Define using libm_alias_double.
25153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
25154 <libm-alias-double.h>.
25155 (fabs): Define using libm_alias_double.
25156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
25157 <libm-alias-double.h>.
25158 (fdim): Define using libm_alias_double.
25159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
25160 <libm-alias-double.h>.
25161 (fma): Define using libm_alias_double.
25162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
25163 <libm-alias-double.h>.
25164 (llrint): Define using libm_alias_double.
25165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
25166 Include <libm-alias-double.h>.
25167 (nearbyint): Define using libm_alias_double.
25168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
25169 <libm-alias-double.h>.
25170 (rint): Define using libm_alias_double.
25171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
25172 <libm-alias-double.h>.
25173 (fabs): Define using libm_alias_double.
25174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
25175 <libm-alias-double.h>.
25176 (llrint): Define using libm_alias_double.
25177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
25178 <libm-alias-double.h>.
25179 (nearbyint): Define using libm_alias_double.
25180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
25181 <libm-alias-double.h>.
25182 (rint): Define using libm_alias_double.
25183 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
25184 <libm-alias-double.h>.
25185 (ceil): Define using libm_alias_double.
25186 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
25187 <libm-alias-double.h>.
25188 (floor): Define using libm_alias_double.
25189 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
25190 <libm-alias-double.h>.
25191 (fma): Define using libm_alias_double.
25192 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
25193 <libm-alias-double.h>.
25194 (lrint): Define using libm_alias_double.
25195 (llrint): Likewise.
25196 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
25197 <libm-alias-double.h>.
25198 (nearbyint): Define using libm_alias_double.
25199 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
25200 <libm-alias-double.h>.
25201 (rint): Define using libm_alias_double.
25202 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
25203 <libm-alias-double.h>.
25204 (trunc): Define using libm_alias_double.
25205 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
25206 <libm-alias-double.h>.
25207 (copysign): Define using libm_alias_double.
25208 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
25209 <libm-alias-double.h>.
25210 (fabs): Define using libm_alias_double.
25211 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
25212 <libm-alias-double.h>.
25213 (lrint): Define using libm_alias_double.
25214 (llrint): Likewise.
25215 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
25216 <libm-alias-double.h>.
25217 (nearbyint): Define using libm_alias_double.
25218 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
25219 <libm-alias-double.h>.
25220 (rint): Define using libm_alias_double.
25221
cf4ebc27
JM
25222 [BZ #22229]
25223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
25224 <math_ldbl_opt.h>.
25225 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
25226
0c097378
JM
25227 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
25228 SPARC --disable-multi-arch glibc variants.
25229
34bb10aa
JM
25230 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
25231 <libm-alias-float.h>.
25232 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25233 if [SHARED].
25234 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
25235 <libm-alias-float.h>.
25236 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25237 if [SHARED].
25238 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
25239 <libm-alias-float.h>.
25240 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25241 if [SHARED].
25242 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
25243 <libm-alias-float.h>.
25244 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25245 if [SHARED].
25246 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
25247 <libm-alias-float.h>.
25248 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25249 if [SHARED].
25250 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
25251 <libm-alias-float.h>.
25252 (ceilf): Define using libm_alias_float.
25253 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
25254 <libm-alias-float.h>.
25255 (floorf): Define using libm_alias_float.
25256 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
25257 <libm-alias-float.h>.
25258 (fmaf): Define using libm_alias_float.
25259 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
25260 <libm-alias-float.h>.
25261 (nearbyintf): Define using libm_alias_float.
25262 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
25263 <libm-alias-float.h>.
25264 (rintf): Define using libm_alias_float.
25265 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
25266 <libm-alias-float.h>.
25267 (truncf): Define using libm_alias_float.
25268 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
25269 (copysignf): Define using libm_alias_float.
25270 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
25271 (cosf): Define using libm_alias_float.
25272 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
25273 (fabsf): Define using libm_alias_float.
25274 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
25275 (fmaxf): Define using libm_alias_float.
25276 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
25277 (fminf): Define using libm_alias_float.
25278 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
25279 (llrintf): Define using libm_alias_float.
25280 [!__ILP32__] (lrintf): Likewise.
25281 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
25282 (sincosf): Define using libm_alias_float.
25283 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
25284 (sinf): Define using libm_alias_float.
25285 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
25286 (lrintf): Define using libm_alias_float.
25287
011fba7e
JM
25288 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
25289 <libm-alias-double.h>.
25290 (atan): Define using libm_alias_double.
25291 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
25292 <libm-alias-double.h>.
25293 (ceil): Define using libm_alias_double.
25294 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
25295 <libm-alias-double.h>.
25296 (floor): Define using libm_alias_double.
25297 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
25298 <libm-alias-double.h>.
25299 (fma): Define using libm_alias_double.
25300 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
25301 <libm-alias-double.h>.
25302 (nearbyint): Define using libm_alias_double.
25303 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
25304 <libm-alias-double.h>.
25305 (rint): Define using libm_alias_double.
25306 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
25307 <libm-alias-double.h>.
25308 (sin): Define using libm_alias_double.
25309 (cos): Likewise.
25310 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
25311 <libm-alias-double.h>.
25312 (tan): Define using libm_alias_double.
25313 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
25314 <libm-alias-double.h>.
25315 (trunc): Define using libm_alias_double.
25316 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
25317 (copysign): Define using libm_alias_double.
25318 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
25319 (fabs): Define using libm_alias_double.
25320 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
25321 (fmax): Define using libm_alias_double.
25322 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
25323 (fmin): Define using libm_alias_double.
25324 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
25325 (llrint): Define using libm_alias_double.
25326 [!__ILP32__] (lrint): Likewise.
25327 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
25328 (lrint): Define using libm_alias_double.
25329
1cbd7bfe
AZ
253302017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25331
21bfcc3d
AZ
25332 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
25333 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
25334 objects.
25335 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
25336 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
25337 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
25338 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
25339 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
25340 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
25341
522228dd
AZ
25342 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
25343 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
25344 objects.
25345 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
25346 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
25347 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
25348 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
25349 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
25350 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
25351
2a6f4fab
AZ
25352 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
25353 (libm-sysdep_routines): Add s_nearbyint-generic and
25354 s_nearbyintf-generic objects.
25355 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
25356 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
25357 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
25358 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
25359 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
25360 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
25361
712b5b83
AZ
25362 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
25363 Add s_finitef-generic and s_finite-generic objects.
25364 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
25365 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
25366 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
25367 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
25368 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
25369 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
25370
c96d3335
AZ
25371 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
25372 Add s_isinff-generic and s_isinf-generic objects.
25373 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
25374 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
25375 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
25376 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
25377 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
25378 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
25379
c6862a23
AZ
25380 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
25381 Add s_isnanf-generic and s_isnan-generic objects.
25382 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
25383 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
25384 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
25385 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
25386 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
25387 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
25388
1cbd7bfe
AZ
25389 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
25390 macro.
25391 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
25392 rule.
25393 (sysdep_routines): Use sysdep_calls as base.
25394 (libm-sysdep_routines): Add generic rule for symbols shared with
25395 libc. Add s_signbit-generic and s_signbitf-generic objects.
25396 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
25397 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
25398 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
25399 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
25400 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
25401 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
25402
aa1142c5
JM
254032017-11-29 Joseph Myers <joseph@codesourcery.com>
25404
25405 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
25406 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
25407 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
25408 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
25409 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
25410 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
25411 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
25412 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
25413 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
25414 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
25415 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
25416 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
25417 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
25418 libm_alias_float_r.
25419 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
25420 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
25421 (logf): Likewise.
25422 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
25423 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
25424 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
25425 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
25426 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
25427 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
25428 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
25429 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
25430 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
25431 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
25432 libm_alias_float.
25433 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
25434 (cosf): Likewise.
25435 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
25436 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
25437 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
25438 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
25439 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
25440 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
25441 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
25442 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
25443 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
25444 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
25445 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
25446 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
25447 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
25448 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
25449 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
25450 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
25451 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
25452 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
25453 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
25454 libm_alias_float.
25455 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
25456 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
25457 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
25458 * sysdeps/ia64/fpu/w_lgammaf_main.c
25459 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
25460 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
25461
363e4519
DL
254622017-11-28 Mike FABIAN <mfabian@redhat.com>
25463 Alexandre Oliva <aoliva@redhat.com>
8da25eec
AO
25464
25465 [BZ #17750]
25466 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
25467 * localedata/fr_CA.UTF-8.in: New file with test data for backward
25468 accents sorting.
25469 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
25470 sorting.
25471 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
25472 * localedata/locales/de_DE (LC_COLLATE): Likewise.
25473 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
25474 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
25475 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
25476 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
25477 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
25478 instead of “ifdef DIACRIT_BACKWARD”.
25479
a55430cb
AZ
254802017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25481
25482 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
25483 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
25484 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
25485 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
25486 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
25487 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
25488 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
25489 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
25490 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
25491 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
25492 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
25493 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
25494 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
25495 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
25496 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
25497 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
25498 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
25499 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
25500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25501 ($(have-as-vis3) == yes): Remove conditional.
25502 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
25503 Likewise.
25504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
25505 file.
25506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
25507 file.
25508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
25509 file.
25510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
25511 file.
25512 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
25513 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
25514 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
25515 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
25516 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
25517 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
25518 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
25519 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
25520
0609ec0a
JM
255212017-11-29 Joseph Myers <joseph@codesourcery.com>
25522
25523 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
25524 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
25525 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
25526 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
25527 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
25528 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
25529 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
25530 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
25531 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
25532 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
25533 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
25534 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
25535 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
25536 libm_alias_double_r.
25537 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
25538 (log): Likewise.
25539 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
25540 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
25541 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
25542 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
25543 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
25544 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
25545 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
25546 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
25547 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
25548 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
25549 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
25550 libm_alias_double.
25551 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
25552 (cos): Likewise.
25553 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
25554 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
25555 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
25556 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
25557 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
25558 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
25559 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
25560 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
25561 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
25562 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
25563 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
25564 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
25565 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
25566 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
25567 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
25568 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
25569 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
25570 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
25571 libm_alias_double.
25572 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
25573 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
25574 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
25575 * sysdeps/ia64/fpu/w_lgamma_main.c
25576 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
25577 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
25578
d5bfa34a
JDA
255792017-11-28 John David Anglin <danglin@gcc.gnu.org>
25580
25581 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
25582 address of $global$ into %dp register earlier. Use pc-relative
25583 instruction sequence for PIC case.
25584
bc4e8f9b
JM
255852017-11-28 Joseph Myers <joseph@codesourcery.com>
25586
e4602cba
JM
25587 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
25588 (asinhf): Define using libm_alias_float.
25589 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
25590 (atanf): Define using libm_alias_float.
25591 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
25592 (cbrtf): Define using libm_alias_float.
25593 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
25594 (ceilf): Define using libm_alias_float.
25595 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
25596 (copysignf): Define using libm_alias_float.
25597 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
25598 (expm1f): Define using libm_alias_float.
25599 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
25600 (fabsf): Define using libm_alias_float.
25601 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
25602 (floorf): Define using libm_alias_float.
25603 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
25604 (fmaxf): Define using libm_alias_float.
25605 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
25606 (fminf): Define using libm_alias_float.
25607 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
25608 (frexpf): Define using libm_alias_float.
25609 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
25610 (llrintf): Define using libm_alias_float.
25611 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
25612 (logbf): Define using libm_alias_float.
25613 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
25614 (lrintf): Define using libm_alias_float.
25615 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
25616 (nearbyintf): Define using libm_alias_float.
25617 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
25618 (remquof): Define using libm_alias_float.
25619 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
25620 (rintf): Define using libm_alias_float.
25621 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
25622 (truncf): Define using libm_alias_float.
25623 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
25624 <libm-alias-float.h>.
25625 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25626 if [SHARED].
25627 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
25628 <libm-alias-float.h>.
25629 (expf): Define using libm_alias_float, or libm_alias_float_other
25630 if [SHARED].
25631 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
25632 <libm-alias-float.h>.
25633 (log2f): Define using libm_alias_float, or libm_alias_float_other
25634 if [SHARED].
25635 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
25636 <libm-alias-float.h>.
25637 (logf): Define using libm_alias_float, or libm_alias_float_other
25638 if [SHARED].
25639 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
25640 <libm-alias-float.h>.
25641 (powf): Define using libm_alias_float, or libm_alias_float_other
25642 if [SHARED].
25643 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
25644 <libm-alias-float.h>.
25645 (cosf): Define using libm_alias_float.
25646 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
25647 <libm-alias-float.h>.
25648 (sincosf): Define using libm_alias_float.
25649 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
25650 <libm-alias-float.h>.
25651 (sinf): Define using libm_alias_float.
25652 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
25653 (fmaxf): Define using libm_alias_float.
25654 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
25655 (fminf): Define using libm_alias_float.
25656 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25657 <libm-alias-float.h>.
25658 (fmaf): Define using libm_alias_float.
25659
bc4e8f9b
JM
25660 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
25661 (asinh): Define using libm_alias_double.
25662 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
25663 (atan): Define using libm_alias_double.
25664 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
25665 (cbrt): Define using libm_alias_double.
25666 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
25667 (ceil): Define using libm_alias_double.
25668 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
25669 (copysign): Define using libm_alias_double.
25670 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
25671 (expm1): Define using libm_alias_double.
25672 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
25673 (fabs): Define using libm_alias_double.
25674 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
25675 (fdim): Define using libm_alias_double.
25676 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
25677 (floor): Define using libm_alias_double.
25678 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
25679 (fmax): Define using libm_alias_double.
25680 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
25681 (fmin): Define using libm_alias_double.
25682 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
25683 (frexp): Define using libm_alias_double.
25684 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
25685 (llrint): Define using libm_alias_double.
25686 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
25687 (logb): Define using libm_alias_double.
25688 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
25689 (lrint): Define using libm_alias_double.
25690 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
25691 (nearbyint): Define using libm_alias_double.
25692 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
25693 (remquo): Define using libm_alias_double.
25694 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
25695 (rint): Define using libm_alias_double.
25696 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
25697 (trunc): Define using libm_alias_double.
25698 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
25699 (fmax): Define using libm_alias_double.
25700 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
25701 (fmin): Define using libm_alias_double.
25702 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
25703 (fma): Define using libm_alias_double.
25704
8d81ce0c
L
257052017-11-28 H.J. Lu <hongjiu.lu@intel.com>
25706
25707 [BZ #22370]
25708 * elf/dl-hwcaps.c (ROUND): Removed.
25709 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
25710 and ELF_NOTE_NEXT_OFFSET.
25711 * elf/dl-load.c (ROUND): Removed.
25712 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
25713 * elf/readelflib.c (ROUND): Removed.
25714 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
25715 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
25716 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
25717 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
25718
6940bd96
JM
257192017-11-28 Joseph Myers <joseph@codesourcery.com>
25720
313ba463
JM
25721 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
25722 [!__fmaf] (fmaf): Define using libm_alias_float.
25723
6940bd96
JM
25724 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
25725 [!__fma] (fma): Define using libm_alias_double.
25726 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
25727
22c69b6a
MF
257282017-11-28 Mike FABIAN <mfabian@redhat.com>
25729
25730 [BZ #22336]
25731 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
25732 and implement the collation rules for cs from CLDR on top of that.
25733 * Makefile: Add cs_CZ.UTF-8 to test-input.
25734 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
25735
8d7d3ba8
SP
257362017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
25737
25738 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
25739
0422ed1e
VR
257402017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
25741 Icarus Sparry <icarus.w.sparry@intel.com>
25742
25743 * benchtests/Makefile:Add BENCHSET to allow subsets of
25744 benchmarks to be run.
25745 * benchtests/README: Add documentation for: Running subsets of
25746 benchmarks.
25747
0595e360
VR
257482017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
25749
d5090db3
VR
25750 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
25751 range of tests names.
25752
0595e360
VR
25753 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
25754 result from property and remove "max", min" and "mean" from
25755 required properties based on benchtests/bench-skeleton.c.
25756
b4c645c2
FW
257572017-11-28 Florian Weimer <fweimer@redhat.com>
25758
25759 [BZ #20826]
25760 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
25761 due to Internet requirement.
25762 * posix/Makefile (tests): Remove tst-getaddrinfo4,
25763 tst-getaddrinfo5.
25764 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
25765
88684de7
AZ
257662017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25767
69056564
AZ
25768 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
25769 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
25770 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
25771 (sysdep_routines): Add memset-ultra1.
25772 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
25773 file.
25774 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
25775 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
25776 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
25777 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
25778 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
25779 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
25780 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
25781 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25782
88684de7
AZ
25783 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
25784 file.
25785 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
25786 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
25787 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
25788 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
25789 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
25790 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
25791 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
25792 macro.
25793 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
25794 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
25795 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
25796 (sysdep_routines): Add memcpy-ultra1.
25797 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
25798 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
25799
d8124864
JM
258002017-11-28 Joseph Myers <joseph@codesourcery.com>
25801
f433d0b3
JM
25802 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
25803 (cfloat_versions): Take function argument without trailing 'f'.
25804 Call libm_alias_float_other.
25805 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
25806 * sysdeps/alpha/fpu/cargf.c: Likewise.
25807 * sysdeps/alpha/fpu/cimagf.c: Likewise.
25808 * sysdeps/alpha/fpu/conjf.c: Likewise.
25809 * sysdeps/alpha/fpu/crealf.c: Likewise.
25810 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
25811 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
25812 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
25813 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
25814 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
25815 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
25816 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
25817 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
25818 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
25819 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
25820 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
25821 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
25822 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
25823 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
25824 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
25825 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
25826 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
25827 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
25828 (clog10f): Use libm_alias_float_other.
25829 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
25830 (ceilf): Define using libm_alias_float.
25831 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
25832 (copysignf): Define using libm_alias_float.
25833 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
25834 (fabsf): Define using libm_alias_float.
25835 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
25836 (floorf): Define using libm_alias_float.
25837 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
25838 (fmaxf): Define using libm_alias_float.
25839 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
25840 (fminf): Define using libm_alias_float.
25841 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
25842 (lrintf): Define using libm_alias_float.
25843 (llrintf): Likewise.
25844 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
25845 (lroundf): Define using libm_alias_float.
25846 (llroundf): Likewise.
25847 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
25848 (rintf): Define using libm_alias_float.
25849 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
25850 (truncf): Define using libm_alias_float.
25851
15ff4900
JM
25852 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
25853 (ceilf): Define using libm_alias_float.
25854 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
25855 (floorf): Define using libm_alias_float.
25856 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
25857 (fmaf): Define using libm_alias_float.
25858 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
25859 (fmaxf): Define using libm_alias_float.
25860 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
25861 (fminf): Define using libm_alias_float.
25862 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
25863 (llrintf): Define using libm_alias_float.
25864 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
25865 (llroundf): Define using libm_alias_float.
25866 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
25867 (lrintf): Define using libm_alias_float.
25868 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
25869 (lroundf): Define using libm_alias_float.
25870 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
25871 <libm-alias-float.h>.
25872 (nearbyintf): Define using libm_alias_float.
25873 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
25874 (rintf): Define using libm_alias_float.
25875 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
25876 (roundf): Define using libm_alias_float.
25877 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
25878 (truncf): Define using libm_alias_float.
25879
5de60638
JM
25880 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
25881 (ceil): Define using libm_alias_double.
25882 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
25883 (copysign): Define using libm_alias_double.
25884 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
25885 (fabs): Define using libm_alias_double.
25886 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
25887 (floor): Define using libm_alias_double.
25888 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
25889 (fmax): Define using libm_alias_double.
25890 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
25891 (fmin): Define using libm_alias_double.
25892 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
25893 (lrint): Define using libm_alias_double.
25894 (llrint): Likewise.
25895 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
25896 (lround): Define using libm_alias_double.
25897 (llround): Likewise.
25898 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
25899 (rint): Define using libm_alias_double.
25900 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
25901 (trunc): Define using libm_alias_double.
25902
d8124864
JM
25903 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
25904 (libm_alias_double_r): Add semicolon after weak_alias call.
25905
f07d2ec8
JM
259062017-11-27 Joseph Myers <joseph@codesourcery.com>
25907
25908 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
25909 (ceil): Define using libm_alias_double.
25910 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
25911 (floor): Define using libm_alias_double.
25912 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
25913 (fma): Define using libm_alias_double.
25914 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
25915 (fmax): Define using libm_alias_double.
25916 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
25917 (fmin): Define using libm_alias_double.
25918 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
25919 (llrint): Define using libm_alias_double.
25920 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
25921 (llround): Define using libm_alias_double.
25922 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
25923 (lrint): Define using libm_alias_double.
25924 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
25925 (lround): Define using libm_alias_double.
25926 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
25927 (nearbyint): Define using libm_alias_double.
25928 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
25929 (rint): Define using libm_alias_double.
25930 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
25931 (round): Define using libm_alias_double.
25932 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
25933 (trunc): Define using libm_alias_double.
25934
4bab0224
FW
259352017-11-27 Florian Weimer <fweimer@redhat.com>
25936
25937 * sysdeps/unix/sysv/linux/mlock2.c: New file.
25938 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
25939 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
25940 (tests): Add tst-mlock2.
25941 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
25942 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
25943 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
25944 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
25945 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
25946 for mlock. Document mlock2.
25947
a23aa5b7
JM
259482017-11-27 Joseph Myers <joseph@codesourcery.com>
25949
25950 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
25951 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
25952 Likewise.
25953 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
25954 Likewise.
25955 * sysdeps/x86/Makeconfig: New file.
25956 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
25957 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25958 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
25959 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25960 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25961 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25962 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
25963 Likewise.
25964 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25965 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25966 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25967 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25968 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25969 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25970 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25971 * manual/math.texi (Mathematics): Document support for _Float64x.
25972 * math/Versions (GLIBC_2.27): Add _Float64x functions.
25973 * stdlib/Versions (GLIBC_2.27): Likewise.
25974 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25975 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25976 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25977 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25978 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25979 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25980 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25981 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25982 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25983 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25984 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25985 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25987 Likewise.
25988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25989 Likewise.
25990 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25991 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25992 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25993 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25994 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25995 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25996 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25997 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25998 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25999 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26000 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26001 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26002 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
26003 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26004
c2c299fd
AS
260052017-11-27 Andreas Schwab <schwab@suse.de>
26006
26007 * elf/Makefile (dl-routines): Add dl-sort-maps.
26008 * elf/dl-sort-maps.c: New file.
26009 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
26010 (_dl_sort_maps): Declare.
26011 * elf/dl-fini.c (_dl_sort_fini): Remove.
26012 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
26013 * elf/dl-close.c (_dl_close_worker): Likewise.
26014 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
26015 open-coding it.
26016 * elf/dl-open.c (dl_open_worker): Likewise.
26017
9d4b0117
JM
260182017-11-24 Joseph Myers <joseph@codesourcery.com>
26019
de61465c
JM
26020 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
26021 using libm_alias_float128.
26022 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
26023 Likewise.
26024 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
26025 Likewise.
26026 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
26027 (setpayloadsigf128): Likewise.
26028 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
26029 Likewise.
26030 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
26031 Likewise.
26032
9ae6d171
JM
26033 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
26034 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
26035 -mfloat128 to CFLAGS.
26036 ($(foreach
26037 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
26038 Likewise.
26039 (CFLAGS-libm-test-support-float64x.c): New variable.
26040 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
26041 $(f128-loader-link) to gnulib-tests.
26042
6e70d156
JM
26043 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
26044 (libm_alias_float128_other_r): If
26045 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
26046 alias.
26047 (libm_alias_float128_r): Add semicolon after weak_alias call.
26048 * sysdeps/generic/libm-alias-ldouble.h
26049 (libm_alias_ldouble_other_r_f128): New macro.
26050 (libm_alias_ldouble_other_r_f64x): Likewise.
26051 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
26052 and libm_alias_ldouble_other_r_f64x.
26053 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
26054 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
26055 (libm_alias_ldouble_other_r_f128): New macro.
26056 (libm_alias_ldouble_other_r_f64x): Likewise.
26057 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
26058 and libm_alias_ldouble_other_r_f64x.
26059
df2806cd
JM
26060 * stdlib/strfroml.c: Always include <stdlib.h>.
26061 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
26062 undefine as macro and define as weak alias.
26063 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
26064 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
26065 <stdlib.h>.
26066 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
26067 Define and later undefine as macro and define as weak alias.
26068
0df4fe35
JM
26069 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
26070 Define and later undefine as macro. Define as weak alias if
26071 [!USE_WIDE_CHAR].
26072 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
26073 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
26074 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
26075 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
26076 Define and later undefine as macro. Define as weak alias if
26077 [!USE_WIDE_CHAR].
26078 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
26079 Define and later undefine as macro. Define as weak alias if
26080 [USE_WIDE_CHAR].
26081 * sysdeps/ieee754/float128/strtof128_l.c
26082 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
26083 Define and later undefine as macro. Define as weak alias if
26084 [!USE_WIDE_CHAR].
26085 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
26086 Define and later undefine as macro. Define as weak alias if
26087 [USE_WIDE_CHAR].
26088 * sysdeps/ieee754/ldbl-128/strtold_l.c
26089 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
26090 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26091 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
26092 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
26093 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
26094 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
26095 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26096 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
26097 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
26098 * sysdeps/ieee754/ldbl-96/strtold_l.c
26099 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
26100 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26101 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
26102 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
26103
ae7207d0
JM
26104 * math/test-float64x.h: New file.
26105 * math/Makefile (type-float64x-yes): New variable.
26106 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
26107
9596fc69
JM
26108 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
26109 function-like macro.
26110 (min_of_type_): Likewise.
26111 (min_of_type_l): Likewise.
26112 (min_of_type_f128): Likewise.
26113 (min_of_type): Pass () as last argument of __MATH_TG.
26114
46453c3c
JM
26115 * stdlib/tst-strtod-round-skeleton.c
26116 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
26117 headers.
26118
01e659e7
JM
26119 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
26120 for combinations of long double with _Float64 and _Float64x.
26121
5c60afdd
JM
26122 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
26123 (__DECL_SIMD_cosf32): Likewise.
26124 (__DECL_SIMD_cosf64): Likewise.
26125 (__DECL_SIMD_cosf32x): Likewise.
26126 (__DECL_SIMD_cosf64x): Likewise.
26127 (__DECL_SIMD_cosf128x): Likewise.
26128 (__DECL_SIMD_sinf16): Likewise.
26129 (__DECL_SIMD_sinf32): Likewise.
26130 (__DECL_SIMD_sinf64): Likewise.
26131 (__DECL_SIMD_sinf32x): Likewise.
26132 (__DECL_SIMD_sinf64x): Likewise.
26133 (__DECL_SIMD_sinf128x): Likewise.
26134 (__DECL_SIMD_sincosf16): Likewise.
26135 (__DECL_SIMD_sincosf32): Likewise.
26136 (__DECL_SIMD_sincosf64): Likewise.
26137 (__DECL_SIMD_sincosf32x): Likewise.
26138 (__DECL_SIMD_sincosf64x): Likewise.
26139 (__DECL_SIMD_sincosf128x): Likewise.
26140 (__DECL_SIMD_logf16): Likewise.
26141 (__DECL_SIMD_logf32): Likewise.
26142 (__DECL_SIMD_logf64): Likewise.
26143 (__DECL_SIMD_logf32x): Likewise.
26144 (__DECL_SIMD_logf64x): Likewise.
26145 (__DECL_SIMD_logf128x): Likewise.
26146 (__DECL_SIMD_expf16): Likewise.
26147 (__DECL_SIMD_expf32): Likewise.
26148 (__DECL_SIMD_expf64): Likewise.
26149 (__DECL_SIMD_expf32x): Likewise.
26150 (__DECL_SIMD_expf64x): Likewise.
26151 (__DECL_SIMD_expf128x): Likewise.
26152 (__DECL_SIMD_powf16): Likewise.
26153 (__DECL_SIMD_powf32): Likewise.
26154 (__DECL_SIMD_powf64): Likewise.
26155 (__DECL_SIMD_powf32x): Likewise.
26156 (__DECL_SIMD_powf64x): Likewise.
26157 (__DECL_SIMD_powf128x): Likewise.
26158
9d4b0117
JM
26159 * stdlib/Versions (libc): Move entries for wcstof128 and
26160 wcstof128_l to ....
26161 * wcsmbs/Versions (libc): ... here.
26162 Include <float128-abi.h>.
26163
7911dd47
FW
261642017-11-24 Florian Weimer <fweimer@redhat.com>
26165
26166 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26167 bits/mman-shared.h.
26168 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
26169 <bits/mman-shared.h>.
26170 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
26171 to ...
26172 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
26173 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
26174 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
26175 <bits/mman-shared.h>.
26176
c45d78aa
AZ
261772017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26178
26179 [BZ #22457]
26180 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
26181 posix_memalign/free.
26182 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
26183
3ffc4cc1
MF
261842017-11-22 Mike FABIAN <mfabian@redhat.com>
26185
26186 [BZ #22469]
26187 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
26188 and implement the collation rules for pl from CLDR on top of that.
26189 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
26190 of locales to be built for testing.
26191 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
26192
3a327316
JM
261932017-11-23 Joseph Myers <joseph@codesourcery.com>
26194
26195 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
26196 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
26197 libm_alias_ldouble_other.
26198 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
26199 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
26200 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
26201 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
26202 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
26203 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
26204 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
26205 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
26206 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
26207 libm_alias_ldouble_r.
26208 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
26209 libm_alias_ldouble_other.
26210 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
26211 (log10l): Likewise.
26212 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
26213 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
26214 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
26215 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
26216 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
26217 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
26218 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
26219 (atan2l): Likewise.
26220 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
26221 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
26222 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
26223 libm_alias_ldouble.
26224 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
26225 (cosl): Likewise.
26226 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
26227 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
26228 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
26229 (expl): Likewise.
26230 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
26231 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
26232 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
26233 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
26234 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
26235 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
26236 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
26237 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
26238 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
26239 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
26240 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
26241 libm_alias_ldouble.
26242 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
26243 libm_alias_ldouble_other.
26244 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
26245 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
26246 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
26247 libm_alias_ldouble.
26248 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
26249 libm_alias_ldouble_other.
26250 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
26251 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
26252 * sysdeps/ia64/fpu/w_lgammal_main.c
26253 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
26254 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
26255
0a947e06
FW
262562017-11-23 Florian Weimer <fweimer@redhat.com>
26257
26258 * malloc/malloc.c (tcache_thread_shutdown): Rename from
26259 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
26260 alike. Remove freeres marker.
26261 * malloc/arena.c (arena_thread_freeres): Call
26262 tcache_thread_shutdown.
26263
67f36c79
FW
262642017-11-23 Florian Weimer <fweimer@redhat.com>
26265
26266 [BZ #22459]
26267 Export nscd hash function as __nss_hash.
26268 * include/nss.h (__nss_hash): Declare.
26269 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
26270 symbol.
26271 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
26272 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
26273 of __nscd_hash.
26274 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
26275 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
26276 * nss/Makefiles (routines): Add nss_hash.
26277 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
26278 * nss/nss_hash.c: Rename from nis/nis_hash.c.
26279 (__nss_hash): Rename from __nis_hash. Define hidden alias.
26280 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
26281
cccb6d4e
FW
262822017-11-23 Florian Weimer <fweimer@redhat.com>
26283
26284 [BZ #22478]
26285 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
26286 Return error code, not -1.
26287 * signal/tst-sigwait-eintr.c: New file.
26288 * signal/Makefile (tests): Add tst-sigwait-eintr.
26289
59d2cbb1
FW
262902017-11-23 Florian Weimer <fweimer@redhat.com>
26291
26292 Linux: Add memfd_create system call wrapper
26293 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
26294 tst-memfd_create.
26295 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
26296 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
26297 [__USE_GNU] (memfd_create): Declare.
26298 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
26299 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
26300 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
26301 * sysdeps/unix/sysv/linux/**.abilist: Update.
26302 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
26303
a90d1ac2
JM
263042017-11-22 Joseph Myers <joseph@codesourcery.com>
26305
0a9d1d62
JM
26306 * localedata/gen-locale.sh: Fix typo in variable name.
26307
754034c4
JM
26308 * resolv/res_debug.c (p_secstodate): Condition definition on
26309 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
26310 directly as __p_secstodate, and as a compat symbol. Do not use
26311 libresolv_hidden_def.
26312 * resolv/resolv.h (p_secstodate): Remove macro and function
26313 declaration.
26314 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
26315 using p_secstodate.
26316 * include/resolv.h (__p_secstodate): Do not use
26317 libresolv_hidden_proto.
26318 * resolv/Makefile (tests): Move tst-p_secstodate to ....
26319 (tests-internal): ... here.
26320 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
26321 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
26322 and declare and use __p_secstodate and use compat_symbol_reference
26323 in that case.
26324 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
26325 implementation returning 77.
26326
f120cda6
JM
26327 [BZ #22463]
26328 * resolv/res_debug.c: Include <libc-diag.h>.
26329 (p_secstodate): Assert time_t at least as wide as u_long. On
26330 overflow, use integer seconds since the epoch as output, or use
26331 "<overflow>" as output and set errno to EOVERFLOW if integer
26332 seconds since the epoch would be 14 or more characters.
26333 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
26334 for sprintf call.
26335 * resolv/tst-p_secstodate.c: New file.
26336 * resolv/Makefile (tests): Add tst-p_secstodate.
26337 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
26338
a90d1ac2
JM
26339 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
26340 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
26341 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
26342
0285e6bd
PE
263432017-11-22 Paul Eggert <eggert@cs.ucla.edu>
26344
26345 * posix/regcomp.c (init_word_char): Add comments.
26346
4bae6150
JM
263472017-11-22 Joseph Myers <joseph@codesourcery.com>
26348
26349 [BZ #22447]
26350 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
26351 strlen to compute length of ut_user and set trailing NUL byte of
26352 result explicitly.
26353
4b7af5fc
MF
263542017-11-21 Mike FABIAN <mfabian@redhat.com>
26355
26356 [BZ #15537]
26357 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
26358 using “copy "iso14651_t1"” and then implementing the
26359 collation rules for lv from CLDR on top of that.
26360 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
26361 of locales to be built for testing.
26362 * lv_LV.UTF-8.in: New file with test data to test the Latvian
26363 sorting.
26364
922bb78c
JM
263652017-11-21 Joseph Myers <joseph@codesourcery.com>
26366
26367 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
26368 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
26369 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
26370 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
26371 [__USE_MISC] (MADV_HWPOISON): New macro.
26372 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
26373
a3aaa598
AZ
263742017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26375
26376 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
26377 -Wmissing-braces on GCC 4.9.
26378
8beba15d
SL
263792017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
26380
26381 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
26382 * sysdeps/s390/s390-32/start.S (_start): Likewise
26383 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
26384 (thread_start): Likewise.
26385 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
26386 (thread_start): Likewise.
26387 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
26388 (__makecontext_ret): Likewise.
26389 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
26390 (__makecontext_ret): Likewise.
26391
80eb52e3
SL
263922017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
26393
26394 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
26395 __wcschrnul): Remove attribute_hidden.
26396
567d8c1f
PE
263972017-11-20 Paul Eggert <eggert@cs.ucla.edu>
26398
26399 regex: don't assume uint64_t or uint32_t
26400 This avoids -Werror=overflow errors for 32-bit systems in
26401 the 64-bit case. Problem reported by Joseph Myers in:
26402 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
26403 Also, when this code is used in Gnulib it ports to platforms
26404 that lack uint64_t and uint32_t. The C standard doesn't guarantee
26405 them, and on some 32-bit compilers there is no uint64_t.
26406 Problem reported by Gianluigi Tiesi in:
26407 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
26408 * posix/regcomp.c (init_word_char): Don't assume that the types
26409 uint64_t and uint32_t exist. Adapted from Gnulib patch
26410 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
26411 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
26412
4d7632ff
SP
264132017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
26414
5a67c4fa
SP
26415 * sysdeps/aarch64/memset-reg.h: New file.
26416 * sysdeps/aarch64/memset.S: Use it.
26417 (__memset): Rename to MEMSET macro.
26418 [ZVA_MACRO]: Use zva_macro.
26419 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
26420 Add memset_generic and memset_falkor.
26421 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
26422 (__libc_ifunc_impl_list): Add memset ifuncs.
26423 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
26424 local variable zva_size.
26425 * sysdeps/aarch64/multiarch/memset.c: New file.
26426 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
26427 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
26428 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
26429 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
26430 (DCZID_DZP_MASK): New macro.
26431 (DCZID_BS_MASK): Likewise.
26432 (init_cpu_features): Read and set zva_size.
26433 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
26434 (struct cpu_features): New member zva_size.
26435
eb332f9f
SP
26436 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
26437 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
26438 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
26439
4d7632ff
SP
26440 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
26441 backwards. Fix timing computation.
26442 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
26443 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
26444 on memset by N at a time. Fix timing computation.
26445
a465b89e
FW
264462017-11-20 Florian Weimer <fweimer@redhat.com>
26447
26448 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
26449 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
26450
0f74bbf5
FW
264512017-11-19 Florian Weimer <fweimer@redhat.com>
26452
26453 manual: Document mprotect
26454 * manual/memory.texi (Memory Protection): New section.
26455 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
26456 documentation of PROT_* flags and reference the Memory Protection
26457 section instead.
26458
f6e965ee
FW
264592017-11-19 Florian Weimer <fweimer@redhat.com>
26460
26461 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
26462 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
26463 (Scatter-Gather): ... to here. Remove misleading comment.
26464
363e4519 264652017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
ea69a5c8 26466
5f9d1949
CB
26467 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
26468 style.
26469
ea69a5c8
CB
26470 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
26471 when /proc/<pid>/setgroups does not exist.
26472
8db7f48c
FW
264732017-11-18 Florian Weimer <fweimer@redhat.com>
26474
26475 * sysdeps/unix/sysv/linux/tst-ttyname.c
26476 (become_root_in_mount_ns): Remove.
26477 (do_in_chroot_1): Call support_enter_mount_namespace.
26478 (do_in_chroot_2): Likewise.
26479 (do_test): Call support_become_root early.
26480
273a0c49
FW
264812017-11-18 Florian Weimer <fweimer@redhat.com>
26482
26483 * support/namespace.h (support_enter_mount_namespace): Declare.
26484 * support/support_enter_mount_namespace.c: New file.
26485 * support/Makefile (libsupport-routines): Add
26486 support_enter_mount_namespace.
26487
8adfb0ee
FW
264882017-11-18 Florian Weimer <fweimer@redhat.com>
26489
26490 * support/temp_file.c (support_create_temp_directory): Use
26491 test_dir and do not rely on the presence of the XXXXXX suffix.
26492 * support/temp_file.h (support_create_temp_directory): Update
26493 comment.
26494 * support/tst-xreadlink.c (do_test): Adjust.
26495 * support/support_chroot.c (support_chroot_create): Likewise.
26496
df0c40ee
TMQMF
264972017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26498
26499 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
26500 macro.
26501 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
26502 htm-no-suspend.
26503
015c6dc2
JM
265042017-11-17 Joseph Myers <joseph@codesourcery.com>
26505
f58e5f48
JM
26506 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
26507 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
26508 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
26509 (ceill): Define using libm_alias_ldouble.
26510 * sysdeps/x86_64/fpu/s_copysignl.S: Include
26511 <libm-alias-ldouble.h>.
26512 (copysignl): Define using libm_alias_ldouble.
26513 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
26514 (fabsl): Define using libm_alias_ldouble.
26515 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
26516 (floorl): Define using libm_alias_ldouble.
26517 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
26518 (fmaxl): Define using libm_alias_ldouble.
26519 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
26520 (fminl): Define using libm_alias_ldouble.
26521 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
26522 (llrintl): Define using libm_alias_ldouble.
26523 (lrintl): Likewise.
26524 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
26525 <libm-alias-ldouble.h>.
26526 (nearbyintl): Define using libm_alias_ldouble.
26527 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
26528 (truncl): Define using libm_alias_ldouble.
26529 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
26530 <libm-alias-ldouble.h>.
26531 (lrintl): Define using libm_alias_ldouble.
26532
2ce30701
JM
26533 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
26534 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
26535 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
26536 (asinhl): Define using libm_alias_ldouble.
26537 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
26538 (atanl): Define using libm_alias_ldouble.
26539 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
26540 (cbrtl): Define using libm_alias_ldouble.
26541 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
26542 (ceill): Define using libm_alias_ldouble.
26543 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
26544 (copysignl): Define using libm_alias_ldouble.
26545 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
26546 (fabsl): Define using libm_alias_ldouble.
26547 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
26548 (floorl): Define using libm_alias_ldouble.
26549 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
26550 (fmaxl): Define using libm_alias_ldouble.
26551 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
26552 (fminl): Define using libm_alias_ldouble.
26553 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
26554 (frexpl): Define using libm_alias_ldouble.
26555 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
26556 (llrintl): Define using libm_alias_ldouble.
26557 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
26558 (logbl): Define using libm_alias_ldouble.
26559 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
26560 (lrintl): Define using libm_alias_ldouble.
26561 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
26562 (nearbyintl): Define using libm_alias_ldouble.
26563 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
26564 (nextafterl): Define using libm_alias_ldouble.
26565 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
26566 (remquol): Define using libm_alias_ldouble.
26567 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
26568 (rintl): Define using libm_alias_ldouble.
26569 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
26570 (truncl): Define using libm_alias_ldouble.
26571 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
26572 (fmaxl): Define using libm_alias_ldouble.
26573 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
26574 (fminl): Define using libm_alias_ldouble.
26575
015c6dc2
JM
26576 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
26577 to C syntax instead of availability and properties of types.
26578 * bits/floatn.h [!__ASSEMBLER]: Likewise.
26579 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
26580 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
26581 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
26582 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
26583 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
26584
ce003e5d
FW
265852017-11-17 Florian Weimer <fweimer@redhat.com>
26586
26587 support_become_root: Enable file creation in namespaces.
26588 * support/support_become_root.c (setup_mapping): New function.
26589 (support_become_root): Call it.
26590
e7df6c5c
JM
265912017-11-17 Joseph Myers <joseph@codesourcery.com>
26592
26593 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
26594 macro.
26595
58a813bf
AZ
265962017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26597
26598 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
26599 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
26600
f97773d1
JM
266012017-11-16 Joseph Myers <joseph@codesourcery.com>
26602
6a6aa1f3
JM
26603 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
26604
f97773d1
JM
26605 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
26606 version to 4.14.
26607
a306c790
SP
266082017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
26609
7b0fb870
SP
26610 * INSTALL: Fix botched up regeneration.
26611
26612 * NEWS: Update sourceare link to https.
a306c790
SP
26613 * configure.ac: Likewise.
26614 * crypt/md5test-giant.c: Likewise.
26615 * dlfcn/bug-atexit1.c: Likewise.
26616 * dlfcn/bug-atexit2.c: Likewise.
26617 * localedata/README: Likewise.
26618 * malloc/tst-mallocfork.c: Likewise.
26619 * manual/install.texi: Likewise.
26620 * nptl/tst-pthread-getattr.c: Likewise.
26621 * stdio-common/tst-fgets.c: Likewise.
26622 * stdio-common/tst-fwrite.c: Likewise.
26623 * sunrpc/Makefile: Likewise.
26624 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
26625 * wcsmbs/tst-mbrtowc2.c: Likewise.
7b0fb870
SP
26626 * configure: Regenerate.
26627 * INSTALL: Regenerate.
a306c790 26628
7532837d
MS
266292017-11-15 Martin Sebor <msebor@redhat.com>
26630
26631 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
26632 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
26633 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
26634
495a56fd
LS
266352017-11-15 Luke Shumaker <lukeshu@parabola.nu>
26636
d9611e30
LS
26637 [BZ #22145]
26638 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
26639 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
26640
a09dfc19
LS
26641 [BZ #22145]
26642 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
26643 Defer is_pty check until end of the function.
26644 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26645
2fbce9c2
LS
26646 [BZ #22145]
26647 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
26648 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
26649 (ttyname): Likewise.
26650 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
26651 (__ttyname_r): Likewise.
26652
d10d6cab
LS
26653 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
26654 int to bool.
26655
9b5a8750
LS
26656 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
26657
495a56fd
LS
26658 * manual/terminal.texi (Is It a Terminal):
26659 Mention ENODEV for ttyname and ttyname_r.
26660
fa680dc6
JM
266612017-11-15 Joseph Myers <joseph@codesourcery.com>
26662
78cde19f
JM
26663 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
26664 constant and macro.
26665
fa680dc6
JM
26666 * sysdeps/unix/sysv/linux/bits/mman-linux.h
26667 [__USE_MISC] (MADV_WIPEONFORK): New macro.
26668 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
26669 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
26670 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
26671 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
26672
ad4f43a2
AZ
266732017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26674
1ba1d8a4
AZ
26675 * signal/sigrelse.c (sigrelse): Optimize implementation.
26676
ad4f43a2
AZ
26677 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
26678 (__sigpause): Rely on __sigsuspend to implement single thread
26679 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
26680
d0212d42
JM
266812017-11-15 Joseph Myers <joseph@codesourcery.com>
26682
26683 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
26684 kernel version to 4.14.
26685
2180fee1
SE
266862017-11-15 Steve Ellcey <sellcey@cavium.com>
26687
26688 [BZ #22442]
26689 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
26690 Check if ifname is too long.
26691
cad7ca39
LS
266922017-11-15 Luke Shumaker <lukeshu@parabola.nu>
26693
26694 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
26695
58c9f659
MF
266962017-11-15 Mike FABIAN <mfabian@redhat.com>
26697
26698 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
26699 was accidentally lost.
26700
0fa87c01
MF
267012017-11-15 Mike FABIAN <mfabian@redhat.com>
26702
26703 * localedata/locales/az_IR: Add standard copyright header.
26704
34eb4157
FW
267052017-11-15 Florian Weimer <fweimer@redhat.com>
26706
26707 [BZ #22439]
26708 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
26709 not just the top one. Output a new "subheaps" statistic.
26710
7a9368a1
FW
267112017-11-15 Florian Weimer <fweimer@redhat.com>
26712
26713 [BZ #22408]
26714 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
26715 under the per-arena lock.
26716 * malloc/Makefile (tests): Add tst-malloc_info.
26717 (tst-malloc_info): Link with libpthread.
26718 * malloc/tst-malloc_info.c: New file.
26719
be3a79a3
JM
267202017-11-15 Joseph Myers <joseph@codesourcery.com>
26721
26722 [BZ #21660]
26723 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
26724 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
26725 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
26726 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
26727 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
26728 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
26729 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
26730 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
26731 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
26732 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
26733 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
26734 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
26735 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
26736 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
26737 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
26738 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
26739 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
26740 (__floating_type): Likewise.
26741 (__real_integer_type): Likewise.
26742 (__complex_integer_type): Likewise.
26743 (__expr_is_real): Likewise.
26744 (__tgmath_real_type_sub): Likewise.
26745 (__tgmath_real_type): Likewise.
26746 (__tgmath_complex_type_sub): Likewise.
26747 (__tgmath_complex_type): Likewise.
26748 (__TGMATH_F128): Likewise.
26749 (__TGMATH_CF128): Likewise.
26750 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
26751 new macros.
26752 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
26753 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
26754 Likewise.
26755 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
26756 Likewise.
26757 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
26758 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
26759 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
26760 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
26761 Likewise.
26762 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
26763 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
26764 Likewise.
26765 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
26766 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
26767 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
26768 Likewise.
26769 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
26770 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
26771 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
26772 (cimag): Likewise.
26773 (creal): Likewise.
26774
ec72135e
JM
267752017-11-14 Joseph Myers <joseph@codesourcery.com>
26776
2e64ec9c
JM
26777 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
26778 for stpncpy calls for GCC 8.
26779 (test_strncat): Disable -Wstringop-truncation warning for strncat
26780 calls for GCC 8. Disable -Wstringop-overflow= warning for one
26781 strncat call for GCC 7.
26782 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
26783 calls for GCC 8.
26784 (test_memcmp): Use memcpy instead of strncpy for calls not copying
26785 trailing NUL.
26786
ec72135e
JM
26787 * string/bug-strncat1.c: Include <libc-diag.h>.
26788 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
26789
363e4519 267902017-11-13 Claude Paroz <claude@2xlibre.net>
a259f5d3
CP
26791
26792 [BZ #22387]
26793 * localedata/locales/aa_DJ: Improved readibility by replacing
26794 <Uxxxx> sequences in the ASCII printable range by their ASCII
26795 character equivalents.
26796 * localedata/locales/aa_ER: Likewise.
26797 * localedata/locales/aa_ER@saaho: Likewise.
26798 * localedata/locales/aa_ET: Likewise.
26799 * localedata/locales/af_ZA: Likewise.
26800 * localedata/locales/agr_PE: Likewise.
26801 * localedata/locales/ak_GH: Likewise.
26802 * localedata/locales/am_ET: Likewise.
26803 * localedata/locales/anp_IN: Likewise.
26804 * localedata/locales/ar_AE: Likewise.
26805 * localedata/locales/ar_BH: Likewise.
26806 * localedata/locales/ar_DZ: Likewise.
26807 * localedata/locales/ar_EG: Likewise.
26808 * localedata/locales/ar_IN: Likewise.
26809 * localedata/locales/ar_IQ: Likewise.
26810 * localedata/locales/ar_JO: Likewise.
26811 * localedata/locales/ar_KW: Likewise.
26812 * localedata/locales/ar_LB: Likewise.
26813 * localedata/locales/ar_LY: Likewise.
26814 * localedata/locales/ar_MA: Likewise.
26815 * localedata/locales/ar_OM: Likewise.
26816 * localedata/locales/ar_QA: Likewise.
26817 * localedata/locales/ar_SA: Likewise.
26818 * localedata/locales/ar_SD: Likewise.
26819 * localedata/locales/ar_SS: Likewise.
26820 * localedata/locales/ar_SY: Likewise.
26821 * localedata/locales/ar_TN: Likewise.
26822 * localedata/locales/ar_YE: Likewise.
26823 * localedata/locales/as_IN: Likewise.
26824 * localedata/locales/ast_ES: Likewise.
26825 * localedata/locales/ayc_PE: Likewise.
26826 * localedata/locales/az_AZ: Likewise.
26827 * localedata/locales/az_IR: Likewise.
26828 * localedata/locales/be_BY: Likewise.
26829 * localedata/locales/be_BY@latin: Likewise.
26830 * localedata/locales/bem_ZM: Likewise.
26831 * localedata/locales/ber_DZ: Likewise.
26832 * localedata/locales/ber_MA: Likewise.
26833 * localedata/locales/bg_BG: Likewise.
26834 * localedata/locales/bhb_IN: Likewise.
26835 * localedata/locales/bho_IN: Likewise.
26836 * localedata/locales/bi_VU: Likewise.
26837 * localedata/locales/bn_BD: Likewise.
26838 * localedata/locales/bn_IN: Likewise.
26839 * localedata/locales/bo_CN: Likewise.
26840 * localedata/locales/bo_IN: Likewise.
26841 * localedata/locales/br_FR: Likewise.
26842 * localedata/locales/brx_IN: Likewise.
26843 * localedata/locales/bs_BA: Likewise.
26844 * localedata/locales/byn_ER: Likewise.
26845 * localedata/locales/ca_AD: Likewise.
26846 * localedata/locales/ca_ES: Likewise.
26847 * localedata/locales/ca_FR: Likewise.
26848 * localedata/locales/ca_IT: Likewise.
26849 * localedata/locales/ce_RU: Likewise.
26850 * localedata/locales/chr_US: Likewise.
26851 * localedata/locales/cmn_TW: Likewise.
26852 * localedata/locales/crh_UA: Likewise.
26853 * localedata/locales/cs_CZ: Likewise.
26854 * localedata/locales/csb_PL: Likewise.
26855 * localedata/locales/cv_RU: Likewise.
26856 * localedata/locales/cy_GB: Likewise.
26857 * localedata/locales/da_DK: Likewise.
26858 * localedata/locales/de_AT: Likewise.
26859 * localedata/locales/de_BE: Likewise.
26860 * localedata/locales/de_CH: Likewise.
26861 * localedata/locales/de_DE: Likewise.
26862 * localedata/locales/de_IT: Likewise.
26863 * localedata/locales/de_LI: Likewise.
26864 * localedata/locales/de_LU: Likewise.
26865 * localedata/locales/doi_IN: Likewise.
26866 * localedata/locales/dv_MV: Likewise.
26867 * localedata/locales/dz_BT: Likewise.
26868 * localedata/locales/el_CY: Likewise.
26869 * localedata/locales/el_GR: Likewise.
26870 * localedata/locales/en_AG: Likewise.
26871 * localedata/locales/en_AU: Likewise.
26872 * localedata/locales/en_BW: Likewise.
26873 * localedata/locales/en_CA: Likewise.
26874 * localedata/locales/en_DK: Likewise.
26875 * localedata/locales/en_GB: Likewise.
26876 * localedata/locales/en_HK: Likewise.
26877 * localedata/locales/en_IE: Likewise.
26878 * localedata/locales/en_IL: Likewise.
26879 * localedata/locales/en_IN: Likewise.
26880 * localedata/locales/en_NG: Likewise.
26881 * localedata/locales/en_NZ: Likewise.
26882 * localedata/locales/en_PH: Likewise.
26883 * localedata/locales/en_SG: Likewise.
26884 * localedata/locales/en_US: Likewise.
26885 * localedata/locales/en_ZA: Likewise.
26886 * localedata/locales/en_ZM: Likewise.
26887 * localedata/locales/en_ZW: Likewise.
26888 * localedata/locales/eo: Likewise.
26889 * localedata/locales/es_AR: Likewise.
26890 * localedata/locales/es_BO: Likewise.
26891 * localedata/locales/es_CL: Likewise.
26892 * localedata/locales/es_CO: Likewise.
26893 * localedata/locales/es_CR: Likewise.
26894 * localedata/locales/es_CU: Likewise.
26895 * localedata/locales/es_DO: Likewise.
26896 * localedata/locales/es_EC: Likewise.
26897 * localedata/locales/es_ES: Likewise.
26898 * localedata/locales/es_GT: Likewise.
26899 * localedata/locales/es_HN: Likewise.
26900 * localedata/locales/es_MX: Likewise.
26901 * localedata/locales/es_NI: Likewise.
26902 * localedata/locales/es_PA: Likewise.
26903 * localedata/locales/es_PE: Likewise.
26904 * localedata/locales/es_PR: Likewise.
26905 * localedata/locales/es_PY: Likewise.
26906 * localedata/locales/es_SV: Likewise.
26907 * localedata/locales/es_US: Likewise.
26908 * localedata/locales/es_UY: Likewise.
26909 * localedata/locales/es_VE: Likewise.
26910 * localedata/locales/et_EE: Likewise.
26911 * localedata/locales/eu_ES: Likewise.
26912 * localedata/locales/eu_ES@euro: Likewise.
26913 * localedata/locales/fa_IR: Likewise.
26914 * localedata/locales/ff_SN: Likewise.
26915 * localedata/locales/fi_FI: Likewise.
26916 * localedata/locales/fil_PH: Likewise.
26917 * localedata/locales/fo_FO: Likewise.
26918 * localedata/locales/fr_BE: Likewise.
26919 * localedata/locales/fr_CA: Likewise.
26920 * localedata/locales/fr_CH: Likewise.
26921 * localedata/locales/fr_FR: Likewise.
26922 * localedata/locales/fr_LU: Likewise.
26923 * localedata/locales/fur_IT: Likewise.
26924 * localedata/locales/fy_DE: Likewise.
26925 * localedata/locales/fy_NL: Likewise.
26926 * localedata/locales/ga_IE: Likewise.
26927 * localedata/locales/gd_GB: Likewise.
26928 * localedata/locales/gez_ER: Likewise.
26929 * localedata/locales/gez_ET: Likewise.
26930 * localedata/locales/gl_ES: Likewise.
26931 * localedata/locales/gu_IN: Likewise.
26932 * localedata/locales/gv_GB: Likewise.
26933 * localedata/locales/ha_NG: Likewise.
26934 * localedata/locales/hak_TW: Likewise.
26935 * localedata/locales/he_IL: Likewise.
26936 * localedata/locales/hi_IN: Likewise.
26937 * localedata/locales/hif_FJ: Likewise.
26938 * localedata/locales/hne_IN: Likewise.
26939 * localedata/locales/hr_HR: Likewise.
26940 * localedata/locales/hsb_DE: Likewise.
26941 * localedata/locales/ht_HT: Likewise.
26942 * localedata/locales/hu_HU: Likewise.
26943 * localedata/locales/hy_AM: Likewise.
26944 * localedata/locales/i18n: Likewise.
26945 * localedata/locales/ia_FR: Likewise.
26946 * localedata/locales/id_ID: Likewise.
26947 * localedata/locales/ig_NG: Likewise.
26948 * localedata/locales/ik_CA: Likewise.
26949 * localedata/locales/is_IS: Likewise.
26950 * localedata/locales/it_CH: Likewise.
26951 * localedata/locales/it_IT: Likewise.
26952 * localedata/locales/iu_CA: Likewise.
26953 * localedata/locales/ja_JP: Likewise.
26954 * localedata/locales/ka_GE: Likewise.
26955 * localedata/locales/kk_KZ: Likewise.
26956 * localedata/locales/kl_GL: Likewise.
26957 * localedata/locales/kn_IN: Likewise.
26958 * localedata/locales/ko_KR: Likewise.
26959 * localedata/locales/kok_IN: Likewise.
26960 * localedata/locales/ks_IN: Likewise.
26961 * localedata/locales/ks_IN@devanagari: Likewise.
26962 * localedata/locales/ku_TR: Likewise.
26963 * localedata/locales/kw_GB: Likewise.
26964 * localedata/locales/ky_KG: Likewise.
26965 * localedata/locales/lb_LU: Likewise.
26966 * localedata/locales/lg_UG: Likewise.
26967 * localedata/locales/li_BE: Likewise.
26968 * localedata/locales/li_NL: Likewise.
26969 * localedata/locales/lij_IT: Likewise.
26970 * localedata/locales/ln_CD: Likewise.
26971 * localedata/locales/lo_LA: Likewise.
26972 * localedata/locales/lt_LT: Likewise.
26973 * localedata/locales/lv_LV: Likewise.
26974 * localedata/locales/lzh_TW: Likewise.
26975 * localedata/locales/mag_IN: Likewise.
26976 * localedata/locales/mai_IN: Likewise.
26977 * localedata/locales/mg_MG: Likewise.
26978 * localedata/locales/mhr_RU: Likewise.
26979 * localedata/locales/mi_NZ: Likewise.
26980 * localedata/locales/mk_MK: Likewise.
26981 * localedata/locales/ml_IN: Likewise.
26982 * localedata/locales/mn_MN: Likewise.
26983 * localedata/locales/mni_IN: Likewise.
26984 * localedata/locales/mr_IN: Likewise.
26985 * localedata/locales/ms_MY: Likewise.
26986 * localedata/locales/mt_MT: Likewise.
26987 * localedata/locales/my_MM: Likewise.
26988 * localedata/locales/nan_TW: Likewise.
26989 * localedata/locales/nan_TW@latin: Likewise.
26990 * localedata/locales/nb_NO: Likewise.
26991 * localedata/locales/nds_DE: Likewise.
26992 * localedata/locales/nds_NL: Likewise.
26993 * localedata/locales/ne_NP: Likewise.
26994 * localedata/locales/nhn_MX: Likewise.
26995 * localedata/locales/niu_NU: Likewise.
26996 * localedata/locales/niu_NZ: Likewise.
26997 * localedata/locales/nl_AW: Likewise.
26998 * localedata/locales/nl_BE: Likewise.
26999 * localedata/locales/nl_NL: Likewise.
27000 * localedata/locales/nn_NO: Likewise.
27001 * localedata/locales/nr_ZA: Likewise.
27002 * localedata/locales/nso_ZA: Likewise.
27003 * localedata/locales/oc_FR: Likewise.
27004 * localedata/locales/om_ET: Likewise.
27005 * localedata/locales/om_KE: Likewise.
27006 * localedata/locales/or_IN: Likewise.
27007 * localedata/locales/os_RU: Likewise.
27008 * localedata/locales/pa_IN: Likewise.
27009 * localedata/locales/pa_PK: Likewise.
27010 * localedata/locales/pap_AW: Likewise.
27011 * localedata/locales/pap_CW: Likewise.
27012 * localedata/locales/pl_PL: Likewise.
27013 * localedata/locales/ps_AF: Likewise.
27014 * localedata/locales/pt_BR: Likewise.
27015 * localedata/locales/pt_PT: Likewise.
27016 * localedata/locales/quz_PE: Likewise.
27017 * localedata/locales/raj_IN: Likewise.
27018 * localedata/locales/ro_RO: Likewise.
27019 * localedata/locales/ru_RU: Likewise.
27020 * localedata/locales/ru_UA: Likewise.
27021 * localedata/locales/rw_RW: Likewise.
27022 * localedata/locales/sa_IN: Likewise.
27023 * localedata/locales/sat_IN: Likewise.
27024 * localedata/locales/sc_IT: Likewise.
27025 * localedata/locales/sd_IN: Likewise.
27026 * localedata/locales/sd_IN@devanagari: Likewise.
27027 * localedata/locales/se_NO: Likewise.
27028 * localedata/locales/sgs_LT: Likewise.
27029 * localedata/locales/shs_CA: Likewise.
27030 * localedata/locales/si_LK: Likewise.
27031 * localedata/locales/sid_ET: Likewise.
27032 * localedata/locales/sk_SK: Likewise.
27033 * localedata/locales/sl_SI: Likewise.
27034 * localedata/locales/sm_WS: Likewise.
27035 * localedata/locales/so_DJ: Likewise.
27036 * localedata/locales/so_ET: Likewise.
27037 * localedata/locales/so_KE: Likewise.
27038 * localedata/locales/so_SO: Likewise.
27039 * localedata/locales/sq_AL: Likewise.
27040 * localedata/locales/sq_MK: Likewise.
27041 * localedata/locales/sr_ME: Likewise.
27042 * localedata/locales/sr_RS: Likewise.
27043 * localedata/locales/sr_RS@latin: Likewise.
27044 * localedata/locales/ss_ZA: Likewise.
27045 * localedata/locales/st_ZA: Likewise.
27046 * localedata/locales/sv_FI: Likewise.
27047 * localedata/locales/sv_SE: Likewise.
27048 * localedata/locales/sw_KE: Likewise.
27049 * localedata/locales/sw_TZ: Likewise.
27050 * localedata/locales/szl_PL: Likewise.
27051 * localedata/locales/ta_IN: Likewise.
27052 * localedata/locales/ta_LK: Likewise.
27053 * localedata/locales/tcy_IN: Likewise.
27054 * localedata/locales/te_IN: Likewise.
27055 * localedata/locales/tg_TJ: Likewise.
27056 * localedata/locales/th_TH: Likewise.
27057 * localedata/locales/the_NP: Likewise.
27058 * localedata/locales/ti_ER: Likewise.
27059 * localedata/locales/ti_ET: Likewise.
27060 * localedata/locales/tig_ER: Likewise.
27061 * localedata/locales/tk_TM: Likewise.
27062 * localedata/locales/tl_PH: Likewise.
27063 * localedata/locales/tn_ZA: Likewise.
27064 * localedata/locales/to_TO: Likewise.
27065 * localedata/locales/tpi_PG: Likewise.
27066 * localedata/locales/tr_CY: Likewise.
27067 * localedata/locales/tr_TR: Likewise.
27068 * localedata/locales/ts_ZA: Likewise.
27069 * localedata/locales/tt_RU: Likewise.
27070 * localedata/locales/tt_RU@iqtelif: Likewise.
27071 * localedata/locales/ug_CN: Likewise.
27072 * localedata/locales/uk_UA: Likewise.
27073 * localedata/locales/unm_US: Likewise.
27074 * localedata/locales/ur_IN: Likewise.
27075 * localedata/locales/ur_PK: Likewise.
27076 * localedata/locales/uz_UZ: Likewise.
27077 * localedata/locales/uz_UZ@cyrillic: Likewise.
27078 * localedata/locales/ve_ZA: Likewise.
27079 * localedata/locales/vi_VN: Likewise.
27080 * localedata/locales/wa_BE: Likewise.
27081 * localedata/locales/wae_CH: Likewise.
27082 * localedata/locales/wal_ET: Likewise.
27083 * localedata/locales/wo_SN: Likewise.
27084 * localedata/locales/xh_ZA: Likewise.
27085 * localedata/locales/yi_US: Likewise.
27086 * localedata/locales/yo_NG: Likewise.
27087 * localedata/locales/yue_HK: Likewise.
27088 * localedata/locales/yuw_PG: Likewise.
27089 * localedata/locales/zh_CN: Likewise.
27090 * localedata/locales/zh_HK: Likewise.
27091 * localedata/locales/zh_SG: Likewise.
27092 * localedata/locales/zh_TW: Likewise.
27093 * localedata/locales/zu_ZA: Likewise.
27094
cae87e64
FW
270952017-11-13 Florian Weimer <fweimer@redhat.com>
27096
27097 * support/next_to_fault.h, support/next_to_fault.c: New files.
27098 * support/Makefile (libsupport-routines): Add next_to_fault.
27099 * resolv/tst-inet_pton.c (struct next_to_fault)
27100 (next_to_fault_allocate, next_to_fault_free): Remove.
27101 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
27102
4a306ef1
L
271032017-11-13 H.J. Lu <hongjiu.lu@intel.com>
27104
27105 * elf/dl-support.c: Include <dl-procruntime.c>.
27106 * include/link.h: Include <link_map.h>.
27107 * sysdeps/generic/dl-procruntime.c: New file.
27108 * sysdeps/generic/link_map.h: Likewise.
27109 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
27110 the writable ld.so namespace.
27111
e69897bf
PE
271122017-11-12 Paul Eggert <eggert@cs.ucla.edu>
27113
27114 timezone: pacify GCC -Wstringop-truncation
27115 Problem reported by Martin Sebor in:
27116 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
27117 * timezone/zic.c (writezone): Use memcpy, not strncpy.
27118
1ffe1ccb
FW
271192017-11-12 Florian Weimer <fweimer@redhat.com>
27120
eceed671
FW
27121 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
27122 tst-xreadlink.
27123 (tests): Add tst-xreadlink.
1ffe1ccb
FW
27124 * support/support.h (xstrndup): Declare.
27125 * support/xunistd.h (xunlink, xreadlink): Declare.
27126 * support/temp_file.h (support_create_temp_directory): Declare.
27127 * support/temp_file.c (support_create_temp_directory): New function.
27128 * support/support_chroot.c (support_chroot_create): Use it.
27129 * support/xreadlink.c: New file.
27130 * support/xstrndup.c: Likewise.
27131 * support/xunlink.c: Likewise.
27132 * support/tst-xreadlink.c: Likewise.
27133
456b40a9
JDA
271342017-11-11 John David Anglin <danglin@gcc.gnu.org>
27135
27136 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
27137
c0a25aa9
FW
271382017-11-11 Florian Weimer <fweimer@redhat.com>
27139
27140 [BZ #22409]
27141 [BZ #22412]
27142 * resolv/res_comp.c (printable_string, binary_hnok)
27143 (binary_leading_dash): New functions.
27144 (res_hnok): Reimplement using these functions and ns_name_pton.
27145 (res_ownok): Likewise.
27146 (res_mailok): Reimplement using printable_string, ns_name_pton and
27147 binary_hnok.
27148 (res_dnok): Reimplement using printable_string and ns_name_pton.
27149 * resolv/tst-res_hnok.c (tests): Add additional tests.
27150 (LETTERDIGITS, PRINTABLE): Define.
27151 (do_test): Adjust one_char results.
27152
9e0ad304
FW
271532017-11-11 Florian Weimer <fweimer@redhat.com>
27154
27155 [BZ #22413]
27156 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
27157 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
27158
e2a9fca8
FW
271592017-11-11 Florian Weimer <fweimer@redhat.com>
27160
27161 * resolv/tst-ns_name_pton.c: New file.
27162 * resolv/Makefile (tests): Add tst-ns_name_pton.
27163 (tst-ns_name_pton): Link against libresolv.
27164
5c1a6923
FW
271652017-11-11 Florian Weimer <fweimer@redhat.com>
27166
27167 * resolv/tst-res_hnok.c: New file.
27168 * resolv/Makefile (tests): Add tst-res_hnok.
27169 (tst-res_hnok): Link against libresolv.
27170
a19c0a1d
FW
271712017-11-11 Florian Weimer <fweimer@redhat.com>
27172
27173 * resolv/tst-resolv-network.c: Use test framework instead explicit
27174 main function.
27175
8cb5295d
L
271762017-11-09 H.J. Lu <hongjiu.lu@intel.com>
27177
27178 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
27179 <jmp_buf-macros.h>.
27180 [!_ISOMAC] (STR_HELPER): New.
27181 [!_ISOMAC] (STR): Likewise.
27182 [!_ISOMAC] (TEST_SIZE): Likewise.
27183 [!_ISOMAC] (TEST_ALIGN): Likewise.
27184 [!_ISOMAC] (TEST_OFFSET): Likewise.
27185 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
27186 field offsets of jmp_buf as well as sigjmp_buf.
27187 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
27188 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
27189 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
27190 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
27191 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
27192 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
27193 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
27194 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
27195 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
27196 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
27197 Likewise.
27198 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
27199 Likewise.
27200 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
27201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
27202 Likewise.
27203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
27204 Likewise.
27205 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
27206 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
27207 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
27208 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
27209 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
27210 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
27211 Likewise.
27212 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
27213 Likewise.
27214 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
27215 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
27216 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
27217
58c4a161
JM
272182017-11-07 Joseph Myers <joseph@codesourcery.com>
27219
3683b423
JM
27220 * include/float.h
27221 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27222 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
27223 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27224 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
27225 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27226 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
27227 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27228 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
27229 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27230 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
27231 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27232 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
27233 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27234 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
27235 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27236 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
27237 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27238 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
27239 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27240 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
27241 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27242 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
27243 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27244 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
27245 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27246 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
27247 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27248 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
27249 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27250 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
27251 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27252 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
27253 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27254 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
27255 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27256 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
27257 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27258 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
27259 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27260 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
27261 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27262 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
27263 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27264 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
27265 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27266 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
27267 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27268 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
27269 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27270 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
27271 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27272 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
27273 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27274 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
27275 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27276 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
27277 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27278 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
27279 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27280 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
27281 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27282 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
27283 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27284 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
27285 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27286 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
27287 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27288 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
27289 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27290 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
27291 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27292 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
27293 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27294 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
27295 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27296 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
27297 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27298 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
27299 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27300 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
27301 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27302 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
27303 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27304 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
27305 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27306 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
27307 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27308 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
27309
58c4a161
JM
27310 * stdlib/tst-strtod.h (F16): New macro.
27311 (F32): Likewise.
27312 (F64): Likewise.
27313 (F32X): Likewise.
27314 (F64X): Likewise.
27315 (F128X): Likewise.
27316 (IF_FLOAT16): Likewise.
27317 (IF_FLOAT32): Likewise.
27318 (IF_FLOAT64): Likewise.
27319 (IF_FLOAT32X): Likewise.
27320 (IF_FLOAT64X): Likewise.
27321 (IF_FLOAT128X): Likewise.
27322 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
27323 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
27324 (STRTOD_TEST_FOREACH): Likewise.
27325 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
27326 (CHOOSE_f64): Likewise.
27327 (CHOOSE_f32x): Likewise.
27328 (CHOOSE_f64x): Likewise.
27329
feda96a1
AS
273302017-11-07 Andreas Schwab <schwab@suse.de>
27331
27332 * nptl/Makefile (tests-internal): Remove tst-typesizes.
27333
1bd0cbb8
MF
273342017-11-07 Mike FABIAN <mfabian@redhat.com>
27335
27336 [BZ #22403]
27337 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
27338 to be escaped.
27339 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
27340 to be escaped.
27341
363e4519 273422017-11-07 Claude Paroz <claude@2xlibre.net>
d8301314
CP
27343
27344 [BZ #22403]
27345 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
27346 to be escaped.
27347 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
27348 to be escaped.
27349 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
27350 to be escaped.
27351
dff91cd4
AZ
273522017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27353
06be6368
AZ
27354 [BZ #22298]
27355 * nptl/allocatestack.c (allocate_stack): Check if
27356 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
27357 __PTHREAD_MUTEX_HAVE_PREV is defined.
27358 * nptl/descr.h (pthread): Likewise.
27359 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
27360 Likewise.
27361 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
27362 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
27363 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
27364 * sysdeps/nptl/bits/thread-shared-types.h
27365 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
27366 defines.
27367 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
27368 of __WORDSIZE for internal layout.
27369 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
27370 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
27371 instead of __WORDSIZE whether to use an union for __spins and __list
27372 fields.
27373 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
27374 case.
27375 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
27376 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
27377 defines.
27378 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
27379 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27380 Likewise.
27381 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
27382 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27383 Likewise.
27384 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
27385 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27386 Likewise.
27387 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
27388 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27389 Likewise.
27390 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
27391 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27392 Likewise.
27393 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
27394 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27395 Likewise.
27396 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
27397 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27398 Likewise.
27399 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
27400 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27401 Likewise.
27402 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
27403 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27404 Likewise.
27405 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
27406 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27407 Likewise.
27408 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
27409 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27410 Likewise.
27411 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
27412 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27413 Likewise.
27414 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
27415 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27416 Likewise.
27417 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
27418 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27419 Likewise.
27420
72b3c6ee
AZ
27421 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
27422 New macros.
27423 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
27424 checks for expected input type size.
27425 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
27426 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
27427 Likewise.
27428 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
27429 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
27430 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
27431 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
27432 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
27433 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
27434 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
27435 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
27436 superflous runtime assert check.
27437 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
27438 Likewise.
27439 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
27440 Likewise.
27441 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
27442 Likewise.
27443 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
27444 Likewise.
27445 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
27446 Likewise.
27447 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
27448 Likewise.
27449 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
27450 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
27451 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
27452 Likewise.
27453 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
27454 Likewise.
27455 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
27456 Likewise.
27457 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
27458 Likewise.
27459 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
27460 Likewise.
27461 * nptl/pthread_attr_setinheritsched.c
27462 (__pthread_attr_setinheritsched): Likewise.
27463 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
27464 Likewise.
27465 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
27466 Likewise.
27467 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
27468 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
27469 __old_pthread_attr_setstack): Likewise.
27470 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
27471 Likewise.
27472 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
27473 Likewise.
27474 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
27475 Likewise.
27476 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
27477 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
27478 Likewise.
27479 * nptl/tst-typesizes.c: Remove file.
27480
dff91cd4
AZ
27481 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
27482 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
27483 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
27484 checks for internal pthread_mutex_t offsets.
27485 * sysdeps/aarch64/nptl/pthread-offsets.h
27486 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
27487 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
27488 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
27489 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
27490 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
27491 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
27492 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
27493 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
27494 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
27495 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
27496 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
27497 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
27498 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
27499 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
27500 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
27501 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
27502 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
27503 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
27504
b7fc95f8
FW
275052017-11-07 Florian Weimer <fweimer@redhat.com>
27506
27507 * bits/mman-linux.h: Move ...
27508 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
27509 comment.
27510 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
27511 outdated comment.
27512
6b860364
RS
275132017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27514
27515 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
27516 Redefine STRNLEN as __strnlen_power8.
27517
802c1f16
AZ
275182017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27519
d83da3a4
AZ
27520 * signal/sighold.c (sighold): Optimize implementation.
27521
6a4235f1
AZ
27522 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
27523 __NR_rt_sigqueueinfo.
27524
8b0e795a
AZ
27525 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
27526 __sigtimedwait.
27527 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
27528 assume __NR_rt_sigtimedwait.
27529 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
27530 and add LIBC_CANCEL_HANDLED for cancellation marking.
27531 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
27532
a1a638dd
AZ
27533 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
27534 (sysdeps_routines): Add memchr_noneon.
27535 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
27536 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
27537 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
27538 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
27539 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
27540 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
27541 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
27542
802c1f16
AZ
27543 * sysdeps/arm/arm-ifunc.h: New file.
27544 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
27545 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
27546 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
27547 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
27548 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
27549 (__memcpy_neon): Avoid create hidden alias.
27550 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
27551 (__memcpy_vfp): Likewise.
27552 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
27553 (sysdep_routines): Add memcpy_arm.
27554 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
27555
abcb584d
L
275562017-11-06 H.J. Lu <hongjiu.lu@intel.com>
27557
27558 [BZ #22362]
27559 * Makerules (make-link-multidir): New.
27560 * config.make.in (multidir): New.
27561 * configure.ac (libc_cv_multidir): New. AC_SUBST.
27562 * configure: Regenerated.
27563 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
27564 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
27565 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
27566 New target.
27567
4e2dff67
JM
275682017-11-06 Joseph Myers <joseph@codesourcery.com>
27569
27570 [BZ #22402]
27571 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
27572 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
27573
a1c7cd3c
MF
275742017-11-04 Mike FABIAN <mfabian@redhat.com>
27575
27576 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
27577 to be escaped.
27578
b9af29c0
FW
275792017-11-04 Florian Weimer <fweimer@redhat.com>
27580
27581 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
27582
4ca70e1a
JM
275832017-11-03 Joseph Myers <joseph@codesourcery.com>
27584
27585 * math/math.h [__HAVE_DISTINCT_FLOAT16
27586 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
27587 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
27588 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
27589 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
27590 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
27591 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
27592 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
27593 (__MATH_TG_F32): New macro.
27594 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
27595 (__MATH_TG_F64X): Likewise.
27596 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
27597 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
27598
ba0e6668
DL
275992017-11-03 Dmitry V. Levin <ldv@altlinux.org>
27600
27601 * po/de.po: Update translations.
27602 * po/ru.po: Likewise.
27603
bc18a6d3
FW
276042017-11-03 Florian Weimer <fweimer@redhat.com>
27605
27606 * manual/filesys.texi (Hard Links): Document linkat.
27607
97255170
JM
276082017-11-03 Joseph Myers <joseph@codesourcery.com>
27609
86ec4865
JM
27610 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
27611 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
27612 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
27613 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
27614 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
27615 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
27616 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
27617 the same as _Float128.
27618 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
27619 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
27620 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
27621
97255170
JM
27622 * stdlib/stdlib.h
27623 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
27624 Declare.
27625 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
27626 Likewise.
27627 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
27628 Likewise.
27629 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27630 (strtof32x): Likewise.
27631 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27632 (strtof64x): Likewise.
27633 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27634 (strtof128x): Likewise.
27635 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27636 (strfromf16): Likewise.
27637 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27638 (strfromf32): Likewise.
27639 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27640 (strfromf64): Likewise.
27641 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27642 (strfromf32x): Likewise.
27643 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27644 (strfromf64x): Likewise.
27645 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27646 (strfromf128x): Likewise.
27647 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
27648 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
27649 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
27650 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
27651 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
27652 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
27653
6d58ce5e
RH
276542017-11-03 Richard Henderson <rth@twiddle.net>
27655
27656 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
27657
659ca267
SN
276582017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27659
27660 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
27661
94d2f0af
SN
276622017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27663
27664 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
27665 DT_TLSDESC_GOT initialization.
27666 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
27667 (_dl_tlsdesc_resolve_hold): Likewise.
27668 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
27669 (_dl_tlsdesc_resolve_hold): Likewise.
27670 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
27671 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
27672
28e1ddf3
SN
276732017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27674
27675 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
27676
0ca3d1d6
SN
276772017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27678
27679 [BZ #18572]
27680 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
27681 non-lazily for R_ARM_TLS_DESC.
27682
2c1d4e5f
SN
276832017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27684
27685 [BZ #17078]
27686 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
27687 R_ARM_TLS_DESC case.
27688 (elf_machine_lazy_rel): Remove the prelink check.
27689
91c5a366
SN
276902017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27691
27692 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
27693 DT_TLSDESC_GOT initialization.
27694 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
27695 (_dl_tlsdesc_resolve_rela): Likewise.
27696 (_dl_tlsdesc_resolve_hold): Likewise.
27697 (_dl_tlsdesc_undefweak): Remove ldar.
27698 (_dl_tlsdesc_dynamic): Likewise.
27699 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
27700 (_dl_tlsdesc_resolve_rela): Likewise.
27701 (_dl_tlsdesc_resolve_hold): Likewise.
27702 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
27703 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
27704 (_dl_tlsdesc_resolve_rela): Likewise.
27705 (_dl_tlsdesc_resolve_hold): Likewise.
27706
b7cf203b
SN
277072017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27708
27709 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
27710 binding and initialization non-lazily for R_AARCH64_TLSDESC.
27711
0cc5b022
SN
277122017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27713
27714 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
27715 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27716
43ddff2e
JM
277172017-11-02 Joseph Myers <joseph@codesourcery.com>
27718
27719 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
27720 Declare.
27721 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
27722 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
27723 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
27724 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
27725 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
27726 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
27727 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
27728 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
27729 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
27730 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
27731 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
27732
5baac970
MF
277332017-11-02 Mike FABIAN <mfabian@redhat.com>
27734
27735 [BZ #22382]
27736 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
27737 * localedata/locales/tpi_PG: Add standard header.
27738
ef11081f
FW
277392017-11-02 Florian Weimer <fweimer@redhat.com>
27740
27741 test-errno-linux: quotactl can fail with EPERM in containers.
27742 * sysdeps/unix/sysv/linux/test-errno-linux.c
27743 (LIST, LIST_FORWARD): New macros.
27744 (check_error_in_list): New function.
27745 (test_wrp_rv): Accept list of permitted error codes.
27746 (test_wrp_rv2): Remove.
27747 (test_wrp): Call test_wrp_rv with list of error codes.
27748 (test_wrp2): Accept list of error codes.
27749 (do_test): Adjust. Allow EPERM for quotactl.
27750
d10b132b
FW
277512017-11-02 Florian Weimer <fweimer@redhat.com>
27752
27753 * stdio-common/bug16.c (do_test): Use array_length.
27754 * stdio-common/errlist.c (_sys_nerr): Likewise.
27755 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
27756 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
27757 * stdio-common/psiginfo.c (psiginfo): Use array_length.
27758 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
27759 (do_test): Use array_length.
27760 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
27761 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
27762 * stdio-common/tst-printf-round.c (do_test): Likewise.
27763 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
27764 (CHECK): Use array_length.
27765 * stdio-common/tstdiomisc.c (t3, F): Likewise.
27766 * stdio-common/tstscanf.c (main): Likewise.
27767 * stdio-common/vfprintf.c (process_string_arg): Likewise.
27768
c94a5688
FW
277692017-11-02 Florian Weimer <fweimer@redhat.com>
27770
27771 Add array_length and array_end macros.
27772 * include/array_length.h: New file.
27773
2fac6a6c
FW
277742017-11-02 Florian Weimer <fweimer@redhat.com>
27775
27776 [BZ #22332]
27777 * posix/tst-glob-tilde.c (do_noescape): New variable.
27778 (one_test): Process it.
27779 (do_test): Set do_noescape. Add unescaping test case.
27780
2f1b212e
JM
277812017-11-01 Joseph Myers <joseph@codesourcery.com>
27782
260fbd0a
JM
27783 * math/complex.h
27784 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
27785 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
27786 with appropriate macros defined and undefined.
27787 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
27788 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27789 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
27790 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27791 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
27792 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27793 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
27794 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27795 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
27796 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27797
2f1b212e
JM
27798 * math/complex.h
27799 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
27800 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
27801 that for long double. Do not condition define and undefine of
27802 _Mdouble_complex_ on [__CFLOAT128].
27803
95b93c6e
L
278042017-11-01 H.J. Lu <hongjiu.lu@intel.com>
27805
27806 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
27807 of <sysdeps/generic/sysdep.h>.
27808 (ALIGNARG): Removed.
27809 (ASM_SIZE_DIRECTIVE): Likewise.
27810 (ENTRY): Likewise.
27811 (END): Likewise.
27812 (ENTRY_CHK): Likewise.
27813 (END_CHK): Likewise.
27814 (syscall_error): Likewise.
27815 (mcount): Likewise.
27816 (PSEUDO_END): Likewise.
27817 (L): Likewise.
27818 (atom_text_section): Likewise.
27819 * sysdeps/x86/sysdep.h: New file.
27820 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
27821 of <sysdeps/generic/sysdep.h>.
27822 (ALIGNARG): Removed.
27823 (ASM_SIZE_DIRECTIVE): Likewise.
27824 (ENTRY): Likewise.
27825 (END): Likewise.
27826 (ENTRY_CHK): Likewise.
27827 (END_CHK): Likewise.
27828 (syscall_error): Likewise.
27829 (mcount): Likewise.
27830 (PSEUDO_END): Likewise.
27831 (L): Likewise.
27832 (atom_text_section): Likewise.
27833
1bb36539
RL
278342017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
27835
27836 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
27837 category of LC_CTYPE set to "i18n:2012".
27838 * localedata/locales/i18n_ctype: Regenerate.
27839
067f5d97 278402017-10-31 Yury Norov <ynorov@caviumnetworks.com>
e8681faa 27841
87bbc4cf
YN
27842 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
27843 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
27844 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
27845 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
27846
e8681faa
YN
27847 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
27848 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
27849 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
27850 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
27851
540af6e2
JM
278522017-10-31 Joseph Myers <joseph@codesourcery.com>
27853
43e66283
JM
27854 * math/complex.h
27855 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
27856 New macro.
27857 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
27858 Likewise.
27859 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
27860 Likewise.
27861 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27862 (CMPLXF32X): Likewise.
27863 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27864 (CMPLXF64X): Likewise.
27865 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27866 (CMPLXF128X): Likewise.
27867
540af6e2
JM
27868 * math/math.h
27869 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
27870 (__MATH_EVAL_FMT2): Define to add 0.0f.
27871
58af72b4
AM
278722017-10-31 Alan Modra <amodra@gmail.com>
27873
27874 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
27875 include sysdep.h.
27876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
27877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
27878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
27879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
27880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
27881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
27882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
27883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
27884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
27885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
27886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
27887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
27888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
27889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
27890 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
27891 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
27892 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
27893 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
27894 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
27895 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
27896 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
27897 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
27898 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
27899 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
27900 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
27901 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
27902 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
27903 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
27904 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
27905 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
27906 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
27907 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
27908 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
27909 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
27910 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
27911 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
27912 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
27913 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
27914 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
27915 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
27916 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
27917 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
27918 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
27919 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
27920 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
27921 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
27922 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
27923 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
27924 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
27925 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
27926 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
27927 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
27928 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
27929 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
27930 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
27931 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
27932 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
27933 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
27934 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
27935 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
27936 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
27937 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
27938 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
27939 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
27940 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
27941 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
27942 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
27943 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
27944 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
27945
27946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
27947 include sysdep.h and math_ldbl_opt.h.
27948
27949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
27950 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
27951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
27952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
27953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
27954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
27955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
27956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
27957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
27958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
27959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
27960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
27961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
27962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
27963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
27964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
27965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
27966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
27967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
27968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
27969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
27970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
27971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
27972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
27973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
27974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
27975
112f30b3
AM
279762017-10-31 Alan Modra <amodra@gmail.com>
27977
27978 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
27979 string/strncase_l.c, not string/strncase.c.
27980 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
27981 (libc_hidden_def): Redefine.
27982
e9e7eced
AM
279832017-10-31 Alan Modra <amodra@gmail.com>
27984
27985 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
27986 (__STRCMP, STRCMP, __strcasecmp_l): Define.
27987 (__strcasecmp): Don't define.
27988
f7b465cf
AM
279892017-10-31 Alan Modra <amodra@gmail.com>
27990
27991 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
27992 IS_IN (libc).
27993 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
27994 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
27995 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
27996
d46b09f9
AM
279972017-10-31 Alan Modra <amodra@gmail.com>
27998
27999 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
28000 USE_AS_STPNCPY.
28001
e9b8e194
AM
280022017-10-31 Alan Modra <amodra@gmail.com>
28003
28004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
28005 Redefine only when SHARED.
28006
eda162dd
JM
280072017-10-30 Joseph Myers <joseph@codesourcery.com>
28008
b61afe8c
JM
28009 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
28010 Include <bits/math-finite.h> with appropriate macros defined and
28011 undefined.
28012 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
28013 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
28014 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
28015 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
28016 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
28017
eda162dd
JM
28018 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
28019 [!_Mlong_double_] (_Mlong_double_): Likewise.
28020 [!_Mfloat16_] (_Mfloat16_): Likewise.
28021 [!_Mfloat32_] (_Mfloat32_): Likewise.
28022 [!_Mfloat64_] (_Mfloat64_): Likewise.
28023 [!_Mfloat128_] (_Mfloat128_): Likewise.
28024 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
28025 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
28026 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
28027 (_Mdouble_): Define without indirection through those macros.
28028 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
28029 [!_Mfloat128_] (_Mfloat128_): Likewise.
28030 [_Mlong_double_] (_Mlong_double_): Likewise.
28031 (_Mdouble_): Define without indirection through those macros.
28032 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
28033 not add -D_Mlong_double_=double.
28034 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
28035 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
28036
4ad5106e
L
280372017-10-30 H.J. Lu <hongjiu.lu@intel.com>
28038
28039 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
28040
fe326df7
L
280412017-10-30 H.J. Lu <hongjiu.lu@intel.com>
28042
28043 * sysdeps/x86/libc-start.c: Reformat.
28044
c5cc4514
L
280452017-10-30 H.J. Lu <hongjiu.lu@intel.com>
28046
28047 [BZ #22353]
28048 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
28049 (1): Renamed to ...
28050 (L(Src0)): This.
28051 (L(Src1)): New.
28052 (L(Src2)): Likewise.
28053 (L(1)): Renamed to ...
28054 (L(Src3)): This.
28055
ce12269f
JM
280562017-10-30 Joseph Myers <joseph@codesourcery.com>
28057
28058 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
28059 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
28060 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
28061 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
28062 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
28063 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
28064 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
28065 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
28066 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
28067 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
28068 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
28069 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
28070 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
28071 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
28072 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
28073 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
28074 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
28075 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
28076 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
28077 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
28078 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
28079 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
28080 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
28081 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
28082 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
28083 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
28084 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
28085 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
28086 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
28087 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
28088 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
28089 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
28090 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
28091 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
28092 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
28093 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
28094 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
28095 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
28096 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
28097 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
28098 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
28099 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
28100 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
28101 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
28102 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
28103 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
28104 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
28105 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
28106 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
28107 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
28108 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
28109 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
28110 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
28111 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
28112 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
28113 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
28114 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
28115 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
28116 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
28117 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
28118 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
28119 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
28120 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
28121 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
28122 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
28123 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
28124
4484b9e2
FW
281252017-10-30 Florian Weimer <fweimer@redhat.com>
28126
28127 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
28128 always defined.
28129 * io/tst-mkdirat.c (do_test): Likewise.
28130 * io/tst-mkfifoat.c (do_test): Likewise.
28131 * io/tst-mknodat.c (do_test): Likewise.
28132 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
28133 * locale/programs/locale.c (select_dirs): Likewise.
28134 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
28135 * posix/bug-glob2.c (my_readdir): Likewise.
28136 * posix/tst-dir.c (main): Likewise.
28137 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
28138 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
28139
68fe16dd
FW
281402017-10-30 Florian Weimer <fweimer@redhat.com>
28141
28142 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
28143 just __USE_GNU.
28144
dadf23f0
FW
281452017-10-30 Florian Weimer <fweimer@redhat.com>
28146
28147 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
28148 Convert to support/test-driver.c.
28149 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
28150 New macro parameters.
28151 (PRINTF): Remove macro. Use test_verbose conditionals instead.
28152 * posix/tst-gnuglob.c: New file.
28153 * posix/tst-gnuglob64.c: Likewise.
28154 * posix/Makefile (tests): Add tst-gnuglob64.
28155
363e4519 281562017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
fbcecc08
MF
28157
28158 [BZ #19485]
28159 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
28160 and use a better translation for March in “mon”.
28161 * localedata/locales/csb_PL: Use more ASCII to improve the
28162 readability of the source.
28163
b110af82
MF
281642017-10-30 Mike FABIAN <mfabian@redhat.com>
28165
28166 [BZ #13953]
28167 * localedata/locales/km_KH: Use ASCII as much
28168 as possible for better readability of the source and
28169 remove useless comments.
28170 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
28171 was commented out and apparently wrong anyway because it was
28172 using Lao characters. If Buddhist era should be used
28173 for km_KH, a native speaker should write the correct formaat
28174 for Khmer.
28175 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
28176 (According to CLDR, the first weekday for Cambodia is Sunday).
28177 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
28178 (These were using Lao characters which must be wrong. If we get
28179 the correct data from a native speaker, we could add it back, until
28180 then it is better not to have name_mr and name_mrs at all than
28181 having it wrong).
28182
f301e533
RL
281832017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
28184
28185 * locale/loadlocale.c: Correct size of
28186 _nl_value_type_LC_<category> arrays.
28187
7e9d7073
JM
281882017-10-27 Joseph Myers <joseph@codesourcery.com>
28189
28190 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
28191 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
28192 with appropriate macros defined and undefined.
28193 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
28194 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
28195 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
28196 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
28197 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
28198
63d3b468
L
281992017-10-27 H.J. Lu <hongjiu.lu@intel.com>
28200
28201 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
28202 "-O2 -march=i586".
28203
a4cc02c7
MF
282042017-10-27 Mike FABIAN <mfabian@redhat.com>
28205
28206 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
28207 with lowercase letters to make it agree with CLDR.
28208
1e5971ec
MF
282092017-10-27 Mike FABIAN <mfabian@redhat.com>
28210
28211 [BZ #15260]
28212 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
28213 first letters of yesstr and nostr in yesexpr and noexpr,
28214 not for the full words.
28215 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
28216 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
28217 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
28218 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
28219 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
28220 first letters of yesstr and nostr in yesexpr and noexpr,
28221 until now only English was matched in yesexpr and noexpr.
28222 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
28223 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
28224 fil but not for tl. As tl and fil are very similar, using fil
28225 is probably better than using English.
28226
363e4519 282272017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
bc5fc7de
MF
28228
28229 [BZ #21706]
28230 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
28231 in yesstr and nostr.
28232
5d220788
JM
282332017-10-26 Joseph Myers <joseph@codesourcery.com>
28234
ecc7da5b
JM
28235 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
28236 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
28237 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
28238 Likewise.
28239 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
28240 Likewise.
28241 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
28242 Likewise.
28243 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
28244 Likewise.
28245 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28246 (SNANF128X): Likewise.
28247
5d220788
JM
28248 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
28249 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
28250 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28251 (HUGE_VAL_F32): Likewise.
28252 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28253 (HUGE_VAL_F64): Likewise.
28254 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28255 (HUGE_VAL_F32X): Likewise.
28256 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28257 (HUGE_VAL_F64X): Likewise.
28258 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28259 (HUGE_VAL_F128X): Likewise.
28260
363e4519 282612017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
67ad7163
TV
28262
28263 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
28264 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
28265 for the br_FR locale.
28266
363e4519 282672017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
408dff7e
TV
28268
28269 [BZ #21706]
28270 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
28271
337ff3c5
CD
282722017-10-25 Carlos O'Donell <carlos@redhat.com>
28273
02eec681
CD
28274 * locale/programs/record-status.h: Define globals, and function
28275 prototypes. Move function bodies...
28276 * locale/programs/record-status.c: ... to here. New file.
28277 * iconv/Makefile (iconv_prog-modules): Add record-status.
28278 * locale/Makefile (lib-modules): Likewise.
28279 * iconv/iconv_prog.c: Remove verbose.
28280 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
28281 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
28282 record a warning about ASCII compatibility.
28283 * locale/programs/ld-monetary.c (monetary_finish): If
28284 warn_int_curr_symbol is true then record a warning about the symbol
28285 not being in our ISO 4217 list.
28286 * locale/programs/locale.c: Include record-status.h. Remove verbose.
28287 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
28288 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
28289 (OPT_NO_WARN): Define.
28290 (OPT_WARN): Define.
28291 (options): Add entry for --no-warnings, and --warnings.
28292 (set_warnings): New function to enable/disable warnings.
28293 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
28294 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
28295 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
28296 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
28297 Pass flags to generate_locale.
28298 (generate_locale): Accept new flag argument and pass it to localedef
28299 invocation.
28300 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
28301 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
28302
56fa555a
CD
28303 * localedata/Makefile (test-input-data): Use full file name.
28304 * localedata/da_DK.in: Rename to...
28305 * localedata/da_DK.ISO-8859-1.in: ...this.
28306 * localedata/de_DE.in: Rename to...
28307 * localedata/de_DE.ISO-8859-1.in: ...this.
28308 * localedata/en_US.in: Rename to...
28309 * localedata/en_US.ISO-8859-1.in: ...this.
28310 * localedata/fr_FR.in: Rename to...
28311 * localedata/fr_FR.UTF-8.in: ... this.
28312 * localedata/hr_HR.in: Rename to...
28313 * localedata/hr_HR.ISO-8859-2.in: ...this.
28314 * localedata/hu_HU.in: Rename to...
28315 * localedata/hu_HU.UTF-8.in: ...this.
28316 * localedata/si_LK.in: Rename to...
28317 * localedata/si_LK.UTF-8.in: ...this.
28318 * localedata/sv_SE.in: Rename to...
28319 * localedata/sv_SE.ISO-8859-1.in: ...this.
28320 * localedata/tr_TR.in: Rename to...
28321 * localedata/tr_TR.UTF-8.in: ...this.
28322 * localedata/uk_UA.in: Rename to...
28323 * localedata/uk_UA.UTF-8.in: ...this.
28324 * localedata/sort-test.sh: Test file is locale name with the
28325 suffix.
28326
337ff3c5
CD
28327 * localedata/unicode-gen/Makefile (check_i18n): Rename to
28328 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
28329 file.
28330 * localedata/locales/i18n_ctype: Regenerate.
28331 * localedata/locales/tr_TR: Likewise.
28332 * localedata/locales/translit_circle: Likewise.
28333 * localedata/locales/translit_cjk_compat: Likewise.
28334 * localedata/locales/translit_combining: Likewise.
28335 * localedata/locales/translit_compat: Likewise.
28336 * localedata/locales/translit_font: Likewise.
28337 * localedata/locales/translit_fraction: Likewise.
28338
63da5cd4
RS
283392017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28340
28341 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
28342 lxvd2x/stxvd2x with lvx/stvx.
28343 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
28344
a122dbfb
L
283452017-10-25 H.J. Lu <hongjiu.lu@intel.com>
28346
28347 * include/alloc_buffer.h: Replace "if if " with "if " in
28348 comments.
28349 * sysdeps/mips/memcpy.S: Likkewise.
28350 * sysdeps/mips/memset.S: Likewise.
28351 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
28352 Likewise.
28353 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
28354 Likewise.
28355 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
28356 Likewise.
28357
9be7530c
MF
283582017-10-25 Mike FABIAN <mfabian@redhat.com>
28359
28360 [BZ #15261]
28361 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
28362 yesexpr and noexpr.
28363 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
28364 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
28365 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
28366 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
28367 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
28368 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
28369 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
28370
6ccbf6ff
MF
283712017-10-25 Mike FABIAN <mfabian@redhat.com>
28372
28373 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
28374 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
28375 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
28376 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
28377 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
28378 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
28379 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
28380 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
28381 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
28382 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
28383 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
28384 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
28385
58b1a7ea
MF
283862017-10-25 Mike FABIAN <mfabian@redhat.com>
28387
28388 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
28389 as possible for better readability of the source.
28390 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
28391 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
28392 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
28393 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
28394 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
28395 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
28396 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
28397 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
28398 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
28399 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
28400 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
28401 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
28402 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
28403 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
28404 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
28405 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
28406 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
28407 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
28408 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
28409 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
28410 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
28411 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
28412 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
28413 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
28414 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
28415 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
28416 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
28417 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
28418 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
28419 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
28420 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
28421 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
28422 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
28423 * localedata/locales/en_US (LC_MESSAGES): Likewise.
28424 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
28425 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
28426 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
28427 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
28428 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
28429 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
28430 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
28431 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
28432 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
28433 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
28434 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
28435 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
28436 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
28437 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
28438 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
28439 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
28440 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
28441 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
28442 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
28443 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
28444 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
28445 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
28446 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
28447 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
28448 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
28449 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
28450 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
28451 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
28452 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
28453 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
28454 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
28455 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
28456 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
28457 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
28458 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
28459 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
28460 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
28461 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
28462 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
28463 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
28464 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
28465 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
28466 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
28467 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
28468 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
28469 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
28470 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
28471 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
28472 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
28473 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
28474 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
28475 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
28476 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
28477 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
28478 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
28479 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
28480 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
28481 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
28482 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
28483 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
28484 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
28485 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
28486 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
28487 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
28488 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
28489 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
28490 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
28491 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
28492 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
28493 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
28494 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
28495 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
28496 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
28497 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
28498 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
28499 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
28500 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
28501 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
28502 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
28503 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
28504 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
28505 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
28506 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
28507 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
28508 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
28509 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
28510 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
28511 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
28512 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
28513 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
28514 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
28515 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
28516 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
28517 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
28518 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
28519 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
28520 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
28521 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
28522 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
28523 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
28524 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
28525 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
28526 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
28527 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
28528 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
28529 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
28530 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
28531 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
28532 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
28533 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
28534 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
28535 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
28536 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
28537 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
28538 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
28539 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
28540 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
28541 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
28542 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
28543 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
28544 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
28545 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
28546 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
28547 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
28548 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
28549 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
28550 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
28551 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
28552 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
28553 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
28554 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
28555 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
28556 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
28557 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
28558 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
28559 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
28560 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
28561 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
28562 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
28563 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
28564
17e78edb
MF
285652017-10-25 Mike FABIAN <mfabian@redhat.com>
28566
28567 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
28568 (Use first letters of yesstr and nostr correctly instead of using
28569 full words).
28570
74e7284f
MF
285712017-10-25 Mike FABIAN <mfabian@redhat.com>
28572
28573 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
28574 (Use first letters of yesstr and nostr correctly).
28575
b41a0ff1
MF
285762017-10-25 Mike FABIAN <mfabian@redhat.com>
28577
28578 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
28579 also check for the first characters of yesstr and nostr.
28580 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
28581 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
28582
d971f380
MF
285832017-10-25 Mike FABIAN <mfabian@redhat.com>
28584
28585 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
28586 also check for Chinese characters.
28587
effc9e1d
MF
285882017-10-25 Mike FABIAN <mfabian@redhat.com>
28589
28590 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
28591 match also for the contents of yesstr and nostr. As the first letter
28592 of yesstr and nostr is equal, checking only for the first letter
28593 is not enough.
28594
10320881
MF
285952017-10-25 Mike FABIAN <mfabian@redhat.com>
28596
28597 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
28598 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
28599
d8682a15
MF
286002017-10-25 Mike FABIAN <mfabian@redhat.com>
28601
28602 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
28603 of main contributor.
28604
1bfb86ae
MF
286052017-10-25 Mike FABIAN <mfabian@redhat.com>
28606
28607 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
28608 instead of using English.
28609
da33d60b
MF
286102017-10-25 Mike FABIAN <mfabian@redhat.com>
28611
28612 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
28613 by including the first letters of nostr and yesexpr in the regexp.
28614 Also make it more readable by using ASCII where possible.
28615
725bbb3e
MF
286162017-10-25 Mike FABIAN <mfabian@redhat.com>
28617
28618 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
28619 the first letter of nostr in the regexp. It agrees with CLDR now.
28620 Also make it more readable by using ASCII where possible.
28621
fe043d8a
MF
286222017-10-24 Mike FABIAN <mfabian@redhat.com>
28623
28624 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
28625 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
28626 these strings contain a U+17D6 (which somewhat looks like a colon)
28627 instead of a real colon to separate the full words for “yes”
28628 and “no” from the single letter responses.
28629
360a8df3
MF
286302017-10-24 Mike FABIAN <mfabian@redhat.com>
28631
28632 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
28633 it agree with CLDR (include the first letter of yesstr).
28634 Also make it more readable by using ASCII where possible.
28635
bab7b6b0
MF
286362017-10-24 Mike FABIAN <mfabian@redhat.com>
28637
28638 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
28639 and improve yesexpr and noexpr. The yesstr and nostr apparently
28640 came from CLDR. And CLDR has a bug there: these strings contain
28641 a U+0903 (which looks like a colon) instead of a real colon
28642 to separate the full words for “yes” and “no” from the single
28643 letter responses.
28644
3e79f758
MF
286452017-10-24 Mike FABIAN <mfabian@redhat.com>
28646
28647 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
28648 letters of the full yesstr and nostr in yesexpr and noexpr.
28649
4960c879
MF
286502017-10-24 Mike FABIAN <mfabian@redhat.com>
28651
28652 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
28653 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
28654 * localedata/locales/an_ES: Make source more readable by using ASCII
28655 where possible.
28656
b06a054f
MF
286572017-10-24 Mike FABIAN <mfabian@redhat.com>
28658
28659 [BZ #20952]
28660 * localedata/locales/yuw_PG: New file.
28661 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
28662 * locale/iso-639.def: Add Yau (Uruwa).
28663
905a7725
WD
286642017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
28665
28666 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
28667
3f6bb8a3
WD
286682017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
28669
28670 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
28671 (__libc_realloc): Likewise.
28672 (_mid_memalign): Likewise.
28673 (__libc_calloc): Likewise.
28674
1d479c8c
MF
286752017-10-23 Mike FABIAN <mfabian@redhat.com>
28676
28677 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
28678 by adding the generic +1 and -0 as in all other locales.
28679 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
28680 day names and make it more readable by using ASCII where possible.
28681
91c3985c
JM
286822017-10-24 Joseph Myers <joseph@codesourcery.com>
28683
28684 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
28685 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
28686
aa95a241
AZ
286872017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28688
28689 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
28690 WNOHANG in waitpid call.
28691
db9bab09
SP
286922017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
28693
a2e0a7f1
SP
28694 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
28695 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
28696
db9bab09
SP
28697 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
28698 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
28699 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
28700 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
28701 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
28702 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
28703 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
28704 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
28705 variables.
28706
5062680c
MC
287072017-10-23 Michael Collison <michael.collison@arm.com>
28708
28709 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
28710 with __builtin_sqrt.
28711 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
28712 with __builtin_sqrtf.
28713 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
28714 with __builtin_ceil.
28715 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
28716 with __builtin_ceilf.
28717 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
28718 with __builtin_floor.
28719 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
28720 with __builtin_floorf.
28721 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
28722 with __builtin_fma.
28723 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
28724 with __builtin_fmaf.
28725 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
28726 with __builtin_fmax.
28727 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
28728 with __builtin_fmaxf.
28729 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
28730 with __builtin_fmin.
28731 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
28732 with __builtin_fminf.
28733 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
28734 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
28735 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
28736 with builtin_rint and conversion to int.
28737 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
28738 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
28739 with builtin_llround.
28740 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
28741 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
28742 with builtin_rint and conversion to long int.
28743 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
28744 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
28745 with builtin_lround.
28746 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
28747 with builtin_lroundf.
28748 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
28749 statements with __builtin_nearbyint.
28750 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
28751 statements with __builtin_nearbyintf.
28752 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
28753 with __builtin_rint.
28754 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
28755 with __builtin_rintf.
28756 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
28757 with __builtin_round.
28758 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
28759 with __builtin_roundf.
28760 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
28761 with __builtin_trunc.
28762 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
28763 with __builtin_truncf.
be080b6c
SN
28764 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
28765 and s_l[l]round[f].c too.
5062680c 28766
174935af
AM
287672017-10-23 Alan Modra <amodra@gmail.com>
28768
28769 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
28770 Adjust stack after restoring regs. Add missing LR cfi_restore.
28771
750a0e49
AM
287722017-10-23 Alan Modra <amodra@gmail.com>
28773
28774 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
28775 Move LR save and frame setup/teardown and LR restore to
28776 immediately around memset call. Provide cfi.
28777
5313581c
L
287782017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28779
28780 * sysdeps/i386/fpu/e_powf.S: Removed.
28781 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
28782 * sysdeps/i386/fpu/w_powf.c: Likewise.
28783 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
28784 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28785 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28786 Add e_powf-sse2.
28787 (CFLAGS-e_powf-sse2.c): New.
28788 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
28789 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
28790
6089a3ee
L
287912017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28792
28793 * sysdeps/i386/fpu/e_log2f.S: Removed.
28794 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
28795 * sysdeps/i386/fpu/w_log2f.c: Likewise.
28796 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
28797 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28798 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28799 Add e_log2f-sse2.
28800 (CFLAGS-e_log2f-sse2.c): New.
28801 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
28802 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
28803
80bb5935
L
288042017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28805
28806 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28807 Add e_powf-fma.
28808 (CFLAGS-e_powf-fma.c): New.
28809 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
28810 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
28811
5c7adbd8
L
288122017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28813
28814 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28815 Add e_log2f-fma.
28816 (CFLAGS-e_log2f-fma.c): New.
28817 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
28818 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
28819
0ccc7153
L
288202017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28821
28822 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28823 Add e_logf-fma.
28824 (CFLAGS-e_logf-fma.c): New.
28825 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
28826 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
28827
fe596486
L
288282017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28829
28830 * sysdeps/i386/fpu/e_logf.S: Removed.
28831 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
28832 * sysdeps/i386/fpu/w_logf.c: Likewise.
28833 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
28834 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
28835 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28836 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28837 Add e_logf-sse2.
28838 (CFLAGS-e_logf-sse2.c): New.
28839 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
28840 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
28841
7eda65f6
L
288422017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28843
28844 * sysdeps/i386/fpu/e_exp2f.S: Removed.
28845 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
28846 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
28847 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28848 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28849 Add e_exp2f-sse2.
28850 (CFLAGS-e_exp2f-sse2.c): New.
28851 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
28852 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
28853
5d15c969
L
288542017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28855
28856 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28857 Add e_exp2f-fma.
28858 (CFLAGS-e_exp2f-fma.c): New.
28859 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
28860 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
28861
b2f6137e
L
288622017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28863
28864 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
28865 * sysdeps/i386/fpu/e_expf.S: Likewise.
28866 * sysdeps/i386/fpu/math_errf.c: Likewise.
28867 * sysdeps/i386/fpu/w_expf.c: Likewise.
28868 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
28869 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28870 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
28871 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
28872 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28873 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28874 Remove e_expf-ia32.
28875 (CFLAGS-e_expf-sse2.c): New.
28876 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
28877 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
28878
e1f59beb
L
288792017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28880
28881 * sysdeps/x86_64/fpu/e_expf.S: Removed.
28882 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
28883 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
28884 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
28885 e_expf.c.
28886 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
28887 New.
28888 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
28889 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
28890 Renamed to ...
28891 (__redirect_expf): This.
28892 (SYMBOL_NAME): Changed to expf.
28893 (__ieee754_expf): Renamed to ...
28894 (__expf): This.
28895 (__GI___expf): This.
28896 (__ieee754_expf): Add strong_alias.
28897 (__expf_finite): Likewise.
28898 (__expf): New.
28899 Include <sysdeps/ieee754/flt-32/e_expf.c>.
28900
363e4519 289012017-10-22 Paul Eggert <eggert@cs.ucla.edu>
a159b53f
PE
28902
28903 [BZ #22332]
28904 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
28905 unescaping.
28906
e80fc1fc
FW
289072017-10-21 Florian Weimer <fweimer@redhat.com>
28908
28909 * posix/Makefile (tests): Add tst-glob-tilde.
28910 (tests-special): Add tst-glob-tilde-mem.out
28911 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
28912 (tst-glob-tilde-mem.out): Add mtrace check.
28913 * posix/tst-glob-tilde.c: New file.
28914
797ba44b
JM
289152017-10-20 Joseph Myers <joseph@codesourcery.com>
28916
28917 * bits/floatn-common.h: New file.
28918 * math/Makefile (headers): Add bits/floatn-common.h.
28919 * bits/floatn.h: Include <bits/floatn-common.h>.
28920 * sysdeps/ia64/bits/floatn.h: Likewise.
28921 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
28922 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
28923 * sysdeps/powerpc/bits/floatn.h: Likewise.
28924 * sysdeps/x86/bits/floatn.h: Likewise.
28925
fe05e1cb
AZ
289262017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28927
8f6f5362
AZ
28928 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
28929 indicates whether compiler emits an warning for alias for
28930 functions with incompatible types.
28931
fe05e1cb
AZ
28932 [BZ #22273]
28933 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
28934 the auxiliary process is terminated by a signal before calling _exit
28935 or execve.
28936
b52b0d79
L
289372017-10-20 H.J. Lu <hongjiu.lu@intel.com>
28938
28939 [BZ #21265]
28940 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
28941 New.
28942 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
28943 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
28944 and bit_arch_XSAVEC_Usable if needed.
28945 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
28946 and bit_arch_Use_dl_runtime_resolve_opt.
28947 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
28948 Removed.
28949 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
28950 (bit_arch_Prefer_No_AVX512): Updated.
28951 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
28952 (bit_arch_XSAVEC_Usable): New.
28953 (STATE_SAVE_OFFSET): Likewise.
28954 (STATE_SAVE_MASK): Likewise.
28955 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
28956 (cpu_features): Add xsave_state_size and xsave_state_full_size.
28957 (index_arch_Use_dl_runtime_resolve_opt): Removed.
28958 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
28959 (index_arch_XSAVEC_Usable): New.
28960 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
28961 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
28962 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
28963 is enabled.
28964 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
28965 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
28966 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
28967 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
28968 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
28969 _dl_runtime_resolve_xsavec.
28970 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
28971 Removed.
28972 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
28973 instead of VEC_SIZE.
28974 (REGISTER_SAVE_BND0): Removed.
28975 (REGISTER_SAVE_BND1): Likewise.
28976 (REGISTER_SAVE_BND3): Likewise.
28977 (REGISTER_SAVE_RAX): Always defined to 0.
28978 (VMOV): Removed.
28979 (_dl_runtime_resolve_avx): Likewise.
28980 (_dl_runtime_resolve_avx_slow): Likewise.
28981 (_dl_runtime_resolve_avx_opt): Likewise.
28982 (_dl_runtime_resolve_avx512): Likewise.
28983 (_dl_runtime_resolve_avx512_opt): Likewise.
28984 (_dl_runtime_resolve_sse): Likewise.
28985 (_dl_runtime_resolve_sse_vex): Likewise.
28986 (USE_FXSAVE): New.
28987 (_dl_runtime_resolve_fxsave): Likewise.
28988 (USE_XSAVE): Likewise.
28989 (_dl_runtime_resolve_xsave): Likewise.
28990 (USE_XSAVEC): Likewise.
28991 (_dl_runtime_resolve_xsavec): Likewise.
28992 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
28993 Removed.
28994 (_dl_runtime_resolve_avx512_opt): Likewise.
28995 (_dl_runtime_resolve_avx): Likewise.
28996 (_dl_runtime_resolve_avx_opt): Likewise.
28997 (_dl_runtime_resolve_sse): Likewise.
28998 (_dl_runtime_resolve_sse_vex): Likewise.
28999 (_dl_runtime_resolve_fxsave): New.
29000 (_dl_runtime_resolve_xsave): Likewise.
29001 (_dl_runtime_resolve_xsavec): Likewise.
29002
363e4519 290032017-10-20 Paul Eggert <eggert@cs.ucla.edu>
c369d66e
PE
29004
29005 [BZ #22320]
29006 CVE-2017-15670
29007 * posix/glob.c (__glob): Fix one-byte overflow.
29008
6d43de4b
WD
290092017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
29010
29011 * malloc/malloc.c (sysdep-cancel.h): Add include.
29012
a15d53e2
WD
290132017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
29014
29015 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
29016
b9a558e7
WH
290172017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
29018
29019 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
29020 (tests): Remove $(objpfx)ga_test depdendency.
29021 * resolv/ga_test.c: Remove file.
29022
b6b08b8e
MF
290232017-10-20 Mike FABIAN <mfabian@redhat.com>
29024
29025 [BZ #18812]
29026 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
29027 * localedata/locales/kab_DZ: New file.
29028
9ba7e810
L
290292017-10-20 H.J. Lu <hongjiu.lu@intel.com>
29030
29031 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
29032 _dl_relocate_static_pie instead of _dl_start to compute load
29033 address in static PIE.
29034
4027a4fd
L
290352017-10-20 H.J. Lu <hongjiu.lu@intel.com>
29036
29037 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
29038
2f9314b4
MF
290392017-10-20 Mike FABIAN <mfabian@redhat.com>
29040
29041 [BZ #13605]
29042 * localedata/SUPPORTED: Add shn_MM/UTF-8.
29043 * localedata/locales/shn_MM: New file.
29044
63b4baa4
FW
290452017-10-20 Florian Weimer <fweimer@redhat.com>
29046
29047 [BZ #22321]
29048 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
29049 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
29050 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
29051 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
29052 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
29053 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
29054
95ccb619
L
290552017-10-19 H.J. Lu <hongjiu.lu@intel.com>
29056
29057 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29058
37bb78cb
JM
290592017-10-19 Joseph Myers <joseph@codesourcery.com>
29060
76f2ed92
JM
29061 * sysdeps/mips/ieee754/bits/floatn.h: New file.
29062
37bb78cb
JM
29063 [BZ #22322]
29064 * sysdeps/mips/bits/long-double.h: Move to ....
29065 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
29066
d74e6f6c
WD
290672017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
29068
29069 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
29070
363e4519 290712017-10-19 Valery Reznic <valery_reznic@yahoo.com>
4d916f0f
L
29072 H.J. Lu <hongjiu.lu@intel.com>
29073
29074 [BZ #22299]
29075 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
29076 GLRO(dl_platform) to NULL.
29077 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
29078 (modules-names): Add tst-platformmod-1 and
29079 x86_64/tst-platformmod-2.
29080 (CFLAGS-tst-platform-1.c): New.
29081 (CFLAGS-tst-platformmod-1.c): Likewise.
29082 (CFLAGS-tst-platformmod-2.c): Likewise.
29083 (LDFLAGS-tst-platformmod-2.so): Likewise.
29084 ($(objpfx)tst-platform-1): Likewise.
29085 ($(objpfx)tst-platform-1.out): Likewise.
29086 (tst-platform-1-ENV): Likewise.
29087 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
29088 * sysdeps/x86_64/tst-platform-1.c: New file.
29089 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
29090 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
29091
4b0fa403
MF
290922017-10-19 Mike FABIAN <mfabian@redhat.com>
29093
29094 [BZ #13994]
29095 * locale/iso-639.def: Add Karbi.
29096 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
29097 * localedata/locales/mjw_IN: New file.
29098
81325b12
JM
290992017-10-18 Joseph Myers <joseph@codesourcery.com>
29100
29101 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
29102 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
29103 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
29104 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
29105 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
29106 (libm_alias_ldouble_other_r): Also create _Float128 alias.
29107 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
29108 <bits/floatn.h>.
29109 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
29110 (libm_alias_ldouble_other_r): Also create _Float128 alias.
29111 * manual/math.texi (Mathematics): Document additional architecture
29112 support for _Float128.
29113 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
29114 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
29115 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
29116 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29117 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29118 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
29119 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
29120 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
29121 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29122 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
29123 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29124 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
29125 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29126 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
29127 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29128
a68ba2f3
SN
291292017-10-18 Renlin Li <renlin.li@arm.com>
29130
29131 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
29132 _DYNAMIC symbol to calculate load address.
29133
346729f6
PC
291342017-10-18 Paul A. Clarke <pc@us.ibm.com>
29135
29136 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
29137 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
29138 summary bits.
29139 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
29140 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
29141
508b1e71
MF
291422017-10-18 Mike FABIAN <mfabian@redhat.com>
29143
29144 [BZ #16777]
29145 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
29146 and improve readability by using more ASCII.
29147 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
29148 and improve readability by using more ASCII.
29149
2c2245b9
WD
291502017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
29151
29152 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
29153 not all targets support atomics on bool.
29154
13c92696
JM
291552017-10-17 Joseph Myers <joseph@codesourcery.com>
29156
29157 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
29158 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
29159 __f128.
29160 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
29161 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
29162 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
29163 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
29164 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
29165 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
29166
71d85045
AZ
291672017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29168
29169 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
29170 defines.
29171
3381be5c
WD
291722017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
29173
29174 [BZ #22159]
29175 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
29176 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
29177 (do_check_remalloced_chunk): Fix build bug.
29178 (do_check_malloc_state): Add assert that checks arena->top.
29179 (malloc_consolidate): Remove initialization.
29180 (int_mallinfo): Remove call to malloc_consolidate.
6b5c8607 29181 (__libc_mallopt): Clarify why malloc_consolidate is needed.
3381be5c 29182
e956075a
WD
291832017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
29184
29185 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
29186 (have_fastchunks): Remove.
29187 (clear_fastchunks): Remove.
29188 (set_fastchunks): Remove.
29189 (malloc_state): Add have_fastchunks.
29190 (malloc_init_state): Use have_fastchunks.
29191 (do_check_malloc_state): Remove incorrect invariant checks.
29192 (_int_malloc): Use have_fastchunks.
29193 (_int_free): Likewise.
29194 (malloc_consolidate): Likewise.
29195
e4dd4ace
WD
291962017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
29197
29198 * malloc/malloc.c (tcache_put): Inline.
29199 (tcache_get): Inline.
29200
5bf58bc7
AJ
292012017-10-17 Jordi Mallach <jordi@gnu.org>
29202
29203 Aurelien Jarno <aurelien@aurel32.net>
29204 [BZ #2522]
29205 * localedata/locales/ca_ES@valencia: New file.
29206 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
29207
386e1c26
RN
292082017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
29209
29210 [BZ #22296]
29211 * math/math.h: Let signbit use the builtin in C++ mode with gcc
29212 < 6.x
29213
4e17c78e
AZ
292142017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29215
3d265601
AZ
29216 * scripts/build-many-glibcs.py (Context.add_all_configs):
29217 Add arm-linux-gnueabihf multiarch extra_glibcs.
29218
4e17c78e
AZ
29219 * sysdeps/generic/ifunc-init.h: New file.
29220 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
29221
56a752ab
MF
292222017-10-17 Mike FABIAN <mfabian@redhat.com>
29223
29224 [BZ #22019]
29225 * localedata/locales/el_GR: Set n_cs_precedes to 0.
29226 * localedata/locales/el_CY: copy "el_GR" because it is identical.
29227 * stdlib/tst-strfmon_l.c: adapt test case.
29228
c38a4bfd
JM
292292017-10-16 Joseph Myers <joseph@codesourcery.com>
29230
29231 * sysdeps/generic/float128-abi.h: New file.
29232 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
29233 non-__prefixed symbols to ....
29234 * math/Versions: ... here. Include <float128-abi.h>.
29235 * stdlib/Versions ... and here. Include <float128-abi.h>
29236
76009b26
FW
292372017-10-16 Florian Weimer <fweimer@redhat.com>
29238
29239 * version.h (VERSION): Switch to ".9000" as the development
29240 version suffix.
29241
7ece6cd5
FW
292422017-10-16 Florian Weimer <fweimer@redhat.com>
29243
29244 [BZ #22050]
29245 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
29246 compat_symbol_reference to access non-default version.
29247
d8287b36
FW
292482017-10-16 Florian Weimer <fweimer@redhat.com>
29249
29250 * malloc/Makefile (others-extras): Set to mcheck-init.o.
29251
3480ddc4
CD
292522017-10-16 Carlos O'Donell <carlos@redhat.com>
29253
29254 * include/shlib-compat.h (compat_symbol_reference): Update
29255 comment.
29256
02010e79
JM
292572017-10-16 Joseph Myers <joseph@codesourcery.com>
29258
596f7013
JM
29259 * math/Makefile (test-types): Add
29260 $(type-float128-$(float128-alias-fcts)).
29261 * math/test-float128.h (TYPE_STR): Define conditional on
29262 [FLT128_MANT_DIG == LDBL_MANT_DIG].
29263 (ULP_IDX): Likewise.
29264 (ULP_I_IDX): Likewise.
29265
02010e79
JM
29266 * stdlib/strtold.c: Include <bits/floatn.h>
29267 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
29268 and later undefine as macro. Define as weak alias if
29269 [!USE_WIDE_CHAR].
29270 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
29271 and later undefine as macro. Define as weak alias if
29272 [USE_WIDE_CHAR].
29273 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
29274 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
29275 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
29276 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
29277 Define and later undefine as macro. Define as weak alias if
29278 [USE_WIDE_CHAR].
29279 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
29280 <bits/floatn.h>.
29281 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
29282 Define and later undefine as macro. Define as weak alias if
29283 [!USE_WIDE_CHAR].
29284 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
29285 Define and later undefine as macro. Define as weak alias if
29286 [USE_WIDE_CHAR].
29287
ea91c315
CD
292882017-10-15 Carlos O'Donell <carlos@redhat.com>
29289
29290 * localedata/collate-test.c (allocate_arrays): Don't use \n in
29291 record_verbose messages.
29292
8e57c943
L
292932017-10-15 H.J. Lu <hongjiu.lu@intel.com>
29294
29295 [BZ #22052]
29296 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
29297 to silence -O3 -Wall warning with GCC 7.
29298
a4777c46
L
292992017-10-14 H.J. Lu <hongjiu.lu@intel.com>
29300
29301 * Makeconfig (+link-static-before-libc): Use the first of
29302 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
29303 * gmon/Makefile (tests): Add tst-gmon-static.
29304 (tests-static): Likewise.
29305 (CFLAGS-tst-gmon-static.c): New.
29306 (CRT-tst-gmon-static): Likewise.
29307 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
29308 (tst-gmon-static-ENV): Likewise.
29309 (tests-special): Likewise.
29310 ($(objpfx)tst-gmon-static.out): Likewise.
29311 (clean-tst-gmon-static-data): Likewise.
29312 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
29313 * gmon/tst-gmon-static-gprof.sh: New file.
29314 * gmon/tst-gmon-static.c: Likewise.
29315
bc3821bb
CD
293162017-10-13 Carlos O'Donell <carlos@redhat.com>
29317
29318 [BZ #22295]
29319 * locale/programs/linereader.c (get_string): Don't warn on
29320 non-symbolic character.
29321
a3e23a2c
CD
29322 [BZ #22294]
29323 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
29324 int_curr_symbol.
29325
f16491eb
CD
29326 [BZ #22292]
29327 * locale/programs/record-status.h: New file
29328 * locale/programs/locale.c: Add comment.
29329 * locale/programs/charmap-dir.c: Don't include error.h.
29330 (charmap_opendir): Use record_error.
29331 * locale/programs/charmap.c: Don't include error.h.
29332 (charmap_read): Use record_error, and record_warning.
29333 (parse_charmap): Likewise.
29334 * locale/programs/ld-address.c: Don't include error.h.
29335 (address_finish): Use record_error, and record_warning.
29336 * locale/programs/ld-collate.c: Don't include error.h.
29337 (collate_finish): Use record_error, and record_error_at_line.
29338 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
29339 (ctype_class_new): Likewise.
29340 (ctype_map_new): Likewise.
29341 (set_one_default): Likewise.
29342 (set_class_defaults): Likewise.
29343 (translit_flatten): Likewise.
29344 (allocate_arrays): Use record_error, and record_verbose.
29345 * locale/programs/ld-identification.c: Don't include error.h.
29346 (indentation_finish): Use record_error and record_warning.
29347 * locale/programs/ld-measurement.c: Don't include error.h.
29348 (measurement_finish): Use record_error.
29349 * locale/programs/ld-messages.c
29350 (message_finish): Likewise.
29351 * locale/programs/ld-monetary.c
29352 (monetary_finish): Likewise.
29353 * locale/programs/ld-name.c (name_finish): Use record_error
29354 and record_warning.
29355 * locale/programs/ld-numeric.c
29356 (numeric_finish): Use record_error.
29357 * locale/programs/ld-paper.c: Don't include error.h.
29358 (paper_finish): Use record_error.
29359 * locale/programs/ld-telephone.c: Don't include error.h.
29360 (telephone_finish): Use record_error.
29361 * locale/programs/ld-time.c (time_finish): Likewise.
29362 * locale/programs/linereader.h (lr_error): Make inline func.
29363 * locale/programs/localedef.c: Define recorded_warning_count,
29364 and recorded_error_count.
29365 (main): Use record_error. Use recorded_error_count and
29366 recorded_warning_count to issue correct error returns.
29367 (add_to_readlist): Use record_error.
29368 (find_locale): Likewise.
29369 (load_locale): Likewise.
29370 * locale/programs/localedef.h: Remove be_quiet
29371 and WITH_CUR_LOCALE.
29372 * locale/programs/locarchive.c (compare_from_file): Use
29373 record_error.
29374 * locale/programs/locfile.c (write_locale_data): Use
29375 record_error.
29376 * locale/programs/repertoire.c: Dont include error.h.
29377 (repertoire_complain): Use record_error.
29378 * localedata/tst-fmon.sh: Expect failures from localedef.
29379 * localedata/tst-locale.sh: Likewise.
29380 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
29381
8dc8be75
CD
29382 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
29383 (REPORTS): Likewise.
29384 (check): Likewise.
29385 (i18n): Rename to...
29386 (i18n_ctype): ...this.
29387 (i18n-report): Rename to...
29388 (i18n_ctype-report): ...this.
29389 * localedata/locales/i18n_ctype: Regenerate.
29390 * localedata/locales/i18n: copy i18n_ctype.
29391
f8718a9e
JM
293922017-10-13 Joseph Myers <joseph@codesourcery.com>
29393
18c08b96
JM
29394 * stdlib/strfroml.c: Include <bits/floatn.h>.
29395 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
29396 Define before include of <stdlib.h> and undefine afterwards, then
29397 define as weak alias.
29398
f8718a9e
JM
29399 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
29400 Undefine and restore default definition. Use
29401 libm_alias_ldouble_other.
29402
e4f530da
PZ
294032017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
29404
29405 [BZ #22153]
29406 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
29407 in coredumps.
29408
86445888
JC
294092017-10-13 James Clarke <jrtc27@jrtc27.com>
29410
29411 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
29412 Assign sym_map to be map for local symbols, as TLS relocations
29413 use sym_map to determine whether the symbol is defined and to
29414 extract the TLS information.
29415 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
29416 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
29417
179dcdb7
TMQMF
294182017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29419
e8dbd6a3
TMQMF
29420 [BZ #22189]
29421 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
29422 (math_force_eval): Add powerpc version.
29423
179dcdb7
TMQMF
29424 [BZ #22142]
29425 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
29426 -DBL_MAX.
29427 (do_test): Likewise.
29428 * stdio-common/tst-printf.sh: Likewise.
29429 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
29430 ifdef clause in order to set the carry bit right. Replace r0 by
29431 0 without changing the behavior.
29432
7d25d410
JM
294332017-10-13 Joseph Myers <joseph@codesourcery.com>
29434
006e7664
JM
29435 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
29436 <libm-alias-ldouble.h>.
29437 (fabsl): Define using libm_alias_ldouble.
29438 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
29439 <libm-alias-ldouble.h>.
29440 (fabsl): Define using libm_alias_ldouble.
29441
1def91b3
JM
29442 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
29443 Remove conditional code.
29444
7d25d410
JM
29445 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
29446 Rename to __clog10_internal_l.
29447 (__clog10_internal_l): Define aliases using
29448 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
29449 with __clog10.
29450
077ee129
RS
294512017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29452
29453 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
29454 * benchtests/sincosf-inputs: New file.
29455 * benchtests/cosf-inputs: New file.
29456 * benchtests/sinf-inputs: New file.
29457
5ba41de9
SN
294582017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
29459
29460 * posix/tst-spawn.c (do_test): Wait for both children.
29461
d165ca64
L
294622017-10-12 H.J. Lu <hongjiu.lu@intel.com>
29463
29464 [BZ #22284]
29465 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
29466 tests-pie): Add tst-gmon-pie.
29467 (CFLAGS-tst-gmon-pie.c): New.
29468 (CRT-tst-gmon-pie): Likewise.
29469 (tst-gmon-pie-ENV): Likewise.
29470 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
29471 ($(objpfx)tst-gmon-pie.out): Likewise.
29472 (clean-tst-gmon-pie-data): Likewise.
29473 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
29474 * gmon/gmon.c [PIC]: Include <link.h>.
29475 [PIC] (callback): New function.
29476 (write_hist): Add an argument for load address. Subtract load
29477 address from PCs.
29478 (write_call_graph): Likewise.
29479 (write_gmon): Call __dl_iterate_phdr to get load address, pass
29480 it to write_hist and write_call_graph.
7bacdcfc 29481 * gmon/tst-gmon-pie.c: New file.
d165ca64 29482
bc9620d0
JM
294832017-10-11 Joseph Myers <joseph@codesourcery.com>
29484
29485 * math/Makefile (test-types-basic): New variable.
29486 (test-types): Likewise.
29487 (libm-test-support): Use $(test-types) instead of $(types).
29488 (libm-tests-base-normal): Likewise.
29489 (libm-tests-base-finite): Likewise.
29490 (libm-tests-base-inline): Likewise.
29491 (generated): Likewise.
29492 ($(objpfx)libm-test-support-$(t).c): Likewise.
29493 (libm-tests-for-type iterator): Likewise.
29494 (libm-test-support iterator): Likewise.
29495 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
29496 (ulp_idx): Use ULP_IDX.
29497 * math/test-ldouble.h: Include <float.h>.
29498 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
29499 (ULP_IDX): New macro.
29500 (ULP_I_IDX): Likewise.
29501 * math/test-double.h (ULP_IDX): Likewise.
29502 (ULP_I_IDX): Likewise.
29503 * math/test-float.h (ULP_IDX): Likewise.
29504 (ULP_I_IDX): Likewise.
29505 * math/test-float128.h (ULP_IDX): Likewise.
29506 (ULP_I_IDX): Likewise.
29507
09c76a74
AZ
295082017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29509
29510 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
29511 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
29512 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
29513 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
29514 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
29515 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
29516 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
29517 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
29518 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
29519 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
29520 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
29521 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
29522 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
29523 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29524 (SINGLE_THREAD_BY_GLOBAL): Define.
29525 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
29526 Likewise.
29527 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
29528 Likewise.
29529 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
29530 Likewise.
29531 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
29532 Likewise.
29533 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
29534 (SINGLE_THREAD_BY_GLOBAL): Likewise.
29535 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
29536 Likewise.
29537
2faa42da
AS
295382017-10-11 Andreas Schwab <schwab@suse.de>
29539
29540 * nis/Makefile (aux): Remove.
29541 * nscd/Makefile (aux): Add nscd_hash.
29542 (nscd-modules): Likewise.
29543 ($(objpfx)nscd): Don't depend on libnsl.
29544 * nscd/nscd_hash.c: New file.
29545 * nscd/nscd_hash.h: Likewise.
29546 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
29547 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
29548 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
29549 instead of <nis/rpcsvc/nis.h>.
29550 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
29551
d8425e11
FW
295522017-10-11 Florian Weimer <fweimer@redhat.com>
29553
29554 [BZ #22078]
29555 Avoid large NSS buffers with many addresses, aliases.
29556 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
29557 using dynarrays and struct alloc_buffer.
29558 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
29559 (tst-nss-files-hosts-multi): Link with -ldl.
29560 * nss/tst-nss-files-hosts-multi.c: New file.
29561
78e806fd
FW
295622017-10-11 Florian Weimer <fweimer@redhat.com>
29563
29564 [BZ #18023]
29565 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
29566 scratch_buffer. Eliminate gotos.
29567
541f19ba
JM
295682017-10-11 Joseph Myers <joseph@codesourcery.com>
29569
0ff64d3a
JM
29570 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
29571 libm_alias_ldouble_other.
29572 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
29573 undefine and redefine.
29574 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
29575 (exp10l): Do not define here.
29576 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
29577 (weak_alias): Undefine and redefine.
29578 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
29579 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
29580 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
29581 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
29582
541f19ba
JM
29583 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
29584 [!__fma] (fma): Define using libm_alias_double.
29585 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
29586 [!__fmaf] (fmaf): Define using libm_alias_float.
29587 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
29588 (fmal): Define using libm_alias_ldouble.
29589
24b6515d
JM
295902017-10-10 Joseph Myers <joseph@codesourcery.com>
29591
29592 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
29593 New macro.
29594 (libm_alias_double_other): Likewise.
29595 (libm_alias_double_r): Use libm_alias_double_other_r.
29596 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
29597 New macro.
29598 (libm_alias_float_other): Likewise.
29599 (libm_alias_float_r): Use libm_alias_float_other_r.
29600 * sysdeps/generic/libm-alias-float128.h
29601 (libm_alias_float128_other_r): New macro.
29602 (libm_alias_float128_other): Likewise.
29603 (libm_alias_float128_r): Use libm_alias_float128_other_r.
29604 * sysdeps/generic/libm-alias-ldouble.h
29605 (libm_alias_ldouble_other_r): New macro.
29606 (libm_alias_ldouble_other): Likewise.
29607 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
29608 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
29609 (libm_alias_double_other_r): New macro.
29610 (libm_alias_double_other): Likewise.
29611 (libm_alias_double_r): Use libm_alias_double_other_r.
29612 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
29613 (libm_alias_ldouble_other_r): New macro.
29614 (libm_alias_ldouble_other): Likewise.
29615 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
29616 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
29617 [!USE_AS_COMPAT]: Use libm_alias_double_other.
29618 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
29619 [!USE_AS_COMPAT]: Use libm_alias_float_other.
29620 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
29621 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
29622 * math/w_exp2f.c: Use libm_alias_float_other.
29623 * math/w_expf.c: Likewise.
29624 * math/w_log2f.c: Likewise.
29625 * math/w_logf.c: Likewise.
29626 * math/w_powf.c: Likewise.
29627 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
29628 [!__exp2f]: Use libm_alias_float_other.
29629 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
29630 [!__expf]: Use libm_alias_float_other.
29631 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
29632 [!__log2f]: Use libm_alias_float_other.
29633 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
29634 [!__logf]: Use libm_alias_float_other.
29635 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
29636 [!__powf]: Use libm_alias_float_other.
29637
8ed70de2
FW
296382017-10-10 Florian Weimer <fweimer@redhat.com>
29639
29640 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
29641 function.
29642 (_nss_files_gethostbyname3_r): Call it.
29643
a8dce619
JM
296442017-10-09 Joseph Myers <joseph@codesourcery.com>
29645
29646 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
29647 error. Remove default definition of declare_mgen_alias.
29648 [!declare_mgen_alias_r]: Likewise.
29649 * sysdeps/generic/math-type-macros-double.h
29650 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
29651 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
29652 (declare_mgen_alias_r): Likewise.
29653 * sysdeps/generic/math-type-macros-float128.h
29654 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
29655 * sysdeps/generic/math-type-macros-ldouble.h
29656 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
29657 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
29658 macro.
29659 (declare_mgen_alias_r_s): Likewise.
29660 (declare_mgen_alias_r): Likewise.
29661 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
29662 (lgamma_r): Define using libm_alias_double_r.
29663 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
29664 (lgammaf_r): Define using libm_alias_float_r.
29665 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
29666 (lgammal_r): Define using libm_alias_ldouble_r.
29667 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
29668 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
29669
bedac136
AZ
296702017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29671
29672 * lib/glob.c (__glob_pattern_type): Remove now-spurious
29673 extern declaration.
29674
c7509db2
JM
296752017-10-09 Joseph Myers <joseph@codesourcery.com>
29676
29677 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
29678
d6c064e9
JW
296792017-10-09 Jonathan Wakely <jwakely@redhat.com>
29680
29681 [BZ #21326]
29682 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
29683 [__cplusplus >= 201103] (__USE_ISOC99): Define.
29684 * math/Makefile (test-math-cxx11): New test.
29685 * math/test-math-cxx11.cc: New file.
29686
98e07420
CB
296872017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
29688
29689 * login/openpty.c (openpty): Close slave pty file descriptor on error.
29690
645ac9aa
CB
29691 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
29692 call to allocate the slave pty file descriptor.
29693
fd3b4e7c
JM
296942017-10-06 Joseph Myers <joseph@codesourcery.com>
29695
f85a176f
JM
29696 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
29697 [!__fma] (fma): Define using libm_alias_double.
29698 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
29699 [!__fma] (fma): Define using libm_alias_double.
29700
fd3b4e7c
JM
29701 * sysdeps/ieee754/float128/float128_private.h: Include
29702 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
29703 (libm_alias_ldouble_r): Undefine and redefine.
29704 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
29705 <libm-alias-ldouble.h>.
29706 (asinhl): Define using libm_alias_ldouble.
29707 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
29708 <libm-alias-ldouble.h>.
29709 (atanl): Define using libm_alias_ldouble.
29710 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
29711 <libm-alias-ldouble.h>.
29712 (cbrtl): Define using libm_alias_ldouble.
29713 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
29714 <libm-alias-ldouble.h>.
29715 (ceill): Define using libm_alias_ldouble.
29716 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
29717 <libm-alias-ldouble.h>.
29718 (copysignl): Define using libm_alias_ldouble.
29719 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
29720 <libm-alias-ldouble.h>.
29721 (cosl): Define using libm_alias_ldouble.
29722 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
29723 <libm-alias-ldouble.h>.
29724 (erfl): Define using libm_alias_ldouble.
29725 (erfcl): Likewise.
29726 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
29727 <libm-alias-ldouble.h>.
29728 (expm1l): Define using libm_alias_ldouble.
29729 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
29730 <libm-alias-ldouble.h>.
29731 (fabsl): Define using libm_alias_ldouble.
29732 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
29733 <libm-alias-ldouble.h>.
29734 (floorl): Define using libm_alias_ldouble.
29735 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
29736 <libm-alias-ldouble.h>.
29737 (fmal): Define using libm_alias_ldouble.
29738 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
29739 <libm-alias-ldouble.h>.
29740 (frexpl): Define using libm_alias_ldouble.
29741 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
29742 libm_alias_ldouble.
29743 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
29744 <libm-alias-ldouble.h>.
29745 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
29746 libm_alias_ldouble.
29747 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
29748 <libm-alias-ldouble.h>.
29749 (getpayloadl): Define using libm_alias_ldouble.
29750 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
29751 <libm-alias-ldouble.h>.
29752 (llrintl): Define using libm_alias_ldouble.
29753 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
29754 <libm-alias-ldouble.h>.
29755 (llroundl): Define using libm_alias_ldouble.
29756 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
29757 <libm-alias-ldouble.h>.
29758 (logbl): Define using libm_alias_ldouble.
29759 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
29760 <libm-alias-ldouble.h>.
29761 (lrintl): Define using libm_alias_ldouble.
29762 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
29763 <libm-alias-ldouble.h>.
29764 (lroundl): Define using libm_alias_ldouble.
29765 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
29766 <libm-alias-ldouble.h>.
29767 (modfl): Define using libm_alias_ldouble.
29768 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
29769 <libm-alias-ldouble.h>.
29770 (nearbyintl): Define using libm_alias_ldouble.
29771 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
29772 <libm-alias-ldouble.h>.
29773 (nextafterl): Define using libm_alias_ldouble.
29774 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
29775 <libm-alias-ldouble.h>.
29776 (nextupl): Define using libm_alias_ldouble.
29777 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
29778 <libm-alias-ldouble.h>.
29779 (remquol): Define using libm_alias_ldouble.
29780 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
29781 <libm-alias-ldouble.h>.
29782 (rintl): Define using libm_alias_ldouble.
29783 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
29784 <libm-alias-ldouble.h>.
29785 (roundevenl): Define using libm_alias_ldouble.
29786 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
29787 <libm-alias-ldouble.h>.
29788 (roundl): Define using libm_alias_ldouble.
29789 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
29790 using libm_alias_ldouble.
29791 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
29792 <libm-alias-ldouble.h>.
29793 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
29794 Define using libm_alias_ldouble.
29795 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
29796 <libm-alias-ldouble.h>.
29797 (sincosl): Define using libm_alias_ldouble.
29798 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
29799 <libm-alias-ldouble.h>.
29800 (sinl): Define using libm_alias_ldouble.
29801 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
29802 <libm-alias-ldouble.h>.
29803 (tanhl): Define using libm_alias_ldouble.
29804 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
29805 <libm-alias-ldouble.h>.
29806 (tanl): Define using libm_alias_ldouble.
29807 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
29808 <libm-alias-ldouble.h>.
29809 (totalorderl): Define using libm_alias_ldouble.
29810 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
29811 <libm-alias-ldouble.h>.
29812 (totalordermagl): Define using libm_alias_ldouble.
29813 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
29814 <libm-alias-ldouble.h>.
29815 (truncl): Define using libm_alias_ldouble.
29816 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
29817 libm_alias_ldouble.
29818 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
29819 libm_alias_ldouble.
29820 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
29821 <libm-alias-ldouble.h>.
29822 (weak_alias): Do not undefine and redefine.
29823 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
29824 (copysignl): Define with long_double_symbol only if [IS_IN
29825 (libc)].
29826 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
29827 <libm-alias-ldouble.h>.
29828 (weak_alias): Do not undefine and redefine.
29829 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
29830 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
29831 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
29832 <libm-alias-ldouble.h>.
29833 (weak_alias): Do not undefine and redefine.
29834 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
29835 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
29836 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
29837 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
29838 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
29839 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
29840 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
29841 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
29842 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
29843 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
29844 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
29845 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
29846 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
29847 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
29848 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
29849 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
29850 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
29851 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
29852 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
29853 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
29854 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
29855 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
29856 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
29857 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
29858 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
29859 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
29860
1e26d351
CD
298612017-10-06 Carlos O'Donell <carlos@redhat.com>
29862
29863 [BZ #22111]
29864 * malloc/malloc.c (tcache_shutting_down): Use bool type.
29865 (tcache_thread_freeres): Set tcache_shutting_down before
29866 freeing the tcache.
29867 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
29868 * malloc/tst-malloc-tcache-leak.c: New file.
29869
d1386762
RS
298702017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29871
29872 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
29873 back to powerpc32 file.
29874 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
29875 (memrchr): Add __memrchr_power8 to ifunc list.
29876 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
29877 extra bytes for unaligned inputs.
29878
6dff1983
JM
298792017-10-06 Joseph Myers <joseph@codesourcery.com>
29880
29881 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
29882 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
29883 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
29884 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
29885 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
29886
86f9568a
JM
298872017-10-05 Joseph Myers <joseph@codesourcery.com>
29888
0db0b931
JM
29889 * sysdeps/arm/libm-test-ulps: Update.
29890
86f9568a
JM
29891 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
29892 <libm-alias-ldouble.h>.
29893 (asinhl): Define using libm_alias_ldouble.
29894 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
29895 <libm-alias-ldouble.h>.
29896 (cbrtl): Define using libm_alias_ldouble.
29897 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
29898 <libm-alias-ldouble.h>.
29899 (copysignl): Define using libm_alias_ldouble.
29900 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
29901 <libm-alias-ldouble.h>.
29902 (cosl): Define using libm_alias_ldouble.
29903 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
29904 <libm-alias-ldouble.h>.
29905 (erfl): Define using libm_alias_ldouble.
29906 (erfcl): Likewise.
29907 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
29908 <libm-alias-ldouble.h>.
29909 (fmal): Define using libm_alias_ldouble.
29910 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
29911 <libm-alias-ldouble.h>.
29912 (frexpl): Define using libm_alias_ldouble.
29913 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
29914 libm_alias_ldouble.
29915 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
29916 <libm-alias-ldouble.h>.
29917 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
29918 libm_alias_ldouble.
29919 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
29920 <libm-alias-ldouble.h>.
29921 (getpayloadl): Define using libm_alias_ldouble.
29922 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
29923 <libm-alias-ldouble.h>.
29924 (llrintl): Define using libm_alias_ldouble.
29925 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
29926 <libm-alias-ldouble.h>.
29927 (llroundl): Define using libm_alias_ldouble.
29928 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
29929 <libm-alias-ldouble.h>.
29930 (lrintl): Define using libm_alias_ldouble.
29931 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
29932 <libm-alias-ldouble.h>.
29933 (lroundl): Define using libm_alias_ldouble.
29934 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
29935 <libm-alias-ldouble.h>.
29936 (modfl): Define using libm_alias_ldouble.
29937 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
29938 <libm-alias-ldouble.h>.
29939 (nextupl): Define using libm_alias_ldouble.
29940 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
29941 <libm-alias-ldouble.h>.
29942 (remquol): Define using libm_alias_ldouble.
29943 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
29944 <libm-alias-ldouble.h>.
29945 (roundevenl): Define using libm_alias_ldouble.
29946 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
29947 <libm-alias-ldouble.h>.
29948 (roundl): Define using libm_alias_ldouble.
29949 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
29950 using libm_alias_ldouble.
29951 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
29952 <libm-alias-ldouble.h>.
29953 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
29954 <libm-alias-ldouble.h>.
29955 (setpayloadsigl): Define using libm_alias_ldouble.
29956 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
29957 <libm-alias-ldouble.h>.
29958 (sincosl): Define using libm_alias_ldouble.
29959 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
29960 <libm-alias-ldouble.h>.
29961 (sinl): Define using libm_alias_ldouble.
29962 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
29963 <libm-alias-ldouble.h>.
29964 (tanhl): Define using libm_alias_ldouble.
29965 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
29966 <libm-alias-ldouble.h>.
29967 (tanl): Define using libm_alias_ldouble.
29968 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
29969 <libm-alias-ldouble.h>.
29970 (totalorderl): Define using libm_alias_ldouble.
29971 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
29972 <libm-alias-ldouble.h>.
29973 (totalordermagl): Define using libm_alias_ldouble.
29974 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
29975 libm_alias_ldouble.
29976 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
29977 libm_alias_ldouble.
29978
9ec87fd2
SP
299792017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
29980
dd5bc7f1
SP
29981 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
29982 memmove_falkor.
29983 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
29984 (__libc_ifunc_impl_list): Likewise.
29985 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
29986 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
29987
5bfb0404
SP
29988 * benchtests/bench-memmove-walk.c: New file.
29989 * benchtests/Makefile (string-benchset): Add it.
29990
36bb8edf
SP
29991 * benchtests/bench-memset-walk.c: New file.
29992 * benchtests/Makefile (string-benchset): Add it.
29993
9ec87fd2
SP
29994 * benchtests/bench-memcpy-walk.c: New file.
29995 * benchtests/Makefile (string-benchset): Add it.
29996
1e9522c6
FW
299972017-10-05 Florian Weimer <fweimer@redhat.com>
29998
29999 nscd: Eliminate compilation time dependency in the build output.
30000 * nscd/nscd_stat.c (STATDATA_VERSION)
30001 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
30002 (STATDATA_VERSION_FULL): New macro definitions.
30003 (compilation): Remove.
30004 (struct statdata): Adjust version member.
30005 (send_stats): Set version from STATDATA_VERSION_FULL.
30006 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
30007
644d3857
JM
300082017-10-05 Joseph Myers <joseph@codesourcery.com>
30009
30010 * configure.ac (--enable-add-ons): Remove option.
30011 (machine): Do not mention add-ons in comment.
30012 (LIBC_PRECONFIGURE): Likewise.
30013 (add_ons): Remove variable and sanity checks and logic to locate
30014 add-ons.
30015 (add_ons_automatic): Remove variable.
30016 (configured_add_ons): Likewise.
30017 (add_ons_sfx): Likewise.
30018 (add_ons_pfx): Likewise.
30019 (add_on_subdirs): Likewise.
30020 (sysnames_add_ons): Likewise. Remove loop over add-ons and
30021 consideration of add-ons in Implies handling.
30022 (sysdeps_add_ons): Likewise.
30023 * configure: Regenerated.
30024 * libidn/configure.ac: Remove.
30025 * libidn/configure: Likewise.
30026 * sysdeps/unix/inet/configure.ac: New file.
30027 * sysdeps/unix/inet/configure: New generated file.
30028 * sysdeps/unix/inet/Subdirs: Add libidn.
30029 * Makeconfig (sysdeps-srcdirs): Remove variable.
30030 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
30031 ($(common-objpfx)config.status): Do not depend on add-on files.
30032 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
30033 comment.
30034 (all-subdirs): Do not include $(add-on-subdirs).
30035 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
30036 * config.make.in (add-ons): Remove variable.
30037 (add-on-subdirs): Likewise.
30038 (sysdeps-add-ons): Likewise.
30039 * manual/Makefile (add-chapters): Remove.
30040 ($(objpfx)texis): Do not depend on $(add-chapters).
30041 (nonexamples): Do not handle $(add-chapters).
30042 (examples): Do not handle $(add-ons).
30043 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
30044 libc-texinfo.sh.
30045 * manual/install.texi (Installation): Do not mention add-ons.
30046 (--enable-add-ons): Do not document configure option.
30047 * INSTALL: Regenerated.
30048 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
30049 * manual/maint.texi (Hierarchy Conventions): Do not mention
30050 add-ons.
30051 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
30052 --enable-add-ons.
30053 * scripts/gen-sorted.awk: Do not handle Subdirs files from
30054 add-ons.
30055 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
30056 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
30057
19f82f35
AS
300582017-10-05 Andreas Schwab <schwab@suse.de>
30059
30060 [BZ #15142]
30061 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
30062 (_IO_flush_all_lockp): Always lock list_all_lock.
30063 (_IO_flush_all_linebuffered): Likewise.
30064 (_IO_unbuffer_all): Likewise.
30065
91e7cf98
FW
300662017-10-05 Florian Weimer <fweimer@redhat.com>
30067
30068 [BZ #15436]
30069 Do not flush stdio streams on abort.
30070 * stdlib/abort.c (fflush): Remove macro definition.
30071 (abort): Remove stages related to stdio flushing.
30072
0c251257
FW
300732017-10-05 Florian Weimer <fweimer@redhat.com>
30074
30075 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
30076
7ea59e3e
SL
300772017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
30078
30079 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
30080
84d0e6f0
FW
300812017-10-05 Florian Weimer <fweimer@redhat.com>
30082
30083 * support/support_format_hostent.c (support_format_hostent): Add
30084 more error information for NETDB_INTERNAL.
30085
ee417882
L
300862017-10-04 H.J. Lu <hongjiu.lu@intel.com>
30087
30088 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
30089 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
30090 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
30091 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
30092 AC_DEFINE if multi-arch is enabled.
30093 * sysdeps/i386/configure: Regenerated.
30094
a67029ff
L
300952017-10-04 H.J. Lu <hongjiu.lu@intel.com>
30096
30097 * Makeconfig (+link-static-before-libc): Use
30098 $(DEFAULT-LDFLAGS-$(@F)).
30099 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
30100 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
30101 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
30102
5dba84b3
L
301032017-10-04 H.J. Lu <hongjiu.lu@intel.com>
30104
30105 * elf/Makefile (tests): Add tst-main1.
30106 (modules-names): Add tst-main1mod.
30107 ($(objpfx)tst-main1): New.
30108 (CRT-tst-main1): Likewise.
30109 (LDFLAGS-tst-main1): Likewise.
30110 (LDLIBS-tst-main1): Likewise.
30111 (tst-main1mod.so-no-z-defs): Likewise.
30112 * elf/tst-main1.c: New file.
30113 * elf/tst-main1mod.c: Likewise.
30114
758f1bfa
L
301152017-10-04 H.J. Lu <hongjiu.lu@intel.com>
30116
30117 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
30118
7e16a5d1
JM
301192017-10-04 Joseph Myers <joseph@codesourcery.com>
30120
30121 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
30122 (fma): Define using libm_alias_double.
30123 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
30124 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
30125 <math_ldbl_opt.h>.
30126 (fmal): Do not define as compat symbol here.
30127 * sysdeps/alpha/fpu/s_fma.c: New file.
30128
db4f87ba
SN
301292017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
30130
30131 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
30132
72d13ed1
JM
301332017-10-04 Joseph Myers <joseph@codesourcery.com>
30134
32d372d5
JM
30135 [BZ #22229]
30136 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
30137 <math_ldbl_opt.h>
30138 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
30139 and libc.
30140 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
30141 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
30142 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
30143 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
30144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
30145 Include <math_ldbl_opt.h>
30146 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
30147 and libc.
30148 (compat_symbol): Undefine and redefine.
30149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
30150 <math_ldbl_opt.h>
30151 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
30152 (compat_symbol): Undefine and redefine.
30153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
30154 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
30155 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
30156 GLIBC_2_1 for libm.
30157 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
30158 GLIBC_2.0 copysignl symbol.
30159 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
30160 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
30161
72d13ed1
JM
30162 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
30163
11c4f501
FW
301642017-10-04 Florian Weimer <fweimer@redhat.com>
30165
30166 * scripts/check-local-headers.sh: Ignore nspr4 header file
30167 directory in addition to nspr.
30168
57b4af19
GT
301692017-10-04 Guido Trentalancia <guido@trentalancia.net>
30170
30171 [BZ #17956]
30172 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
30173 * configure: Regenerate.
30174 * crypt/Makefile (nss-cpp-flags): New variable.
30175 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
30176 (CPPFLAGS-md5-crypt.c): Use it.
30177 * scripts/check-local-headers.sh: Ignore nspr header file
30178 directory.
30179
64d1e08e
AS
301802017-10-04 Andreas Schwab <schwab@suse.de>
30181
30182 * nis/Makefile (services): Remove compat.
30183 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
30184 ($(objpfx)libnss_compat.so): Remove rule.
30185 * nis/Versions (libnss_compat): Remove.
30186 * nss/Makefile (services): Add compat.
30187 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
30188 * nss/Versions (libnss_compat): Define.
30189 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
30190 Don't include <rpc/types.h>. Replace bool_t by bool.
30191 * nss/nss_compat/compat-initgroups.c: Likewise.
30192 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
30193 instead of <rpcsrv/ypclnt.h>.
30194 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
30195 yp_get_default_domain.
30196 * nss/nss_compat/compat-pwd.c: Likewise.
30197 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
30198 yp_get_default_domain.
30199 * nss/nss_compat/nisdomain.c: New file.
30200 * nss/nss_compat/nisdomain.h: Likewise.
30201
86c27ade
SN
302022017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
30203
30204 [BZ #22244]
30205 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
30206 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30207
8f8f8ef7
SN
302082017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
30209
30210 [BZ #22243]
30211 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
30212 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
30213
95577475
L
302142017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30215
30216 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
30217 "movl main@GOTOFF(%ebx), %eax".
30218
02d2d892
L
302192017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30220
30221 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
30222 allow undefined _DYNAMIC in PIE libc.a.
30223 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
30224 Likewse.
30225
0c609d19
L
302262017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30227
30228 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
30229 check _DYNAMIC.
30230
c34a19ed
L
302312017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30232
30233 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
30234 check _DYNAMIC.
30235
cdd4155d
L
302362017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30237
30238 * math/test-math-iscanonical.cc (error): Replace bool with int.
30239
4699cb8b
JM
302402017-10-03 Joseph Myers <joseph@codesourcery.com>
30241
d8f619b3
JM
30242 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
30243 (modf): Define using libm_alias_double, only if [!__modf].
30244 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
30245 <libm-alias-double.h>.
30246 (modf): Define using libm_alias_double, only if [!__modf].
30247 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
30248 compat symbol here.
30249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
30250 (weak_alias): Do not undefine and redefine.
30251 (strong_alias): Likewise.
30252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
30253 (weak_alias): Likewise.
30254 (strong_alias): Likewise.
30255
4699cb8b
JM
30256 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
30257 (logb): Define using libm_alias_double, only if [!__logb].
30258 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
30259 <libm-alias-double.h>.
30260 (logb): Define using libm_alias_double, only if [!__logb].
30261 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
30262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
30263 (weak_alias): Do not undefine and redefine.
30264 (strong_alias): Likewise.
30265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
30266 (weak_alias): Likewise.
30267 (strong_alias): Likewise.
30268
bcc4e4bb
L
302692017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30270
30271 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
30272 Check SHARED instead PIC.
30273
39793865
JM
302742017-10-03 Joseph Myers <joseph@codesourcery.com>
30275
7f1cbdf8
JM
30276 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
30277 [!__fmaf] (fmaf): Define using libm_alias_float.
30278
39793865
JM
30279 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
30280 (frexp): Define using libm_alias_double.
30281 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
30282 <libm-alias-double.h>.
30283 (frexp): Define using libm_alias_double.
30284 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
30285 compat symbol here.
30286
aa0235df
GG
302872017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30288
30289 [BZ #22235]
30290 * math/math.h: Trivial fix for unbalanced parentheses in comment.
30291 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
30292 (CFLAGS-test-math-iscanonical.cc): New variable.
30293 * math/test-math-iscanonical.cc: New file.
30294 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
30295 Provide a C++ implementation based on function overloading,
30296 rather than using __MATH_TG, which uses C-only builtins.
30297 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
30298 Likewise.
30299 * sysdeps/powerpc/powerpc64le/Makefile
30300 (CFLAGS-test-math-iscanonical.cc): New variable.
30301
a1132b5e
JM
303022017-10-03 Joseph Myers <joseph@codesourcery.com>
30303
30304 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
30305 (ceil): Define using libm_alias_double.
30306 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
30307 (floor): Define using libm_alias_double.
30308 * sysdeps/ieee754/dbl-64/s_llround.c: Include
30309 <libm-alias-double.h>.
30310 (llround): Define using libm_alias_double.
30311 * sysdeps/ieee754/dbl-64/s_lround.c: Include
30312 <libm-alias-double.h>.
30313 (lround): Define using libm_alias_double.
30314 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
30315 <libm-alias-double.h>.
30316 (nearbyint): Define using libm_alias_double.
30317 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
30318 <libm-alias-double.h>.
30319 (remquo): Define using libm_alias_double.
30320 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
30321 (rint): Define using libm_alias_double.
30322 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
30323 (round): Define using libm_alias_double.
30324 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
30325 (trunc): Define using libm_alias_double.
30326 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
30327 <libm-alias-double.h>.
30328 (ceil): Define using libm_alias_double.
30329 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
30330 <libm-alias-double.h>.
30331 (floor): Define using libm_alias_double.
30332 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
30333 <libm-alias-double.h>.
30334 (llround): Define using libm_alias_double.
30335 [_LP64] (lround): Likewise.
30336 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
30337 <libm-alias-double.h>.
30338 [!_LP64] (lround): Define using libm_alias_double.
30339 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
30340 <libm-alias-double.h>.
30341 (nearbyint): Define using libm_alias_double.
30342 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
30343 <libm-alias-double.h>.
30344 (remquo): Define using libm_alias_double.
30345 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
30346 <libm-alias-double.h>.
30347 (rint): Define using libm_alias_double.
30348 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
30349 <libm-alias-double.h>.
30350 (round): Define using libm_alias_double.
30351 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
30352 <libm-alias-double.h>.
30353 (trunc): Define using libm_alias_double.
30354 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
30355 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
30356 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
30357 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
30358 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
30359 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
30360 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
30361 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
30362 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
30363
f275f64e
SN
303642017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
30365
30366 * math/w_remainder.c: New file.
30367 * math/w_remainderf.c: New file.
30368 * math/w_remainderl.c: New file.
30369
b8818ab5
L
303702017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30371
30372 * elf/rtld.c (BOOTSTRAP_MAP): New.
30373 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
30374 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
30375 Likewise.
30376 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
30377 Likewise.
30378 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
30379 Likewise.
30380
3d1870fa
ST
303812017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
30382
30383 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
30384 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
30385 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
30386 rtld_hidden_data_ver): Define to empty.
30387 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
30388 __assert_perror_fail): Likewise.
30389 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
30390 (__rewinddir): Likewise.
30391 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
30392 (__profile_frequency): Likewise.
30393 * include/setjmp.h (__sigsetjmp): Likewise.
30394 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
30395 __libc_sigaction): Likewise.
30396 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
30397 not set hidden attribute.
30398 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
30399 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
30400 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
30401 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
30402 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
30403 __fxstatat64): Likewise.
30404 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
30405 (__uname): Likewise.
30406 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
30407 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
30408 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
30409 (NO_RTLD_HIDDEN): Set.
30410 * sysdeps/mach/hurd/configure: Refresh.
30411 * config.h.in: Refresh.
30412
527cd19c
JM
304132017-10-02 Joseph Myers <joseph@codesourcery.com>
30414
38722448
JM
30415 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
30416 (atan): Define using libm_alias_double.
30417 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
30418 (tan): Define using libm_alias_double.
30419 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
30420 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
30421
527cd19c
JM
30422 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
30423 define as weak alias of __atan. Do not define any aliases if
30424 [__atan].
30425 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
30426 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
30427 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
30428 as weak alias of __tan. Do not define any aliases if [__tan].
30429 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
30430 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
30431 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
30432 __atan.
30433 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
30434 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
30435 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
30436 and define as weak alias of __atan.
30437 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
30438 __atan.
30439 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
30440 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
30441 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
30442 define as weak alias of __tan.
30443
bdc5c592
SN
304442017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
30445
30446 * math/w_lgamma.c: New file.
30447 * math/w_lgammaf.c: New file.
30448 * math/w_lgammal.c: New file.
30449
bd4430c2
SN
304502017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
30451
30452 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
30453 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
30454 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
30455 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
30456 * sysdeps/ieee754/flt-32/w_logf.c: New file.
30457 * sysdeps/ieee754/flt-32/w_powf.c: New file.
30458 * sysdeps/i386/fpu/w_log2f.c: New file.
30459 * sysdeps/i386/fpu/w_logf.c: New file.
30460 * sysdeps/i386/fpu/w_powf.c: New file.
30461 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
30462 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
30463 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
30464
f7a0b063
SN
304652017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
30466 H.J. Lu <hongjiu.lu@intel.com>
30467
30468 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
30469 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
30470 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
30471 * sysdeps/ieee754/flt-32/w_expf.c: New file.
30472 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
30473 the new expf code.
30474 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
30475 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
30476 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
30477 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
30478 * sysdeps/i386/fpu/w_exp2f.c: New file.
30479 * sysdeps/i386/fpu/w_expf.c: New file.
30480 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
30481 * sysdeps/x86_64/fpu/w_expf.c: New file.
30482
72d3d281
SN
304832017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
30484
30485 * math/Versions (logf): New libm symbol at GLIBC_2.27.
30486 (log2f): Likewise.
30487 (powf): Likewise.
30488 * math/w_log2f.c: New file.
30489 * math/w_logf.c: New file.
30490 * math/w_powf.c: New file.
30491 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
30492 * math/w_logf_compat.c (__logf_compat): Likewise.
30493 * math/w_powf_compat.c (__powf_compat): Likewise.
30494 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
30495 * sysdeps/ia64/fpu/e_logf.S: Likewise.
30496 * sysdeps/ia64/fpu/e_powf.S: Likewise.
30497 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
30498 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
30499 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
30500 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
30501 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
30502 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
30503 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
30504 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
30505 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
30506 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
30507 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
30508 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
30509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
30510 Likewise.
30511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
30512 Likewise.
30513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
30514 Likewise.
30515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
30516 Likewise.
30517 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
30518 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
30519 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
30520 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
30521 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
30522 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
30523 Likewise.
30524 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
30525 Likewise.
30526 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
30527 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
30528 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
30529
59ba2d2b
RS
305302017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30531
30532 * sysdeps/powerpc/powerpc64/multiarch/Makefile
30533 (sysdep_routines): Add memrchr_power8.
30534 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30535 (memrchr): Add __memrchr_power8 to list of memrchr functions.
30536 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
30537 New file.
30538 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
30539 (memrchr): Add __memrchr_power8 to ifunc list.
30540 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
30541
397286ea
L
305422017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30543
30544 [BZ #18822]
30545 * sysdeps/unix/sysv/linux/posix_fadvise64.c
30546 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
30547 libc_hidden_def.
30548 * sysdeps/unix/sysv/linux/posix_fallocate64.c
30549 (__posix_fallocate64_l64): Likewise.
30550
d0a4512b
L
305512017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30552
30553 [BZ #18822]
30554 * sysdeps/unix/sysv/linux/sched_setaffinity.c
30555 (__sched_setaffinity_new): Add libc_hidden_proto and
30556 libc_hidden_def.
30557
c0769f70
L
305582017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30559
30560 [BZ #18822]
30561 * include/glob.h (__glob64): Add libc_hidden_proto.
30562 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
30563 libc_hidden_def.
30564
0e7d5b6e
L
305652017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30566
30567 [BZ #18822]
30568 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
30569 attribute_hidden.
30570
bde06c87
L
305712017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30572
30573 [BZ #18822]
30574 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
30575
fa426590
L
305762017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30577
30578 [BZ #18822]
30579 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
30580 libc_hidden_def.
30581
2f8a05d8
L
305822017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30583
30584 [BZ #18822]
30585 * csu/version.c (__libc_print_version): Add attribute_hidden.
30586
7bfd08ac
L
305872017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30588
30589 [BZ #18822]
30590 * include/libc-internal.h (__init_misc): Add attribute_hidden.
30591
0e1fd06c
L
305922017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30593
30594 [BZ #18822]
30595 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
30596
36e7ae1e
L
305972017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30598
30599 [BZ #18822]
30600 * nscd/nscd_helper.c (__nis_hash): New prototype.
30601
87078544
L
306022017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30603
30604 [BZ #18822]
30605 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
30606 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
30607 libc_hidden_def.
30608 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
30609 * termios/tcgetattr.c (__tcgetattr): Likewise.
30610
dd3121df
L
306112017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30612
30613 [BZ #18822]
30614 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
30615 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
30616 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
30617 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
30618 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
30619
047d1a81
L
306202017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30621
30622 [BZ #18822]
30623 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
30624
fd331b11
L
306252017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30626
30627 [BZ #18822]
30628 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
30629 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
30630
57f859bd
L
306312017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30632
30633 [BZ #18822]
30634 * intl/hash-string.h (__hash_string): Add attribute_hidden.
30635
d1903329
L
306362017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30637
30638 [BZ #18822]
30639 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
30640 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
30641
b4744101
L
306422017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30643
30644 [BZ #18822]
30645 * include/ifreq.h: New file.
30646 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
30647 (__ifreq): Likewise.
30648 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
30649 (__ifreq): Likewise.
30650
43b7dfd1
L
306512017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30652
30653 [BZ #18822]
30654 * include/idna.h: New file.
30655 * inet/getnameinfo.c: Include <idna.h> instead of
30656 <libidn/idna.h>.
30657 (__idna_to_unicode_lzlz): Removed.
30658 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
30659 <libidn/idna.h>.
30660 (__idna_to_ascii_lz): Removed.
30661 (__idna_to_unicode_lzlz): Likewise.
30662
2c0cd8f8
L
306632017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30664
30665 [BZ #18822]
30666 * include/plural-exp.h: New file.
30667 * intl/plural-exp.c: Include <plural-exp.h> instead of
30668 "plural-exp.h".
30669
8369d216
L
306702017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30671
30672 [BZ #18822]
30673 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
30674 "getsourcefilter.h".
30675 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
30676 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
30677 "getsourcefilter.h".
30678 (__get_sol): Removed.
30679
a0aef783
L
306802017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30681
30682 [BZ #18822]
30683 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
30684 to ...
30685 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
30686
3ee8209b
L
306872017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30688
30689 [BZ #18822]
30690 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
30691 attribute_hidden.
30692
6036fc38
L
306932017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30694
30695 [BZ #18822]
30696 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
30697
fe84fed0
L
306982017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30699
30700 [BZ #18822]
30701 * include/search.h (__tdestroy): Add libc_hidden_proto.
30702 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
30703
048dd681
L
307042017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30705
30706 [BZ #18822]
30707 * include/assert.h (__assert_fail_base): Add attribute_hidden.
30708
6e342af6
L
307092017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30710
30711 [BZ #18822]
30712 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
30713 attribute_hidden.
30714
6a088436
L
307152017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30716
30717 [BZ #18822]
30718 * include/signal.h (__kill): Add libc_hidden_proto.
30719 (__sigblock): Likewise.
30720 (__sigprocmask): Likewise.
30721 (__sigaltstack): Likewise.
30722 * signal/kill.c (__kill): Add libc_hidden_def.
30723 * signal/sigblock.c (__sigblock): Likewise.
30724 * signal/sigprocmask.c (__sigprocmask): Likewise.
30725 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
30726 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
30727 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
30728 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
30729 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
30730 Likewise.
30731 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
30732 Likewise.
30733 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
30734 (__sigprocmask): Likewise.
30735 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
30736 Likewise.
30737 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
30738 (__sigprocmask): Likewise.
30739 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
30740 Likewise.
30741
78cf1d74
L
307422017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30743
30744 [BZ #18822]
30745 * include/string.h (__strsep): Add libc_hidden_proto.
30746 * string/strsep.c (__strsep): Add libc_hidden_def.
30747
85b35894
L
307482017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30749
30750 [BZ #18822]
30751 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
30752 attribute_hidden.
30753 (__spawni): Likewise.
30754
225f7eec
L
307552017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30756
30757 [BZ #18822]
30758 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
30759 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
30760 libc_hidden_def.
30761
372fe247
L
307622017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30763
30764 [BZ #18822]
30765 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
30766
9e5ee8b8
L
307672017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30768
30769 [BZ #18822]
30770 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
30771 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
30772 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
30773 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
30774 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
30775 Likewise.
30776 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
30777 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
30778
2ff16592
L
307792017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30780
30781 [BZ #18822]
30782 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
30783 (__dcigettext): Likewise.
30784
b5648377
L
307852017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30786
30787 [BZ #18822]
30788 * include/sys/sysinfo.h (__get_nprocs_conf): Add
30789 libc_hidden_proto.
30790 (__get_nprocs): Likewise.
30791 (__get_phys_pages): Likewise.
30792 (__get_avphys_pages): Likewise.
30793 (__get_child_max): Add attribute_hidden.
30794 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
30795 (__get_nprocs): Likewise.
30796 (__get_phys_pages): Likewise.
30797 (__get_avphys_pages): Likewise.
30798 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
30799 libc_hidden_def.
30800 (__get_nprocs): Likewise.
30801 (__get_phys_pages): Likewise.
30802 (__get_avphys_pages): Likewise.
30803 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
30804 libc_hidden_def.
30805 (__get_nprocs_conf): Likewise.
30806 (__get_phys_pages): Likewise.
30807 (__get_avphys_pages): Likewise.
30808
0389a6aa
L
308092017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30810
30811 [BZ #18822]
30812 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
30813 attribute_hidden.
30814 (__netlink_close): Likewise.
30815 (__netlink_free_handle): Likewise.
30816 (__netlink_request): Likewise.
30817
d48354d8
L
308182017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30819
30820 [BZ #18822]
30821 * include/rpc/rpc.h (__rpc_thread_variables): Add
30822 attribute_hidden.
30823 (__rpc_thread_svc_cleanup): Likewise.
30824 (__rpc_thread_clnt_cleanup): Likewise.
30825 (__rpc_thread_key_cleanup): Likewise.
30826
d6daff12
L
308272017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30828
30829 [BZ #18822]
30830 * include/sys/uio.h (__readv): Add libc_hidden_proto.
30831 (__writev): Likewise.
30832 * misc/readv.c (__readv): Add libc_hidden_def.
30833 * misc/writev.c (__writev): Likewise.
30834 * sysdeps/posix/readv.c (__readv): Likewise.
30835 * sysdeps/posix/writev.c (__writev): Likewise.
30836 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
30837 (__readv): Likewise.
30838 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
30839 (__writev): Likewise.
30840
b68f8620
L
308412017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30842
30843 [BZ #18822]
30844 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
30845 (__regcomp): Add libc_hidden_proto.
30846 (__regexec): Likewise.
30847 (__regfree): Likewise.
30848 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
30849 (__regfree): Likewise.
30850 * posix/regexec.c (__regexec): Likewise.
30851
59c04e67
L
308522017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30853
30854 [BZ #18822]
30855 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
30856 (__getutent): Likewise.
30857 (__getutid): Likewise.
30858 (__getutline): Likewise.
30859 (__pututline): Likewise.
30860 (__getutent_r): Likewise.
30861 (__getutid_r): Likewise.
30862 (__getutline_r): Likewise.
30863 (__utmpname): Add attribute_hidden.
30864 (__setutent): Likewise.
30865 (__endutent): Likewise.
30866 * login/getutent.c (__getutent): Add libc_hidden_def.
30867 * login/getutent_r.c (__getutent_r): Likewise.
30868 (__pututline): Likewise.
30869 * login/getutid.c (__getutid): Likewise.
30870 * login/getutid_r.c (__getutid_r): Likewise.
30871 * login/getutline.c (__getutline): Likewise.
30872 * login/getutline_r.c (__getutline_r): Likewise.
30873 * login/updwtmp.c (__updwtmp): Likewise.
30874
4587a421
L
308752017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30876
30877 [BZ #18822]
30878 * include/dirent.h (__opendir): Always add attribute_hidden.
30879 (__fdopendir): Likewise.
30880 (__closedir): Likewise.
30881 (__readdir): Likewise.
30882 (__readdir64): Add libc_hidden_proto.
30883 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
30884 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
30885 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
30886 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
30887 New alias.
30888
9635ce69
L
308892017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30890
30891 [BZ #18822]
30892 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
30893 * include/netdb.h (__gethostbyaddr_r): Likewise.
30894 (__gethostbyname_r): Likewise.
30895 (__gethostbyname2_r): Likewise.
30896 (__getnetbyaddr_r): Likewise.
30897 (__getnetbyname_r): Likewise.
30898 (__getservbyname_r): Likewise.
30899 (__getservbyport_r): Likewise.
30900 (__getprotobyname_r): Likewise.
30901 (__getprotobynumber_r): Likewise.
30902 (__getnetgrent_r): Likewise.
30903 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
30904 (__getrpcbynumber_r): Likewise.
30905 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
30906
2e0a6909
L
309072017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30908
30909 [BZ #18822]
30910 * include/stdio.h (__fcloseall): Add attribute_hidden.
30911 (__getline): Likewise.
30912 (__path_search): Likewise.
30913 (__gen_tempname): Likewise.
30914 (__libc_message): Likewise.
30915 (__flockfile): Likewise.
30916 (__funlockfile): Likewise.
30917 (__fxprintf): Likewise.
30918 (__fxprintf_nocancel): Likewise.
30919
94fd682c
L
309202017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30921
30922 [BZ #18822]
30923 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
30924 (__sgetsgent_r): Likewise.
30925
e1b33bba
L
309262017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30927
30928 [BZ #18822]
30929 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
30930 (__statfs64): Likewise.
30931 (__fstatfs64): Likewise.
30932 * include/sys/statvfs.h (__statvfs64): Likewise.
30933 (__fstatvfs64): Likewise.
30934 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
30935 (__statfs_filesize_max): Likewise.
30936 (__statfs_symlinks): Likewise.
30937 (__statfs_chown_restricted): Likewise.
30938
b0f56784
L
309392017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30940
30941 [BZ #18822]
30942 * include/time.h (__tzstring): Add attribute_hidden.
30943 (__tzfile_read): Likewise.
30944 (__tzfile_compute): Likewise.
30945 (__tzfile_default): Likewise.
30946 (__tzset_parse_tz): Likewise.
30947 (__offtime): Likewise.
30948 (__asctime_r): Likewise.
30949 (__tzset): Likewise.
30950 (__tz_convert): Likewise.
30951 (__getdate_r): Likewise.
30952 (__getclktck): Likewise.
30953
a4338d99
L
309542017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30955
30956 [BZ #18822]
30957 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
30958 (__nscd_unmap): Likewise.
30959 (__nscd_cache_search): Likewise.
30960 (__nscd_get_nl_timestamp): Likewise.
30961 (__nscd_getpwnam_r): Likewise.
30962 (__nscd_getpwuid_r): Likewise.
30963 (__nscd_getgrnam_r): Likewise.
30964 (__nscd_getgrgid_r): Likewise.
30965 (__nscd_gethostbyname_r): Likewise.
30966 (__nscd_gethostbyname2_r): Likewise.
30967 (__nscd_gethostbyaddr_r): Likewise.
30968 (__nscd_getai): Likewise.
30969 (__nscd_getgrouplist): Likewise.
30970 (__nscd_getservbyname_r): Likewise.
30971 (__nscd_getservbyport_r): Likewise.
30972 (__nscd_innetgr): Likewise.
30973 (__nscd_setnetgrent): Likewise.
30974
a2ca1652
L
309752017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30976
30977 [BZ #18822]
30978 * include/gmp.h: Declare internal functions only if _ISOMAC is
30979 undefined.
30980 (__mpn_extract_double): Add attribute_hidden.
30981 (__mpn_extract_long_double): Likewise.
30982 (__mpn_extract_float128): Likewise.
30983 (__mpn_construct_float): Likewise.
30984 (__mpn_construct_double): Likewise.
30985 (__mpn_construct_long_double): Likewise.
30986 (__mpn_construct_float128): Likewise.
30987 (mpn_add_1): Likewise.
30988 (mpn_addmul_1): Likewise.
30989 (mpn_add_n): Likewise.
30990 (mpn_cmp): Likewise.
30991 (mpn_divrem): Likewise.
30992 (mpn_lshift): Likewise.
30993 (mpn_mul): Likewise.
30994 (mpn_mul_1): Likewise.
30995 (mpn_rshift): Likewise.
30996 (mpn_sub_1): Likewise.
30997 (mpn_submul_1): Likewise.
30998 (mpn_sub_n): Likewise.
30999
44af8a32
L
310002017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31001
31002 [BZ #18822]
31003 * include/wchar.h (__wcsnlen): Add attribute_hidden.
31004 (__wcscat): Likewise.
31005 (__btowc): Likewise.
31006 (__wcrtomb): Likewise.
31007 (__mbsrtowcs): Likewise.
31008 (__wcsrtombs): Likewise.
31009 (__mbsnrtowcs): Likewise.
31010 (__wcsnrtombs): Likewise.
31011 (__wcsncpy): Likewise.
31012 (__wcpncpy): Likewise.
31013 (__wmemcpy): Likewise.
31014 (__wmempcpy): Likewise.
31015 (__wmemmove): Likewise.
31016 (__wcschrnul): Likewise.
31017 (__vfwscanf): Likewise.
31018 (__vswprintf): Likewise.
31019 (__fwprintf): Likewise.
31020 (__vfwprintf): Likewise.
31021
783cd767
L
310222017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31023
31024 [BZ #18822]
31025 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
31026 (__getgrgid_r): Likewise.
31027 (__getgrnam_r): Likewise.
31028 * include/pwd.h (__getpwuid_r): Likewise.
31029 (__getpwnam_r): Likewise.
31030 (__fgetpwent_r): Likewise.
31031 * include/shadow.h (__getspnam_r): Likewise.
31032 (__sgetspent_r): Likewise.
31033 (__fgetspent_r): Likewise.
31034
7ec4b39a
L
310352017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31036
31037 [BZ #18822]
31038 * include/unistd.h (__access): Add attribute_hidden.
31039 (__lseek64): Likewise.
31040 (__libc_pread64): Likewise.
31041 (__pipe2): Likewise.
31042 (__sleep): Likewise.
31043 (__chdir): Likewise.
31044 (__fchdir): Likewise.
31045 (__getcwd): Likewise.
31046 (__rmdir): Likewise.
31047 (__execvpe): Likewise.
31048 (__execve): Likewise.
31049 (__setsid): Likewise.
31050 (__getuid): Likewise.
31051 (__geteuid): Likewise.
31052 (__getgid): Likewise.
31053 (__getegid): Likewise.
31054 (__getgroups): Likewise.
31055 (__group_member): Likewise.
31056 (__ttyname_r): Likewise.
31057 (__isatty): Likewise.
31058 (__readlink): Likewise.
31059 (__unlink): Likewise.
31060 (__gethostname): Likewise.
31061 (__profil): Likewise.
31062 (__getdtablesize): Likewise.
31063 (__brk): Likewise.
31064 (__ftruncate): Likewise.
31065 (__ftruncate64): Likewise.
31066
8345a760
L
310672017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31068
31069 [BZ #18822]
31070 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
31071 * argp/argp-fs-xinl.c: Likewise.
31072 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
31073 * argp/argp-parse.c: Include <argp.h>.
31074 * argp/argp-xinl.c: Likewise.
31075 * include/argp-fmtstream.h: New file.
31076 * include/argp.h (__argp_error): Add attribute_hidden.
31077 (__argp_failure): Likewise.
31078 (__argp_input): Likewise.
31079 (__argp_state_help): Likewise.
31080
c26dd7c6
L
310812017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31082
31083 [BZ #18822]
31084 * include/wchar.h (____wcstof_l_internal): New prototype.
31085 (____wcstod_l_internal): Likewise.
31086 (____wcstold_l_internal): Likewise.
31087 (____wcstol_l_internal): Likewise.
31088 (____wcstoul_l_internal): Likewise.
31089 (____wcstoll_l_internal): Likewise.
31090 (____wcstoull_l_internal): Likewise.
31091 (____wcstof128_l_internal): Likewise.
31092 * sysdeps/ieee754/float128/wcstof128.c
31093 (____wcstof128_l_internal): Removed.
31094 * sysdeps/ieee754/float128/wcstof128_l.c
31095 (____wcstof128_l_internal): Likewise.
31096 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
31097 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
31098 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
31099 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
31100 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
31101 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
31102 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
31103 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
31104 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
31105 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
31106
3aff5644
L
311072017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31108
31109 [BZ #18822]
31110 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
31111 instead of <sys/statvfs.h>.
31112 (__internal_statvfs): Removed.
31113 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
31114 instead of <sys/statvfs.h>.
31115 (__internal_statvfs64): Removed.
31116 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
31117 "internal_statvfs.h" instead of <sys/statvfs.h>.
31118 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
31119 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
31120 instead of <sys/statvfs.h>.
31121 (__internal_statvfs): Removed.
31122 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
31123 instead of <sys/statvfs.h>.
31124 (__internal_statvfs64): Removed.
31125
8bcdb7e0
L
311262017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31127
31128 [BZ #18822]
31129 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
31130 (__gconv_close): Likewise.
31131 (__gconv): Likewise.
31132 (__gconv_find_transform): Likewise.
31133 (__gconv_lookup_cache): Likewise.
31134 (__gconv_compare_alias_cache): Likewise.
31135 (__gconv_load_cache): Likewise.
31136 (__gconv_get_path): Likewise.
31137 (__gconv_close_transform): Likewise.
31138 (__gconv_release_cache): Likewise.
31139 (__gconv_find_shlib): Likewise.
31140 (__gconv_release_shlib): Likewise.
31141 (__gconv_get_builtin_trans): Likewise.
31142 (__gconv_compare_alias): Likewise.
31143 * include/dlfcn.h (_dlerror_run): Likewise.
31144 * include/stdio.h (__fortify_fail_abort): Likewise.
31145 * include/time.h (__tz_compute): Likewise.
31146 (__strptime_internal): Likewise.
31147 * intl/gettextP.h (_nl_find_domain): Likewise.
31148 (_nl_load_domain): Likewise.
31149 (_nl_find_msg): Likewise.
31150 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
31151 (EXTRACT_PLURAL_EXPRESSION): Likewise.
31152 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
31153 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
31154 (__gai_find_request): Likewise.
31155 (__gai_remove_request): Likewise.
31156 (__gai_notify): Likewise.
31157 (__gai_notify_only): Likewise.
31158 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
31159 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
31160 (_dl_non_dynamic_init): Likewise.
31161 (_dl_aux_init): Likewise.
31162 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
31163 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
31164 Likewise.
31165 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
31166 (__wcsmbs_clone_conv): Likewise.
31167 (__wcsmbs_named_conv): Likewise.
31168
8ed3b643
L
311692017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31170
31171 [BZ #18822]
31172 * include/stdlib.h (__random): Add attribute_hidden.
31173 (__random_r): Likewise.
31174 (__srandom_r): Likewise.
31175 (__initstate_r): Likewise.
31176 (__setstate_r): Likewise.
31177 (__erand48_r): Likewise.
31178 (__nrand48_r): Likewise.
31179 (__jrand48_r): Likewise.
31180 (__srand48_r): Likewise.
31181 (__seed48_r): Likewise.
31182 (__lcong48_r): Likewise.
31183 (__drand48_iterate): Likewise.
31184 (__setenv): Likewise.
31185 (__unsetenv): Likewise.
31186 (__clearenv): Likewise.
31187 (__ptsname_r): Likewise.
31188 (__posix_openpt): Likewise.
31189 (__add_to_environ): Likewise.
31190 (__realpath): Add libc_hidden_proto.
31191 (__ecvt_r): Likewise.
31192 (__fcvt_r): Likewise.
31193 (__qecvt_r): Likewise.
31194 (__qfcvt_r): Likewise.
31195 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
31196 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
31197
ef9b6f73
L
311982017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31199
31200 [BZ #18822]
31201 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
31202 * include/time.h (__mktime_internal): Likewise.
31203 * libio/iolibio.h (__fopen_internal): Likewise.
31204
8da92e72
JDA
312052017-10-01 John David Anglin <danglin@gcc.gnu.org>
31206
31207 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
31208 pointer in frame.
31209 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
31210 Correct offset used to restore PIC register.
31211
388784cf
JDA
312122017-09-30 John David Anglin <danglin@gcc.gnu.org>
31213
31214 [BZ libc/22165]
31215 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
31216 code to load address of __getcontext_ret when generating PIC code.
31217
2000067a
L
312182017-09-30 H.J. Lu <hongjiu.lu@intel.com>
31219
31220 * elf/Makefile (tests-static-internal): Add
31221 tst-tls1-static-non-pie.
31222 (LDFLAGS-tst-tls1-static-non-pie): New.
31223 * elf/tst-tls1-static-non-pie.c: New file.
31224
1e2bffd0
JM
312252017-09-29 Joseph Myers <joseph@codesourcery.com>
31226
31227 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
31228 (asinh): Define using libm_alias_double.
31229 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
31230 (cbrt): Define using libm_alias_double.
31231 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
31232 <libm-alias-double.h>.
31233 (copysign): Define using libm_alias_double.
31234 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
31235 (erf): Define using libm_alias_double.
31236 (erfc): Likewise.
31237 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
31238 (expm1): Define using libm_alias_double.
31239 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
31240 (fabs): Define using libm_alias_double.
31241 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
31242 libm_alias_double.
31243 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
31244 <libm-alias-double.h>.
31245 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
31246 libm_alias_double.
31247 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
31248 <libm-alias-double.h>.
31249 (getpayload): Define using libm_alias_double.
31250 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
31251 <libm-alias-double.h>.
31252 (llrint): Define using libm_alias_double.
31253 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
31254 (lrint): Define using libm_alias_double.
31255 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
31256 <libm-alias-double.h>.
31257 (nextup): Define using libm_alias_double.
31258 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
31259 <libm-alias-double.h>.
31260 (roundeven): Define using libm_alias_double.
31261 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
31262 libm_alias_double.
31263 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
31264 <libm-alias-double.h>.
31265 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
31266 using libm_alias_double.
31267 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
31268 (cos): Define using libm_alias_double.
31269 (sin): Likewise.
31270 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
31271 <libm-alias-double.h>.
31272 (sincos): Define using libm_alias_double.
31273 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
31274 (tanh): Define using libm_alias_double.
31275 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
31276 <libm-alias-double.h>.
31277 (totalorder): Define using libm_alias_double.
31278 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
31279 <libm-alias-double.h>.
31280 (totalordermag): Define using libm_alias_double.
31281 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
31282 libm_alias_double.
31283 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
31284 libm_alias_double.
31285 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
31286 <libm-alias-double.h>.
31287 (getpayload): Define using libm_alias_double.
31288 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
31289 <libm-alias-double.h>.
31290 (roundeven): Define using libm_alias_double.
31291 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
31292 <libm-alias-double.h>.
31293 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
31294 <libm-alias-double.h>.
31295 (totalorder): Define using libm_alias_double.
31296 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
31297 <libm-alias-double.h>.
31298 (totalordermag): Define using libm_alias_double.
31299 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
31300 libc compat symbol here.
31301 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
31302 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
31303 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
31304 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
31305 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
31306 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
31307 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
31308 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
31309 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
31310 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
31311
8172aad9
L
313122017-09-29 H.J. Lu <hongjiu.lu@intel.com>
31313
31314 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
31315 _dl_relocate_static_pie instead of _dl_start to compute load
31316 address in static PIE. Return 0 if _DYNAMIC is undefined for
31317 static executable.
31318
54464e74
L
313192017-09-29 H.J. Lu <hongjiu.lu@intel.com>
31320
31321 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
31322 _DYNAMIC is undefined for static executable.
31323
f6c5e5bc
L
313242017-09-29 H.J. Lu <hongjiu.lu@intel.com>
31325
31326 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
31327
2f92505d
JM
313282017-09-29 Joseph Myers <joseph@codesourcery.com>
31329
31330 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31331
bd8d53bb
WD
313322017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
31333
31334 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
31335 (__ieee754_lgamma_r): Use fabs rather than __fabs.
31336 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
31337 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
31338 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
31339 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
31340 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
31341 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
31342 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
31343 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
31344 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
31345 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
31346 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
31347 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
31348 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
31349 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
31350 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
31351
fffb1507
WD
313522017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
31353
31354 * math/bits/cmathcalls.h (cimag): Remove inline.
31355 (creal): Remove inline.
31356 (conj): Remove inline.
31357
4ea49f4c
SN
313582017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31359
31360 * math/Makefile (type-float-routines): Add e_powf_log2_data.
31361 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
31362 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
31363 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
31364 (issignalingf_inline): Likewise.
31365 (POWF_LOG2_TABLE_BITS): Likewise.
31366 (POWF_LOG2_POLY_ORDER): Likewise.
31367 (POWF_SCALE_BITS): Likewise.
31368 (POWF_SCALE): Likewise.
31369 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
31370 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
31371 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
31372
875c76c7
SN
313732017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31374
31375 * math/Makefile (type-float-routines): Add e_log2f_data.
31376 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
31377 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
31378 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
31379 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
31380 * sysdeps/i386/fpu/e_log2f_data.c: New file.
31381 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
31382 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
31383
90c42e40
SN
313842017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31385
31386 * math/Makefile (type-float-routines): Add e_logf_data.
31387 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
31388 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
31389 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
31390 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
31391 * sysdeps/i386/fpu/e_logf_data.c: New file.
31392 * sysdeps/ia64/fpu/e_logf_data.c: New file.
31393 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
31394
4088d8dd
L
313952017-09-28 H.J. Lu <hongjiu.lu@intel.com>
31396
31397 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
31398 undefined _DYNAMIC in PIE libc.a.
31399 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
31400 Likewse.
31401
4d3693ec
WD
314022017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
31403
31404 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
31405 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
31406 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
31407 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
31408 (__signbit): Remove.
31409 (__signbitl): Remove.
31410 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
31411 (__signbit): Remove.
31412 (__signbitl): Remove.
31413 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
31414 (__signbit): Remove.
31415 (__signbitl): Remove.
31416 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
31417 (__signbit): Remove.
31418 (__signbitl): Remove.
31419 * sysdeps/tile/bits/mathinline.h: Delete file.
31420 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
31421 (__signbit): Remove.
31422 (__signbitl): Remove.
31423
1e6d0723
WD
314242017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
31425
31426 * math/math.h: Improve handling of C99 isgreater macros.
31427 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
31428 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
31429 * sysdeps/powerpc/bits/mathinline.h: Likewise.
31430 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31431 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
31432
b2f03cf3
SN
314332017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
31434
31435 * sysdeps/aarch64/libm-test-ulps: Update.
31436
f124cb38
JM
314372017-09-28 Joseph Myers <joseph@codesourcery.com>
31438
31439 [BZ #22225]
31440 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31441 math_opt_barrier on argument when doing arithmetic on it.
31442 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
31443 Likewise. Use math_force_eval not math_opt_barrier after
31444 arithmetic.
31445 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
31446 math_opt_barrier on argument when doing arithmetic on it.
31447 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31448 Likewise.
31449
7edd0691
L
314502017-09-27 H.J. Lu <hongjiu.lu@intel.com>
31451
31452 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
31453 libc_hidden_def.
31454 (__freeifaddrs): Likewise.
31455
2c7bbfaf
ST
314562017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
31457
31458 * include/dirent.h (__dirfd): New declaration.
31459 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
31460 alias.
31461 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
31462 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
31463 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
52a1f181
ST
31464 * include/unistd.h (__revoke): New declaration.
31465 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
31466 alias.
31467 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
31468 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
31469 revoke.
64a4af28
ST
31470 * include/dirent.h (__seekdir): New declaration.
31471 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
31472 redefine as weak alias.
31473 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
31474 of seekdir.
4009ddc6
ST
31475 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
31476 and use libc_hidden_def on them.
31477 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
31478 them.
31479 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
31480 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
31481 instead of getifaddrs and freeifaddrs.
2c7bbfaf 31482
825adeee
L
314832017-09-26 H.J. Lu <hongjiu.lu@intel.com>
31484
31485 [BZ #18822]
31486 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
31487 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
31488 (__dso_handle): Remove declaration.
31489 * dlfcn/tstatexit.c (__dso_handle): Removed.
31490 (main): Don't check __dso_handle.
31491 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
31492 (main): Don't check __dso_handle.
31493 * include/dso_handle.h: New file.
31494 * malloc/mtrace.c: Include <dso_handle.h>.
31495 (mtrace): Pass __dso_handle directly.
31496 * nptl/pthread_atfork.c: Include <dso_handle.h>.
31497 (__dso_handle): Remove declaration.
31498 (__pthread_atfork): Pass __dso_handle directly.
31499 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
31500 (__dso_handle): Removed.
31501 * posix/wordexp-test.c: Include <dso_handle.h>.
31502 (__dso_handle): Remove declaration.
31503 (__app_register_atfork): Pass __dso_handle directly.
31504 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
31505 (__dso_handle): Remove declaration.
31506 (at_quick_exit): Pass __dso_handle directly.
31507 * stdlib/atexit.c: Include <dso_handle.h>.
31508 (__dso_handle): Remove declaration.
31509 (atexit): Pass __dso_handle directly.
31510 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
31511 (__dso_handle): Removed.
31512
bfb0deb3
JM
315132017-09-26 Joseph Myers <joseph@codesourcery.com>
31514
31515 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
31516 using VDSO.
31517
cebcb9f8
AM
315182017-09-26 Alexey Makhalov <amakhalov@vmware.com>
31519
31520 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
31521 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
31522 values to correct default value for given type.
31523
592d5c75
L
315242017-09-26 H.J. Lu <hongjiu.lu@intel.com>
31525
31526 [BZ #22101]
31527 * elf/Makefile (tests): Add tst-debug1.
31528 ($(objpfx)tst-debug1): New.
31529 ($(objpfx)tst-debug1.out): Likewise.
31530 ($(objpfx)tst-debug1mod1.so): Likewise.
31531 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
31532 with p_filesz == 0.
31533 * elf/tst-debug1.c: New file.
31534
2d9193f2
JM
315352017-09-26 Joseph Myers <joseph@codesourcery.com>
31536
31537 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
31538 Define using __ifunc.
31539
4c5a7a02
TMQMF
315402017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31541
31542 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
31543 exp2f() values.
31544
12ef66c4
JM
315452017-09-26 Joseph Myers <joseph@codesourcery.com>
31546
31547 [BZ #22156]
31548 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
31549
44dade71
FW
315502017-09-26 Florian Weimer <fweimer@redhat.com>
31551
31552 * resolv/Makefile (tests-internal): Fix typo in comment.
31553
eaca16f1
FW
315542017-09-26 Florian Weimer <fweimer@redhat.com>
31555
31556 * resolv/nss_dns/dns-host.c: Fix typo in comment.
31557
ccf970c7
AZ
315582017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31559
5f9f31ad
AZ
31560 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
31561 Use an union instead of a max_align_t array for __space,
31562 so that __space is the same size on all platforms.
31563 * malloc/scratch_buffer_grow_preserve.c
31564 (__libc_scratch_buffer_grow_preserve): Likewise.
31565
ccf970c7
AZ
31566 [BZ #22183]
31567 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
31568 version to 2.
31569 * posix/Makefile (routines): Add glob-lstat-compat and
31570 glob64-lstat-compat.
31571 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
31572 * posix/glob-lstat-compat.c: New file.
31573 * posix/glob64-lstat-compat.c: Likewise.
31574 * posix/tst-glob_lstat_compat.c: Likewise.
31575 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
31576 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
31577 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
31578 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
31579 Likewise.
31580 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
31581 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
31582 * posix/glob.c (glob_lstat): New function.
31583 (glob): Rename to __glob and add versioned symbol to 2.27.
31584 (glob_in_dir): Use glob_lstat.
31585 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
31586 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
31587 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
31588 2.27.
31589 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
31590 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
31591 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
31592 gl_lstat on glob call.
31593 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
31594 and glob64 symbols.
31595 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
31596 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
31597 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
31598 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
31599 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
31600 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
31601 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
31602 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
31603 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
31604 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
31605 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
31606 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
31607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
31608 Likewise.
31609 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
31610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
31611 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
31612 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
31613 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
31614 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
31615 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
31616 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
31617 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
31618 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
31619 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
31620 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
31621
b4396163
L
316222017-09-25 H.J. Lu <hongjiu.lu@intel.com>
31623
31624 * configure.ac (AS): Require binutils 2.25 or later.
31625 * configure: Regenerated.
31626
8f834987
PP
316272017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
31628
31629 [BZ #22207]
31630 * stdlib/test-atexit-race-common.c (do_test): Minimize required
31631 VM size.
31632
3de93d19
DD
316332017-09-25 DJ Delorie <dj@redhat.com>
31634
31635 [BZ #22161]
31636 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
31637 resetting timeout.
31638
9947638d
SL
316392017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
31640
31641 * sysdeps/ieee754/dbl-64/sincos32.h
31642 [SINCCOS32_H]: Remove define.
31643 [SINCOS32_H]: Define.
31644
f5f0f526
SN
316452017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
31646
31647 * math/Versions (expf): New libm symbol at GLIBC_2.27.
31648 (exp2f): Likewise.
31649 * math/w_exp2f.c: New file.
31650 * math/w_expf.c: New file.
31651 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
31652 * math/w_expf_compat.c (__expf_compat): Likewise.
31653 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
31654 * sysdeps/ia64/fpu/e_expf.S: Likewise.
31655 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
31656 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
31657 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
31658 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
31659 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
31660 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
31661 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
31662 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
31663 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
31664 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
31665 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
31666 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
31667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
31668 Likewise.
31669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
31670 Likewise.
31671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
31672 Likewise.
31673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
31674 Likewise.
31675 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
31676 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
31677 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
31678 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
31679 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
31680 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
31681 Likewise.
31682 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
31683 Likewise.
31684 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
31685 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
31686 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
31687
72aa6233
SN
316882017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
31689
31690 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
31691 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
31692 (roundtoint, converttoint): Likewise.
31693 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
31694 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
31695 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
31696 * sysdeps/ieee754/flt-32/math_config.h: New file.
31697 * sysdeps/ieee754/flt-32/math_errf.c: New file.
31698 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
31699 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
31700 * sysdeps/i386/fpu/math_errf.c: New file.
31701 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
31702 * sysdeps/ia64/fpu/math_errf.c: New file.
31703 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
31704 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
31705
5e6f3253
ST
317062017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
31707
31708 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
31709 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
31710 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
31711 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
31712 to make sure that these symbols are defined.
b38a42a0
ST
31713 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
31714 of <limits.h>
31715 (__need_NULL): Do not define.
31716 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
31717 alignment.
31718 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
31719 CMGROUP_MAX, cmsgcred): Do not define.
31720 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
31721 NULL.
31722 * bits/socket.h: Likewise.
fcafcd16
ST
31723 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
31724 __gettimeofday instead of gettimeofday.
31725 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
31726 instead of settimeofday.
5e6f3253 31727
2f49ce7d
JM
317282017-09-22 Joseph Myers <joseph@codesourcery.com>
31729
31730 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
31731 (asinhf): Define using libm_alias_float.
31732 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
31733 (atanf): Define using libm_alias_float.
31734 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
31735 (cbrtf): Define using libm_alias_float.
31736 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
31737 (ceilf): Define using libm_alias_float.
31738 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
31739 <libm-alias-float.h>.
31740 (copysignf): Define using libm_alias_float.
31741 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
31742 (cosf): Define using libm_alias_float.
31743 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
31744 (erff): Define using libm_alias_float.
31745 (erfcf): Likewise.
31746 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
31747 (expm1f): Define using libm_alias_float.
31748 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
31749 (fabsf): Define using libm_alias_float.
31750 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
31751 (floorf): Define using libm_alias_float.
31752 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
31753 (frexpf): Define using libm_alias_float.
31754 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
31755 libm_alias_float.
31756 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
31757 <libm-alias-float.h>.
31758 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
31759 libm_alias_float.
31760 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
31761 <libm-alias-float.h>.
31762 (getpayloadf): Define using libm_alias_float.
31763 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
31764 <libm-alias-float.h>.
31765 (llrintf): Define using libm_alias_float.
31766 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
31767 <libm-alias-float.h>.
31768 (llroundf): Define using libm_alias_float.
31769 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
31770 (logbf): Define using libm_alias_float.
31771 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
31772 (lrintf): Define using libm_alias_float.
31773 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
31774 (lroundf): Define using libm_alias_float.
31775 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
31776 (modff): Define using libm_alias_float.
31777 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
31778 <libm-alias-float.h>.
31779 (nearbyintf): Define using libm_alias_float.
31780 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
31781 <libm-alias-float.h>.
31782 (nextafterf): Define using libm_alias_float.
31783 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
31784 <libm-alias-float.h>.
31785 (nextupf): Define using libm_alias_float.
31786 * sysdeps/ieee754/flt-32/s_remquof.c: Include
31787 <libm-alias-float.h>.
31788 (remquof): Define using libm_alias_float.
31789 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
31790 (rintf): Define using libm_alias_float.
31791 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
31792 <libm-alias-float.h>.
31793 (roundevenf): Define using libm_alias_float.
31794 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
31795 (roundf): Define using libm_alias_float.
31796 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
31797 using libm_alias_float.
31798 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
31799 <libm-alias-float.h>.
31800 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
31801 Define using libm_alias_float.
31802 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
31803 <libm-alias-float.h>.
31804 (sincosf): Define using libm_alias_float.
31805 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
31806 (sinf): Define using libm_alias_float.
31807 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
31808 (tanf): Define using libm_alias_float.
31809 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
31810 (tanhf): Define using libm_alias_float.
31811 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
31812 <libm-alias-float.h>.
31813 (totalorderf): Define using libm_alias_float.
31814 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
31815 <libm-alias-float.h>.
31816 (totalordermagf): Define using libm_alias_float.
31817 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
31818 (truncf): Define using libm_alias_float.
31819 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
31820 libm_alias_float.
31821 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
31822 libm_alias_float.
31823
c5c4a626
GG
318242017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31825
31826 [BZ #22146]
31827 math/math.h: Let fpclassify use the builtin in C++ mode, even
31828 when optimazing for size.
31829
23947846
JM
318302017-09-22 Joseph Myers <joseph@codesourcery.com>
31831
31832 * csu/Makefile (generated): Do not add version-info.h.
31833 (before-compile): Likewise.
31834 (all-Banner-files): Remove variable.
31835 ($(objpfx)version-info.h): Remove rule.
31836 * csu/version.c (banner): Do not include "version-info.h".
31837 * libidn/Banner: Remove.
31838 * manual/contrib.texi (Simon Josefsson): New entry.
31839
9ac3c682
GG
318402017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31841
31842 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31843 Remove conditionals on LDBL_MANT_DIG.
31844 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
31845 (__ieee754_lgammal_r): Likewise.
31846
d2f0ed09
GG
318472017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31848
31849 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
31850 _Float128 and L().
31851 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
31852 _Float128 and L(). Replace _Float128 with long double and L(x)
31853 with xL, throughout the file.
31854 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
31855 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
31856 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
31857 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
31858
c5c2e667
GG
318592017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31860
31861 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
31862 sysdeps/ieee754/ldbl-128ibm.
31863 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
31864 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
31865 of including it. Keep _Float128 and L() intact. These will be
31866 reviewed by a separate patch.
31867 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
31868 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
31869 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
31870 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
31871
e010deb2
GG
318722017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31873
31874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
31875 (__finitef128): Define to __redirect___finitef128.
31876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
31877 (__isinff128): Define to __redirect___isinff128.
31878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
31879 (__isnanf128): Define to __redirect___isnanf128.
31880
ffa44804
GG
318812017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31882
31883 * sysdeps/powerpc/powerpc64le/Makefile
31884 (CFLAGS-tst-strtod-nan-locale.c): New variable.
31885 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
31886
e5e4d7cc
PP
318872017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
31888 Carlos O'Donell <carlos@redhat.com>
31889
31890 [BZ #22180]
31891 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
31892 * stdlib/test-dlclose-exit-race.c: New file.
31893 * stdlib/test-dlclose-exit-race-helper.c: New file.
31894 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
31895
c10c5267
JM
318962017-09-21 Joseph Myers <joseph@codesourcery.com>
31897
31898 * crypt/Banner: Remove file.
31899 * nptl/Banner: Likewise.
31900 * resolv/Banner: Likewise.
31901 * soft-fp/Banner: Likewise.
31902 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
31903 ($(objpfx)version.d): Remove dependency on banner.h.
31904 ($(objpfx)version.os): Likewise.
31905 * nptl/version.c (banner): Do not include banner.h.
31906 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
31907 Jelinek and BIND code.
31908
1cc9e59a
PP
319092017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
31910 Carlos O'Donell <carlos@redhat.com>
31911
31912 * support/xdlfcn.h: New file.
31913 * support/xdlfcn.c: New file.
31914 * support/Makefile (libsupport-routines): Add xdlfcn.
31915 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
31916
ae8372d7
JM
319172017-09-20 Joseph Myers <joseph@codesourcery.com>
31918
31919 [BZ #20142]
31920 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31921 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
31922 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
31923 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
31924 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
31925 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
31926 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
31927 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
31928
26e70aec 319292017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
b39d961c
TS
31930 Ricky Zhou <rickyz@google.com>
31931 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26e70aec
PP
31932
31933 [BZ #14333]
31934 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
31935 Remove atomics.
31936 (__new_exitfn): Fail registration when we finished at_exit processing.
31937 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
31938 * stdlib/on_exit.c (__on_exit): Likewise.
31939 * stdlib/exit.c (__exit_funcs_done): New variable.
31940 (__run_exit_handlers): Use __exit_funcs_lock.
31941 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
31942 declarations.
31943 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
31944 (test-cxa_atexit-race, test-on_exit-race): New tests.
31945 * stdlib/test-atexit-race-common.c: New file.
31946 * stdlib/test-atexit-race.c: New file.
31947 * stdlib/test-at_quick_exit-race.c: New file.
31948 * stdlib/test-cxa_atexit-race.c: New file.
31949 * stdlib/test-on_exit-race.c: New file.
31950
0525ce48
SN
319512017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
31952
31953 * benchtests/Makefile: Add exp2f and log2f benchmarks.
31954 * benchtests/exp2f-inputs: Copy of expf-inputs.
31955 * benchtests/log2f-inputs: Copy of logf-inputs.
31956
d82468d1
JM
319572017-09-19 Joseph Myers <joseph@codesourcery.com>
31958
31959 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
31960 Explicitly take address of first element of array arguments in
31961 call to INLINE_SYSCALL.
31962
43ffc53a
AS
319632017-09-19 Andreas Schwab <schwab@suse.de>
31964
31965 [BZ #22134]
31966 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
31967 execveat first.
31968 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
31969 unimplemented.
31970 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
31971 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
31972 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31973 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
31974 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31975 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
31976 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31977 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
31978 * posix/Makefile (tests): Add tst-fexecve.
31979 * posix/tst-fexecve.c: New file.
31980
a5dcc87e
WD
319812017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
31982
31983 * benchtests/Makefile: Add logf benchmark.
31984 * benchtests/logf-inputs: Add reduced trace from wrf_r.
31985
7024d544
WD
319862017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
31987
31988 * benchtests/Makefile: Add expf benchmark.
31989 * benchtests/expf-inputs: Add reduced trace from wrf_r.
31990
ca3a382e
WD
319912017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
31992
31993 * csu/Makefile: Add -funwind-tables to libc-start.c.
31994 * debug/Makefile: Add -funwind-tables to backtrace.c.
31995 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
31996 * sysdeps/arm/Makefile: Likewise.
31997 * sysdeps/i386/Makefile: Likewise.
31998 * sysdeps/m68k/Makefile: Likewise.
31999 * sysdeps/mips/Makefile: Likewise.
32000 * sysdeps/nios2/Makefile: Likewise.
32001 * sysdeps/sh/Makefile: Likewise.
32002 * sysdeps/sparc/Makefile: Likewise.
32003
eb375def
JM
320042017-09-19 Joseph Myers <joseph@codesourcery.com>
32005
32006 * benchtests/Makefile (bench-math): Add trunc and truncf.
32007 (CFLAGS-bench-trunc.c): New variable.
32008 (CFLAGS-bench-truncf.c): Likewise.
32009 * benchtests/trunc-inputs: New file.
32010 * benchtests/truncf-inputs: Likewise.
32011
bd17ba29
RS
320122017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32013
32014 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
32015
92892fdb
JM
320162017-09-18 Joseph Myers <joseph@codesourcery.com>
32017
6d9b0b5a
JM
32018 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
32019 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
32020 redefine.
32021 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
32022 (exp10l): Define as weak alias.
32023 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
32024 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
32025 and redefine.
32026 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
32027 (remainderl): Define as weak alias.
32028
92892fdb
JM
32029 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
32030 (fmal): Define using libm_alias_ldouble.
32031 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
32032 (acoshl): Define using libm_alias_ldouble.
32033 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
32034 (acosl): Define using libm_alias_ldouble.
32035 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
32036 (asinl): Define using libm_alias_ldouble.
32037 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
32038 (atan2l): Define using libm_alias_ldouble.
32039 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
32040 (atanhl): Define using libm_alias_ldouble.
32041 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
32042 (coshl): Define using libm_alias_ldouble.
32043 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
32044 (exp10l): Define using libm_alias_ldouble.
32045 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
32046 (exp2l): Define using libm_alias_ldouble.
32047 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
32048 (expl): Define using libm_alias_ldouble.
32049 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
32050 (fmodl): Define using libm_alias_ldouble.
32051 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
32052 (hypotl): Define using libm_alias_ldouble.
32053 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
32054 (j0l): Define using libm_alias_ldouble.
32055 (y0l): Likewise.
32056 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
32057 (j1l): Define using libm_alias_ldouble.
32058 (y1l): Likewise.
32059 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
32060 (jnl): Define using libm_alias_ldouble.
32061 (ynl): Likewise.
32062 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
32063 (log10l): Define using libm_alias_ldouble.
32064 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
32065 (log2l): Define using libm_alias_ldouble.
32066 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
32067 (logl): Define using libm_alias_ldouble.
32068 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
32069 (powl): Define using libm_alias_ldouble.
32070 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
32071 (remainderl): Define using libm_alias_ldouble.
32072 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
32073 (sinhl): Define using libm_alias_ldouble.
32074 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
32075 (sqrtl): Define using libm_alias_ldouble.
32076 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
32077 (tgammal): Define using libm_alias_ldouble.
32078 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
32079 (exp10l): Do not use long_double_symbol here.
32080 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
32081 [LIBM_SVID_COMPAT] (remainderl): Likewise.
32082 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
32083 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
32084 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
32085 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
32086 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
32087 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
32088 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
32089 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
32090 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
32091 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
32092 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
32093 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
32094 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
32095 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
32096 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
32097 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
32098 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
32099 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
32100 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
32101 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
32102
6cd380dd
WB
321032017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
32104
32105 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
32106 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
32107
1c6d89e9
ST
321082017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
32109
32110 * io/read.c (read): Add libc_hidden_weak.
32111 * sysdeps/mach/hurd/read.c (read): Likewise.
32112 * io/write.c (write): Likewise.
32113 * sysdeps/mach/hurd/write.c (write): Likewise.
32114 * io/pread64.c (__pread64): Likewise.
32115 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
32116 * posix/pread64.c (__pread64): Add libc_hidden_def.
32117
06b1de23
SP
321182017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
32119
140647ea
SP
32120 * benchtests/scripts/compare_strings.py: New option -g.
32121 (draw_graph): Print a message that a graph is being generated.
32122 (process_results): Generate graph only if -g is passed.
32123 (main): Process option -g.
32124
5a6547b7
SP
32125 * benchtests/scripts/compare_strings.py (process_results):
32126 Better spacing for output.
32127
06b1de23
SP
32128 * benchtests/scripts/compare_strings.py: Use argparse.
32129 * benchtests/README: Document existence of compare_strings.py.
32130
c67a2328
JM
321312017-09-15 Joseph Myers <joseph@codesourcery.com>
32132
9ac44708
JM
32133 * math/s_fma.c: Include <libm-alias-double.h>.
32134 (fma): Define using libm_alias_double.
32135 * math/s_nextafter.c: Include <libm-alias-double.h>.
32136 (nextafter): Define using libm_alias_double.
32137 * math/w_acos_compat.c: Include <libm-alias-double.h>.
32138 (acos): Define using libm_alias_double.
32139 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
32140 (aocsh): Define using libm_alias_double.
32141 * math/w_asin_compat.c: Include <libm-alias-double.h>.
32142 (asin): Define using libm_alias_double.
32143 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
32144 (atan2): Define using libm_alias_double.
32145 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
32146 (atanh): Define using libm_alias_double.
32147 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
32148 (cosh): Define using libm_alias_double.
32149 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
32150 (exp10): Define using libm_alias_double.
32151 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
32152 (exp2): Define using libm_alias_double.
32153 * math/w_exp_compat.c: Include <libm-alias-double.h>.
32154 (exp): Define using libm_alias_double.
32155 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
32156 (fmod): Define using libm_alias_double.
32157 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
32158 (hypot): Define using libm_alias_double.
32159 * math/w_j0_compat.c: Include <libm-alias-double.h>.
32160 (j0): Define using libm_alias_double.
32161 (y0): Likewise.
32162 * math/w_j1_compat.c: Include <libm-alias-double.h>.
32163 (j1): Define using libm_alias_double.
32164 (y1): Likewise.
32165 * math/w_jn_compat.c: Include <libm-alias-double.h>.
32166 (jn): Define using libm_alias_double.
32167 (yn): Likewise.
32168 * math/w_log10_compat.c: Include <libm-alias-double.h>.
32169 (log10): Define using libm_alias_double.
32170 * math/w_log2_compat.c: Include <libm-alias-double.h>.
32171 (log2): Define using libm_alias_double.
32172 * math/w_log_compat.c: Include <libm-alias-double.h>.
32173 (log): Define using libm_alias_double.
32174 * math/w_pow_compat.c: Include <libm-alias-double.h>.
32175 (pow): Define using libm_alias_double.
32176 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
32177 (remainder): Define using libm_alias_double.
32178 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
32179 (sinh): Define using libm_alias_double.
32180 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
32181 (sqrt): Define using libm_alias_double.
32182 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
32183 (tgamma): Define using libm_alias_double.
32184 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
32185 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
32186 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
32187 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
32188 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
32189 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
32190 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
32191 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
32192 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
32193 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
32194 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
32195 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
32196 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
32197 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
32198 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
32199 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
32200 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
32201 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
32202 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
32203 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
32204 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
32205 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
32206 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
32207 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
32208 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
32209
c67a2328
JM
32210 * math/e_acoshl.c: Remove.
32211 * math/e_acosl.c: Likewise.
32212 * math/e_asinl.c: Likewise.
32213 * math/e_atan2l.c: Likewise.
32214 * math/e_atanhl.c: Likewise.
32215 * math/e_coshl.c: Likewise.
32216 * math/e_expl.c: Likewise.
32217 * math/e_fmodl.c: Likewise.
32218 * math/e_gammal_r.c: Likewise.
32219 * math/e_hypotl.c: Likewise.
32220 * math/e_j0l.c: Likewise.
32221 * math/e_j1l.c: Likewise.
32222 * math/e_jnl.c: Likewise.
32223 * math/e_lgammal_r.c: Likewise.
32224 * math/e_log10l.c: Likewise.
32225 * math/e_log2l.c: Likewise.
32226 * math/e_logl.c: Likewise.
32227 * math/e_powl.c: Likewise.
32228 * math/e_rem_pio2l.c: Likewise.
32229 * math/e_sinhl.c: Likewise.
32230 * math/e_sqrtf128.c: Likewise.
32231 * math/e_sqrtl.c: Likewise.
32232 * math/k_cosl.c: Likewise.
32233 * math/k_sinl.c: Likewise.
32234 * math/k_tanl.c: Likewise.
32235 * math/s_asinhl.c: Likewise.
32236 * math/s_atanl.c: Likewise.
32237 * math/s_cbrtl.c: Likewise.
32238 * math/s_erfl.c: Likewise.
32239 * math/s_expm1l.c: Likewise.
32240 * math/s_log1pl.c: Likewise.
32241 * math/s_tanhl.c: Likewise.
32242
61c45f25
TMQMF
322432017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32244
32245 [BZ #21745]
32246 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
32247 [$(subdir) = math] (sysdep_calls): New variable. Has the
32248 previous contents of sysdep_routines, but re-sorted..
32249 [$(subdir) = math] (sysdep_routines): Re-use the contents from
32250 sysdep_calls.
32251 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
32252 defined in sysdep_calls and replace by the respective m_* names.
32253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
32254 (compat_symbol): Undefine to avoid duplicated compat symbols in
32255 libc.
32256
5bcdb315
JM
322572017-09-15 Joseph Myers <joseph@codesourcery.com>
32258
32259 * math/s_fmaf.c: Include <libm-alias-float.h>.
32260 (fmaf): Define using libm_alias_float.
32261 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
32262 (acosf): Define using libm_alias_float.
32263 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
32264 (acoshf): Define using libm_alias_float.
32265 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
32266 (asinf): Define using libm_alias_float.
32267 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
32268 (atan2f): Define using libm_alias_float.
32269 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
32270 (atanhf): Define using libm_alias_float.
32271 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
32272 (coshf): Define using libm_alias_float.
32273 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
32274 (exp10f): Define using libm_alias_float.
32275 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
32276 (fmodf): Define using libm_alias_float.
32277 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
32278 (hypotf): Define using libm_alias_float.
32279 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
32280 (j0f): Define using libm_alias_float.
32281 (y0f): Likewise.
32282 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
32283 (j1f): Define using libm_alias_float.
32284 (y1f): Likewise.
32285 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
32286 (jnf): Define using libm_alias_float.
32287 (ynf): Likewise.
32288 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
32289 (log10f): Define using libm_alias_float.
32290 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
32291 (log2f): Define using libm_alias_float.
32292 * math/w_logf_compat.c: Include <libm-alias-float.h>.
32293 (logf): Define using libm_alias_float.
32294 * math/w_powf_compat.c: Include <libm-alias-float.h>.
32295 (powf): Define using libm_alias_float.
32296 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
32297 (remainderf): Define using libm_alias_float.
32298 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
32299 (sinhf): Define using libm_alias_float.
32300 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
32301 (sqrtf): Define using libm_alias_float.
32302 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
32303 (tgammaf): Define using libm_alias_float.
32304
01f28812
JM
323052017-09-14 Joseph Myers <joseph@codesourcery.com>
32306
32307 * include/math.h (roundeven): Change hidden_proto call to
32308 __roundeven.
32309 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
32310 alias.
32311 [NO_LONG_DOUBLE] (__j0l): New strong alias.
32312 (y0): Rename to __y0 and define as weak alias.
32313 [NO_LONG_DOUBLE] (__y0l): New strong alias.
32314 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
32315 alias.
32316 (y0f): Rename to __y0f and define as weak alias.
32317 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
32318 alias.
32319 [NO_LONG_DOUBLE] (__j1l): New strong alias.
32320 (y1): Rename to __y1 and define as weak alias.
32321 [NO_LONG_DOUBLE] (__y1l): New strong alias.
32322 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
32323 alias.
32324 (y1f): Rename to __y1f and define as weak alias.
32325 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
32326 alias.
32327 [NO_LONG_DOUBLE] (__jnl): New strong alias.
32328 (yn): Rename to __yn and define as weak alias.
32329 [NO_LONG_DOUBLE] (__ynl): New strong alias.
32330 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
32331 alias.
32332 (ynf): Rename to __ynf and define as weak alias.
32333 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
32334 (fromfp): Define as weak alias.
32335 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
32336 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
32337 (fromfpx): Define as weak alias.
32338 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
32339 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
32340 __getpayload and define as weak alias.
32341 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
32342 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
32343 __roundeven and define as weak alias.
32344 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
32345 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
32346 __setpayload.
32347 (setpayload): Define as weak alias.
32348 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
32349 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
32350 __setpayloadsig.
32351 (setpayloadsig): Define as weak alias.
32352 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
32353 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
32354 __totalorder and define as weak alias.
32355 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
32356 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
32357 to __totalordermag and define as weak alias.
32358 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
32359 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
32360 (ufromfp): Define as weak alias.
32361 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
32362 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
32363 __ufromfpx.
32364 (ufromfpx): Define as weak alias.
32365 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
32366 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
32367 Rename to __getpayload and define as weak alias.
32368 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
32369 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
32370 Rename to __roundeven and define as weak alias.
32371 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
32372 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
32373 Rename to __totalorder and define as weak alias.
32374 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
32375 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
32376 (totalordermag): Rename to __totalordermag and define as weak
32377 alias.
32378 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
32379 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
32380 macro.
32381 (__roundevenl): Likewise.
32382 (__totalorderl): Likewise.
32383 (__totalordermagl): Likewise
32384 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
32385 __fromfpf128.
32386 (fromfpf128): Define as weak alias.
32387 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
32388 __fromfpxf128.
32389 (fromfpxf128): Define as weak alias.
32390 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
32391 __setpayloadf128.
32392 (setpayloadf128): Define as weak alias.
32393 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
32394 __setpayloadsigf128.
32395 (setpayloadsigf128): Define as weak alias.
32396 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
32397 __ufromfpf128.
32398 (ufromfpf128): Define as weak alias.
32399 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
32400 __ufromfpxf128.
32401 (ufromfpxf128): Define as weak alias.
32402 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
32403 (fromfpf): Define as weak alias.
32404 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
32405 __fromfpxf.
32406 (fromfpxf): Define as weak alias.
32407 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
32408 __getpayloadf and define as weak alias.
32409 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
32410 __roundevenf and define as weak alias.
32411 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
32412 __setpayloadf.
32413 (setpayloadf): Define as weak alias.
32414 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
32415 __setpayloadsigf.
32416 (setpayloadsigf): Define as weak alias.
32417 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
32418 __totalorderf and define as weak alias.
32419 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
32420 Rename to __totalordermagf and define as weak alias.
32421 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
32422 __ufromfpf.
32423 (ufromfpf): Define as weak alias.
32424 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
32425 __ufromfpxf.
32426 (ufromfpxf): Define as weak alias.
32427 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
32428 __fromfpl.
32429 (fromfpl): Define as weak alias.
32430 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
32431 __fromfpxl.
32432 (fromfpxl): Define as weak alias.
32433 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
32434 to __getpayloadl and define as weak alias.
32435 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
32436 __roundevenl and define as weak alias.
32437 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
32438 __setpayloadl.
32439 (setpayloadl): Define as weak alias.
32440 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
32441 __setpayloadsigl.
32442 (setpayloadsigl): Define as weak alias.
32443 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
32444 to __totalorderl and define as weak alias.
32445 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
32446 Rename to __totalordermagl and define as weak alias.
32447 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
32448 __ufromfpl.
32449 (ufromfpl): Define as weak alias.
32450 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
32451 __ufromfpxl.
32452 (ufromfpxl): Define as weak alias.
32453 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
32454 __fromfpl.
32455 (fromfpl): Define as weak alias.
32456 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
32457 __fromfpxl.
32458 (fromfpxl): Define as weak alias.
32459 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
32460 Rename to __getpayloadl and define as weak alias.
32461 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
32462 to __roundevenl and define as weak alias. Call __roundeven
32463 instead of roundeven.
32464 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
32465 __setpayloadl.
32466 (setpayloadl): Define as weak alias.
32467 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
32468 __setpayloadsigl.
32469 (setpayloadsigl): Define as weak alias.
32470 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
32471 Rename to __totalorderl and define as weak alias.
32472 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
32473 Rename to __totalordermagl and define as weak alias.
32474 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
32475 __ufromfpl.
32476 (ufromfpl): Define as weak alias.
32477 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
32478 __ufromfpxl.
32479 (ufromfpxl): Define as weak alias.
32480 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
32481 __fromfpl.
32482 (fromfpl): Define as weak alias.
32483 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
32484 __fromfpxl.
32485 (fromfpxl): Define as weak alias.
32486 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
32487 __getpayloadl and define as weak alias.
32488 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
32489 __roundevenl and define as weak alias.
32490 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
32491 __setpayloadl.
32492 (setpayloadl): Define as weak alias.
32493 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
32494 __setpayloadsigl.
32495 (setpayloadsigl): Define as weak alias.
32496 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
32497 __totalorderl and define as weak alias.
32498 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
32499 Rename to __totalordermagl and define as weak alias.
32500 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
32501 __ufromfpl.
32502 (ufromfpl): Define as weak alias.
32503 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
32504 __ufromfpxl.
32505 (ufromfpxl): Define as weak alias.
32506
29c933fb
SP
325072017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
32508
503c92c3
SP
32509 * benchtests/bench-string.h (realloc_bufs): New function.
32510 (test_init): Call it.
32511 * benchtests/bench-memset-large.c (do_test): Likewise.
32512 * benchtests/bench-memset.c (do_test): Likewise.
32513
29c933fb
SP
32514 * benchtests/bench-memset-large.c: Print output in JSON
32515 format.
32516 * benchtests/bench-memset.c: Likewise.
32517
799c8d69
MF
325182017-09-14 Mike FABIAN <mfabian@redhat.com>
32519
32520 [BZ #21084]
32521 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
32522 * iconvdata/Makefile: Add IBM858.
32523 * iconvdata/gconv-modules: Likewise.
32524 * iconvdata/tst-tables.sh: Likewise.
32525 * iconvdata/ibm858.c: New file.
32526 * localedata/charmaps/IBM858: Likewise.
32527
c207f7ce 325282017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
fcc82c06
AK
32529
32530 [BZ #22023]
32531 * locales/niu_NZ (LC_TIME): copy "niu_NU".
32532 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
32533
f28a0926
AK
325342017-09-14 Mike FABIAN <mfabian@redhat.com>
32535
32536 [BZ #22112]
32537 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
32538 and add tel_int_fmt.
32539
02093e62
JM
325402017-09-14 Joseph Myers <joseph@codesourcery.com>
32541
32542 * sysdeps/generic/libm-alias-float128.h: New file.
32543 * sysdeps/generic/math-type-macros-float128.h: Include
32544 <libm-alias-float128.h>.
32545 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
32546
1aae75ef
JM
325472017-09-13 Joseph Myers <joseph@codesourcery.com>
32548
32549 * sysdeps/generic/libm-alias-ldouble.h: New file.
32550 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
32551 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
32552 * sysdeps/generic/math-type-macros-ldouble.h: Include
32553 <libm-alias-ldouble.h>.
32554 [!declare_mgen_alias] (declare_mgen_alias): Define to use
32555 libm_alias_ldouble.
32556
bcea7ad6
SN
325572017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
32558
32559 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
32560 * math/w_exp_compat.c: ... here.
32561 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
32562 * math/w_expf_compat.c: ... here.
32563 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
32564 * math/w_expl_compat.c: ... here.
32565 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
32566 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
32567 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
32568 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
32569
0fc56478
JM
325702017-09-13 Joseph Myers <joseph@codesourcery.com>
32571
32572 * math/w_scalbln_template.c (strong_alias): Do not undefine and
32573 redefine.
32574 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
32575 macro.
32576 (ldexpl): Only define as compat symbol for libc, not libm.
32577 (scalbnl): Define as compat symbol for libc here.
32578 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
32579 define for [IS_IN (libc)].
32580 (__ldexpl_2): Remove alias.
32581 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
32582 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
32583 name in long_double_symbol call.
32584 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
32585 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
32586 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
32587 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
32588 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
32589 Remove macro.
32590 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
32591 Define as compat symbol.
32592
3ca622e4
AZ
325932017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32594
32595 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
32596 * sysdeps/unix/sysv/linux/alpha/Makefile
32597 [$(subdir) = csu] (sysdep_routines): Remove rule.
32598
620ff9ee
JM
325992017-09-13 Joseph Myers <joseph@codesourcery.com>
32600
32601 * sysdeps/generic/libm-alias-double.h: New file.
32602 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
32603 * sysdeps/generic/math-type-macros-double.h: Include
32604 <libm-alias-double.h>.
32605 [declare_mgen_alias] (declare_mgen_alias): Define to use
32606 libm_alias_double.
32607 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
32608 (M_LIBM_NEED_COMPAT): Remove macro.
32609 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
32610 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
32611 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
32612 code.
32613 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32614 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32615 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32616 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32617 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32618 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32619 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32620 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32621 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32622 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32623 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32624 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32625 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32626 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32627 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32628 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32629 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32630 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32631 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32632 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32633 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32634 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32635 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32636 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32637 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32638 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32639 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32640 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
32641 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
32642 macro.
32643 (declare_mgen_alias): New macro.
32644 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
32645 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
32646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
32647 (M_LIBM_NEED_COMPAT): Remove macro.
32648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
32649 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
32650 <first-versions.h>.
32651 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
32652 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
32653
a891caff
JM
326542017-09-12 Joseph Myers <joseph@codesourcery.com>
32655
32656 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
32657 (declare_mgen_alias_2): Remove.
32658 * sysdeps/generic/math-type-macros-double.h
32659 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
32660 Likewise.
32661 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
32662 alias.
32663 (ldexp): Define with declare_mgen_alias.
32664 (scalbn): Likewise.
32665
a1a78204
SE
326662017-09-12 Steve Ellcey <sellcey@cavium.com>
32667
32668 * grp/initgroups.c: Include config.h.
32669 (DEFAULT_CONFIG): New macro.
32670 (internal_getgrouplist): Use DEFAULT_CONFIG.
32671 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32672 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
32673 (DEFAULT_DEFCONFIG): New macro.
32674 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
32675 * nss/grp-lookup.c: Include config.h
32676 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
32677 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
32678 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
32679 * manual/nss.texi: Update default values section.
32680
ef8adeb0
L
326812017-09-12 H.J. Lu <hongjiu.lu@intel.com>
32682
32683 [BZ #21967]
32684 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
32685 New.
32686 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
32687 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
32688 Handle MathVec_Prefer_No_AVX512.
32689 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
32690 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
32691 is set.
32692
a166531f
ST
326932017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
32694
32695 * posix/sched_primax.c (__sched_get_priority_max): Add
32696 libc_hidden_def.
32697 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
32698 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
32699 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
32700 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
32701 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
32702 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
32703 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
32704 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
32705 Add aliases.
32706
4b7d1efb
JM
327072017-09-11 Joseph Myers <joseph@codesourcery.com>
32708
32709 * sysdeps/generic/libm-alias-float.h: New file.
32710 * sysdeps/generic/math-type-macros-float.h: Include
32711 <libm-alias-float.h>.
32712 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
32713
45ff3463
L
327142017-09-11 H.J. Lu <hongjiu.lu@intel.com>
32715
32716 [BZ #22093]
32717 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
32718 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
32719 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
32720 (HWCAP_IMPORTANT): Likewise.
32721 (HWCAP_X86_64): New enum.
32722 (HWCAP_X86_AVX512_1): Updated.
32723 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
32724 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
32725 (modules-names): Add x86_64/tst-x86_64mod-1.
32726 (LDFLAGS-tst-x86_64mod-1.so): New.
32727 ($(objpfx)tst-x86_64-1): Likewise.
32728 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
32729 (tst-x86_64-1-clean): Likewise.
32730 * sysdeps/x86_64/tst-x86_64-1.c: New file.
32731 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
32732
891abfd3
SP
327332017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
32734
32735 * po/sv.po: Update translations.
32736 * po/fr.po: Likewise.
32737
00c3da43
ST
327382017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32739
32740 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
32741 seconds.
3bdfd9fb
ST
32742 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
32743 seconds.
65b22ebc 32744 * elf/rtld-Rules: Fix $(error) use.
00c3da43 32745
96480903
MF
327462017-09-09 Mike FABIAN <mfabian@redhat.com>
32747
32748 [BZ #14925]
32749 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
32750 * locale/iso-639.def: Change “Bengali” to “Bangla”.
32751 * localedata/locales/bn_BD: “Bengali” was still used in some
32752 comments. Change it to “Bangla”.
32753
4c03a696
MT
327542017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
32755
32756 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
32757
9c9ec581
SE
327582017-09-08 Steve Ellcey <sellcey@cavium.com>
32759
32760 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
32761 thunderx2t99p1 to list of cpu names.
32762 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
32763 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
32764
f00bce74
SE
327652017-09-08 Steve Ellcey <sellcey@cavium.com>
32766
32767 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
32768 Use strcmp instead of tunable_is_name.
32769
27342d17
JM
327702017-09-08 Joseph Myers <joseph@codesourcery.com>
32771
af1b7c8c
JM
32772 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
32773 (F_GET_RW_HINT): New macro.
32774 [__USE_GNU] (F_SET_RW_HINT): Likewise.
32775 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
32776 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
32777 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
32778 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
32779 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
32780 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
32781 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
32782 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
32783
27342d17
JM
32784 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
32785 (F_ADD_SEALS): New macro.
32786 [__USE_GNU] (F_GET_SEALS): Likewise.
32787 [__USE_GNU] (F_SEAL_SEAL): Likewise.
32788 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
32789 [__USE_GNU] (F_SEAL_GROW): Likewise.
32790 [__USE_GNU] (F_SEAL_WRITE): Likewise.
32791
c66c9082
AZ
327922017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32793
07b4f49d
AZ
32794 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
32795 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
32796 * posix/glob_internal.h (__glob_pattern_type):
32797 * posix/glob.c (glob):
32798 * posix/glob_pattern_p.c (__glob_pattern_p):
32799 Use them.
32800
116f1c64
AZ
32801 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
32802 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
32803 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
32804 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
32805 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
32806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
32807 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
32808 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
32809 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
32810 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32811 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
32812 * sysdeps/wordsize-64/glob.c: Likewise.
32813 * sysdeps/wordsize-64/glob64.c: Likewise.
32814 * sysdeps/wordsize-64/globfree.c: Likewise.
32815 * sysdeps/wordsize-64/globfree64.c: Likewise.
32816 * sysdeps/unix/sysv/linux/glob.c: New file.
32817 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
32818 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
32819 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
32820 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
32821 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
32822 adds !GLOB_NO_OLD_VERSION as an extra condition.
32823 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
32824 using relative path instead of absolute one.
32825 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
32826 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32827 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32828 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
32829 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
32830 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
32831
ffca8901
AZ
32832 [BZ #1062]
32833 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
32834 (glob): Use the same scratch buffer for both getlogin_r and
32835 getpwnam_r. Don’t require preallocation of the login name. This
32836 simplifies storage allocation, and corrects the handling of
32837 long login names.
32838
5a79f975
AZ
32839 [BZ #1062]
32840 * posix/glob.c (glob): Port recent patches to platforms
32841 lacking getpwnam_r.
32842 (glob): Fix longstanding misuse of errno after getpwnam_r, which
32843 returns an error number rather than setting errno.
32844
e00f2425
AZ
32845 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
32846 instead of GCC extension.
32847 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
32848 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
32849 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
32850
5554304f
AZ
32851 [BZ #866]
32852 [BZ #1062]
32853 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
32854 * posix/bug-glob1.c: Remove file.
32855 * posix/tst-glob_symlinks.c: New file.
32856 * posix/glob.c (__lstat64): New macro.
32857 (is_dir): New function.
32858 (glob, glob_in_dir): Match symlinks even if they are dangling.
32859 (link_stat, link_exists_p): Remove. All uses removed.
32860
686f2ea1
AZ
32861 [BZ #1062]
32862 [BZ #19971]
32863 * posix/glob.c (struct readdir_result): Remove skip_entry member.
32864 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
32865 All uses removed.
32866
c66c9082 32867 [BZ #1062]
914c9994 32868 CVE-2017-15671
c66c9082
AZ
32869 * posix/Makefile (routines): Add globfree, globfree64, and
32870 glob_pattern_p.
32871 * posix/flexmember.h: New file.
32872 * posix/glob_internal.h: Likewise.
32873 * posix/glob_pattern_p.c: Likewise.
32874 * posix/globfree.c: Likewise.
32875 * posix/globfree64.c: Likewise.
32876 * sysdeps/gnu/globfree64.c: Likewise.
32877 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
32878 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
32879 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
32880 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
32881 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
32882 * sysdeps/wordsize-64/globfree.c: Likewise.
32883 * sysdeps/wordsize-64/globfree64.c: Likewise.
32884 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
32885 [NDEBUG): Remove comments.
32886 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
32887 (dirent_type): New type. Use uint_fast8_t not
32888 uint8_t, as C99 does not require uint8_t.
32889 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
32890 (struct readdir_result): Use dirent_type. Do not define skip_entry
32891 unless it is needed; this saves a byte on platforms lacking d_ino.
32892 (readdir_result_type, readdir_result_skip_entry):
32893 New functions, replacing ...
32894 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
6b5c8607 32895 these functions, which were removed. This makes the callers
c66c9082
AZ
32896 easier to read. All callers changed.
32897 (D_INO_TO_RESULT): Now empty if there is no d_ino.
32898 (size_add_wrapv, glob_use_alloca): New static functions.
32899 (glob, glob_in_dir): Check for size_t overflow in several places,
32900 and fix some size_t checks that were not quite right.
32901 Remove old code using SHELL since Bash no longer
32902 uses this.
32903 (glob, prefix_array): Separate MS code better.
32904 (glob_in_dir): Remove old Amiga and VMS code.
32905 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
32906 separate files.
32907 (glob_in_dir): Do not rely on undefined behavior in accessing
32908 struct members beyond their bounds. Use a flexible array member
32909 instead
32910 (link_stat): Rename from link_exists2_p and return -1/0 instead of
32911 0/1. Caller changed.
32912 (glob): Fix memory leaks.
32913 * posix/glob64 (globfree64): Move to separate file.
32914 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
32915 (globfree64): Remove hidden alias.
32916 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
32917 oldglob.
32918 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
32919 separate file.
32920 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
32921 define.
32922 Move compat code to separate file.
32923 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
32924 separate file.
32925
78bfa877
L
329262017-09-07 H.J. Lu <hongjiu.lu@intel.com>
32927
32928 * resolv/tst-resolv-qtypes.c (domain): Changed to
32929 "const char domain[] =".
32930
05f0011f
JM
329312017-09-07 Joseph Myers <joseph@codesourcery.com>
32932
85bec0f2
JM
32933 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
32934 version to 3.1.6.
32935
5c23ee6e
JM
32936 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
32937 (TCP_MD5SIG_EXT): Likewise.
32938 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
32939 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
32940 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
32941
05f0011f
JM
32942 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
32943
7c9c5be9
MF
329442017-09-07 Mike FABIAN <mfabian@redhat.com>
32945
32946 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
32947
c207f7ce 329482017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
ae214523
AK
32949
32950 [BZ #22100]
32951 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
32952
507fe027
ST
329532017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
32954
32955 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
32956 before assuming that the file is empty. Avoid testing buffer content
32957 when nread == 0.
32958
65687ac7
AZ
329592017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32960
7bbbb4b9 32961 [BZ #18858]
65687ac7
AZ
32962 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
32963 Remove define.
32964 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
32965 Likewise.
32966 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
32967 Likewise.
32968 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
32969 Likewise.
32970 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
32971 Likewise.
32972 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
32973 Likewise.
32974 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
32975 Likewise.
32976
ab5ac271
FW
329772017-09-06 Florian Weimer <fweimer@redhat.com>
32978
32979 * malloc/dynarray_emplace_enlarge.c
32980 (__libc_dynarray_emplace_enlarge): Add missing else.
32981
a8304730
FW
329822017-09-06 Florian Weimer <fweimer@redhat.com>
32983
32984 [BZ #22096]
32985 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
32986 case of failure to obtain the global conf object.
32987
5670c4ab
FW
329882017-09-06 Florian Weimer <fweimer@redhat.com>
32989
32990 [BZ #22095]
32991 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
32992 dynarray allocation failure.
32993
c77eb969
FW
329942017-09-06 Florian Weimer <fweimer@redhat.com>
32995
32996 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
32997 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
32998 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
32999 New functions.
33000 (response): Call them. Add 'p', '6' flag processing.
33001 (test_reverse): New function.
33002 (test_get2_any): Call it.
33003 (test_no_inet6): Add 'p' test.
33004 (test_inet6): Likewise.
33005
5e9c4d17
FW
330062017-09-06 Florian Weimer <fweimer@redhat.com>
33007
33008 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
33009 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
33010 the QNAME.
33011 (test_gai): Adjust query names. Add additional tests.
33012 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
33013 test_get2. Adjust query names. Add additional tests.
33014 (test_no_inet6): New function, extracted from threadfunc.
33015 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
33016 Add additional tests.
33017
2ae5be04
MF
330182017-09-06 Mike FABIAN <mfabian@redhat.com>
33019
33020 [BZ #22070]
33021 * localedata/unicode-gen/utf8_gen.py: Set the width for
33022 characters with Prepended_Concatenation_Mark property to 1
33023 * localedata/charmaps/UTF-8: Updated using the improved script.
33024
af83ed5c
MF
330252017-09-06 Mike FABIAN <mfabian@redhat.com>
33026
33027 [BZ #21750]
33028 * localedata/unicode-gen/utf8_gen.py: Improve the script to
33029 use the range notation for all ranges of neighbouring characters
33030 with the same width.
33031
4f3647e4
JM
330322017-09-05 Joseph Myers <joseph@codesourcery.com>
33033
33034 * sysdeps/generic/math-type-macros-double.h: Include
33035 <math-svid-compat.h>.
33036 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
33037 * sysdeps/generic/math-type-macros-float.h: Include
33038 <math-svid-compat.h>.
33039 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
33040 * sysdeps/generic/math-type-macros-ldouble.h: Include
33041 <math-svid-compat.h>.
33042 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
33043 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
33044 condition.
33045 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
33046 * math/w_acosf_compat.c: Likewise.
33047 * math/w_acosh_compat.c: Likewise.
33048 * math/w_acoshf_compat.c: Likewise.
33049 * math/w_acoshl_compat.c: Likewise.
33050 * math/w_acosl_compat.c: Likewise.
33051 * math/w_asin_compat.c: Likewise.
33052 * math/w_asinf_compat.c: Likewise.
33053 * math/w_asinl_compat.c: Likewise.
33054 * math/w_atan2_compat.c: Likewise.
33055 * math/w_atan2f_compat.c: Likewise.
33056 * math/w_atan2l_compat.c: Likewise.
33057 * math/w_atanh_compat.c: Likewise.
33058 * math/w_atanhf_compat.c: Likewise.
33059 * math/w_atanhl_compat.c: Likewise.
33060 * math/w_cosh_compat.c: Likewise.
33061 * math/w_coshf_compat.c: Likewise.
33062 * math/w_coshl_compat.c: Likewise.
33063 * math/w_exp10_compat.c: Likewise.
33064 * math/w_exp10f_compat.c: Likewise.
33065 * math/w_exp10l_compat.c: Likewise.
33066 * math/w_exp2_compat.c: Likewise.
33067 * math/w_exp2f_compat.c: Likewise.
33068 * math/w_exp2l_compat.c: Likewise.
33069 * math/w_fmod_compat.c: Likewise.
33070 * math/w_fmodf_compat.c: Likewise.
33071 * math/w_fmodl_compat.c: Likewise.
33072 * math/w_hypot_compat.c: Likewise.
33073 * math/w_hypotf_compat.c: Likewise.
33074 * math/w_hypotl_compat.c: Likewise.
33075 * math/w_j0_compat.c: Likewise.
33076 * math/w_j0f_compat.c: Likewise.
33077 * math/w_j0l_compat.c: Likewise.
33078 * math/w_j1_compat.c: Likewise.
33079 * math/w_j1f_compat.c: Likewise.
33080 * math/w_j1l_compat.c: Likewise.
33081 * math/w_jn_compat.c: Likewise.
33082 * math/w_jnf_compat.c: Likewise.
33083 * math/w_jnl_compat.c: Likewise.
33084 * math/w_lgamma_r_compat.c: Likewise.
33085 * math/w_lgammaf_r_compat.c: Likewise.
33086 * math/w_lgammal_r_compat.c: Likewise.
33087 * math/w_log10_compat.c: Likewise.
33088 * math/w_log10f_compat.c: Likewise.
33089 * math/w_log10l_compat.c: Likewise.
33090 * math/w_log2_compat.c: Likewise.
33091 * math/w_log2f_compat.c: Likewise.
33092 * math/w_log2l_compat.c: Likewise.
33093 * math/w_log_compat.c: Likewise.
33094 * math/w_logf_compat.c: Likewise.
33095 * math/w_logl_compat.c: Likewise.
33096 * math/w_pow_compat.c: Likewise.
33097 * math/w_powf_compat.c: Likewise.
33098 * math/w_powl_compat.c: Likewise.
33099 * math/w_remainder_compat.c: Likewise.
33100 * math/w_remainderf_compat.c: Likewise.
33101 * math/w_remainderl_compat.c: Likewise.
33102 * math/w_sinh_compat.c: Likewise.
33103 * math/w_sinhf_compat.c: Likewise.
33104 * math/w_sinhl_compat.c: Likewise.
33105 * math/w_sqrt_compat.c: Likewise.
33106 * math/w_sqrtf_compat.c: Likewise.
33107 * math/w_sqrtl_compat.c: Likewise.
33108 * math/w_tgamma_compat.c: Likewise.
33109 * math/w_tgammaf_compat.c: Likewise.
33110 * math/w_tgammal_compat.c: Likewise.
33111 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
33112 [LIBM_SVID_COMPAT].
33113 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
33114 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
33115 [LIBM_SVID_COMPAT].
33116 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
33117 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
33118 [LIBM_SVID_COMPAT].
33119 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
33120 * sysdeps/i386/fpu/w_sqrt.c: New file.
33121 * sysdeps/ia64/fpu/w_acos.c: Likewise.
33122 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
33123 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
33124 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
33125 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
33126 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
33127 * sysdeps/ia64/fpu/w_asin.c: Likewise.
33128 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
33129 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
33130 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
33131 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
33132 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
33133 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
33134 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
33135 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
33136 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
33137 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
33138 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
33139 * sysdeps/ia64/fpu/w_exp.c: Likewise.
33140 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
33141 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
33142 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
33143 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
33144 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
33145 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
33146 * sysdeps/ia64/fpu/w_expf.c: Likewise.
33147 * sysdeps/ia64/fpu/w_expl.c: Likewise.
33148 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
33149 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
33150 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
33151 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
33152 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
33153 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
33154 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
33155 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
33156 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
33157 * sysdeps/ia64/fpu/w_log.c: Likewise.
33158 * sysdeps/ia64/fpu/w_log10.c: Likewise.
33159 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
33160 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
33161 * sysdeps/ia64/fpu/w_log2.c: Likewise.
33162 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
33163 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
33164 * sysdeps/ia64/fpu/w_logf.c: Likewise.
33165 * sysdeps/ia64/fpu/w_logl.c: Likewise.
33166 * sysdeps/ia64/fpu/w_pow.c: Likewise.
33167 * sysdeps/ia64/fpu/w_powf.c: Likewise.
33168 * sysdeps/ia64/fpu/w_powl.c: Likewise.
33169 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
33170 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
33171 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
33172 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
33173 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
33174 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
33175 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
33176 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
33177 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
33178 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
33179 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
33180 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
33181 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
33182 [LIBM_SVID_COMPAT].
33183 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
33184 * sysdeps/ieee754/k_standard.c: Likewise.
33185 * sysdeps/ieee754/k_standardf.c: Likewise.
33186 * sysdeps/ieee754/k_standardl.c: Likewise.
33187 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
33188 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
33189 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
33190 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
33191 long_double_symbol call on [LIBM_SVID_COMPAT].
33192 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
33193 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
33194 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
33195 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
33196 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
33197 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
33198 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
33199 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
33200 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
33201 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
33202 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
33203 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
33204 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
33205 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
33206 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
33207 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
33208 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
33209 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
33210 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
33211 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
33212 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
33213 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
33214
05b38d64
SE
332152017-09-05 Steve Ellcey <sellcey@cavium.com>
33216
33217 * include/shlib-compat.h (TEST_COMPAT): New Macro.
33218 * malloc/tst-mallocstate.c: Convert from test-skeleton
33219 to test-driver. Ifdef code using TEST_COMPAT macro.
33220 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
33221 * math/test-matherr.c: Likewise.
33222
99d67918
JM
332232017-09-05 Joseph Myers <joseph@codesourcery.com>
33224
33225 [BZ #22086]
33226 * debug/pcprofiledump.c (main): Use byte-swapped mask when
33227 comparing word with byte-swapped constant.
33228
c207f7ce 332292017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
3f802aeb
MF
33230
33231 [BZ #20498]
33232 * locale/iso-639.def: add Miskito.
33233 * localedata/SUPPORTED: Add miq_NI/UTF-8.
33234 * localedata/locales/miq_NI: New file.
33235
0a587a8a
L
332362017-09-04 H.J. Lu <hongjiu.lu@intel.com>
33237
33238 [BZ #18822]
33239 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
33240 (__mkdir): Likewise.
33241 * io/chmod.c (__chmod): Add libc_hidden_def.
33242 * io/mkdir.c (__mkdir): Likewise.
33243 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
33244 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
33245 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
33246 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
33247
f3a129b8
JM
332482017-09-04 Joseph Myers <joseph@codesourcery.com>
33249
1650e192
JM
33250 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
33251 version to 4.13.
33252
f3a129b8
JM
33253 [BZ #22082]
33254 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
33255 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
33256
b38042f5
FW
332572017-09-04 Florian Weimer <fweimer@redhat.com>
33258
33259 * math/math.h: Issue warning if log is defined.
33260
059b6404
JM
332612017-09-04 Joseph Myers <joseph@codesourcery.com>
33262
33263 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
33264 kernel version to 4.13.
33265
b794e16b
ST
332662017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
33267
33268 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
06cf9d31
ST
33269 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
33270 parameter.
01969395
ST
33271 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
33272 just <bits/types.h>.
dd2b31de 33273 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
ed95bf56 33274 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
dd2b31de 33275 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
ed95bf56 33276 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2263ca7c
ST
33277 * misc/preadv2.c: Include <errno.h>.
33278 * misc/preadv64v2.c: Include <errno.h>.
33279 * misc/pwritev2.c: Include <errno.h>.
33280 * misc/pwritev64v2.c: Include <errno.h>.
33281 * sysdeps/posix/preadv2.c: Include <errno.h>.
33282 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
33283 Fix <unistd.h> inclusion.
33284 * sysdeps/posix/pwritev2.c: Include <errno.h>.
33285 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
cae3d712
ST
33286 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
33287 __strtoul_internal): New functions.
127e7773
ST
33288 * sysdeps/posix/pause.c: Include <sigsetops.h>.
33289 * sysdeps/posix/system.c: Include <sigsetops.h>.
f85958a7
ST
33290 * sysdeps/mach/hurd/i386/Makefile
33291 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
33292 [$(subdir) = csu] (sysdep-only-routines): Likewise.
33293 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1946d950
ST
33294 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
33295 __feraiseexcept_renamed to feraiseexcept instead of
33296 __GI_feraiseexcept.
56bf5497 33297 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
2ce1f9ef 33298 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
492cbbed
ST
33299 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
33300 RWF_NOWAIT): Define to 0 if undefined already.
33301 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
33302 boils down to 0.
6547ec0a
ST
33303 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
33304 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
b794e16b 33305
5a80d39d
JM
333062017-09-01 Joseph Myers <joseph@codesourcery.com>
33307
33308 * manual/math.texi (pow10): Do not document.
33309 (pow10f): Likewise.
33310 (pow10l): Likewise.
33311 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
33312 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
33313 * math/libm-test-exp10.inc (pow10_test): Remove.
33314 (do_test): Do not call pow10.
33315 * math/w_exp10_compat.c (pow10): Make into compat symbol.
33316 [NO_LONG_DOUBLE] (pow10l): Likewise.
33317 * math/w_exp10f_compat.c (pow10f): Likewise.
33318 * math/w_exp10l_compat.c (pow10l): Likewise.
33319 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
33320 (pow10): Make into compat symbol.
33321 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
33322 (pow10f): Make into compat symbol.
33323 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
33324 (pow10l): Make into compat symbol.
33325 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
33326 pow10.
33327 (CFLAGS-nldbl-pow10.c): Remove variable..
33328 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
33329 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
33330 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
33331 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
33332 Undefine and redefine.
33333 (pow10l): Make into compat symbol.
33334 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
33335 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
33336 * sysdeps/arm/libm-test-ulps: Likewise.
33337 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
33338 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
33339 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
33340 * sysdeps/microblaze/libm-test-ulps: Likewise.
33341 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
33342 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
33343 * sysdeps/nios2/libm-test-ulps: Likewise.
33344 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33345 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
33346 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33347 * sysdeps/sh/libm-test-ulps: Likewise.
33348 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33349 * sysdeps/tile/libm-test-ulps: Likewise.
33350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33351
3824fc38
PP
333522017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
33353
33354 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
33355
b3008279
L
333562017-09-01 H.J. Lu <hongjiu.lu@intel.com>
33357
33358 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
33359 "../ChangeLog.old/ChangeLog.8".
33360 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
33361 "../ChangeLog.old/ChangeLog.14".
33362
136fa185
L
333632017-09-01 H.J. Lu <hongjiu.lu@intel.com>
33364
33365 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
33366 Threads Library.
33367
c18d50a2
JM
333682017-09-01 Joseph Myers <joseph@codesourcery.com>
33369
33370 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
33371
bedbd859
L
333722017-09-01 H.J. Lu <hongjiu.lu@intel.com>
33373
33374 * csu/version.c (banner): Remove "by Roland McGrath et al.".
33375 * nptl/Banner: Remove "by Ulrich Drepper et al.".
33376
50c66c7a
PP
333772017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
33378
33379 * stdlib/tst-atexit-common.c (do_test): Test support for at least
33380 32 atexit handlers.
33381
a617bd11
ZW
333822017-09-01 Zack Weinberg <zackw@panix.com>
33383
33384 * math/math.h (HUGE_VAL): Improve commentary.
33385
e0d2eb5a
AZ
333862017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33387 Andreas Schwab <schwab@suse.de>
33388
33389 [BZ #21530]
33390 * include/stdio.h (__gen_tempfd): New function.
33391 * stdio-common/Makefile (routines): Add gentempfd.
33392 * stdio-common/gentempfd.c: New file.
33393 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
33394 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
33395 unnamed file first.
33396
f4a6be25
FW
333972017-09-01 Florian Weimer <fweimer@redhat.com>
33398
33399 [BZ #21915]
33400 [BZ #21922]
33401 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
33402 result to determine success or failure, not the errno value.
33403 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
33404 (tst-nss-files-hosts-erange): Link with -ldl.
33405 * nss/tst-nss-files-hosts-erange.c: New file.
33406 * nss/tst-resolv-basic.c (response): Handle nodata.example.
33407 (do_test): Add NO_DATA tests.
33408 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
33409 (do_test): Call it.
33410
5f8340f5
FW
334112017-09-01 Florian Weimer <fweimer@redhat.com>
33412
33413 [BZ #21922]
33414 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
33415 coming from gethostbyname2_r.
33416
65329bd2
FW
334172017-09-01 Florian Weimer <fweimer@redhat.com>
33418
33419 * support/namespace.h (struct support_chroot_configuration): Add
33420 hosts, host_conf.
33421 (struct support_chroot): Add path_hosts, path_host_conf.
33422 * support/support_chroot.c (write_file): New function.
33423 (support_chroot_create): Call it to process /etc/resolv.conf,
33424 /etc/hosts, /etc/host.conf.
33425 (support_chroot_free): Update.
33426
a2881ef0
FW
334272017-09-01 Florian Weimer <fweimer@redhat.com>
33428
33429 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
33430 status indicates it is set.
33431
ad816a5e
FW
334322017-09-01 Florian Weimer <fweimer@redhat.com>
33433
63b52889 33434 [BZ #20532]
ad816a5e
FW
33435 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
33436 function lookup failures more reliable.
33437
53250a21
FW
334382017-09-01 Florian Weimer <fweimer@redhat.com>
33439
33440 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
33441 (getcanonname): Likewise.
33442 (gaih_inet): Likewise.
33443
924b121c
FW
334442017-09-01 Florian Weimer <fweimer@redhat.com>
33445
33446 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
33447 (getcanonname): Likewise.
33448 (gaih_inet): Likewise.
33449
d9ff799a 334502017-08-31 Steve Ellcey <sellcey@cavium.com>
6b5c8607 33451 Richard Henderson <rth@twiddle.net>
d9ff799a
SE
33452
33453 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
33454 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
33455 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
33456 (IREG_SIZE, OREG_SIZE): New macros.
33457 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
33458 (IREG_SIZE, OREG_SIZE): New macros.
33459 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
33460 (IREG_SIZE): New macro.
33461 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
33462 (IREG_SIZE): New macro.
33463 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
33464 New includes.
33465 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
33466 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
33467 (__CONCATX): Handle exceptions correctly on large values that may
33468 set FE_INVALID.
33469 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
33470 Initialize if not already set.
b39d961c 33471 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
d9ff799a 33472
102dde84
AZ
334732017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33474
33475 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
33476 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
33477 Likewise.
33478 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
33479 Likewise.
33480 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
33481 Likewise.
33482 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
33483 Likewise.
33484 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
33485 Likewise.
33486 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
33487 Likewise.
33488 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
33489 Likewise.
33490 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
33491 (NO_CANCELLATION): Likewise.
33492 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
33493 Likewise.
33494 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
33495 Likewise.
33496 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
33497 Likewise.
33498 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
33499 (NO_CANCELLATION): Likewise.
33500 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
33501 (NO_CANCELLATION): Likewise.
33502 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
33503 Likewise
33504 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
33505 Likewise.
33506 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
33507 Likewise.
33508 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
33509 Likewise.
33510 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
33511 hidden prototype.
33512 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
33513 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
33514
9eee633b
SE
335152017-08-31 Steve Ellcey <sellcey@cavium.com>
33516
33517 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
33518 in resolver call.
33519
65284eb7
FW
335202017-08-31 Florian Weimer <fweimer@redhat.com>
33521
33522 * include/libc-symbols.h (internal_function): Remove.
33523
41ad5ca6
FW
335242017-08-31 Florian Weimer <fweimer@redhat.com>
33525
33526 * stdlib/fmtmsg.c (internal_addseverity): Remove
33527 internal_function.
33528
2fa6d086
FW
335292017-08-31 Florian Weimer <fweimer@redhat.com>
33530
33531 * stdio-common/printf_fp.c (group_number): Remove
33532 internal_function.
33533 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
33534
b41bd5bc
FW
335352017-08-31 Florian Weimer <fweimer@redhat.com>
33536
33537 * posix/fnmatch.c (internal_function): Remove definition.
33538 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
33539 * posix/regcomp.c (peek_token, init_word_char)
33540 (duplicate_node_closure, fetch_token, peek_token)
33541 (peek_token_bracket, build_range_exp, build_collating_symbol):
33542 Likewise.
33543 * posix/regex_internal.c (re_string_construct_common)
33544 (create_ci_newstate, create_cd_newstate, re_string_allocate)
33545 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
33546 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
33547 (re_string_translate_buffer, re_string_reconstruct)
33548 (re_string_peek_byte_case, re_string_fetch_byte_case)
33549 (re_string_destruct, re_string_context_at, re_node_set_alloc)
33550 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
33551 (re_node_set_add_intersect, re_node_set_init_union)
33552 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
33553 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
33554 (re_dfa_add_node, calc_state_hash, re_acquire_state)
33555 (re_acquire_state_context): Likewise.
33556 * posix/regex_internal.h (internal_function): Remove definition.
33557 (re_string_realloc_buffers, build_wcs_buffer)
33558 (build_wcs_upper_buffer, build_upper_buffer)
33559 (re_string_translate_buffer, re_string_context_at)
33560 (re_string_char_size_at, re_string_wchar_at)
33561 (re_string_elem_size_at): Likewise.
33562 * posix/regexec.c (match_ctx_init, match_ctx_clean)
33563 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
33564 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
33565 (re_search_internal, re_search_2_stub, re_search_stub)
33566 (re_copy_regs, prune_impossible_nodes, check_matching)
33567 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
33568 (free_fail_stack_return, sift_states_iter_mb)
33569 (sift_states_backward, build_sifted_states)
33570 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
33571 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
33572 (check_subexp_limits, sift_states_bkref, merge_state_array)
33573 (find_recover_state, transit_state, merge_state_with_log)
33574 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
33575 (transit_state_mb, transit_state_bkref, get_subexp)
33576 (get_subexp_sub, find_subexp_node, check_arrival)
33577 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
33578 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
33579 (check_node_accept_bytes, find_collation_sequence_value)
33580 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
33581 (acquire_init_state_context, check_halt_node_context)
33582 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
33583 (sub_epsilon_src_nodes): Likewise.
33584 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
33585 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
33586 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
33587 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
33588 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
33589 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
33590 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
33591 * sysdeps/posix/ttyname.c (getttyname): Likewise.
33592 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
33593 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
33594 (PREADV): Likewise.
33595 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
33596 (PREADV): Likewise.
33597 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
33598 (PWRITEV): Likewise.
33599 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
33600 (PWRITEV): Likewise.
33601 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
33602 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
33603
83b09837
FW
336042017-08-31 Florian Weimer <fweimer@redhat.com>
33605
33606 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
33607 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
33608 Remove internal_function.
33609 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
33610 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
33611 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
33612 (__deallocate_stack, __libc_pthread_init)
33613 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
33614 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
33615 (__libc_disable_asynccancel, __librt_disable_asynccancel):
33616 Likewise.
33617 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
33618 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
33619 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
33620 Likewise.
33621 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
33622 (__pthread_mutex_unlock_usercnt): Likewise.
33623
116ac301
FW
336242017-08-31 Florian Weimer <fweimer@redhat.com>
33625
33626 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
33627 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
33628 (fts_safe_changedir): Remove internal_function.
33629 * io/ftw.c (internal_function): Remove definition.
33630 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
33631
9da93bd7
FW
336322017-08-31 Florian Weimer <fweimer@redhat.com>
33633
33634 * inet/deadline.c (__deadline_current_time)
33635 (__deadline_from_timeval, __deadline_to_ms): Remove
33636 internal_function.
33637 * inet/getnameinfo.c (nrl_domainname): Likewise.
33638 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
33639 * inet/inet6_option.c (add_pad): Likewise.
33640 * inet/net-internal.h (__deadline_current_time)
33641 (__deadline_from_timeval, __deadline_to_ms): Likewise.
33642 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
33643 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
33644 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
33645
a60eca2e
JM
336462017-08-31 Joseph Myers <joseph@codesourcery.com>
33647
c0c49d60
JM
33648 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
33649 include <bits/nan.h>.
33650 * math/Makefile (headers): Remove bits/nan.h.
33651 * bits/nan.h: Remove.
33652 * sysdeps/ieee754/bits/nan.h: Likewise.
33653 * sysdeps/mips/bits/nan.h: Likewise.
33654
5ef1b213
JM
33655 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
33656 not include <bits/inf.h>.
33657 * math/Makefile (headers): Remove bits/inf.h.
33658 * bits/inf.h: Remove.
33659 * sysdeps/ieee754/bits/inf.h: Likewise.
33660
a60eca2e
JM
33661 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
33662 bits/huge_vall.h or bits/huge_val_flt128.h.
33663 (HUGE_VAL): Define directly here.
33664 [__USE_ISOC99] (HUGE_VALF): Likewise.
33665 [__USE_ISOC99] (HUGE_VALL): Likewise.
33666 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33667 (HUGE_VAL_F128): Likewise.
33668 * math/Makefile (headers): Remove bits/huge_val.h,
33669 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
33670 * bits/huge_val.h: Remove.
33671 * bits/huge_val_flt128.h: Likewise.
33672 * bits/huge_valf.h: Likewise.
33673 * bits/huge_vall.h: Likewise.
33674 * sysdeps/ia64/bits/huge_vall.h: Likewise.
33675 * sysdeps/ieee754/bits/huge_val.h: Likewise.
33676 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
33677 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
33678 * sysdeps/sh/bits/huge_val.h: Likewise.
33679 * sysdeps/sparc/bits/huge_vall.h: Likewise.
33680 * sysdeps/x86/bits/huge_vall.h: Likewise.
33681
17e00cc6
FW
336822017-08-31 Florian Weimer <fweimer@redhat.com>
33683
33684 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
33685 internal_function.
33686 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
33687 Likewise.
33688 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
33689 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
33690 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
33691 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
33692 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33693 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
33694 * elf/dl-libc.c (dlerror_run): Likewise.
33695 * elf/dl-load.c (add_name_to_object, decompose_rpath)
33696 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
33697 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
33698 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
33699 Likewise.
33700 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
33701 (_dl_higher_prime_number, _dl_strtoul): Likewise.
33702 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
33703 * elf/dl-profile.c (_dl_start_profile): Likewise.
33704 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
33705 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
33706 Likewise.
33707 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
33708 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
33709 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
33710 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
33711 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
33712 (_dl_allocate_tls_storage): Likewise.
33713 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
33714 (_dl_check_all_versions): Likewise.
33715 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
33716 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
33717 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
33718 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
33719 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
33720 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
33721 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
33722 internal_function from __dl_start.
33723 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
33724 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
33725 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
33726 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
33727 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
33728 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
33729 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
33730 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
33731 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
33732 (_dl_next_ld_env_entry, _dl_important_hwcaps)
33733 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
33734 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
33735 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
33736 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
33737 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
33738 Likewise.
33739 (struct rtld_global_ro): Remove internal_function from the
33740 _dl_lookup_symbol_x member.
33741 (_dl_symbol_value): Remove. No longer defined anywhere.
33742 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
33743 internal_function.
33744 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
33745 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
33746 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
33747 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
33748 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
33749 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
33750 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
33751 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
33752 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
33753 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
33754 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
33755 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
33756
8d2f9410
FW
337572017-08-31 Florian Weimer <fweimer@redhat.com>
33758
33759 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
33760 Remove internal_function.
33761 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
33762 Likewise.
33763 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
33764 Likewise.
33765
86e4919f
FW
337662017-08-31 Florian Weimer <fweimer@redhat.com>
33767
33768 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
33769 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
33770 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
33771
59bd52b0
FW
337722017-08-31 Florian Weimer <fweimer@redhat.com>
33773
33774 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
33775 (__gai_enqueue_request): Remove internal_function.
33776 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
33777 (__gai_remove_request, __gai_notify, __gai_notify_only)
33778 (__gai_sigqueue): Likewise.
33779 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
33780 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
33781 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
33782 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
33783 Likewise.
33784
fc3d9497
FW
337852017-08-31 Florian Weimer <fweimer@redhat.com>
33786
33787 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
33788 * include/dirent.h (__opendirat, __getdents, __getdents64)
33789 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
33790 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
33791 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33792 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
33793 Likewise.
33794 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
33795
18c54fac
FW
337962017-08-31 Florian Weimer <fweimer@redhat.com>
33797
33798 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
33799 internal_function.
33800 (GETCWD_RETURN_TYPE): Likewise.
33801
7e01f080
FW
338022017-08-31 Florian Weimer <fweimer@redhat.com>
33803
33804 * include/time.h (__tz_compute, __strptime_internal): Remove
33805 internal_function.
33806 * time/strptime_l.c (__strptime_internal): Likewise.
33807 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
33808
d7ccc6c9
FW
338092017-08-31 Florian Weimer <fweimer@redhat.com>
33810
33811 * iconv/gconv.c (__gconv): Remove internal_function.
33812 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
33813 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
33814 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
33815 (__gconv_release_cache): Likewise.
33816 * iconv/gconv_close.c (__gconv_close): Likewise.
33817 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
33818 (read_conf_file, __gconv_get_path): Likewise.
33819 * iconv/gconv_db.c (derivation_lookup, add_derivation)
33820 (__gconv_release_step, gen_steps, increment_counter)
33821 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
33822 (__gconv_close_transform, free_modules_db): Likewise.
33823 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
33824 Likewise.
33825 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
33826 (__gconv_find_transform, __gconv_lookup_cache)
33827 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
33828 (__gconv_close_transform, __gconv_release_cache)
33829 (__gconv_loaded_object, __gconv_release_shlib)
33830 (__gconv_compare_alias): Likewise.
33831 * iconv/gconv_open.c (__gconv_open): Likewise.
33832 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
33833 * iconv/iconvconfig.c (add_module): Likewise.
33834 * intl/dcigettext.c (plural_lookup, guess_category_value)
33835 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
33836 * intl/eval-plural.h (plural_eval): Likewise.
33837 * intl/finddomain.c (_nl_find_domain): Likewise.
33838 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
33839 (_nl_load_domain, _nl_find_msg): Likewise.
33840 (internal_function): Remove definition.
33841 * intl/loadinfo.h (internal_function): Likewise.
33842 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
33843 internal_function.
33844 * intl/localealias.c (internal_function): Remove definition.
33845 (read_alias_file): Remove internal_function.
33846 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
33847 * intl/plural-exp.h (internal_function): Remove definition.
33848 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
33849 internal_function.
33850 * intl/plural.c: Regenerate.
33851 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
33852 * locale/coll-lookup.c (__collidx_table_lookup)
33853 (__collseq_table_lookup): Likewise.
33854 * locale/coll-lookup.h (__collidx_table_lookup)
33855 (__collseq_table_lookup): Likewise.
33856 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
33857 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33858 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
33859 (_nl_unload_locale): Likewise.
33860 * locale/localeinfo.h (struct __locale_data): Remove
33861 internal_function from cleanup member.
33862 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
33863 (_nl_remove_locale, _nl_load_locale_from_archive)
33864 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
33865 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
33866 (_nl_cleanup_time): Remove internal_function.
33867 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
33868 (_nl_parse_alt_digit): Likewise.
33869 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
33870 (_nl_select_era_entry): Likewise.
33871 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
33872 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
33873 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7e01f080
FW
33874 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
33875 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
d7ccc6c9 33876
dab0eece
FW
338772017-08-31 Florian Weimer <fweimer@redhat.com>
33878
33879 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
33880 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
33881 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
33882 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
33883 Likewise.
33884 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
33885 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
33886 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
33887 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
33888 Likewise.
33889 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
33890
ab5bf7cf
FW
338912017-08-31 Florian Weimer <fweimer@redhat.com>
33892
33893 * misc/getttyent.c (skip, value): Remove internal_function.
33894 * misc/syslog.c (openlog_internal): Likewise.
33895 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
33896
75b3047e
FW
338972017-08-31 Florian Weimer <fweimer@redhat.com>
33898
33899 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
33900 (__nss_rewrite_field): Remove internal_function.
33901 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33902 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
33903 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33904 * nss/nsswitch.c (nss_parse_file, nss_getline)
33905 (nss_parse_service_list, nss_new_service): Likewise.
33906 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
33907 * nss/valid_field.c (__nss_valid_field): Likewise.
33908 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
33909
0c71122c
FW
339102017-08-31 Florian Weimer <fweimer@redhat.com>
33911
33912 * malloc/arena.c (__malloc_fork_lock_parent)
33913 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
33914 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
33915 internal_function from defintions.
33916 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
33917 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
33918 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
33919 internal_function from declarations.
33920 * malloc/malloc.c (internal_function): Do not define.
33921 (mem2mem_check): Remove internal_function from declaration.
33922 (munmap_chunk, mremap_chunk): Remove internal_function.
33923 * malloc/mtrace.c (tr_where): Likewise.
33924
ca4ec803
FW
339252017-08-31 Florian Weimer <fweimer@redhat.com>
33926
33927 * include/rpc/pmap_clnt.h (__get_socket): Remove
33928 internal_function.
33929 * sunrpc/auth_des.c (synchronize): Likewise.
33930 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
33931 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
33932 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
33933 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
33934 (key_call): Likewise.
33935 * sunrpc/pm_getport.c (__get_socket): Likewise.
33936 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
33937 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
33938 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
33939 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
33940 (invalidate): Likewise.
33941 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
33942 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
33943 (set_input_fragment, get_input_bytes): Likewise.
33944
24cffce7
FW
339452017-08-31 Florian Weimer <fweimer@redhat.com>
33946
33947 * malloc/malloc.c (_int_free): Remove locked variable and related
33948 asserts.
33949
ecd0747d
L
339502017-08-31 H.J. Lu <hongjiu.lu@intel.com>
33951
33952 [BZ #22051]
33953 * Makerules (build-module-helper-objlist): Filter out
33954 $(elf-objpfx)sofini.os.
33955 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
33956 needed.
33957
5f0704b6
FW
339582017-08-31 Florian Weimer <fweimer@redhat.com>
33959
33960 * libio/fcloseall.c: Assume weak_alias is defined.
33961 * libio/feof.c: Likewise.
33962 * libio/fileno.c: Likewise.
33963 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
33964 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
33965 definitions.
33966 (_IO_file_open): Call __open directly.
33967 (_IO_new_file_sync): Assume ESPIPE is defined.
33968 (_IO_file_seekoff_maybe_mmap): Call __read directly.
33969 (_IO_new_file_write): Call __write directly.
33970 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
33971 * libio/ftello64.c (__ftello64): Assume EIO is defined.
33972 * libio/genops.c: Assume _LIBC is defined.
33973 (save_for_backup): Remove internal_function.
33974 * libio/getc.c: Assume weak_alias is defined.
33975 * libio/getwc.c: Likewise.
33976 * libio/iofclose.c: Assume _LIBC is defined.
33977 * libio/iofdopen.c: Likewise.
33978 (_IO_fcntl): Remove macro definition.
33979 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
33980 Call __fcntl directly.
33981 * libio/iofflush.c: Assume weak_alias is defined.
33982 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
33983 defined.
33984 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
33985 * libio/iofgets.c: Likewise.
33986 * libio/iofopen.c: Assume _LIBC is defined.
33987 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
33988 * libio/iofputs.c: Assume weak_alias is defined.
33989 * libio/iofread.c: Likewise.
33990 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
33991 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
33992 * libio/ioftell.c: Assume weak_alias is defined.
33993 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
33994 * libio/iofwide.c: Assume _LIBC is defined.
33995 (_IO_fwide): Drop SHARED conditional because it is implied by
33996 SHLIB_COMPAT.
33997 * libio/iofwrite.c: Assume weak_alias is defined.
33998 * libio/iogetdelim.c: Likewise.
33999 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
34000 * libio/iogetwline.c (wmemcpy): Remove macro definition.
34001 (_IO_getwline): Call __wmemcpy directly.
34002 * libio/iopopen.c: Assume _LIBC is defined.
34003 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
34004 (_IO_close): Remove macro definitions.
34005 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
34006 _exit directly.
34007 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
34008 directly.
34009 * libio/ioputs.c: Assume weak_alias is defined.
34010 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
34011 * libio/iosetbuffer.c: Assume weak_alias is defined.
34012 * libio/iosetvbuf.c: Likewise.
34013 * libio/ioungetc.c: Likewise.
34014 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
34015 libc_hidden_def, libc_hidden_weak, NULL are defined.
34016 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
34017 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
34018 defined.
34019 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
34020 definitions.
34021 (_IO_old_file_init_internal): Drop SHARED conditional because it
34022 is implied by SHLIB_COMPAT.
34023 (_IO_old_file_fopen): Call __open directly.
34024 (_IO_old_file_sync): Assume ESPIPE is defined.
34025 (_IO_old_file_write): Call __write directly.
34026 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
34027 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
34028 Call __fcntl directly.
34029 * libio/oldiofgetpos.c: Assume weak_alias is defined.
34030 (_IO_old_fgetpos): Assume EIO is defined.
34031 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
34032 (_IO_old_fgetpos64): Assume EIO is defined.
34033 * libio/oldiofsetpos.c: Assume weak_alias is defined.
34034 (_IO_old_fsetpos): Assume EIO is defined.
34035 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
34036 (_IO_old_fsetpos64): Assume EIO is defined.
34037 * libio/oldiopopen.c: Assume _LIBC is defined.
34038 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
34039 (_IO_close): Remove macro definitions.
34040 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
34041 directly.
34042 (_IO_old_proc_close): Call __close, __waitpid directly.
34043 * libio/put.c: Assume weak_alias is defined.
34044 * libio/stdfiles.c: Assume _LIBC is defined.
34045 * libio/stdio.c: Likewise.
34046 * libio/wfileops.c: Likewise.
34047 (_IO_wfile_sync): Assume ESPIPE is defined.
34048 * libio/wgenops.c: Assume _LIBC is defined.
34049 (save_for_wbackup): Remove internal_function.
34050
5129873a
FW
340512017-08-31 Florian Weimer <fweimer@redhat.com>
34052
34053 * malloc/malloc.c (top_check): Change return type to void. Remove
34054 internal_function.
34055 * malloc/hooks.c (top_check): Likewise.
34056 (malloc_check, realloc_check, memalign_check): Adjust.
34057
4fa9b3bf
JM
340582017-08-30 Joseph Myers <joseph@codesourcery.com>
34059
34060 [BZ #21457]
34061 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
34062 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
34063 sigcontext and namespace requirements.
34064 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
34065 * sysdeps/m68k/sys/ucontext.h: Likewise.
34066 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
34067 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
34068 <bits/sigcontext.h>.
34069 (__ctx): Define earlier.
34070 (mcontext_t): Define structure contents rather than using struct
34071 sigcontext.
34072 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
34073 __glibc_reserved1 instead of __reserved.
34074 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
34075 <bits/sigcontext.h>.
34076 (__ctx): Define earlier.
34077 (mcontext_t): Define structure contents rather than using struct
34078 sigcontext.
34079 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
34080 mcontext_t instead of struct sigcontext.
34081 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
34082 <bits/sigcontext.h>.
34083 (__ctx): Define earlier.
34084 (mcontext_t): Define structure contents rather than using struct
34085 sigcontext.
34086 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
34087 <bits/sigcontext.h>.
34088 (__ctx): Define earlier.
34089 (mcontext_t): Define structure contents rather than using struct
34090 sigcontext.
34091 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
34092 mcontext_t instead of struct sigcontext.
34093 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
34094 mcontext_t instead of struct sigcontext.
34095 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
34096 <bits/sigcontext.h>.
34097 (__ctx): New macro.
34098 (struct __ia64_fpreg_mcontext): New type.
34099 (mcontext_t): Define structure contents rather than using struct
34100 sigcontext.
34101 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
34102 (uc_sigmask): Define using __ctx.
34103 (uc_stack): Likewise.
34104 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
34105 <bits/sigcontext.h>.
34106 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34107 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
34108 <bits/sigcontext.h>.
34109 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
34110 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
34111 <bits/sigcontext.h>.
34112 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
34113 <bits/sigcontext.h>.
34114 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
34115 <bits/sigcontext.h>.
34116 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
34117 <bits/sigcontext.h>.
34118 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
34119 <bits/sigcontext.h>.
34120 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
34121 <bits/sigcontext.h>.
34122 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
34123 <bits/sigcontext.h>.
34124 (__ctx): Define earlier.
34125 (mcontext_t): Define structure contents rather than using struct
34126 sigcontext.
34127 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
34128 <bits/sigcontext.h>. Include <bits/types.h>.
34129 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
34130 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
34131 (test-xfail-XPG42/ucontext.h/conform): Likewise.
34132 (test-xfail-UNIX98/signal.h/conform): Likewise.
34133 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
34134 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
34135 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
34136 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
34137 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
34138 (test-xfail-POSIX2008/signal.h/conform): Likewise.
34139 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
34140 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
34141 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
34142
5898f454
FW
341432017-08-30 Florian Weimer <fweimer@redhat.com>
34144
34145 * malloc/dynarray_emplace_enlarge.c
34146 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
34147 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
34148 * malloc/tst-dynarray.c (test_long_overflow): New function.
34149 (do_test): Call it.
34150
a9da0bb2
FW
341512017-08-30 Florian Weimer <fweimer@redhat.com>
34152
34153 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
34154 (set_arena_corrupt): Remove definitions.
34155 (mtrim): Do not check for corrupt arena.
34156 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
34157 Likewise.
34158
ac3ed168
FW
341592017-08-30 Florian Weimer <fweimer@redhat.com>
34160
34161 [BZ #21754]
34162 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
34163 check_action.
34164 (ptmalloc_init): Do not set or use check_action.
34165 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
34166 call to malloc_printerr. Remove return statement.
34167 (free_check): Likewise. Remove arena unlock.
34168 (top_check): Update comment. Adjust call to malloc_printerr.
34169 Remove heap repair code.
34170 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
34171 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
34172 (sysmalloc): Adjust call to malloc_printerr.
34173 (munmap_chunk, __libc_realloc): Likewise. Remove return
34174 statement.
34175 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
34176 Remove errout label and corresponding gotos.
34177 (_int_free): Likewise. Remove arena unlock.
34178 (do_set_mallopt_check): Do not set check_action.
34179 (malloc_printerr): Adjust parameter list. Do not mark arena as
34180 corrupt.
34181 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
34182 comment.
34183 * manual/probes.texi (Memory Allocation Probes): Remove
34184 memory_mallopt_check_action.
34185
44bcba80
SE
341862017-08-30 Steve Ellcey <sellcey@cavium.com>
34187
34188 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
34189 Use pointer to uint64_t instead of long int for sp.
34190
ec2c1fce
FW
341912017-08-30 Florian Weimer <fweimer@redhat.com>
34192
34193 [BZ #21754]
34194 * malloc/malloc.c (malloc_printerr): Always terminate the process,
34195 without printing a backtrace. Do not leak any information in the
34196 error message.
34197 * manual/memory.texi (Heap Consistency Checking): Update.
34198 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
34199
9ce673b6
FW
342002017-08-30 Florian Weimer <fweimer@redhat.com>
34201
34202 Do not scale NPTL tests with available number of CPUs.
34203 * nptl/tst-cond16.c (count): Set to constant value of 8.
34204 * nptl/tst-cond18.c (count): Likewise.
34205
2f1aef19
JM
342062017-08-29 Joseph Myers <joseph@codesourcery.com>
34207
34208 [BZ #22035]
34209 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
34210 Define to take a second argument that is a macro that
34211 concatentates a suffix, not the suffix itself.
34212 (__CONCAT_d): New macro.
34213 (__CONCAT_f): Likewise.
34214 (__CONCAT_l): Likewise.
34215
8325b477
PP
342162017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
34217
34218 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
34219 by child.
34220
319cbbf6
AZ
342212017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34222 Aurelien Jarno <aurelien@aurel32.net>
34223 Maciej W. Rozycki <macro@imgtec.com>
34224
34225 [BZ #21956]
34226 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
34227 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
34228 `mips16-syscall6' and `mips16-syscall7'.
34229 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
34230 (CFLAGS-mips16-syscall7.c): Remove.
34231 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
34232 Remove `__mips16_syscall5', `__mips16_syscall6' and
34233 `__mips16_syscall7'.
34234 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
34235 (__mips16_syscall0): Rename `__mips16_syscall_return' to
34236 `__mips_syscall_return'.
34237 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
34238 (__mips16_syscall1): Likewise.
34239 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
34240 (__mips16_syscall2): Likewise.
34241 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
34242 (__mips16_syscall3): Likewise.
34243 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
34244 (__mips16_syscall4): Likewise.
34245 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
34246 Remove.
34247 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
34248 Remove.
34249 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
34250 Remove.
34251 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
34252 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
34253 `__mips16_syscall5'. Remove prototype.
34254 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
34255 `__mips16_syscall6'. Remove prototype.
34256 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
34257 `__mips16_syscall7'. Remove prototype.
34258 (__nomips16, __mips16_syscall_return): Move to...
34259 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
34260 (__nomips16, __mips_syscall_return): ... here.
34261 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
34262 `__mips16_syscall_return' to `__mips_syscall_return'.
34263 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
34264 `internal_syscall##nr'.
34265 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
34266 `internal_syscall##nr'.
34267 (FORCE_FRAME_POINTER): Remove.
34268 (__mips_syscall5): New prototype.
34269 (internal_syscall5): Rewrite to call `__mips_syscall5'.
34270 (__mips_syscall6): New prototype.
34271 (internal_syscall6): Rewrite to call `__mips_syscall6'.
34272 (__mips_syscall7): New prototype.
34273 (internal_syscall7): Rewrite to call `__mips_syscall7'.
34274 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
34275 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
34276 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
34277 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
34278 (sysdep_routines): Add libc-do-syscall.
34279 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
34280 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
34281
01b87c65
AZ
342822017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34283
34284 [BZ #21672]
34285 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
34286 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
34287 (advise_stack_range): New function.
34288 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
34289 stack non required to advise_stack_range at allocatestack.c
34290
16f138a4
SN
342912017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
34292
34293 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
34294
251bccfa
FW
342952017-08-29 Florian Weimer <fweimer@redhat.com>
34296
34297 [BZ #22026]
34298 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
34299 __end_fct. Mangle __end_fct after setting it to NULL.
34300 * iconv/Makefile (tests): Add tst-gconv-init-failure.
34301 (modules-names, modules-names-tests): Add
34302 tst-gconv-init-failure-mod.
34303 (gconv-modules): New target.
34304 (tst-gconv-init-failure-mod.so): Link against libsupport.
34305 (tst-gconv-init-failure): Depend on gconv-modules,
34306 tst-gconv-init-failure-mod.so.
34307 * iconv/tst-gconv-init-failure-mod.c: New file.
34308 * iconv/tst-gconv-init-failure.c: Likewise.
34309 * iconv/test-gconv-modules: Likewise.
34310
e7c18b9d
FW
343112017-08-29 Florian Weimer <fweimer@redhat.com>
34312
34313 [BZ #22025]
34314 * iconv/gconv_db.c (free_derivation): Remove redundant
34315 parentheses.
34316 (gen_steps): Unconditionally mangle __btowc_fct after
34317 initialization.
34318 (increment_counter): Likewise. Do not call init_fct for internal
34319 modules.
34320
7daada03
JM
343212017-08-29 Joseph Myers <joseph@codesourcery.com>
34322
34323 [BZ #22028]
34324 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
34325 (_MSUF_): Remove macro.
34326 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
34327 Likewise.
34328 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
34329 (__REDIRFROM_X): New macro.
34330 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
34331 Likewise.
34332 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
34333 (__REDIRTO_X): Likewise.
34334 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
34335 arguments.
34336 (__MATH_REDIRCALL_2): Likewise.
34337 (__MATH_REDIRCALL_INTERNAL): Likewise.
34338 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
34339 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
34340 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
34341 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
34342 * math/test-finite-macros.c: New file.
34343 * math/Makefile (tests): Add test-finite-macros.
34344 (CFLAGS-test-finite-macros.c): New variable.
34345
1cf1232c
PF
343462017-08-29 Patsy Franklin <pfrankli@redhat.com>
34347 Jeff Law <law@redhat.com>
34348
34349 [BZ #22025]
34350 Mangle NULL pointers in iconv/gconv.
34351 * iconv/gconv_cache.c (find_module): Demangle init_fct before
34352 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
34353 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
34354 is non-NULL before demangling the end_fct. Check for NULL
34355 end_fct after demangling.
34356 (__gconv_release_step): Demangle the end_fct before checking
34357 it for NULL. Remove assert on __shlibc_handle != NULL.
34358 (gen_steps): Don't check btowc_fct for NULL before mangling.
34359 Demangle init_fct before checking for NULL.
34360 (increment_counter): Likewise.
34361 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
34362 end_fct for NULL before mangling.
34363 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
34364 for NULL.
34365
c207f7ce 343662017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
f8de9568
AK
34367
34368 [BZ #21971]
34369 * locale/iso-639.def: add Morisyen.
34370
42496114
GG
343712017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34372
34373 [BZ #21930]
34374 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
34375 (iszero): New C++ implementation that does not use
34376 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
34377 signaling nans are enabled, since __builtin_types_compatible_p
34378 is a C-only feature.
34379 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
34380 defined, include ieee754_float128.h for access to the union and
34381 member ieee854_float128.ieee.
34382 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
34383 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
34384 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
34385 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
34386 options of test-math-zero on powerpc64le.
34387
5e2bc4ff
L
343882017-08-28 H.J. Lu <hongjiu.lu@intel.com>
34389
34390 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
34391 Change double to float.
34392
a48c0fb4
JM
343932017-08-28 Joseph Myers <joseph@codesourcery.com>
34394
34395 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
34396 unconditional.
34397 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
34398 conditional code; define contents only for [LIBM_SVID_COMPAT].
34399
ee17d4e9
FW
344002017-08-28 Florian Weimer <fweimer@redhat.com>
34401
34402 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
34403 (abi-lp64_be-options): Remove.
34404 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
34405 (abi-hard-options): Likewise.
34406 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
34407 (abi-o32_hard-options, abi-o32_soft_2008-options)
34408 (abi-o32_hard_2008-options, abi-n32_soft-options)
34409 (abi-n32_hard-options, abi-n32_soft_2008-options)
34410 (abi-n32_hard_2008-options, abi-n64_soft-options)
34411 (abi-n64_hard-options, abi-n64_soft_2008-options)
34412 (abi-n64_hard_2008-options): Likewise.
34413 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
34414 (abi-64-v1-options, abi-64-v2-options): Likewise.
34415 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
34416 (abi-64-options): Likewise.
34417 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
34418 (abi-64-options): Likewise.
34419 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
34420 (abi-64-options): Likewise.
34421 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
34422 (abi-64-options, abi-x32-options): Likewise.
34423
2dba5ce7
FW
344242017-08-28 Florian Weimer <fweimer@redhat.com>
34425
34426 Store supported list of SYS_* system calls in the source tree.
34427 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
34428 (bits/syscall.h): Generate from list file.
34429 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
34430 [$(subdir) = misc] (tests): Add tst-syscall-list.
34431 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
34432 [$(subdir) = misc] (tst-syscall-list-macros.list)
34433 [$(subdir) = misc] (tst-syscall-list-nr.list)
34434 (tst-syscall-list-sys.list): Helper targets for new
34435 tst-syscall-list test.
34436 [$(subdir) = misc] (tst-syscall-list.out): Run test script
34437 tst-syscall-list.sh.
34438 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
34439 target. Do not include bits/syscall.d.
34440 [$(subdir) = misc] (generated): Do not update.
34441 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
34442 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
34443 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
34444 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
34445
5f3b183d
PP
344462017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
34447
34448 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
34449 (tst-cxa_atexit, tst-on_exit): Likewise.
34450 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
34451 tst-cxa_atexit, and tst-on_exit.
34452 * stdlib/tst-atexit-common.c: New file.
34453 * stdlib/tst-atexit.c: New file.
34454 * stdlib/tst-at_quick_exit.c: New file.
34455 * stdlib/tst-cxa_atexit.c: New file.
34456 * stdlib/tst-on_exit.c: New file.
34457
2ef8d469
ST
344582017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
34459
34460 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
97e02ad2
ST
34461 * mach/stack_chk_fail_local.c: New file.
34462 * hurd/stack_chk_fail_local.c: New file.
34463 * mach/Machrules ($(interface-library)-routines): Add
34464 stack_chk_fail_local.
99ee4d26
ST
34465 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
34466 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
34467 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
34468 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
34469 * hurd/Makefile (CFLAGS-hurdstartup.o,
34470 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2ef8d469 34471
7ab70c98
L
344722017-08-25 H.J. Lu <hongjiu.lu@intel.com>
34473
34474 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
34475 (index_cpu_*, index_arch_*): Removed.
34476
39e7a5a6
SN
344772017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
34478
34479 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
34480 Use uint64_t instead of unsigned long.
34481
bba5c930
JM
344822017-08-25 Joseph Myers <joseph@codesourcery.com>
34483
a6ccdb08
JM
34484 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
34485 [__HAVE_DISTINCT_FLOAT128].
34486
23761119
JM
34487 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
34488 of <bits/math-finite.h>.
34489 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
34490 inclusion of <bits/math-finite.h>.
34491 * math/bits/math-finite.h (__REDIRTO_X): Do not define
34492 conditionally on [__MATH_DECLARING_LDOUBLE && defined
34493 __NO_LONG_DOUBLE_MATH].
34494 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
34495 (__MATH_REDIRCALL_2): Likewise.
34496 (__MATH_REDIRCALL_INTERNAL): Likewise.
34497 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
34498 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
34499 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
34500
bba5c930
JM
34501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
34502 Remove file.
34503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
34504 Likewise.
34505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
34506 Likewise.
34507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
34508 Likewise.
34509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
34510 Likewise.
34511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
34512 Likewise.
34513 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
34514 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
34515 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
34516 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
34517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
34518 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
34519 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
34520 w_sqrtf_compat-ppc32.
34521
3d7b66f6
GG
345222017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34523
34524 * math/math.h [defined __cplusplus] (issignaling): In the long
34525 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
34526 is not defined. Call __issignaling, otherwise.
34527
ebd6f007
AZ
345282017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34529
34530 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
34531 syscall definitions and replace __builtin_expect with __glibc_likely.
34532 * sysdeps/unix/syscall-template.S: Update comment about cancellable
34533 syscall.
6b5c8607 34534 (SYSCALL_CANCELLABLE): Removedefinition
ebd6f007
AZ
34535 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
34536 definition.
34537 (PSEUDO_END): Likewise.
34538 [IS_IN (libpthread)] (CENABLE): Likewise.
34539 [IS_IN (libpthread)] (CDISABLE): Likewise.
34540 [IS_IN (libc)] (CENABLE): Likewise.
34541 [IS_IN (libc)] (CENABLE): Likewise.
34542 [IS_IN (librt)] (CDISABLE): Likewise.
34543 [IS_IN (librt)] (CDISABLE): Likewise.
34544 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34545 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
34546 definition.
34547 (PSEUDO_END): Likewise.
34548 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
34549 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
34550 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
34551 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
34552 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
34553 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
34554 (CENABLE): Likewise.
34555 (CDISABLE): Likewise.
34556 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34557 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
34558 defintion.
34559 (PSEUDO_END): Likewise.
34560 [IS_IN (libpthread)] (CENABLE): Likewise.
34561 [IS_IN (libpthread)] (CDISABLE): Likewise.
34562 [IS_IN (libc)] (CENABLE): Likewise.
34563 [IS_IN (libc)] (CENABLE): Likewise.
34564 [IS_IN (librt)] (CDISABLE): Likewise.
34565 [IS_IN (librt)] (CDISABLE): Likewise.
34566 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34567 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
34568 definition.
34569 (PSEUDO_END): Likewise.
34570 [IS_IN (libpthread)] (CENABLE): Likewise.
34571 [IS_IN (libpthread)] (CDISABLE): Likewise.
34572 [IS_IN (libc)] (CENABLE): Likewise.
34573 [IS_IN (libc)] (CENABLE): Likewise.
34574 [IS_IN (librt)] (CDISABLE): Likewise.
34575 [IS_IN (librt)] (CDISABLE): Likewise.
34576 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34577 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
34578 definition.
34579 (PSEUDO_END): Likewise.
34580 [IS_IN (libpthread)] (CENABLE): Likewise.
34581 [IS_IN (libpthread)] (CDISABLE): Likewise.
34582 [IS_IN (libc)] (CENABLE): Likewise.
34583 [IS_IN (libc)] (CENABLE): Likewise.
34584 [IS_IN (librt)] (CDISABLE): Likewise.
34585 [IS_IN (librt)] (CDISABLE): Likewise.
34586 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34587 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
34588 definition.
34589 (PSEUDO_END): Likewise.
34590 [IS_IN (libpthread)] (CENABLE): Likewise.
34591 [IS_IN (libpthread)] (CDISABLE): Likewise.
34592 [IS_IN (libc)] (CENABLE): Likewise.
34593 [IS_IN (libc)] (CENABLE): Likewise.
34594 [IS_IN (librt)] (CDISABLE): Likewise.
34595 [IS_IN (librt)] (CDISABLE): Likewise.
34596 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34597 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
34598 definition.
34599 (PSEUDO_END): Likewise.
34600 [IS_IN (libpthread)] (CENABLE): Likewise.
34601 [IS_IN (libpthread)] (CDISABLE): Likewise.
34602 [IS_IN (libc)] (CENABLE): Likewise.
34603 [IS_IN (libc)] (CENABLE): Likewise.
34604 [IS_IN (librt)] (CDISABLE): Likewise.
34605 [IS_IN (librt)] (CDISABLE): Likewise.
34606 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34607 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
34608 definition.
34609 (PSEUDO_END): Likewise.
34610 [IS_IN (libpthread)] (CENABLE): Likewise.
34611 [IS_IN (libpthread)] (CDISABLE): Likewise.
34612 [IS_IN (libc)] (CENABLE): Likewise.
34613 [IS_IN (libc)] (CENABLE): Likewise.
34614 [IS_IN (librt)] (CDISABLE): Likewise.
34615 [IS_IN (librt)] (CDISABLE): Likewise.
34616 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34617 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
34618 Remove definition.
34619 (PSEUDO_END): Likewise.
34620 [IS_IN (libpthread)] (CENABLE): Likewise.
34621 [IS_IN (libpthread)] (CDISABLE): Likewise.
34622 [IS_IN (libc)] (CENABLE): Likewise.
34623 [IS_IN (libc)] (CENABLE): Likewise.
34624 [IS_IN (librt)] (CDISABLE): Likewise.
34625 [IS_IN (librt)] (CDISABLE): Likewise.
34626 (SINGLE_THREAD_P): Likewise.
34627 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
34628 definition.
34629 (PSEUDO_END): Likewise.
34630 [IS_IN (libpthread)] (CENABLE): Likewise.
34631 [IS_IN (libpthread)] (CDISABLE): Likewise.
34632 [IS_IN (libc)] (CENABLE): Likewise.
34633 [IS_IN (libc)] (CENABLE): Likewise.
34634 [IS_IN (librt)] (CDISABLE): Likewise.
34635 [IS_IN (librt)] (CDISABLE): Likewise.
34636 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34637 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
34638 definition.
34639 (PSEUDO_END): Likewise.
34640 [IS_IN (libpthread)] (CENABLE): Likewise.
34641 [IS_IN (libpthread)] (CDISABLE): Likewise.
34642 [IS_IN (libc)] (CENABLE): Likewise.
34643 [IS_IN (libc)] (CENABLE): Likewise.
34644 [IS_IN (librt)] (CDISABLE): Likewise.
34645 [IS_IN (librt)] (CDISABLE): Likewise.
34646 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34647 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
34648 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
34649 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
34650 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
34651 definition.
34652 (PSEUDO_END): Likewise.
34653 [IS_IN (libpthread)] (CENABLE): Likewise.
34654 [IS_IN (libpthread)] (CDISABLE): Likewise.
34655 [IS_IN (libc)] (CENABLE): Likewise.
34656 [IS_IN (libc)] (CENABLE): Likewise.
34657 [IS_IN (librt)] (CDISABLE): Likewise.
34658 [IS_IN (librt)] (CDISABLE): Likewise.
34659 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34660 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
34661 definition.
34662 (PSEUDO_END): Likewise.
34663 [IS_IN (libpthread)] (CENABLE): Likewise.
34664 [IS_IN (libpthread)] (CDISABLE): Likewise.
34665 [IS_IN (libc)] (CENABLE): Likewise.
34666 [IS_IN (libc)] (CENABLE): Likewise.
34667 [IS_IN (librt)] (CDISABLE): Likewise.
34668 [IS_IN (librt)] (CDISABLE): Likewise.
34669 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34670 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
34671 definition.
34672 (PSEUDO_END): Likewise.
34673 [IS_IN (libpthread)] (CENABLE): Likewise.
34674 [IS_IN (libpthread)] (CDISABLE): Likewise.
34675 [IS_IN (libc)] (CENABLE): Likewise.
34676 [IS_IN (libc)] (CENABLE): Likewise.
34677 [IS_IN (librt)] (CDISABLE): Likewise.
34678 [IS_IN (librt)] (CDISABLE): Likewise.
34679 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34680 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
34681 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
34682 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
34683 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
34684 definition.
34685 (PSEUDO_END): Likewise.
34686 [IS_IN (libpthread)] (CENABLE): Likewise.
34687 [IS_IN (libpthread)] (CDISABLE): Likewise.
34688 [IS_IN (libc)] (CENABLE): Likewise.
34689 [IS_IN (libc)] (CENABLE): Likewise.
34690 [IS_IN (librt)] (CDISABLE): Likewise.
34691 [IS_IN (librt)] (CDISABLE): Likewise.
34692 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34693 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
34694 definition.
34695 (PSEUDO_END): Likewise.
34696 [IS_IN (libpthread)] (CENABLE): Likewise.
34697 [IS_IN (libpthread)] (CDISABLE): Likewise.
34698 [IS_IN (libc)] (CENABLE): Likewise.
34699 [IS_IN (libc)] (CENABLE): Likewise.
34700 [IS_IN (librt)] (CDISABLE): Likewise.
34701 [IS_IN (librt)] (CDISABLE): Likewise.
34702 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34703
8aa48656
SN
347042017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
34705
34706 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
34707
fcaaca41
L
347082017-08-23 H.J. Lu <hongjiu.lu@intel.com>
34709
34710 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34711
376b40a2
L
347122017-08-23 H.J. Lu <hongjiu.lu@intel.com>
34713
34714 [BZ #21982]
34715 * string/stratcliff.c (do_test): Declare size, nchars, inner,
34716 middle and outer with size_t instead of int. Repleace %d and
34717 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
34718 "MAX (outer, nchars - 64)" to support unsigned outer and
34719 nchars. Also exit loop when outer == 0.
34720
2b0b9a1c
AZ
347212017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34722
34723 * include/fcntl.h (__fcntl_nocancel): Remove definition.
34724 * include/signal.h (__sigsuspend_nocancel): Likewise.
34725 * include/time.h (__nanosleep_nocancel): Likewise.
34726 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
34727 * login/utmp_file.c: Include non cancellable syscall header.
34728 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
34729 prototype.
34730
b9eaca8f
L
347312017-08-23 H.J. Lu <hongjiu.lu@intel.com>
34732
34733 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
34734 .byte sequences with AVX512F instructions.
34735 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
34736 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
34737 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
34738 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
34739 Likewise.
34740 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
34741 Likewise.
34742
5a706f64
SE
347432017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
34744 Steve Ellcey <sellcey@cavium.com>
34745
34746 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
34747 Use PTR_REG macro in cmp instruction.
34748
b513da7e
GG
347492017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34750
34751 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
34752 Change the return type of the ifunc resolver to match the return
34753 type of the target function.
34754
78ca091c
AZ
347552017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34756
b70b6026
AZ
34757 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
34758 (preadv64): Likewise.
34759 (pwrite64(: Likewise.
34760 (pwritev64): Likewise.
34761
78ca091c
AZ
34762 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
34763 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
34764 (LOAD_ARGS_0): Likewise.
34765 (LOAD_ARGS_1): Likewise.
34766 (LOAD_ARGS_2): Likewise.
34767 (LOAD_ARGS_3): Likewise.
34768 (LOAD_ARGS_4): Likewise.
34769 (LOAD_ARGS_5): Likewise.
34770 (LOAD_ARGS_6): Likewise.
34771 (LOAD_REGS_0): Likewise.
34772 (LOAD_REGS_1): Likewise.
34773 (LOAD_REGS_2): Likewise.
34774 (LOAD_REGS_3): Likewise.
34775 (LOAD_REGS_4): Likewise.
34776 (LOAD_REGS_5): Likewise.
34777 (LOAD_REGS_6): Likewise.
34778 (ASM_ARGS_0): Likewise.
34779 (ASM_ARGS_1): Likewise.
34780 (ASM_ARGS_2): Likewise.
34781 (ASM_ARGS_3): Likewise.
34782 (ASM_ARGS_4): Likewise.
34783 (ASM_ARGS_5): Likewise.
34784 (ASM_ARGS_6): Likewise.
34785 (LOAD_ARGS_TYPES_1): Likewise.
34786 (LOAD_ARGS_TYPES_2): Likewise.
34787 (LOAD_ARGS_TYPES_3): Likewise.
34788 (LOAD_ARGS_TYPES_4): Likewise.
34789 (LOAD_ARGS_TYPES_5): Likewise.
34790 (LOAD_ARGS_TYPES_6): Likewise.
34791 (LOAD_REGS_TYPES_1): Likewise.
34792 (LOAD_REGS_TYPES_2): Likewise.
34793 (LOAD_REGS_TYPES_3): Likewise.
34794 (LOAD_REGS_TYPES_4): Likewise.
34795 (LOAD_REGS_TYPES_5): Likewise.
34796 (LOAD_REGS_TYPES_6): Likewise.
34797 (TYPEFY): New define.
34798 (ARGIFY): Likewise.
34799 (internal_syscall0): Likewise.
34800 (internal_syscall1): Likewise.
34801 (internal_syscall2): Likewise.
34802 (internal_syscall3): Likewise.
34803 (internal_syscall4): Likewise.
34804 (internal_syscall5): Likewise.
34805 (internal_syscall6): Likewise.
34806 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
34807 (INTERNAL_SYSCALL_NCS): Remove define.
34808 (internal_syscall1): Add define.
34809
453a493d
GG
348102017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34811
34812 * math/w_remainder_compat.c: Remove duplicate inclusion of
34813 math-svid-compat.h.
34814 * math/w_remainderf_compat.c: Likewise.
34815 * math/w_remainderl_compat.c: Likewise.
34816
f2f048a5
GG
348172017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34818
34819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34820
d9bef9c0
JM
348212017-08-22 Joseph Myers <joseph@codesourcery.com>
34822
34823 [BZ #21684]
34824 * math/tgmath.h (__floating_type): Simplify definitions.
34825 (__real_integer_type): New macro.
34826 (__complex_integer_type): Likewise.
34827 (__expr_is_real): Likewise.
34828 (__tgmath_real_type_sub): Update comment to describe handling of
34829 complex types.
34830 (__tgmath_complex_type_sub): New macro.
34831 (__tgmath_complex_type): Likewise.
34832 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34833 (__TGMATH_CF128): Use __expr_is_real.
34834 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
34835 __expr_is_real.
34836 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34837 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
34838 * math/gen-tgmath-tests.py (Type.create_type): Create complex
34839 integer types.
34840
08d6eb46
AZ
348412017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34842
988f991b
AZ
34843 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
34844 macro.
34845 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
34846 alias.
34847 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
34848 Likewise.
34849
6f33fd04
AZ
34850 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
34851 nanosleep_not_cancel with __nanosleep_nocancel.
34852 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
34853 (__nanosleep_nocancel): New macro.
34854 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
34855 function.
34856 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
34857 macro.
34858 (__nanosleep_nocancel): New prototype.
34859
08d6eb46
AZ
34860 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
34861 pause_not_cancel with __pause_nocancel.
34862 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
34863 (__pause_nocancel): New macro.
34864 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
34865 macro.
34866 (__pause_nocancel): New prototype.
34867 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
34868
ee4e992e
MS
348692017-08-22 Martin Sebor <msebor@redhat.com>
34870
34871 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
34872 to return a pointer to the same type as the target function.
34873
20962acb
L
348742017-08-22 H.J. Lu <hongjiu.lu@intel.com>
34875
34876 [BZ #18822]
34877 [BZ #21986]
34878 * include/printf.h (__printf_fphex): Add attribute_hidden.
34879 (__guess_grouping): New prototype.
34880 * stdio-common/printf_fp.c (__guess_grouping): Removed.
34881 * stdio-common/reg-printf.c (__register_printf_specifier): Add
34882 libc_hidden_proto and libc_hidden_def.
34883 * stdlib/strfmon_l.c (__guess_grouping): Removed.
34884 (__vstrfmon_l): Remove the third argument passed to
34885 __guess_grouping.
34886
a16e8bc0
GG
348872017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34888
34889 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
34890 definition for issignaling that does not rely on __MATH_TG,
34891 since __MATH_TG uses __builtin_types_compatible_p, which is only
34892 available in C mode.
34893 (CFLAGS-test-math-issignaling.cc): New variable.
34894 * math/Makefile [CXX] (tests): Add test-math-issignaling.
34895 * math/test-math-issignaling.cc: New test for C++ implementation
34896 of type-generic issignaling.
34897 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
34898 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
34899 options of test-math-issignaling on powerpc64le.
34900
8d2ec553
L
349012017-08-22 H.J. Lu <hongjiu.lu@intel.com>
34902
34903 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
34904 building libc.a.
34905 (hidden_proto): Likewise.
34906 (hidden_tls_proto): Likewise.
34907 (__hidden_proto): Likewise.
34908
a4d57b79
FW
349092017-08-22 Florian Weimer <fweimer@redhat.com>
34910
34911 math: Statically link tests of internal functionality.
34912 * math/Makefile (tests): Remove atest-exp, atest-sincos,
34913 atest-exp2.
34914 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
34915 (gmp-objs): Remove assignment.
34916 (atest-exp, atest-sincos, atest-exp2): Remove targets.
34917
75dfe623
JM
349182017-08-22 Joseph Myers <joseph@codesourcery.com>
34919
80f91666
JM
34920 [BZ #21987]
34921 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
34922 and copy to ...
34923 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
34924 ... here.
34925 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
34926 ... and here.
34927
75dfe623
JM
34928 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
34929 variable definitions above inclusion of ../Rules.
34930
ea99fcd0
JM
349312017-08-21 Joseph Myers <joseph@codesourcery.com>
34932
34933 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
34934 case calling __builtin_unreachable.
34935
19926de9
AZ
349362017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34937
a8410a5f
AZ
34938 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
34939 __waitpid_nocancel.
34940 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
34941 (__waitpid_nocancel): New macro.
34942 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
34943 macro.
34944 (__waitpid_nocancel): Replace macro with a function.
34945 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
34946 function.
34947
7369800c
AZ
34948 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
34949 __fcntl_nocancel.
34950 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
34951 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
34952
19926de9
AZ
34953 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
34954 __writev_nocancel_nostatus.
34955 (write_call_graph): Likewise.
34956 (write_bb_counts): Likewise.
34957 * resolv/herror.c (herror): Likewise.
34958 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
34959 macro.
34960 (__writev_nocancel_nostatus): New macro.
34961 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
34962 Remove macro.
34963 (__writev_nocancel_nostatus): New function.
34964
813378e9
JM
349652017-08-21 Joseph Myers <joseph@codesourcery.com>
34966
df1deda6
JM
34967 Revert:
34968 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34969
34970 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
34971 building libc.a.
34972 (hidden_proto): Likewise.
34973 (hidden_tls_proto): Likewise.
34974 (__hidden_proto): Likewise.
34975
831bbd55
JM
34976 [BZ #21973]
34977 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
34978 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
34979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
34980 Likewise.
34981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
34982 Likewise.
34983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
34984 Likewise.
34985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
34986 Likewise.
34987 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
34988 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
34989 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
34990 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
34991 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
34992 GLIBC_2.0 sqrtl symbol.
34993
813378e9
JM
34994 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
34995 [__USE_MISC] (_LIB_VERSION): Likewise.
34996 [__USE_MISC] (struct exception): Likewise.
34997 [__USE_MISC] (matherr): Likewise.
34998 [__USE_MISC] (DOMAIN): Likewise.
34999 [__USE_MISC] (SING): Likewise.
35000 [__USE_MISC] (OVERFLOW): Likewise.
35001 [__USE_MISC] (UNDERFLOW): Likewise.
35002 [__USE_MISC] (TLOSS): Likewise.
35003 [__USE_MISC] (PLOSS): Likewise.
35004 [__USE_MISC] (HUGE): Likewise.
35005 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
35006 * math/math-svid-compat.h: New file.
35007 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
35008 and matherrl.
35009 * include/math.h [!_ISOMAC] (__matherr): Remove.
35010 * manual/arith.texi (FP Exceptions): Do not document matherr.
35011 * math/Makefile (tests): Change test-matherr to test-matherr-3.
35012 (tests-internal): New variable.
35013 (install-lib): Do not add libieee.a.
35014 (non-lib.a): Likewise.
35015 (extra-objs): Do not add libieee.a and ieee-math.o.
35016 (CPPFLAGS-s_lib_version.c): Remove variable.
35017 ($(objpfx)libieee.a): Remove rule.
35018 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
35019 * math/ieee-math.c: Remove.
35020 * math/libm-test-support.c (matherr): Remove.
35021 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
35022 and license notices. Include <math-svid-compat.h> and
35023 <shlib-compat.h>.
35024 (matherr): Undefine as macro. Use compat_symbol_reference.
35025 (_LIB_VERSION): Likewise.
35026 * math/test-matherr-2.c: New file.
35027 * math/test-matherr-3.c: Likewise.
35028 * sysdeps/generic/math_private.h (__kernel_standard): Remove
35029 declaration.
35030 (__kernel_standard_f): Likewise.
35031 (__kernel_standard_l): Likewise.
35032 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
35033 <math_private.h>. Include <math-svid-compat.h>.
35034 (_LIB_VERSION): Undefine as macro.
35035 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
35036 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
35037 [LIBM_SVID_COMPAT], use compat_symbol.
35038 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
35039 <math_private.h>. Include <math-svid-compat.h>.
35040 (matherr): Undefine as macro.
35041 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
35042 compat_symbol.
35043 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
35044 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
35045 compat_symbol_reference.
35046 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
35047 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
35048 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
35049 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
35050 (MATHERR_D): Remove declaration.
35051 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
35052 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
35053 [LIBM_BUILD] (pmatherrf): Likewise.
35054 [LIBM_BUILD] (pmatherr): Likewise.
35055 [LIBM_BUILD] (pmatherrl): Likewise.
35056 (DOMAIN): Likewise.
35057 (SING): Likewise.
35058 (OVERFLOW): Likewise.
35059 (UNDERFLOW): Likewise.
35060 (TLOSS): Likewise.
35061 (PLOSS): Likewise.
35062 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
35063 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
35064 compat_symbol.
35065 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
35066 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
35067 compat_symbol.
35068 * math/lgamma-compat.h: Include <math-svid-compat.h>.
35069 * math/w_acos_compat.c: Likewise.
35070 * math/w_acosf_compat.c: Likewise.
35071 * math/w_acosh_compat.c: Likewise.
35072 * math/w_acoshf_compat.c: Likewise.
35073 * math/w_acoshl_compat.c: Likewise.
35074 * math/w_acosl_compat.c: Likewise.
35075 * math/w_asin_compat.c: Likewise.
35076 * math/w_asinf_compat.c: Likewise.
35077 * math/w_asinl_compat.c: Likewise.
35078 * math/w_atan2_compat.c: Likewise.
35079 * math/w_atan2f_compat.c: Likewise.
35080 * math/w_atan2l_compat.c: Likewise.
35081 * math/w_atanh_compat.c: Likewise.
35082 * math/w_atanhf_compat.c: Likewise.
35083 * math/w_atanhl_compat.c: Likewise.
35084 * math/w_cosh_compat.c: Likewise.
35085 * math/w_coshf_compat.c: Likewise.
35086 * math/w_coshl_compat.c: Likewise.
35087 * math/w_exp10_compat.c: Likewise.
35088 * math/w_exp10f_compat.c: Likewise.
35089 * math/w_exp10l_compat.c: Likewise.
35090 * math/w_exp2_compat.c: Likewise.
35091 * math/w_exp2f_compat.c: Likewise.
35092 * math/w_exp2l_compat.c: Likewise.
35093 * math/w_fmod_compat.c: Likewise.
35094 * math/w_fmodf_compat.c: Likewise.
35095 * math/w_fmodl_compat.c: Likewise.
35096 * math/w_hypot_compat.c: Likewise.
35097 * math/w_hypotf_compat.c: Likewise.
35098 * math/w_hypotl_compat.c: Likewise.
35099 * math/w_j0_compat.c: Likewise.
35100 * math/w_j0f_compat.c: Likewise.
35101 * math/w_j0l_compat.c: Likewise.
35102 * math/w_j1_compat.c: Likewise.
35103 * math/w_j1f_compat.c: Likewise.
35104 * math/w_j1l_compat.c: Likewise.
35105 * math/w_jn_compat.c: Likewise.
35106 * math/w_jnf_compat.c: Likewise.
35107 * math/w_jnl_compat.c: Likewise.
35108 * math/w_lgamma_main.c: Likewise.
35109 * math/w_lgamma_r_compat.c: Likewise.
35110 * math/w_lgammaf_main.c: Likewise.
35111 * math/w_lgammaf_r_compat.c: Likewise.
35112 * math/w_lgammal_main.c: Likewise.
35113 * math/w_lgammal_r_compat.c: Likewise.
35114 * math/w_log10_compat.c: Likewise.
35115 * math/w_log10f_compat.c: Likewise.
35116 * math/w_log10l_compat.c: Likewise.
35117 * math/w_log2_compat.c: Likewise.
35118 * math/w_log2f_compat.c: Likewise.
35119 * math/w_log2l_compat.c: Likewise.
35120 * math/w_log_compat.c: Likewise.
35121 * math/w_logf_compat.c: Likewise.
35122 * math/w_logl_compat.c: Likewise.
35123 * math/w_pow_compat.c: Likewise.
35124 * math/w_powf_compat.c: Likewise.
35125 * math/w_powl_compat.c: Likewise.
35126 * math/w_remainder_compat.c: Likewise.
35127 * math/w_remainderf_compat.c: Likewise.
35128 * math/w_remainderl_compat.c: Likewise.
35129 * math/w_scalb_compat.c: Likewise.
35130 * math/w_scalbf_compat.c: Likewise.
35131 * math/w_scalbl_compat.c: Likewise.
35132 * math/w_sinh_compat.c: Likewise.
35133 * math/w_sinhf_compat.c: Likewise.
35134 * math/w_sinhl_compat.c: Likewise.
35135 * math/w_sqrt_compat.c: Likewise.
35136 * math/w_sqrtf_compat.c: Likewise.
35137 * math/w_sqrtl_compat.c: Likewise.
35138 * math/w_tgamma_compat.c: Likewise.
35139 * math/w_tgammaf_compat.c: Likewise.
35140 * math/w_tgammal_compat.c: Likewise.
35141 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
35142 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
35143 * sysdeps/ieee754/k_standard.c: Likewise.
35144 * sysdeps/ieee754/k_standardf.c: Likewise.
35145 * sysdeps/ieee754/k_standardl.c: Likewise.
35146 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
35147 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
35148 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
35149 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
35150 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
35151 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
35152 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
35153 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
35154 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
35155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
35156 Likewise.
35157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
35158 Likewise.
35159 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
35160 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
35161 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
35162 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
35163
4504783c
FW
351642017-08-21 Florian Weimer <fweimer@redhat.com>
35165
35166 [BZ #21864]
35167 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
35168 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
35169 Move before inclusion of ../Rules.
35170
b5889d25
FW
351712017-08-21 Florian Weimer <fweimer@redhat.com>
35172
35173 [BZ #21972]
35174 * assert/assert.h (assert): Use static_cast (bool) for C++.
35175 Use the ternary operator in the warning branch for GNU C.
35176 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
35177 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
35178 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
35179 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
35180 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
35181
41e673c1
L
351822017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35183
35184 [BZ #18822]
35185 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35186 (__syscall_clock_gettime): Add attribute_hidden.
35187 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
35188 (__start_context): Likewise.
35189
568ff429
L
351902017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35191
35192 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
35193 building libc.a.
35194 (hidden_proto): Likewise.
35195 (hidden_tls_proto): Likewise.
35196 (__hidden_proto): Likewise.
35197
7c41b4a1
L
351982017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35199
35200 * include/libc-symbols.h (attribute_hidden): Enable hidden
35201 visibility in libc.a compiled with PIE.
35202
483d7068
L
352032017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35204
35205 [BZ #18822]
35206 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
35207 Add attribute_hidden.
35208
352092017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35210
35211 [BZ #21864]
35212 * Makerules (all-nonlib): Add $(others-extras).
35213 * catgets/Makefile (others-extras): New.
35214 * elf/Makefile (others-extras): Likewise.
35215 * nss/Makefile (others-extras): Likewise.
35216
54e4b8f2
L
352172017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35218
35219 [BZ #18822]
35220 * csu/libc-start.c (__libc_multiple_libcs): Removed.
35221 * elf/dl-open.c: Include <libc-internal.h>.
35222 (__libc_multiple_libcs): Removed.
35223 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
35224 <hp-timing.h>.
35225 * include/libc-internal.h (__libc_multiple_libcs): New.
35226 * misc/sbrk.c: Include <libc-internal.h>.
35227 (__libc_multiple_libcs): Removed.
35228
1dbbb1ec
L
352292017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35230
35231 [BZ #18822]
35232 * grp/initgroups.c (__nss_group_database): Removed.
35233 (__nss_initgroups_database): Likewise.
35234 * nscd/gai.c (__nss_hosts_database): Likewise.
35235 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
35236 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
35237 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
35238 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
35239 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
35240 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
35241 attribute_hidden.
35242 * nss/nsswitch.c (__nss_database_custom): Define only if
35243 USE_NSCD is defined.
35244 (__nss_configure_lookup): Use __nss_database_custom only if
35245 USE_NSCD is defined.
35246 * nss/nsswitch.h (__nss_database_custom): Declare only if
35247 USE_NSCD is defined. Add attribute_hidden.
35248 (__nss_setent): Add attribute_hidden.
35249 (__nss_endent): Likewise.
35250 (__nss_getent_r): Likewise.
35251 (__nss_getent): Likewise.
35252 (DEFINE_DATABASE): Declare __nss_##arg##_database.
35253
2585d7b8
L
352542017-08-20 H.J. Lu <hongjiu.lu@intel.com>
35255
35256 [BZ #18822]
35257 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
35258 libc_hidden_proto and libc_hidden_def.
35259
c8dfa99c
L
352602017-08-20 H.J. Lu <hongjiu.lu@intel.com>
35261
35262 [BZ #18822]
35263 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
35264 Add libc_hidden_proto.
35265 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
35266 Add libc_hidden_def.
35267
7ed87317
L
352682017-08-20 H.J. Lu <hongjiu.lu@intel.com>
35269
35270 [BZ #21974]
35271 * gmon/Makefile (routines): Remove bb_init_func and
35272 bb_exit_func.
35273 (elide-routines.os): Removed.
9476b904
L
35274 * gmon/bb_exit_func.c: Likewise.
35275 * gmon/bb_init_func.c: Likewise.
7ed87317
L
35276 * include/sys/gmon.h (__bb): Likewise.
35277 (__bb_init_func): Likewise.
35278 (__bb_exit_func): Likewise.
91695eb1 35279 * sysdeps/alpha/bb_init_func.S: Likewise.
7ed87317 35280
94e6ba15
L
352812017-08-20 H.J. Lu <hongjiu.lu@intel.com>
35282
35283 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
35284 * include/setjmp.h (____longjmp_chk): Here. Add
35285 attribute_hidden.
35286
7550717e
L
352872017-08-19 H.J. Lu <hongjiu.lu@intel.com>
35288
35289 [BZ #18822]
35290 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
35291 attribute_hidden.
35292 (__strspn_sse2): Likewise.
35293
0bb2fabc
AZ
352942017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35295
c181840c
AZ
35296 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
35297 (close_not_cancel_no_status): Likewise.
35298 (__close_nocancel): New macro.
35299 (__close_nocancel_nostatus): Likewise.
35300 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
35301 macro.
35302 (close_not_cancel): Likewise.
35303 (close_not_cancel_no_status): Likewise.
35304 (__close_nocancel): New prototype.
35305 (__close_nocancel_nostatus): New function.
35306 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
35307 * catgets/open_catalog.c (__open_catalog): Replace
35308 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
35309 * gmon/gmon.c (write_gmon): Likewise.
35310 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
35311 * intl/loadmsgcat.c (close): Likewise.
35312 * io/ftw.c (open_dir_stream): Likewise.
35313 (ftw_startup): Likewise.
35314 * libio/fileops.c (_IO_file_open): Likewise.
35315 (_IO_file_close_mmap): Likewise.
35316 (_IO_file_close): Likewise.
35317 * libio/iopopen.c (_IO_dup2): Likewise.
35318 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
35319 * locale/loadlocale.c (_nl_load_locale): Likewise.
35320 * login/utmp_file.c (pututline_file): Likewise.
35321 (endutent_file): Likewise.
35322 * misc/daemon.c (daemon): Likewise.
35323 * nscd/nscd_getai.c (__nscd_getai): Likewise.
35324 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
35325 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
35326 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
35327 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35328 * nscd/nscd_helper.c (open_socket): Likewise.
35329 (__nscd_open_socket): Likewise.
35330 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
35331 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
35332 (__nscd_innetgr): Likewise.
35333 * nss/nss_db/db-open.c (internal_setent): Likewise.
35334 * resolv/res-close.c (__res_iclose): Likewise.
35335 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
35336 * sysdeps/posix/closedir.c (__closedir): Likewise.
35337 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
35338 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
35339 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
35340 (opendir_tail): Likewise.
35341 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
35342 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
35343 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
35344 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
35345 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
35346 (gethostid): Likewise.
35347 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
35348 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35349 Likewise.
35350 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
35351 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
35352 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
35353 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
35354 Likewise.
35355 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
35356 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
35357 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
35358 Likewise.
35359 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
35360 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
35361 Likewise.
35362 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
35363 Likewise.
35364 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
35365 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
35366 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
35367 __close_nocancel.
35368
0bb2fabc
AZ
35369 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
35370 (openat_not_cancel_3): Likewise.
35371 (openat64_not_cancel_3): Likewise).
35372 (openat_not_cancel_3): Likewise).
35373 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
35374 macro.
35375 (openat_not_cancel_3): Likewise.
35376 (openat64_not_cancel): Likewise.
35377 (openat64_not_cancel_3): Likewise.
35378 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
35379 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
35380 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
35381 __open{64}_nocancel.
35382 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
35383 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
35384 * sysdeps/posix/opendir.c (__opendirat): Likewise.
35385
65a086db
L
353862017-08-18 H.J. Lu <hongjiu.lu@intel.com>
35387
35388 [BZ #18822]
35389 * include/argz.h (__argz_create_sep): New function prototype.
35390 (__argz_append): Likewise.
35391 (__argz_add): Likewise.
35392 (__argz_add_sep): Likewise.
35393 (__argz_delete): Likewise.
35394 (__argz_insert): Likewise.
35395 (__argz_replace): Likewise.
35396 * string/argz.h (__argz_create_sep): Removed.
35397 (__argz_append): Likewise.
35398 (__argz_add): Likewise.
35399 (__argz_add_sep): Likewise.
35400 (__argz_delete): Likewise.
35401 (__argz_insert): Likewise.
35402 (__argz_replace): Likewise.
35403
62753d2c
L
354042017-08-18 H.J. Lu <hongjiu.lu@intel.com>
35405
35406 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
35407 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
35408 (GNU_PROPERTY_STACK_SIZE): Likewie.
35409 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
35410 (GNU_PROPERTY_LOPROC): Likewise.
35411 (GNU_PROPERTY_HIPROC): Likewise.
35412 (GNU_PROPERTY_LOUSER): Likewise.
35413 (GNU_PROPERTY_HIUSER): Likewise.
35414 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
35415 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
35416 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
35417 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
35418 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
35419 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
35420 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
35421 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
35422 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
35423 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
35424 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
35425 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
35426 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
35427 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
35428 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
35429 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
35430 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
35431 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
35432 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
35433 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
35434 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
35435 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
35436 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
35437
6913ad65
GG
354382017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35439
35440 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
35441 in C++ mode.
35442
47a67213
GG
354432017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35444
35445 [BZ #21930]
35446 * math/math.h (isinf): Check if in C or C++ mode before using
35447 __builtin_types_compatible_p, since this is a C mode feature.
35448
a748eb31
AZ
354492017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35450
c647fb88
AZ
35451 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
35452 (__write_nocancel): New macro.
35453 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
35454 Rewrite as a function prototype.
35455 (write_not_cancel): Remove macro.
35456 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
35457 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
35458 (write_gmon): Likewise.
35459 * libio/fileops.c (_IO_new_file_write): Likewise.
35460 * login/utmp_file.c (pututline_file): Likewise.
35461 (updwtmp_file): Likewise.
35462 * stdio-common/psiginfo.c (psiginfo): Likewise.
35463 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
35464 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
35465 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
35466 Likewise.
35467 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
35468 Likewise.
35469
a748eb31
AZ
35470 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
35471 (__read_nocancel): New macro.
35472 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
35473 __read_nocancel.
35474 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
35475 macro.
35476 (__read_nocancel): New prototype.
35477 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
35478 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
35479 with __read_nocancel.
35480 * intl/loadmsgcat.c (read): Likewise.
35481 * libio/fileops.c (_IO_file_read): Likewise.
35482 * locale/loadlocale.c (_nl_load_locale): Likewise.
35483 * login/utmp_file.c (getutent_r_file): Likewise.
35484 (internal_getut_r): Likewise.
35485 (getutline_r_file): Likewise.
35486 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
35487 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
35488 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
35489 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35490 Likewise.
35491 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
35492 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
35493 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
35494 Likewise.
35495 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
35496 Likewise.
35497 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
35498 Likewise.
35499 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
35500 Likewise.
35501 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
35502
098b9dd4
L
355032017-08-18 H.J. Lu <hongjiu.lu@intel.com>
35504
35505 [BZ #21966]
35506 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
35507 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
35508 usable.
35509
a3fe6a20
DD
355102017-08-17 DJ Delorie <dj@redhat.com>
35511
35512 * bug17079.c: Update to new test harness.
35513 * test-digits-dots.c: Likewise.
35514 * test-netdb.c: Likewise.
35515 * tst-field.c: Likewise.
35516 * tst-nss-getpwent.c: Likewise.
35517 * tst-nss-static.c: Likewise.
35518 * tst-nss-test1.c: Likewise.
35519 * tst-nss-test2.c: Likewise.
35520 * tst-nss-test3.c: Likewise.
35521 * tst-nss-test4.c: Likewise.
35522 * tst-nss-test5.c: Likewise.
35523
c2284574
AZ
355242017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35525
35526 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
35527 (open_not_cancel_2): Likewise.
35528 (open_nocancel): New macro.
35529 (open64_nocancel): Likewise.
35530 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
35531 (open_not_cancel_2): Likewise.
35532 (__open_nocancel): New prototype.
35533 (__open64_nocancel): Likewise.
35534 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
35535 __open_nocancel.
35536 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
35537 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
35538 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
35539 with __open_nocancel.
35540 * csu/check_fds.c (check_one_fd): Likewise.
35541 * gmon/gmon.c (write_gmon): Likewise.
35542 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
35543 * intl/loadmsgcat.c (open): Likewise.
35544 * libio/fileops.c (_IO_file_open): Likewise.
35545 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
35546 * locale/loadlocale.c (_nl_load_locale): Likewise.
35547 * login/utmp_file.c (setutent_file): Likewise.
35548 * misc/daemon.c (daemon): Likewise.
35549 * nss/nss_db/db-open.c (internal_setent): Likewise.
35550 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
35551 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
35552 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
35553 (__opendir): Likewise.
35554 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
35555 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
35556 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
35557 (gethostid): Likewise.
35558 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
35559 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35560 Likewise.
35561 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
35562 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
35563 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
35564 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
35565 Likewise.
35566 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
35567 Likewise.
35568 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
35569 Likewise.
35570 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
35571 Likewise.
35572 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
35573 Likewise.
35574 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
35575 Likewise.
35576 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
35577 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
35578
d4505b89
WD
355792017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
35580
35581 * benchtests/bench-skeleton.c (main): Add support for
35582 latency benchmarking.
35583 * benchtests/scripts/bench.py: Add support for latency benchmarking.
35584
34d6a3cb
L
355852017-08-17 H.J. Lu <hongjiu.lu@intel.com>
35586
35587 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
35588 the startup object.
35589
038d1caf
FW
355902017-08-17 Florian Weimer <fweimer@redhat.com>
35591
35592 * include/sys/socket.h (__opensock): Remove internal_function.
35593 * socket/opensock.c (__opensock): Likewise.
35594 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
35595
67f0aff0
JM
355962017-08-16 Joseph Myers <joseph@codesourcery.com>
35597
35598 [BZ #21944]
35599 * signal/bits/types/__sigval_t.h: New file.
35600 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
35601 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
35602 and define sigval_t using __sigval_t.
35603 * include/bits/types/__sigval_t.h: New file.
35604 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
35605 instead of <bits/types/__sigval_t.h>.
35606 (struct sigevent): Use __sigval_t instead of sigval_t.
35607 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
35608 instead of <bits/types/__sigval_t.h>.
35609 (siginfo_t): Use __sigval_t instead of sigval_t.
35610 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
35611 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
35612 (struct sigevent): Use __sigval_t instead of sigval_t.
35613 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
35614 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
35615 (siginfo_t): Use __sigval_t instead of sigval_t.
35616 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
35617
87e7bf4d
L
356182017-08-16 H.J. Lu <hongjiu.lu@intel.com>
35619
35620 * NEWS: Remove "[Add new features here]" for 2.27.
35621
5047057f
JM
356222017-08-16 Joseph Myers <joseph@codesourcery.com>
35623
35624 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
35625 libc.so.
35626
20c7b195
L
356272017-08-16 H.J. Lu <hongjiu.lu@intel.com>
35628
35629 * NEWS: Mention x86-64 FMA optimization.
35630
24a2e658
L
356312017-08-16 H.J. Lu <hongjiu.lu@intel.com>
35632
35633 [BZ #21912]
35634 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35635 Add e_expf-fma.
35636 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
35637 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
35638 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
35639
eedca977
AS
356402017-08-16 Andreas Schwab <schwab@suse.de>
35641
403143e1
FW
35642 [BZ #16750]
35643 CVE-2009-5064
eedca977
AS
35644 * elf/ldd.bash.in: Never run file directly.
35645
f59f7adb
L
356462017-08-15 H.J. Lu <hongjiu.lu@intel.com>
35647
35648 [BZ #21955]
35649 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
35650 (L(SP_INF_0)): Likewise.
35651
6b11a6ad
FW
356522017-08-15 Florian Weimer <fweimer@redhat.com>
35653
35654 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
35655 run-built-tests.
35656
bbf5c438
FW
356572017-08-15 Florian Weimer <fweimer@redhat.com>
35658
35659 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
35660 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
35661 BROKEN_THREAD_SIGNALS code.
35662 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
35663 request_list): Remove caller_pid member used for
35664 BROKEN_THREAD_SIGNALS.
35665 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
35666 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
35667 Remove BROKEN_THREAD_SIGNALS support.
35668 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
35669 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
35670
6014c65d
FW
356712017-08-15 Florian Weimer <fweimer@redhat.com>
35672
35673 * gmon/Makefile (tests): Add tst-gmon.
35674 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
35675 Set.
35676 (tests-special): Add tst-gmon-prof.out.
35677 (tst-gmon.out): Depend on clean-tst-gmon-data.
35678 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
35679 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
35680 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
35681 startup object.
35682 * aclocal.m4 (GPROF): Set and substitute.
35683 * config.amke.in (GPROF): Set.
35684 * configure: Regenerate.
35685
ee72219a
GR
356862017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
35687
35688 * elf/elf.h A (NT_PPC_TAR): New macro.
35689 (NT_PPC_PPR): Likewise.
35690 (NT_PPC_DSCR): Likewise.
35691 (NT_PPC_EBB): Likewise.
35692 (NT_PPC_PMU): Likewise.
35693 (NT_PPC_TM_CGPR): Likewise.
35694 (NT_PPC_TM_CFPR): Likewise.
35695 (NT_PPC_TM_CVMX): Likewise.
35696 (NT_PPC_TM_CVSX): Likewise.
35697 (NT_PPC_TM_SPR): Likewise.
35698 (NT_PPC_TM_CTAR): Likewise.
35699 (NT_PPC_TM_CPPR): Likewise.
35700 (NT_PPC_TM_CDSCR): Likewise.
35701
4ebf934e
FW
357022017-08-15 Florian Weimer <fweimer@redhat.com>
35703
35704 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
35705 regparm (2) instead of internal_function.
35706 (_MCOUNT_DECL): Adjust.
35707
e9f57484
SL
357082017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
35709
35710 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
35711 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
35712
88ff4d55
JM
357132017-08-14 Joseph Myers <joseph@codesourcery.com>
35714
35715 * conform/data/sys/wait.h-data (si_value): Do not expect for
35716 XPG42.
35717
c88ffc23
FW
357182017-08-14 Florian Weimer <fweimer@redhat.com>
35719
35720 [BZ #21962]
35721 NSS: Create stubs for accidentally exported lookup functions.
35722 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
35723 Remove declaration.
35724 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
35725 (ether_hostton): Call __nss_ethers_lookup2 instead.
35726 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
35727 (ether_ntohost): Call __nss_ethers_lookup2 instead.
35728 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
35729 (setup): Call __nss_netgroup_lookup2 instead.
35730 * nss/Makefile (routines): Add compat-lookup.
35731 * nss/Versions (GLIBC_2.27): Add symbol version.
35732 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
35733 (DB_COMPAT_FCT): Remove.
35734 * nss/compat-lookup.c: New file.
35735 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
35736 from databases.def.
35737 * nss/service-lookup.c (NO_COMPAT): Remove definition.
35738 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
35739 (netname2user): Call __nss_publickey_lookup2 instead.
35740 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
35741 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
35742 instead.
35743
35a29136 357442017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1f14d0c3
AZ
35745 Sergei Trofimovich <slyfox@inbox.ru>
35746
35747 [BZ #21908]
35748 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
35749 Rename to MMAP2_PAGE_UNIT.
35750 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
35751 __OFF_T_MATCHES_OFF64_T is not defined.
35752 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
35753 uint64_t.
35754 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
35755 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
35756
fbdc1e3e
FW
357572017-08-14 Florian Weimer <fweimer@redhat.com>
35758
35759 i386: Do not set internal_function.
35760 * config.h.in (USE_REGPARMS, internal_function): Remove.
35761 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
35762 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
35763
b3f85fd2
FW
357642017-08-14 Florian Weimer <fweimer@redhat.com>
35765
35766 * elf/dl-init.c (_dl_init): Remove internal_function.
35767 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
35768 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
35769
630bf491
FW
357702017-08-14 Florian Weimer <fweimer@redhat.com>
35771
35772 * elf/rtld.c (_dl_start): Remove internal_function.
35773 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
35774 _dl_start.
35775
9fa7449b
FW
357762017-08-14 Florian Weimer <fweimer@redhat.com>
35777
35778 * elf/dl-fini.c (_dl_fini): Remove internal_function
35779 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
35780
73322d5f
L
357812017-08-14 H.J. Lu <hongjiu.lu@intel.com>
35782
d863cd71 35783 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
73322d5f
L
35784 (bit_cpu_SHSTK): Likewise.
35785 (index_cpu_IBT): Likewise.
35786 (index_cpu_SHSTK): Likewise.
35787 (reg_IBT): Likewise.
35788 (reg_SHSTK): Likewise.
35789 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
35790 Handle index_cpu_IBT and index_cpu_SHSTK.
35791
dbc303ef
MF
357922017-08-14 Mike FABIAN <mfabian@redhat.com>
35793
35794 [BZ #19982]
35795 * po/fr.po: Fix spelling mistake.
35796
3012cfb0
FW
357972017-08-13 Florian Weimer <fweimer@redhat.com>
35798
35799 * elf/dl-addr.c (_dl_addr): Remove internal_function.
35800 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
35801 (_dl_catch_error, _dl_receive_error): Likewise.
35802 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
35803 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
35804 (_dl_deallocate_tls): Likewise.
35805 * include/dlfcn.h (_dl_addr): Likewise.
35806 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
35807 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
35808 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
35809 Likewise.
35810
52bcdf26
FW
358112017-08-13 Florian Weimer <fweimer@redhat.com>
35812
35813 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
35814 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
35815 internal_function.
35816 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
35817
e1d2ae8d
FW
358182017-08-13 Florian Weimer <fweimer@redhat.com>
35819
35820 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
35821 internal_function.
35822 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
35823 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
35824 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
35825 internal_function from _dl_make_stack_executable_hook member.
35826 (_dl_make_stack_executable): Remove internal_function.
35827 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
35828 Likewise.
35829 * sysdeps/unix/sysv/linux/dl-execstack.c
35830 (_dl_make_stack_executable): Likewise.
35831
c4ce0382
FW
358322017-08-13 Florian Weimer <fweimer@redhat.com>
35833
35834 * sysdeps/unix/sysv/linux/netlinkaccess.h
35835 (__netlink_assert_response): Remove internal_function.
35836 * sysdeps/unix/sysv/linux/netlink_assert_response.c
35837 (__netlink_assert_response): Likewise.
35838
c4d767f7
FW
358392017-08-13 Florian Weimer <fweimer@redhat.com>
35840
35841 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
35842 internal_function.
35843 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
35844
b2297409
FW
358452017-08-13 Florian Weimer <fweimer@redhat.com>
35846
35847 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
35848 internal_function.
35849 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
35850 * inet/netgroup.h (__internal_setnetgrent)
35851 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
35852 * inet/getnetgrent_r.c (__internal_setnetgrent)
35853 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
35854 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
35855 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
35856 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
35857 * nss/nsswitch.h (db_lookup_function): Likewise.
35858
1b0bfc69
FW
358592017-08-13 Florian Weimer <fweimer@redhat.com>
35860
35861 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
35862 Remove internal_function.
35863 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
35864 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
35865 message argument on the stack.
35866 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
35867 Likeweise.
35868
a6bd8722
MF
358692017-08-12 Mike FABIAN <mfabian@redhat.com>
35870
35871 Adapt test case data to the changes in the thousands
35872 separators.
35873
35874 [BZ #20756]
35875 * localedata/tst-langinfo.sh: Adapt test case data.
35876 * stdlib/tst-strfmon_l.c: Likewise.
35877 * stdlib/tst-strtod4.c: Likewise.
35878 * stdlib/tst-strtod5i.c: Likewise.
35879
8b2c63e4
FW
358802017-08-11 Florian Weimer <fweimer@redhat.com>
35881
35882 [BZ #21242]
35883 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
35884 Suppress pedantic warning resulting from statement expression.
35885 (__ASSERT_FUNCTION): Add missing __extension__.
35886
61c98291
SP
358872017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
35888
86c6519e
SP
35889 * benchtests/bench-memmove-large.c: Print output in JSON
35890 format.
35891 * benchtests/bench-memmove.c: Likewise.
35892
61c98291
SP
35893 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
35894 * benchtests/bench-memchr.c (do_one_test): Likewise.
35895 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
35896 * benchtests/bench-memcpy.c (do_one_test): Likewise.
35897 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
35898 * benchtests/bench-memmove.c (do_one_test): Likewise.
35899 * benchtests/bench-memset-large.c (do_one_test): Likewise.
35900 * benchtests/bench-memset.c (do_one_test): Likewise.
35901 * benchtests/bench-string.h (test_init): Remove memsets.
35902
925733a9
RJ
359032017-08-10 Rical Jasan <ricaljasan@pacific.net>
35904
35905 * manual/lang.texi
35906 (Computing the Width of an Integer Data Type): Rename section to
35907 "Width of an Integer Type". Remove inaccurate statement regarding
35908 lack of C language facilities for determining width of integer
35909 types, and reorder content to improve flow and context of
35910 discussion.
35911
4fcdfbfc
RJ
359122017-08-10 Rical Jasan <ricaljasan@pacific.net>
35913
35914 * lang.texi (va_copy): Change standard from ISO to C99.
35915 (__va_copy): Add standard and header annotation.
35916 Update description for clarity of origins and current use.
35917
4d98ace9
GG
359182017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35919
35920 [BZ #21941]
35921 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
35922 xssqrtqp requires operands to be in Vector Registers
35923 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
35924 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
35925 (__ieee754_sqrtf128): Likewise.
35926
92236903
WD
359272017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
35928
35929 * sysdeps/aarch64/memcmp.S (memcmp):
35930 Rewrite of optimized memcmp.
35931
2449ae7b
FW
359322017-08-10 Florian Weimer <fweimer@redhat.com>
35933
35934 Introduce ld.so exceptions.
35935 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
35936 (_dl_exception_create, _dl_exception_create_format)
35937 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
35938 (_dl_catch_exception): Declare.
35939 (_dl_catch_error): Update comment.
35940 * elf/dl-error-skeleton.c (struct catch): Replace objname,
35941 errstring, malloced members with exception member.
35942 (_dl_out_of_memory): Remove.
35943 (fatal_error): New function, extracted from _dl_signal_error.
35944 (_dl_signal_exception, _dl_signal_cexception): New functions.
35945 (_dl_signal_error): Call _dl_exception_create to allocate an
35946 exception object.
35947 (_dl_catch_exception): New function, based on _dl_catch_error.
35948 (_dl_catch_error): Implement using _dl_catch_exception.
35949 * elf/dl-exception.c: New file.
35950 * elf/Makefile (dl-routines): Add dl-exception.
35951 (elide-routines.os): Likewise.
35952 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
35953 _dl_exception_create_format, _dl_exception_free.
35954 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
35955 _dl_signal_exception.
35956 * elf/dl-lookup.c (make_string): Remove.
35957 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
35958 _dl_signal_cexception, _dl_exception_free.
35959 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
35960 _dl_signal_exception.
35961 * elf/dl-sym.c (do_sym): Likewise.
35962 * elf/dl-version.c (make_string): Remove.
35963 (match_symbol): Use _dl_exception_create_format,
35964 _dl_signal_cexception, _dl_exception_free.
35965 (_dl_check_map_versions): Likewise.
35966 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
35967 _dl_catch_exception.
35968 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
35969 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
35970 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
35971 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
35972 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
35973 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
35974 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
35975 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
35976 Likewise.
35977 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
35978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
35979 (ld.so): Likewise.
35980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
35981 (ld.so): Likewise.
35982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
35983 Likewise.
35984 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
35985 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
35986 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
35987 Likewise.
35988 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
35989 Likewise.
35990 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
35991
f87cc2bf
FW
359922017-08-10 Florian Weimer <fweimer@redhat.com>
35993
35994 * inet/net-internal.h (__inet6_scopeid_pton): Remove
35995 attribute_hidden, internal_function.
35996 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
35997 internal_function.
35998
eac43cbb
FW
359992017-08-10 Florian Weimer <fweimer@redhat.com>
36000
36001 * malloc/malloc.c (get_max_fast): Reimplement as an inline
36002 function which calls __builtin_unreachable.
36003
bd80111e
MF
360042017-08-10 Mike FABIAN <mfabian@redhat.com>
36005
36006 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
36007 Indian monetary formatting
36008 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
36009 test cases.
36010
60e2846e
DL
360112017-08-09 Dmitry V. Levin <ldv@altlinux.org>
36012
68dc02d1
DL
36013 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
36014 Fix typo in comment.
36015
60e2846e
DL
36016 [BZ #21928]
36017 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
36018 PTRACE_SEIZE_DEVEL): Remove.
36019 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
36020 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
36021 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36022 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36023 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36024
3d452dab
JM
360252017-08-09 Joseph Myers <joseph@codesourcery.com>
36026
24d9f53a
JM
36027 * posix/bits/types.h (__qaddr_t): Remove.
36028
3d452dab
JM
36029 [BZ #21457]
36030 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
36031 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36032 __glibc_reserved1.
36033 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
36034 (ucontext_t): Use __ctx with uc_flags.
36035 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
36036 (__ctxt): Likewise.
36037 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36038 __glibc_reserved1.
36039 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
36040 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36041 __glibc_reserved1.
36042 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
36043 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36044 __glibc_reserved1.
36045 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
36046 macro.
36047 (ucontext_t): Use __ctx with uc_flags.
36048 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
36049 (ucontext_t): Use __ctx with uc_flags.
36050 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
36051 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
36052 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
36053 (ucontext_t): Use __ctx with uc_flags.
36054 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
36055 undefine further down.
36056 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36057 __glibc_reserved1.
36058 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
36059 undefine further down.
36060 (ucontext_t): Use __ctx with uc_flags.
36061 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
36062 undefine further down.
36063 (ucontext_t): Use __ctx with uc_flags.
36064 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
36065 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
36066 Rename uc_pad to __glibc_reserved1.
36067 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
36068 undefine further down.
36069 (ucontext_t): Use __ctx with uc_flags.
36070 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
36071 further down.
36072 (ucontext_t): Use __ctx with uc_flags.
36073 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
36074 __ctx with uc_flags.
36075 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
36076 (ucontext_t): Use __ctx with uc_flags.
36077 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
36078 __ctx with uc_flags.
36079
30161498
FW
360802017-08-09 Florian Weimer <fweimer@redhat.com>
36081
36082 [BZ #21932]
36083 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
36084 before early return.
36085
5797b410
AS
360862017-08-09 Andreas Schwab <schwab@suse.de>
36087
139237a4 36088 [BZ #21041]
5797b410
AS
36089 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
36090 renamed alias.
36091
139237a4 36092 [BZ #21041]
40c06a3d
AS
36093 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
36094 tst-compat-forwarder.
36095 (modules-names): Add tst-compat-forwarder-mod.
36096 ($(objpfx)tst-compat-forwarder): Depend on
36097 $(objpfx)tst-compat-forwarder-mod.so.
36098 * nptl/tst-compat-forwarder.c: New file.
36099 * nptl/tst-compat-forwarder-mod.c: New file.
36100
36ada5f6
SP
361012017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
36102
0e02b510
SP
36103 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
36104 comments.
36105
36ada5f6
SP
36106 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
36107 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
36108 memcpy_falkor.
36109 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
36110 Bump.
36111 (__libc_ifunc_impl_list): Add __memcpy_falkor.
36112 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
36113 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
36114 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
36115 Add falkor.
36116 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
36117 New macro.
36118
9995c839
AZ
361192017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36120
36121 [BZ #759]
36122 * manual/setjmp.texi (getcontex): Document uc_stack value
36123 compatibility differences.
36124
f17a4233
JM
361252017-08-08 Joseph Myers <joseph@codesourcery.com>
36126
36127 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
36128 (old_malloc_hook): Likewise.
36129 (old_memalign_hook): Likewise.
36130 (old_realloc_hook): Likewise.
36131 (struct hdr): Likewise.
36132 (flood): Likewise.
36133 (freehook): Likewise.
36134 (mallochook): Likewise.
36135 (memalignhook): Likewise.
36136 (reallochook): Likewise.
36137 (mprobe): Likewise.
36138 * malloc/mtrace.c (mallwatch): Likewise.
36139 (tr_old_free_hook): Likewise.
36140 (tr_old_malloc_hook): Likewise.
36141 (tr_old_realloc_hook): Likewise.
36142 (tr_old_memalign_hook): Likewise.
36143 (tr_where): Likewise.
36144 (lock_and_info): Likewise.
36145 (tr_freehook): Likewise.
36146 (tr_mallochook): Likewise.
36147 (tr_reallochook): Likewise.
36148 (tr_memalignhook): Likewise.
36149 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
36150 * misc/mmap.c (__mmap): Likewise.
36151 * misc/mmap64.c (__mmap64): Likewise.
36152 * misc/mprotect.c (__mprotect): Likewise.
36153 * misc/msync.c (msync): Likewise.
36154 * misc/munmap.c (__munmap): Likewise.
36155 * posix/posix_madvise.c (posix_madvise): Likewise.
36156 * socket/send.c (__send): Likewise.
36157 * socket/sendto.c (__sendto): Likewise.
36158 * socket/setsockopt.c (__setsockopt): Likewise.
36159 * string/memcmp.c (__ptr_t): Remove macro.
36160 (MEMCMP): Use void * instead of ptr_t.
36161 * string/memrchr.c (__ptr_t): Remove macro.
36162 (__memrchr): Use void * instead of ptr_t.
36163 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
36164 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
36165 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
36166 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
36167 * sysdeps/mach/msync.c (msync): Likewise.
36168 * sysdeps/mach/munmap.c (__munmap): Likewise.
36169 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
36170 Likewise.
36171 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36172 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
36173 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
36174 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
36175 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
36176 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
36177 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
36178 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
36179 Likewise.
36180 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
36181 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
36182 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
36183 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
36184 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
36185 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
36186 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
36187 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
36188 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
36189 Likewise.
36190 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
36191 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
36192 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
36193 (MEMCMP): Use void * instead of ptr_t.
36194 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
36195 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
36196
0df595b2
FW
361972017-08-08 Florian Weimer <fweimer@redhat.com>
36198
36199 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
36200 return statement.
36201
086df229
L
362022017-08-08 H.J. Lu <hongjiu.lu@intel.com>
36203
36204 [BZ #21913]
36205 * csu/libc-tls.c: Include <startup.h> first.
36206 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
36207 * elf/dl-tunables.c: Include <startup.h> first.
36208 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
36209 * sysdeps/generic/startup.h: New file.
36210 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
36211 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
36212 (I386_USE_SYSENTER): New. Defined to 0.
36213
fc5ad702
AS
362142017-08-08 Andreas Schwab <schwab@suse.de>
36215
36216 [BZ #21041]
36217 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
36218 * nptl/pt-system.c (system): Likewise.
36219
852d6312
AZ
362202017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36221
36222 [BZ #21780]
36223 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
36224 EOPNOTSUPP.
36225 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
36226 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
36227 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
36228 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
36229 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
36230 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
36231 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
36232
8b164787
JM
362332017-08-07 Joseph Myers <joseph@codesourcery.com>
36234
cd65836b
JM
36235 [BZ #21899]
36236 * bits/sigaction.h (struct sigaction): Define sa_handler and
36237 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
36238 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36239 [__USE_XOPEN_EXTENDED].
36240 (SA_RESTART): Likewise.
36241 (SA_NODEFER): Likewise.
36242 (SA_RESETHAND): Likewise.
36243 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
36244 (struct sigaction): Define sa_handler and sa_sigaction using union
36245 also for [__USE_XOPEN_EXTENDED].
36246 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36247 [__USE_XOPEN_EXTENDED].
36248 (SA_RESTART): Likewise.
36249 (SA_NODEFER): Likewise.
36250 (SA_RESETHAND): Likewise.
36251 * sysdeps/unix/sysv/linux/bits/sigaction.h
36252 (struct sigaction): Define sa_handler and sa_sigaction using union
36253 also for [__USE_XOPEN_EXTENDED].
36254 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36255 [__USE_XOPEN_EXTENDED].
36256 (SA_RESTART): Likewise.
36257 (SA_NODEFER): Likewise.
36258 (SA_RESETHAND): Likewise.
36259 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
36260 (struct sigaction): Define sa_handler and sa_sigaction using union
36261 also for [__USE_XOPEN_EXTENDED].
36262 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36263 [__USE_XOPEN_EXTENDED].
36264 (SA_RESTART): Likewise.
36265 (SA_NODEFER): Likewise.
36266 (SA_RESETHAND): Likewise.
36267 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
36268 (struct sigaction): Define sa_handler and sa_sigaction using union
36269 also for [__USE_XOPEN_EXTENDED].
36270 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36271 [__USE_XOPEN_EXTENDED].
36272 (SA_RESTART): Likewise.
36273 (SA_NODEFER): Likewise.
36274 (SA_RESETHAND): Likewise.
36275 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
36276 (struct sigaction): Define sa_handler and sa_sigaction using union
36277 also for [__USE_XOPEN_EXTENDED].
36278 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36279 [__USE_XOPEN_EXTENDED].
36280 (SA_RESTART): Likewise.
36281 (SA_NODEFER): Likewise.
36282 (SA_RESETHAND): Likewise.
36283 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
36284 (struct sigaction): Define sa_handler and sa_sigaction using union
36285 also for [__USE_XOPEN_EXTENDED].
36286 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36287 [__USE_XOPEN_EXTENDED].
36288 (SA_RESTART): Likewise.
36289 (SA_NODEFER): Likewise.
36290 (SA_RESETHAND): Likewise.
36291 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
36292 (struct sigaction): Define sa_handler and sa_sigaction using union
36293 also for [__USE_XOPEN_EXTENDED].
36294 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36295 [__USE_XOPEN_EXTENDED].
36296 (SA_RESTART): Likewise.
36297 (SA_NODEFER): Likewise. Define directly rather than as alias.
36298 (SA_RESETHAND): Likewise.
36299 (SA_INTERRUPT): Define only for [__USE_MISC].
36300 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
36301 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
36302 [__USE_MISC].
36303 (SA_STACK): Define only for [__USE_MISC].
36304 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
36305 (struct sigaction): Define sa_handler and sa_sigaction using union
36306 also for [__USE_XOPEN_EXTENDED].
36307 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36308 [__USE_XOPEN_EXTENDED].
36309 (SA_RESTART): Likewise.
36310 (SA_NODEFER): Likewise.
36311 (SA_RESETHAND): Likewise.
36312 (SA_NOPTRACE): Define only for [__USE_MISC].
36313
d9fee042
JM
36314 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
36315 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
36316 (struct catalog_info): Likewise.
36317 * inet/htontest.c (lo): Likewise.
36318 (foo): Likewise.
36319 * inet/inet_lnaof.c (inet_lnaof): Likewise.
36320 * inet/inet_net.c (inet_network): Likewise.
36321 * inet/inet_netof.c (inet_netof): Likewise.
36322 * inet/rcmd.c (__ivaliduser): Likewise.
36323 (iruserok): Likewise.
36324 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
36325 * locale/programs/locale-spec.c (locale_special): Likewise.
36326 * nis/nis_findserv.c (struct findserv_req): Likewise.
36327 (__nis_findfastest_with_timeout): Likewise.
36328 * nss/test-netdb.c (test_network): Likewise.
36329 * resolv/inet_neta.c (inet_neta): Likewise.
36330 * resolv/ns_date.c (ns_datetosecs): Likewise.
36331 (SECS_PER_DAY): Likewise.
36332 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
36333 Likewise.
36334 * resolv/res_comp.c (__putlong): Likewise.
36335 (__putshort): Likewise.
36336 (_getlong): Likewise.
36337 (_getshort): Likewise.
36338 * resolv/res_debug.c (p_time): Likewise.
36339 (precsize_ntoa): Likewise.
36340 (precsize_aton): Likewise.
36341 (latlon2ul): Likewise.
36342 (loc_aton): Likewise.
36343 (loc_ntoa): Likewise.
36344 * resolv/res_hconf.c (struct netaddr): Likewise.
36345 (_res_hconf_reorder_addrs): Likewise.
36346 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
36347 (clnttcp_control): Likewise.
36348 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36349 (clntudp_control): Likewise.
36350 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
36351 (clntunix_control): Likewise.
36352 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
36353 * sunrpc/rpc/auth.h (union des_block): Likewise.
36354 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
36355 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
36356 (xdrrec_create): Likewise.
36357 (xdrrec_endofrecord): Likewise.
36358 (flush_out): Likewise.
36359 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
36360 (xdrstdio_putlong): Likewise.
36361 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
36362 Likewise.
36363
8b164787
JM
36364 * misc/sys/cdefs.h (__long_double_t): Remove.
36365 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
36366 instead of __long_double_t,
36367 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
36368
7ee38e60
SP
363692017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
36370
dd3e86ad
SP
36371 * benchtests/scripts/compare_strings.py: Avoid display error when
36372 running on a text terminal.
36373
b115e819
SP
36374 * benchtests/scripts/compare_strings.py (main): Add an
36375 optional -base option.
36376 (process_results): New argument base_func.
36377
7ee38e60
SP
36378 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
36379 hardcoding memcpy.
36380 * benchtests/bench-memcpy-large.c (test_name): Likewise.
36381 * benchtests/bench-memcpy-random.c (test_name): Likewise.
36382
d5afb385
AS
363832017-08-07 Andreas Schwab <schwab@suse.de>
36384
36385 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
36386 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
36387 * intl/Makefile ($(objpfx)tst-gettext.out)
36388 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
36389 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
36390 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
36391 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
36392 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
36393 * posix/Makefile ($(objpfx)globtest.out)
36394 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
36395 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
36396 ($(objpfx)tst-printf.out): Likewise.
36397 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
36398 ($(objpfx)tst-setcontext3.out): Likewise.
36399
57a72fa3
L
364002017-08-07 H.J. Lu <hongjiu.lu@intel.com>
36401
36402 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36403 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
36404 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
36405 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
36406 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
36407 and mptan-fma.
36408 (CFLAGS-doasin-fma.c): New.
36409 (CFLAGS-dosincos-fma.c): Likewise.
36410 (CFLAGS-e_asin-fma.c): Likewise.
36411 (CFLAGS-e_atan2-fma.c): Likewise.
36412 (CFLAGS-e_exp-fma.c): Likewise.
36413 (CFLAGS-e_log-fma.c): Likewise.
36414 (CFLAGS-e_pow-fma.c): Likewise.
36415 (CFLAGS-halfulp-fma.c): Likewise.
36416 (CFLAGS-mpa-fma.c): Likewise.
36417 (CFLAGS-mpatan-fma.c): Likewise.
36418 (CFLAGS-mpatan2-fma.c): Likewise.
36419 (CFLAGS-mpexp-fma.c): Likewise.
36420 (CFLAGS-mplog-fma.c): Likewise.
36421 (CFLAGS-mpsqrt-fma.c): Likewise.
36422 (CFLAGS-mptan-fma.c): Likewise.
36423 (CFLAGS-s_atan-fma.c): Likewise.
36424 (CFLAGS-sincos32-fma.c): Likewise.
36425 (CFLAGS-slowexp-fma.c): Likewise.
36426 (CFLAGS-slowpow-fma.c): Likewise.
36427 (CFLAGS-s_sin-fma.c): Likewise.
36428 (CFLAGS-s_tan-fma.c): Likewise.
36429 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
36430 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
36431 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
36432 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
36433 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
36434 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
36435 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
36436 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
36437 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
36438 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
36439 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
36440 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
36441 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
36442 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
36443 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
36444 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
36445 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
36446 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
36447 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
36448 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
36449 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
36450 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
36451 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
36452 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
36453 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
36454 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36455 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36456 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
36457 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36458 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36459 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36460
219dd320
JM
364612017-08-04 Joseph Myers <joseph@codesourcery.com>
36462
36463 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
36464 (min_of_type_f): New macro.
36465 (min_of_type_): Likewise.
36466 (min_of_type_l): Likewise.
36467 (min_of_type_f128): Likewise.
36468 (min_of_type): Define using __MATH_TG and taking an expression
36469 argument.
36470 (math_check_force_underflow): Pass expression instead of type to
36471 min_of_type.
36472 (math_check_force_underflow_nonneg): Likewise.
36473
64d4dea6
L
364742017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36475
36476 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
36477 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
36478 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
36479
973da22a
L
364802017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36481
36482 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36483 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
36484 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
36485 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
36486 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
36487 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
36488 memcpy_chk-nonshared, mempcpy_chk-nonshared,
36489 memmove_chk-nonshared and memset_chk-nonshared
36490 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
36491 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
36492 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
36493 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
36494 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
36495 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
36496 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
36497 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
36498 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
36499 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
36500 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
36501 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
36502 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
36503 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
36504 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
36505 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
36506 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
36507 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
36508 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
36509 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
36510 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
36511 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
36512 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
36513 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
36514 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
36515 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
36516 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
36517 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
36518 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
36519 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
36520 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
36521 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
36522 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
36523 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
36524 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
36525 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
36526 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
36527 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
36528 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
36529 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
36530 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
36531 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
36532 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
36533 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
36534 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
36535 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
36536 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
36537 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
36538 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
36539 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
36540 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
36541 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
36542 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
36543 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
36544 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
36545 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
36546 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
36547 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
36548 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
36549 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
36550 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
36551 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
36552 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
36553 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
36554 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
36555 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
36556 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
36557 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
36558 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
36559 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
36560 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
36561 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36562 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36563 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36564 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36565 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36566 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36567 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36568 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36569 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36570 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36571 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36572 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36573 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36574 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
36575 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
36576 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36577 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
36578 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36579 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36580 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36581 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36582 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36583 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36584 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
36585 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
36586 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
36587 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
36588 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36589 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
36590 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36591 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36592 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36593 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36594 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36595 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36596 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36597 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36598
8537e0f6
L
365992017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36600
36601 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
36602 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
36603 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
36604 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
36605 svml_d_log2_core-sse2, svml_d_log4_core-sse,
36606 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
36607 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
36608 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
36609 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
36610 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
36611 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
36612 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
36613 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
36614 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
36615 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
36616 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
36617 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
36618 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
36619 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
36620 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
36621 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
36622 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
36623 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
36624 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
36625 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
36626 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
36627 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
36628 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
36629 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
36630 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
36631 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
36632 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
36633 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
36634 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
36635 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
36636 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
36637 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
36638 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
36639 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
36640 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
36641 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
36642 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
36643 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
36644 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
36645 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
36646 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
36647 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
36648 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
36649 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
36650 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
36651 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
36652 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
36653 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
36654 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
36655 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
36656 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
36657 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
36658 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
36659 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
36660 ...
36661 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
36662 Don't include <sysdep.h> nor <init-arch.h>.
36663 (_ZGVbN2v_cos): Removed.
36664 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
36665 ...
36666 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
36667 Don't include <sysdep.h> nor <init-arch.h>.
36668 (_ZGVdN4v_cos): Removed.
36669 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
36670 ...
36671 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
36672 Don't include <sysdep.h> nor <init-arch.h>.
36673 (_ZGVeN8v_cos): Removed.
36674 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
36675 ...
36676 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
36677 Don't include <sysdep.h> nor <init-arch.h>.
36678 (_ZGVbN2v_exp): Removed.
36679 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
36680 ...
36681 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
36682 Don't include <sysdep.h> nor <init-arch.h>.
36683 (_ZGVdN4v_exp): Removed.
36684 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
36685 ...
36686 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
36687 Don't include <sysdep.h> nor <init-arch.h>.
36688 (_ZGVeN8v_exp): Removed.
36689 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
36690 ...
36691 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
36692 Don't include <sysdep.h> nor <init-arch.h>.
36693 (_ZGVbN2v_log): Removed.
36694 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
36695 ...
36696 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
36697 Don't include <sysdep.h> nor <init-arch.h>.
36698 (_ZGVdN4v_log): Removed.
36699 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
36700 ...
36701 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
36702 Don't include <sysdep.h> nor <init-arch.h>.
36703 (_ZGVeN8v_log): Removed.
36704 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
36705 ...
36706 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
36707 Don't include <sysdep.h> nor <init-arch.h>.
36708 (_ZGVbN2vv_pow): Removed.
36709 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
36710 ...
36711 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
36712 Don't include <sysdep.h> nor <init-arch.h>.
36713 (_ZGVdN4vv_pow): Removed.
36714 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
36715 ...
36716 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
36717 Don't include <sysdep.h> nor <init-arch.h>.
36718 (_ZGVeN8vv_pow): Removed.
36719 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
36720 ...
36721 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
36722 Don't include <sysdep.h> nor <init-arch.h>.
36723 (_ZGVbN2v_sin): Removed.
36724 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
36725 ...
36726 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
36727 Don't include <sysdep.h> nor <init-arch.h>.
36728 (_ZGVbN4v_sin): Removed.
36729 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
36730 ...
36731 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
36732 Don't include <sysdep.h> nor <init-arch.h>.
36733 (_ZGVbN8v_sin): Removed.
36734 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
36735 ...
36736 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
36737 Don't include <sysdep.h> nor <init-arch.h>.
36738 (_ZGVbN2vvv_sincos): Removed.
36739 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
36740 ...
36741 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
36742 Don't include <sysdep.h> nor <init-arch.h>.
36743 (_ZGVdN4vvv_sincos): Removed.
36744 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
36745 ...
36746 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
36747 Don't include <sysdep.h> nor <init-arch.h>.
36748 (_ZGVeN8vvv_sincos): Removed.
36749 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
36750 ...
36751 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
36752 Don't include <sysdep.h> nor <init-arch.h>.
36753 (_ZGVeN16v_cosf): Removed.
36754 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
36755 ...
36756 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
36757 Don't include <sysdep.h> nor <init-arch.h>.
36758 (_ZGVbN4v_cosf): Removed.
36759 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
36760 ...
36761 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
36762 Don't include <sysdep.h> nor <init-arch.h>.
36763 (_ZGVdN8v_cosf): Removed.
36764 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
36765 ...
36766 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
36767 Don't include <sysdep.h> nor <init-arch.h>.
36768 (_ZGVeN16v_expf): Removed.
36769 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
36770 ...
36771 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
36772 Don't include <sysdep.h> nor <init-arch.h>.
36773 (_ZGVbN4v_expf): Removed.
36774 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
36775 ...
36776 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
36777 Don't include <sysdep.h> nor <init-arch.h>.
36778 (_ZGVdN8v_expf): Removed.
36779 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
36780 ...
36781 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
36782 Don't include <sysdep.h> nor <init-arch.h>.
36783 (_ZGVeN16v_logf): Removed.
36784 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
36785 ...
36786 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
36787 Don't include <sysdep.h> nor <init-arch.h>.
36788 (_ZGVbN4v_logf): Removed.
36789 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
36790 ...
36791 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
36792 Don't include <sysdep.h> nor <init-arch.h>.
36793 (_ZGVdN8v_logf): Removed.
36794 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
36795 ...
36796 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
36797 Don't include <sysdep.h> nor <init-arch.h>.
36798 (_ZGVeN16vv_powf): Removed.
36799 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
36800 ...
36801 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
36802 Don't include <sysdep.h> nor <init-arch.h>.
36803 (_ZGVbN4vv_powf): Removed.
36804 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
36805 ...
36806 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
36807 Don't include <sysdep.h> nor <init-arch.h>.
36808 (_ZGVdN8vv_powf): Removed.
36809 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
36810 ...
36811 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
36812 Don't include <sysdep.h> nor <init-arch.h>.
36813 (_ZGVeN16vvv_sincosf): Removed.
36814 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
36815 ...
36816 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
36817 Don't include <sysdep.h> nor <init-arch.h>.
36818 (_ZGVbN4vvv_sincosf): Removed.
36819 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
36820 ...
36821 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
36822 Don't include <sysdep.h> nor <init-arch.h>.
36823 (_ZGVdN8vvv_sincosf): Removed.
36824 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
36825 ...
36826 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
36827 Don't include <sysdep.h> nor <init-arch.h>.
36828 (_ZGVeN16v_sinf): Removed.
36829 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
36830 ...
36831 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
36832 Don't include <sysdep.h> nor <init-arch.h>.
36833 (_ZGVbN4v_sinf): Removed.
36834 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
36835 ...
36836 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
36837 Don't include <sysdep.h> nor <init-arch.h>.
36838 (_ZGVdN8v_sinf): Removed.
36839
10a87ca4
L
368402017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36841
36842 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36843 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
36844 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
36845 s_rint-sse4_1 and s_rintf-sse4_1.
36846 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
36847 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
36848 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
36849 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
36850 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
36851 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
36852 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
36853 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
36854 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
36855 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
36856 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
36857 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36858 (__ceil): Removed.
36859 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
36860 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
36861 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36862 (__ceilf): Removed.
36863 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
36864 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
36865 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36866 (__floor): Removed.
36867 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
36868 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
36869 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36870 (__floorf): Removed.
36871 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
36872 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
36873 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36874 (__nearbyint): Removed.
36875 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
36876 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
36877 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36878 (__nearbyintf): Removed.
36879 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
36880 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
36881 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36882 (__rint): Removed.
36883 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
36884 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
36885 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36886 (__rintf): Removed.
36887
1e8e527d
L
368882017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36889
36890 * sysdeps/i386/start.S (_start): Check Check PIC instead of
36891 SHARED. Avoid dynamic relocation against main in static PIE.
36892
e13daad7
L
368932017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36894
36895 [BZ #21815]
36896 * elf/Makefile (CFLAGS-tst-prelink.c): New.
36897 (LDFLAGS-tst-prelink): Likewise.
36898
627c69c8
L
368992017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36900
36901 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
36902 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
36903 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
36904 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
36905 (INTERNAL_SYSCALL_NCS): Likewise.
36906 (LOADARGS_1): Likewise.
36907 (LOADARGS_5): Likewise.
36908 (RESTOREARGS_1): Likewise.
36909 (RESTOREARGS_5): Likewise.
36910
fc11ff8d
L
369112017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36912
36913 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
36914 (MEMPCPY_SYMBOL): Likewise.
36915 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
36916 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
36917 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
36918 in libc.a.
36919 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36920 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
36921 Likewise.
36922 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
36923 (__hidden_ver1): Don't use in libc.a.
36924 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
36925 (__mempcpy): Don't create a weak alias in libc.a.
36926 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
36927 libc.a.
36928 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
36929 (__hidden_ver1): Don't use in libc.a.
36930
19f1a11e
L
369312017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36932
36933 * config.make.in (have-insert): New.
36934 * configure.ac (libc_cv_insert): New. Set to yes if linker
36935 supports INSERT in linker script.
36936 (AC_SUBST(libc_cv_insert): New.
36937 * configure: Regenerated.
36938 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
36939 if $(have-insert) == yes.
36940
3093fd5e
L
369412017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36942
36943 * elf/Makefile (tests): Add vismain only if
36944 $(have-protected-data) == yes.
36945 (tests-pie): Likewise.
36946
d2cf37c0
L
369472017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36948
36949 [BZ #21871]
36950 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
36951 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
36952
c8a0e6ec
L
369532017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36954
36955 [BZ #21790]
36956 * sysdeps/i386/i586/memset.S
36957 (__memset_zero_constant_len_parameter): Removed.
36958 * sysdeps/i386/i686/memset.S
36959 (__memset_zero_constant_len_parameter): Likewise.
36960 * sysdeps/i386/i686/multiarch/memset_chk.S
36961 (__memset_zero_constant_len_parameter): Likewise.
36962 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
36963 Likewise.
36964
2b34e271
AJ
369652017-08-03 Aurelien Jarno <aurelien@aurel32.net>
36966
36967 * stdlib/getentropy.c (getentropy): Change return type to int.
36968
144bdab0
AJ
369692017-08-03 Aurelien Jarno <aurelien@aurel32.net>
36970
36971 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
36972
24ab7723
JM
369732017-08-03 Joseph Myers <joseph@codesourcery.com>
36974
36975 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
36976 u_intN_t.
36977 * math/s_nexttowardf.c (__nexttowardf): Likewise.
36978 * sysdeps/generic/math_private.h (ieee_double_shape_type):
36979 Likewise.
36980 (ieee_float_shape_type): Likewise.
36981 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
36982 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
36983 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
36984 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36985 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
36986 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
36987 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
36988 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
36989 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
36990 Likewise.
36991 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
36992 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
36993 (__ieee754_yn): Likewise.
36994 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
36995 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
36996 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
36997 Likewise.
36998 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
36999 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
37000 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
37001 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
37002 (__erfc): Likewise.
37003 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
37004 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
37005 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
37006 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
37007 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
37008 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
37009 Likewise.
37010 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
37011 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
37012 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
37013 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
37014 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
37015 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
37016 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
37017 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
37018 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
37019 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
37020 (__issignaling): Likewise.
37021 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
37022 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
37023 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
37024 Likewise.
37025 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
37026 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
37027 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
37028 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
37029 Likewise.
37030 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
37031 Likewise.
37032 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
37033 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
37034 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
37035 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
37036 (__erfcf): Likewise.
37037 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
37038 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
37039 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
37040 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
37041 Likewise.
37042 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
37043 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
37044 Likewise.
37045 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
37046 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
37047 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
37048 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
37049 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
37050 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
37051 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
37052 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
37053 Likewise.
37054 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
37055 Likewise.
37056 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
37057 Likewise.
37058 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
37059 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
37060 Likewise.
37061 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
37062 Likewise.
37063 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
37064 (__ieee754_ynl): Likewise.
37065 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
37066 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
37067 Likewise.
37068 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
37069 Likewise.
37070 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
37071 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
37072 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37073 Likewise.
37074 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
37075 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
37076 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
37077 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
37078 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
37079 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
37080 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
37081 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
37082 Likewise.
37083 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
37084 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
37085 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
37086 Likewise.
37087 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
37088 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
37089 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
37090 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
37091 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
37092 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
37093 Likewise.
37094 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
37095 Likewise.
37096 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37097 Likewise.
37098 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37099 Likewise.
37100 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
37101 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
37102 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37103 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
37104 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
37105 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
37106 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
37107 Likewise.
37108 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
37109 Likewise.
37110 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
37111 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
37112 Likewise.
37113 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
37114 (__ieee754_remainderl): Likewise.
37115 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37116 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37117 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
37118 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
37119 Likewise.
37120 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
37121 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37122 Likewise.
37123 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
37124 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
37125 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
37126 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
37127 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
37128 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
37129 Likewise.
37130 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
37131 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
37132 (__ieee754_y0l): Likewise.
37133 (pzero): Likewise.
37134 (qzero): Likewise.
37135 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37136 (__ieee754_y1l): Likewise.
37137 (pone): Likewise.
37138 (qone): Likewise.
37139 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
37140 (__ieee754_ynl): Likewise.
37141 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
37142 (__ieee754_lgammal_r): Likewise.
37143 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
37144 Likewise.
37145 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
37146 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
37147 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
37148 (__erfcl): Likewise.
37149 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
37150 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
37151 Likewise.
37152 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
37153 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
37154 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
37155 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
37156 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
37157 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37158 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37159 Likewise.
37160 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
37161 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
37162 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
37163 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
37164 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37165 Likewise.
37166 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
37167 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
37168 Likewise.
37169 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
37170 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
37171 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
37172 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
37173 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
37174
964263bb
FW
371752017-08-03 Florian Weimer <fweimer@redhat.com>
37176
37177 [BZ #21885]
37178 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
37179 on memory allocation failure.
37180
e98c925f
AM
371812017-08-03 Alan Modra <amodra@gmail.com>
37182
37183 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
37184 tst-tlsopt-powerpc.c with function name change and no test harness.
37185 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
37186 Call tls_get_addr_opt_test.
37187 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
37188 (modules-names): Add mod-tlsopt-powerpc.
37189 (mod-tlsopt-powerpc.so-no-z-defs): Define.
37190 (tst-tlsopt-powerpc): Depend on .so.
37191 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
37192 define. Expand use in TLS_GD and TLS_LD.
37193
8ee1abdb
ST
371942017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37195
37196 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
37197 function.
3da5756e 37198 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8ee1abdb 37199
42df8d59
JM
372002017-08-02 Joseph Myers <joseph@codesourcery.com>
37201
37202 [BZ #21686]
37203 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
37204 comparing size with that of double.
37205 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
37206 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
37207 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
37208 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
37209 (__TGMATH_BINARY_REAL_IMAG): Likewise.
37210 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
37211 unsigned __int128 types.
37212
b7f95f49
SE
372132017-08-02 Steve Ellcey <sellcey@cavium.com>
37214
37215 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
37216 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
37217 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
37218 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
37219 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
37220
5b736bc9
L
372212017-08-02 H.J. Lu <hongjiu.lu@intel.com>
37222
37223 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
37224
dfc93c41
L
372252017-08-02 H.J. Lu <hongjiu.lu@intel.com>
37226
37227 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
37228 of SHARED.
37229 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
37230 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37231 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37232 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37233 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37234 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37235 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37236
2fee621d
JM
372372017-08-02 Joseph Myers <joseph@codesourcery.com>
37238
37239 [BZ #21685]
37240 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
37241 bit-field expressions passed to sizeof or typeof.
37242 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
37243 (__TGMATH_F128): Likewise.
37244 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
37245 (__TGMATH_CF128): Likewise.
37246 (__TGMATH_UNARY_REAL_ONLY): Likewise.
37247 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
37248 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
37249 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
37250 (__TGMATH_BINARY_REAL_ONLY): Likewise.
37251 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
37252 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
37253 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
37254 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
37255 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
37256 (__TGMATH_UNARY_REAL_IMAG): Likewise.
37257 (__TGMATH_UNARY_IMAG): Likewise.
37258 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
37259 (__TGMATH_BINARY_REAL_IMAG): Likewise.
37260 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
37261 type.
37262 (define_vars_for_type): Handle bit_field type specially.
37263 (Tests.__init__): Declare structure with bit-field element.
37264
b358255f
L
372652017-08-02 H.J. Lu <hongjiu.lu@intel.com>
37266
37267 [BZ #21791]
37268 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
37269 (MEMCPY_CHK): Define only if SHARED is defined.
37270 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
37271 Likewise.
37272 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
37273 Likewise.
edf66db1
SP
37274
37275See ChangeLog.18 for earlier changes.