]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Finish move of clock_* functions to libc. [BZ #24959]
[thirdparty/glibc.git] / ChangeLog
CommitLineData
7b5af2d8
ZW
12019-09-04 Zack Weinberg <zackw@panix.com>
2
3 [BZ #24959]
4 * rt/clock_getcpuclockid.c: Move to time/clock_getcpuclockid.c.
5 * rt/clock_getres.c: Move to time/clock_getres.c.
6 * rt/clock_gettime.c: Move to time/clock_gettime.c.
7 * rt/clock_nanosleep.c: Move to time/clock_nanosleep.c.
8 * rt/clock_settime.c: Move to time/clock_settime.c.
9 * rt/tst-clock.c: Move to time/tst-clock.c.
10 * rt/tst-clock2.c: Move to time/tst-clock2.c.
11 * rt/tst-clock_nanosleep.c: Move to time/tst-clock_nanosleep.c.
12 * rt/tst-cpuclock1.c: Move to time/tst-cpuclock1.c.
13 * rt/clock-compat.c: Delete file.
14
15 * time/clock_getcpuclockid.c
16 * time/clock_getres.c
17 * time/clock_gettime.c
18 * time/clock_nanosleep.c
19 * time/clock_settime.c
20 * sysdeps/posix/clock_getres.c
21 * sysdeps/unix/clock_gettime.c
22 * sysdeps/unix/clock_nanosleep.c
23 * sysdeps/unix/clock_settime.c
24 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25 * sysdeps/unix/sysv/linux/clock_getres.c
26 * sysdeps/unix/sysv/linux/clock_gettime.c
27 * sysdeps/unix/sysv/linux/clock_nanosleep.c
28 * sysdeps/unix/sysv/linux/clock_settime.c: Define the function
29 defined by this file with default symbol version GLIBC_2_17,
30 and optionally a compatibility alias at symbol version GLIBC_2_2.
31 * include/time.h: Remove internal prototypes for clock_getres,
32 clock_nanosleep, and clock_getcpuclockid.
33
34 * sysdeps/unix/sysv/linux/clock_gettime.c: Prune includes.
35 Remove unused function realtime_gettime.
36
37 * rt/Makefile (clock-routines, routines): Remove variable.
38 (librt-routines): Remove clock-compat.
39 (tests): Remove tst-clock, tst-clock2, tst-clock_nanosleep,
40 and tst-cpuclock1.
41 * time/Makefile (routines): Add clock_getres, clock_gettime,
42 clock_settime, clock_getcpuclockid, and clock_nanosleep.
43 (tests): Add tst-clock, tst-clock2, tst-clock_nanosleep,
44 and tst-cpuclock1.
45
46 * rt/Versions (libc): Remove entire stanza.
47 (librt GLIBC_2.2): Remove all clock_* functions.
48 * time/Versions (libc GLIBC_2.2, libc GLIBC_2.17):
49 Add clock_getres, clock_gettime, clock_settime,
50 clock_getcpuclockid, and clock_nanosleep.
51 (libc GLIBC_PRIVATE): Add __clock_gettime.
52
53 * sysdeps/mach/hurd/i386/librt.abilist
54 * sysdeps/unix/sysv/linux/alpha/librt.abilist
55 * sysdeps/unix/sysv/linux/arm/be/librt.abilist
56 * sysdeps/unix/sysv/linux/arm/le/librt.abilist
57 * sysdeps/unix/sysv/linux/hppa/librt.abilist
58 * sysdeps/unix/sysv/linux/i386/librt.abilist
59 * sysdeps/unix/sysv/linux/ia64/librt.abilist
60 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist
61 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist
62 * sysdeps/unix/sysv/linux/microblaze/be/librt.abilist
63 * sysdeps/unix/sysv/linux/microblaze/le/librt.abilist
64 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist
65 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist
66 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist
67 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/librt.abilist
68 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist
69 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist
70 * sysdeps/unix/sysv/linux/sh/librt.abilist
71 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist
72 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist
73 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist
74 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist:
75 Remove entries for clock_getres, clock_gettime, clock_settime,
76 clock_getcpuclockid, and clock_nanosleep.
77
78 * sysdeps/mach/hurd/i386/libc.abilist
79 * sysdeps/unix/sysv/linux/alpha/libc.abilist
80 * sysdeps/unix/sysv/linux/arm/libc.abilist
81 * sysdeps/unix/sysv/linux/hppa/libc.abilist
82 * sysdeps/unix/sysv/linux/i386/libc.abilist
83 * sysdeps/unix/sysv/linux/ia64/libc.abilist
84 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
85 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
86 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
87 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
88 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
89 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
90 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
91 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
92 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
93 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
94 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
95 * sysdeps/unix/sysv/linux/sh/be/libc.abilist
96 * sysdeps/unix/sysv/linux/sh/le/libc.abilist
97 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
98 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
99 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
100 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
101 Add another set of entries for clock_getres, clock_gettime,
102 clock_settime, clock_getcpuclockid, and clock_nanosleep at
103 whatever version GLIBC_2.2 maps to.
104
b5367a08
AJ
1052019-09-03 Aurelien Jarno <aurelien@aurel32.net>
106
107 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated using GCC 9.2.
108
1471fa55
FW
1092019-09-03 Florian Weimer <fweimer@redhat.com>
110
111 [BZ #24950]
112 * locale/programs/charmap.h (struct charseq): Turn bytes into a
113 flexible array member.
114 * locale/programs/ld-ctype.c (ctype_finish): Use initializer for
115 replace.
116
9a1e7257
FW
1172019-09-02 Florian Weimer <fweimer@redhat.com>
118
119 * misc/tst-mntent-autofs.c: New file.
120 * misc/Makefile (tests): Add misc/tst-mntent-autofs.
121
08b7e998
IK
1222019-09-02 Ian Kent <ikent@redhat.com>
123
124 Use autofs "ignore" mount hint in getmntent_r/getmntent.
125 * misc/mntent_r.c (get_mnt_entry): New function, extracted from
126 getmntent_r.
127 (__getmntent_r): Call it. Filter out autofs entries with an
128 "ignore" mount option.
129
3c05dd79
WD
1302019-08-30 Wilco Dijkstra <wdijkstr@arm.com>
131
132 * benchtests/bench-memcpy.c (simple_memcpy): Remove.
133 (generic_memcpy): Include generic C memcpy.
134 * benchtests/bench-memmove.c (simple_memmove): Remove.
135 (generic_memmove): Include generic C memmove.
136 * benchtests/bench-memset.c (simple_memset): Remove.
137 (generic_memset): Include generic C memset.
138 * benchtests/bench-memset-large.c (simple_memset): Remove.
139 (generic_memset): Include generic C memset.
140 * benchtests/bench-memset-walk.c (simple_memset): Remove.
141 (generic_memset): Include generic C memset.
142 * string/memcpy.c (MEMCPY): Add defines to enable redirection.
143 * string/memset.c (MEMSET): Likewise.
144 * sysdeps/x86_64/memcopy.h: Remove empty file.
145
9743c627
FW
1462019-08-30 Florian Weimer <fweimer@redhat.com>
147
148 nptl: Move pthread_attr_getinheritsched implementation into libc.
149 * nptl/Makefile (routines): Add pthread_attr_getinheritsched.
150 (libpthread-routines): Remove pthread_attr_getinheritsched.
151 * nptl/Versions (libpthread GLIBC_2.0): Remove
152 pthread_attr_getinheritsched.
153 * nptl/forward.c (pthread_attr_getinheritsched): Remove definition.
154 * nptl/nptl-init.c (pthread_functions): Remove initializer for
155 ptr_pthread_attr_getinheritsched.
156 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
157 Remove ptr_pthread_attr_getinheritsched member.
158 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
159 Remove pthread_attr_getinheritsched.
160 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
161 Likewise.
162 * sysdeps/unix/sysv/linux/arm/be/libpthread.abilist (GLIBC_2.4):
163 Likewise.
164 * sysdeps/unix/sysv/linux/arm/le/libpthread.abilist (GLIBC_2.4):
165 Likewise.
166 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
167 Likewise.
168 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
169 Likewise.
170 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
171 Likewise.
172 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
173 Likewise.
174 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
175 (GLIBC_2.4): Likewise.
176 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
177 (GLIBC_2.0): Likewise.
178 * sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist
179 (GLIBC_2.18): Likewise.
180 * sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist
181 (GLIBC_2.18): Likewise.
182 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
183 (GLIBC_2.0): Likewise.
184 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
185 (GLIBC_2.0): Likewise.
186 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
187 Likewise.
188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
189 (GLIBC_2.0): Likewise.
190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
191 (GLIBC_2.3): Likewise.
192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
193 (GLIBC_2.17): Likewise.
194 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
195 (GLIBC_2.27): Likewise.
196 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
197 (GLIBC_2.0): Likewise.
198 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
199 (GLIBC_2.2): Likewise.
200 * sysdeps/unix/sysv/linux/sh/be/libpthread.abilist (GLIBC_2.2):
201 Likewise.
202 * sysdeps/unix/sysv/linux/sh/le/libpthread.abilist (GLIBC_2.2):
203 Likewise.
204 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
205 (GLIBC_2.0): Likewise.
206 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
207 (GLIBC_2.2): Likewise.
208 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
209 (GLIBC_2.2.5): Likewise.
210 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
211 (GLIBC_2.16): Likewise.
212
90f0f97c
ST
2132019-08-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
214
90f0f97c
ST
215 * sysdeps/mach/hurd/getcwd.c
216 (_hurd_canonicalize_directory_name_internal): Do not remove the heading
217 slash if we got an unknown root directory. (__getcwd): Do not fail with
218 EGRATUITOUS if we got an unknown root directory.
d76d187c
ST
219 * hurd/hurdselect.c (SELECT_ERROR): New macro.
220 (_hurd_select):
221 - Add `error' field to `d' structures array.
222 - If a poll descriptor is bogus, set EBADF, but continue with a zero
223 timeout.
224 - Go through the whole fd_set, not only until _hurd_dtablesize. Return
225 EBADF there is any bit set above _hurd_dtablesize.
226 - Do not request io_select on bogus descriptors (SELECT_ERROR).
227 - On io_select request error, record the error.
228 - On io_select bogus reply, use EIO error code.
229 - On io_select bogus or error reply, record the error.
230 - Do not destroy reply port for bogus FDs.
231 - On error, make poll set POLLHUP in the EPIPE case, POLLNVAL in the
232 EBADF case, or else POLLERR.
233 - On error, make select simulated readiness.
90f0f97c 234
c9536b7b
ST
235 [BZ #19903]
236 * sysdeps/mach/hurd/mmap.c (__mmap): Remove optimizing anonymous maps
237 as __vm_allocate.
238
a644a4b2
ST
239 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn2): New function,
240 unlocks SS and returns to the saved PC.
241 (__sigreturn): Do not unlock SS, and "return" into __sigreturn2 on the
242 thread stack instead of the saved PC.
243
90f0f97c 2442019-08-30 Richard Braun <rbraun@sceen.net>
4b068090
RB
245
246 * hurd/hurdselect.c (_hurd_select): Always call __io_select with no
247 timeout.
f0e84494 248 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Fix preemptor setup.
c3010778
RB
249 * hurd/Makefile (user-interfaces): Add io_reply and io_request.
250 * hurd/hurdselect.c: Include <sys/time.h>, <hurd/io_request.h> and
251 <limits.h>.
252 (_hurd_select): Replace the call to __io_select with either
253 __io_select_request or __io_select_timeout_request, depending on the
254 timeout. Count the number of ready descriptors (replies for which at
255 least one type bit is set). Implement the timeout locally when there is
256 no file descriptor.
4b068090 257
23c1c256
MS
2582019-08-29 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
259
260 * elf/dl-addr.c (determine_info): Calculate the symbol index
261 using the newly defined ELF_MACHINE_HASH_SYMIDX macro.
262 * elf/dl-lookup.c (do_lookup_x): Ditto.
263 (_dl_setup_hash): Initialize MIPS xhash translation table.
264 * elf/elf.h (SHT_MIPS_XHASH): New define.
265 (DT_MIPS_XHASH): New define.
266 * sysdeps/generic/ldsodefs.h (ELF_MACHINE_GNU_HASH_ADDRIDX): New
267 define.
268 (ELF_MACHINE_HASH_SYMIDX): Ditto.
269 (ELF_MACHINE_XHASH_SETUP): Ditto.
270 * sysdeps/mips/ldsodefs.h (ELF_MACHINE_GNU_HASH_ADDRIDX): New
271 define.
272 (ELF_MACHINE_HASH_SYMIDX): Ditto.
273 (ELF_MACHINE_XHASH_SETUP): Ditto.
274 * sysdeps/mips/linkmap.h (struct link_map_machine): New member.
275 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increment valid ABI
276 version.
277 * sysdeps/unix/sysv/linux/mips/libc-abis: New ABI version.
278
1673ba87
AZ
2792019-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
280
605f3817
AZ
281 * sysdeps/sh/preconfigure.ac: New file.
282 * sysdeps/sh/preconfigure: Regenerate.
283 * sysdeps/sh/be/sh3/Implies: New file.
284 * sysdeps/sh/be/sh4/Implies: Likewise.
285 * sysdeps/sh/le/sh3/Implies: Likewise.
286 * sysdeps/sh/le/sh4/Implies: Likewise.
287 * sysdeps/unix/sysv/linux/sh/le/sh3/Implies: Likewise.
288 * sysdeps/unix/sysv/linux/sh/le/sh4/Implies: Likewise.
289 * sysdeps/unix/sysv/linux/sh/*.abilist: Move to
290 sysdeps/unix/sysv/linux/sh/le/*.abilist.
291 * sysdeps/unix/sysv/linux/sh/be/*.abilist: New files.
292
c7fca8d4
AZ
293 * sysdeps/microblaze/preconfigure.ac: New file.
294 * sysdeps/microblaze/preconfigure: Regenerate.
295 * sysdeps/microblaze/be/implies: New file.
296 * sysdeps/microblaze/le/implies: Likewise.
297 * sysdeps/unix/sysv/linux/microblaze/be/implies: Likewise.
298 * sysdeps/unix/sysv/linux/microblaze/le/implies: Likewise.
299 * sysdeps/unix/sysv/linux/microblaze/*.abilist. Move to
300 sysdeps/unix/sysv/linux/microblaze/be/*.abilist.
301 * sysdeps/unix/sysv/linux/microblaze/le/*.abilist: New files.
302
1673ba87
AZ
303 * sysdeps/arm/preconfigure.ac: Set machine based on endianness.
304 * sysdeps/arm/preconfigure: Regenerate.
305 * sysdeps/arm/be/Implies: New file.
306 * sysdeps/arm/be/armv6/Implies: Likewise.
307 * sysdeps/arm/be/armv6t2/Implies: Likewise.
308 * sysdeps/arm/be/armv7/Implies: Likewise.
309 * sysdeps/arm/le/Implies: Likewise.
310 * sysdeps/unix/sysv/linux/arm/be/Implies: Likewise.
311 * sysdeps/unix/sysv/linux/arm/le/Implies: Likewise.
312 * sysdeps/unix/sysv/linux/arm/*.abilist: Move to
313 sysdeps/unix/sysv/linux/arm/le/*.abilist.
314 * sysdeps/unix/sysv/linux/arm/be/l*.abilist: New files.
315
a22a582e
PE
3162019-08-27 Paul Eggert <eggert@cs.ucla.edu>
317
318 Fix posix/tst-regex by using UTF-8 and own test input
319 Problem reported by Stefan Liebler in:
320 https://sourceware.org/ml/libc-alpha/2019-08/msg00658.html
321 * posix/tst-regex.c: Convert this file from Latin-1 to UTF-8.
322 (do_test, test_expr): Adjust to the fact that this source file,
323 and the test data in ChangeLog.8, is now UTF-8 instead of Latin-1.
324 * posix/tst-regex.input: Copy from ChangeLog.old/ChangeLog.8,
325 so that it is now UTF-8.
326
0b3c9e57
PC
3272019-08-28 Paul A. Clarke <pc@us.ibm.com>
328
329 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): Delete.
330 (fegetenv_status): Generate 'mffsl' unconditionally.
331
fec2bd2c
PC
3322019-08-28 Paul A. Clarke <pc@us.ibm.com>
333
334 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Utilize lightweight
335 FPSCR read.
336 (_FPU_MASK_ALL): Delete.
337
e9052126
PC
3382019-08-28 Paul A. Clarke <pc@us.ibm.com>
339
340 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc_ctx):
341 Utilize lightweight FPSCR read if possible, set fewer FPSCR bits
342 if possible.
343 (libc_feresetround_ppc): Replace call to __libc_femergeenv_ppc
344 with simpler required steps, set fewer FPSCR bits if possible.
345
3c1766ea
PC
3462019-08-28 Paul A. Clarke <pc@us.ibm.com>
347
348 * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_mode): New.
349 (FPSCR_FPRF_MASK): New. (FPSCR_STATUS_MASK): New.
350 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use lighter-
351 weight access to FPSCR; remove unnecessary second FPSCR read and
352 validate.
353 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
354 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Use lighter-weight
355 access to FPSCR; Use macros in fenv_libc.h in favor of local.
356
cd7ce12a
PC
3572019-08-28 Paul A. Clarke <pc@us.ibm.com>
358
359 * sysdeps/powerpc/fpu/fenv_libc.h: Define FPSCR bitmasks.
360 (fenv_reg_to_exceptions): Replace bitwise operations with mask-shift.
361 (fenv_exceptions_to_reg): New.
362 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Replace bitwise
363 operation with call to fenv_exceptions_to_reg().
364 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
365
35ffd20d
FW
3662019-08-28 Florian Weimer <fweimer@redhat.com>
367
368 * misc/mntent.c (struct mntent_buffer): Define.
369 (mntent_buffer): Adjust type to void *.
370 (allocate): Adjust for allocate_once.
371 (deallocate): New function.
372 (getmntent): Call allocate_once.
373
ffced383
FW
3742019-08-28 Florian Weimer <fweimer@redhat.com>
375
376 nptl: Move pthread_attr_setdetachstate implementation into libc.
377 * nptl/Makefile (routines): Add pthread_attr_setdetachstate.
378 (libpthread-routines): Remove pthread_attr_setdetachstate.
379 * nptl/Versions (libpthread GLIBC_2.0): Remove
380 pthread_attr_setdetachstate.
381 * nptl/forward.c (pthread_attr_setdetachstate): Remove definition.
382 * nptl/nptl-init.c (pthread_functions): Remove initializer for
383 ptr_pthread_attr_setdetachstate.
384 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
385 Remove ptr_pthread_attr_setdetachstate member.
386 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
387 Remove pthread_attr_setdetachstate.
388 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
389 Likewise.
390 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
391 Likewise.
392 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
393 Likewise.
394 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
395 Likewise.
396 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
397 Likewise.
398 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
399 Likewise.
400 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
401 (GLIBC_2.4): Likewise.
402 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
403 (GLIBC_2.0): Likewise.
404 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
405 (GLIBC_2.18): Likewise.
406 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
407 (GLIBC_2.0): Likewise.
408 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
409 (GLIBC_2.0): Likewise.
410 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
411 Likewise.
412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
413 (GLIBC_2.0): Likewise.
414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
415 (GLIBC_2.3): Likewise.
416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
417 (GLIBC_2.17): Likewise.
418 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
419 (GLIBC_2.27): Likewise.
420 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
421 (GLIBC_2.0): Likewise.
422 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
423 (GLIBC_2.2): Likewise.
424 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
425 Likewise.
426 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
427 (GLIBC_2.0): Likewise.
428 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
429 (GLIBC_2.2): Likewise.
430 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
431 (GLIBC_2.2.5): Likewise.
432 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
433 (GLIBC_2.16): Likewise.
434
61d3db42
FW
4352019-08-28 Florian Weimer <fweimer@redhat.com>
436
437 [BZ #24902]
438 * login/Makefile (tests): Add tst-pututxline-lockfail.
439 (tst-pututxline-lockfail): Link with -lpthread.
440 * login/utmp_file.c (internal_getut_r): Remove buffer argument.
441 (__libc_getutid_r): Adjust.
442 (__libc_pututline): Likewise. Check for file_offset == -1.
443 * login/tst-pututxline-lockfail.c: New file.
444
3a9d025f
SL
4452019-08-28 Stefan Liebler <stli@linux.ibm.com>
446
447 * posix/tst-regex.c (do_test): Use tst-regex.input as input file.
448 * posix/tst-regex.input: New file.
449
edd8d70b
MS
4502019-08-23 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
451
452 [BZ #24916]
453 * sysdeps/mips/Makefile [$(subdir) = elf] (tests): Add
454 tst-undefined-weak.
455 [$(subdir) = elf] (modules-names): Add tst-undefined-weak-lib.
456 [$(subdir) = elf] ($(objpfx)tst-undefined-weak): Add dependency.
457 * sysdeps/mips/tst-undefined-weak-lib.S: New file.
458 * sysdeps/mips/tst-undefined-weak.c: Likewise.
459 * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
460 Increment highest valid ABIVERSION value.
461
33bc9efd
DM
4622019-08-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
463
464 * sysdeps/unix/sysv/linux/mips/Makefile
465 (test-xfail-check-execstack):
466 Move under mips-has-gnustack != yes.
467 (CFLAGS-.o*, ASFLAGS-.o*): New rules.
468 Apply -Wa,-execstack if mips-force-execstack == yes.
469 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
470 * sysdeps/unix/sysv/linux/mips/configure.ac
471 (mips-force-execstack): New var.
472 Set to yes for hard-float builds with minimum_kernel < 4.8.0
473 or minimum_kernel not set at all.
474 (mips-has-gnustack): New var.
475 Use value of libc_cv_as_noexecstack
476 if mips-force-execstack != yes, otherwise set to no.
477
a43565ac
AZ
4782019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
479 Florian Weimer <fweimer@redhat.com>
480
08d57105
AZ
481 * gmon/Versions (libc) [GLIBC_2.31]: New entry.
482 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
483 Make a compat_symbol.
484 * sysdeps/unix/sysv/linux/sparc/profil-counter.h
485 (__profil_counter_global): Likewise.
486
a43565ac
AZ
487 * debug/segfault.c (install_handler): Use SA_SIGINFO if defined.
488 * sysdeps/generic/profil-counter.h (__profil_counter): Cast to
489 uintptr_t.
490 * sysdeps/generic/sigcontextinfo.h (GET_PC): Rename to
491 sigcontext_get_pc and return aligned cast to uintptr_t.
492 * sysdeps/mach/hurd/i386/sigcontextinfo.h (GET_PC): Likewise.
493 * sysdeps/posix/profil.c (profil_count): Change PC argument to
494 uintptr_t.
495 (__profil): Use SA_SIGINFO.
496 * sysdeps/posix/sprofil.c (profil_count): Change PCP argument to
497 uintptr_t.
498 (__sprofil): Use SA_SIGINFO.
499 * sysdeps/unix/sysv/linux/profil-counter.h: New file.
500 * sysdeps/unix/sysv/linux/aarch64/profil-counter.h: Remove file.
501 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
502 * sysdeps/unix/sysv/linux/hppa/profil-counter.h: Likewise.
503 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise.
504 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: Likewise.
505 * sysdeps/unix/sysv/linux/microblaze/profil-counter.h: Likewise.
506 * sysdeps/unix/sysv/linux/mips/profil-counter.h: Likewise.
507 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: Likewise.
508 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Likewise.
509 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h: Likewise.
510 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
511 * sysdeps/sysv/linux/s390/s390-32/profil-counter.h: Likewise.
512 * sysdeps/sysv/linux/s390/s390-64/profil-counter.h: Likewise.
513 * sysdeps/unix/sysv/linux/sh/profil-counter.h: Likewise.
514 * sysdeps/unix/sysv/linux/arm/profil-counter.h (__profil_counter):
515 Assume SA_SIGINFO and use sigcontext_get_pc instead of GET_PC.
516 * sysdeps/unix/sysv/linux/sparc/profil-counter.h: New file.
517 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Remove file.
518 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Likewise.
519 * sysdpes/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT,
520 GET_PC, __sigaction, sigaction): Remove defines.
521 (sigcontext_get_pc): New function.
522 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
523 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
524 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
525 * sysdeps/unix/sysv/linux/hppa/sigcontextinfo.h: Likewise.
526 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
527 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h: Likewise.
528 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
529 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
530 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: Likewise.
531 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
532 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h: Likewise.
533 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
534 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
535 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
536 * sysdeps/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
537 * sysdeps/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
538 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Likewise.
539 * sysdeps/unix/sysv/linux/alpha/register-dump.h (register_dump):
540 Handle CTX argument as ucontext_t.
541 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
542 Likewise.
543 * sysdeps/unix/sysv/linux/m68k/register-dump.h: Likewise.
544 * sysdeps/sysv/linux/s390/s390-32/register-dump.h: Likewise.
545 * sysdeps/sysv/linux/s390/s390-64/register-dump.h: Likewise.
546 * sysdeps/unix/sysv/linux/sh/register-dump.h: New file.
547 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Remove File.
548 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
549 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
550 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
551 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
552 tst-sigcontextinfo-get_pc.
553 * sysdeps/unix/sysv/linux/tst-sigcontextinfo-get_pc.c: New file.
554 (CFLAGS-tst-sigcontextinfo-get_pc.c): New rule.
555
624c109b
AZ
5562019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
557
558 * sysdeps/generic/single-thread.h (RTLD_SINGLE_THREAD_P): Add
559 definition.
560
ab74d59f 5612019-08-23 Rafał Lużyński <digitalfreak@lingonborough.com>
c0fd3244
RL
562
563 [BZ #24682]
564 * localedata/locales/bo_CN (first_weekday): Add, set to 2 (Monday).
565 * localedata/locales/ug_CN (first_weekday): Likewise.
566 * localedata/locales/zh_CN (first_weekday): Likewise.
567
c8c8160c
GR
5682019-08-22 Gustavo Romero <gromero@linux.vnet.ibm.com>
569
570 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix typos and
571 field name in mcontext_t struct.
572
c737ef0d
JM
5732019-08-22 Joseph Myers <joseph@codesourcery.com>
574
42f527c8
JM
575 * resolv/tst-resolv-ai_idn-latin1.c (do_test): Mark test
576 unsupported with libidn2 before 2.0.5.
577 * resolv/tst-resolv-ai_idn.c (do_test): Likewise.
578
c737ef0d
JM
579 * manual/time.texi (strftime): Document %Ob and %OB as C2X
580 features.
581
8a80ee5e
PE
5822019-08-21 Paul Eggert <eggert@cs.ucla.edu>
583
f615e3fc
PE
584 Remove dead regex code
585 * posix/regex_internal.c (re_node_set_insert):
586 Remove unnecessary assignment. Reported by Tim Rühsen in:
587 https://lists.gnu.org/r/bug-gnulib/2019-08/msg00026.html
588
8a80ee5e
PE
589 Fix bad pointer / leak in regex code
590 This was found by Coverity (CID 1484201). [BZ#24844]
591 * posix/regex_internal.c (create_cd_newstate): Fix use of bad
592 pointer and/or memory leak when storage is exhausted.
593
1baae4aa
ZW
5942019-08-21 Zack Weinberg <zackw@panix.com>
595
596 * misc/syslog.c (__vsyslog_internal)
597 * time/getdate.c (__getdate_r)
598 * time/tst_wcsftime.c (main):
599 Use return value of time, not its argument.
600
601 * string/strfry.c (strfry)
602 * sysdeps/mach/sleep.c (__sleep):
603 Remove unnecessary casts of NULL in calls to time.
604
f9fabc1b
JM
6052019-08-21 Joseph Myers <joseph@codesourcery.com>
606
607 * math/tgmath.h [__HAVE_FLOAT128X]: Give error.
608 [(__HAVE_FLOAT64X && !__HAVE_FLOAT128)
609 || (__HAVE_FLOAT128 && !__HAVE_FLOAT64X)]: Likewise.
610 (__TGMATH_2_NARROW_F): Likewise.
611 (__TGMATH_2_NARROW_D): New macro.
612 (__TGMATH_2_NARROW_F16): Likewise.
613 (__TGMATH_2_NARROW_F32): Likewise.
614 (__TGMATH_2_NARROW_F64): Likewise.
615 (__TGMATH_2_NARROW_F32X): Likewise.
616 (__TGMATH_2_NARROW_F64X): Likewise.
617 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F): Likewise.
618 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F16): Likewise.
619 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32): Likewise.
620 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F64): Likewise.
621 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32X): Likewise.
622 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fadd): Likewise.
623 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dadd): Likewise.
624 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fdiv): Likewise.
625 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (ddiv): Likewise.
626 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fmul): Likewise.
627 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dmul): Likewise.
628 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fsub): Likewise.
629 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dsub): Likewise.
630 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16add):
631 Likewise.
632 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16div):
633 Likewise.
634 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16mul):
635 Likewise.
636 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16sub):
637 Likewise.
638 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32add):
639 Likewise.
640 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32div):
641 Likewise.
642 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32mul):
643 Likewise.
644 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32sub):
645 Likewise.
646 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
647 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64add): Likewise.
648 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
649 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64div): Likewise.
650 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
651 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64mul): Likewise.
652 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
653 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64sub): Likewise.
654 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xadd):
655 Likewise.
656 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xdiv):
657 Likewise.
658 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xmul):
659 Likewise.
660 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xsub):
661 Likewise.
662 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
663 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xadd): Likewise.
664 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
665 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xdiv): Likewise.
666 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
667 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xmul): Likewise.
668 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
669 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xsub): Likewise.
670 * math/gen-tgmath-tests.py (Type): Add members
671 non_standard_real_argument_types_list, long_double_type,
672 complex_float64_type and float32x_ext_type.
673 (Type.__init__): Set the new members.
674 (Type.floating_type): Add new argument floatn.
675 (Type.real_floating_type): Likewise.
676 (Type.can_combine_types): Likewise.
677 (Type.combine_types): Likewise.
678 (Type.init_types): Create internal Float32x_ext type.
679 (Tests.__init__): Define Float32x_ext in generated C code.
680 (Tests.add_tests): Handle narrowing functions.
681 (Tests.add_all_tests): Likewise.
682 (Tests.tests_text): Allow variation in mant_dig for narrowing
683 functions with compilers before GCC 8.
684 * math/Makefile (tgmath3-narrow-types): New variable.
685 (tgmath3-narrow-macros): Likewise.
686 (tgmath3-macros): Add $(tgmath3-narrow-macros).
687
b7297184
AS
6882019-08-20 Andreas Schwab <schwab@suse.de>
689
690 * sysdeps/i386/fpu/libm-test-ulps: Update.
691
d34d4c80
CD
6922019-08-19 Carlos O'Donell <carlos@redhat.com>
693
694 * nscd/nscd.conf: Add warning and comment about shared option.
695
4b7c7417
CD
6962019-08-19 Carlos O'Donell <carlos@redhat.com>
697
698 * nss/nsswitch.conf: Expand comments, and simplify defaults.
699 * manual/nss.texi (NSS Basics): List all known databases.
700 (Services in the NSS configuration): Mention automount.
701
a289ea09
FW
7022019-08-19 Florian Weimer <fweimer@redhat.com>
703
704 Do not print backtraces on fatal errors.
705 * debug/fortify_fail.c (__libc_argv): Remove declaration.
706 (__fortify_fail_abort): Remove definition.
707 (__fortify_fail): Call __libc_message directly.
708 * debug/stack_chk_fail.c (__libc_argv): Remove declaration.
709 (__stack_chk_fail): Call __fortify_fail instead of
710 __fortify_fail_abort.
711 * include/stdio.h (__fortify_fail_abort): Remove declaration.
712 * sysdeps/posix/libc_fatal.c (BEFORE_ABORT, before_abort): Remove
713 definitions.
714 (__libc_message): Do not handle do_backtrace. Do not call
715 BEFORE_ABORT.
716 (__libc_fatal): Do not pass do_backtrace to __libc_message.
717 * sysdeps/unix/sysv/linux/libc_fatal.c (BEFORE_ABORT)
718 (before_abort): Remove definitions.
719
1d714fd9
FW
7202019-08-16 Florian Weimer <fweimer@redhat.com>
721
722 nptl: Move pthread_attr_getdetachstate implementation into libc.
723 * nptl/Makefile (routines): Add pthread_attr_getdetachstate.
724 (libpthread-routines): Remove pthread_attr_getdetachstate.
725 * nptl/Versions (libpthread GLIBC_2.0): Remove
726 pthread_attr_getdetachstate.
727 * nptl/forward.c (pthread_attr_getdetachstate): Remove definition.
728 * nptl/nptl-init.c (pthread_functions): Remove initializer for
729 ptr_pthread_attr_getdetachstate.
730 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
731 Remove ptr_pthread_attr_getdetachstate member.
732 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
733 Remove pthread_attr_getdetachstate.
734 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
735 Likewise.
736 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
737 Likewise.
738 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
739 Likewise.
740 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
741 Likewise.
742 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
743 Likewise.
744 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
745 Likewise.
746 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
747 (GLIBC_2.4): Likewise.
748 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
749 (GLIBC_2.0): Likewise.
750 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
751 (GLIBC_2.18): Likewise.
752 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
753 (GLIBC_2.0): Likewise.
754 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
755 (GLIBC_2.0): Likewise.
756 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
757 Likewise.
758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
759 (GLIBC_2.0): Likewise.
760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
761 (GLIBC_2.3): Likewise.
762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
763 (GLIBC_2.17): Likewise.
764 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
765 (GLIBC_2.27): Likewise.
766 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
767 (GLIBC_2.0): Likewise.
768 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
769 (GLIBC_2.2): Likewise.
770 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
771 Likewise.
772 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
773 (GLIBC_2.0): Likewise.
774 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
775 (GLIBC_2.2): Likewise.
776 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
777 (GLIBC_2.2.5): Likewise.
778 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
779 (GLIBC_2.16): Likewise.
780
4745f4c1
JM
7812019-08-16 Joseph Myers <joseph@codesourcery.com>
782
783 * math/libm-test-compat_totalorder.inc (do_test)
784 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Change condition to
785 [TEST_COMPAT (libm, COMPAT_VER, GLIBC_2_31)].
786 * math/libm-test-compat_totalordermag.inc (do_test)
787 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Likewise.
788
a635d756
FW
7892019-08-15 Florian Weimer <fweimer@redhat.com>
790
791 nptl: Move pthread_attr_init implementation into libc.
792 * nptl/Makefile (routines): Add pthread_attr_init.
793 (libpthread-routines): Remove pthread_attr_init.
794 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_attr_init.
795 (libpthread GLIBC_2.0): Likewise.
796 * nptl/pthread_attr_init.c: Check for libc compat version instead
797 of libpthread compat version.
798 * nptl/forward.c (__pthread_attr_init_2_0)
799 (__pthread_attr_init_2_1): Remove definitions.
800 * nptl/nptl-init.c (pthread_functions): Remove initializers for
801 ptr___pthread_attr_init_2_0, ptr___pthread_attr_init_2_1.
802 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
803 Remove members ptr___pthread_attr_init_2_0,
804 ptr___pthread_attr_init_2_1.
805 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
806 Remove pthread_attr_init.
807 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
808 Likewise.
809 (GLIBC_2.1): Likewise.
810 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
811 Likewise.
812 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
813 Likewise.
814 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
815 Likewise.
816 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
817 Likewise.
818 (GLIBC_2.1): Likewise.
819 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
820 Likewise.
821 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
822 (GLIBC_2.4): Likewise.
823 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
824 (GLIBC_2.0): Likewise.
825 (GLIBC_2.1): Likewise.
826 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
827 (GLIBC_2.18): Likewise.
828 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
829 (GLIBC_2.0): Likewise.
830 (GLIBC_2.1): Likewise.
831 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
832 (GLIBC_2.0): Likewise.
833 (GLIBC_2.1): Likewise.
834 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
835 Likewise.
836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
837 (GLIBC_2.0): Likewise.
838 (GLIBC_2.1): Likewise.
839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
840 (GLIBC_2.3): Likewise.
841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
842 (GLIBC_2.17): Likewise.
843 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
844 (GLIBC_2.27): Likewise.
845 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
846 (GLIBC_2.0): Likewise.
847 (GLIBC_2.1): Likewise.
848 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
849 (GLIBC_2.2): Likewise.
850 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
851 Likewise.
852 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
853 (GLIBC_2.0): Likewise.
854 (GLIBC_2.1): Likewise.
855 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
856 (GLIBC_2.2): Likewise.
857 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
858 (GLIBC_2.2.5): Likewise.
859 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
860 (GLIBC_2.16): Likewise.
861
23d2e5fa
FW
8622019-08-15 Florian Weimer <fweimer@redhat.com>
863
864 [BZ #24900]
865 * elf/dl-object.c (_dl_new_object): Do not store pathnames in the
866 new object in __RTLD_OPENEXEC mode (except for the origin).
867 * elf/tst-dlopen-aout.c (check_dlopen_failure): New function with
868 check for the error message.
869 (do_test): Call it. Add check using relative path.
870 * elf/Makefile (tests-container): Add tst-dlopen-aout-container.
871 (tst-dlopen-aout-container): Link with libpthread.
872 (LDFLAGS-tst-dlopen-aout-container): Set RPATH to $ORIGIN.
873
42760d76
JM
8742019-08-15 Joseph Myers <joseph@codesourcery.com>
875
876 * math/bits/mathcalls.h
877 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
878 (totalorder): Take pointer arguments.
879 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
880 (totalordermag): Likewise.
881 * manual/arith.texi (totalorder): Likewise.
882 (totalorderf): Likewise.
883 (totalorderl): Likewise.
884 (totalorderfN): Likewise.
885 (totalorderfNx): Likewise.
886 (totalordermag): Likewise.
887 (totalordermagf): Likewise.
888 (totalordermagl): Likewise.
889 (totalordermagfN): Likewise.
890 (totalordermagfNx): Likewise.
891 * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): Remove macro.
892 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder): Likewise.
893 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag): Likewise.
894 * math/Versions (GLIBC_2.31): Add totalorder, totalorderf,
895 totalorderl, totalordermag, totalordermagf, totalordermagl,
896 totalorderf32, totalorderf64, totalorderf32x, totalordermagf32,
897 totalordermagf64, totalordermagf32x, totalorderf64x,
898 totalordermagf64x, totalorderf128 and totalordermagf128.
899 * math/Makefile (libm-test-funcs-noauto): Add compat_totalorder
900 and compat_totalordermag.
901 (libm-test-funcs-compat): New variable.
902 (libm-tests-compat): Likewise.
903 (tests): Do not include compat tests.
904 (tests-internal): Add compat tests.
905 ($(foreach t,$(libm-tests-base),
906 $(objpfx)$(t)-compat_totalorder.o)): Depend
907 on $(objpfx)libm-test-totalorder.c.
908 ($(foreach t,$(libm-tests-base),
909 $(objpfx)$(t)-compat_totalordermag.o): Depend on
910 $(objpfx)libm-test-totalordermag.c.
911 (tgmath3-macros): Remove totalorder and totalordermag.
912 * math/libm-test-compat_totalorder.inc: New file.
913 * math/libm-test-compat_totalordermag.inc: Likewise.
914 * math/libm-test-driver.c (struct test_ff_i_data): Update comment.
915 (RUN_TEST_fpfp_b): New macro.
916 (RUN_TEST_LOOP_fpfp_b): Likewise.
917 * math/libm-test-totalorder.inc (totalorder_test_data): Use
918 TEST_fpfp_b.
919 (totalorder_test): Condition on [!COMPAT_TEST].
920 (do_test): Likewise.
921 * math/libm-test-totalordermag.inc (totalordermag_test_data): Use
922 TEST_fpfp_b.
923 (totalordermag_test): Condition on [!COMPAT_TEST].
924 (do_test): Likewise.
925 * math/gen-tgmath-tests.py (Tests.add_all_tests): Remove
926 totalorder and totalordermag.
927 * math/test-tgmath.c (NCALLS): Change to 132.
928 (F(compile_test)): Do not call totalorder or totalordermag.
929 (F(totalorder)): Remove.
930 (F(totalordermag)): Likewise.
931 * include/float.h (__STDC_WANT_IEC_60559_TYPES_EXT__): Do not
932 define if [__STDC_WANT_IEC_60559_TYPES_EXT__].
933 * include/setjmp.h [!_ISOMAC] (STR_HELPER): Rename to
934 SJSTR_HELPER.
935 [!_ISOMAC] (STR): Rename to SJSTR. Update call to STR_HELPER.
936 [!_ISOMAC] (TEST_SIZE): Update call to STR.
937 [!_ISOMAC] (TEST_ALIGN): Likewise.
938 [!_ISOMAC] (TEST_OFFSET): Likewise.
939 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include <shlib-compat.h>
940 and <first-versions.h>.
941 (__totalorder): Take pointer arguments. Add symbol versions and
942 compat symbols.
943 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
944 <shlib-compat.h> and <first-versions.h>.
945 (__totalordermag): Take pointer arguments. Add symbol versions
946 and compat symbols.
947 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
948 <shlib-compat.h> and <first-versions.h>.
949 (__totalorder): Take pointer arguments. Add symbol versions and
950 compat symbols.
951 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
952 <shlib-compat.h> and <first-versions.h>.
953 (__totalordermag): Take pointer arguments. Add symbol versions
954 and compat symbols.
955 * sysdeps/ieee754/float128/float128_private.h
956 (__totalorder_compatl): New macro.
957 (__totalordermag_compatl): Likewise.
958 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include <shlib-compat.h>
959 and <first-versions.h>.
960 (__totalorderf): Take pointer arguments. Add symbol versions and
961 compat symbols.
962 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
963 <shlib-compat.h> and <first-versions.h>.
964 (__totalordermagf): Take pointer arguments. Add symbol versions
965 and compat symbols.
966 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
967 <shlib-compat.h> and <first-versions.h>.
968 (__totalorderl): Take pointer arguments. Add symbol versions and
969 compat symbols.
970 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
971 <shlib-compat.h> and <first-versions.h>.
972 (__totalordermagl): Take pointer arguments. Add symbol versions
973 and compat symbols.
974 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
975 <shlib-compat.h>.
976 (__totalorderl): Take pointer arguments. Add symbol versions and
977 compat symbols.
978 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
979 <shlib-compat.h>.
980 (__totalordermagl): Take pointer arguments. Add symbol versions
981 and compat symbols.
982 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
983 <shlib-compat.h> and <first-versions.h>.
984 (__totalorderl): Take pointer arguments. Add symbol versions and
985 compat symbols.
986 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
987 <shlib-compat.h> and <first-versions.h>.
988 (__totalordermagl): Take pointer arguments. Add symbol versions
989 and compat symbols.
990 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c (totalorderl): Take
991 pointer arguments.
992 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c (totalordermagl):
993 Likewise.
994 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
995 (do_test): Update calls to totalorderl and totalordermagl.
996 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
997 Update calls to totalorderl and totalordermagl.
998 * sysdeps/mach/hurd/i386/libm.abilist: Update.
999 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1000 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1001 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1002 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
1003 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1004 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1005 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1006 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1007 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1008 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1009 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1010 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1011 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1013 Likewise.
1014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1015 Likewise.
1016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libm.abilist:
1017 Likewise.
1018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libm.abilist:
1019 Likewise.
1020 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
1021 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1022 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1023 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1024 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1025 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1026 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1027 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1028
c2adefba
FW
10292019-08-15 Florian Weimer <fweimer@redhat.com>
1030
1031 [BZ #24899]
1032 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Add
1033 __attribute_nonstring__ to ut_line, ut_id, ut_user, ut_host.
1034 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmpx):
1035 Likewise.
1036 * sysdeps/gnu/bits/utmp.h (struct utmp): Add
1037 __attribute_nonstring__ to ut_id.
1038 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmp):
1039 Likewise.
1040
0d5b2917
FW
10412019-08-15 Florian Weimer <fweimer@redhat.com>
1042
1043 [BZ #24880]
1044 * login/utmp_file.c (file_locking_failed): Use struct flock64.
1045 (file_locking_unlock): Likewise.
1046
628598be
FW
10472019-08-15 Florian Weimer <fweimer@redhat.com>
1048
1049 [BZ #24879]
1050 login: Disarm timer after utmp lock acquisition.
1051 * login/utmp_file.c (struct file_locking): Remove.
1052 (try_file_lock): Adjust.
1053 (file_lock_restore): Remove function.
1054 (__libc_getutent_r): .
1055 (internal_getut_r): Likewise.
1056 (__libc_getutline_r): Likewise.
1057 (__libc_pututline): Likewise.
1058 (__libc_updwtmp): Likewise.
1059
17e13474
FW
10602019-08-15 Florian Weimer <fweimer@redhat.com>
1061
1062 nptl: Remove pthread_self compatibility symbol from libpthread.
1063 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_self,
1064 pthread_equal.
1065 * nptl/Makefile (libpthread-routines): Remove compat-pthread_self.
1066 * nptl/compat-pthread_self.c: Remove file.
1067 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1068 Remove pthread_self.
1069 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1070 Likewise.
1071 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1072 Likewise.
1073 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1074 Likewise.
1075 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1076 Likewise.
1077 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1078 Likewise.
1079 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1080 (GLIBC_2.4): Likewise.
1081 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1082 (GLIBC_2.0): Likewise.
1083 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1084 (GLIBC_2.18): Likewise.
1085 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1086 (GLIBC_2.0): Likewise.
1087 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1088 (GLIBC_2.0): Likewise.
1089 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1090 Likewise.
1091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1092 (GLIBC_2.0): Likewise.
1093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1094 (GLIBC_2.3): Likewise.
1095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1096 (GLIBC_2.17): Likewise.
1097 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1098 (GLIBC_2.0): Likewise.
1099 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1100 (GLIBC_2.2): Likewise.
1101 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1102 Likewise.
1103 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1104 (GLIBC_2.0): Likewise.
1105 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1106 (GLIBC_2.2): Likewise.
1107 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1108 (GLIBC_2.2.5): Likewise.
1109 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1110 (GLIBC_2.16): Likewise.
1111
fa57c301
FW
11122019-08-15 Florian Weimer <fweimer@redhat.com>
1113
1114 nptl: Move pthread_attr_destroy implementation into libc.
1115 * nptl/Makefile (routines): Add pthread_attr_destroy.
1116 (libpthread-routines): Remove pthread_attr_destroy.
1117 * nptl/Versions (libpthread GLIBC_2.0): Remove
1118 pthread_attr_destroy.
1119 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Check for
1120 libc compat version instead of libpthread compat version.
1121 * nptl/forward.c (pthread_attr_destroy): Remove definition.
1122 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1123 ptr_pthread_attr_destroy.
1124 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1125 Remove ptr_pthread_attr_destroy member.
1126 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1127 Remove pthread_attr_destroy.
1128 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1129 Likewise.
1130 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1131 Likewise.
1132 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1133 Likewise.
1134 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1135 Likewise.
1136 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1137 Likewise.
1138 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1139 Likewise.
1140 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1141 (GLIBC_2.4): Likewise.
1142 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1143 (GLIBC_2.0): Likewise.
1144 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1145 (GLIBC_2.18): Likewise.
1146 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1147 (GLIBC_2.0): Likewise.
1148 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1149 (GLIBC_2.0): Likewise.
1150 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1151 Likewise.
1152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1153 (GLIBC_2.0): Likewise.
1154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1155 (GLIBC_2.3): Likewise.
1156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1157 (GLIBC_2.17): Likewise.
1158 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1159 (GLIBC_2.27): Likewise.
1160 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1161 (GLIBC_2.0): Likewise.
1162 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1163 (GLIBC_2.2): Likewise.
1164 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1165 Likewise.
1166 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1167 (GLIBC_2.0): Likewise.
1168 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1169 (GLIBC_2.2): Likewise.
1170 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1171 (GLIBC_2.2.5): Likewise.
1172 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1173 (GLIBC_2.16): Likewise.
1174
56e09811
AS
11752019-08-15 Andreas Schwab <schwab@suse.de>
1176
1177 * sysdeps/i386/fpu/libm-test-ulps: Update.
1178
f9769a23
FW
11792019-08-15 Florian Weimer <fweimer@redhat.com>
1180
1181 * malloc/Makefile (tests): Only add tst-mxfast for
1182 $(have-tunables).
1183 * malloc/tst-mxfast.c: Fix copyright year.
1184 (do_test): Fix GNU style issues. Use TEST_COMPARE instead of
1185 assert for checks.
1186
341da5b4
FW
11872019-08-15 Florian Weimer <fweimer@redhat.com>
1188
1189 * login/utmp_file.c (__libc_updwtmp): Unlock the right file
1190 descriptor.
1191 * login/Makefile (tests): Add tst-updwtmpx.
1192 * login/tst-updwtmpx.c: New file.
1193
dda373b0
FW
11942019-08-15 Florian Weimer <fweimer@redhat.com>
1195
1196 nptl: Move pthread_equal implementation into libc.
1197 * nptl/Makefile (routines): Add pthread_equal.
1198 * nptl/forward.c (pthread_equal): Remove definition.
1199 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1200 ptr_pthread_equal.
1201 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1202 Remove ptr_pthread_equal member.
1203 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1204 Remove pthread_equal.
1205 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1206 Likewise.
1207 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1208 Likewise.
1209 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1210 Likewise.
1211 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1212 Likewise.
1213 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1214 Likewise.
1215 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1216 Likewise.
1217 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1218 (GLIBC_2.4): Likewise.
1219 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1220 (GLIBC_2.0): Likewise.
1221 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1222 (GLIBC_2.18): Likewise.
1223 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1224 (GLIBC_2.0): Likewise.
1225 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1226 (GLIBC_2.0): Likewise.
1227 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1228 Likewise.
1229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1230 (GLIBC_2.0): Likewise.
1231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1232 (GLIBC_2.3): Likewise.
1233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1234 (GLIBC_2.17): Likewise.
1235 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1236 (GLIBC_2.27): Likewise.
1237 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1238 (GLIBC_2.0): Likewise.
1239 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1240 (GLIBC_2.2): Likewise.
1241 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1242 Likewise.
1243 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1244 (GLIBC_2.0): Likewise.
1245 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1246 (GLIBC_2.2): Likewise.
1247 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1248 (GLIBC_2.2.5): Likewise.
1249 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1250 (GLIBC_2.16): Likewise.
1251
c54d8649
FW
12522019-08-14 Florian Weimer <fweimer@redhat.com>
1253
1254 * support/support_descriptors.c: Include <support/descriptors.h>.
1255
b68fabfb
FX
12562019-08-14 Feng Xue <fxue@os.amperecomputing.com>
1257
1258 * sysdeps/aarch64/multiarch/memset_base64.S (DC_ZVA_THRESHOLD):
1259 Disable DC ZVA code if this macro is defined as zero.
1260 * sysdeps/aarch64/multiarch/memset_emag.S (DC_ZVA_THRESHOLD):
1261 Change to zero to disable using DC ZVA.
1262
c3ce62cc
JM
12632019-08-13 Joseph Myers <joseph@codesourcery.com>
1264
1265 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT):
1266 Update comment.
1267 (__GLIBC_USE_IEC_60559_FUNCS_EXT_C2X): New macro.
1268 * bits/math-finite.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]: Change
1269 to [__GLIBC_USE (IEC_60559_FUNCS_EXT_C2X)].
1270 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]:
1271 Likewise.
1272
5a3afa97
FW
12732019-08-13 Florian Weimer <fweimer@redhat.com>
1274
1275 * login/utmp_file.c (LOCK_FILE, LOCKING_FAILED, UNLOCK_FILE):
1276 Remove macros.
1277 (struct file_locking): New.
1278 (try_file_lock, file_unlock, file_lock_restore): New functions.
1279 (__libc_getutent_r): Use the new functions.
1280 (internal_getut_r): Likewise.
1281 (__libc_getutline_r): Likewise.
1282 (__libc_pututline): Likewise.
1283 (__libc_updwtmp): Likewise.
1284
777d75fb
JM
12852019-08-13 Joseph Myers <joseph@codesourcery.com>
1286
0175c9e9
JM
1287 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): Update
1288 comment.
1289 (__GLIBC_USE_IEC_60559_BFP_EXT_C2X): New macro.
1290 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Change to
1291 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)].
1292 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1293 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1294 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1295 * stdlib/bits/stdlib-ldbl.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1296 Likewise.
1297 * stdlib/stdint.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1298 * stdlib/stdlib.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1299 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1300 Likewise.
1301 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1302 Likewise.
1303 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1304 Likewise.
1305 * sysdeps/csky/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1306 Likewise.
1307 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1308 Likewise.
1309 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1310 Likewise.
1311 * sysdeps/m68k/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1312 Likewise.
1313 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE
1314 (IEC_60559_BFP_EXT)]: Likewise.
1315 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1316 Likewise.
1317 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1318 Likewise.
1319 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1320 Likewise.
1321 * sysdeps/riscv/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1322 Likewise.
1323 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1324 Likewise.
1325 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1326 Likewise.
1327 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1328 Likewise.
1329 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1330 Likewise.
1331 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1332 Likewise, except for totalorder, totalordermag, getpayload,
1333 setpayload and setpayloadsig.
1334 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise,
1335 except for totalorder and totalordermag.
1336
a8c2fa98
JM
1337 * string/string.h (memccpy): Also declare if [__GLIBC_USE (ISOC2X)].
1338 (strdup): Likewise.
1339 (strndup): Likewise.
1340
777d75fb
JM
1341 * include/features.h (_ISOC2X_SOURCE): New feature test macro.
1342 Undefine and define to 1 if [_GNU_SOURCE].
1343 (__GLIBC_USE_ISOC2X): New macro. Undefine and redefine depending
1344 on [_ISOC2X_SOURCE] and [__STDC_VERSION__ > 201710L].
1345 (__USE_ISOC11): Also define to 1 if [_ISOC2X_SOURCE].
1346 (__USE_ISOC99): Likewise.
1347 (__USE_ISOC95): Likewise.
1348 * manual/creature.texi (_ISOC2X_SOURCE): Document.
1349
a33b817f
FW
13502019-08-13 Florian Weimer <fweimer@redhat.com>
1351
1352 * login/getutid_r.c (__getutid_r): _HAVE_UT_ID and _HAVE_UT_TYPE
1353 are always true.
1354 * login/getutmp.c (getutmp): _HAVE_UT_TYPE, _HAVE_UT_PID,
1355 _HAVE_UT_ID, _HAVE_UT_HOST, _HAVE_UT_TV are always true.
1356 * login/getutmpx.c (getutmpx): Likewise.
1357 * login/login.c (login): _HAVE_UT_TYPE, _HAVE_UT_PID are always
1358 true.
1359 * login/logout.c (logout): _HAVE_UT_TYPE, _HAVE_UT_HOST,
1360 _HAVE_UT_TV are always true.
1361 * login/logwtmp.c (logwtmp): _HAVE_UT_PID, _HAVE_UT_TYPE,
1362 _HAVE_UT_HOST, _HAVE_UT_TV are always true.
1363 * login/tst-utmp.c: _HAVE_UT_TYPE, _HAVE_UT_TV are always true.
1364 * login/utmp_file.c (__libc_setutent): _HAVE_UT_TYPE, _HAVE_UT_ID
1365 are always true.
1366 (internal_getut_r): _HAVE_UT_TYPE is always true.
1367 (__libc_pututline): Likewise.
1368 * login/programs/utmpdump.c (print_entry): Assume that
1369 _HAVE_UT_TYPE, _HAVE_UT_PID, _HAVE_UT_ID, _HAVE_UT_HOST,
1370 _HAVE_UT_TV are always true.
1371 * sysdeps/generic/utmp-equal.h (__utmp_equal): _HAVE_UT_TYPE,
1372 _HAVE_UT_ID are always true.
1373 * sysdeps/gnu/bits/utmp.h: Move to ...
1374 * bits/utmp.h: ... here, replacing the old file.
1375
9b9670fc
FW
13762019-08-12 Florian Weimer <fweimer@redhat.com>
1377
1378 * elf/Makefile (tests): Unconditionally add tst-dlopen-aout.
1379 [$(build-hardcoded-path-in-tests)] (tst-dlopen-aout-no-pie): Do
1380 not set.
1381 * elf/tst-dlopen-aout.c: Do not included <assert.h>.
1382 (do_test): Open the executable using an absolute path. Print
1383 error message to standard output.
1384
c48d92b4
DD
13852019-08-09 DJ Delorie <dj@redhat.com>
1386
1387 * elf/dl-tunables.list: Add glibc.malloc.mxfast.
1388 * manual/tunables.texi: Document it.
1389 * malloc/malloc.c (do_set_mxfast): New.
1390 (__libc_mallopt): Call it.
1391 * malloc/arena.c: Add mxfast tunable.
1392 * malloc/tst-mxfast.c: New.
1393 * malloc/Makefile: Add it.
1394
b6d2c447
NH
13952019-08-08 Niklas Hambüchen <mail@nh2.me>
1396 Carlos O'Donell <carlos@redhat.com>
1397
1398 [BZ #24026]
1399 * malloc/malloc.c (__malloc_info): Account for top chunk.
1400
a02cd8e4
JM
14012019-08-07 Joseph Myers <joseph@codesourcery.com>
1402
1403 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1404 (SYNC_FILE_RANGE_WRITE_AND_WAIT): New macro.
1405
d8b97803
JM
14062019-08-06 Joseph Myers <joseph@codesourcery.com>
1407
1408 * io/fcntl.h [__USE_GNU] (AT_RECURSIVE): New macro.
1409
8d454abe
SL
14102019-07-02 Stefan Liebler <stli@linux.ibm.com>
1411
1412 * sysdeps/unix/sysv/linux/s390/init-first.c (VDSO_SETUP): New define.
1413
98013846
JM
14142019-08-05 Joseph Myers <joseph@codesourcery.com>
1415
1416 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU] (CLONE_PIDFD):
1417 New macro.
1418
503fc587
AZ
14192019-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1420
d665367f
AZ
1421 [BZ #19767]
1422 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (ALWAYS_USE_VSYSCALL):
1423 Remove definition.
1424 * sysdeps/unix/sysv/linux/arm/sysdep.h (ALWAYS_USE_VSYSCALL):
1425 Likewise.
1426 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
1427 Likewise.
1428 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (ALWAYS_USE_VSYSCALL):
1429 Likewise.
1430 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1431 (ALWAYS_USE_VSYSCALL): Likewise.
1432 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1433 (ALWAYS_USE_VSYSCALL): Likewise.
1434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1435 (ALWAYS_USE_VSYSCALL): Likewise.
1436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1437 (ALWAYS_USE_VSYSCALL): Likewise.
1438 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
1439 Likewise.
1440 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1441 (ALWAYS_USE_VSYSCALL): Likewise.
1442 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1443 (ALWAYS_USE_VSYSCALL): Likewise.
1444 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
1445 Likewise.
1446 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
1447 Likewise.
1448 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Remove #if USE_VSYSCALL.
1449 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Likewise.
1450 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL,
1451 USE_VSYSCALL): Remove defitions.
1452
c9c1a413
AZ
1453 [BZ #19767]
1454 * sysdeps/unix/sysv/linux/sparc/init-first.c: Remove #ifdef SHARED.
1455 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
1456 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
1457 Define.
1458
27a0914e 1459 [BZ #19767]
5e855c89
AZ
1460 * sysdeps/unix/sysv/linux/s390/init-first.c: Remove #ifdef SHARED.
1461 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
1462 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1463 (ALWAYS_USE_VSYSCALL): Define.
1464 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1465 (ALWAYS_USE_VSYSCALL): Likewise.
1466
1467 [BZ #19767]
27a0914e
AZ
1468 * sysdeps/unix/sysv/linux/riscv/init-first.c: Remove #ifdef SHARED.
1469 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
1470 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
1471 Define.
1472
503fc587
AZ
1473 * sysdeps/sh/libm-test-ulps: Update.
1474
1a7fe2eb
FW
14752019-08-05 Florian Weimer <fweimer@redhat.com>
1476
1477 [BZ #23518]
1478 * login/uptmp-private.h (struct ufuncs): Remove definition.
1479 (__libc_utmp_file_functions, __libc_utmp_unknown_functions)
1480 (__libc_utmp_jump_table): Remove declarations.
1481 (__libc_setutent, __libc_getutent_r, __libc_getutid_r)
1482 (__libc_getutline_r, __libc_pututline, __libc_endutent)
1483 (__libc_updwtmp): Declare.
1484 * login/getutent_r.c (__libc_utmp_unknown_functions)
1485 (__libc_utmp_jump_table, setutent_unknown, getutent_r_unknown)
1486 (getutid_r_unknown, getutline_r_unknown, pututline_unknown)
1487 (endutent_unknown): Remove definitions.
1488 (__setutent): Call __libc_setutent.
1489 (__getutent_r): Call __libc_getutent_r.
1490 (__pututline): Call __libc_pututline.
1491 (__endutent): Call __libc_endutent.
1492 * login/getutid_r.c (__getutid_r): Call __libc_getutid_r.
1493 * login/getutline_r.c (__getutline_r): Call __libc_getutline_r.
1494 * login/updwtmp.c (__updwtmp): Call __libc_updwtmp.
1495 * login/utmp_file.c (__libc_utmp_file_functions): Remove definition
1496 (__libc_setutent): Rename from stetutent_file. Drop static.
1497 (maybe_setutent): New function.
1498 (__libc_getutent_r): Rename from getutent_r_file. Drop static.
1499 Check for initialization.
1500 (__libc_getutid_r): Rename from getutid_r_file. Drop static.
1501 Check for initialization.
1502 (__libc_getutline_r): Rename from getutline_r_file. Drop static.
1503 Check for initialization.
1504 (__libc_pututline): Rename from pututline_file. Drop static.
1505 Check for initialization.
1506 (__libc_endutent): Rename from endutent_file. Drop static. Check
1507 for initialization.
1508 (__libc_updwtmp): Rename from updwtmp_file. Drop static.
1509 * login/utmpname.c (__utmpname): Call __libc_endutent.
1510 * sysdeps/unix/getlogin_r (__getlogin_r): Call __libc_setutent,
1511 __libc_getutlien_r, __libc_endutent.
1512 * manual/users.texi (Who Logged In, Manipulating the Database):
1513 Adjust.
1514
ab74d59f 15152019-08-05 Alexandra Hájková <ahajkova@redhat.com>
a6c1ce77
AH
1516
1517 * elf/tst-ldconfig-bad-aux-cache.c: Use support_capture_subprocess.
1518
c7a26cba
JM
15192019-08-02 Joseph Myers <joseph@codesourcery.com>
1520
9c37bde5
JM
1521 * sysdeps/unix/sysv/linux/syscall-names.list: Update comment.
1522
c7a26cba
JM
1523 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Update Linux
1524 kernel version number to 5.2.
1525
066020c5
RFF
15262019-08-01 Raoni Fassina Firmino <raoni@linux.ibm.com>
1527
1528 * sysdeps/powerpc/powerpc64/power8/memchr.S: Update power8
1529 mnemonics and set .machine power8.
1530 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
1531 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Likewise.
1532 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
1533 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
1534 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
1535 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
1536 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
1537 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
1538 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
1539 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
1540
3175dcc1
AZ
15412019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1542
1543 * sysdeps/hppa/fpu/libm-test-ulps: Update.
1544
b0f6679b
FW
15452019-08-01 Florian Weimer <fweimer@redhat.com>
1546
1547 [BZ #24867]
1548 * malloc/malloc.c (__malloc_info): Remove unwanted leading
1549 whitespace.
1550
e1df30fb
AZ
15512019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1552
1553 [BZ #15813]
1554 sysdeps/posix/tempname.c (__gen_tempname): get entropy on each
1555 attempt.
1556
e7124906
CD
15572019-08-01 Carlos O'Donell <carlos@redhat.com>
1558
0a8262a1
CD
1559 * version.h (RELEASE): Set to "stable".
1560 (VERSION): Set to "2.30".
1561 * include/features.h (__GLIBC_MINOR__): Set to 2.30.
1562
e7124906
CD
1563 * manual/install.texi: Update component versions.
1564 * INSTALL: Regenerate.
1565 * NEWS: Update.
1566
cc3bf319
CD
15672019-07-31 Carlos O'Donell <carlos@redhat.com>
1568
1569 * po/be.po: Update translations.
1570 * po/bg.po: Likewise.
1571 * po/ca.po: Likewise.
1572 * po/cs.po: Likewise.
1573 * po/da.po: Likewise.
1574 * po/de.po: Likewise.
1575 * po/el.po: Likewise.
1576 * po/eo.po: Likewise.
1577 * po/es.po: Likewise.
1578 * po/fi.po: Likewise.
1579 * po/fr.po: Likewise.
1580 * po/gl.po: Likewise.
1581 * po/hr.po: Likewise.
1582 * po/hu.po: Likewise.
1583 * po/ia.po: Likewise.
1584 * po/id.po: Likewise.
1585 * po/it.po: Likewise.
1586 * po/ja.po: Likewise.
1587 * po/ko.po: Likewise.
1588 * po/lt.po: Likewise.
1589 * po/nb.po: Likewise.
1590 * po/nl.po: Likewise.
1591 * po/pl.po: Likewise.
1592 * po/pt_BR.po: Likewise.
1593 * po/ru.po: Likewise.
1594 * po/rw.po: Likewise.
1595 * po/sk.po: Likewise.
1596 * po/sl.po: Likewise.
1597 * po/sv.po: Likewise.
1598 * po/tr.po: Likewise.
1599 * po/uk.po: Likewise.
1600 * po/vi.po: Likewise.
1601 * po/zh_CN.po: Likewise.
1602 * po/zh_TW.po: Likewise.
1603
0bfddfc9
FW
16042019-07-31 Florian Weimer <fweimer@redhat.com>
1605
1606 [BZ #24583]
1607 [BZ #24677]
1608 iconv, libio: Revert reference counting changes.
1609 * iconv/gconv_cache.c (__gconv_release_cache): Unconditionally
1610 free the steps array.
1611 * libio/Makefile (tests): Remove tst-wfile-gconv.
1612 (tests-container): Do not add tst-wfile-ascii.
1613 (tst-wfile-gconv-ENV): Do not set.
1614 (generated): Do not add tst-wfile-gconv.mtrace,
1615 tst-wfile-gconv.check.
1616 [($run-built-tests)] (tests-special): Do not add
1617 tst-wfile-gconv-mem.out.
1618 (tst-wfile-gconv.out, tst-wfile-gconv-mem.out): Remove targets.
1619 * libio/iofclose.c (_IO_new_fclose): Call __gconv_release_step
1620 instead of __wcsmbs_clone_conv.
1621 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Remove definition.
1622 * wcsmbs/wcsmbsload.h (__wcsmbs_clone_conv): Remove declaration.
1623
c86b8e75
JM
16242019-07-30 Joseph Myers <joseph@codesourcery.com>
1625
1626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1627 (__CONTEXT_FUNC_NAME): Restore setting of r31.
1628
8a814e20
FW
16292019-07-30 Florian Weimer <fweimer@redhat.com>
1630
1631 * nptl/tst-pthread-getattr.c (allocate_and_test): Change return
1632 type to uintptr_t. Update comment.
1633 (check_stack_top): Adjust.
1634
b8b3d5a1
FW
16352019-07-29 Florian Weimer <fweimer@redhat.com>
1636
1637 Linux: Move declaration of getdents64 to <dirent.h>.
1638 * bits/dirent_ext.h: New file.
1639 * dirent/Makefile (headers): Add bits/dirent_ext.h.
1640 * dirent/dirent.h: Include <bits/dirent_ext.h>.
1641 * sysdeps/unix/sysv/linux/bits/dirent_ext.h: New file.
1642 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Remove
1643 declaration.
1644 * manual/filesys.texi (Low-level Directory Access): Update header
1645 to dirent.h.
1646
354e4c1a
TMQMF
16472019-07-29 DJ Delorie <dj@redhat.com>
1648 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1649
1650 [BZ #24794]
1651 * Makeconfig (all-subdirs): Improved source comments.
1652 * Makefile (testroot.pristine/install.stamp): Pass
1653 subdirs='$(sorted-subdirs)' to make install.
1654
50ce3eae
FW
16552019-07-25 Florian Weimer <fweimer@redhat.com>
1656
1657 [BZ #24677]
1658 * iconv/gconv_cache.c (__gconv_release_cache): Check reference
1659 counter before freeing array.
1660
7e681561
L
16612019-07-24 H.J. Lu <hongjiu.lu@intel.com>
1662
1663 [BZ #24603]
1664 * sysdeps/x86_64/configure.ac: Check if -mprefer-vector-width=128
1665 works.
1666 * sysdeps/x86_64/configure: Regenerated.
1667 * sysdeps/x86_64/fpu/Makefile (CFLAGS-branred.c): New. Set
1668 to -mprefer-vector-width=128 if supported.
1669
82c664ed
FW
16702019-07-24 Florian Weimer <fweimer@redhat.com>
1671
1672 * scripts/build-many-glibcs.py (Context.checkout): Default to
1673 Linux 5.2.
1674
7854ebf8
FW
16752019-07-24 Florian Weimer <fweimer@redhat.com>
1676
1677 [BZ #24532]
1678 Linux: Use in-tree copy of SO_ constants for !__USE_MISC.
1679 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == socket]
1680 (sysdep_headers): Add bits/socket-constants.h.
1681 (tests-special): Add tst-socket-consts.out.
1682 (tst-socket-consts.out): New target.
1683 * sysdeps/unix/sysv/linux/bits/socket.h: Remove macro tracking
1684 around <asm/unistd.h>.
1685 [__USE_MISC]: Include <bits/types/time_t.h> before <asm/socket.h>.
1686 [!__USE_MISC]: Include <sys/socket-constants.h> instead of
1687 <asm/socket.h>.
1688 * sysdeps/unix/sysv/linux/bits/tst-socket-consts.py: New file.
1689 * sysdeps/unix/sysv/linux/bits/socket-constants.h: Likewise.
1690 * sysdeps/unix/sysv/linux/alpha/bits/socket-constants.h: Likewise.
1691 * sysdeps/unix/sysv/linux/hppa/bits/socket-constants.h: Likewise.
1692 * sysdeps/unix/sysv/linux/mips/bits/socket-constants.h: Likewise.
1693 * sysdeps/unix/sysv/linux/powerpc/bits/socket-constants.h:
1694 Likewise.
1695 * sysdeps/unix/sysv/linux/sparc/bits/socket-constants.h: Likewise.
1696
95da14da
TMQMF
16972019-07-23 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1698
35e038c1
TMQMF
1699 [BZ #24794]
1700 * Makefile (testroot.pristine/install.stamp): Pass
1701 subdirs='$(all-subdirs)' to make install.
1702
95da14da
TMQMF
1703 * Makefile (testroot.pristine/install.stamp): Execute ld.so with
1704 the same arguments used in all tests.
1705
dcf36bca
SN
17062019-07-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
1707
1708 * NEWS: Mention the AArch64 IFUNC resolver ABI change.
1709
c7e4b684
EK
17102019-07-20 Egor Kobylkin <egor@kobylkin.com>
1711
1712 [BZ #2872]
1713 * locale/C-translit.h.in: Add Cyrillic transliteration.
1714
1f7097d0
FW
17152019-07-19 Florian Weimer <fweimer@redhat.com>
1716
1717 * sysdeps/unix/sysv/linux/syscall-names.list: Add system calls
1718 from Linux 5.2.
1719 (fsconfig): Add system call name.
1720 (fsmount): Likewise.
1721 (fsopen): Likewise.
1722 (fspick): Likewise.
1723 (move_mount): Likewise.
1724 (open_tree): Likewise.
1725
3556658c
CD
17262019-07-18 Carlos O'Donell <carlos@redhat.com>
1727
1728 * po/libc.pot: Regenerate.
1729
4a8f6d31
MC
17302019-07-18 Mike Crowe <mac@mcrowe.com>
1731
2ab9ad57
AZ
1732 * sysdeps/unix/sysv/linux/hppa/pthread.h: Add declarations of
1733 functions recently added to sysdeps/nptl/pthread.h:
1734 pthread_mutex_clocklock, pthread_rwlock_clockrdlock,
1735 pthread_rwlock_clockwrlock and pthread_cond_clockwait.
1736
4a8f6d31
MC
1737 * nptl/forward.c: Remove unnecessary __pthread_cond_clockwait and
1738 pthread_cond_clockwait forwarding functions. There are no internal
1739 users, so it is unnecessary to expose these functions in libc.so.
1740 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
1741 unnecessary ptr___pthread_cond_clockwait member.
1742 * nptl/nptl-init.c (pthread_functions): Remove assignment of
1743 removed member.
1744
ab74d59f 17452019-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
9208c3b8
RL
1746
1747 [BZ #21897]
1748 * localedata/locales/aa_DJ (abday): Update from CLDR, all words
1749 begin with an uppercase letter now.
1750 (abmon): Likewise.
1751 (mon): Update from CLDR, reword February from "Kudo" to
1752 "Naharsi Kudo", April from "Agda Baxisso" to "Agda Baxis",
1753 and August from "Liiqen" to "Leqeeni".
1754 * localedata/locales/aa_ER (mon): Update from CLDR, reword
1755 April from "Agda Baxisso" to "Agda Baxis" and August from
1756 "Leqeeni" to "Liiqen".
1757 * localedata/locales/aa_ER@saaho (mon): Likewise.
1758 * localedata/locales/aa_ET (abmon): Update from CLDR, reword
1759 abbreviated February from "Kud" to "Nah".
1760 (mon): Update from CLDR, reword February from "Kudo" to
1761 "Naharsi Kudo" and April from "Agda Baxisso" to "Agda Baxis".
1762
ab74d59f 17632019-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
fba6d4bb
RL
1764
1765 [BZ #23996]
1766 * localedata/locales/nl_BE (LC_NAME): Replace with “copy "nl_NL"”.
1767
3cc7c9c5
P
17682019-07-17 PanderMusubi <pander@users.sourceforge.net>
1769
1770 [BZ #23996]
1771 * localedata/locales/nl_BE (LC_NAME): Add name_gen, name_mr,
1772 name_mrs, name_miss, and name_ms.
1773 * localedata/locales/nl_NL (LC_NAME): Likewise.
1774
cce7b6a5
DZ
17752019-07-17 Daniil Zhilin <generalfailer@protonmail.com>
1776
1777 [BZ #24200]
1778 * localedata/locales/ga_IE (first_weekday): Add, set to 2 (Monday).
1779 * localedata/locales/en_IE (first_weekday): Likewise.
1780
99d01ffc
MC
17812019-07-12 Mike Crowe <mac@mcrowe.com>
1782
1ff1373b
MC
1783 * nptl/pthread_cond_wait.c: (__pthread_cond_clockwait): Remove code
1784 that is only useful if futex_supports_exact_relative_timeouts ()
1785 returns false.
1786 * nptl/pthread_condattr_setclock.c: (pthread_condattr_setclock):
1787 Likewise.
1788 * sysdeps/nptl/futex-internal.h: Remove comment about relative
1789 timeouts potentially being imprecise since it's no longer true.
1790 Remove declaration of futex_supports_exact_relative_timeouts.
1791 * sysdeps/unix/sysv/linux/futex-internal.h: Remove implementation
1792 of futex_supports_exact_relative_timeouts.
1793
65dd7e9c
MC
1794 * NEWS: Mention recently-added pthread_cond_clockwait,
1795 pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and
1796 sem_clockwait functions.
1797
9d20e22e
MC
1798 nptl: Add POSIX-proposed pthread_mutex_clocklock function that
1799 works like pthread_mutex_timedlock but takes a clockid parameter to
1800 measure the abstime parameter against.
1801 * sysdeps/nptl/pthread.h: Add pthread_mutex_clocklock.
1802 * nptl/DESIGN-systemtap-probes.txt: Likewise.
1803 * nptl/pthread_mutex_timedlock.c
1804 (__pthread_mutex_clocklock_common): Rename from
1805 __pthread_mutex_timedlock and add clockid parameter. Pass this
1806 parameter to lll_clocklock and lll_clocklock_elision in place of
1807 CLOCK_REALTIME. (__pthread_mutex_clocklock): New function to add
1808 LIBC_PROBE and validate clockid parameter before calling
1809 __pthread_mutex_clocklock_common. (__pthread_mutex_timedlock): New
1810 implementation to add LIBC_PROBE and calls
1811 __pthread_mutex_clocklock_common passing CLOCK_REALTIME as the
1812 clockid.
1813 * nptl/Makefile: Add tst-mutex11.c.
1814 * nptl/tst-abstime.c (th): Add tests for pthread_mutex_clocklock.
1815 * nptl/tst-mutex11.c: New tests for passing invalid and unsupported
1816 clockid parameters to pthread_mutex_clocklock.
1817 * nptl/tst-mutex5.c (do_test_clock): Rename from do_test and take
1818 clockid parameter to indicate which clock to be used. Call
1819 pthread_mutex_timedlock or pthread_mutex_clocklock as appropriate.
1820 (do_test): Call do_test_clock to separately test
1821 pthread_mutex_timedlock, pthread_mutex_clocklock(CLOCK_REALTIME)
1822 and pthread_mutex_clocklock(CLOCK_MONOTONIC).
1823 * nptl/tst-mutex9.c: Likewise.
1824 * nptl/Versions (GLIBC_2.30): Add pthread_mutex_clocklock.
1825 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30):
1826 Likewise.
1827 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30):
1828 Likewise.
1829 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30):
1830 Likewise.
1831 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30):
1832 Likewise.
1833 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30):
1834 Likewise.
1835 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30):
1836 Likewise.
1837 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30):
1838 Likewise.
1839 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1840 (GLIBC_2.30): Likewise.
1841 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1842 (GLIBC_2.30): Likewise.
1843 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1844 (GLIBC_2.30): Likewise.
1845 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1846 (GLIBC_2.30): Likewise.
1847 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1848 (GLIBC_2.30): Likewise.
1849 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30):
1850 Likewise.
1851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1852 (GLIBC_2.30): Likewise.
1853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1854 (GLIBC_2.30): Likewise.
1855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1856 (GLIBC_2.30): Likewise.
1857 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1858 (GLIBC_2.30): Likewise.
1859 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1860 (GLIBC_2.30): Likewise.
1861 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1862 (GLIBC_2.30): Likewise.
1863 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30):
1864 Likewise.
1865 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1866 (GLIBC_2.30): Likewise.
1867 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1868 (GLIBC_2.30): Likewise.
1869 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1870 (GLIBC_2.30): Likewise.
1871 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1872 (GLIBC_2.30): Likewise.
1873
59213094
MC
1874 nptl: Rename lll_timedlock to lll_clocklock and add clockid
1875 parameter to indicate the clock that the abstime parameter should
1876 be measured against in preparation for adding
1877 pthread_mutex_clocklock.
1878 * sysdeps/nptl/lowlevellock.h (lll_clocklock): Rename from
1879 lll_timedlock and add clockid parameter. (__lll_clocklock): Rename
1880 from __lll_timedlock and add clockid parameter.
1881 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_clocklock):
1882 Likewise.
1883 * nptl/lll_timedlock_wait.c (__lll_clocklock_wait): Rename from
1884 __lll_timedlock_wait and add clockid parameter. Use __clock_gettime
1885 rather than __gettimeofday so that clockid can be used. This means
1886 that conversion from struct timeval is no longer required.
1887 * sysdeps/sparc/sparc32/lowlevellock.c (lll_clocklock_wait):
1888 Likewise.
1889 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: Update comment to
1890 refer to __lll_clocklock_wait rather than __lll_timedlock_wait.
1891 * nptl/pthread_mutex_timedlock.c (lll_clocklock_elision): Rename
1892 from lll_timedlock_elision, add clockid parameter and use
1893 meaningful names for other parameters. (__pthread_mutex_timedlock):
1894 Pass CLOCK_REALTIME where necessary to lll_clocklock and
1895 lll_clocklock_elision.
1896 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
1897 (lll_clocklock_elision): Rename from lll_timedlock_elision and add
1898 clockid parameter. (__lll_clocklock_elision): Rename from
1899 __lll_timedlock_elision and add clockid parameter.
1900 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1901 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: Likewise.
1902 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c
1903 (__lll_lock_elision): Call __lll_clocklock_elision rather than
1904 __lll_timedlock_elision. (EXTRAARG): Add clockid parameter.
1905 (LLL_LOCK): Likewise.
1906 * sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1907 * sysdeps/unix/sysv/linux/x86/elision-timed.c: Likewise.
1908
e996fa72
MC
1909 nptl: Add POSIX-proposed pthread_rwlock_clockrdlock &
1910 pthread_rwlock_clockwrlock which behave like
1911 pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock
1912 respectively, except they always measure abstime against the
1913 supplied clockid. The functions currently support CLOCK_REALTIME
1914 and CLOCK_MONOTONIC and return EINVAL if any other clock is
1915 specified.
1916 * sysdeps/nptl/pthread.h: Add pthread_rwlock_clockrdlock and
1917 pthread_wrlock_clockwrlock.
1918 * nptl/Makefile: Build pthread_rwlock_clockrdlock.c and
1919 pthread_rwlock_clockwrlock.c.
1920 * nptl/pthread_rwlock_clockrdlock.c: Implement
1921 pthread_rwlock_clockrdlock.
1922 * nptl/pthread_rwlock_clockwrlock.c: Implement
1923 pthread_rwlock_clockwrlock.
1924 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Add
1925 clockid parameter and verify that it indicates a supported clock on
1926 entry so that we fail even if it doesn't end up being used. Pass
1927 that clock on to futex_abstimed_wait when necessary.
1928 (__pthread_rwlock_wrlock_full): Likewise.
1929 * nptl/pthread_rwlock_rdlock.c: (__pthread_rwlock_rdlock): Pass
1930 CLOCK_REALTIME to __pthread_rwlock_rdlock_full even though it won't
1931 be used because there's no timeout.
1932 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Pass
1933 CLOCK_REALTIME to __pthread_rwlock_wrlock_full even though it won't
1934 be used because there is no timeout.
1935 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1936 Pass CLOCK_REALTIME to __pthread_rwlock_rdlock_full since abstime
1937 uses that clock.
1938 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1939 Pass CLOCK_REALTIME to __pthread_rwlock_wrlock_full since abstime
1940 uses that clock.
1941 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
1942 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
1943 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
1944 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
1945 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
1946 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
1947 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
1948 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1949 (GLIBC_2.30): Likewise.
1950 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1951 (GLIBC_2.30): Likewise.
1952 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1953 (GLIBC_2.30): Likewise.
1954 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1955 (GLIBC_2.30): Likewise.
1956 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1957 (GLIBC_2.30): Likewise.
1958 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
1959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1960 (GLIBC_2.30): Likewise.
1961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1962 (GLIBC_2.30): Likewise.
1963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1964 (GLIBC_2.30): Likewise.
1965 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1966 (GLIBC_2.30): Likewise.
1967 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1968 (GLIBC_2.30): Likewise.
1969 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1970 (GLIBC_2.30): Likewise.
1971 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
1972 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1973 (GLIBC_2.30): Likewise.
1974 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1975 (GLIBC_2.30): Likewise.
1976 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1977 (GLIBC_2.30): Likewise.
1978 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1979 (GLIBC_2.30): Likewise.
1980 * nptl/tst-abstime.c (th): Add pthread_rwlock_clockrdlock and
1981 pthread_rwlock_clockwrlock timeout tests to match the existing
1982 pthread_rwlock_timedrdloock and pthread_rwlock_timedwrlock tests.
1983 * nptl/tst-rwlock14.c (do_test): Likewise.
1984 * nptl/tst-rwlock6.c Invent verbose_printf macro, and use for
1985 ancillary output throughout. (tf): Accept thread_args structure so
1986 that rwlock, a clockid and function name can be passed to the
1987 thread. (do_test_clock): Rename from do_test. Accept clockid
1988 parameter to specify test clock. Use the magic clockid value of
1989 CLOCK_USE_TIMEDLOCK to indicate that pthread_rwlock_timedrdlock and
1990 pthread_rwlock_timedwrlock should be tested, otherwise pass the
1991 specified clockid to pthread_rwlock_clockrdlock and
1992 pthread_rwlock_clockwrlock. Use xpthread_create and xpthread_join.
1993 (do_test): Call do_test_clock to test each clockid in turn.
1994 * nptl/tst-rwlock7.c: Likewise.
1995 * nptl/tst-rwlock9.c (writer_thread, reader_thread): Accept
1996 thread_args structure so that the (now int) thread number, the
1997 clockid and the function name can be passed to the thread.
1998 (do_test_clock): Renamed from do_test. Pass the necessary
1999 thread_args when creating the reader and writer threads. Use
2000 xpthread_create and xpthread_join.
2001 (do_test): Call do_test_clock to test each clockid in turn.
2002 * manual/threads.texi: Add documentation for
2003 pthread_rwlock_clockrdlock and pthread_rwlock_clockwrclock.
2004
600b4be4
MC
2005 nptl: pthread_rwlock: Move timeout validation into _full functions
2006 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full):
2007 Check validity of abstime parameter.
2008 (__pthread_rwlock_rwlock_full): Likewise.
2009 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2010 Remove check for validity of abstime parameter.
2011 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2012 Likewise.
2013
afe4de7d
MC
2014 nptl: Add POSIX-proposed pthread_cond_clockwait which behaves just
2015 like pthread_cond_timedwait except it always measures abstime
2016 against the supplied clockid.
2017 * nptl/Makefile: Add tst-cond26 and tst-cond27
2018 * nptl/Versions (GLIBC_2.30): Add pthread_cond_clockwait
2019 * sysdeps/nptl/pthread.h: Likewise
2020 * nptl/forward.c: Add __pthread_cond_clockwait
2021 * nptl/forward.c: Likewise
2022 * nptl/pthreadP.h: Likewise
2023 * sysdeps/nptl/pthread-functions.h: Likewise
2024 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Add
2025 clockid parameter and comment describing why we don't need to check
2026 its value. Use that value when calling
2027 futex_abstimed_wait_cancelable rather than reading the clock from
2028 the flags. (__pthread_cond_wait): Pass unused clockid parameter.
2029 (__pthread_cond_timedwait): Read clock from flags and pass it to
2030 __pthread_cond_wait_common. (__pthread_cond_clockwait): Add new
2031 function with weak alias from pthread_cond_clockwait.
2032 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2033 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2034 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2035 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2036 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2037 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2038 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2039 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2040 (GLIBC_2.30): Likewise.
2041 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2042 (GLIBC_2.30): Likewise.
2043 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2044 (GLIBC_2.30): Likewise.
2045 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2046 (GLIBC_2.30): Likewise.
2047 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2048 (GLIBC_2.30): Likewise.
2049 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2051 (GLIBC_2.30): Likewise.
2052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2053 (GLIBC_2.30): Likewise.
2054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2055 (GLIBC_2.30): Likewise.
2056 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2057 (GLIBC_2.30): Likewise.
2058 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2059 (GLIBC_2.30): Likewise.
2060 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2061 (GLIBC_2.30): Likewise.
2062 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2063 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2064 (GLIBC_2.30): Likewise.
2065 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2066 (GLIBC_2.30): Likewise.
2067 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2068 (GLIBC_2.30): Likewise.
2069 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2070 (GLIBC_2.30): Likewise.
2071 * nptl/tst-cond11.c (run_test): Support testing
2072 pthread_cond_clockwait too by using a special magic
2073 CLOCK_USE_ATTR_CLOCK value to determine whether to call
2074 pthread_cond_timedwait or pthread_cond_clockwait. (do_test): Pass
2075 CLOCK_USE_ATTR_CLOCK for existing tests, and add new tests using
2076 all combinations of CLOCK_MONOTONIC and CLOCK_REALTIME.
2077 * ntpl/tst-cond26.c: New test for passing unsupported and invalid
2078 clocks to pthread_cond_clockwait.
2079 * nptl/tst-cond27.c: Add test similar to tst-cond5.c, but using
2080 struct timespec and pthread_cond_clockwait.
2081 * manual/threads.texi: Document pthread_cond_clockwait.
2082
6615f779
MC
2083 nptl: Add POSIX-proposed sem_clockwait which behaves just like
2084 sem_timedwait, but measures abstime against the specified clock.
2085 * nptl/sem_waitcommon.c (do_futex_wait, __new_sem_wait_slow): Add
2086 clockid parameters to indicate the clock which abstime should be
2087 measured against.
2088 * nptl/sem_timedwait.c (sem_timedwait), nptl/sem_wait.c
2089 (__new_sem_wait): Pass CLOCK_REALTIME as clockid to
2090 __new_sem_wait_slow.
2091 * nptl/sem_clockwait.c: New file to implement sem_clockwait based
2092 on sem_timedwait.c.
2093 * nptl/Makefile: Add sem_clockwait.c source file. Add CFLAGS for
2094 sem_clockwait.c to match those used for sem_timedwait.c.
2095 * sysdeps/pthread/semaphore.h: Add sem_clockwait.
2096 * nptl/Versions (GLIBC_2.30): Likewise.
2097 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2098 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2099 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2100 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2101 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2102 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2103 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2104 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2105 (GLIBC_2.30): Likewise.
2106 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2107 (GLIBC_2.30): Likewise.
2108 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2109 (GLIBC_2.30): Likewise.
2110 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2111 (GLIBC_2.30): Likewise.
2112 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2113 (GLIBC_2.30): Likewise.
2114 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2116 (GLIBC_2.30): Likewise.
2117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2118 (GLIBC_2.30): Likewise.
2119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2120 (GLIBC_2.30): Likewise.
2121 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2122 (GLIBC_2.30): Likewise.
2123 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2124 (GLIBC_2.30): Likewise.
2125 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2126 (GLIBC_2.30): Likewise.
2127 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2128 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2129 (GLIBC_2.30): Likewise.
2130 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2131 (GLIBC_2.30): Likewise.
2132 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2133 (GLIBC_2.30): Likewise.
2134 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2135 (GLIBC_2.30): Likewise.
2136 * nptl/tst-sem17.c: Add new test for passing invalid clock to
2137 sem_clockwait.
2138 * nptl/tst-sem13.c, nptl/tst-sem5.c: Modify existing sem_timedwait
2139 tests to also test sem_clockwait.
2140 * manual/threads.texi: Document sem_clockwait.
2141
99d01ffc
MC
2142 nptl: Add clockid parameter to futex timed wait calls
2143 * sysdeps/nptl/lowlevellock-futex.h,
2144 sysdeps/unix/sysv/linux/lowlevellock-futex.h: Replace
2145 lll_futex_timed_wait_bitset with lll_futex_clock_wait_bitset that
2146 takes a clockid rather than a special clockbit.
2147 * sysdeps/nptl/lowlevellock-futex.h: Add
2148 lll_futex_supported_clockid so that client functions can check
2149 whether their clockid parameter is valid even if they don't
2150 ultimately end up calling lll_futex_clock_wait_bitset.
2151 * sysdeps/nptl/futex-internal.h,
2152 sysdeps/unix/sysv/linux/futex-internal.h
2153 (futex_abstimed_wait, futex_abstimed_wait_cancelable): Add
2154 clockid_t parameter to indicate which clock the absolute time
2155 passed should be measured against. Pass that clockid onto
2156 lll_futex_clock_wait_bitset. Add invalid clock as reason for
2157 returning -EINVAL.
2158 * sysdeps/nptl/futex-internal.h,
2159 sysdeps/unix/sysv/linux/futex-internal.h: Introduce
2160 futex_abstimed_supported_clockid so that client functions can check
2161 whether their clockid parameter is valid even if they don't
2162 ultimately end up calling futex_abstimed_wait.
2163 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Remove
2164 code to calculate relative timeout for
2165 __PTHREAD_COND_CLOCK_MONOTONIC_MASK and just pass CLOCK_MONOTONIC
2166 or CLOCK_REALTIME as required to futex_abstimed_wait_cancelable.
2167 * nptl/pthread_rwlock_common (__pthread_rwlock_rdlock_full)
2168 (__pthread_wrlock_full), nptl/sem_waitcommon (do_futex_wait): Pass
2169 additional CLOCK_REALTIME to futex_abstimed_wait_cancelable.
2170 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
2171 Switch to lll_futex_clock_wait_bitset and pass CLOCK_REALTIME
2172
a008c76b
AZ
21732019-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2174
2175 [BZ #24699]
2176 * posix/tst-mmap-offset.c: Mention BZ #24699.
2177 (do_test_bz21270): Rename to do_test_large_offset and use
2178 mmap64_maximum_offset to check for maximum expected offset value.
2179 * sysdeps/generic/mmap_info.h: New file.
2180 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
2181 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
2182 __NR_mmap2 is used.
2183
99135114
DD
21842019-07-10 DJ Delorie <dj@redhat.com>
2185 Sergei Trofimovich <slyfox@inbox.ru>
2186
2187 [BZ #24696]
2188 [BZ #24695]
2189 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
2190 mappings.
2191 * nss/tst-nss-db-endgrent.c: New.
2192 * nss/tst-nss-db-endgrent.root: New.
2193 * nss/tst-nss-db-endpwent.c: New.
2194 * nss/tst-nss-db-endpwent.root: New.
2195 * nss/Makefile: Add new tests.
2196 * support/links-dso-program-c.c: Add selinux dependency.
2197 * support/links-dso-program.cc: Add selinux dependency.
2198 * support/Makefile: Build those with -lselinux if enabled.
2199
30ba0375
SN
22002019-07-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
2201
2202 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove the
2203 DT_AARCH64_VARIANT_PCS check.
2204 (elf_machine_lazy_rel): Use l_info[DT_AARCH64 (VARIANT_PCS)].
2205 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Remove
2206 variant_pcs.
2207
32b8188a
AS
22082019-07-10 Andreas Schwab <schwab@suse.de>
2209
2210 [BZ #23352]
2211 * malloc/malloc.h (__malloc_check_init): Don't declare.
2212 * include/malloc.h (__malloc_check_init): Likewise.
2213 * malloc/malloc-internal.h (__malloc_check_init): Declare it here.
2214 * manual/memory.texi (__malloc_check_init): Don't mention it.
2215
7901d4ee
MH
22162019-07-10 Mao Han <han_mao@c-sky.com>
2217
2218 * locale/Makefile: Fix tst-locale-locpath arguments passing.
2219
b5232c9f 22202019-07-09 Paul A. Clarke <pc@us.ibm.com>
32b8188a 2221
b5232c9f
PC
2222 * sysdeps/powerpc/fpu/fenv_libc.h (_FPU_GET_RC): Protect use of
2223 __builtin_cpu_supports with __BUILTIN_CPU_SUPPORTS__.
2224
6ba205b2
DD
22252019-07-08 DJ Delorie <dj@redhat.com>
2226
2227 [BZ #23501]
2228 * io/ftw.c (process_entry): Fill in statbuf for dangling links.
2229 * io/tst-ftw-lnk.c: New test.
2230 * io/Makefile: Run it.
2231
f215dbbd
AZ
22322019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2233
6ea21bfe
AZ
2234 * sysdeps/powerpc/power7/fpu/s_logb.c: Move to ...
2235 * sysdeps/powerpc/fpu/s_logb.c: ... here. Use inline FP constants.
2236 * sysdeps/powerpc/power7/fpu/s_logbf.c: Move to ...
2237 * sysdeps/powerpc/fpu/s_logbf.c: ... here. Use inline FP constants.
2238 * sysdeps/powerpc/power7/fpu/s_logbl.c: Move to ...
2239 * sysdeps/powerpc/fpu/s_logbl.c: ... here. Use inline FP constants.
2240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c:
2241 Adjust implementation path.
2242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c:
2243 Adjust implementation path.
2244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-power7.c:
2245 Adjust implementation path.
2246 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2247 (libm-sysdep_routines): Add s_log* objects.
2248 (CFLAGS-s_logbf-power7.c, CFLAGS-s_logbl-power7.c,
2249 CFLAGS-s_logb-power7.c): New fule.
2250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: Move
2251 to ...
2252 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-power7.c:
2253 ... here.
2254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: Move
2255 to ...
2256 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-ppc64.c:
2257 ... here.
2258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Move to ...
2259 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb.c: ... here.
2260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: Move
2261 to ...
2262 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-power7.c:
2263 ... here.
2264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: Move
2265 to ...
2266 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-ppc64.c:
2267 ... here.
2268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Move to ...
2269 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf.c: ... here.
2270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: Move
2271 to ...
2272 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-power7.c:
2273 ... here.
2274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: Move
2275 to ...
2276 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-ppc64.c:
2277 ... here.
2278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: Move to ...
2279 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl.c: ... here.
2280 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Remove file.
2281 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Remove file.
2282 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2283 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2284
105f2ed3
AZ
2285 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ...
2286 * sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for
2287 powerpc32 integer 0 converting to -0.
2288
0cccd37f
AZ
2289 * benchtests/Makefile (bench-math): Add logb.
2290 * benchtests/logb-inputs: New file.
2291 * benchtests/logbf-inputs: New file.
2292
931c616e
AZ
2293 * sysdeps/powerpc/power5+/fpu/s_modf.c: Move to ...
2294 * sysdeps/powerpc/fpu/s_modf.c: ... here. Add ISA 2.07 optimization.
2295 * sysdeps/powerpc/power5+/fpu/s_modff.c: Move to ...
2296 * sysdeps/powerpc/fpu/s_modff.c: ... here. Add ISA 2.07 optimization.
2297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2298 Adjust include.
2299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2300 Likewise.
2301 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile (sysdep_calls,
2302 sysdep_routines): Add s_modf* objects.
2303 (CFLAGS-s_modf-power5+.c, CFLAGS-s_modff-power5+.c,
2304 CFLAGS-s_modf-ppc64.c, CFLAGS-s_modff-ppc64.c): New rule.
2305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Move
2306 to ...
2307 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c:
2308 ... here.
2309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Movo
2310 to ...
2311 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c: Move
2312 ... here.
2313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Move to ...
2314 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf.c: ... here.
2315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: Move
2316 to ...
2317 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-power5+.c:
2318 ... here.
2319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: Move to ...
2320 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-ppc64.c:
2321 ... here.
2322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Move to ...
2323 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff.c: ... here.
2324
69461d98
AZ
2325 * sysdeps/powerpc/fpu/e_hypot.c (two60, two500, two600, two1022,
2326 twoM500, twoM600, two60factor, pdnum): Remove.
2327 (TEST_INFO_NAN, GET_TW0_HIGH_WORD): Remove macro.
2328 (__ieee754_hypot): Replace static variables with inline definition,
2329 remove ununsed branches.
2330 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2331 (libm-sysdep_routines): Remove e_hypot-* objects.
2332 (CFLAGS-e_hypot-power7.c, CFLAGS-e_hypotf-power7.c): Remove rule.
2333 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: Remove
2334 file.
2335 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: Likewise.
2336 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: Likewise.
2337 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: Likewise.
2338 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: Likewise.
2339 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: Likewise.
2340
f215dbbd
AZ
2341 * benchtests/Makefile (bench-math): Add hypot.
2342 * benchtests/hypot-inputs: New file.
2343
97274b18
VC
23442019-07-08 Vincent Chen <vincentc@andestech.com>
2345
2346 * sysdeps/unix/sysv/linux/dl-vdso.h
2347 (VDSO_NAME_LINUX_4, VDSO_HASH_LINUX_4): New defines.
2348
484b7af3
AS
23492019-07-04 Andreas Schwab <schwab@suse.de>
2350
2351 [BZ #24484]
2352 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Define.
2353
2b8a3c86
SN
23542019-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2355
2356 * sysdeps/aarch64/Makefile: Install sys/ifunc.h and add tests.
2357 * sysdeps/aarch64/dl-irel.h (elf_ifunc_invoke): Update to new ABI.
2358 * sysdeps/aarch64/sys/ifunc.h: New file.
2359 * sysdeps/aarch64/tst-ifunc-arg-1.c: New file.
2360 * sysdeps/aarch64/tst-ifunc-arg-2.c: New file.
2361
41d6f74e
FW
23622019-07-01 Florian Weimer <fweimer@redhat.com>
2363
2364 [BZ #20188]
2365 * nptl/Versions (libpthread): Remove __fork from GLIBC_2.0.
2366 Replace __vfork with __libpthread_version_placeholder for
2367 GLIBC_2.1.2.
2368 (libc): Remove __libc_vfork from GLIBC_PRIVATE.
2369 * nptl/Makefile (libpthread-routines): Remove pt-vfork. Add
2370 libpthread-compat.
2371 * nptl/pt-vfork.c: Remove file.
2372 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: Likewise.
2373 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Likewise.
2374 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
2375 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
2376 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: Likewise.
2377 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: Likewise.
2378 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Likewise.
2379 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: Likewise.
2380 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: Likewise.
2381 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
2382 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: Likewise.
2383 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Likewise.
2384 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: Likewise.
2385 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
2386 Remove vfork, __vfork.
2387 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
2388 Remove vfork.
2389 (GLIBC_2.1.2): Replace __vfork with
2390 __libpthread_version_placeholder.
2391 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
2392 Remove vfork, __vfork.
2393 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
2394 Likewise.
2395 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
2396 Remove vfork.
2397 (GLIBC_2.1.2): Replace __vfork with
2398 __libpthread_version_placeholder.
2399 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
2400 Remove vfork.
2401 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2402 (GLIBC_2.4): Remove vfork, __vfork.
2403 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2404 (GLIBC_2.0): Remove vfork.
2405 (GLIBC_2.1.2): Replace __vfork with
2406 __libpthread_version_placeholder.
2407 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2408 (GLIBC_2.18): Remove vfork, __vfork.
2409 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2410 (GLIBC_2.0): Remove vfork.
2411 (GLIBC_2.2): Remove __vfork.
2412 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist:
2413 (GLIBC_2.2): Remove vfork, __vfork.
2414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
2415 (GLIBC_2.0): Remove vfork.
2416 (GLIBC_2.1.2): Replace __vfork with
2417 __libpthread_version_placeholder.
2418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2419 (GLIBC_2.3): Remove vfork, __vfork.
2420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2421 (GLIBC_2.17): Likewise.
2422 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2423 (GLIBC_2.0): Remove vfork.
2424 (GLIBC_2.1.2): Replace __vfork with
2425 __libpthread_version_placeholder.
2426 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2427 (GLIBC_2.2): Remove vfork, __vfork.
2428 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
2429 Likewise.
2430 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2431 (GLIBC_2.0): Remove vfork.
2432 (GLIBC_2.1.2): Replace __vfork with
2433 __libpthread_version_placeholder.
2434 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2435 (GLIBC_2.2): Remove vfork, __vfork.
2436 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2437 (GLIBC_2.2.5): Likewise.
2438 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2439 (GLIBC_2.16): Likewise.
2440 * sysdeps/unix/sysv/linux/hppa/localplt.data (libpthread.so):
2441 Remove __errno_location.
2442
27cec9ae
FW
24432019-07-02 Florian Weimer <fweimer@redhat.com>
2444
2445 [BZ #24757]
2446 * malloc/Depend: Add nptl and htl, due to potential indirect
2447 libpthread dependency of memusagestat.
2448
d1bc2cbb
SL
24492019-07-02 Stefan Liebler <stli@linux.ibm.com>
2450
2451 * resolv/res_send.c (__res_context_send): Disable maybe-uninitialized
2452 warning.
2453
72edea80
FW
24542019-07-01 Florian Weimer <fweimer@redhat.com>
2455
2456 * scripts/build-many-glibcs.py (Context.add_all_configs): Add v4t
2457 variant for arm-linux-gnueabi.
2458
d0093c5c
L
24592019-07-01 H.J. Lu <hongjiu.lu@intel.com>
2460
2461 [BZ #24259]
2462 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
2463 relocation.
2464 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
2465 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
2466 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
2467 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
2468 and tst-cet-legacy-mod-6c.
2469 (CFLAGS-tst-cet-legacy-5a.c): New.
2470 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
2471 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
2472 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
2473 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
2474 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
2475 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
2476 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
2477 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
2478 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
2479 ($(objpfx)tst-cet-legacy-5a): Likewise.
2480 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
2481 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
2482 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
2483 ($(objpfx)tst-cet-legacy-5b): Likewise.
2484 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
2485 (tst-cet-legacy-5b-ENV): Likewise.
2486 ($(objpfx)tst-cet-legacy-6a): Likewise.
2487 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
2488 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
2489 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
2490 ($(objpfx)tst-cet-legacy-6b): Likewise.
2491 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
2492 (tst-cet-legacy-6b-ENV): Likewise.
2493 * sysdeps/x86/tst-cet-legacy-5.c: New file.
2494 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
2495 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
2496 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
2497 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
2498 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
2499 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
2500 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
2501 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
2502 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
2503 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
2504 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
2505 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
2506 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
2507
3db85a98
PC
25082019-06-30 Paul A. Clarke <pc@us.ibm.com>
2509
2510 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
2511 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
2512 (__fegetround_ISA300) New.
2513 (__fegetround_ISA2) New.
2514 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
2515 (_FPU_MFFS): Move implementation...
2516 (_FPU_GETCW): Here.
2517 (_FPU_MFFSL): Move implementation....
2518 (_FPU_GET_RC_ISA300): Here. New.
2519 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
2520 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
2521 (fegetenv_status): New.
2522 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
2523 instead of fegetenv_register().
2524 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
2525
d0645912
WD
25262019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
2527
2528 * benchtests/bench-math-inlines.c: Increase iterations.
2529 * benchtests/bench-memcmp.c: Likewise.
2530 * benchtests/bench-rawmemchr.c: Likewise.
2531 * benchtests/bench-strcmp.c: Likewise.
2532 * benchtests/bench-strcpy_chk.c: Likewise.
2533 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
2534 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
2535 (INNER_LOOP_ITERS_SMALL): Likewise.
2536 * benchtests/bench-strncat.c: Increase iterations.
2537 * benchtests/bench-strncmp.c: Increase iterations.
2538 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
2539 * benchtests/bench-strrchr.c: Increase iterations.
2540 * benchtests/bench-strstr.c: Keep iterations unchanged.
2541 * benchtests/bench-strtod.c: Increase iterations.
2542
afe23eb0
AY
25432019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
2544
2545 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
2546 with INNER_LOOP_ITERS_LARGE.
2547 * benchtests/bench-memchr.c: Likewise.
2548 * benchtests/bench-rawmemchr.c: Likewise.
2549 * benchtests/bench-strcat.c: Likewise.
2550 * benchtests/bench-strchr.c: Likewise.
2551 * benchtests/bench-string.h: Likewise.
2552 * benchtests/bench-strlen.c: Likewise.
2553 * benchtests/bench-strncpy.c: Likewise.
2554 * benchtests/bench-strnlen.c: Likewise.
2555
507f55c0
FW
25562019-06-28 Florian Weimer <fweimer@redhat.com>
2557
2558 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
2559 Use mmap instead of malloc. malloc with M_PERTURB writes to the
2560 entire allocated memory range.
2561
589787f8
TK
25622019-06-28 Tobias Klauser <tklauser@distanz.ch>
2563
2564 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
2565 (prepare_version_base): New helper inline function.
2566 (prepare_version): New macro replacing PREPARE_VERSION.
2567 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
2568
f0b2132b
FW
25692019-06-28 Florian Weimer <fweimer@redhat.com>
2570
2571 [BZ #24741]
2572 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
2573 mismatch in a versioned symbol reference.
2574 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
2575 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
2576 tst-sonamemove-dlopen.
2577 (module-names): Add tst-sonamemove-linkmod1,
2578 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
2579 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
2580 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
2581 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
2582 (tst-sonamemove-runmod1.so): Link against
2583 tst-sonamemove-runmod2.so.
2584 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
2585 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
2586 tst-sonamemove-runmod2.so.
2587 (tst-sonamemove-dlopen): Link with -ldl.
2588 (tst-sonamemove-dlopen.out): Likewise.
2589 * elf/tst-sonamemove-link.c: New file.
2590 * elf/tst-sonamemove-dlopen.c: Likewise.
2591 * elf/tst-sonamemove-linkmod1.c: Likewise.
2592 * elf/tst-sonamemove-linkmod1.map: Likewise.
2593 * elf/tst-sonamemove-runmod1.c: Likewise.
2594 * elf/tst-sonamemove-runmod1.map: Likewise.
2595 * elf/tst-sonamemove-runmod2.c: Likewise.
2596 * elf/tst-sonamemove-runmod2.map: Likewise.
2597
17432d71
FW
25982019-06-28 Florian Weimer <fweimer@redhat.com>
2599
2600 * support/xdlfcn.h (xdlvsym): Declare function.
2601 * support/xdlfcn.c (xdlvsym): Define funciton.
2602
5a659ccc
FW
26032019-06-28 Florian Weimer <fweimer@redhat.com>
2604
2605 [BZ #24744]
2606 io: Remove the copy_file_range emulation.
2607 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
2608 not define and call copy_file_range_compat.
2609 * io/Makefile (tests-static, tests-internal): Do not add
2610 tst-copy_file_range-compat.
2611 * io/copy_file_range-compat.c: Remove file.
2612 * io/copy_file_range.c (copy_file_range): Define as stub.
2613 * io/tst-copy_file_range-compat.c: Remove file.
2614 * io/tst-copy_file_range.c (xdevfile): Remove variable.
2615 (typical_sizes): Update comment. Remove 16K sizes.
2616 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
2617 Remove variables.
2618 (find_maximum_offset, pipe_as_source, pipe_as_destination)
2619 (delayed_write_failure_beginning, delayed_write_failure_end)
2620 (cross_device_failure, enospc_failure_1, enospc_failure)
2621 (oappend_failure): Remove functions.
2622 (tests): Adjust test case list.
2623 (do_test): Remove file system search code. Check for ENOSYS from
2624 copy_file_range. Do not free xdevfile.
2625 * manual/llio.texi (Copying File Data): Document ENOSYS error from
2626 copy_file_range. Do not document the EXDEV error, which future
2627 kernels may not report. Update the wording to reflect that
2628 further errors are possible.
2629 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2630 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
2631 not undefine.
2632 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2633 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
2634 Likewise.
2635 * sysdeps/unix/sysv/linux/kernel-features.h
2636 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
2637 Remove definition.
2638 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2639 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
2640 not undefine.
2641 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2642 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
2643 Likewise.
2644
1626f499
GG
26452019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
2646
2647 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
2648 used as a mask for the mode argument of __vfprintf_internal.
2649 * stdio-common/printf-parse.h (printf_arg): New union member:
2650 pa_float128.
2651 * stdio-common/vfprintf-internal.c
2652 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
2653 (PARSE_FLOAT_VA_ARG): Likewise.
2654 (SETUP_FLOAT128_INFO): Likewise.
2655 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
2656 SETUP_FLOAT128_INFO.
2657 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
2658 floating-point value to the new union member, pa_float128.
2659 (printf_positional): Zero-initialize args_value[cnt] with memset.
2660
a620bd79
FW
26612019-06-27 Florian Weimer <fweimer@redhat.com>
2662
2663 [BZ #24740]
2664 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
2665 buffer size if necessary.
2666 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
2667 Likewise.
2668 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
2669 New function.
2670 (large_buffer_checks): Likewise.
2671 (do_test): Call large_buffer_checks.
2672
d039da1c
L
26732019-06-26 H.J. Lu <hongjiu.lu@intel.com>
2674
2675 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
2676 * sysdeps/x86/dl-lookupcfg.h: Here.
2677 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
2678
9d5d214e
AZ
26792019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2680
aa32f5bf
AZ
2681 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2682 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
2683 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
2684 file.
2685 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
2686 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
2687 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
2688 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2689 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
2690
9d5d214e
AZ
2691 * sysdeps/powerpc/powerpc32/fpu/Makefile
2692 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
2693 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
2694 and fctidz optimization.
2695 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
2696 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
2697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2698 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
2699 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
2700 CFLAGS-s_lround-power5+.c): New rule.
2701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
2702 New file.
2703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
2704 Likewise.
2705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
2706 Likewise.
2707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
2708 Likewise.
2709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
2710 Likewise.
2711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2712 Remove file.
2713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2714 Likewise.
2715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2716 Likewise.
2717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2718 Likewise.
2719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2720 Likewise.
2721 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2722 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
2723 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2724 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
2725 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2726 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2727 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
2728
a63b96fb
VC
27292019-06-26 Vincent Chen <vincentc@andestech.com>
2730
2731 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
2732 specific system calls, fp_udfiex_crtl and udftrap.
2733
c78b3f55
SL
27342019-06-26 Stefan Liebler <stli@linux.ibm.com>
2735
2736 * nptl/tst-eintr1.c (tf1): Add return statement.
2737 (do_test): Remove unused th variable.
2738
9e6a7d9c
SL
27392019-06-26 Stefan Liebler <stli@linux.ibm.com>
2740
2741 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
2742 Return error if get_character fails.
2743
c89e669a
SL
27442019-06-25 Stefan Liebler <stli@linux.ibm.com>
2745
2746 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2747
ab74d59f 27482019-06-24 Rafał Lużyński <digitalfreak@lingonborough.com>
a55541fd
RL
2749
2750 [BZ #24652]
2751 * localedata/locales/szl_PL (day): Use the correct Unicode
2752 sequences instead of non-ASCII characters.
2753
2bd81b60
GK
27542019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
2755
2756 [BZ #24652]
2757 * localedata/locales/szl_PL (abday): Spelling corrections.
2758 (day): Likewise.
2759 (abmon): Likewise.
2760 (mon): Rename to...
2761 (alt_mon): This, then apply spelling corrections.
2762 (mon): New entry, month names in the genitive case.
2763
ab74d59f 27642019-06-21 Rafał Lużyński <digitalfreak@lingonborough.com>
fefa2179
RL
2765
2766 [BZ #23831]
2767 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
2768 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
2769 (thousands_sep): Likewise.
2770 (grouping): Set to 3;3.
2771
85c748f9
TK
27722019-06-21 Tobias Klauser <tklauser@distanz.ch>
2773
2774 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
2775 PREPARE_VERSION_KNOWN.
2776 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
2777 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
2778 define.
2779 (VDSO_HASH_LINUX_2_6_39): Likewise.
2780 (VDSO_NAME_LINUX_4_9): Likewise.
2781 (VDSO_HASH_LINUX_4_9): Likewise.
2782 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
2783 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2784 (_libc_vdso_platform_setup): Likewise.
2785 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
2786 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
2787 Likewise.
2788 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
2789 Likewise.
2790
db13e32c
MC
27912019-06-20 Mike Crowe <mac@mcrowe.com>
2792
ce5b73a7
MC
2793 * nptl/eintr.c: Use libsupport.
2794 * nptl/tst-eintr1.c: Likewise.
2795 * nptl/tst-eintr2.c: Likewise.
2796 * nptl/tst-eintr3.c: Likewise.
2797 * nptl/tst-eintr4.c: Likewise.
2798 * nptl/tst-eintr5.c: Likewise.
2799 * nptl/tst-mutex-errorcheck.c: Likewise.
2800 * nptl/tst-mutex5.c: Likewise.
2801
8bf225d5
MC
2802 * support/test-driver.h: Add verbose_printf macro.
2803
db13e32c
MC
2804 * support/xtime.h: Add xclock_now() helper function.
2805
21cc130b
DL
28062019-06-20 Dmitry V. Levin <ldv@altlinux.org>
2807 Florian Weimer <fweimer@redhat.com>
2808
2809 [BZ #24228]
2810 * libio/genops.c (_IO_unbuffer_all)
2811 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
2812 buffers and access _IO_FILE_complete members of legacy libio streams.
2813 * libio/tst-bz24228.c: New file.
2814 * libio/tst-bz24228.map: Likewise.
2815 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
2816 [build-shared] (generated): Add tst-bz24228.mtrace and
2817 tst-bz24228.check.
2818 [run-built-tests && build-shared] (tests-special): Add
2819 $(objpfx)tst-bz24228-mem.out.
2820 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
2821 ($(objpfx)tst-bz24228-mem.out): New rule.
2822
49bc41b6
PC
28232019-06-19 Paul A. Clarke <pc@us.ibm.com>
2824
2825 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
2826 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
2827 (__FPU_MFFSL): Likewise.
2828 (_FPU_SETCW): Likewise.
2829
335c1007
SS
28302019-06-19 Stan Shebs <stanshebs@google.com>
2831 Raoni Fassina Firmino <raoni@linux.ibm.com>
2832
2833 [BZ #24640]
2834 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
2835 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
2836 static-linking version.
2837 * sysdeps/unix/sysv/linux/powerpc/Makefile
2838 (tests-static): Add test-gettimebasefreq-static.
2839 (tests): Likewise.
2840 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
2841 New file.
2842
ab74d59f 28432019-06-19 Rafał Lużyński <digitalfreak@lingonborough.com>
f59a54ab
RL
2844
2845 [BZ #24614]
2846 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
2847 between the currency symbol and the minus sign).
2848 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
2849
f0c5a803
SL
28502019-06-19 Stefan Liebler <stli@linux.ibm.com>
2851
2852 [BZ #24556]
2853 * string/test-strcasestr.c (check_result): Add NULL check.
2854 * nss/tst-field.c (check_rewrite): Likewise.
2855 * benchtests/bench-strstr.c (do_one_test): Likewise.
2856 * string/test-strstr.c (check_result): Likewise.
2857 * argp/argp-test.c (popt): Increase size of buf to 12.
2858 * benchtests/bench-malloc-simple.c (bench):
2859 Do not initialize tests array out of bounds.
2860
fabf5e49
FW
28612019-06-19 Florian Weimer <fweimer@redhat.com>
2862
2863 [BZ #24166]
2864 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
2865 dls_serpath field.
2866
2c75b545
FW
28672019-06-18 Florian Weimer <fweimer@redhat.com>
2868
2869 [BZ #24323]
2870 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
2871 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
2872 fail when called from dlopen.
2873 * elf/Makefile [have-fpie && build-shared] (tests): Add
2874 tst-dlopen-pie.
2875 (tst-dlopen-pie): Link with -ldl.
2876 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
2877 * elf/tst-dlopen-pie.c (do_test): New file.
2878
ab74d59f 28792019-06-17 Rafał Lużyński <digitalfreak@lingonborough.com>
02d8b5ab
RL
2880
2881 [BZ #24614]
2882 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
2883 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
2884 between the currency symbol and the minus sign).
2885 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
2886 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
2887
78049de0
AZ
28882019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2889
112a0ae1
AZ
2890 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
2891 sysdep-rtld-routines): Remove rules.
2892 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
2893 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
2894 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
2895 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
2896 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
2897 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
2898 vDSO path for SHARED.
2899 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
2900 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
2901 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2902 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
2903 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
2904 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
2905
dee07df1
AZ
2906 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2907 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
2908 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
2909 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
2910 CFLAGS-s_llround-power5+.c): New rule.
2911 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
2912 New file.
2913 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
2914 Likewise.
2915 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
2916 Likewise.
2917 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
2918 Likewise.
2919 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
2920 Likewise.
2921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
2922 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
2923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
2924 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
2925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
2926 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
2927 * sysdeps/powerpc/powerpc64/fpu/Makefile
2928 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
2929 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2930 (libm-sysdep_routines): Remove s_llround-* objects.
2931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
2932 file.
2933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
2934 Likewise.
2935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
2936 Likewise.
2937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
2938 Likewise.
2939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
2940 Likewise.
2941 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2942 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2943 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
2944 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
2945 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
2946 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
2947 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
2948 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
2949 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2950 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
2951 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2952 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
2953 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
2954 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
2955
2166283f
AZ
2956 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
2957 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
2958 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
2959 * sysdeps/powerpc/powerpc32/fpu/Makefile
2960 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
2961 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
2962 optimization.
2963 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
2964 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
2965 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
2966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2967 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
2968 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
2969 CFLAGS-s_lrint-ppc32.c): New rule.
2970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2971 Remove file.
2972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2973 Likewise.
2974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2975 Likewise.
2976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2977 Likewise.
2978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2979 Likewise.
2980 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2981 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2982 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2983 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
2985 New file.
2986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
2987 Likewise.
2988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
2989 Likewise.
2990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
2991 Likewise.
2992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
2993 Likewise.
2994
78049de0
AZ
2995 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2996 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
2997 s_llrint-ppc64.
2998 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
2999 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
3000 file.
3001 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
3002 Likewise.
3003 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
3004 Likewise.
3005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
3006 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
3007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
3008 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
3009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
3010 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
3011 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
3012 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
3013 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3014 (libm-sysdep_routines): Remove s_llrint-* objects.
3015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
3016 file.
3017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
3018 Likewise.
3019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
3020 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
3021 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
3022 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
3023 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
3024 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
3025 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3026 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
3027 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3028 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
3029
48c3c123
FW
30302019-06-14 Florian Weimer <fweimer@redhat.com>
3031
3032 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
3033 argument to __glibc_has_include to inhibit macro expansion.
3034
8d141877
FW
30352019-06-14 Florian Weimer <fweimer@redhat.com>
3036
3037 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
3038 function-like macro, so that __has_include can inhibit expansion
3039 of its argument.
3040
a26e2e9f
JM
30412019-06-13 Joseph Myers <joseph@codesourcery.com>
3042
cf274686
JM
3043 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
3044 New macro.
3045
a26e2e9f
JM
3046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3047 Allow memset in libc.so.
3048
82bc69c0
SN
30492019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3050
3051 * sysdeps/aarch64/dl-dtprocnum.h: New file.
3052 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
3053 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
3054 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
3055 symbols at load time.
3056 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
3057
55f82d32
SN
30582019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3059
3060 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
3061 (DT_AARCH64_VARIANT_PCS): Define.
3062
21bd039b
AZ
30632019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3064
11926960
AZ
3065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3066 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
3067 objects.
3068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
3069 Remove file.
3070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
3071 Likewise.
3072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
3073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
3074 Likewise.
3075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
3076 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3077 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
3078 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
3079 Remove s_finite* objects.
3080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
3081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
3082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
3083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
3085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
3086 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3087 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
3088 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3089 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
3090
a7218676
AZ
3091 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
3092 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
3093
6427a6ac
AZ
3094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3095 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
3096 objects.
3097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
3098 Remove file.
3099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
3100 Likewise.
3101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
3102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
3103 Likewise.
3104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
3105 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3106 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
3107 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
3108 Remove s_isinf* and s_isinf* objects.
3109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
3110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
3111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
3112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
3114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
3115 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3116 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
3117 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3118 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
3119
a8c590f7
AZ
3120 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
3121 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
3122
2666f963
AZ
3123 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
3124 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
3125 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3127 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
3128 s_isnanf-* objects.
3129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
3130 Remove file
3131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
3132 Likewise.
3133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
3134 Likewise.
3135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
3136 Likewise.
3137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
3138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
3139 Likewise.
3140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3141 Likewise.
3142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
3143 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3144 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
3145 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3146 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
3147 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3148 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
3149 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
3150 Remove s_isnan-* and s_isnanf-* objects.
3151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
3152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
3153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
3154 Likewise.
3155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
3156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
3157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
3158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
3160 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3161 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3162 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3163 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3164 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3165 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
3166 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3167 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
3168
197dbda1
AZ
3169 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
3170 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
3171
2731a326
AZ
3172 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
3173 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
3174 CFLAGS-bench-isfinite.c): New rule.
3175 * benchtests/isnan-input: New file.
3176 * benchtests/isinf-input: New file.
3177 * benchtests/isfinite-input: New file.
3178
e41d66e4
AZ
3179 * sysdeps/powerpc/fpu/s_copysign.c: New file.
3180 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
3181 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
3182 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
3183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3184 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
3185 s_copysign-ppc32.
3186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3187 Remove file.
3188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
3189 Likewise.
3190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3191 Likewise.
3192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
3193 Likewise.
3194 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3195 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
3196 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
3197 Remove s_copysign-power6 s_copysign-ppc64.
3198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
3199 Remove file.
3200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
3201 Likewise.
3202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
3204 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3205 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
3206 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3207 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
3208
21bd039b
AZ
3209 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
3210 round_to_integer_float, round_mode): Add RINT handling.
3211 (reset_fenv_mode): New symbol.
3212 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
3213 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
3214 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
3215 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3216 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
3217 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3218
cfa61144
FW
32192019-06-12 Florian Weimer <fweimer@redhat.com>
3220
3221 [BZ #24632]
3222 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
3223 * libio/freopen.c (freopen): Use it.
3224
744e8296
FW
32252019-06-12 Florian Weimer <fweimer@redhat.com>
3226
3227 Linux: Deprecate sysctl.
3228 * include/sysctl.h (__sysctl): Remove declaration.
3229 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
3230 check.
3231 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
3232 (sysctl): Add deprecation attribute.
3233 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
3234 directly, to avoid the deprecation warning. Do not include
3235 <string.h>.
3236 (__sysctl): Remove hidden alias.
3237
5dad6ffb
FW
32382019-06-12 Florian Weimer <fweimer@redhat.com>
3239
3240 Linux: Use kernel headers for statx definitions if available.
3241 * include/bits/statx-generic.h: New file.
3242 * include/bits/types/struct_statx.h: Likewise.
3243 * include/bits/types/struct_statx_timestamp.h: Likewise.
3244 * io/Makefile (headers): Add bits/statx-generic.h.
3245 * io/bits/statx-generic.h: New file. Partly copied from
3246 io/bits/statx.h.
3247 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
3248 define original_statx.
3249 * io/bits/types/struct_statx.h: Likewise.
3250 * io/bits/types/struct_statx_timestamp.h: Likewise.
3251 (statx_generic): Use original_statx.
3252 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
3253 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
3254
4e75c2a4
FW
32552019-06-12 Florian Weimer <fweimer@redhat.com>
3256
3257 * misc/sys/cdefs.h (__glibc_has_include): Define.
3258
680942b0
WD
32592019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3260
3261 * string/memmem.c (__memmem): Rewrite to improve performance.
3262
5e0a7ecb
WD
32632019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3264
3265 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
3266 warning.
3267 (two_way_long_needle): Block inlining.
3268 * string/strstr.c (strstr2): Add new function.
3269 (strstr3): Likewise.
3270 (STRSTR): Completely rewrite strstr to improve performance.
3271
80b2bfb5
WD
32722019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
3273
3274 * benchtests/bench-strstr.c (test_hard_needle): New function.
3275
e6e24243
JM
32762019-06-10 Joseph Myers <joseph@codesourcery.com>
3277
3278 * malloc/tst-calloc.c: Include <libc-diag.h>.
3279 (null_test): Ignore -Wunused-result around calls to calloc.
3280 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
3281 (do_test): Ignore -Wunused-result around call to malloc.
3282
51ea67d5
FW
32832019-06-07 Florian Weimer <fweimer@redhat.com>
3284
3285 Linux: Add getdents64 system call.
3286 * include/dirnent.h (getdents): Add comment and change buffer
3287 argument type to void *.
3288 (getdents64): Likewise. Add hidden prototype.
3289 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
3290 getdents64.
3291 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
3292 Add tst-getdents64.
3293 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
3294 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
3295 argument type to void *.
3296 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
3297 Add hidden definition and getdents64 alias.
3298 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
3299 Likewise.
3300 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
3301 * manual/filesys.texi (Accessing Directories): Add Low-level
3302 Directory Access node reference.
3303 (Opening a Directory): Cross-reference it.
3304 (Low-level Directory Access): New node.
3305 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
3306 getdents64.
3307 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3308 Likewise.
3309 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3310 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
3311 Likewise.
3312 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
3313 Likewise.
3314 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
3315 Likewise.
3316 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
3317 Likewise.
3318 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3319 Likewise.
3320 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3321 Likewise.
3322 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3323 Likewise.
3324 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3325 (GLIBC_2.30): Likewise.
3326 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3327 (GLIBC_2.30): Likewise.
3328 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3329 (GLIBC_2.30): Likewise.
3330 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3331 (GLIBC_2.30): Likewise.
3332 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3333 Likewise.
3334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3335 (GLIBC_2.30): Likewise.
3336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3337 (GLIBC_2.30): Likewise.
3338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3339 (GLIBC_2.30): Likewise.
3340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3341 (GLIBC_2.30): Likewise.
3342 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3343 Likewise.
3344 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3345 Likewise.
3346 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3347 Likewise.
3348 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3349 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3350 Likewise.
3351 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3352 Likewise.
3353 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3354 Likewise.
3355 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3356 Likewise.
3357
de751ebc
PC
33582019-06-06 Paul A. Clarke <pc@us.ibm.com>
3359
3360 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
3361 (__FPU_MFFS): New.
3362 (__FPU_MFFSL): New.
3363 (_FPU_GET_RC): New.
3364 (_FPU_GETCW): Use __FPU_MFFS().
3365 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
3366
28dd3939
FW
33672019-06-06 Florian Weimer <fweimer@redhat.com>
3368
3369 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
3370 internal GCC preprocessor identifier __has_include__.
3371
0158473d
PC
33722019-06-05 Paul A. Clarke <pc@us.ibm.com>
3373
3374 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
3375 with call to equivalent function.
3376
e863dbf6
FW
33772019-06-04 Florian Weimer <fweimer@redhat.com>
3378
3379 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
3380 (do_release_shlib): Adjust for __twalk_r.
3381 (__gconv_release_shlib): Call __twalk_r.
3382
4802be92
AS
33832019-06-04 Andreas Schwab <schwab@suse.de>
3384
3385 [BZ #18830]
3386 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
3387 no irreversible characters occurred.
3388 * iconv/gconv_simple.c (internal_ucs4_loop)
3389 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
3390 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
3391 (ucs4_internal_loop_single, internal_ucs4le_loop)
3392 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
3393 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
3394 (ucs4le_internal_loop_single): Add const to outend.
3395 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
3396 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
3397 * iconv/Makefile (tests): Add tst-iconv7.
3398 * iconv/tst-iconv7.c: New file.
3399
dc91a19e
JM
34002019-06-03 Joseph Myers <joseph@codesourcery.com>
3401
3402 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
3403
6a1a9a49 34042019-06-01 Florian Weimer <fweimer@redhat.com>
6b33f373
FW
3405
3406 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
3407 * sysdeps/unix/sysv/linux/arm/Makefile
3408 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
3409 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
3410 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
3411 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
3412 compatibility symbols.
3413
0bb8f8c7
FW
34142019-05-31 Florian Weimer <fweimer@redhat.com>
3415
3416 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
3417 system calls for the arm architecture: breakpoint, get_tls,
3418 set_tls, usr26, usr32.
3419
9250e661
GG
34202019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
3421
3422 * sysdeps/powerpc/Makefile
3423 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
3424 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
3425 Declare '.machine power7' to get support for ldbrx.
3426 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
3427 directive based on the directory of the file.
3428 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
3429 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
3430 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
3431 '.machine' directive.
3432 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
3433 (VADDUQM_V7_V8): Remove.
3434 (__STRCASECMP): Replace macros with actual instructions.
3435 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
3436 '.machine' directive.
3437 (VCLZD_V8_v7): Remove.
3438 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
3439
fbd6c928
AZ
34402019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3441
3442 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
3443 Remove file.
3444 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
3445
e47308c9
AZ
34462019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3447
3448 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
3449 NEARBYINT handling.
3450 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
3451 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
3452 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
3453 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
3454 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
3455 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3456
157cda1f 34572019-05-28 mansayk <6688000@gmail.com>
3458
3459 [BZ #24370]
3460 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
3461
182a3746 34622019-05-28 mansayk <6688000@gmail.com>
3463
3464 [BZ #24369]
3465 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
3466 (abmon): Likewise, but remove the trailing dots.
3467
c6df1ce3
JM
34682019-05-28 Joseph Myers <joseph@codesourcery.com>
3469
3470 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
3471
85188d82
FW
34722019-05-27 Florian Weimer <fweimer@redhat.com>
3473
3474 * nptl/nptl-init.c: Add comment.
3475
5c23c821
FW
34762019-05-24 Florian Weimer <fweimer@redhat.com>
3477
3478 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
3479 struct in_addr/struct in6_addr alignment.
3480
bee1f2c4
JM
34812019-05-23 Joseph Myers <joseph@codesourcery.com>
3482
3483 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3484 (F_SEAL_FUTURE_WRITE): New macro.
3485
ab74d59f 34862019-05-23 Alexandra Hájková <ahajkova@redhat.com>
481c30cb
AH
3487
3488 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
3489 * elf/tst-ldconfig-bad-aux-cache.c: New file.
3490 * elf/tst-ldconfig_aux-cache.root: New directory.
3491 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
3492 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
3493 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
3494
cb755eed
ZW
34952019-05-22 Zack Weinberg <zackw@panix.com>
3496
3497 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
3498 host type.
3499 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
3500 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
3501
3502 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
3503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
3504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
3505 Delete.
3506
3507 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
3508 Issue an #error if used with a compiler in SPE-float mode.
3509 * sysdeps/powerpc/powerpc32/__longjmp_common.S
3510 * sysdeps/powerpc/powerpc32/setjmp_common.S
3511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
3513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
3514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
3515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3517 Remove code to preserve SPE register state.
3518
3519 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3520 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3521 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
3522 Remove __SPE__ ifndefs.
3523
46ae0732
WD
35242019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
3525
3526 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
3527 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
3528 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
3529 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
3530 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
3531 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
3532 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
3533 (INNER_LOOP_ITERS_MEDIUM): New define.
3534 (INNER_LOOP_ITERS_SMALL): New define.
3535 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
3536 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
3537 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
3538 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
3539 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
3540
e6855a3b 35412019-05-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
004e52fe
AZ
3542
3543 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
3544 New define.
3545 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
3546 (SEMTIMEDOP_IPC_ARGS): Likewise.
3547
c9c15ac3
FW
35482019-05-21 Florian Weimer <fweimer@redhat.com>
3549
3550 [BZ #24584]
3551 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
3552 before updating __counter field and release it afterwards. Add
3553 overflow check.
3554 * iconv/gconv.h (struct __gconv_step): Mention synchronization
3555 requirement for __counter member.
3556
7e740ab2
FW
35572019-05-21 Florian Weimer <fweimer@redhat.com>
3558
3559 [BZ #24583]
3560 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
3561 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
3562 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
3563 instead of __gconv_release_step.
3564 * libio/Makefile (tests): Add tst-wfile-gconv.
3565 (tests-container): Add tst-wfile-ascii.
3566 (tst-wfile-gconv-ENV): Enable mtrace.
3567 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
3568 (tests-special): Add tst-wfile-gconv-mem.out.
3569 (tst-wfile-gconv.out): Depend on locales.
3570 (tst-wfile-gconv-mem.out): Add mtrace rule.
3571 * libio/tst-wfile-ascii.c: New file.
3572 * libio/tst-wfile-gconv.c: Likewise.
3573
09e1b0e3
FW
35742019-05-20 Florian Weimer <fweimer@redhat.com>
3575
3576 [BZ #24588]
3577 libio: Remove codecvt vtable.
3578 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
3579 __libio_codecvt.
3580 * libio/iofgetpos.c (_IO_new_fgetpos): Call
3581 __libio_codecvt_encoding.
3582 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
3583 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
3584 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
3585 * libio/iofwide.c (__libio_codecvt): Remove variable.
3586 (_IO_fwide): Do not copy __libio_codecvt.
3587 (__libio_codecvt_out): Rename from do_out and export.
3588 (do_unshift): Remove function.
3589 (__libio_codecvt_in): Rename from do_in and export.
3590 (__libio_codecvt_encoding): Rename from do_encoding and export.
3591 (do_always_noconv): Remove function.
3592 (__libio_codecvt_length): Rename from do_length and export.
3593 (do_max_length): Remove function.
3594 * libio/libio.h (enum __codecvt_result): Remove definition; moved
3595 to libioP.h.
3596 (struct _IO_codecvt): Remove fields __codecvt_destr,
3597 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
3598 __codecvt_do_encoding, __codecvt_do_always_noconv,
3599 __codecvt_do_length, __codecvt_do_max_length.
3600 * libio/libioP.h (enum __codecvt_result): Define; moved from
3601 libio.h.
3602 (__libio_codecvt_out, __libio_codecvt_in)
3603 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
3604 functions.
3605 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
3606 (_IO_wfile_underflow): Call __libio_codecvt_in.
3607 (_IO_wfile_underflow): Likewise.
3608 (_IO_wfile_underflow_mmap): Likewise.
3609 (_IO_wfile_sync): Call __libio_codecvt_encoding,
3610 __libio_codecvt_length.
3611 (adjust_wide_data): Call __libio_codecvt_encoding,
3612 __libio_codecvt_in.
3613 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
3614 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
3615 __libio_codecvt_length.
3616
75c51570
FW
36172019-05-20 Florian Weimer <fweimer@redhat.com>
3618
3619 * support/support.h (support_sbindir_prefix): Declare.
3620 (support_install_rootsbindir): Update comment.
3621 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
3622 * support/support_paths.c (support_sbindir_prefix): Define.
3623
ff6bec7d
MC
36242019-05-20 Mike Crowe <mac@mcrowe.com>
3625
b62bb3bc
MC
3626 * support/timespec.c: Add backslash to correct newline in failure
3627 message.
3628
ff6bec7d
MC
3629 * support/timespec.h: Correct confusing comment.
3630
dfba907f
AZ
36312019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3632
236c18e5
AZ
3633 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
3634 define.
3635 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
3636 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
3637 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
3638 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
3639
dfba907f
AZ
3640 [BZ #24570]
3641 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
3642 usage.
3643
13886008
JM
36442019-05-20 Joseph Myers <joseph@codesourcery.com>
3645
3646 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
3647 (NT_ARM_PACG_KEYS): Likewise.
3648
1f50f2ad
WD
36492019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
3650
3651 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
3652 (tcache_put): Remove redundant assert.
3653 (tcache_get): Remove redundant asserts.
3654 (__libc_malloc): Check tcache count is not zero.
3655 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
3656
fef7c63c
FW
36572019-05-17 Florian Weimer <fweimer@redhat.com>
3658
3659 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
3660
5f161b23
JM
36612019-05-16 Joseph Myers <joseph@codesourcery.com>
3662
3663 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3664 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
3665 0x050100].
3666 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
3667 Likewise.
3668 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3669 (__ASSUME_STATX): Likewise.
3670
ec255a97
FW
36712019-05-16 Florian Weimer <fweimer@redhat.com>
3672
3673 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
3674 flags argument.
3675 (LINE_PARSER): Do not map IPv4 addresses.
3676 (internal_nis_gethostent_r): Remove flags argument. Adjust call
3677 to parse_line.
3678 (_nss_nis_gethostent_r): Always pass AF_INET to
3679 internal_nis_gethostent_r.
3680 (internal_gethostbyname2_r): Remove flags argument. Adjust call
3681 to parse_line.
3682 (_nss_nis_gethostbyname2_r): Adjust call to
3683 internal_nis_gethostent_r.
3684 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
3685 call to internal_nis_gethostent_r.
3686 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
3687 from parse_line.
3688 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
3689 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
3690 Remove flags argument. Do not map IPv4 addresses.
3691 (internal_nisplus_gethostent_r): Adjust call to
3692 _nss_nisplus_parse_hostent.
3693 (internal_gethostbyname2_r): Remove flags argument. Adjust call
3694 to _nss_nisplus_parse_hostent.
3695 (_nss_nisplus_gethostbyname2_r): Adjust call to
3696 internal_gethostbyname2_r.
3697 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
3698 Adjust call to internal_gethostbyname2_r.
3699 (_nss_nisplus_gethostbyaddr_r): Adjust call to
3700 _nss_nisplus_parse_hostent.
3701 (_nss_nisplus_gethostbyname4_r): Adjust call to
3702 internal_gethostbyname2_r.
3703
9c02d078
FW
37042019-05-16 Florian Weimer <fweimer@redhat.com>
3705
3706 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
3707 Remove flags.
3708 (LINE_PARSER): Remove address mapping.
3709 (EXTRA_ARGS_VALUE): Remove flags argument.
3710 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
3711 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
3712 gethostbyname3_multi.
3713 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
3714 _nss_files_gethostbyname3_r.
3715 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
3716
85b0e1e8
FW
37172019-05-16 Florian Weimer <fweimer@redhat.com>
3718
3719 * support/support_test_compare_blob.c (report_blob): Report
3720 incorrect NULL blobs.
3721
11b451c8
MW
37222019-05-15 Mark Wielaard <mark@klomp.org>
3723
3724 [BZ# 24476]
3725 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
3726 __libc_once_get (once) and static_buf == NULL.
3727 (__dlerror): Check we have a valid key, set result to static_buf
3728 otherwise.
3729
32ff3975
AS
37302019-05-15 Andreas Schwab <schwab@suse.de>
3731
3732 [BZ #20568]
3733 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
3734 __codecvt_do_length.
3735 * libio/Makefile (tests): Add tst-wfile-sync.
3736 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
3737 * libio/tst-wfile-sync.c: New file.
3738 * libio/tst-wfile-sync.input: New file.
3739
a9368c34
FW
37402019-05-15 Florian Weimer <fweimer@redhat.com>
3741
3742 nss: Turn __nss_database_lookup into a compatibility symbol.
3743 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
3744 __nss_database_lookup.
3745 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
3746 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
3747 __nss_database_lookup.
3748 (__nss_next): Move to …
3749 * nss/compat-lookup.c (nss_next): … here. Change it to fail
3750 unconditionally.
3751 (__nss_database_lookup): New function.
3752 * nss/Versions (GLIBC_2.0): Update comment.
3753 (GLIBC_PRIVATE): Export __nss_database_lookup2.
3754 * grp/initgroups.c (internal_getgrouplist): Call
3755 __nss_database_lookup2 instead of __nss_database_lookup.
3756 * nscd/aicache.c (addhstaiX): Likewise.
3757 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3758 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
3759 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
3760 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
3761 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
3762 Likewise.
3763 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
3764 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
3765 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3766
ab74d59f 37672019-05-15 Alexandra Hájková <ahajkova@redhat.com>
32ff3975 3768
d50f0918
AH
3769 * support/support.h (support_install_rootsbindir): New variable.
3770 * support/support_paths.c: Likewise.
3771 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
3772
7ac6fad9
FW
37732019-05-15 Florian Weimer <fweimer@redhat.com>
3774
3775 * iconv/gconv.h (__gconv_transliterate): Move declaration …
3776 * iconv/gconv_int.h (__gconv_transliterate): … here.
3777 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
3778 * iconv/skeleton.c: Likewise.
3779
04b261bd
FW
37802019-05-14 Florian Weimer <fweimer@redhat.com>
3781
3782 Linux: Add the tgkill function.
3783 * bits/signal_ext.h: New file.
3784 * manual/signal.texi (Signaling Another Process): Document tgkill.
3785 * signal/Makefile (headers): Add bits/signal_ext.h.
3786 * signal/signal.h: Include <bits/signal_ext.h>.
3787 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
3788 (tst-tgkill): Link with libpthread.
3789 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
3790 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
3791 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
3792 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
3793 tgkill.
3794 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3795 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3796 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
3797 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3798 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3799 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3800 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3801 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3802 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3803 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3804 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
3805 Likewise.
3806 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3807 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3808 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3810 Likewise.
3811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3812 Likewise.
3813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
3814 Likewise.
3815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
3816 Likewise.
3817 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
3818 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3819 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3820 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3821 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3822 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3823 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3824 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3825
6807f47b
CD
38262019-05-14 Carlos O'Donell <carlos@redhat.com>
3827
3828 * manual/search.texi (Tree Search Function): Adjust twalk_r
3829 documentation.
3830
fdb8a0be
AZ
38312019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3832
da2b83ef
AZ
3833 [BZ #24544]
3834 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
3835 pre-defined value.
3836
c7ac9caa
AZ
3837 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
3838 * support/support.h (support_bindir_prefix): New variable.
3839 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
3840
91f043ae
AZ
3841 * config.make.in (bindir): New variable.
3842
c50e1c26
AZ
3843 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
3844 (lll_trylock): Call __lll_trylock.
3845 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
3846 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
3847 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
3848 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3849 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
3850 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
3851 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3852 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3853 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
3854 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
3855 lowlevellock-futex.h.
3856
959aff9f
AZ
3857 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
3858 initialization for LLL_LOCK_INITIALIZER different than 0.
3859 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
3860 Assume LLL_LOCK_INITIALIZER being 0.
3861 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
3862 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
3863 Likewise.
3864 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
3865 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
3866
d7e4c642
AZ
3867 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
3868 Optimize futex call and add systemtap probe.
3869
fdb8a0be
AZ
3870 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
3871 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
3872 __libc_disable_asynccancel, __librt_enable_asynccancel,
3873 __libc_disable_asynccancel, __librt_enable_asynccancel,
3874 __librt_disable_asynccancel): Move to ...
3875 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
3876 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
3877 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
3878 * sysdeps/generic/single-thread.h: New file.
3879 * sysdeps/unix/sysdep.h: Include single-thread.h.
3880 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
3881 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3882
f6efec90
MF
38832019-05-08 Mike FABIAN <mfabian@redhat.com>
3884
3885 [BZ #24535]
3886 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
3887 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
3888 Unicode 12.1.0.
3889 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
3890 * localedata/unicode-gen/PropList.txt: Likewise.
3891 * localedata/unicode-gen/UnicodeData.txt: Likewise.
3892 * localedata/charmaps/UTF-8: Regenerate.
3893 * localedata/locales/i18n_ctype: Likewise.
3894 * localedata/locales/tr_TR: Likewise.
3895 * localedata/locales/translit_circle: Likewise.
3896 * localedata/locales/translit_cjk_compat: Likewise.
3897 * localedata/locales/translit_combining: Likewise.
3898 * localedata/locales/translit_compat: Likewise.
3899 * localedata/locales/translit_font: Likewise.
3900 * localedata/locales/translit_fraction: Likewise.
3901
5ad533e8
WD
39022019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
3903
3904 [BZ #24531]
3905 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
3906 (do_set_tcache_count): Only update if count is small enough.
3907 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
3908
4aee85f9
FW
39092019-05-10 Florian Weimer <fweimer@redhat.com>
3910
3911 * nptl/sem_close.c (struct walk_closure): Define.
3912 (walker): Adjust for __twalk_r.
3913 (sem_close): Call __twalk_r.
3914
eb669ff5
AZ
39152019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3916
3917 * support/timespec.c (test_timespec_before_impl,
3918 test_timespec_equal_or_after_impl): print timespec member as intmax_t
3919 insted of long int.
3920
51983996
MC
39212019-05-09 Mike Crowe <mac@mcrowe.com>
3922
44ac6ee9
MC
3923 * nptl/tst-abstime.c: Use libsupport.
3924
495514ee
MC
3925 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
3926 small bug where only tv.tv_usec was checked which could cause an
3927 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
3928 than a second.
3929
3930 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
3931 libsupport.
3932
40d0816f
MC
3933 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
3934 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
3935
d8e0b901
MC
3936 * nptl/tst-cond11.c: Use libsupport.
3937
51983996
MC
3938 * support/timespec.h: New file. Provide timespec helper functions
3939 along with macros in the style of those in check.h.
3940 * support/timespec.c: New file. Implement check functions declared
3941 in support/timespec.h.
3942 * support/timespec-add.c: New file from gnulib containing
3943 timespec_add implementation that handles overflow.
3944 * support/timespec-sub.c: New file from gnulib containing
3945 timespec_sub implementation that handles overflow.
3946 * support/README: Mention timespec.h.
3947
18aa51ee
SN
39482019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
3949
3950 [BZ #24537]
3951 * nptl/Makefile: Move tst-eintr1 to xtests.
3952
252296c6
AZ
39532019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3954
ae45cf84
AZ
3955 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
3956 TRUNC handling.
3957 (round_mode): Add definition for TRUNC.
3958 * sysdeps/powerpc/fpu/s_trunc.c: New file.
3959 * sysdeps/powerpc/fpu/s_truncf.c: New file.
3960 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
3961 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3962 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
3963 Likewise.
3964 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
3965 Likewise.
3966 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
3967 Likewise.
3968 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
3969 Likewise.
3970 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
3971 file.
3972 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
3973 Likewise.
3974 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
3975 Likewise.
3976 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
3977 Likewise.
3978 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
3979 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
3980 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
3981 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
3982 s_truncf-power5+, and s_truncf-ppc64.
3983 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
3984 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
3985 file.
3986 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
3987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
3988 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
3989 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
3990 file.
3991 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
3992 Likewise.
3993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
3994 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
3995 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3996 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
3997 s_truncf-power5+, and s_truncf-ppc64.
3998 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
3999 file.
4000 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
4001 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
4002 Likewise.
4003 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
4004 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4005 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4006 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
4007 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
4008
a1cb1888
AZ
4009 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
4010 ROUND handling.
4011 (round_mode): Add definition for ROUND.
4012 (round_to_integer_float): Likewise.
4013 * sysdeps/powerpc/fpu/s_round.c: New file.
4014 * sysdeps/powerpc/fpu/s_roundf.c: New file.
4015 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
4016 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4017 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
4018 Likewise.
4019 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
4020 Likewise.
4021 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
4022 Likewise.
4023 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
4024 Likewise.
4025 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
4026 file.
4027 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
4028 Likewise.
4029 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
4030 Likewise.
4031 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
4032 Likewise.
4033 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
4034 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
4035 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
4036 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
4037 s_roundf-power5+, and s_roundf-ppc64.
4038 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
4039 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
4040 file.
4041 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
4042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
4043 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
4044 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
4045 file.
4046 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
4047 Likewise.
4048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
4049 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
4050 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4051 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
4052 s_roundf-power5+, and s_roundf-ppc64.
4053 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
4054 file.
4055 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
4056 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
4057 Likewise.
4058 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
4059 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4060 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4061 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
4062 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
4063
252296c6
AZ
4064 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
4065 Add FLOOR option.
4066 (round_mode): Add definition for FLOOR.
4067 * sysdeps/powerpc/fpu/s_floor.c: New file.
4068 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
4069 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
4070 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
4072 Remove file.
4073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
4074 Likewise
4075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
4076 Likewise.
4077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
4078 Likewise.
4079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
4080 New file.
4081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
4082 Likewise.
4083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
4084 Likewise.
4085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
4086 Likewise.
4087 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
4088 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
4089 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
4090 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
4091 s_floorf-power5+, and s_floorf-ppc64.
4092 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
4093 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
4094 file.
4095 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
4096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
4097 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
4098 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
4099 file.
4100 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
4101 Likewise.
4102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
4103 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
4104 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4105 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
4106 s_floorf-power5+, and s_floorf-ppc64.
4107 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
4108 file.
4109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
4110 file.
4111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
4112 Likewise.
4113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
4114 Likewise.
4115 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4116 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4117 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
4118 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
4119
33647a72
MC
41202019-05-08 Mike Crowe <mac@mcrowe.com>
4121
4122 * support/xclock_gettime.c (xclock_gettime): New file. Provide
4123 clock_gettime wrapper for use in tests that fails the test rather
4124 than returning failure.
4125
4126 * support/xtime.h: New file to declare xclock_gettime.
4127
4128 * support/Makefile: Add xclock_gettime.c.
4129
4130 * support/README: Mention xtime.h.
4131
b2f601ba
FW
41322019-05-08 Florian Weimer <fweimer@redhat.com>
4133
4134 malloc/tst-mallocfork2: Use process-shared barriers.
4135 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
4136 (signal_count, sigusr1_sender_pid): Remove.
4137 (iterations): Define constant.
4138 (shared): New variable.
4139 (sigusr1_received): Update comment.
4140 (sigusr1_handler): Do not send SIGSTOP to the sender process.
4141 (signal_sender): Optional use barriers to avoid sending signals
4142 during irrelevant times.
4143 (do_it): Initialize variable shared. Use xfork for error
4144 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
4145 the iteration count, independent of signal delivery. Check for
4146 deadlocks in fork. Introduce barriers for reducing signal
4147 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
4148 replaced by the barriers. Count signals during fork/free/malloc
4149 and report them.
4150 * malloc/Makefile (tst-mallocfork): Link with libpthread.
4151
c4a392cf
JM
41522019-05-07 Joseph Myers <joseph@codesourcery.com>
4153
7621676f
JM
4154 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4155 version to 5.1.
4156 (clock_adjtime64) New syscall.
4157 (clock_getres_time64) Likewise.
4158 (clock_gettime64) Likewise.
4159 (clock_nanosleep_time64) Likewise.
4160 (clock_settime64) Likewise.
4161 (futex_time64) Likewise.
4162 (io_pgetevents_time64) Likewise.
4163 (io_uring_enter) Likewise.
4164 (io_uring_register) Likewise.
4165 (io_uring_setup) Likewise.
4166 (mq_timedreceive_time64) Likewise.
4167 (mq_timedsend_time64) Likewise.
4168 (pidfd_send_signal) Likewise.
4169 (ppoll_time64) Likewise.
4170 (pselect6_time64) Likewise.
4171 (recvmmsg_time64) Likewise.
4172 (rt_sigtimedwait_time64) Likewise.
4173 (sched_rr_get_interval_time64) Likewise.
4174 (semtimedop_time64) Likewise.
4175 (timer_gettime64) Likewise.
4176 (timer_settime64) Likewise.
4177 (timerfd_gettime64) Likewise.
4178 (timerfd_settime64) Likewise.
4179 (utimensat_time64) Likewise.
4180
c4a392cf
JM
4181 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
4182 version to 9 branch.
4183
32e902a9
AY
41842019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
4185
4186 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
4187 __memmove_thunderx2 to the list of implementations
4188 * sysdeps/aarch64/multiarch/memmove.c: Likewise
4189 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
4190 (__memmove_thunderx2): Rewritten using SIMD ld/st
4191 (__memcpy_thunderx2): Fixed handling overlapping cases.
4192 Used ldp/stp instead of ldr/str if possible. Made loops
4193 tails branchless.
4194
ac3da35d
FW
41952019-05-03 Florian Weimer <fweimer@redhat.com>
4196
4197 * misc/tst-tsearch.c (walk_tree): Add more error checking.
4198
b2af6fb2
AZ
41992019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4200
7dfde28a 4201 [BZ #24506]
b2af6fb2
AZ
4202 * elf/tst-pldd.c (in_str_list): New function.
4203 (do_test): Add default names for ld and libc as one option.
4204
7b807a35
FW
42052019-05-02 Florian Weimer <fweimer@redhat.com>
4206
4207 misc: Add twalk_r function.
4208 * include/search.h (__twalk_r): Declare.
4209 * manual/examples/twalk.c: New file.
4210 * manual/search.texi (Tree Search Function): Document twalk_r.
4211 * misc/Versions (2.30): Export twalk_r.
4212 (GLIBC_PRIVATE): Export __twalk_r.
4213 * misc/search.h [__USE_GNU] (twalk_r): Declare.
4214 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
4215 (twalk_r): Add weak alias.
4216 * misc/tst-tsearch.c (struct walk_trace_element): Define.
4217 (walk_trace): New variable.
4218 (struct twalk_with_twalk_r_closure): Define.
4219 (twalk_with_twalk_r_action): New function.
4220 (twalk_with_twalk_r): Likewise.
4221 (walk_action): Call walk_trace_add.
4222 (walk_tree_with): Rename from walk_tree. Add walk argument.
4223 (walk_tree): New function.
4224 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
4225 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
4226 Likewise.
4227 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
4228 Likewise.
4229 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
4230 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
4231 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
4232 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
4233 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
4234 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
4235 Likewise.
4236 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
4237 Likewise.
4238 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
4239 Likewise.
4240 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4241 (GLIBC_2.30): Likewise.
4242 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4243 (GLIBC_2.30): Likewise.
4244 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4245 (GLIBC_2.30): Likewise.
4246 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4247 (GLIBC_2.30): Likewise.
4248 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
4249 Likewise.
4250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4251 (GLIBC_2.30): Likewise.
4252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4253 (GLIBC_2.30): Likewise.
4254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
4255 (GLIBC_2.30): Likewise.
4256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
4257 (GLIBC_2.30): Likewise.
4258 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
4259 Likewise.
4260 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
4261 Likewise.
4262 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
4263 Likewise.
4264 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
4265 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
4266 Likewise.
4267 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
4268 Likewise.
4269 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
4270 Likewise.
4271 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
4272 Likewise.
4273
20aa5819
PE
42742019-04-30 Paul Eggert <eggert@cs.ucla.edu>
4275
4276 Make mktime etc. compatible with __time64_t
4277 Keep these functions compatible with Gnulib while adding
4278 __time64_t support. The basic idea is to move private API
4279 declarations from include/time.h to time/mktime-internal.h, since
4280 the former file cannot easily be shared with Gnulib whereas the
4281 latter can.
4282 Also, do some other minor cleanup while in the neighborhood.
4283 * include/time.h: Include stdbool.h, time/mktime-internal.h.
4284 (__mktime_internal): Move this prototype to time/mktime-internal.h,
4285 since Gnulib needs it.
4286 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
4287 Move these macros to time/mktime-internal.h, since Gnulib needs them.
4288 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
4289 (in_time_t_range): New static function.
4290 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
4291 so that glibc users are not tempted to use __time64_t.
4292 * time/mktime-internal.h: Rewrite so that it does both glibc
4293 and Gnulib work. Include time.h if not _LIBC.
4294 (mktime_offset_t) [!_LIBC]: Define for gnulib.
4295 (__time64_t): New type or macro, moved here from
4296 posix/bits/types.h.
4297 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
4298 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
4299 from include/time.h.
4300 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
4301 New macros, taken from GNulib.
4302 (__mktime_internal): New prototype, moved here from include/time.h.
4303 * time/mktime.c (mktime_min, mktime_max, convert_time)
4304 (ranged_convert, __mktime_internal, __mktime64):
4305 * time/timegm.c (__timegm64):
4306 Use __time64_t, not time_t.
4307 * time/mktime.c: Stop worrying about whether time_t is floating-point.
4308 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
4309 Rename from mktime.
4310 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
4311 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
4312 for libc_hidden_def.
4313 Include errno.h.
4314 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
4315 Rename from timegm.
4316 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
4317
87c266d7
MR
43182019-04-30 Maciej W. Rozycki <macro@wdc.com>
4319
4320 [BZ #19444]
4321 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
4322 from `-Wmaybe-uninitialized'.
4323 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
4324
c4c0848b
AZ
43252019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4326
6cac323c
AZ
4327 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
4328 function.
4329 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
4330 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
4331 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
4332 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
4333 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
4335 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
4336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
4337 Remove file.
4338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
4339 Likewise.
4340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
4341 Likewise.
4342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
4343 Likewise.
4344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
4345 New file.
4346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
4347 Likewise.
4348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
4349 Likewise.
4350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
4351 Likewise.
4352 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
4353 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
4354 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
4355 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
4356 Likewise.
4357 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
4358 Likewise.
4359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
4360 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
4361 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
4362 file.
4363 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
4364 Likewise.
4365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
4366 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
4367 * here.
4368 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4369 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
4370 s_ceilf-power5+, and s_ceilf-ppc64.
4371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
4372 file.
4373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
4374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
4375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
4376 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
4377 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
4378 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
4379 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
4380
c4c0848b
AZ
4381 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
4382 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
4383 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
4384
f492fc99
YD
43852019-04-29 Yann Droneaud <ydroneaud@opteya.com>
4386
4387 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
4388 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
4389 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
4390 (sem_getvalue): Likewise.
4391
c57afec0
FW
43922019-04-26 Florian Weimer <fweimer@redhat.com>
4393
4394 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
4395 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
4396
a8ff215e
FW
43972019-04-26 Florian Weimer <fweimer@redhat.com>
4398
4399 Makeconfig: Move -Wl,-rpath-link options before library references.
4400 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
4401 (link-libc): Remove $(link-libc-rpath-link).
4402
44032019-04-25 Florian Weimer <fweimer@redhat.com>
4404
4405 * Makeconfig (+link-pie-before-libc): Remove $(CC).
4406 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
4407 (+link-static-before-libc): Remove $(CC).
4408 (+link-static, +link-static-tests): Add $(CC).
4409 (+link-before-libc): Remove $(CC).
4410 (+link, +link-pie, +link-pie-printers): Add $(CC).
4411
e30fb31c
FW
44122019-04-26 Florian Weimer <fweimer@redhat.com>
4413
4414 * Makeconfig (+link-pie-before-libc): Remove $(CC).
4415 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
4416 (+link-static-before-libc): Remove $(CC).
4417 (+link-static, +link-static-tests): Add $(CC).
4418 (+link-before-libc): Remove $(CC).
4419 (+link, +link-pie, +link-pie-printers): Add $(CC).
4420
deacca00
DA
44212019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
4422
4423 [BZ#24484]
4424 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
4425
b5ffdc48
FW
44262019-04-25 Florian Weimer <fweimer@redhat.com>
4427
4428 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
4429 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
4430 (bench-link-targets): New variable.
4431 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
4432
94a4e9e4
FW
44332019-04-25 Florian Weimer <fweimer@redhat.com>
4434
4435 Also enable BIND_NOW for programs if --enable-bind-now.
4436 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
4437 (+link-pie): Use $(link-extra-flags).
4438 (+link-static): Likewise.
4439 [! $(build-pie-default)] (+link): Likewise.
4440 * manual/install.texi (Configuring and compiling): Update
4441 --enable-bind-now description.
4442 * INSTALL: Regenerated.
4443
fe92a91f
WD
44442019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
4445
4446 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
4447 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
4448
f9b645b4
MF
44492019-04-24 Mike Frysinger <vapier@gentoo.org>
4450
4451 [BZ #18465]
4452 * malloc/Makefile (others): Add memusagestat.
4453 ($(objpfx)memusagestat): Delete rule.
4454 (LDLIBS-memusagestat): New variable.
4455
439bf534
FW
44562019-04-24 Florian Weimer <fweimer@redhat.com>
4457
4458 * locale/Makefile (tests-special): Guard setting by
4459 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
4460 to run while cross-compiling.
4461
1a4c2735
AZ
44622019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4463
4464 [BZ #18035]
4465 * elf/Makefile (tests-container): Add tst-pldd.
4466 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
4467 (E(find_maps)): Avoid use alloca, use default read file operations
4468 instead of explicit LFS names, and fix infinite loop.
4469 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
4470 (get_process_info): Use _Static_assert instead of assert, use default
4471 directory operations instead of explicit LFS names, and free some
4472 leadek pointers.
4473 * elf/tst-pldd.c: New file.
4474
2d398aa2
L
44752019-04-23 H.J. Lu <hongjiu.lu@intel.com>
4476
4477 * malloc/arena.c (do_set_mallopt_check): Removed.
4478
e485b2b6
FW
44792019-04-23 Florian Weimer <fweimer@redhat.com>
4480
4481 locale: Add LOCPATH diagnostics to the locale program.
4482 * locale/programs/locale.c (setlocale_failed): New variable.
4483 (try_setlocale): New function.
4484 (quote_string): Likewise.
4485 (setlocale_diagnostics): Likewise.
4486 (main): Call try_setlocale instead of setlocale. Call
4487 setlocale_diagnostics.
4488 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
4489 (tst-locale-locpath.out): New target.
4490 * locale/tst-locale-locpath.sh: New file.
4491
25f7a3c9
AZ
44922019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4493
4494 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
4495 to 2.30 notes.
4496
9bf8e29c
AZ
44972019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4498
4499 [BZ #23741]
4500 * malloc/hooks.c (malloc_check, realloc_check): Use
4501 __builtin_add_overflow on overflow check and adapt to
4502 checked_request2size change.
4503 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
4504 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
4505 allocation size to PTRDIFF_MAX.
4506 (REQUEST_OUT_OF_RANGE): Remove macro.
4507 (checked_request2size): Change to inline function and limit maximum
4508 requested size to PTRDIFF_MAX.
4509 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
4510 maximum allocation size to PTRDIFF_MAX.
4511 (_mid_memalign): Use _int_memalign call for overflow check.
4512 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
4513 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
4514 limit maximum requested size to PTRDIFF_MAX.
4515 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
4516 valloc, pvalloc): Add __attribute_alloc_size__.
4517 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
4518 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
4519 larger than PTRDIFF_MAX.
4520 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
4521 around tests of malloc with negative sizes.
4522 * malloc/tst-posix_memalign.c (do_test): Likewise.
4523 * malloc/tst-pvalloc.c (do_test): Likewise.
4524 * malloc/tst-valloc.c (do_test): Likewise.
4525 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
4526 with resulting size allocation larger than PTRDIFF_MAX with
4527 reallocarray_nowarn.
4528 (reallocarray_nowarn): New function.
4529 * NEWS: Mention the malloc function semantic change.
4530
0e169691
AZ
45312019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4532
52faba65
AZ
4533 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
4534 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
4535
3a16dd78
AZ
4536 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
4537 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
4538 * sysdeps/powerpc/fpu/s_fma.c: New file.
4539 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
4540
1dac8bd6
AZ
4541 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
4542 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
4543
a3ae315a
AZ
4544 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
4545 the magic flag store.
4546 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
4547 Likewise.
4548 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
4549 Likewise.
4550 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
4551 Remove rt_sigreturn call.
4552
ffe8a9a8
AZ
4553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4554 Remove rt_sigreturn call.
4555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4556 Likewise.
4557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
4558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4559
0e169691
AZ
4560 * support/Makefile (libsupport-routines): Add support_subprocess,
4561 xposix_spawn, xposix_spawn_file_actions_addclose, and
4562 xposix_spawn_file_actions_adddup2.
4563 (tst-support_capture_subprocess-ARGS): New rule.
4564 * support/capture_subprocess.h (support_capture_subprogram): New
4565 prototype.
4566 * support/support_capture_subprocess.c (support_capture_subprocess):
4567 Refactor to use support_subprocess and support_capture_poll.
4568 (support_capture_subprogram): New function.
4569 * support/tst-support_capture_subprocess.c (write_mode_to_str,
4570 str_to_write_mode, test_common, parse_int, handle_restart,
4571 do_subprocess, do_subprogram, do_multiple_tests): New functions.
4572 (do_test): Add support_capture_subprogram tests.
4573 * support/subprocess.h: New file.
4574 * support/support_subprocess.c: Likewise.
4575 * support/xposix_spawn.c: Likewise.
4576 * support/xposix_spawn_file_actions_addclose.c: Likewise.
4577 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
4578 * support/xspawn.h: Likewise.
4579
bae8cf0e
MG
45802019-04-17 Mike Gerow <gerow@google.com>
4581
4582 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
4583 groups limit.
4584
e3f454ba
FW
45852019-04-11 Florian Weimer <fweimer@redhat.com>
4586
4587 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
4588 domain with empty string.
4589 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4590
32d85c11
FW
45912019-04-11 Florian Weimer <fweimer@redhat.com>
4592
4593 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
4594 comment.
4595 (alloc_buffer_next): Change return type to non-const. Update
4596 comment.
4597
221710af
FW
45982019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
4599
4600 * manual/time.texi (Formatting Calendar Time): Add missing percent
4601 sign to conversion specifier.
4602
e621246e
CD
46032019-04-09 Carlos O'Donell <carlos@redhat.com>
4604 Kwok Cheung Yeung <kcy@codesourcery.com>
4605
4606 [BZ #16573]
4607 * malloc/mtrace.c: Define prototypes for all hooks.
4608 (set_default_hooks): New function.
4609 (set_trace_hooks): Likewise.
4610 (save_default_hooks): Likewise.
4611 (tr_freehook): Use new s*_hooks functions.
4612 (tr_mallochook): Likewise.
4613 (tr_reallochook): Likewise.
4614 (tr_memalignhook): Likewise.
4615 (mtrace): Likewise.
4616 (muntrace): Likewise.
4617
648279f4
WD
46182019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4619
4620 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
4621 (generic_stpcpy): New function.
4622 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
4623 (generic_stpncpy): New function.
4624 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
4625 (generic_strcat): New function.
4626 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
4627 (generic_strcpy): New function.
4628 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
4629 (STUPID_STRNCAT): Remove function.
4630 (generic_strncat): New function.
4631 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
4632 (STUPID_STRNCPY): Remove function.
4633 (generic_strncpy): New function.
4634 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
4635 (generic_strnlen): New function.
4636 (memchr_strnlen): New function.
4637 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
4638 (memchr_strlen): Likewise.
4639
93eebae5
WD
46402019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4641
4642 * benchtests/bench-strstr.c (input): Add realistic input text.
4643 (stupid_strstr): Remove function.
4644 (basic_strstr): Add function.
4645 (twoway_strstr): Add function.
4646 (do_one_test): Add result checking.
4647 (do_test): Use new input text. Remove accidental early matches.
4648 (test_main): Improve range of tests, reduce unaligned cases.
4649
a173d09f
WD
46502019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4651
4652 * benchtests/bench-memmem.c (simple_memmem): Remove function.
4653 (basic_memmem): Add function.
4654 (twoway_memmem): Add function.
4655
6103c0a8
WD
46562019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4657
4658 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
4659 * benchtests/bench-malloc-thread.c: Likewise.
4660 * benchtests/bench-skeleton.c: Likewise.
4661 * benchtests/bench-strtod.c: Likewise.
4662 * benchtests/bench-timing.h: Likewise.
4663
33322186
FW
46642019-04-08 Florian Weimer <fweimer@redhat.com>
4665
4666 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
4667 definitions.
4668 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
4669 RES_INSECURE2 security checks.
4670 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
4671 RES_INSECURE2 handling.
4672
3f8b44be
FW
46732019-04-08 Florian Weimer <fweimer@redhat.com>
4674
4675 resolv: Remove support for RES_USE_INET6 and the inet6 option.
4676 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
4677 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
4678 GETHOSTBYNAME.
4679 * resolv/Makefile (tests): Remove tst-res_use_inet6.
4680 (tests-internal): Update justification for tst-resolv-res_init,
4681 tst-resolv-res_init-thread.
4682 (tst-res_use_inet6): Remove target.
4683 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
4684 * resolv/res_debug.c (p_option): Remove "inet6" support.
4685 * resolv/res_init.c (res_setoptions): Likewise.
4686 * resolv/res_use_inet6.h: Remove file.
4687 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
4688 definition.
4689 (res_use_inet6): Always return false.
4690 * resolv/resolv.h (RES_USE_INET6): Remove definition.
4691 * resolv/resolv_context.h: Adjust file comment.
4692 (struct resolv_context): Update comment on __next field.
4693 (__resolv_context_put): Update comment.
4694 * resolv/tst-res_use_inet6.c: Remove file.
4695 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
4696 "inet6" support.
4697 (test_cases): Adjust test case.
4698 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
4699 (thread_byname2_af_inet6): Use old byname_inet6 code.
4700 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
4701 (gai): Remove do_inet6 argument.
4702 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
4703 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
4704 (thread_gai_unspec_inet6): Remove functions.
4705 (do_test): Adjust thread_funcs.
4706 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
4707 RES_USE_INET6 flag.
4708 (gaih_inet): Do not disable RES_USE_INET6 flag.
4709
6b5c8607 47102019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
94e358f6
AY
4711
4712 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
4713 and remove redundant code.
4714
e3fd0b0e
AZ
47152019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4716
f82ed45d
AZ
4717 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
4718 New rule.
4719 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
4720 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
4721 Likewise.
4722 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
4723 Likewise.
4724 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
4725 Likewise.
4726 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4727 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
4728 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
4729 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
4730 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4731 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
4732 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4733 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
4734 wcsrchr-power7.
4735 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
4736 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
4737 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4738 Remove wcsrchr optimizations.
4739 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4740
662c2cc4
AZ
4741 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
4742 the loop unroll.
4743
421e3005
AZ
4744 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
4745 New rule.
4746 * sysdeps/powerpc/power6/wcschr.c: Remove file.
4747 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
4748 Likewise.
4749 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
4750 Likewise.
4751 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
4752 Likewise.
4753 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4754 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
4755 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
4756 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
4757 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4758 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
4759 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4760 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
4761 wcschr-power7.
4762 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
4763 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
4764 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4765 Remove wcschr optimizations.
4766 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4767
7ba0100c
AZ
4768 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
4769 the loop unroll.
4770
447a1306
AZ
4771 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
4772 New rule.
4773 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
4774 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
4775 Likewise.
4776 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
4777 Likewise.
4778 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
4779 Likewise.
4780 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4781 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
4782 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
4783 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
4784 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4785 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
4786 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4787 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
4788 wcscpy-power7.
4789 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
4790 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
4791 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4792 Remove wcscpy optimizations.
4793 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4794
e3fd0b0e
AZ
4795 * include/loop_unroll.h: New file.
4796 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
4797 besides generic implementation.
4798
8260f236
DD
47992019-04-03 DJ Delorie <dj@redhat.com>
4800
4801 * time/tst-strftime3.c (tm_to_printed): Disable warning about
4802 snprintf truncating output.
4803
0bd545ee
DD
48042019-04-02 DJ Delorie <dj@redhat.com>
4805
4806 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
4807 warning.
4808
466afec3
TS
48092019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
4810
4811 [BZ #22964]
4812 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
4813 era.
4814 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
4815 (mkreftable): Add rules for the new Japanese era and the new dates.
4816
2f1d6155 48172019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
ab74d59f 4818 Rafał Lużyński <digitalfreak@lingonborough.com>
2f1d6155
TS
4819
4820 * time/tst-strftime2.c (date_t): Explicitly define the type.
4821 (dates): Use natural month and year numbers to express a date.
4822 (is_before): New function to compare dates.
4823 (mkreftable): Minor improvements to simplify maintenance.
4824 (do_test): Reflect the changes in dates array.
4825
84aea169
TS
4826 [BZ #24293]
4827 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
4828 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
4829 * time/tst-strftime2.c (locales): Likewise.
4830 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
4831 2010-04-01, and 2011-04-01.
4832 (mkreftable): Add rules for the new locales and the new dates.
4833
62449176
CD
48342019-04-01 Carlos O'Donell <carlos@redhat.com>
4835
4836 * localedata/locales/ja_JP: Add comments to era entries.
4837
e0e4c321
DD
48382019-04-01 DJ Delorie <dj@redhat.com>
4839
4840 [BZ #24394]
4841 * time/strptime_l.c (%Ey): Fix fencepost error.
4842 * time/tst-strftime3.c: New.
4843 * time/Makefile (tests): Add tst-strftime3.
4844
ab74d59f 48452019-04-01 Uroš Bizjak <ubizjak@gmail.com>
993e3107
UB
4846
4847 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
4848 conditional branch to DIVBYZERO. Fix unwind info.
4849 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
4850 excb after conditional branch to $powerof2. Add missing unop
4851 instructions and .align directives and reorder instructions to
4852 match __divqu.
4853
d5ecee82
RH
48542019-04-01 Richard Henderson <rth@twiddle.net>
4855
4856 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
4857 Do not redefine.
4858 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
4859 Do not redefine.
4860
656dd306
MR
48612019-03-30 Maciej W. Rozycki <macro@wdc.com>
4862
4863 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
4864 $libc_cv_riscv_float_abi in `test' invocation.
4865 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
4866
10cce669
PC
48672019-03-29 Paul A. Clarke <pc@us.ibm.com>
4868
4869 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
4870 asm with builtin.
4871 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
4872 Likewise.
4873 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4874 (_GET_SI_FPSCR): Likewise.
4875 (_SET_SI_FPSCR): Likewise.
4876
5e67e4bf 48772019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4997e8f3
AZ
4878
4879 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
4880 clang 2.8.
4881 (signbit): Use builtin for clang 3.3.
4882 (isinf): Use builtin for clang 3.7.
4883
01963891
AZ
48842019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4885
4886 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
4887
67112f7a
AH
48882019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
4889
4890 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
4891 quote in printf.
4892
7a773abf
MC
48932019-03-25 Mike Crowe <mac@mcrowe.com>
4894
82849fde
MC
4895 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
4896 pthread_rwlock_timedrdlock with calls to
4897 pthread_rwlock_timedwrlock to ensure that the latter is tested
4898 too. Use new function name in diagnostic messages too.
4899
7a773abf
MC
4900 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
4901 (do_test) Use libsupport test macros rather than hand-coded
4902 conditionals and error messages. Ensure that sem_init returns zero
4903 rather than not -1. Use <support/test-driver.c> rather than
4904 test-skeleton.c.
4905
4906 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
4907 test macros rather than hand-coded conditionals and error messages.
4908 Use <support/test-driver.c> rather than test-skeleton.c.
4909
9ac2de69
JM
49102019-03-25 Joseph Myers <joseph@codesourcery.com>
4911
d7563e62
JM
4912 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
4913
9ac2de69
JM
4914 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
4915 (NT_MIPS_MSA): Likewise.
4916
38cc11da
AZ
49172019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4918
7621e38b
WD
4919 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
4920 * benchtests/README: Update description.
4921 * benchtests/bench-timing.h: Default to hp-timing.
4922 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
4923 HP_TIMING_PRINT): Remove.
4924 (HP_TIMING_NOW): Add generic implementation.
4925 (hp_timing_t): Change to uint64_t.
4926
1e372ded
AZ
4927 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
4928 HP_TIMING_INLINE.
4929 * nptl/descr.h: Likewise.
4930 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
4931 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
4932 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
4933 Abstract hp-timing usage with RTLD_* macros.
4934 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
4935 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
4936 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
4937 HP_TIMING_NONAVAIL): Likewise.
4938 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
4939 Likewise.
4940 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
4941 HP_SMALL_TIMING_AVAIL): Likewise.
4942 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
4943 HP_SMALL_TIMING_AVAIL): Likewise.
4944 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
4945 HP_SMALL_TIMING_AVAIL): Likewise.
4946 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
4947 HP_SMALL_TIMING_AVAIL): Likewise.
4948 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
4949 Likewise.
4950 * sysdeps/generic/hp-timing-common.h: Update comment with
4951 HP_TIMING_AVAIL removal.
4952
359653aa
AZ
4953 * include/random-bits.h: New file.
4954 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
4955 (__res_context_mkquery): Remove usage hp-timing usage and replace with
4956 random_bits.
4957 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
4958 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
4959 Likewise.
4960
6e8ba7fd
AZ
4961 * include/libc-internal.h (__get_clockfreq): Remove prototype.
4962 * rt/Makefile (clock-routines): Remove get_clockfreq.
4963 * rt/get_clockfreq.c: Remove file.
4964 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
4965 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
4966 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
4967 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
4968 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
4969
77b6f553
AZ
4970 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
4971 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
4972 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
4973 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
4974 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
4975
38cc11da
AZ
4976 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
4977 pthread_clock_settime.
4978 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
4979 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
4980 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
4981 * elf/rtld.c (_dl_start_final): Likewise.
4982 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
4983 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
4984 Remove.
4985 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
4986 (_dl_cpuclock_offset): Remove.
4987 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
4988 cpuclock_offset_ununsed.
4989 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
4990 cpuclock_offset set.
4991 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
4992 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
4993 * nptl/pthread_clock_gettime.c: Remove file.
4994 * nptl/pthread_clock_settime.c: Likewise.
4995 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
4996 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
4997 and CLOCK_PROCESS_CPUTIME_ID support.
4998 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
4999 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
5000 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
5001 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
5002 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
5003 Likewise.
5004 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
5005
421749d6
SL
50062019-03-22 Stefan Liebler <stli@linux.ibm.com>
5007
5008 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
5009 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
5010 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
5011 New defines.
5012 * sysdeps/s390/memmem-arch13.S: New file.
5013 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
5014 if it is only used as fallback.
5015 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
5016 * sysdeps/s390/multiarch/ifunc-impl-list.c
5017 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
5018
6f47401b
SL
50192019-03-22 Stefan Liebler <stli@linux.ibm.com>
5020
5021 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
5022 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
5023 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
5024 New defines.
5025 * sysdeps/s390/multiarch/ifunc-impl-list.c
5026 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
5027 * sysdeps/s390/strstr-arch13.S: New file.
5028 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
5029 if it is only used as fallback.
5030 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
5031
96fbb9a3
SL
50322019-03-22 Stefan Liebler <stli@linux.ibm.com>
5033
5034 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
5035 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
5036 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
5037 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
5038 ifunc selector.
5039 * sysdeps/s390/multiarch/ifunc-impl-list.c
5040 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
5041 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
5042 S390_IS_ARCH13_MIE3): New defines.
5043
a899a551
SL
50442019-03-22 Stefan Liebler <stli@linux.ibm.com>
5045
5046 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
5047 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
5048 * sysdeps/s390/configure.ac: Add checks for arch13 support.
5049 * sysdeps/s390/configure: Regenerated.
5050
1a7df49c
SL
50512019-03-22 Stefan Liebler <stli@linux.ibm.com>
5052
5053 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
5054 Add vxe2, vxp, dflt, sort flags.
5055 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
5056 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
5057 capabilities.
5058 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
5059 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
5060 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
5061 HWCAP_S390_DFLT): Define.
5062
5e67e4bf 50632019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5abcddd7
GG
5064
5065 [BZ #24372]
5066 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
5067 of compiler warning.
5068 * locale/programs/ld-collate.c (collate_output): Likewise.
5069
ac64195c
DD
50702019-03-21 DJ Delorie <dj@redhat.com>
5071
5072 [BZ #24372]
5073 * iconv/iconvconfig.c (write_output): Replace floating point math
5074 with integer math to avoid imprecise results.
5075 * locale/programs/ld-collate.c (collate_output): Likewise.
5076
61f5e947
SL
50772019-03-21 Stefan Liebler <stli@linux.ibm.com>
5078
5079 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
5080 Add HWCAP_S390_VX and HWCAP_S390_VXE.
5081
57ada43c 50822019-03-20 mansayk <6688000@gmail.com>
5083
5084 [BZ #24296]
5085 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
5086 (abday): Likewise, but remove the trailing dots.
5087
a2e57f89
JM
50882019-03-19 Joseph Myers <joseph@codesourcery.com>
5089
5090 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
5091 macro.
5092 (HWCAP_PACA): Likewise.
5093 (HWCAP_PACG): Likewise.
5094 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
5095 Increase to 32.
5096 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
5097
e87d8ada
ST
50982019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5099
5100 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
5101 should be handled.
5102
477e739b
JM
51032019-03-15 Joseph Myers <joseph@codesourcery.com>
5104
5105 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5106 version to 5.0.
5107 (old_getpagesize): New syscall.
5108
238d60a1
FY
51092019-03-15 Felix Yan <felixonmars@archlinux.org>
5110
5111 [BZ #24293]
5112 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
5113 * localedata/locales/cmn_TW (era): Likewise.
5114 * localedata/locales/hak_TW (era): Likewise.
5115 * localedata/locales/lzh_TW (era): Likewise.
5116 * localedata/locales/nan_TW (era): Likewise.
5117
5dde9ef7
DD
51182019-03-14 Adam Maris <amaris@redhat.com>
5119
5120 * malloc/malloc.c (_int_malloc): Check for large bin list
5121 corruption when inserting unsorted chunk.
5122
a0a0dc83
FW
51232019-03-14 Florian Weimer <fweimer@redhat.com>
5124
5125 Remove obsolete, never-implemented XSI STREAMS declarations.
5126 * manual/terminal.texi (Allocation): Remove portability note and
5127 adjust example.
5128 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
5129 _SC_STREAMS.
5130 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
5131 * sysdeps/unix/inet/Subdirs (streams): Remove.
5132 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
5133 (conformtest-headers-UNIX98): Likewise.
5134 (conformtest-headers-XOPEN2K): Likewise.
5135 (conformtest-headers-POSIX2008): Likewise.
5136 * posix/compat-streams.c: New file.
5137 * posix/Makefile (routines): Add it.
5138 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
5139 getpmsg, isastream, putmsg, putpmsg.
5140 (GLIBC_2.30): New section.
5141 * bits/stropts.h: Remove file.
5142 * bits/xtitypes.h: Likewise.
5143 * conform/data/stropts.h-data: Likewise.
5144 * include/stropts.h: Likewise.
5145 * include/sys/stropts.h: Likewise.
5146 * include/xtitypes.h: Likewise.
5147 * streams/Makefile: Likewise.
5148 * streams/fattach.c: Likewise.
5149 * streams/fdetach.c: Likewise.
5150 * streams/getmsg.c: Likewise.
5151 * streams/getpmsg.c: Likewise.
5152 * streams/isastream.c: Likewise.
5153 * streams/putmsg.c: Likewise.
5154 * streams/putpmsg.c: Likewise.
5155 * streams/stropts.h: Likewise.
5156 * streams/sys/stropts.h: Likewise.
5157 * sysdeps/ia64/bits/xtitypes.h: Likewise.
5158 * sysdeps/s390/bits/xtitypes.h: Likewise.
5159 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
5160 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
5161 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
5162 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
5163 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
5164 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
5165 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
5166 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
5167 * sysdeps/x86/bits/xtitypes.h: Likewise.
5168
081bdf94
FW
51692019-03-14 Florian Weimer <fweimer@redhat.com>
5170
5171 * nss/tst-nss-files-alias-truncated.c (do_test): Load
5172 libnss_files.
5173 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
5174 but not with libnss_files.
5175 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
5176
97f8225d
ZW
51772019-03-14 Zack Weinberg <zackw@panix.com>
5178
5179 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
5180 Specify encoding="utf-8" when opening headers to check.
5181
0c1041ee
JM
51822019-03-13 Joseph Myers <joseph@codesourcery.com>
5183
5184 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5185 version to 5.0.
5186 (Context.checkout_tar): Handle variable major version for Linux
5187 kernel.
5188
043440e7
FW
51892019-03-13 Florian Weimer <fweimer@redhat.com>
5190
5191 [BZ #24047]
5192 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
5193
29218b26
ZW
51942019-03-13 Zack Weinberg <zackw@panix.com>
5195
5196 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
5197 Move to stdlib.
5198 * include/inttypes.h: Adjust to match.
5199 * include/stdint.h: New wrapper.
5200
711a322a
ZW
52012019-03-13 Zack Weinberg <zackw@panix.com>
5202
5203 * scripts/check-obsolete-constructs.py: New test script.
5204 * scripts/check-installed-headers.sh: Remove tests for
5205 obsolete typedefs, superseded by check-obsolete-constructs.py.
5206 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
5207 as a special test. Update commentary.
5208 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
5209 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
5210 Update commentary.
5211 * posix/sys/types.h (__u_intN_t): Remove.
5212 (u_int8_t): Typedef using __uint8_t.
5213 (u_int16_t): Typedef using __uint16_t.
5214 (u_int32_t): Typedef using __uint32_t.
5215 (u_int64_t): Typedef using __uint64_t.
5216
7c651308
SL
52172019-03-13 Stefan Liebler <stli@linux.ibm.com>
5218
5219 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
5220 call _dl_procinfo.
5221 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
5222 Ignore types other than AT_HWCAP.
5223 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
5224 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
5225 Likewise.
5226 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
5227 in the case of falling back to generic output mechanism.
5228 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
5229 Likewise.
5230
38b52865
FW
52312019-03-12 Florian Weimer <fweimer@redhat.com>
5232
5233 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
5234
08504de7
FW
52352019-03-12 Florian Weimer <fweimer@redhat.com>
5236
5237 [BZ #24047]
5238 resolv: Enable full ICMP errors for UDP DNS sockets
5239 * resolv/res_enable_icmp.c: New file.
5240 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
5241 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
5242 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
5243 socket.
5244
5fbcd763
MH
52452019-03-11 Mao Han <han_mao@c-sky.com>
5246
5247 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
5248 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
5249
c4e5f34b
MH
52502019-03-11 Mao Han <han_mao@c-sky.com>
5251
5252 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
5253 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
5254 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
5255
827e30f3
MH
52562019-03-11 Mao Han <han_mao@c-sky.com>
5257
5258 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
5259 directly.
5260 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
5261 definition.
5262
6229c9bf
MH
52632019-03-11 Mao Han <han_mao@c-sky.com>
5264
5265 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
5266 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
5267 in mcontext_t
5268
86bdd49d
MF
52692019-03-08 Mike FABIAN <mfabian@redhat.com>
5270
5271 [BZ #24307]
5272 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
5273 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
5274 Unicode 12.0.0.
5275 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
5276 * localedata/unicode-gen/PropList.txt: Likewise.
5277 * localedata/unicode-gen/UnicodeData.txt: Likewise.
5278 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
5279 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
5280 * localedata/charmaps/UTF-8: Regenerate.
5281 * localedata/locales/i18n_ctype: Likewise.
5282 * localedata/locales/tr_TR: Likewise.
5283 * localedata/locales/translit_circle: Likewise.
5284 * localedata/locales/translit_cjk_compat: Likewise.
5285 * localedata/locales/translit_combining: Likewise.
5286 * localedata/locales/translit_compat: Likewise.
5287 * localedata/locales/translit_font: Likewise.
5288 * localedata/locales/translit_fraction: Likewise.
5289
c5f65462
JM
52902019-03-07 Joseph Myers <joseph@codesourcery.com>
5291
5292 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
5293 than after operators.
5294 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
5295 (setitimer_locked): Likewise.
5296 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
5297 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
5298 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
5299 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
5300 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
5301 (PPC_CPU_SUPPORTED): Likewise.
5302 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
5303 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
5304 (stat_overflow): Likewise.
5305 (statfs_overflow): Likewise.
5306 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
5307 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
5308 (eq_ttyname_r): Likewise.
5309 (run_chroot_tests): Likewise.
5310
27a2f2f3
FW
53112019-03-07 Florian Weimer <fweimer@redhat.com>
5312
5313 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
5314 header check.
5315
ae514971 53162019-03-07 Martin Liska <mliska@suse.cz>
5317
5318 * math/Makefile: Change location where math-vector-fortran.h is
5319 installed.
5320 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
5321 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
5322 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
5323 * scripts/check-installed-headers.sh: Skip Fortran header files.
5324 * scripts/check-wrapper-headers.py: Likewise.
5325
0ddb7ea8
AZ
53262019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5327
5328 * nptl/nptl-init.c (__have_futex_clock_realtime,
5329 __have_futex_clock_realtime): Remove definition.
5330 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
5331 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
5332 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
5333 __ASSUME_FUTEX_CLOCK_REALTIME support.
5334 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
5335 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5336 * sysdeps/unix/sysv/linux/kernel-features.h
5337 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
5338 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
5339 Adjust comment.
5340
590675c0
GG
53412019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5342
5343 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
5344 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
5345 __GI___wcscpy and wcscpy.
5346
de71ee7b
FW
53472019-03-04 Florian Weimer <fweimer@redhat.com>
5348
5349 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
5350 declaration.
5351 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
5352 defined.
5353
ce6ddae0
SL
53542019-03-04 Stefan Liebler <stli@linux.ibm.com>
5355
5356 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
5357 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5358
31efface
TS
53592019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5360
5361 [BZ #24162]
5362 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
5363 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
5364
f0eaf862
GG
53652019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5366
5367 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
5368 tests.
5369 (do_test): Likewise.
5370 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
5371 (do_test_call_varg): Likewise.
5372 (do_test_call_rarg): Likewise.
5373 * sysdeps/ieee754/ldbl-opt/Makefile
5374 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
5375 tst-nldbl-error.
5376 ($(objpfx)tst-nldbl-warn.c): New rule.
5377 ($(objpfx)tst-nldbl-error.c): Likewise.
5378 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
5379 New variables.
5380
d11086a9
GG
53812019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5382
5383 [BZ #23984]
5384 * include/bits/error-ldbl.h: New file.
5385 * include/error.h: Include stdarg.h. Declare internal functions
5386 __error_internal and __error_at_line_internal.
5387 * misc/Makefile (headers): Add bits/error-ldbl.h.
5388 * misc/bits/error-ldbl.h: New file.
5389 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
5390 avoid the inclusion of bits/error.h.
5391 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
5392 and __nldbl_error_at_line.
5393 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
5394 (__nldbl_error, __ndlbl_error_at_line): New functions.
5395 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
5396 Redirect error and error_at_line.
5397 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5399 Likewise.
5400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5401 Likewise.
5402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5403 Likewise.
5404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5405 Likewise.
5406 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5407 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5408 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5409
90188e7d
GG
54102019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5411
5412 [BZ #23984]
5413 * include/bits/err-ldbl.h: New file.
5414 * include/err.h: Add prototypes for the internal functions:
5415 __vwarnx_internal and __vwarn_internal.
5416 * misc/Makefile (headers): Add bits/err-ldbl.h.
5417 * misc/bits/err-ldbl.h: New file.
5418 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
5419 defined, i.e.: when -mlong-double-64 is in use.
5420 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
5421 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
5422 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
5423 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
5424 (VA_CALL): New macro.
5425 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
5426 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
5427 functions.
5428 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
5429 declare prototypes for the new functions.
5430 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5432 Likewise.
5433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5434 Likewise.
5435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5436 Likewise.
5437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5438 Likewise.
5439 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5440 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5441 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5442
ea2d89d0
GG
54432019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5444
5445 * sysdeps/ieee754/ldbl-opt/Makefile
5446 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
5447 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
5448 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
5449
6e1f6440
GG
54502019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5451
5452 [BZ #23983]
5453 * argp/Makefile (headers): Add bits/argp-ldbl.h.
5454 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
5455 * argp/bits/argp-ldbl.h: New file.
5456 * include/argp.h: Include stdarg.h. Add prototypes for internal
5457 functions: __argp_error_internal and __argp_failure_internal.
5458 * include/bits/argp-ldbl.h: New file.
5459 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
5460 __nldbl_argp_error and __nldbl_argp_failure.
5461 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
5462 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
5463 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
5464 Redirect argp_error and argp_failure calls.
5465 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5467 Likewise.
5468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5469 Likewise.
5470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5471 Likewise.
5472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5473 Likewise.
5474 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5475 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5476 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5477
c259196b
FW
54782019-03-01 Florian Weimer <fweimer@redhat.com>
5479
5480 [BZ #20419]
5481 * elf/tst-big-note-lib.S: Create a syntactically valid note.
5482 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
5483 code, to avoid creating an ABI tag note.
5484 (modules-names-nobuild): Add tst-big-note-lib.
5485
928b305d
SL
54862019-03-01 Stefan Liebler <stli@linux.ibm.com>
5487
5488 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
5489 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
5490
36f30c10
FW
54912019-03-01 Florian Weimer <fweimer@redhat.com>
5492
5493 [BZ #20271]
5494 * sysdeps/unix/sysv/linux/netlink_assert_response.c
5495 (__netlink_assert_response): Add additional missing newlines.
5496
462e83a4
JM
54972019-02-28 Joseph Myers <joseph@codesourcery.com>
5498
5499 * sysdeps/powerpc/powerpc32/dl-machine.c
5500 (__elf_machine_fixup_plt): Use space before '('.
5501 (__process_machine_rela): Likewise.
5502 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
5503 Likewise.
5504 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
5505 Likewise.
5506 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
5507 Likewise.
5508 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
5509 (pattern): Likewise.
5510 (delta): Likewise.
5511 (check_result): Likewise.
5512 (check_excepts): Likewise.
5513 (check_op): Likewise.
5514 (fail_xr): Likewise.
5515 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
5516 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
5517 (SCNHSZ): Likewise.
5518 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
5519 Likewise.
5520 (ARGS): Likewise.
5521 (__makecontext): Likewise.
5522 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
5523 Likewise.
5524
cc3e573c
FW
55252019-02-28 Florian Weimer <fweimer@redhat.com>
5526
5527 [BZ #23937]
5528 elf: Add test with a local IFUNC resolver.
5529 * elf/ifuncmain9.c: New file.
5530 * elf/ifuncmain9pic.c: Likewise.
5531 * elf/ifuncmain9picstatic.c: Likewise.
5532 * elf/ifuncmain9pie.c: Likewise.
5533 * elf/ifuncmain9static.c: Likewise.
5534 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
5535 ifuncmain9static, ifuncmain9picstatic.
5536 * elf/Makefile [multi-arch && build-shared] (tests-internal):
5537 Add ifuncmain9, ifuncmain9pic.
5538 * elf/Makefile [multi-arch && build-shared && have-fpie]
5539 (ifunc-pie-tests): Add ifuncmain9pie.
5540 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
5541 (CFLAGS-ifuncmain9picstatic.c): Likewise.
5542 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
5543
92ad88fe
L
55442019-02-27 H.J. Lu <hongjiu.lu@intel.com>
5545
5546 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
5547 * configure: Regenerated.
5548 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
5549
6bd4d02e
AZ
55502019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5551
5552 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
5553 symbol as __wcspcy instead of wcscpy.
5554
1b218417
ST
55552019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5556
5557 * include/stdio.h (__renameat2): New hidden prototype.
5558 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
5559 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
5560 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
5561 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
5562
c4f50205
JM
55632019-02-27 Joseph Myers <joseph@codesourcery.com>
5564
f627dd4d
JM
5565 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
5566 if statement.
5567
c4f50205
JM
5568 * benchtests/bench-strcpy.c (do_test): Use space before '('.
5569 * benchtests/bench-string.h (cmdline_process_function): Likewise.
5570 * benchtests/bench-strlen.c (do_test): Likewise.
5571 (test_main): Likewise.
5572 * catgets/gencat.c (read_old): Likewise.
5573 * elf/cache.c (load_aux_cache): Likewise.
5574 * iconvdata/bug-iconv8.c (do_test): Likewise.
5575 * math/test-tgmath-ret.c (do_test): Likewise.
5576 * nis/nis_call.c (rec_dirsearch): Likewise.
5577 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5578 * nptl/tst-audit-threads.c (do_test): Likewise.
5579 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
5580 * nss/nss_test1.c (init): Likewise.
5581 * nss/test-netdb.c (test_hosts): Likewise.
5582 * posix/execvpe.c (maybe_script_execute): Likewise.
5583 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
5584 * stdio-common/tst-printf.c (do_test): Likewise.
5585 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
5586 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
5587 * stdlib/qsort.c (STACK_SIZE): Likewise.
5588 * stdlib/test-canon.c (do_test): Likewise.
5589 * stdlib/tst-swapcontext1.c (do_test): Likewise.
5590 * string/memcmp.c (OPSIZ): Likewise.
5591 * string/test-strcpy.c (do_test): Likewise.
5592 (do_random_tests): Likewise.
5593 * string/test-strlen.c (do_test): Likewise.
5594 (test_main): Likewise.
5595 * string/test-strrchr.c (do_test): Likewise.
5596 (do_random_tests): Likewise.
5597 * string/tester.c (test_memrchr): Likewise.
5598 (test_memchr): Likewise.
5599 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
5600 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
5601 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
5602 (read_encoded_value_with_base): Likewise.
5603 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
5604 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
5605 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
5606 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
5607 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
5608 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
5609 Likewise.
5610 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
5611 Likewise.
5612 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
5613 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
5614 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
5615 Likewise.
5616 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
5617 Likewise.
5618 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
5619 Likewise.
5620 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
5621 Likewise.
5622 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
5623 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
5624 (FP_XSTATE_MAGIC2_SIZE): Likewise.
5625 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
5626 * time/test_time.c (main): Likewise.
5627
7b3fb620
AZ
56282019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5629
457208b1
AZ
5630 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
5631
30a7e208
AZ
5632 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
5633 wmemcpy.
5634
ddf21ec7
AZ
5635 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
5636 wmemcpy.
5637
4d801563
AZ
5638 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
5639
81a14439
AZ
5640 * include/wchar.h (__wcscpy): New prototype.
5641 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
5642 (__wcscpy): Route internal symbol to generic implementation.
5643 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
5644 Add internal __wcscpy alias.
5645 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
5646 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
5647 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
5648 * wcsmbs/wcscpy.c (wcscpy): Add
5649 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
5650 use generic implementation.
5651 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
5652
39ef0744
AZ
5653 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
5654 wmemset.
5655
7b3fb620
AZ
5656 * sysdeps/m68k/wcpcpy.c: Remove file.
5657 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
5658
e0cb7b61
JM
56592019-02-26 Joseph Myers <joseph@codesourcery.com>
5660
aa0e4663
JM
5661 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
5662 than after operators.
5663 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
5664 * sysdeps/mach/hurd/getcwd.c
5665 (__hurd_canonicalize_directory_name_internal): Likewise.
5666 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
5667 (pthread_mutex_consistent): Likewise.
5668 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
5669 Likewise.
5670 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
5671 (__pthread_mutex_transfer_np): Likewise.
5672 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
5673 (__pthread_mutex_unlock): Likewise.
5674 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
5675 (mtx_owned_p): Likewise.
5676 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
5677 (pthread_mutexattr_getrobust): Likewise.
5678 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
5679 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
5680 Likewise.
5681 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
5682 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
5683 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
5684 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
5685 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
5686 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5687 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
5688 Likewise.
5689 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
5690 Likewise.
5691 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
5692 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
5693 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
5694 (____longjmp_chk): Likewise.
5695 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
5696 Likewise.
5697 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5698 (INTERNAL_SYSCALL): Likewise.
5699 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5700 (INTERNAL_SYSCALL): Likewise.
5701 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5702 (__get_clockfreq_via_cpuinfo): Likewise.
5703
e0cb7b61
JM
5704 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
5705 comments.
5706 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
5707 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
5708 (WORD_COPY_BWD): Likewise.
5709 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
5710 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5711 Likewise.
5712 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
5713 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
5714 comment.
5715 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
5716
a04549c1
JM
57172019-02-25 Joseph Myers <joseph@codesourcery.com>
5718
5719 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
5720 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
5721 rather than after operators.
5722 * elf/cache.c (print_cache): Likewise.
5723 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
5724 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
5725 * hurd/hurdinit.c (_hurd_setproc): Likewise.
5726 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
5727 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
5728 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
5729 (reauth_proc): Likewise.
5730 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
5731 (__file_name_split_at): Likewise.
5732 (__directory_name_split_at): Likewise.
5733 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
5734 * hurd/port2fd.c (_hurd_port2fd): Likewise.
5735 * iconv/gconv_dl.c (do_print): Likewise.
5736 * inet/netinet/in.h (struct sockaddr_in): Likewise.
5737 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
5738 * locale/setlocale.c (new_composite_name): Likewise.
5739 * malloc/memusagestat.c (main): Likewise.
5740 * misc/fstab.c (fstab_convert): Likewise.
5741 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
5742 Likewise.
5743 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
5744 (getgrent_next_file): Likewise.
5745 (internal_getgrnam_r): Likewise.
5746 (internal_getgrgid_r): Likewise.
5747 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
5748 Likewise.
5749 (internal_getgrent_r): Likewise.
5750 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
5751 (getpwent_next_nss): Likewise.
5752 (getpwent_next_file): Likewise.
5753 (internal_getpwnam_r): Likewise.
5754 (internal_getpwuid_r): Likewise.
5755 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
5756 Likewise.
5757 (getspent_next_nss): Likewise.
5758 (internal_getspnam_r): Likewise.
5759 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
5760 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
5761 * string/strchr.c (STRCHR): Likewise.
5762 * string/strchrnul.c (STRCHRNUL): Likewise.
5763 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
5764 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5765 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
5766 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
5767 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
5768 Likewise.
5769 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
5770 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
5771 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
5772 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
5773 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
5774 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
5775 (open_file): Likewise.
5776 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
5777 (pthread_mutexattr_setprotocol): Likewise.
5778 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
5779 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
5780 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
5781 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
5782 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
5783 Likewise.
5784 (elf_machine_rela): Likewise.
5785 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5786 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5787 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
5788 * sysdeps/posix/rename.c (rename): Likewise.
5789 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
5790 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
5791 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
5792 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
5793 * sysdeps/unix/grantpt.c (grantpt): Likewise.
5794 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
5795 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
5796 Likewise.
5797 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
5798 Likewise.
5799 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
5800 * time/tzfile.c (__tzfile_compute): Likewise.
5801
34a5a146
JM
58022019-02-22 Joseph Myers <joseph@codesourcery.com>
5803
5804 * benchtests/bench-memmem.c (simple_memmem): Break lines before
5805 rather than after operators.
5806 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
5807 * crypt/md5.c (md5_finish_ctx): Likewise.
5808 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
5809 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
5810 * elf/cache.c (load_aux_cache): Likewise.
5811 * elf/dl-load.c (open_verify): Likewise.
5812 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
5813 * elf/readelflib.c (process_elf_file): Likewise.
5814 * elf/rtld.c (dl_main): Likewise.
5815 * elf/sprof.c (generate_call_graph): Likewise.
5816 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
5817 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
5818 * hurd/dtable.c (reauth_dtable): Likewise.
5819 * hurd/getdport.c (__getdport): Likewise.
5820 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
5821 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
5822 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
5823 Likewise.
5824 * hurd/hurdioctl.c (fioctl): Likewise.
5825 * hurd/hurdselect.c (_hurd_select): Likewise.
5826 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
5827 (STOPSIGS): Likewise.
5828 * hurd/hurdstartup.c (_hurd_startup): Likewise.
5829 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
5830 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
5831 * hurd/msgportdemux.c (msgport_server): Likewise.
5832 * hurd/setauth.c (_hurd_setauth): Likewise.
5833 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
5834 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
5835 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
5836 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
5837 * login/tst-utmp.c (do_check): Likewise.
5838 (simulate_login): Likewise.
5839 * mach/lowlevellock.h (lll_lock): Likewise.
5840 (lll_trylock): Likewise.
5841 * math/test-fenv.c (ALL_EXC): Likewise.
5842 * math/test-fenvinline.c (ALL_EXC): Likewise.
5843 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
5844 * nis/nis_call.c (__do_niscall3): Likewise.
5845 * nis/nis_callback.c (cb_prog_1): Likewise.
5846 * nis/nis_defaults.c (searchaccess): Likewise.
5847 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5848 * nis/nis_ismember.c (internal_ismember): Likewise.
5849 * nis/nis_local_names.c (nis_local_principal): Likewise.
5850 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
5851 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
5852 Likewise.
5853 * nis/ypclnt.c (yp_match): Likewise.
5854 (yp_first): Likewise.
5855 (yp_next): Likewise.
5856 (yp_master): Likewise.
5857 (yp_order): Likewise.
5858 * nscd/hstcache.c (cache_addhst): Likewise.
5859 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5860 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
5861 (internal_getpwuid_r): Likewise.
5862 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
5863 * posix/glob.h (__GLOB_FLAGS): Likewise.
5864 * posix/regcomp.c (peek_token): Likewise.
5865 (peek_token_bracket): Likewise.
5866 (parse_expression): Likewise.
5867 * posix/regexec.c (sift_states_iter_mb): Likewise.
5868 (check_node_accept_bytes): Likewise.
5869 * posix/tst-spawn3.c (do_test): Likewise.
5870 * posix/wordexp-test.c (testit): Likewise.
5871 * posix/wordexp.c (parse_tilde): Likewise.
5872 (exec_comm): Likewise.
5873 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
5874 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
5875 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
5876 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
5877 * stdio-common/tst-fileno.c (do_test): Likewise.
5878 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
5879 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
5880 * stdlib/strtod_l.c (round_and_return): Likewise.
5881 (____STRTOF_INTERNAL): Likewise.
5882 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
5883 * string/strcspn.c (STRCSPN): Likewise.
5884 * string/test-memmem.c (simple_memmem): Likewise.
5885 * termios/tcsetattr.c (tcsetattr): Likewise.
5886 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
5887 * time/asctime.c (asctime_internal): Likewise.
5888 * time/strptime_l.c (__strptime_internal): Likewise.
5889 * time/sys/time.h (timercmp): Likewise.
5890 * time/tzfile.c (__tzfile_compute): Likewise.
5891
b0b50fe0
PF
58922019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
5893
b39d961c
TS
5894 [BZ #21915]
5895 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
b0b50fe0 5896
f43b8dd5
GG
58972019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5898
5899 * argp/argp-help.c (__argp_error_internal): New function,
5900 renamed from __argp_error, but that takes a 'mode_flags'
5901 parameter to control the format of long double parameters.
5902 (__argp_error): Converted into a call __argp_error_internal.
5903 (__argp_failure_internal): New function, renamed from
5904 __argp_failure, but that takes a 'mode_flags' parameter.
5905 (__argp_failure): Converted into a call __argp_failure_internal.
5906 * misc/err.c (__vwarnx_internal): New function, renamed from
5907 vwarnx, but that takes a 'mode_flags' parameter.
5908 (vwarnx): Converted into a call to __vwarnx_internal.
5909 (__vwarn_internal): New function, renamed from vwarn, but that
5910 takes a 'mode_flags' parameter.
5911 (vwarn): Converted into a call to __vwarn_internal.
5912 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
5913 call to __vfxprintf with 'mode_flags'.
5914 (__error_internal): New function, renamed from error, but that
5915 takes a 'mode_flags' parameter.
5916 (error): Converted into a call to __error_internal.
5917 (__error_at_line_internal): New function, renamed from
5918 error_at_line, but that takes a 'mode_flags' parameter.
5919 (error_at_line): Converted into a call to
5920 __error_at_line_internal.
5921 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
5922 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
5923 Likewise.
5924
dc0afac3 59252019-02-20 Martin Liska <mliska@suse.cz>
5926
5927 * math/Makefile: Install math-vector-fortran.h.
5928 * bits/math-vector-fortran.h: New file.
5929 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
5930
4a2dd41c
GG
59312019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5932
5933 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
5934 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
5935
04de9302
WS
59362019-02-19 Wolfram Sang <wsa@the-dreams.de>
5937
5938 * nptl/pthread_mutex_trylock.c: Fix comment.
5939
b026ce1e
CD
59402019-02-19 Carlos O'Donell <carlos@redhat.com>
5941
5942 * nptl/pthread_tryjoin.c: Fix comment.
5943
8c9289b6
JM
59442019-02-18 Joseph Myers <joseph@codesourcery.com>
5945
5946 [BZ #24231]
5947 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
5948 after R_SPARC_H34 case.
5949
308e022f
FW
59502019-02-18 Florian Weimer <fweimer@redhat.com>
5951
5952 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
5953 (getanswer): Do not call Dprintf.
5954 (res_gethostbyname2_context): Likewise.
5955 (res_gethostbyaddr_context): Likewise.
5956
a5406364
FW
59572019-02-18 Florian Weimer <fweimer@redhat.com>
5958
5959 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
5960 declaration.
5961 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
5962 Remove definitions.
5963 * libio/stdfiles.c: Update comment.
5964 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
5965 set _IO_stdin, _IO_stdout, _IO_stderr.
5966 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
5967 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
5968 inline function.
5969 (_IO_deallocate_file): New inline function.
5970 * libio/iolibio.h (_IO_vprintf): Remove definition.
5971 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
5972 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
5973 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
5974 _IO_legacy_file.
5975 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
5976 __builtin_expect. Use _IO_legacy_file.
5977
6c29942c
SL
59782019-02-18 Stefan Liebler <stli@linux.ibm.com>
5979
5980 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
5981 Initialize ctid with a known value and remove update of ctid
5982 after clone.
5983 (wait_tid): Adjust arguments and call futex_wait with ctid_val
5984 as assumed current value of ctid_ptr.
5985
225d9445 59862019-02-16 Florian Weimer <fweimer@redhat.com>
ad18dade
FW
5987
5988 Check that non-sysdeps headers have wrapper headers.
5989 * scripts/check-wrapper-headers.py: New file.
5990 * Makefile (tests-special): Add check-wrapper-headers.out.
5991 (check-wrapper-headers.out): New target.
5992 * Rules (tests-special): Add check-wrapper-headers.out.
5993 (check-wrapper-headers.out): New target.
5994
225d9445 59952019-02-16 Florian Weimer <fweimer@redhat.com>
ebd32784
FW
5996
5997 Add missing header wrappers under include/.
5998 * include/ar.h: New file.
5999 * include/bits/mqueue2.h: Likewise.
6000 * include/bits/stdio.h: Likewise.
6001 * include/bits/stdio2.h: Likewise.
6002 * include/fstab.h: Likewise.
6003 * include/fts.h: Likewise.
6004 * include/lastlog.h: Likewise.
6005 * include/netinet/icmp6.h: Likewise.
6006 * include/netinet/igmp.h: Likewise.
6007 * include/netinet/ip6.h: Likewise.
6008 * include/re_comp.h: Likewise.
6009 * include/regexp.h: Likewise.
6010 * include/rpcsvc/bootparam.h: Likewise.
6011 * include/rpcsvc/yp_prot.h: Likewise.
6012 * include/sys/random.h: Likewise.
6013 * include/sys/stropts.h: Likewise.
6014 * include/sys/ttychars.h: Likewise.
6015 * include/sys/vfs.h: Likewise.
6016 * include/wait.h: Likewise.
6017
225d9445 60182019-02-16 Florian Weimer <fweimer@redhat.com>
a198d37a
FW
6019
6020 * nptl_db/proc_service.h: Move to ...
6021 * sysdeps/nptl/proc_service.h: ... here.
6022 * nptl_db/thread_db.h: Move to ...
6023 * sysdeps/nptl/thread_db.h: ... here.
6024 * nptl/descr.h: Include <thread_db.h>.
6025
e442e40d
AZ
60262019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6027
6028 * io/Makefile (tests): Add tst-lockf.
6029 * io/lockf.c (lockf): Use __fcntl and only define for
6030 !__OFF_T_MATCHES_OFF64_T.
6031 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
6032 __OFF_T_MATCHES_OFF64_T case.
6033 * io/tst-lockf.c: New file.
6034 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
6035 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
6036 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
6037 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
6038 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
6039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
6040 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
6041 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
6042 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
6043
bc10e22c
FW
60442019-02-15 Florian Weimer <fweimer@redhat.com>
6045
6046 [BZ #24211]
6047 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
6048 pd->result after the thread descriptor has been freed.
6049
365f05c7
JM
60502019-02-15 Joseph Myers <joseph@codesourcery.com>
6051
8a11f970
JM
6052 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
6053 from function return type.
6054
365f05c7
JM
6055 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
6056
6b5c8607 60572019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
56a731d4
JK
6058
6059 * scripts/test_printers_common.py: Set TERM to a known harmless
6060 value.
6061
712182c8
JM
60622019-02-14 Joseph Myers <joseph@codesourcery.com>
6063
6064 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
6065 (xdr_u_int): Likewise.
6066 (xdr_enum): Likewise.
6067 (xdr_bytes): Reword fall-through comment.
6068 (xdr_string): Likewise.
6069
eb76e5b4
AZ
60702019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6071
6072 [BZ #2421]
6073 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
6074 (tests): Add tst-join8 tst-join9.
6075 * nptl/lll_timedwait_tid.c: Remove file.
6076 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
6077 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
6078 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
6079 * nptl/pthread_join_common.c (timedwait_tid): New function.
6080 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
6081 is set.
6082 * nptl/tst-join5.c (thread_join): New function.
6083 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
6084 check.
6085 * nptl/tst-join8.c: New file.
6086 * nptl/tst-join9.c: Likewise.
6087 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
6088 lll_futex_timed_wait_cancel): Add generic macros.
6089 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
6090 Remove definitions.
6091 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6092 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6093 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6094 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
6095 Remove function.
6096 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
6097 Likewise.
6098 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
6099 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
6100 (lll_futex_timed_wait_cancel): New macro.
6101
3904fd85
WD
61022019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
6103
6104 * benchtests/Makefile: Add malloc-simple benchmark.
6105 * benchtests/bench-malloc-simple.c: New benchmark.
6106
24ca04fe
SP
61072019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
6108
6109 * benchtests/bench-memmove.c (do_one_test): Remove unused
6110 ORIG_SRC.
6111 (do_test): Adjust.
6112 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
6113 ORIG_SRC.
6114 (do_test): Adjust.
6115
85bd1ddb
JW
61162019-01-13 Jim Wilson <jimw@sifive.com>
6117
6118 [BZ #24040]
6119 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
6120 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
6121 (func): New.
6122 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
6123 call func directly.
6124 * nptl/Makefile (tests): Add tst-unwind-thread.
6125 (CFLAGS-tst-unwind-thread.c): Define.
6126 * nptl/tst-unwind-thread.c: New file.
6127 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
6128 as undefined.
6129
86140c62
JM
61302019-02-13 Joseph Myers <joseph@codesourcery.com>
6131
10756268
JM
6132 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
6133 comment wording.
6134 * nis/nis_call.c (__do_niscall3): Likewise.
6135
05383720
JM
6136 * catgets/gencat.c (normalize_line): Use braces around empty
6137 'else' body.
6138 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6139 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
6140 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
6141 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
6142 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
6143 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
6144 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
6145 definition.
6146
86140c62
JM
6147 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
6148 execlp returns.
6149
16f87cfd
WD
61502019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
6151
6152 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
6153 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
6154 * benchtests/bench-strchr.c (stupid_strchr): Remove.
6155 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
6156 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
6157 * benchtests/bench-strlen.c (builtin_strlen): Remove.
6158 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
6159 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
6160 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
6161 * benchtests/bench-strspn.c (stupid_strspn): Remove.
6162 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
6163 * benchtests/bench-bcopy.c: Delete file.
6164 * benchtests/bench-bzero.c: Likewise.
6165 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
6166 (simple_memccpy): Remove.
6167 (generic_memccpy): Add function.
6168 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
6169 * benchtests/bench-memmove.c (simple_bcopy): Remove.
6170 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
6171 (generic_mempcpy): Add new function.
6172 * benchtests/bench-memset.c (simple_bzero): Remove.
6173 (builtin_bzero): Remove.
6174 (builtin_memset): Remove.
6175 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
6176 (generic_rawmemchr): Add new function.
6177
0c6d82e9
FW
61782019-02-12 Florian Weimer <fweimer@redhat.com>
6179
6180 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
6181
b3fbfe81
AZ
61822019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6183
6184 [BZ #24122]
6185 * elf/Makefile (tests): Add tst-audit13.
6186 (modules-names): Add tst-audit13mod1.
6187 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
6188 rule.
6189 * elf/tst-audit13.c: New file.
6190 * elf/tst-audit13mod1.c: Likewise.
6191
3b856d09
FW
61922019-02-12 Florian Weimer <fweimer@redhat.com>
6193
6194 [BZ #24122]
6195 * elf/rtld.c (unload_audit_module): New function.
6196 (report_audit_module_load_error): Likewise.
6197 (load_audit_module): Likewise. Extracted from dl_main. Call
6198 _dl_close if the laversion symbol cannot be found. Use early
6199 returns for error handling. Add malloc error check. Check for a
6200 zero return value from la_version. Remove spurious comment about
6201 static TLS initialization. Remove useless casts.
6202 (notify_audit_modules_of_loaded_object): New function. Extracted
6203 from dl_main.
6204 (load_audit_module): Likewise.
6205 (dl_main): Call load_audit_modules.
6206
32db86d5
JM
62072019-02-12 Joseph Myers <joseph@codesourcery.com>
6208
6209 * elf/dl-exception.c (_dl_exception_create_format): Add
6210 fall-through comments.
6211 * elf/ldconfig.c (parse_conf_include): Likewise.
6212 * elf/rtld.c (print_statistics): Likewise.
6213 * locale/programs/charmap.c (parse_charmap): Likewise.
6214 * misc/mntent_r.c (__getmntent_r): Likewise.
6215 * posix/wordexp.c (parse_arith): Likewise.
6216 (parse_backtick): Likewise.
6217 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
6218 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
6219 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6220
a51bc4fe
PC
62212019-02-11 Paul A. Clarke <pc@us.ibm.com>
6222
6223 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
6224 Use float instead of double.
6225
fb25b135
TS
62262019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
6227
6228 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
6229
32ea7299
JM
62302019-02-08 Joseph Myers <joseph@codesourcery.com>
6231
6232 * sysdeps/powerpc/bits/mathinline.h: Remove.
6233
eef4d4f8
FW
62342019-02-08 Florian Weimer <fweimer@redhat.com>
6235
6236 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
6237 * math/bits/math-finite.h: Move to ...
6238 * bits/math-finite.h: ... here.
6239
fdfbd47d
FW
62402019-02-08 Florian Weimer <fweimer@redhat.com>
6241
6242 * sysdeps/generic/bits/unistd_ext.h: Move to ...
6243 * bits/unistd_ext.h: here.
6244
11eb21c4
PF
62452019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
6246
6247 [BZ #21915]
6248 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
6249 * nss/tst-nss-files-hosts-long.c: New file.
6250 * nss/tst-nss-files-hosts-long.root: New directory.
6251 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
6252 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
6253
e47d82c9
FW
62542019-02-08 Florian Weimer <fweimer@redhat.com>
6255
6256 * include/bits/unistd_ext.h: Remove file.
6257 * posix/bits/unistd_ext.h: Move to ...
6258 * sysdeps/generic/bits/unistd_ext.h: ... here.
6259
8f89ab21
FW
62602019-02-08 Florian Weimer <fweimer@redhat.com>
6261
6262 * include/bits/unistd_ext.h: New file.
6263
144a794e
TS
62642019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
6265
6266 * time/tst-strftime2.c: Use array_length macros instead of magic
6267 numbers.
6268
669ff911
FW
62692019-02-08 Florian Weimer <fweimer@redhat.com>
6270
6271 [BZ #24161]
6272 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
6273 argument.
6274 * nptl/register-atfork.c (__run_fork_handlers): Only perform
6275 locking if the new do_locking argument is true.
6276 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
6277 __run_fork_handlers.
6278
d0bd87d4 62792019-02-08 Florian Weimer <fweimer@redhat.com>
1d0fc213
FW
6280
6281 [BZ #6399]
6282 Linux: Add gettid system call wrapper.
6283 * posix/Makefile (headers): Add bits/unistd_ext.h.
6284 * posix/bits/unistd_ext.h: New file.
6285 * posix/unistd.h: Include it.
6286 * manual/process.texi (Process Identification): Document gettid.
6287 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
6288 tst-gettid, tst-gettid-kill.
6289 (tst-gettid): Link with $(shared-thread-library).
6290 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
6291 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
6292 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
6293 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
6294 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
6295 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
6296 Add gettid.
6297 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
6298 Likewise.
6299 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
6300 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
6301 Likewise.
6302 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
6303 Likewise.
6304 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
6305 Likewise.
6306 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
6307 Likewise.
6308 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
6309 Likewise.
6310 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
6311 Likewise.
6312 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
6313 Likewise.
6314 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6315 (GLIBC_2.30): Likewise.
6316 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6317 (GLIBC_2.30): Likewise.
6318 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6319 (GLIBC_2.30): Likewise.
6320 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6321 (GLIBC_2.30): Likewise.
6322 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
6323 Likewise.
6324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6325 (GLIBC_2.30): Likewise.
6326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6327 (GLIBC_2.30): Likewise.
6328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
6329 (GLIBC_2.30): Likewise.
6330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
6331 (GLIBC_2.30): Likewise.
6332 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
6333 Likewise.
6334 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
6335 Likewise.
6336 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
6337 Likewise.
6338 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
6339 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
6340 Likewise.
6341 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
6342 Likewise.
6343 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
6344 Likewise.
6345 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
6346 Likewise.
6347 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
6348
225d9445 63492019-02-08 Florian Weimer <fweimer@redhat.com>
f289e656
FW
6350
6351 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
6352 compatibility symbols.
6353
823624bd
SL
63542019-02-07 Stefan Liebler <stli@linux.ibm.com>
6355
6356 [BZ #24180]
6357 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6358 Add compiler barriers and comments.
6359
8311c83f
FW
63602019-02-07 Florian Weimer <fweimer@redhat.com>
6361
6362 * include/array_length.h (array_length): Do not use a statement
6363 expression and _Static_assert, so that array_length can be used at
6364 file scope and as a constant expression.
6365
94b63e66
FW
63662019-02-07 Florian Weimer <fweimer@redhat.com>
6367
6368 * support/xdlfcn.h (xdlmopen): Declare.
6369 * support/xdlmopen.c: New file.
6370 * support/Makefile (libsupport-routines): Add xdlmopen.
6371
c2d8f0b7
JM
63722019-02-06 Joseph Myers <joseph@codesourcery.com>
6373
6374 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
6375 before return type, without separate inline.
6376 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
6377 * elf/dl-tunables.h (tunable_is_name): Likewise.
6378 * malloc/malloc.c (do_set_trim_threshold): Likewise.
6379 (do_set_top_pad): Likewise.
6380 (do_set_mmap_threshold): Likewise.
6381 (do_set_mmaps_max): Likewise.
6382 (do_set_mallopt_check): Likewise.
6383 (do_set_perturb_byte): Likewise.
6384 (do_set_arena_test): Likewise.
6385 (do_set_arena_max): Likewise.
6386 (do_set_tcache_max): Likewise.
6387 (do_set_tcache_count): Likewise.
6388 (do_set_tcache_unsorted_limit): Likewise.
6389 * nis/nis_subr.c (count_dots): Likewise.
6390 * nptl/allocatestack.c (advise_stack_range): Likewise.
6391 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
6392 (do_sin): Likewise.
6393 (reduce_sincos): Likewise.
6394 (do_sincos): Likewise.
6395 * sysdeps/unix/sysv/linux/x86/elision-conf.c
6396 (do_set_elision_enable): Likewise.
6397 (TUNABLE_CALLBACK_FNDECL): Likewise.
6398
3b935595
FW
63992019-02-06 Florian Weimer <fweimer@redhat.com>
6400
6401 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
6402 (xdlsym): Use dlerror to detect a NULL symbol.
6403
b4333340
FW
64042019-02-06 Florian Weimer <fweimer@redhat.com>
6405
6406 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
6407 <stap-probe.h>.
6408 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6409
b6d8a999
SL
64102019-02-06 Stefan Liebler <stli@linux.ibm.com>
6411
6412 * libio/tst-bz24153.c (wide): Use wide char format specifier.
6413
94eeeec0
SL
64142019-02-06 Stefan Liebler <stli@linux.ibm.com>
6415
6416 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
6417 __wmemcmp and weak alias to wmemcmp.
6418
bc79db3f
SL
64192019-02-06 Stefan Liebler <stli@linux.ibm.com>
6420
6421 [BZ #23403]
6422 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
6423 TLS_TCB_AT_TP tls variant.
6424 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
6425 Add alignment checks.
6426 * support/Makefile (libsupport-routines): Add xposix_memalign and
6427 xpthread_setstack.
6428 * support/support.h: Add xposix_memalign.
6429 * support/xthread.h: Add xpthread_attr_setstack.
6430 * support/xposix_memalign.c: New File.
6431 * support/xpthread_attr_setstack.c: Likewise.
6432
f1ac7455
FW
64332019-02-05 Florian Weimer <fweimer@redhat.com>
6434
6435 [BZ #24164]
6436 arm: Use "nr" constraint for Systemtap probes, to avoid the
6437 compiler using memory operands for constants, due to the "o"
6438 alternative in the default "nor" constraint.
6439 * include/stap-probe.h [USE_STAP_PROBE]: Include
6440 <stap-probe-machine.h>
6441 * sysdeps/generic/stap-probe-machine.h: New file.
6442 * sysdeps/arm/stap-probe-machine.h: Likewise.
6443
7a0dcfc6
JM
64442019-02-04 Joseph Myers <joseph@codesourcery.com>
6445
77dc0d86
JM
6446 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
6447 with 0, not tcache->entries[tc_idx].
6448
7a0dcfc6
JM
6449 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
6450 once.
6451
65f7767a
AS
64522019-02-04 Andreas Schwab <schwab@suse.de>
6453
6454 [BZ #16976]
6455 [BZ #17396]
6456 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
6457 looking up collating elements match against (wide) character
6458 sequence instead of name. Correct alignment adjustment.
6459 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
6460 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
6461 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
6462 (LOCALES): Add cs_CZ.ISO-8859-2.
6463 * posix/tst-fnmatch4.c: New file.
6464 * posix/tst-fnmatch5.c: New file.
6465 * include/wchar.h (__wmemcmp): Declare.
6466 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
6467 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
6468 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
6469 * sysdeps/s390/wmemcmp.c: Likewise.
6470
3f635fb4
L
64712019-02-04 H.J. Lu <hongjiu.lu@intel.com>
6472
6473 [BZ #24155]
6474 CVE-2019-7309
6475 * NEWS: Updated for CVE-2019-7309.
6476 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
6477 upper 32 bits of RDX register for x32. Use unsigned Jcc
6478 instructions, instead of signed.
6479 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
6480 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
6481
2ab5741b
FW
64822019-02-04 Florian Weimer <fweimer@redhat.com>
6483
6484 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
6485 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
6486 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
6487 Likewise.
6488 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
6489 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
6490 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
6491 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
6492 Likewise.
6493 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
6494 Likewise.
6495 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
6496 Likewise.
6497 (posix_spawn_file_actions_addopen): Likewise.
6498 (posix_spawn_file_actions_addclose): Likewise.
6499 (posix_spawn_file_actions_adddup2): Likewise.
6500 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
6501 qualifiers.
6502 (posix_spawn_file_actions_addfchdir_np): Likewise.
6503
8692ebdb
DN
65042019-02-04 David Newall <glibc@davidnewall.com>
6505
6506 elf: Implement --preload option for the dynamic linker.
6507 * elf/rtld.c (preloadarg): New variable.
6508 (handle_preload_list): Pass through “where” argument to
6509 do_preload.
6510 (dl_main): Handle "--preload" and add second call to
6511 handle_preload_list.
6512 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
6513 (tst-rtld-preload-OBJS): Set variable.
6514 (tst-rtld-preload.out): New target.
6515 * elf/tst-rtld-preload.sh: New file.
6516
5e10136b
MM
65172019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
6518
6519 * Makefile (testrun.sh): Exit in case of incorrect argument.
6520
221baae0
FW
65212019-02-04 Florian Weimer <fweimer@redhat.com>
6522
6523 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
6524 alignment gaps.
6525
b8c72381
FW
65262019-02-03 Florian Weimer <fweimer@redhat.com>
6527
6528 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
6529 implicit overflow checks.
6530
11f382ee
AJ
65312019-02-03 Aurelien Jarno <aurelien@aurel32.net>
6532
6533 * stdlib/isomac.c: Include <unistd.h>.
6534
77c7d55e
FW
65352019-02-03 Florian Weimer <fweimer@redhat.com>
6536
6537 * include/time.h (__tzfile_default): Use int, not long int, for
6538 the GMT offsets.
6539 * time/tzfile.c (struct ttinfo): Change type of the offset member
6540 to int.
6541 (__tzfile_read): Remove useless cast.
6542 (__tzfile_default): Adjust prototype.
6543 * time/tzset.c (tz_rule): Change type of the offset member to int.
6544 (parse_offset): Change the type of the sign variable to int.
6545
ee9941f9
FW
65462019-02-03 Florian Weimer <fweimer@redhat.com>
6547
6548 [BZ #24153]
6549 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
6550 * libio/getchar.c (getchar): Likewise.
6551 * libio/getchar_u.c (getchar_unlocked): Likewise.
6552 * libio/getwchar.c (getwchar): Likewise.
6553 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6554 * libio/iogets.c (_IO_gets): Likewise.
6555 * libio/vscanf.c (_IO_vscanf): Likewise.
6556 * libio/vwscanf.c (__vwscanf): Likewise.
6557 * libio/tst-bz24153.c: New file.
6558 * libio/Makefile (tests): Add it.
6559
c70824b9
FW
65602019-02-02 Florian Weimer <fweimer@redhat.com>
6561
6562 [BZ #14829]
6563 * manual/resource.texi (Basic Scheduling Functions): Add
6564 portability note. Change process to task throughout the section.
6565 Remove incorrect comment about sched_yield as it affects
6566 tasks/threads, not entire processes.
6567 * sysdeps/unix/sysv/linux/bits/posix_opt.h
6568 (_POSIX_PRIORITY_SCHEDULING): Update comment.
6569
4dcbbc3b
JM
65702019-02-01 Joseph Myers <joseph@codesourcery.com>
6571
6572 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
6573 * configure: Regenerated.
6574 * manual/install.texi (Tools for Compilation): Update minimum GCC
6575 version.
6576 * INSTALL: Regenerated.
6577
6175507c
FW
65782019-02-01 Florian Weimer <fweimer@redhat.com>
6579
6580 * support/support_test_compare_string.c
6581 (support_test_compare_string): Use "string" in error message.
6582 * support/tst-test_compare_string.c (do_test): Adjust.
6583
baef1943
FW
65842019-02-01 Florian Weimer <fweimer@redhat.com>
6585
6586 * support/support_format_address_family.c
6587 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
6588
395599f0
FW
65892019-02-01 Florian Weimer <fweimer@redhat.com>
6590
6591 * manual/socket.texi (Internet Address Formats): Clarify the byte
6592 order of struct sockaddr_in, struct sockaddr_in6. Document
6593 sin6_flowinfo and sin6_scope_id.
6594
b06f4c00
WD
65952019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
6596
6597 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
6598 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
6599 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
6600 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
6601 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
6602 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
6603
83d1cc42
FX
66042019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6605
6606 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
6607 [!MEMCHR](MEMCHR): Set to __memchr.
6608 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
6609 Add memchr_generic and memchr_nosimd.
6610 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6611 (__libc_ifunc_impl_list): Add memchr ifuncs.
6612 * sysdeps/aarch64/multiarch/memchr.c: New file.
6613 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
6614 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
6615
c7d3890f
FX
66162019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6617
6618 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
6619 Add memset_emag.
6620 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6621 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
6622 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
6623 Add IS_EMAG check for ifunc dispatch.
6624 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
6625 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
6626
07c3d1ec
FX
66272019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6628
6629 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
6630 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
6631 Add emag.
6632 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
6633 New macro.
6634
114f792e
SL
66352019-02-01 Stefan Liebler <stli@linux.ibm.com>
6636
6637 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
6638
d5627550
VG
66392019-01-31 Vineet Gupta <vgupta@synopsys.com>
6640
6641 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
6642 syscall-template file.
6643
5fc9ed4c
CD
66442019-01-31 Carlos O'Donell <carlos@redhat.com>
6645 Torvald Riegel <triegel@redhat.com>
6646 Rik Prohaska <prohaska7@gmail.com>
6647
6648 [BZ# 23844]
6649 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
6650 tst-rwlock-trywrlock-stall.
6651 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
6652 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
6653 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
6654 Set __wrphase_fute to 1 only if we started the write phase.
6655 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
6656 * nptl/tst-rwlock-trywrlock-stall.c: New file.
6657 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
6658 * support/xpthread_rwlock_destroy.c: New file.
6659 * support/xthread.h: Declare xpthread_rwlock_destroy.
6660
932329a5
JM
66612019-02-01 Joseph Myers <joseph@codesourcery.com>
6662
6663 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
6664 version to 4.0.2.
6665
5f10701f
PP
66662019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6667
6668 [BZ #24051]
6669 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
6670 * libio/fileops.c (_IO_new_file_underflow): Likewise
6671 * libio/wfileops.c (_IO_wfile_underflow): Likewise
6672 * libio/putchar.c (putchar): Likewise.
6673 * libio/putchar_u.c (putchar_unlocked): Likewise.
6674 * libio/putwchar.c (putchar): Likewise.
6675 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
6676 * libio/tst-bz24051.c: New test.
6677 * libio/Makefile (tests): Add tst-bz24051
6678
583dd860
PE
66792019-01-31 Paul Eggert <eggert@cs.ucla.edu>
6680
b626c5aa 6681 CVE-2019-9169
583dd860
PE
6682 regex: fix read overrun [BZ #24114]
6683 Problem found by AddressSanitizer, reported by Hongxu Chen in:
6684 https://debbugs.gnu.org/34140
6685 * posix/regexec.c (proceed_next_node):
6686 Do not read past end of input buffer.
6687
2bac7daa
FW
66882019-01-31 Florian Weimer <fweimer@redhat.com>
6689
6690 [BZ #24059]
6691 * nss/nss_files/files-alias.c (get_next_alias): Handle
6692 continuation line without newline at the end.
6693 * nss/tst-nss-files-alias-truncated.c: New file.
6694 * nss/Makefile [$(build-shared)] (tests): Add
6695 tst-nss-files-alias-truncated.
6696 (tst-nss-files-alias-truncated): Link with libnss_files.so.
6697 * support/namespace.h (struct support_chroot_configuration): Add
6698 aliases member.
6699 (struct support_chroot): Add path_aliases member.
6700 * support/support_chroot.c (support_chroot_create): Handle
6701 aliases.
6702 (support_chroot_free): Free path_aliases.
6703
330c9d0d
SP
67042019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
6705
de44ab67
SP
6706 * version.h (RELEASE): Set to "development".
6707 (VERSION): Set to "2.29.9000".
6708 * NEWS: Add section for 2.30.
6709
56c86f5d
SP
6710 * version.h (RELEASE): Set to "stable".
6711 (VERSION): Set to "2.29".
6712 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
6713
330c9d0d
SP
6714 * NEWS: Add the list of bugs fixed in 2.29.
6715 * manual/contrib.texi: Update contributors list with some more
6716 names.
6717 * manual/install.texi: Update latest versions of packages
6718 tested.
6719 * INSTALL: Regenerated.
6720
e1e47c91
SP
67212019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
6722
6723 * po/be.po: Update translations.
6724 * po/bg.po: Likewise.
6725 * po/ca.po: Likewise.
6726 * po/cs.po: Likewise.
6727 * po/da.po: Likewise.
6728 * po/de.po: Likewise.
6729 * po/el.po: Likewise.
6730 * po/eo.po: Likewise.
6731 * po/es.po: Likewise.
6732 * po/fi.po: Likewise.
6733 * po/fr.po: Likewise.
6734 * po/gl.po: Likewise.
6735 * po/hr.po: Likewise.
6736 * po/hu.po: Likewise.
6737 * po/ia.po: Likewise.
6738 * po/id.po: Likewise.
6739 * po/it.po: Likewise.
6740 * po/ja.po: Likewise.
6741 * po/ko.po: Likewise.
6742 * po/lt.po: Likewise.
6743 * po/nb.po: Likewise.
6744 * po/nl.po: Likewise.
6745 * po/pl.po: Likewise.
6746 * po/pt_BR.po: Likewise.
6747 * po/ru.po: Likewise.
6748 * po/rw.po: Likewise.
6749 * po/sk.po: Likewise.
6750 * po/sl.po: Likewise.
6751 * po/sv.po: Likewise.
6752 * po/tr.po: Likewise.
6753 * po/uk.po: Likewise.
6754 * po/vi.po: Likewise.
6755 * po/zh_CN.po: Likewise.
6756 * po/zh_TW.po: Likewise.
6757
8d016826
UB
67582019-01-24 Uroš Bizjak <ubizjak@gmail.com>
6759
6760 [BZ #24130]
6761 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
6762 of $f3 register on $y_is_neg path.
6763
a0bb5abd
ST
67642019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
6765
b96e22d0 6766 [BZ #24110]
a0bb5abd
ST
6767 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
6768 sigaltstack.ss_flags.
6769
b22eed37
TS
67702019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
6771
6772 [BZ #23758]
6773 * manual/time.texi (strftime): Document "%Ey".
6774 * time/strftime_l.c (__strftime_internal): Set the default width
6775 padding with zero of "%Ey" to 2.
6776
32f600a2
TS
6777 [BZ #24096]
6778 * manual/time.texi (strftime): Document "%EC" and "%EY".
6779 * time/Makefile (tests): Add tst-strftime2.
6780 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
6781 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
6782 override padding for "%Ey".
6783 If an optional flag ('_' or '-') is specified to "%EY", interpret the
6784 "%Ey" in the subformat as if decorated with that flag.
6785 * time/tst-strftime2.c: New file.
6786
8e889c5d
AZ
67872019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6788
3367acdb
AZ
6789 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
6790 are not defined.
6791
8e889c5d
AZ
6792 [BZ #24122]
6793 * elf/Makefile (tests): Add tst-audit13.
6794 (modules-names): Add tst-audit13mod1.
6795 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
6796 rule.
6797 * elf/rtld.c (dl_main): Handle invalid audit module version.
6798 * elf/tst-audit13.c: New file.
6799 * elf/tst-audit13mod1.c: Likewise.
6800
a95dc01c
ST
68012019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
6802
6803 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
6804 returned by __hurd_at_flags.
ee4d7902
ST
6805 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
6806 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
6807 directly instead of __hurd_file_name_lookup.
a95dc01c 6808
712f1167
JM
68092019-01-21 Joseph Myers <joseph@codesourcery.com>
6810
6811 * scripts/build-many-glibcs.py (Context.checkout): Default
6812 binutils version to 2.32 branch.
6813
108bc404
FW
68142019-01-21 Florian Weimer <fweimer@redhat.com>
6815
6816 [BZ #20018]
6817 CVE-2016-10739
6818 resolv: Reject trailing characters in host names
6819 * include/arpa/inet.h (__inet_aton_exact): Declare.
6820 (inet_aton): Remove hidden prototype. No longer used internally.
6821 * nscd/gai.c (__inet_aton): Do not define.
6822 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
6823 * nss/digits_dots.c (__inet_aton): Likewise.
6824 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
6825 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
6826 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
6827 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
6828 (tst-resolv-trailing): Likewise.
6829 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
6830 libc.
6831 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
6832 Make static. Add endp parameter.
6833 (__inet_aton_exact): New function.
6834 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
6835 (__inet_addr): Call inet_aton_end.
6836 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
6837 not just IPv6. Call __inet_aton_exact.
6838 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
6839 (tests): Make const. Add additional test cases with trailing
6840 characters.
6841 (do_test): Use array_length.
6842 * resolv/tst-inet_aton_exact.c: New file.
6843 * resolv/tst-resolv-trailing.c: Likewise.
6844 * resolv/tst-resolv-nondecimal.c: Likewise.
6845 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
6846
5165de69
L
68472019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6848
6849 [BZ# 24097]
6850 CVE-2019-6488
6851 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
6852 Clear the upper 32 bits of RSI register.
6853 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
6854 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
6855 and tst-size_t-wcsnlen.
6856 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
6857 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
6858
c7c54f65
L
68592019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6860
6861 [BZ# 24097]
6862 CVE-2019-6488
6863 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
6864 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6865 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
6866 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
6867 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
6868
ee915088
L
68692019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6870
6871 [BZ# 24097]
6872 CVE-2019-6488
6873 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
6874 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6875 * sysdeps/x86_64/strcmp.S: Likewise.
6876 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
6877 tst-size_t-strncmp and tst-size_t-wcsncmp.
6878 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
6879 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
6880 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
6881
82d0b4a4
L
68822019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6883
6884 [BZ# 24097]
6885 CVE-2019-6488
6886 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
6887 RDX_LP for length. Clear the upper 32 bits of RDX register.
6888 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
6889 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
6890 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
6891 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
6892
ecd8b842
L
68932019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6894
6895 [BZ# 24097]
6896 CVE-2019-6488
6897 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
6898 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
6899 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
6900 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
6901
231c5676
L
69022019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6903
6904 [BZ# 24097]
6905 CVE-2019-6488
6906 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
6907 length. Clear the upper 32 bits of RDX register.
6908 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6909 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
6910 Likewise.
6911 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6912 Likewise.
6913 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
6914 tst-size_t-wmemchr.
6915 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
6916
b304fc20
L
69172019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6918
6919 [BZ# 24097]
6920 CVE-2019-6488
6921 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
6922 length. Clear the upper 32 bits of RDX register.
6923 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6924 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6925 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
6926 tst-size_t-wmemcmp.
6927 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
6928 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
6929
97700a34
L
69302019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6931
6932 [BZ# 24097]
6933 CVE-2019-6488
6934 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
6935 upper 32 bits of RDX register.
6936 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
6937 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
6938 tst-size_t-wmemchr.
6939 * sysdeps/x86_64/x32/test-size_t.h: New file.
6940 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
6941 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
6942
6ca53a24
FW
69432019-01-18 Florian Weimer <fweimer@redhat.com>
6944
6945 [BZ #24112]
6946 resolv: Do not send queries for non-host-names in nss_dns.
6947 * resolv/nss_dns/dns-host.c (check_name): New function.
6948 (_nss_dns_gethostbyname2_r): Use it.
6949 (_nss_dns_gethostbyname_r): Likewise.
6950 (_nss_dns_gethostbyname4_r): Likewise.
6951
5e30b8ef
FW
69522019-01-21 Florian Weimer <fweimer@redhat.com>
6953
6954 * resolv/inet_addr.c: Reformat to GNU style.
6955 (__inet_addr, __inet_aton): Update comment.
6956
71effcea
FW
69572019-01-18 Florian Weimer <fweimer@redhat.com>
6958
6959 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
6960 ("malloc: Use current (C11-style) atomics for fastbin access").
6961 This commit introduces a substantial performance regression on
6962 POWER and Aarch64.
6963 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
6964 (REMOVE_FB): Define.
6965 (_int_malloc): Use it and reindent.
6966 (_int_free): Use CAS loop with
6967 catomic_compare_and_exchange_val_rel.
6968 (malloc_consolidate): Use atomic_exchange_acq.
6969
6970
562f4362
L
69712019-01-18 H.J. Lu <hongjiu.lu@intel.com>
6972
6973 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
6974 -Wl,-z,now.
6975 (LDFLAGS-tst-minsigstksz-2): Likewise.
6976 (LDFLAGS-tst-minsigstksz-3): Likewise.
6977 (LDFLAGS-tst-minsigstksz-3a): Likewise.
6978 (LDFLAGS-tst-minsigstksz-4): Likewise.
6979
80dfa298
TS
69802019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
6981
6982 * manual/time.texi (strftime): Fix the wording to "alternative" rather
6983 than "alternate".
6984
008b598e
PC
69852019-01-16 Paul A. Clarke <pc@us.ibm.com>
6986
6987 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
6988
fbbc9a4e
ZW
69892019-01-16 Zack Weinberg <zackw@panix.com>
6990
6b5c8607
TS
6991 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
6992 (xget_sigstack_location): New test support functions.
6993 * support/xsigstack.c: New file, implementing them.
6994 * support/tst-xsigstack.c: New test for them.
6995 * support/Makefile: Update.
fbbc9a4e 6996
6b5c8607
TS
6997 * signal/tst-minsigstksz-1.c
6998 * signal/tst-minsigstksz-2.c
6999 * signal/tst-minsigstksz-3.c
7000 * signal/tst-minsigstksz-3a.c
7001 * signal/tst-minsigstksz-4.c: New tests.
7002 * signal/Makefile: Run them.
fbbc9a4e 7003
5f1135e4
SP
70042019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
7005
7006 * po/libc.pot: Regenerate.
7007
ecdacd34
TMQMF
70082019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7009
7010 * math/libm-test-fma.inc (fma_test_data): Set
7011 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
7012
56054664
RA
70132019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
7014
7015 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
7016 (do_test): Changed __vector __int128_t to __vector unsigned int.
7017
1a153e47
LS
70182019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7019
7020 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7021 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
7022 stpcpy-avx2 and stpncpy-avx2.
7023 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
7024 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
7025 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
7026 and __stpncpy_avx2.
7027 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
7028 ifunc-strcpy.h}: rename header for a more generic name.
7029 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
7030 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
7031 AVX unaligned load is fast and vzeroupper is preferred.
7032 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
7033 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
7034 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
7035 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
7036 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
7037 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
7038
a1b02ae7
DL
70392019-01-12 Dmitry V. Levin <ldv@altlinux.org>
7040
7041 * argp/argp-help.c: Fix typo in comment.
7042 * misc/sys/cdefs.h: Likewise.
7043 * posix/regexec.c (sift_states_iter_mb): Likewise.
7044 * socket/sockatmark.c: Likewise.
7045 * socket/sys/socket.h: Likewise.
7046 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
7047 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
7048 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
7049 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7050 * sysdeps/unix/sockatmark.c: Likewise.
7051 * time/strptime_l.c: Likewise.
7052
5cbbf01e
TS
70532019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
7054
7055 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
7056 missing space after the cast of "_NL_CURRENT".
7057
0bc9bdf1
RA
70582019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
7059
7060 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
7061 ifdef to fix read of VSCR.
7062 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
7063 tst-ucontext-ppc64-vscr.c to test list.
7064 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
7065
5494af04
AH
70662019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
7067
7068 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
7069 fall-through.
7070
e17f63ff
JW
70712019-01-09 Jim Wilson <jimw@sifive.com>
7072
7073 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
7074
02f440c1
WD
70752019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
7076
7077 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
7078 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
7079 __memcpy_falkor for ares.
7080 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
7081 Add new define.
7082 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
7083 Add ares cpu.
7084
69da3c9e
L
70852019-01-07 H.J. Lu <hongjiu.lu@intel.com>
7086
7087 [BZ #24066]
7088 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
7089 4_FP_W_TYPEs are used for IEEE quad precision.
7090 * soft-fp/extendhftf2.c: Likewise.
7091 * soft-fp/extendsftf2.c: Likewise.
7092 * soft-fp/extendxftf2.c: Likewise.
7093 * soft-fp/trunctfdf2.c: Likewise.
7094 * soft-fp/trunctfhf2.c: Likewise.
7095 * soft-fp/trunctfsf2.c: Likewise.
7096 * soft-fp/trunctfxf2.c: Likewise.
7097 * sysdeps/alpha/ots_cvttx.c: Likewise.
7098 * sysdeps/alpha/ots_cvtxt.c: Likewise.
7099 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
7100 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
7101 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
7102 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
7103 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
7104 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
7105 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
7106 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
7107 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
7108 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
7109 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
7110 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
7111 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
7112 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
7113 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
7114 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
7115
2ef42716
AJ
71162019-01-07 Aurelien Jarno <aurelien@aurel32.net>
7117
7118 [BZ #24024]
7119 * Makeconfig: Build libm with -fno-math-errno but build the remaining
7120 code with -fmath-errno.
7121 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
7122 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
7123 * string/test-strerror-errno.c: New file.
7124
7395f3a0
AJ
71252019-01-07 Aurelien Jarno <aurelien@aurel32.net>
7126
7127 [BZ #24046]
7128 * localedata/locales/en_US (date_fmt): Add, set to
7129 "%a %d %b %Y %r %Z".
7130
010fe231
FW
71312019-01-07 Florian Weimer <fweimer@redhat.com>
7132
7133 [BZ #24063]
7134 * manual/arith.texi (Math Error Reporting): Use @code{errno}
7135 instead of @var{errno}.
7136 (Parsing of Integers): Likewise.
7137 (Parsing of Floats): Likewise.
7138 * manual/filesys.texi (Working with Directory Trees): Likewise.
7139 (Temporary Files): Likewise.
7140 * manual/job.texi (Terminal Access Functions): Likewise.
7141 * manual/llio.texi (Synchronizing I/O): Likewise.
7142 * manual/math.texi (SVID Random): Likewise.
7143 * manual/message.texi (The catgets Functions): Likewise.
7144 (Translation with gettext): Likewise.
7145 (Locating gettext catalog): Likewise.
7146 (Charset conversion in gettext): Likewise.
7147 * manual/nss.texi (NSS Module Function Internals): Likewise.
7148 * manual/search.texi (Hash Search Function): Likewise.
7149 * manual/setjmp.texi (System V contexts): Likewise.
7150 * manual/time.texi (Sleeping): Likewise.
7151 * manual/users.texi (Lookup User): Likewise.
7152 (Lookup Group): Likewise.
7153
b79dc8d0
AZ
71542019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7155
7156 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
7157 fix typo.
7158
890461fe 71592019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
27c5e756
MJ
7160
7161 [BZ #19444]
7162 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
7163 __builtin_unreachable for default case in switch.
7164 (__ieee754_yn): Likewise.
7165 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7166 (__ieee754_ynl): Likewise.
7167 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7168 (__ieee754_ynl): Likewise.
7169 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7170 (__ieee754_ynl): Likewise.
7171
8b18d418
SN
71722019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
7173
7174 * manual/maint.texi: Use @{ and @}.
7175
4392898d
FW
71762019-01-04 Florian Weimer <fweimer@redhat.com>
7177
7178 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
7179 function.
7180 (do_in_chroot_1): Call it.
7181 (run_chroot_tests):
7182 Improve error reporting in case it is not possible to create a
7183 collision for the PTY name required by the test.
7184
17cc27d5
AZ
71852019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7186
ce7eb0e9
AZ
7187 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
7188 lll_wait_tid with timeout.
7189 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
7190 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
7191 futex_reltimed_wait_cancelable for cancelabla mode.
7192 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
7193 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
7194 macros.
7195 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
7196 * sysdeps/posix/waitid.c (__sigwait): Likewise.
7197 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
7198 SYSCALL_CANCEL_NCS): New macro.
7199 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
7200 (lll_timedwait_tid): Remove macro.
7201 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
7202 Likewise.
7203 (lll_timedwait_tid): Likewise.
7204 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
7205 Likewise.
7206 (lll_timedwait_tid): Likewise.
7207 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
7208 Likewise.
7209 (lll_timedwait_tid): Likewise.
7210 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
7211 Use INTERNAL_SYSCALL_CANCEL.
7212 * sysdeps/unix/sysv/linux/futex-internal.h
7213 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
7214 instead of __pthread_{enable,disable}_asynccancel.
7215 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
7216 (lll_futex_wait_cancel): New macro.
7217
0b13e255
AZ
7218 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
7219 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
7220
85c828a4
AZ
7221 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
7222 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
7223
d0d7f85f
AZ
7224 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
7225 in backtrace analysis.
7226 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
7227 side-effects.
7228 (tf_send): Likewise.
7229
17cc27d5
AZ
7230 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
7231 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
7232 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
7233 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
7234 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
7235 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
7236 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
7237 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
7238 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
7239 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
7240 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
7241 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
7242 Likewise.
7243 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
7244 tst-cancel-wrappers.sh.
7245 (generated): Remove tst-cancel-wrappers.out.
7246 (tst-cancel-wrappers.out): Remove rule.
7247 * nptl/tst-cancel-wrappers.sh: Remove file.
7248
7d7af8f1
SN
72492019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
7250
7251 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
7252 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
7253 Update.
7254
805334b2
AZ
72552019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7256
7257 [BZ #23640]
7258 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
7259 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
7260 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
7261 close-on-exec reset for adddup2 file action.
7262 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
7263
03992356
ZW
72642019-01-03 Zack Weinberg <zackw@panix.com>
7265
7266 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
7267 parameter. Only use deprecated scanf when __USE_GNU is defined
7268 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
7269 than 201103L, whichever is relevant for the language being compiled.
7270
7271 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
7272 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
7273 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
7274 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
7275 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
7276
7277 * libio/iovsscanf.c
7278 * libio/fwscanf.c
7279 * libio/iovswscanf.c
7280 * libio/swscanf.c
7281 * libio/vscanf.c
7282 * libio/vwscanf.c
7283 * libio/wscanf.c
7284 * stdio-common/fscanf.c
7285 * stdio-common/scanf.c
7286 * stdio-common/vfscanf.c
7287 * stdio-common/vfwscanf.c
7288 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7289 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
7290 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
7291 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
7292 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
7293 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
7294 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
7295 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
7296 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
7297 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
7298 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
7299 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
7300 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
7301 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
7302 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
7303
7304 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
7305 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
7306 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
7307 not sscanf.
7308 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
7309 with a preprocessor macro.
7310
7311 * stdio-common/bug21.c, stdio-common/scanf14.c:
7312 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
7313 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
7314 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
7315 to xscanf, xfscanf, xsscanf.
7316
7317 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
7318 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
7319 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
7320 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
7321 xfscanf, xsscanf.
7322 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
7323 override feature selection macros or provide definitions of u_char etc.
7324 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
7325 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
7326 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
7327 with -std=gnu89.
7328
8083afa5
AZ
73292019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7330
6f343c1f
AZ
7331 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7332 bits/termios-misc.h.
7333 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
7334 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7335 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7336 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7337 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
7338 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
7339
51f4beb0
AZ
7340 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
7341 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
7342 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
7343 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
7344 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
7345 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
7346 termios-misc.h.
7347 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
7348 (sysdep_headers): Add termios-misc.h.
7349
f69c5cb2
AZ
7350 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
7351 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7352 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7353
3aa4a07e
AZ
7354 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7355 termios-tcflow.h.
7356 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
7357 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
7358 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
7359 TCSAFLUSH): Move to termios-tcflow.h.
7360 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7361 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7362 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7363 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7364
22679ddf
AZ
7365 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7366 termios-c_lflag.h.
7367 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
7368 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
7369 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
7370 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
7371 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
7372 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
7373 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
7374 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
7375 Likewise.
7376 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7377 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7378 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7379 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7380
72eb6ecc
AZ
7381 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7382 termios-c_cflag.h.
7383 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
7384 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
7385 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
7386 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
7387 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
7388 termios-c_cflag.h.
7389 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7390 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7391 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7392 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7393
9c5d0d02
AZ
7394 [BZ #23783]
7395 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7396 termios-baud.h.
7397 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
7398 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
7399 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
7400 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
7401 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
7402 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
7403 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
7404 __MAX_BAUD): Move to termios-baud.h.
7405 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
7406 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
7407 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7408 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7409 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7410
7b832018
AZ
7411 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
7412 termios-c_oflag.h.
7413 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
7414 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
7415 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
7416 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
7417 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
7418 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
7419 termios-c_oflag.h.
7420 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
7421 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
7422 FFR1): Likewise.
7423 [USE_MISC] (XTABS): Likewise.
7424 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7425 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7426 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7427 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
7428
3127003e
AZ
7429 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
7430 termios-c_iflag.h.
7431 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
7432 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
7433 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
7434 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
7435 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
7436 IUTF8): Move to termios-c_iflag.h.
7437 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7438 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7439 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7440 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7441
48c1dd96
AZ
7442 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
7443 termios-cc.h.
7444 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
7445 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
7446 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
7447 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
7448 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
7449 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
7450 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
7451 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
7452 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7453 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7454 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7455 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7456
e5a50db3
AZ
7457 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
7458 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
7459 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
7460 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
7461 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7462 termios-struct.h.
7463 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
7464 termios-struct.h.
7465 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
7466 Likewise.
7467 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
7468 Likewise.
7469 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
7470 Likewise.
7471 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
7472 Likewise.
7473 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
7474 _HAVE_C_OSPEED): Define.
7475 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
7476 _HAVE_C_OSPEED): Likewise.
7477 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
7478 _HAVE_C_OSPEED): Likewise.
7479 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
7480 (cfsetospeed): Check for define value instead of existence.
7481 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
7482 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
7483 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
7484 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
7485 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
7486
8083afa5
AZ
7487 [BZ #17783]
7488 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
7489 Define.
7490 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
7491 (TIOCSER_TEMT): Likewise.
7492 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
7493 (TEOCSER_TEMT): Likewise.
7494
4d7d7dc6
P
74952019-01-02 PanderMusubi <pander@users.sourceforge.net>
7496
7497 [BZ #24011]
7498 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
7499
8e291a29
JM
75002019-01-02 Joseph Myers <joseph@codesourcery.com>
7501
7502 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
7503
55137f7d
ST
75042019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7505
7506 * sysdeps/htl/pt-barrierattr-setpshared.c
7507 (pthread_barrierattr_setpshared): Add stub warning.
7508 * sysdeps/htl/pt-condattr-setpshared.c
7509 (pthread_condattr_setpshared): Likewise.
7510 * sysdeps/htl/pt-mutexattr-setpshared.c
7511 (pthread_mutexattr_setpshared): Likewise.
7512 * sysdeps/htl/pt-rwlockattr-setpshared.c
7513 (pthread_rwlockattr_setpshared): Likewise.
7514 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
7515 (pthread_mutexattr_setpshared): Likewise.
7516
2ce09e01
JM
75172019-01-02 Joseph Myers <joseph@codesourcery.com>
7518
acb55dcb
JM
7519 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
7520 constants to match with Linux 4.20.
7521
2ce09e01
JM
7522 * sysdeps/mips/mips32/libm-test-ulps: Update.
7523 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7524
fe20bb1d
AJ
75252019-01-02 Aurelien Jarno <aurelien@aurel32.net>
7526
7527 [BZ #24034]
7528 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
7529 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
7530 than __typeof (...) for the a_ptr variable.
7531
2d9837c1
GG
75322019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7533
7534 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
7535 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
7536 * libio/Makefile (tests): Add tst-sprintf-ub and
7537 tst-sprintf-chk-ub.
7538 (CFLAGS-tst-sprintf-ub.c): New variable.
7539 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
7540 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
7541 destination buffer and check for overflows in fortified mode.
7542 * libio/libioP.h (PRINTF_CHK): New macro.
7543 * libio/tst-sprintf-chk-ub.c: New file.
7544 * libio/tst-sprintf-ub.c: Likewise.
7545
d5c6df0b 75462019-01-02 Florian Weimer <fweimer@redhat.com>
8c1aafc1
FW
7547
7548 [BZ #24018]
7549 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
7550 failure.
7551
66081e38
FW
75522019-01-02 Florian Weimer <fweimer@redhat.com>
7553
7554 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
7555
04277e02
JM
75562019-01-01 Joseph Myers <joseph@codesourcery.com>
7557
6ef3d225
JM
7558 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
7559 macro.
7560
e3d4e292
JM
7561 * sysdeps/unix/sysv/linux/netpacket/packet.h
7562 (PACKET_IGNORE_OUTGOING): New macro.
7563
f4507797
JM
7564 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
7565 macro.
7566
47ad5e1a
JM
7567 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7568 version to 4.20.
7569 (riscv_flush_icache): New syscall.
7570
7628a1b0
JM
7571 * manual/texinfo.tex: Update to version 2018-12-28.17 with
7572 trailing whitespace removed.
7573 * scripts/config.guess: Update to version 2019-01-01.
7574 * scripts/config.sub: Update to version 2019-01-01.
7575 * scripts/move-if-change: Update from gnulib.
7576
c9123888
JM
7577 * NEWS: Update copyright dates.
7578 * catgets/gencat.c (print_version): Likewise.
7579 * csu/version.c (banner): Likewise.
7580 * debug/catchsegv.sh: Likewise.
7581 * debug/pcprofiledump.c (print_version): Likewise.
7582 * debug/xtrace.sh (do_version): Likewise.
7583 * elf/ldconfig.c (print_version): Likewise.
7584 * elf/ldd.bash.in: Likewise.
7585 * elf/pldd.c (print_version): Likewise.
7586 * elf/sotruss.sh: Likewise.
7587 * elf/sprof.c (print_version): Likewise.
7588 * iconv/iconv_prog.c (print_version): Likewise.
7589 * iconv/iconvconfig.c (print_version): Likewise.
7590 * locale/programs/locale.c (print_version): Likewise.
7591 * locale/programs/localedef.c (print_version): Likewise.
7592 * login/programs/pt_chown.c (print_version): Likewise.
7593 * malloc/memusage.sh (do_version): Likewise.
7594 * malloc/memusagestat.c (print_version): Likewise.
7595 * malloc/mtrace.pl: Likewise.
7596 * manual/libc.texinfo: Likewise.
7597 * nptl/version.c (banner): Likewise.
7598 * nscd/nscd.c (print_version): Likewise.
7599 * nss/getent.c (print_version): Likewise.
7600 * nss/makedb.c (print_version): Likewise.
7601 * posix/getconf.c (main): Likewise.
7602 * scripts/test-installation.pl: Likewise.
7603 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7604
04277e02
JM
7605 * All files with FSF copyright notices: Update copyright dates
7606 using scripts/update-copyrights.
7607 * locale/programs/charmap-kw.h: Regenerated.
7608 * locale/programs/locfile-kw.h: Likewise.
7609
e740e5b1
JM
76102018-12-31 Joseph Myers <joseph@codesourcery.com>
7611
7612 * timezone/zdump.c: Update from tzcode 2018i.
7613 * timezone/zic.c: Likewise.
7614
9b7f98b3
PE
76152018-12-31 Paul Eggert <eggert@cs.ucla.edu>
7616
7617 regex: improve Gnulib port to AIX
7618 From the glibc point of view, this removes duplicate macro
7619 definitions and is obviously safe.
7620 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
7621 * posix/regex_internal.h:
7622 (__attribute__, __attribute_warn_unused_result__):
7623 Remove; already defined elsewhere.
7624
b50dd3bc
FW
76252018-12-31 Florian Weimer <fw@deneb.enyo.de>
7626
7627 [BZ #24027]
7628 * malloc/malloc.c (_int_realloc): Always call memcpy for the
7629 copying operation. (ncopies had the wrong type, resulting in an
7630 integer wraparound and too few elements being copied.)
7631
0b9c8490
L
76322018-12-31 H.J. Lu <hongjiu.lu@intel.com>
7633
7634 [BZ #24022]
7635 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
7636 <asm/syscalls.h> exists with __has_include__ before including it.
7637
01047fa6
JM
76382018-12-31 Joseph Myers <joseph@codesourcery.com>
7639
7640 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7641 version to 4.20.
7642
6b5c8607 76432018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
065957a3
JW
7644
7645 * hurd/lookup-retry: Include <unistd.h>.
7646 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
7647 Release it on return. Handle "pid" magical lookup retry.
7648
ab74d59f 76492018-12-28 Rafał Lużyński <digitalfreak@lingonborough.com>
989182c4
RL
7650
7651 [BZ #10496]
7652 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
7653 (t_fmt_ampm): Likewise.
7654 * localedata/locales/aa_ER (t_fmt): Likewise.
7655 (t_fmt_ampm): Likewise.
7656 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
7657 (t_fmt_ampm): Likewise.
7658 * localedata/locales/aa_ET (t_fmt): Likewise.
7659 (t_fmt_ampm): Likewise.
7660 * localedata/locales/am_ET (t_fmt): Likewise.
7661 (t_fmt_ampm): Likewise.
7662 * localedata/locales/byn_ER (t_fmt): Likewise.
7663 (t_fmt_ampm): Likewise.
7664 * localedata/locales/om_ET (t_fmt): Likewise.
7665 (t_fmt_ampm): Likewise.
7666 * localedata/locales/sid_ET (t_fmt): Likewise.
7667 (t_fmt_ampm): Likewise.
7668 * localedata/locales/so_DJ (t_fmt): Likewise.
7669 (t_fmt_ampm): Likewise.
7670 * localedata/locales/so_ET (t_fmt): Likewise.
7671 (t_fmt_ampm): Likewise.
7672 * localedata/locales/so_SO (t_fmt): Likewise.
7673 (t_fmt_ampm): Likewise.
7674 * localedata/locales/ti_ER (t_fmt): Likewise.
7675 (t_fmt_ampm): Likewise.
7676 * localedata/locales/ti_ET (t_fmt): Likewise.
7677 (t_fmt_ampm): Likewise.
7678 * localedata/locales/tig_ER (t_fmt): Likewise.
7679 (t_fmt_ampm): Likewise.
7680 * localedata/locales/wal_ET (t_fmt): Likewise.
7681 (t_fmt_ampm): Likewise.
7682
7683 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
7684 * localedata/locales/ar_IN (t_fmt): Likewise.
7685 * localedata/locales/bhb_IN (t_fmt): Likewise.
7686 * localedata/locales/bho_IN (t_fmt): Likewise.
7687 * localedata/locales/bi_VU (t_fmt): Likewise.
7688 * localedata/locales/bn_BD (t_fmt): Likewise.
7689 * localedata/locales/bn_IN (t_fmt): Likewise.
7690 * localedata/locales/brx_IN (t_fmt): Likewise.
7691 * localedata/locales/doi_IN (t_fmt): Likewise.
7692 * localedata/locales/en_HK (t_fmt): Likewise.
7693 (t_fmt_ampm): Likewise.
7694 * localedata/locales/en_IN (t_fmt): Likewise.
7695 * localedata/locales/en_PH (t_fmt): Likewise.
7696 * localedata/locales/gu_IN (t_fmt): Likewise.
7697 * localedata/locales/hi_IN (t_fmt): Likewise.
7698 * localedata/locales/hif_FJ (t_fmt): Likewise.
7699 * localedata/locales/hne_IN (t_fmt): Likewise.
7700 * localedata/locales/kn_IN (t_fmt): Likewise.
7701 * localedata/locales/kok_IN (t_fmt): Likewise.
7702 * localedata/locales/ks_IN (t_fmt): Likewise.
7703 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
7704 * localedata/locales/mag_IN (t_fmt): Likewise.
7705 * localedata/locales/mai_IN (t_fmt): Likewise.
7706 * localedata/locales/mjw_IN (t_fmt): Likewise.
7707 * localedata/locales/ml_IN (t_fmt): Likewise.
7708 * localedata/locales/mni_IN (t_fmt): Likewise.
7709 * localedata/locales/mr_IN (t_fmt): Likewise.
7710 * localedata/locales/ms_MY (t_fmt): Likewise.
7711 * localedata/locales/pa_IN (t_fmt): Likewise.
7712 * localedata/locales/raj_IN (t_fmt): Likewise.
7713 * localedata/locales/sa_IN (t_fmt): Likewise.
7714 * localedata/locales/sat_IN (t_fmt): Likewise.
7715 * localedata/locales/sd_IN (t_fmt): Likewise.
7716 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
7717 * localedata/locales/tcy_IN (t_fmt): Likewise.
7718 * localedata/locales/the_NP (t_fmt): Likewise.
7719 * localedata/locales/to_TO (t_fmt): Likewise.
7720 * localedata/locales/ur_IN (t_fmt): Likewise.
7721
7722 * localedata/locales/hif_FJ (d_t_fmt): Set to
7723 "%A %d %b %Y %I:%M:%S %p".
7724 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
7725
7726 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
7727 * localedata/locales/ar_BH (t_fmt): Likewise.
7728 * localedata/locales/ar_DZ (t_fmt): Likewise.
7729 * localedata/locales/ar_EG (t_fmt): Likewise.
7730 * localedata/locales/ar_IQ (t_fmt): Likewise.
7731 * localedata/locales/ar_JO (t_fmt): Likewise.
7732 * localedata/locales/ar_KW (t_fmt): Likewise.
7733 * localedata/locales/ar_LB (t_fmt): Likewise.
7734 * localedata/locales/ar_LY (t_fmt): Likewise.
7735 * localedata/locales/ar_OM (t_fmt): Likewise.
7736 * localedata/locales/ar_QA (t_fmt): Likewise.
7737 * localedata/locales/ar_SD (t_fmt): Likewise.
7738 * localedata/locales/ar_SS (t_fmt): Likewise.
7739 * localedata/locales/ar_SY (t_fmt): Likewise.
7740 * localedata/locales/ar_TN (t_fmt): Likewise.
7741 * localedata/locales/ar_YE (t_fmt): Likewise.
7742
7743 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
7744 (t_fmt_ampm): Likewise.
7745 * localedata/locales/gez_ET (t_fmt): Likewise.
7746 (t_fmt_ampm): Likewise.
7747
7748 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
7749 (t_fmt_ampm): Likewise.
7750 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
7751
7752 * localedata/locales/zh_HK (t_fmt):
7753 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
7754
7755 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
7756 because this locale does not use the 12-hour clock.
7757 (t_fmt): Set to "%Z %H:%M:%S".
7758 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
7759
7760 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
7761 because this locale does not use the 12-hour clock.
7762 (t_fmt): Set to "%H:%M:%S %Z".
7763 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
7764
7765 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
7766 because this locale does not use the 12-hour clock.
7767 (t_fmt): Set to "%T".
7768 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
7769 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
7770
7771 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
7772 because this locale does not use the 12-hour clock.
7773 (t_fmt): Set to "%H:%M:%S %Z".
7774 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
7775
7776 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
7777 because this locale does not use the 12-hour clock.
7778 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
7779 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
7780
ab74d59f 77812018-12-28 Rafał Lużyński <digitalfreak@lingonborough.com>
27841a7d
RL
7782
7783 [BZ #10496]
7784 [BZ #23724]
7785 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
7786 (t_fmt_ampm): Likewise.
7787 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
7788 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
7789 (d_fmt): Set to "%-d.%-m.%y".
7790
0253580a
AZ
77912018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7792
7793 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
7794 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
7795 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
7796 Likewise.
7797 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
7798 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
7799 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
7800 function.
7801 * support/blob_repeat.c (check_mul_overflow_size_t,
7802 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
7803
09104e5b
AJ
78042018-12-28 Aurelien Jarno <aurelien@aurel32.net>
7805
7806 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
7807
c0feb731
PE
78082018-12-27 Paul Eggert <eggert@cs.ucla.edu>
7809
7810 regex: simplify Gnulib port
7811 This simplifies the code, by removing stuff intended for porting
7812 to Gnulib but no longer needed there.
7813 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
7814 uses of libc_hidden_def, weak_alias.
7815 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
7816 _Restrict_ except for public-facing headers.
7817 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
7818 Remove; already defined elsewhere.
7819 * posix/regex.c, posix/regex_internal.h:
7820 Use __GNUC_PREREQ instead of rolling our own.
7821 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
7822
5289f1f5
WD
78232018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
7824
7825 * benchtests/bench-strlen.c (generic_strlen): New function.
6b5c8607 7826 (memchr_strlen): New function.
5289f1f5 7827
ba4b8fab
L
78282018-12-26 H.J. Lu <hongjiu.lu@intel.com>
7829
7830 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
7831 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
7832 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
7833
9412979a
L
78342018-12-26 H.J. Lu <hongjiu.lu@intel.com>
7835
7836 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7837
8700a785
L
78382018-12-26 H.J. Lu <hongjiu.lu@intel.com>
7839
7840 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
7841 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
7842 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
7843 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
7844 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
7845 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
7846 <sysdeps/ieee754/flt-32/s_sincosf.c>.
7847
57b3ff8e
JM
78482018-12-21 Joseph Myers <joseph@codesourcery.com>
7849
7850 [BZ #24023]
7851 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
7852 PLT reference in libc.so.
7853 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
7854 _Q_lltoq and _Q_qtod PLT references in libc.so.
7855
90d3320d
WD
78562018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
7857
7858 * benchtests/bench-memchr.c: Cleanup defines.
7859 * benchtests/bench-memcmp.c: Likewise.
7860 * benchtests/bench-memset.c: Likewise.
7861 * benchtests/bench-memset-large.c: Likewise.
7862 * benchtests/bench-memset-walk.c: Likewise.
7863 * benchtests/bench-stpcpy.c: Likewise.
7864 * benchtests/bench-stpncpy.c: Likewise.
7865 * benchtests/bench-strcat.c: Likewise.
7866 * benchtests/bench-strchr.c: Likewise.
7867 * benchtests/bench-strcmp.c: Likewise.
7868 * benchtests/bench-strcpy.c: Likewise.
7869 * benchtests/bench-strcspn.c: Likewise.
7870 * benchtests/bench-string.h: Likewise.
7871 * benchtests/bench-strlen.c: Likewise.
7872 * benchtests/bench-strncat.c: Likewise.
7873 * benchtests/bench-strncmp.c: Likewise.
7874 * benchtests/bench-strncpy.c: Likewise.
7875 * benchtests/bench-strnlen.c: Likewise.
7876 * benchtests/bench-strpbrk.c: Likewise.
7877 * benchtests/bench-strrchr.c: Likewise.
7878 * benchtests/bench-strspn.c: Likewise.
7879
192963be
JM
78802018-12-21 Joseph Myers <joseph@codesourcery.com>
7881
5d025ea6
JM
7882 * stdlib/longlong.h: Update from GCC.
7883
192963be
JM
7884 [BZ #23993]
7885 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
7886 * configure: Regenerated.
7887 * manual/install.texi (Tools for Compilation): Update minimum GCC
7888 version.
7889 * INSTALL: Regenerated.
7890
6b5c8607 78912018-12-21 Istvan Kurucsai <pistukem@gmail.com>
c0e82f11
IK
7892
7893 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
7894
6b5c8607 78952018-12-20 Istvan Kurucsai <pistukem@gmail.com>
ebe544bf
IK
7896
7897 * malloc/malloc.c (mremap_chunk): Additional checks.
7898
5f72b005
MH
78992018-12-21 Mao Han <han_mao@c-sky.com>
7900
7901 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
7902 * scripts/build-many-glibcs.py: Add C-SKY targets.
7903 * sysdeps/csky/Implies: New file.
7904 * sysdeps/csky/Makefile: Likewise.
7905 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
7906 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
7907 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
7908 * sysdeps/csky/abiv2/memcmp.S: Likewise.
7909 * sysdeps/csky/abiv2/memcpy.S: Likewise.
7910 * sysdeps/csky/abiv2/memmove.S: Likewise.
7911 * sysdeps/csky/abiv2/memset.S: Likewise.
7912 * sysdeps/csky/abiv2/setjmp.S: Likewise.
7913 * sysdeps/csky/abiv2/start.S: Likewise.
7914 * sysdeps/csky/abiv2/strcmp.S: Likewise.
7915 * sysdeps/csky/abiv2/strcpy.S: Likewise.
7916 * sysdeps/csky/abiv2/strlen.S: Likewise.
7917 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
7918 * sysdeps/csky/abort-instr.h: Likewise.
7919 * sysdeps/csky/atomic-machine.h: Likewise.
7920 * sysdeps/csky/bits/endian.h: Likewise.
7921 * sysdeps/csky/bits/fenv.h: Likewise.
7922 * sysdeps/csky/bits/link.h: Likewise.
7923 * sysdeps/csky/bits/setjmp.h: Likewise.
7924 * sysdeps/csky/bsd-_setjmp.S: Likewise.
7925 * sysdeps/csky/bsd-setjmp.S: Likewise.
7926 * sysdeps/csky/configure: Likewise.
7927 * sysdeps/csky/configure.ac: Likewise.
7928 * sysdeps/csky/dl-machine.h: Likewise.
7929 * sysdeps/csky/dl-procinfo.c: Likewise.
7930 * sysdeps/csky/dl-procinfo.h: Likewise.
7931 * sysdeps/csky/dl-sysdep.h: Likewise.
7932 * sysdeps/csky/dl-tls.h: Likewise.
7933 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
7934 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
7935 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
7936 * sysdeps/csky/fpu/fegetenv.c: Likewise.
7937 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
7938 * sysdeps/csky/fpu/fegetmode.c: Likewise.
7939 * sysdeps/csky/fpu/fegetround.c: Likewise.
7940 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
7941 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
7942 * sysdeps/csky/fpu/fenv_private.h: Likewise.
7943 * sysdeps/csky/fpu/fesetenv.c: Likewise.
7944 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
7945 * sysdeps/csky/fpu/fesetmode.c: Likewise.
7946 * sysdeps/csky/fpu/fesetround.c: Likewise.
7947 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
7948 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
7949 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
7950 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
7951 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
7952 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
7953 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
7954 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
7955 * sysdeps/csky/fpu_control.h: Likewise.
7956 * sysdeps/csky/gccframe.h: Likewise.
7957 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
7958 * sysdeps/csky/ldsodefs.h: Likewise.
7959 * sysdeps/csky/libc-tls.c: Likewise.
7960 * sysdeps/csky/linkmap.h: Likewise.
7961 * sysdeps/csky/machine-gmon.h: Likewise.
7962 * sysdeps/csky/memusage.h: Likewise.
7963 * sysdeps/csky/nofpu/Implies: Likewise.
7964 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
7965 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
7966 * sysdeps/csky/nptl/Makefile: Likewise.
7967 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
7968 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
7969 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
7970 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
7971 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
7972 * sysdeps/csky/nptl/tls.h: Likewise.
7973 * sysdeps/csky/preconfigure: Likewise.
7974 * sysdeps/csky/sfp-machine.h: Likewise.
7975 * sysdeps/csky/sotruss-lib.c: Likewise.
7976 * sysdeps/csky/stackinfo.h: Likewise.
7977 * sysdeps/csky/sysdep.h: Likewise.
7978 * sysdeps/csky/tininess.h: Likewise.
7979 * sysdeps/csky/tst-audit.h: Likewise.
7980 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
7981 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
7982 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
7983 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
7984 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
7985 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
7986 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
7987 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
7988 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
7989 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
7990 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
7991 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
7992 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
7993 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
7994 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
7995 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
7996 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
7997 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
7998 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
7999 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
8000 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
8001 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
8002 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
8003 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
8004 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
8005 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
8006 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
8007 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
8008 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
8009 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
8010 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
8011 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
8012 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
8013 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
8014 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
8015 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
8016 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
8017 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
8018 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
8019 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
8020 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
8021 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
8022 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
8023 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
8024
6b5c8607 80252018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
ac253355
AA
8026
8027 * include/time.h (__difftime64): Add.
8028 * time/difftime.c (subtract): convert to 64-bit time.
8029 * time/difftime.c (__difftime64): Add.
8030 * time/difftime.c (__difftime): Wrap around __difftime64.
8031
ab416931
L
80322018-12-20 H.J. Lu <hongjiu.lu@intel.com>
8033
8034 * manual/examples/add.c: Remove redundant "if not".
8035 * manual/examples/argp-ex1.c: Likewise.
8036 * manual/examples/argp-ex2.c: Likewise.
8037 * manual/examples/argp-ex3.c: Likewise.
8038 * manual/examples/argp-ex4.c: Likewise.
8039 * manual/examples/atexit.c: Likewise.
8040 * manual/examples/db.c: Likewise.
8041 * manual/examples/dir.c: Likewise.
8042 * manual/examples/dir2.c: Likewise.
8043 * manual/examples/execinfo.c: Likewise.
8044 * manual/examples/filecli.c: Likewise.
8045 * manual/examples/filesrv.c: Likewise.
8046 * manual/examples/fmtmsgexpl.c: Likewise.
8047 * manual/examples/genpass.c: Likewise.
8048 * manual/examples/inetcli.c: Likewise.
8049 * manual/examples/inetsrv.c: Likewise.
8050 * manual/examples/isockad.c: Likewise.
8051 * manual/examples/longopt.c: Likewise.
8052 * manual/examples/memopen.c: Likewise.
8053 * manual/examples/memstrm.c: Likewise.
8054 * manual/examples/mkdirent.c: Likewise.
8055 * manual/examples/mkfsock.c: Likewise.
8056 * manual/examples/mkisock.c: Likewise.
8057 * manual/examples/mygetpass.c: Likewise.
8058 * manual/examples/pipe.c: Likewise.
8059 * manual/examples/popen.c: Likewise.
8060 * manual/examples/rprintf.c: Likewise.
8061 * manual/examples/search.c: Likewise.
8062 * manual/examples/select.c: Likewise.
8063 * manual/examples/setjmp.c: Likewise.
8064 * manual/examples/sigh1.c: Likewise.
8065 * manual/examples/sigusr.c: Likewise.
8066 * manual/examples/stpcpy.c: Likewise.
8067 * manual/examples/strdupa.c: Likewise.
8068 * manual/examples/strftim.c: Likewise.
8069 * manual/examples/subopt.c: Likewise.
8070 * manual/examples/swapcontext.c: Likewise.
8071 * manual/examples/termios.c: Likewise.
8072 * manual/examples/testopt.c: Likewise.
8073 * manual/examples/testpass.c: Likewise.
8074 * manual/examples/timeval_subtract.c: Likewise.
8075
515f463f
JM
80762018-12-19 Joseph Myers <joseph@codesourcery.com>
8077
da75c1b1
JM
8078 * sysdeps/x86/fpu/math_private.h: New file.
8079 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
8080
515f463f
JM
8081 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
8082 definition.
8083 (cosh): Likewise.
8084 (tanh): Likewise.
8085
1616d034
TMQMF
80862018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8087
8088 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
8089 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
8090 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
8091 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
8092 fields.
8093 (_dl_show_auxv): Give a special treatment to
8094 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
8095 and AT_L3_CACHEGEOMETRY.
8096 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
8097 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
8098 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
8099 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
8100
61595e3d
AS
81012018-12-19 Andreas Schwab <schwab@suse.de>
8102
8103 * nscd/connections.c (check_use): Don't abort on invalid len.
8104
bbb7dc84
ST
81052018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
8106
8107 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
8108 values in the 64bit value cases.
8109
6b5c8607 81102018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
64c2277d 8111
c4c2836a
AA
8112 * include/time.h
8113 (__ctime64_r): Add.
8114 * time/ctime_r.c
8115 (__ctime64_r): Add.
8116 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
8117
7755e504
AA
8118 * include/time.h
8119 (__ctime64): Add.
8120 * time/gmtime.c
8121 (__ctime64): Add.
8122 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
8123
a1d346ce
AA
8124 * include/time.h
8125 (__gmtime64_r): Add.
8126 * time/gmtime.c
8127 (__gmtime64_r): Add.
8128 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
8129
131db8b0
AA
8130 * include/time.h
8131 (__gmtime64): Add.
8132 * time/gmtime.c
8133 (__gmtime64): Add.
8134 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
8135
64c2277d
AA
8136 * include/time.h
8137 (__localtime64_r): Add.
8138 * time/localtime.c
8139 (__localtime64_r): Add.
8140 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
8141
56b98bf1
AZ
81422018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8143
64dd7a16
AZ
8144 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
8145 kernel_sigction definition.
8146
8b1d5da5
AZ
8147 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
8148
f9eabb19
AZ
8149 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
8150
56b98bf1
AZ
8151 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
8152 __syscall_rt_sigaction.
8153 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
8154 (kernel_sigaction): Use Linux generic defintion.
8155 (STUB): Define.
8156 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
8157 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
8158 (__syscall_rt_sigaction): Remove implementation.
8159 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
8160 hidden.
8161 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
8162 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
8163 INTERNAL_SYSCALL): Remove definitions.
8164 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
8165 action and signal set size.
8166 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
8167 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
8168
43a45c2d
AZ
81692018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8170 James Clarke <jrtc27@jrtc27.com>
8171
dfa6216f 8172 [BZ #23967]
43a45c2d
AZ
8173 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
8174 Define if SA_RESTORER is defined.
8175 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
8176 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
8177 already defined.
8178 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
8179 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
8180 definitions.
8181 (HAS_SA_RESTORER): Define.
8182 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
8183 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
8184 (HAS_SA_RESTORER): Define.
8185 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
8186 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
8187 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
8188 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
8189 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8190
646ce7e0
JM
81912018-12-18 Joseph Myers <joseph@codesourcery.com>
8192
8193 * sysdeps/unix/sysv/linux/kernel-features.h
8194 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
8195 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8196 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
8197 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8198 (__ASSUME_ST_INO_64_BIT): Likewise.
8199 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8200 <kernel-features.h>.
8201 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8202 Remove conditional code.
8203 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8204 <kernel-features.h>.
8205 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8206 Remove conditional code.
8207 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
8208 <kernel-features.h>.
8209 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8210 Remove conditional code.
8211 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
8212 <kernel-features.h>.
8213 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
8214 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
8215
80190d2b
SL
82162018-12-18 Stefan Liebler <stli@linux.ibm.com>
8217
8218 * sysdeps/s390/multiarch/ifunc-resolve.h
8219 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
8220 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
8221 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
8222 Delete macro definition.
8223 (s390_libc_ifunc_init): Rename to
8224 s390_libc_ifunc_expr_stfle_init.
8225 * sysdeps/s390/bzero: Use
8226 s390_libc_ifunc_expr_stfle_init instead of
8227 s390_libc_ifunc_init.
8228 * sysdeps/s390/memcmp.c: Likewise.
8229 * sysdeps/s390/memcpy.c: Likewise.
8230 * sysdeps/s390/mempcpy.c: Likewise.
8231 * sysdeps/s390/memset.c: Likewise.
8232
12f0dcb8
SL
82332018-12-18 Stefan Liebler <stli@linux.ibm.com>
8234
8235 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
8236 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
8237
25654a8c
SL
82382018-12-18 Stefan Liebler <stli@linux.ibm.com>
8239
8240 * sysdeps/s390/multiarch/Makefile
8241 (sysdep_routines): Remove wmemcmp variants.
8242 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
8243 * sysdeps/s390/multiarch/ifunc-impl-list.c
8244 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
8245 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
8246 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
8247 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
8248 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
8249 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
8250 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
8251 * sysdeps/s390/ifunc-wmemcmp.h: New file.
8252
d2a7436c
SL
82532018-12-18 Stefan Liebler <stli@linux.ibm.com>
8254
8255 * sysdeps/s390/multiarch/Makefile
8256 (sysdep_routines): Remove wmemset variants.
8257 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
8258 * sysdeps/s390/multiarch/ifunc-impl-list.c
8259 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
8260 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
8261 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
8262 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
8263 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
8264 * sysdeps/s390/multiarch/wmemset.c: Move to ...
8265 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
8266 * sysdeps/s390/ifunc-wmemset.h: New file.
8267
c62534ae
SL
82682018-12-18 Stefan Liebler <stli@linux.ibm.com>
8269
8270 * sysdeps/s390/multiarch/Makefile
8271 (sysdep_routines): Remove wmemchr variants.
8272 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
8273 * sysdeps/s390/multiarch/ifunc-impl-list.c
8274 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
8275 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
8276 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
8277 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
8278 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
8279 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
8280 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
8281 * sysdeps/s390/ifunc-wmemchr.h: New file.
8282
79b44cf6
SL
82832018-12-18 Stefan Liebler <stli@linux.ibm.com>
8284
8285 * sysdeps/s390/multiarch/Makefile
8286 (sysdep_routines): Remove wcscspn variants.
8287 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
8288 * sysdeps/s390/multiarch/ifunc-impl-list.c
8289 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
8290 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
8291 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
8292 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
8293 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
8294 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
8295 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
8296 * sysdeps/s390/ifunc-wcscspn.h: New file.
8297
8e87c1f6
SL
82982018-12-18 Stefan Liebler <stli@linux.ibm.com>
8299
8300 * sysdeps/s390/multiarch/Makefile
8301 (sysdep_routines): Remove wcspbrk variants.
8302 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
8303 * sysdeps/s390/multiarch/ifunc-impl-list.c
8304 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
8305 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
8306 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
8307 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
8308 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
8309 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
8310 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
8311 * sysdeps/s390/ifunc-wcspbrk.h: New file.
8312
8507e831
SL
83132018-12-18 Stefan Liebler <stli@linux.ibm.com>
8314
8315 * sysdeps/s390/multiarch/Makefile
8316 (sysdep_routines): Remove wcsspn variants.
8317 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
8318 * sysdeps/s390/multiarch/ifunc-impl-list.c
8319 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
8320 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
8321 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
8322 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
8323 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
8324 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
8325 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
8326 * sysdeps/s390/ifunc-wcsspn.h: New file.
8327
4753713a
SL
83282018-12-18 Stefan Liebler <stli@linux.ibm.com>
8329
8330 * sysdeps/s390/multiarch/Makefile
8331 (sysdep_routines): Remove wcsrchr variants.
8332 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
8333 * sysdeps/s390/multiarch/ifunc-impl-list.c
8334 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
8335 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
8336 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
8337 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
8338 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
8339 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
8340 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
8341 * sysdeps/s390/ifunc-wcsrchr.h: New file.
8342
c09c1b6f
SL
83432018-12-18 Stefan Liebler <stli@linux.ibm.com>
8344
8345 * sysdeps/s390/multiarch/Makefile
8346 (sysdep_routines): Remove wcschrnul variants.
8347 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
8348 * sysdeps/s390/multiarch/ifunc-impl-list.c
8349 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
8350 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
8351 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
8352 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
8353 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
8354 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
8355 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
8356 * sysdeps/s390/ifunc-wcschrnul.h: New file.
8357
cf3ccc31
SL
83582018-12-18 Stefan Liebler <stli@linux.ibm.com>
8359
8360 * sysdeps/s390/multiarch/Makefile
8361 (sysdep_routines): Remove wcschr variants.
8362 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
8363 * sysdeps/s390/multiarch/ifunc-impl-list.c
8364 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
8365 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
8366 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
8367 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
8368 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
8369 * sysdeps/s390/multiarch/wcschr.c: Move to ...
8370 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
8371 * sysdeps/s390/ifunc-wcschr.h: New file.
8372
e9873e1d
SL
83732018-12-18 Stefan Liebler <stli@linux.ibm.com>
8374
8375 * sysdeps/s390/multiarch/Makefile
8376 (sysdep_routines): Remove wcsncmp variants.
8377 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
8378 * sysdeps/s390/multiarch/ifunc-impl-list.c
8379 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
8380 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
8381 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
8382 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
8383 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
8384 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
8385 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
8386 * sysdeps/s390/ifunc-wcsncmp.h: New file.
8387
3459e23d
SL
83882018-12-18 Stefan Liebler <stli@linux.ibm.com>
8389
8390 * sysdeps/s390/multiarch/Makefile
8391 (sysdep_routines): Remove wcscmp variants.
8392 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
8393 * sysdeps/s390/multiarch/ifunc-impl-list.c
8394 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
8395 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
8396 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
8397 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
8398 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
8399 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
8400 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
8401 * sysdeps/s390/ifunc-wcscmp.h: New file.
8402
814a76e1
SL
84032018-12-18 Stefan Liebler <stli@linux.ibm.com>
8404
8405 * sysdeps/s390/multiarch/Makefile
8406 (sysdep_routines): Remove wcsncat variants.
8407 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
8408 * sysdeps/s390/multiarch/ifunc-impl-list.c
8409 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
8410 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
8411 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
8412 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
8413 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
8414 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
8415 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
8416 * sysdeps/s390/ifunc-wcsncat.h: New file.
8417
3389cae4
SL
84182018-12-18 Stefan Liebler <stli@linux.ibm.com>
8419
8420 * sysdeps/s390/multiarch/Makefile
8421 (sysdep_routines): Remove wcscat variants.
8422 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
8423 * sysdeps/s390/multiarch/ifunc-impl-list.c
8424 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
8425 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
8426 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
8427 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
8428 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
8429 * sysdeps/s390/multiarch/wcscat.c: Move to ...
8430 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
8431 * sysdeps/s390/ifunc-wcscat.h: New file.
8432
c3081bcb
SL
84332018-12-18 Stefan Liebler <stli@linux.ibm.com>
8434
8435 * sysdeps/s390/multiarch/Makefile
8436 (sysdep_routines): Remove wcpncpy variants.
8437 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
8438 * sysdeps/s390/multiarch/ifunc-impl-list.c
8439 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
8440 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
8441 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
8442 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
8443 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
8444 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
8445 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
8446 * sysdeps/s390/ifunc-wcpncpy.h: New file.
8447
0966dd86
SL
84482018-12-18 Stefan Liebler <stli@linux.ibm.com>
8449
8450 * sysdeps/s390/multiarch/Makefile
8451 (sysdep_routines): Remove wcsncpy variants.
8452 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
8453 * sysdeps/s390/multiarch/ifunc-impl-list.c
8454 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
8455 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
8456 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
8457 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
8458 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
8459 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
8460 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
8461 * sysdeps/s390/ifunc-wcsncpy.h: New file.
8462
0582e428
SL
84632018-12-18 Stefan Liebler <stli@linux.ibm.com>
8464
8465 * sysdeps/s390/multiarch/Makefile
8466 (sysdep_routines): Remove wcpcpy variants.
8467 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
8468 * sysdeps/s390/multiarch/ifunc-impl-list.c
8469 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
8470 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
8471 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
8472 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
8473 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
8474 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
8475 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
8476 * sysdeps/s390/ifunc-wcpcpy.h: New file.
8477
804f2e5c
SL
84782018-12-18 Stefan Liebler <stli@linux.ibm.com>
8479
8480 * sysdeps/s390/multiarch/Makefile
8481 (sysdep_routines): Remove wcscpy variants.
8482 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
8483 * sysdeps/s390/multiarch/ifunc-impl-list.c
8484 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
8485 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
8486 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
8487 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
8488 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
8489 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
8490 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
8491 * sysdeps/s390/ifunc-wcscpy.h: New file.
8492
c7e7cd26
SL
84932018-12-18 Stefan Liebler <stli@linux.ibm.com>
8494
8495 * sysdeps/s390/multiarch/Makefile
8496 (sysdep_routines): Remove wcsnlen variants.
8497 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
8498 * sysdeps/s390/multiarch/ifunc-impl-list.c
8499 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
8500 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
8501 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
8502 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
8503 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
8504 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
8505 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
8506 * sysdeps/s390/ifunc-wcsnlen.h: New file.
8507
2e02d0b7
SL
85082018-12-18 Stefan Liebler <stli@linux.ibm.com>
8509
8510 * sysdeps/s390/multiarch/Makefile
8511 (sysdep_routines): Remove wcslen variants.
8512 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
8513 * sysdeps/s390/multiarch/ifunc-impl-list.c
8514 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
8515 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
8516 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
8517 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
8518 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
8519 * sysdeps/s390/multiarch/wcslen.c: Move to ...
8520 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
8521 * sysdeps/s390/ifunc-wcslen.h: New file.
8522
89bfcbdf
SL
85232018-12-18 Stefan Liebler <stli@linux.ibm.com>
8524
8525 * sysdeps/s390/multiarch/Makefile
8526 (sysdep_routines): Remove memrchr variants.
8527 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
8528 * sysdeps/s390/multiarch/ifunc-impl-list.c
8529 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
8530 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
8531 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
8532 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
8533 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
8534 * sysdeps/s390/multiarch/memrchr.c: Move to ...
8535 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
8536 * sysdeps/s390/ifunc-memrchr.h: New file.
8537
196655ba
SL
85382018-12-18 Stefan Liebler <stli@linux.ibm.com>
8539
8540 * sysdeps/s390/multiarch/Makefile
8541 (sysdep_routines): Remove memccpy variants.
8542 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
8543 * sysdeps/s390/multiarch/ifunc-impl-list.c
8544 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
8545 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
8546 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
8547 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
8548 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
8549 * sysdeps/s390/multiarch/memccpy.c: Move to ...
8550 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
8551 * sysdeps/s390/ifunc-memccpy.h: New file.
8552
4c7b3cec
SL
85532018-12-18 Stefan Liebler <stli@linux.ibm.com>
8554
8555 * sysdeps/s390/multiarch/Makefile
8556 (sysdep_routines): Remove rawmemchr variants.
8557 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
8558 * sysdeps/s390/multiarch/ifunc-impl-list.c
8559 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
8560 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
8561 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
8562 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
8563 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
8564 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
8565 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
8566 * sysdeps/s390/ifunc-rawmemchr.h: New file.
8567
581a051c
SL
85682018-12-18 Stefan Liebler <stli@linux.ibm.com>
8569
8570 * sysdeps/s390/multiarch/Makefile
8571 (sysdep_routines): Remove memchr variants.
8572 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
8573 * sysdeps/s390/multiarch/ifunc-impl-list.c
8574 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
8575 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
8576 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
8577 * sysdeps/s390/multiarch/memchr.c: Move to ...
8578 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
8579 * sysdeps/s390/ifunc-memchr.h: New file.
8580 * sysdeps/s390/s390-64/memchr.S: Move to ...
8581 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
8582 for 31/64bit and ifunc handling.
8583 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
8584 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
8585 * sysdeps/s390/s390-32/memchr.S: Likewise.
8586
5d2ec20a
SL
85872018-12-18 Stefan Liebler <stli@linux.ibm.com>
8588
8589 * sysdeps/s390/multiarch/Makefile
8590 (sysdep_routines): Remove strcspn variants.
8591 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
8592 * sysdeps/s390/multiarch/ifunc-impl-list.c
8593 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
8594 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
8595 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
8596 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
8597 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
8598 * sysdeps/s390/multiarch/strcspn.c: Move to ...
8599 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
8600 * sysdeps/s390/ifunc-strcspn.h: New file.
8601
572cca93
SL
86022018-12-18 Stefan Liebler <stli@linux.ibm.com>
8603
8604 * sysdeps/s390/multiarch/Makefile
8605 (sysdep_routines): Remove strpbrk variants.
8606 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
8607 * sysdeps/s390/multiarch/ifunc-impl-list.c
8608 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
8609 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
8610 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
8611 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
8612 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
8613 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
8614 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
8615 * sysdeps/s390/ifunc-strpbrk.h: New file.
8616
483fc569
SL
86172018-12-18 Stefan Liebler <stli@linux.ibm.com>
8618
8619 * sysdeps/s390/multiarch/Makefile
8620 (sysdep_routines): Remove strspn variants.
8621 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
8622 * sysdeps/s390/multiarch/ifunc-impl-list.c
8623 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
8624 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
8625 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
8626 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
8627 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
8628 * sysdeps/s390/multiarch/strspn.c: Move to ...
8629 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
8630 * sysdeps/s390/ifunc-strspn.h: New file.
8631
26ea8760
SL
86322018-12-18 Stefan Liebler <stli@linux.ibm.com>
8633
8634 * sysdeps/s390/multiarch/Makefile
8635 (sysdep_routines): Remove strrchr variants.
8636 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
8637 * sysdeps/s390/multiarch/ifunc-impl-list.c
8638 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
8639 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
8640 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
8641 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
8642 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
8643 * sysdeps/s390/multiarch/strrchr.c: Move to ...
8644 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
8645 * sysdeps/s390/ifunc-strrchr.h: New file.
8646
a1361e65
SL
86472018-12-18 Stefan Liebler <stli@linux.ibm.com>
8648
8649 * sysdeps/s390/multiarch/Makefile
8650 (sysdep_routines): Remove strchrnul variants.
8651 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
8652 * sysdeps/s390/multiarch/ifunc-impl-list.c
8653 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
8654 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
8655 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
8656 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
8657 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
8658 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
8659 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
8660 * sysdeps/s390/ifunc-strchrnul.h: New file.
8661
32f12653
SL
86622018-12-18 Stefan Liebler <stli@linux.ibm.com>
8663
8664 * sysdeps/s390/multiarch/Makefile
8665 (sysdep_routines): Remove strchr variants.
8666 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
8667 * sysdeps/s390/multiarch/ifunc-impl-list.c
8668 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
8669 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
8670 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
8671 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
8672 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
8673 * sysdeps/s390/multiarch/strchr.c: Move to ...
8674 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
8675 * sysdeps/s390/ifunc-strchr.h: New file.
8676
316b8842
SL
86772018-12-18 Stefan Liebler <stli@linux.ibm.com>
8678
8679 * sysdeps/s390/multiarch/Makefile
8680 (sysdep_routines): Remove strncmp variants.
8681 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
8682 * sysdeps/s390/multiarch/ifunc-impl-list.c
8683 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
8684 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
8685 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
8686 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
8687 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
8688 * sysdeps/s390/multiarch/strncmp.c: Move to ...
8689 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
8690 * sysdeps/s390/ifunc-strncmp.h: New file.
8691
cdab85fe
SL
86922018-12-18 Stefan Liebler <stli@linux.ibm.com>
8693
8694 * sysdeps/s390/multiarch/Makefile
8695 (sysdep_routines): Remove strcmp variants.
8696 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
8697 * sysdeps/s390/multiarch/ifunc-impl-list.c
8698 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
8699 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
8700 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
8701 * sysdeps/s390/multiarch/strcmp.c: Move to ...
8702 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
8703 * sysdeps/s390/ifunc-strcmp.h: New file.
8704 * sysdeps/s390/s390-64/strcmp.S: Move to ...
8705 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
8706 for 31/64bit and ifunc handling.
8707 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
8708 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
8709 * sysdeps/s390/s390-32/strcmp.S: Likewise.
8710
b9353351
SL
87112018-12-18 Stefan Liebler <stli@linux.ibm.com>
8712
8713 * sysdeps/s390/multiarch/Makefile
8714 (sysdep_routines): Remove strncat variants.
8715 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
8716 * sysdeps/s390/multiarch/ifunc-impl-list.c
8717 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
8718 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
8719 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
8720 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
8721 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
8722 * sysdeps/s390/multiarch/strncat.c: Move to ...
8723 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
8724 * sysdeps/s390/ifunc-strncat.h: New file.
8725
8e5a0afb
SL
87262018-12-18 Stefan Liebler <stli@linux.ibm.com>
8727
8728 * sysdeps/s390/multiarch/Makefile
8729 (sysdep_routines): Remove strcat variants.
8730 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
8731 * sysdeps/s390/multiarch/ifunc-impl-list.c
8732 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
8733 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
8734 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
8735 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
8736 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
8737 * sysdeps/s390/multiarch/strcat.c: Move to ...
8738 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
8739 * sysdeps/s390/ifunc-strcat.h: New file.
8740
25218822
SL
87412018-12-18 Stefan Liebler <stli@linux.ibm.com>
8742
8743 * sysdeps/s390/multiarch/Makefile
8744 (sysdep_routines): Remove stpncpy variants.
8745 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
8746 * sysdeps/s390/multiarch/ifunc-impl-list.c
8747 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
8748 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
8749 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
8750 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
8751 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
8752 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
8753 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
8754 * sysdeps/s390/ifunc-stpncpy.h: New file.
8755
d1bdbf38
SL
87562018-12-18 Stefan Liebler <stli@linux.ibm.com>
8757
8758 * sysdeps/s390/multiarch/Makefile
8759 (sysdep_routines): Remove strncpy variants.
8760 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
8761 * sysdeps/s390/multiarch/ifunc-impl-list.c
8762 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
8763 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
8764 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
8765 * sysdeps/s390/multiarch/strncpy.c: Move to ...
8766 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
8767 * sysdeps/s390/ifunc-strncpy.h: New file.
8768 * sysdeps/s390/s390-64/strncpy.S: Move to ...
8769 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
8770 and adjust ifunc handling.
8771 * sysdeps/s390/s390-32/strncpy.S: Move to ...
8772 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
8773 and adjust ifunc handling.
8774 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
8775 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
8776
97044931
SL
87772018-12-18 Stefan Liebler <stli@linux.ibm.com>
8778
8779 * sysdeps/s390/multiarch/Makefile
8780 (sysdep_routines): Remove stpcpy variants.
8781 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
8782 * sysdeps/s390/multiarch/ifunc-impl-list.c
8783 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
8784 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
8785 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
8786 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
8787 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
8788 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
8789 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
8790 * sysdeps/s390/ifunc-stpcpy.h: New file.
8791
914a4e05
SL
87922018-12-18 Stefan Liebler <stli@linux.ibm.com>
8793
8794 * sysdeps/s390/multiarch/Makefile
8795 (sysdep_routines): Remove strcpy variants.
8796 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
8797 * sysdeps/s390/multiarch/ifunc-impl-list.c
8798 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
8799 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
8800 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
8801 * sysdeps/s390/multiarch/strcpy.c: Move to ...
8802 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
8803 * sysdeps/s390/ifunc-strcpy.h: New file.
8804 * sysdeps/s390/s390-64/strcpy.S: Move to ...
8805 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
8806 for 31/64bit and ifunc handling.
8807 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
8808 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
8809 * sysdeps/s390/s390-32/strcpy.S: Likewise.
8810
de10e44d
SL
88112018-12-18 Stefan Liebler <stli@linux.ibm.com>
8812
8813 * sysdeps/s390/multiarch/Makefile
8814 (sysdep_routines): Remove strnlen variants.
8815 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
8816 * sysdeps/s390/multiarch/ifunc-impl-list.c
8817 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
8818 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
8819 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
8820 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
8821 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
8822 * sysdeps/s390/multiarch/strnlen.c: Move to ...
8823 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
8824 * sysdeps/s390/ifunc-strnlen.h: New file.
8825
ff3ca374
SL
88262018-12-18 Stefan Liebler <stli@linux.ibm.com>
8827
8828 * sysdeps/s390/multiarch/Makefile
8829 (sysdep_routines): Remove strlen variants.
8830 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
8831 * sysdeps/s390/multiarch/ifunc-impl-list.c
8832 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
8833 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
8834 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
8835 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
8836 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
8837 * sysdeps/s390/multiarch/strlen.c: Move to ...
8838 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
8839 * sysdeps/s390/ifunc-strlen.h: New file.
8840
d2c4c403
SL
88412018-12-18 Stefan Liebler <stli@linux.ibm.com>
8842
8843 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
8844 * sysdeps/s390/multiarch/ifunc-impl-list.c
8845 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
8846 * sysdeps/s390/ifunc-memmem.h: New file.
8847 * sysdeps/s390/memmem.c: Likewise.
8848 * sysdeps/s390/memmem-c.c: Likewise.
8849 * sysdeps/s390/memmem-vx.c: Likewise.
8850
8c25dddd
SL
88512018-12-18 Stefan Liebler <stli@linux.ibm.com>
8852
8853 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
8854 * sysdeps/s390/multiarch/ifunc-impl-list.c
8855 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
8856 * sysdeps/s390/ifunc-strstr.h: New file.
8857 * sysdeps/s390/strstr.c: Likewise.
8858 * sysdeps/s390/strstr-c.c: Likewise.
8859 * sysdeps/s390/strstr-vx.c: Likewise.
8860
cdd927d9
SL
88612018-12-18 Stefan Liebler <stli@linux.ibm.com>
8862
8863 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
8864 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
8865 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
8866 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
8867 New defines.
8868 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
8869 * sysdeps/s390/memmove-c.c: New file.
8870 * sysdeps/s390/memmove.c: Likewise.
8871 * sysdeps/s390/multiarch/ifunc-impl-list.c
8872 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
8873
2ee1bc57
SL
88742018-12-18 Stefan Liebler <stli@linux.ibm.com>
8875
8876 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
8877 * sysdeps/s390/configure.ac: Add check for z13 support.
8878 * sysdeps/s390/configure: Regenerated.
8879
d097d976
SL
88802018-12-18 Stefan Liebler <stli@linux.ibm.com>
8881
8882 * sysdeps/s390/memcopy.h: New file.
8883
e099aab0
SL
88842018-12-18 Stefan Liebler <stli@linux.ibm.com>
8885
8886 * sysdeps/s390/s390-32/bcopy.S: Remove.
8887 * sysdeps/s390/s390-64/bcopy.S: Likewise.
8888
18eb862d
SL
88892018-12-18 Stefan Liebler <stli@linux.ibm.com>
8890
8891 * sysdeps/s390/ifunc-memcpy.h: New File.
8892 * sysdeps/s390/memcpy.S: Move to ...
8893 * sysdeps/s390/memcpy-z900.S ... here.
8894 Move implementations from memcpy-s390x.s to here.
8895 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
8896 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
8897 Remove memcpy/mempcpy variants.
8898 * sysdeps/s390/Makefile (sysdep_routines):
8899 Add memcpy/mempcpy variants.
8900 * sysdeps/s390/multiarch/ifunc-impl-list.c
8901 (__libc_ifunc_impl_list): Adjust ifunc variants for
8902 memcpy and mempcpy.
8903 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
8904 to ...
8905 * sysdeps/s390/memcpy.c: ... here.
8906 Adjust ifunc variants for memcpy.
8907 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
8908 * sysdeps/s390/mempcpy.c: ... here.
8909 Adjust ifunc variants for mempcpy.
8910 * sysdeps/s390/mempcpy.S: Delete file.
8911
df3eb8de
SL
89122018-12-18 Stefan Liebler <stli@linux.ibm.com>
8913
8914 * sysdeps/s390/s390-64/memcpy.S: Move to ...
8915 * sysdeps/s390/memcpy.S: ... here.
8916 Adjust to be usable for 31/64bit.
8917 * sysdeps/s390/s390-32/memcpy.S: Delete File.
8918 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
8919 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
8920 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
8921 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
8922 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
8923 Adjust to be usable for 31/64bit.
8924 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
8925 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
8926 * sysdeps/s390/multiarch/memcpy.c: ... here.
8927 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
8928
b7e024a8
SL
89292018-12-18 Stefan Liebler <stli@linux.ibm.com>
8930
8931 * sysdeps/s390/ifunc-memcmp.h: New File.
8932 * sysdeps/s390/memcmp.S: Move to ...
8933 * sysdeps/s390/memcmp-z900.S ... here.
8934 Move implementations from memcmp-s390x.s to here.
8935 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
8936 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
8937 Remove memcmp variants.
8938 * sysdeps/s390/Makefile (sysdep_routines):
8939 Add memcmp variants.
8940 * sysdeps/s390/multiarch/ifunc-impl-list.c
8941 (__libc_ifunc_impl_list): Adjust ifunc variants for
8942 memcmp.
8943 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
8944 to ...
8945 * sysdeps/s390/memcmp.c: ... here.
8946 Adjust ifunc variants for memcmp.
8947
6c6b8c74
SL
89482018-12-18 Stefan Liebler <stli@linux.ibm.com>
8949
8950 * sysdeps/s390/s390-64/memcmp.S: Move to ...
8951 * sysdeps/s390/memcmp.S: ... here.
8952 Adjust to be usable for 31/64bit.
8953 * sysdeps/s390/s390-32/memcmp.S: Delete File.
8954 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
8955 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
8956 Remove memcmp.
8957 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
8958 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
8959 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
8960 Adjust to be usable for 31/64bit.
8961 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
8962 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
8963 * sysdeps/s390/multiarch/memcmp.c: ... here.
8964 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
8965
07be3928
SL
89662018-12-18 Stefan Liebler <stli@linux.ibm.com>
8967
8968 * sysdeps/s390/s390-32/bzero.S: Delete file.
8969 * sysdeps/s390/s390-64/bzero.S: Likewise.
8970 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
8971 * sysdeps/s390/bzero.c: New file.
8972 * sysdeps/s390/memset-z900.S: Add bzero entry points.
8973 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
8974 * sysdeps/s390/multiarch/ifunc-impl-list.c
8975 (__libc_ifunc_impl_list): Add bzero ifunc variants.
8976
712a254a
SL
89772018-12-18 Stefan Liebler <stli@linux.ibm.com>
8978
8979 * sysdeps/s390/ifunc-memset.h: New File.
8980 * sysdeps/s390/memset.S: Move to ...
8981 * sysdeps/s390/memset-z900.S ... here.
8982 Move implementations from memset-s390x.s to here.
8983 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
8984 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
8985 Remove memset variants.
8986 * sysdeps/s390/Makefile (sysdep_routines):
8987 Add memset variants.
8988 * sysdeps/s390/multiarch/ifunc-impl-list.c
8989 (__libc_ifunc_impl_list): Adjust ifunc variants for
8990 memset.
8991 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
8992 to ...
8993 * sysdeps/s390/memset.c: ... here.
8994 Adjust ifunc variants for memset.
8995
5f1743d1
SL
89962018-12-18 Stefan Liebler <stli@linux.ibm.com>
8997
8998 * sysdeps/s390/s390-64/memset.S: Move to ...
8999 * sysdeps/s390/memset.S: ... here.
9000 Adjust to be usable for 31/64bit.
9001 * sysdeps/s390/s390-32/memset.S: Delete File.
9002 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
9003 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9004 Remove memset.
9005 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9006 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
9007 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
9008 Adjust to be usable for 31/64bit.
9009 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
9010 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
9011 * sysdeps/s390/multiarch/memset.c: ... here.
9012 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
9013
e8023f26
SL
90142018-12-18 Stefan Liebler <stli@linux.ibm.com>
9015
9016 * sysdeps/s390/multiarch/ifunc-resolve.h
9017 (s390_libc_ifunc_init, s390_libc_ifunc,
9018 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
9019
b8686c0d
SL
90202018-12-18 Stefan Liebler <stli@linux.ibm.com>
9021
9022 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
9023 * sysdeps/s390/configure.ac: Add check for z10 support.
9024 * sysdeps/s390/configure: Regenerated.
9025
cd815050
L
90262018-12-18 H.J. Lu <hongjiu.lu@intel.com>
9027
9028 * sysdeps/i386/atomic-machine.h: Merged with ...
9029 * sysdeps/x86_64/atomic-machine.h: To ...
9030 * sysdeps/x86/atomic-machine.h: This. New file.
9031
053c52b1
FW
90322018-12-18 Florian Weimer <fweimer@redhat.com>
9033
9034 Rewrite locale/gen-translit.pl in Python.
9035 * locale/Makefile (generated): Add C-translit.h.
9036 (before-compile): Add $(objpfx)C-translit.h.
9037 (C-translit.h): Move to $(objpfx). Create target directory.
9038 Build using Python script.
9039 * locale/gen-translit.py: New file.
9040 * locale/gen-translit.pl: Remove file.
9041 * locale/C-translit.h.in: Change comment character to '#' for
9042 easier parsing without a C preprocessor.
9043 * locale/C-translit.h: Remove generated file.
9044 * manual/install.texi (Tools for Compilation): Do not mention
9045 C-translit.h.
9046 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
9047 Remove locale/C-translit.h.
9048 * scripts/update-copyrights: Likewise.
9049 * INSTALL: Regenerate.
9050
40e6c1ec
FW
90512018-12-18 Florian Weimer <fweimer@redhat.com>
9052
9053 [BZ #23995]
9054 * localedata/locales/bi_VU: Remove executable bit from file.
9055
6b5c8607 90562018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
6e15f3e2
AA
9057
9058 * include/time.h
9059 (__localtime64): Add.
9060 * manual/maint.texi: Document Y2038 symbol handling.
9061 * time/localtime.c
9062 (__localtime64): Add.
bfb79db4 9063 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6e15f3e2 9064
df648905
JM
90652018-12-17 Joseph Myers <joseph@codesourcery.com>
9066
551e81d9
JM
9067 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
9068 Do not clobber r12.
9069
df648905
JM
9070 * scripts/glibcextract.py (compare_macro_consts): Take parameters
9071 to allow extra macros from first or second sources.
9072 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
9073 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9074 (tests-special): Add $(objpfx)tst-mman-consts.out.
9075 ($(objpfx)tst-mman-consts.out): New makefile target.
9076
6bbfc5c0
MH
90772018-12-17 Mao Han <han_mao@c-sky.com>
9078
9079 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
9080 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
9081 without stat64 system call support.
9082 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
9083 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
9084 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9085 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
9086 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
9087 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
9088 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
9089 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
9090 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
9091 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
9092 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
9093
ef202e53
PE
90942018-12-15 Paul Eggert <eggert@cs.ucla.edu>
9095
9096 regex: fix storage-exhaustion error
9097 [BZ #18040]
9098 * posix/regexec.c (get_subexp):
9099 Do not continue if storage is exhausted.
9100
077caf61
AG
91012018-12-15 Assaf Gordon <assafgordon@gmail.com>
9102
9103 regex: fix heap-use-after-free error
9104 [BZ #18040]
9105 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
9106 https://debbugs.gnu.org/32592
9107 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
9108 call extend_buffers which reallocates the re_string_t internal buffer.
9109 Local variable 'buf' was not updated in such case, resulting in
9110 use-after-free.
9111 * posix/regexec.c (get_subexp): Update 'buf' after call to
9112 get_subexp_sub.
9113
0c1719e6
FW
91142018-12-15 Florian Weimer <fweimer@redhat.com>
9115
9116 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
9117 (minimum_stride_size): Use it.
9118 (support_blob_repeat_allocate): Likewise.
9119
033a2c0a
JM
91202018-12-14 Joseph Myers <joseph@codesourcery.com>
9121
9122 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
9123 definition.
9124 (acosh): Likewise.
9125 (atanh): Likewise.
9126
e361dc04
FW
91272018-12-14 Florian Weimer <fweimer@redhat.com>
9128
9129 * manual/process.texi (Process Creation Concepts): Remove
9130 documentation of process (ID) lifetime. List more process
9131 creation functions. Reference Process Identification section.
9132 (Process Identification): Add information about process ID
9133 lifetime. Describe Linux thread/task IDs.
9134 * manual/signal.texi (Signaling Another Process): Mention that the
9135 signal is always sent to the process.
9136
bd51ff5e
GG
91372018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9138
9139 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
9140 and tst-ldbl-efgcvt.
9141 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
9142 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
9143 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
9144 (fcvt_tests, output_error, output_r_error, do_test): Use the
9145 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
9146 select the type of floating-point variables and arguments; to
9147 produce extra tests for double and conversion specifiers for
9148 printf; and to set the names of called functions.
9149 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
9150 in tst-efgcvt-template.c.
9151 * misc/tst-ldbl-efgcvt.c: Likewise.
9152
268bb71e
SL
91532018-12-14 Stefan Liebler <stli@linux.ibm.com>
9154
9155 * nss/Makefile (tst-nss-test3.out): New rule.
9156
db6df070
JM
91572018-12-13 Joseph Myers <joseph@codesourcery.com>
9158
9159 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
9160 clobber sp.
9161
ade8b817
CD
91622018-12-13 fanjinke <fanjinke@hygon.cn>
9163
9164 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
9165 "HygonGenuine".
9166
3d265911
AS
91672018-12-13 Andreas Schwab <schwab@suse.de>
9168
f21e8f8c 9169 [BZ #23861]
3d265911 9170 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
f21e8f8c
AS
9171 (__pthread_rwlock_rdlock_full): Update expected value for
9172 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
9173 * nptl/tst-rwlock-pwn.c: New file.
9174 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3d265911 9175
bf8ae8c0
JM
91762018-12-12 Joseph Myers <joseph@codesourcery.com>
9177
9178 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
9179 definition.
9180
de099757
LS
91812018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9182
9183 * benchtests/scripts/compare_bench.py (do_compare): write to
9184 stderr in casestat is not present.
9185 * benchtests/scripts/compare_bench.py (plot_graphs): write to
9186 stderr in case timings field is not present. Also string showing
9187 the output filename goes into the stderr.
9188
1990185f
LS
91892018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9190
9191 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
9192 and ZeroDivisorError exceptions.
9193 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
9194 argument to loop through user provided statistics.
9195 * benchtests/scripts/compare_bench.py (main): Include the --stats
9196 argument.
9197
587426d4
LS
91982018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9199
9200 * benchtests/scripts/compare_bench.py (compare_runs): Continue
9201 instead of return.
9202
46703efa
FW
92032018-12-12 Florian Weimer <fweimer@redhat.com>
9204
9205 * sysdeps/posix/timespec_get.c: Add missing “any later version”
9206 clause to copyright header.
9207
1d880d4a
TMQMF
92082018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9209
9210 [BZ #23614]
9211 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
9212 registers saved in the stack frame.
9213 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
9214 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
9215
1a502f52
GG
92162018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9217
9218 * include/bits/monetary-ldbl.h: New file.
9219 * include/bits/printf-ldbl.h: Likewise.
9220 * include/bits/stdio-ldbl.h: Likewise.
9221 * include/bits/stdlib-ldbl.h: Likewise.
9222 * include/bits/syslog-ldbl.h: Likewise.
9223 * include/bits/wchar-ldbl.h: Likewise.
9224
df682d1d
GG
92252018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9226
9227 * libio/libio.h: Remove redirection for _IO_vfprintf.
9228
c2c082c1
AS
92292018-12-11 Andreas Schwab <schwab@suse.de>
9230
9231 * Makerules: Remove all references to abilist-pattern.
9232 (update-all-abi): Simplify find expression.
9233
505b5b29
SN
92342018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
9235
9236 [BZ #23961]
9237 * math/auto-libm-test-in: Add new test case.
9238 * math/auto-libm-test-out-pow: Regenerated.
9239 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
9240
304c61a2
DD
92412018-12-10 DJ Delorie <dj@redhat.com>
9242
9243 [BZ #23948]
9244 * support/test-container.c: Move postclean step to before we
9245 change namespaces.
9246
a8110b72
JM
92472018-12-10 Joseph Myers <joseph@codesourcery.com>
9248
cb7be159
JM
9249 * scripts/gen-as-const.py (main): Handle --python option.
9250 * scripts/gen-py-const.awk: Remove.
9251 * Makerules (py-const-script): Use gen-as-const.py.
9252 ($(py-const)): Likewise.
9253 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
9254 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
9255 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
9256 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
9257 ~PTHREAD_MUTEX_NO_ELISION_NP.
9258 * manual/README.pretty-printers: Update reference to
9259 gen-py-const.awk.
9260
a8110b72
JM
9261 * scripts/glibcextract.py: New file.
9262 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
9263 or tempfile. Import glibcexctract.
9264 (compute_c_consts): Remove. Moved to glibcextract.py.
9265 (gen_test): Update reference to compute_c_consts.
9266 (main): Likewise.
9267 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
9268 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
9269 * sysdeps/unix/sysv/linux/Makefile
9270 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
9271 Redirect stderr as well as stdout.
9272
f9ba9eb8
RÁE
92732018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
9274
9275 [BZ #19767]
9276 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
b39d961c
TS
9277 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
9278 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
f9ba9eb8 9279 ALWAYS_USE_VSYSCALL.
b39d961c 9280 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
f9ba9eb8
RÁE
9281 ALWAYS_USE_VSYSCALL.
9282 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
9283 ALWAYS_USE_VSYSCALL.
9284
8d20a2f4
FW
92852018-12-10 Florian Weimer <fweimer@redhat.com>
9286
9287 [BZ #23972]
9288 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
9289 offset instead of count for clarity. Fix typo in comment.
9290 (__old_getdents64): Keep track of previous offset. Use it to call
9291 handle_overflow.
9292 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
9293 that d_off is never zero.
9294
80472e2f
AS
92952018-12-10 Andreas Schwab <schwab@suse.de>
9296
9297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
9298 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
9299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
9300 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
9301 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
9302
0afcb29d
JM
93032018-12-10 Joseph Myers <joseph@codesourcery.com>
9304
9305 * timezone/private.h: Update from tzcode 2018g.
9306 * timezone/tzfile.h: Likewise.
9307 * timezone/tzselect.ksh: Likewise.
9308 * timezone/zdump.c: Likewise.
9309 * timezone/zic.c: Likewise.
9310
b93f4052
PP
93112018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9312
9313 [BZ #23490]
9314 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
9315 (do_test): Adjust buffer size and fix format.
9316
7c9a7c68
DD
93172018-12-07 DJ Delorie <dj@redhat.com>
9318
9319 [BZ #23907]
9320 * malloc/tst-tcfree3.c: New.
9321 * malloc/Makefile: Add it.
9322
37caec3a
L
93232018-12-07 H.J. Lu <hongjiu.lu@intel.com>
9324
9325 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
9326
10446f5d
GG
93272018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9328
9329 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
9330 used as a mask for the mode argument of __vfscanf_internal and
9331 __vfwscanf_internal.
9332 * stdio-common/vfscanf-internal.c
9333 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
9334 (__strtof128_internal): Define to __wcstof128_internal.
9335 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
9336 __strtof128_internal or __wcstof128_internal when the format of
9337 long double is the same as _Float128.
9338
45f33aac
ST
93392018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
9340
9341 * include/unistd.h (__confstr): Add prototype and hidden prototype.
9342 * posix/confstr.c (confstr): Rename to __confstr.
9343 (__confstr): Add hidden def.
9344 (confstr): Add weak alias for __confstr.
9345 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
9346 confstr.
9347
a092ca94
L
93482018-12-07 H.J. Lu <hongjiu.lu@intel.com>
9349
9350 * NEWS: Mention getcpu.
9351 * include/sched.h (__getcpu): New libc_hidden_proto.
9352 * manual/resource.texi: Document getcpu.
9353 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
9354 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
9355 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
9356 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9357 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9358 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9359 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9360 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9361 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9362 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9363 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9364 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9365 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
9366 Likewise.
9367 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9368 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9369 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9371 Likewise.
9372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9373 Likewise.
9374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
9375 Likewise.
9376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
9377 Likewise.
9378 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9379 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9380 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9381 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9382 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9383 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9384 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9385 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9386 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
9387 * sysdeps/unix/sysv/linux/getcpu.c: New file.
9388 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
9389 Also check getcpu.
9390
7c857b6f
ST
93912018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
9392
9393 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
9394 functions.
9395 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
9396
3a3fb755
FW
93972018-12-07 Florian Weimer <fweimer@redhat.com>
9398
9399 [BZ #17405]
9400 * posix/Makefile (routines): Add spawn_faction_addfchdir.
9401 * posix/Versions (GLIBC_2.29): Export
9402 posix_spawn_file_actions_addfchdir_np.
9403 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
9404 * posix/spawn_faction_destroy.c
9405 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
9406 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
9407 and the field action.fchdir_action.
9408 * posix/tst-spawn-chdir.c (add_chdir): New function.
9409 (do_test): Add do_fchdir loop. Call add_chdir.
9410 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
9411 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
9412 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
9413 posix_spawn_file_actions_addfchdir_np.
9414 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
9415 Likewise.
9416 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
9417 Likewise.
9418 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
9419 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
9420 Likewise.
9421 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
9422 Likewise.
9423 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
9424 Likewise.
9425 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
9426 Likewise.
9427 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
9428 Likewise.
9429 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
9430 Likewise.
9431 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9432 (GLIBC_2.29): Likewise.
9433 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9434 (GLIBC_2.29): Likewise.
9435 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9436 (GLIBC_2.29): Likewise.
9437 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9438 (GLIBC_2.29): Likewise.
9439 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
9440 Likewise.
9441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9442 (GLIBC_2.29): Likewise.
9443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9444 (GLIBC_2.29): Likewise.
9445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9446 (GLIBC_2.29): Likewise.
9447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9448 (GLIBC_2.29): Likewise.
9449 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
9450 Likewise.
9451 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
9452 Likewise.
9453 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
9454 Likewise.
9455 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
9456 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
9457 Likewise.
9458 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
9459 Likewise.
9460 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
9461 Likewise.
9462 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
9463 Likewise.
9464
c37cd439
JM
94652018-12-06 Joseph Myers <joseph@codesourcery.com>
9466
9467 * manual/texinfo.tex: Update to version 2018-09-21.20 with
9468 trailing whitespace removed.
9469 * scripts/config.guess: Update to version 2018-11-28.
9470 * scripts/config.sub: Update to version 2018-11-28.
9471 * scripts/install-sh: Update to version 2018-03-11.20.
9472 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
9473 * scripts/move-if-change: Update to version 2018-03-07 03:47.
9474
899478c2
FW
94752018-12-07 Florian Weimer <fweimer@redhat.com>
9476
9477 [BZ #23927]
9478 CVE-2018-19591
9479 * inet/tst-if_index-long.c: New file.
9480 * inet/Makefile (tests): Add tst-if_index-long.
9481
f255336a
FW
94822018-12-07 Florian Weimer <fweimer@redhat.com>
9483
9484 * support/check.h (support_record_failure_is_failed): Declare.
9485 * support/descriptors.h: New file.
9486 * support/support_descriptors.c: Likewise.
9487 * support/tst-support_descriptors.c: Likewise.
9488 * support/support_record_failure.c
9489 (support_record_failure_is_failed): New function.
9490 * support/Makefile (libsupport-routines): Add support_descriptors.
9491 (tests): Add tst-support_descriptors.
9492
35caceb1
ZW
94932018-12-05 Zack Weinberg <zackw@panix.com>
9494 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9495
9496 * stdio-common/vfprintf-internal.c
9497 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
9498 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
9499 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
9500 and __no_long_double.
9501 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
9502 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
9503 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
9504 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
9505 and __nldbl_*syslog* functions.
9506 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
9507 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
9508 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
9509 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
9510 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
9511 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
9512 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
9513 (__nldbl_vwprintf, __nldbl_wprintf):
9514 Directly call the appropriate __v*printf_internal routine, passing
9515 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
9516 variable names.
9517 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
9518 (__nldbl___printf_chk, __nldbl___snprintf_chk)
9519 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
9520 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
9521 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
9522 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
9523 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
9524 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
9525 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
9526 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
9527 Likewise, and also pass PRINTF_FORTIFY when appropriate.
9528 (__nldbl_syslog, __nldbl_vsyslog):
9529 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
9530 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
9531 appropriate.
9532 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
9533 appropriate.
9534
4e2f43f8
ZW
95352018-12-05 Zack Weinberg <zackw@panix.com>
9536 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9537
9538 [BZ #11319]
9539 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
9540 Moved here from debug/vsprintf_chk.c.
9541 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
9542 and completion logic for the strfile to match exactly what
9543 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
9544 _IO_str_init_static_internal instead of maxlen-1.
9545 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
9546 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
9547 __vsprintf_internal.
9548
9549 * debug/vsprintf_chk.c (__vsprintf_chk)
9550 * debug/sprintf_chk.c (__sprintf_chk):
9551 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
9552 'flags' argument is positive, and slen as maxlen. No need to lock
9553 the FILE and/or construct a temporary FILE. Minimize and normalize
9554 header inclusions and variable names. Do not libc_hidden_def anything.
9555
9556 * debug/asprintf_chk.c (__asprintf_chk)
9557 * debug/dprintf_chk.c (__dprintf_chk)
9558 * debug/fprintf_chk.c (__fprintf_chk)
9559 * debug/fwprintf_chk.c (__fwprintf_chk)
9560 * debug/printf_chk.c (__printf_chk)
9561 * debug/snprintf_chk.c (__snprintf_chk)
9562 * debug/swprintf_chk.c (__swprintf_chk)
9563 * debug/vasprintf_chk.c (__vasprintf_chk)
9564 * debug/vdprintf_chk.c (__vdprintf_chk)
9565 * debug/vfprintf_chk.c (__vfprintf_chk)
9566 * debug/vfwprintf_chk.c (__vfwprintf_chk)
9567 * debug/vprintf_chk.c (__vprintf_chk)
9568 * debug/vsnprintf_chk.c (__vsnprintf_chk)
9569 * debug/vswprintf_chk.c (__vswprintf_chk)
9570 * debug/vwprintf_chk.c (__vwprintf_chk)
9571 * debug/wprintf_chk.c (__wprintf_chk):
9572 Directly call the corresponding vxxprintf_internal function, passing
9573 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
9574 the FILE and/or construct a temporary FILE. Minimize and normalize
9575 header inclusions and variable names. Do not libc_hidden_def anything.
9576
9577 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
9578 __obstack_vprintf_internal.
9579 (__obstack_vprintf_chk): Convert into a wrapper that calls
9580 __obstack_vprintf_internal (these two functions already had the
9581 same code) and move to new file...
9582 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
9583 file.
9584 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
9585 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
9586 * debug/Makefile (routines): Add vobprintf_chk.
9587
9588 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
9589 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
9590 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
9591 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
9592 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
9593 (__nldbl___obstack_vfprintf_chk):
9594 Directly call the corresponding vxxprintf_internal function,
9595 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
9596 duplicate comparison of slen with 0 or maxlen from the corresponding
9597 non-__nldbl function.
9598
9599 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
9600 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
9601 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
9602 Remove libc_hidden_proto.
9603
9604 * stdio-common/vfprintf-internal.c
9605 (__vfprintf_internal, __vfwprintf_internal):
9606 Do not check _IO_FLAGS2_FORTIFY.
9607 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
9608 * libio/libioP.h: Update prototype of __vsprintf_internal and add
9609 a comment explaining why it has the maxlen argument.
9610 (_IO_acquire_lock_clear_flags2_fct): Remove.
9611 (_IO_acquire_lock_clear_flags2): Remove.
9612 (_IO_release_lock): Remove conditional statement which will
9613 now never execute.
9614 (_IO_acquire_lock): Remove variable which is now unused.
9615 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
9616 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
9617
9618 * stdio-common/Makefile (tests): Add tst-bz11319 and
9619 tst-bz11319-fortify2.
9620 (CFLAGS-tst-bz11319-fortify2.c): New macro.
9621 * stdio-common/tst-bz11319-fortify2.c: New file.
9622 * stdio-common/tst-bz11319.c: Likewise.
9623
124fc732
ZW
96242018-12-05 Zack Weinberg <zackw@panix.com>
9625 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9626
9627 * misc/syslog.c: Include libioP.h, not iolibio.h.
9628 (__vsyslog_internal): New function with the former body of
9629 __vsyslog_chk; takes mode_flags argument same as
9630 __v*printf_internal. Call __vfprintf_internal directly.
9631
9632 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
9633 Remove libc_hidden_def.
9634 (__syslog, __syslog_chk): Use __vsyslog_internal.
9635 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
9636
9637 * include/sys/syslog.h: Add multiple inclusion guard.
9638 Add prototype for __vsyslog_internal.
9639 Remove declaration and libc_hidden_proto for __vsyslog_chk.
9640
9641 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
9642 Use __vsyslog_internal.
9643
698fb75b
ZW
96442018-12-05 Zack Weinberg <zackw@panix.com>
9645 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9646
9647 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
9648 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
9649 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
9650 New functions.
9651 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
9652 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
9653
9654 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
9655 Include wctype.h here if COMPILE_WPRINTF is defined.
9656 Define __vfprintf_internal or __vfwprintf_internal, depending
9657 on COMPILE_WPRINTF.
9658 Temporarily, on entry to this function, update mode_flags
9659 according to the environmental settings corresponding to
9660 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
9661 Throughout, check mode_flags instead of __ldbl_is_dbl and
9662 _IO_FLAGS2_FORTIFY on the destination FILE.
9663 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
9664 Include vfprintf-internal.c. Don't include wctype.h.
9665 * stdio-common/vfprintf.c: New file. Just define __vfprintf
9666 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
9667 and vfprintf.
9668 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
9669 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
9670 and vfwprintf.
9671 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
9672
9673 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
9674 and add mode_flags argument; use __vfprintf_internal.
9675 (__vdprintf): New function. Alias vdprintf to this.
9676 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
9677 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
9678 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
9679 (__obstack_printf): Use __obstack_printf_internal.
9680 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
9681 public aliases __vsnprintf and vsnprintf.
9682 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
9683 called internally.
9684 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
9685 public aliases _IO_vsprintf and vsprintf.
9686 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
9687 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
9688 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
9689 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
9690 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
9691
9692 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
9693 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
9694 * stdio-common/fprintf.c, stdio-common/fxprintf.c
9695 * stdio-common/printf.c: Use __vfprintf_internal.
9696
9697 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
9698 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
9699 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
9700
9701 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
9702 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
9703 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
9704 __vfwprintf_internal.
9705
9706 * libio/libio.h: Remove libc_hidden_proto and declaration for
9707 _IO_vfprintf.
9708 Remove declaration of _IO_vfwprintf.
9709 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
9710 _IO_vsprintf.
9711 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
9712 _IO_obstack_printf.
9713 * include/stdio.h: Add prototype for __vasprintf.
9714 (__vsnprintf): Remove declaration, because there are no more
9715 internal calls.
9716 * include/wchar.h (__vfwprintf, __vswprintf): Remove
9717 declaration, because there are no more internal calls.
9718
9719 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
9720 __vsnprintf_internal, instead of _IO_vsnprintf.
9721 * argp/argp-help.c (__argp_error, __argp_failure): Use
9722 __vasprintf_internal, instead of _IO_vasprintf.
9723 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
9724 redefine, because there are no more internal calls.
9725
d91798b3
ZW
97262018-12-05 Zack Weinberg <zackw@panix.com>
9727 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9728
9729 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
9730 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
9731 Include libio/strfile.h instead of libioP.h.
9732 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
9733 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
9734 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
9735 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
9736 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
9737 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
9738 necessary. Do not set __no_long_double. Normalize variable names.
9739 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
9740 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
9741 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
9742 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
9743 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
9744 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
9745 Call __vfscanf_internal / __vfwscanf_internal directly, passing
9746 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
9747 Do not set __no_long_double. Normalize variable names.
9748
b87eb3f8
ZW
97492018-12-05 Zack Weinberg <zackw@panix.com>
9750 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9751
9752 * stdio-common/isoc99_scanf.c
9753 * stdio-common/isoc99_fscanf.c
9754 * stdio-common/isoc99_sscanf.c
9755 * stdio-common/isoc99_vscanf.c
9756 * stdio-common/isoc99_vfscanf.c
9757 * stdio-common/isoc99_vsscanf.c
9758 * wcsmbs/isoc99_wscanf.c
9759 * wcsmbs/isoc99_fwscanf.c
9760 * wcsmbs/isoc99_swscanf.c
9761 * wcsmbs/isoc99_vwscanf.c
9762 * wcsmbs/isoc99_vfwscanf.c
9763 * wcsmbs/isoc99_vswscanf.c:
9764 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
9765 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
9766 No need to lock and unlock the FILE passed to that function.
9767
9768 * stdio-common/vfscanf-internal.c
9769 (__vfscanf_internal, __vfwscanf_internal):
9770 Don't look at _IO_FLAGS2_SCANF_STD.
9771 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
9772 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
9773 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
9774
349718d4
ZW
97752018-12-05 Zack Weinberg <zackw@panix.com>
9776 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9777
9778 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
9779 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
9780 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
9781 * libio/strfile.h: Add multiple inclusion guard.
9782 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
9783
9784 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
9785 consistency with the other version of this file.
9786 (ldbl_compat_symbol): New macro.
9787 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
9788 New macro.
9789
9790 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
9791 Define __vfscanf_internal or __vfwscanf_internal, depending on
9792 COMPILE_WSCANF; don't define any other public symbols.
9793 Remove errval and code to set errp.
9794 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
9795 as the mode_flags argument.
9796 (encode_error, conv_error, input_error): Don't set errval.
9797 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
9798 Include vfscanf-internal.c.
9799 * stdio-common/vfscanf.c: New file defining the public entry
9800 point vfscanf, which calls __vfscanf_internal.
9801 * stdio-common/vfwscanf.c: New file defining the public entry
9802 point vfwscanf, which calls __vfwscanf_internal.
9803
9804 * stdio-common/iovfscanf.c: New file.
9805 * stdio-common/iovfwscanf.c: Likewise.
9806
9807 * stdio-common/Makefile (routines): Add vfscanf-internal,
9808 vfwscanf-internal, iovfscanf, iovfwscanf.
9809 * stdio-common/Versions: Mention GLIBC_2.29, so that
9810 it can be used in SHLIB_COMPAT expressions.
9811 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
9812 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
9813 Call __vfscanf_internal, instead of _IO_vfscanf.
9814 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
9815 _IO_vfscanf.
9816 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
9817 _IO_vfwscanf.
9818
9819 * libio/iovsscanf.c: Clean up includes, when possible. Use
9820 _IO_strfile_read or _IO_strfile_readw, when needed. Call
9821 __vfscanf_internal or __vfwscanf_internal directly.
9822 * libio/iovswscanf.c: Likewise.
9823 * libio/swscanf.c: Likewise.
9824 * libio/vscanf.c: Likewise.
9825 * libio/vwscanf.c: Likewise.
9826 * libio/wscanf.c: Likewise.
9827 * stdio-common/isoc99_fscanf.c: Likewise.
9828 * stdio-common/isoc99_scanf.c: Likewise.
9829 * stdio-common/isoc99_sscanf.c: Likewise.
9830 * stdio-common/isoc99_vfscanf.c: Likewise.
9831 * stdio-common/isoc99_vscanf.c: Likewise.
9832 * stdio-common/isoc99_vsscanf.c: Likewise.
9833 * stdio-common/scanf.c: Likewise.
9834 * stdio-common/sscanf.c: Likewise.
9835 * wcsmbs/isoc99_fwscanf.c: Likewise.
9836 * wcsmbs/isoc99_swscanf.c: Likewise.
9837 * wcsmbs/isoc99_vfwscanf.c: Likewise.
9838 * wcsmbs/isoc99_vswscanf.c: Likewise.
9839 * wcsmbs/isoc99_vwscanf.c: Likewise.
9840 * wcsmbs/isoc99_wscanf.c: Likewise.
9841
6b5c8607 98422018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
72b8692d
AA
9843
9844 * include/time.h
9845 (__tz_compute): Replace time_t with __time64_t.
9846 (__tz_convert): Replace time_t* with __time64_t.
9847 (__offtime): Replace time_t* with __time64_t.
9848 * time/gmtime.c
9849 (__gmtime_r): Adjust call to __tz_convert.
9850 (gmtime): Likewise.
9851 * time/localtime.c
9852 (__localtime_r): Likewise.
9853 (localtime): Likewise.
9854 * time/offtime.c: Replace time_t with __time64_t.
9855 * time/tzset.c: Likewise.
9856
bd598da9
JM
98572018-12-04 Joseph Myers <joseph@codesourcery.com>
9858
9859 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
9860 dynamic linker unless [$(run-built-tests) = yes].
9861
b2e93de0
DD
98622018-12-03 DJ Delorie <dj@delorie.com>
9863
9864 * support/test-container.c (check_for_unshare_hints): New.
9865 (main): Call it if unshare fails. Add support for "su" scriptlet
9866 command.
9867
477a02f6
JM
98682018-12-03 Joseph Myers <joseph@codesourcery.com>
9869
9870 * scripts/gen-as-const.py (compute_c_consts): Take an argument
9871 'START' to indicate that start text should be output.
9872 (gen_test): Likewise.
9873 (main): Generate 'START' for first symbol or '--' line, or at end
9874 of input if not previously generated.
9875
6af956e5
RÁE
98762018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
9877
9878 [BZ #19767]
9879 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
9880 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
9881 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
9882 ALWAYS_USE_VSYSCALL.
9883
f5ec0ea9
AZ
98842018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9885
9886 [BZ #23913]
9887 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
9888 new_argv by one.
9889
8cebd4ff
CD
98902018-12-03 Carlos O'Donell <carlos@redhat.com>
9891
9892 [BZ #23923]
9893 * locale/programs/localedef.c: Declare boolean hard_links default true.
9894 (options): Add --no-hard-links option.
9895 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
9896 * locale/programs/localedef.h: Declare prototype for hard_links.
9897 * locale/programs/locfile.c (write_locale_data): Don't use hard
9898 links if hard_links is false.
9899
c22e4c2a
L
99002018-12-03 H.J. Lu <hongjiu.lu@intel.com>
9901
9902 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
9903 cpu_features_basic.
9904 (__cache_sysconf): Likewise.
9905 (init_cacheinfo): Likewise.
9906 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
9907 populate COMMON_CPUID_INDEX_80000007 and
9908 COMMON_CPUID_INDEX_80000008.
9909 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
9910 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
9911 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
9912 (init_cpu_features): Use _Static_assert on
9913 index_arch_Fast_Unaligned_Load.
9914 __get_cpuid_registers and __get_arch_feature. Updated for
9915 cpu_features_basic. Set stepping in cpu_features.
9916 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
9917 (FEATURE_INDEX_2): New.
9918 (FEATURE_INDEX_MAX): Changed to enum.
9919 (COMMON_CPUID_INDEX_D_ECX_1): New.
9920 (COMMON_CPUID_INDEX_80000007): Likewise.
9921 (COMMON_CPUID_INDEX_80000008): Likewise.
9922 (cpuid_registers): Likewise.
9923 (cpu_features_basic): Likewise.
9924 (CPU_FEATURE_USABLE): Likewise.
9925 (bit_arch_XXX_Usable): Likewise.
9926 (cpu_features): Use cpuid_registers and cpu_features_basic.
9927 (bit_arch_XXX): Reweritten.
9928 (bit_cpu_XXX): Likewise.
9929 (index_cpu_XXX): Likewise.
9930 (reg_XXX): Likewise.
9931 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
9932 <support/check.h>.
9933 (CHECK_CPU_FEATURE): New.
9934 (CHECK_CPU_FEATURE_USABLE): Likewise.
9935 (cpu_kinds): Likewise.
9936 (do_test): Print vendor, family, model and stepping. Check
9937 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
9938 (TEST_FUNCTION): Removed.
9939 Include <support/test-driver.c> instead of
9940 "../../test-skeleton.c".
9941 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
9942 Check POPCNT instead of POPCOUNT.
9943 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
9944
7b36d26b
ST
99452018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
9946
9947 * scripts/gen-as-const.py (main): Avoid emitting empty line when
9948 there is no element in `consts'.
9949
02cd5c1a
FW
99502018-12-01 Florian Weimer <fweimer@redhat.com>
9951
9952 * support/support_capture_subprocess.c
9953 (support_capture_subprocess): Check that pipe descriptors have
9954 expected values. Close original pipe descriptors in subprocess.
9955
fc493bc9
ST
99562018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
9957
9958 [BZ #23032]
9959 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
9960 attr with __pthread_default_barrierattr.
9961 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
9962 attr with __pthread_default_condattr.
9963 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
9964 attr with __pthread_default_mutexattr.
9965 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
9966 attr with __pthread_default_rwlockattr.
9967
6310e6be
KW
99682018-12-01 Kemi Wang <kemi.wang@intel.com>
9969
9970 * manual/tunables.texi (POSIX Thread Tunables): New node.
9971 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
9972 * nptl/nptl-init.c: Include pthread_mutex_conf.h
9973 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
9974 __pthread_tunables_init.
9975 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
9976 (max_adaptive_count): Define.
9977 * nptl/pthread_mutex_conf.c: New file.
9978 * nptl/pthread_mutex_conf.h: New file.
9979 * sysdeps/generic/adaptive_spin_count.h: New file.
9980 * sysdeps/nptl/dl-tunables.list: New file.
9981 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
9982 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
9983 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
9984 Likewise.
9985
8e67b39e
PP
99862018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
9987
9988 [BZ #20544]
9989 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
9990 * stdlib/on_exit.c (__on_exit): Likewise.
9991 * stdlib/Makefile (tests): Add tst-bz20544.
9992 * stdlib/tst-bz20544.c: New test.
9993
15b8d67e
RÁE
99942018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
9995
9996 [BZ #19767]
9997 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
9998 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
9999 New.
10000
5e63c240
FW
100012018-11-30 Florian Weimer <fweimer@redhat.com>
10002
10003 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
10004 Extend error logging.
10005 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
10006 symbol.
10007
71058602 100082018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14d0e87d 10009
5fb7fc96
AZ
10010 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
10011 __sigismember instead of sigismember.
10012 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
10013 cancel_handler): New definitions.
10014 (do_system): Use posix_spawn instead of fork and execl and remove
10015 reentracy code.
10016 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
10017 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
10018 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
10019 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10020 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10021 * sysdeps/unix/sysv/linux/system.c: Likewise.
10022
14d0e87d
AZ
10023 [BZ #22834]
10024 [BZ #17490]
10025 * NEWS: Add new semantic for atfork with popen and system.
10026 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
10027 fork and execl.
10028
e5d262ef
TMQMF
100292018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10030
10031 [BZ #23690]
10032 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
10033 modification order when accessing reloc_result->addr.
10034 * include/link.h (reloc_result): Add field init.
10035 * nptl/Makefile (tests): Add tst-audit-threads.
10036 (modules-names): Add tst-audit-threads-mod1 and
10037 tst-audit-threads-mod2.
10038 Add rules to build tst-audit-threads.
10039 * nptl/tst-audit-threads-mod1.c: New file.
10040 * nptl/tst-audit-threads-mod2.c: Likewise.
10041 * nptl/tst-audit-threads.c: Likewise.
10042 * nptl/tst-audit-threads.h: Likewise.
10043
7e1d4240
JM
100442018-11-30 Joseph Myers <joseph@codesourcery.com>
10045
10046 * scripts/gen-as-const.py: New file.
10047 * scripts/gen-as-const.awk: Remove.
10048 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
10049 gen-as-const.py.
10050 ($(objpfx)test-as-const-%.c): Likewise.
10051
ce7387cc
L
100522018-11-29 H.J. Lu <hongjiu.lu@intel.com>
10053
10054 * elf/dl-exception.c: Include <_itoa.h>.
10055
c6a5bdc1
ST
100562018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10057
10058 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
10059 returned by __f_setlk.
10060
a5275ba5
L
100612018-11-29 H.J. Lu <hongjiu.lu@intel.com>
10062 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10063
10064 * elf/Makefile (tests-internal): Add tst-create_format1.
10065 * elf/dl-exception.c (_dl_exception_create_format): Support
10066 %x, %lx and %zx.
10067 * elf/tst-create_format1.c: New file.
10068
3a67e81d
CAC
100692018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
10070
10071 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
10072 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
10073 gnulib.)
10074 * argp/argp-help.c (__argp_failure): Likewise.
10075
4975f0c3
MH
100762018-11-29 Mao Han <han_mao@c-sky.com>
10077
10078 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
10079 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
10080 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
10081 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
10082 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
10083 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
10084 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
10085 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
10086 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
10087 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
10088 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
10089 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
10090 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
10091 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
10092 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
10093 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
10094 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
10095 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
10096 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
10097 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
10098 (R_CKCORE_TLS_TPOFF32): New defines.
10099
250102c8
FW
101002018-11-29 Florian Weimer <fweimer@redhat.com>
10101
10102 * posix/Makefile (before-compile): Remove testcases.h and
10103 ptestcases.h.
10104 (generated): Add testcases.h and ptestcases.h.
10105 (testcases.h, ptestcases.h): Move to $(objpfx).
10106 (runtests.o): Add dependency on testcases.h.
10107 (runptests.o): Add dependency on ptestcases.h.
10108 * posix/testcases.h, posix/ptestcases.h: Remove files.
10109 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
10110 not touch posix/testcases.h and posix/ptestcases.h.
10111
96cd0558
FW
101122018-11-28 Florian Weimer <fweimer@redhat.com>
10113
10114 support: Add signal support to support_capture_subprocess_check.
10115 * support/capture_subprocess.h (support_capture_subprocess_check):
10116 Adjust comment and rename parameter.
10117 * support/support_capture_subprocess_check.c
10118 (print_actual_status): New function.
10119 (support_capture_subprocess_check): Support negative
10120 status_or_signal. Call print_actual_status.
10121 * support/tst-support_capture_subprocess.c (do_test): Call
10122 support_capture_subprocess_check.
10123 * libio/tst-vtables-common.c (termination_status)
10124 (init_termination_status): Remove.
10125 (check_for_termination): Adjust support_capture_subprocess_check
10126 call.
10127 (do_test): Remove call to init_termination_status.
10128
530504e3
JM
101292018-11-28 Joseph Myers <joseph@codesourcery.com>
10130
10131 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
10132 source directory instead of a copy.
10133 (CommandList.create_copy_dir): Remove.
10134
9a0b6970
SL
101352018-11-28 Stefan Liebler <stli@linux.ibm.com>
10136
10137 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10138
47d8d9a2
FW
101392018-11-28 Florian Weimer <fweimer@redhat.com>
10140
10141 * support/support.h (support_quote_string): Do not use str
10142 parameter name.
10143
b473b7d8
JM
101442018-11-27 Joseph Myers <joseph@codesourcery.com>
10145
10146 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
10147 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
10148
c74a91de
FW
101492018-11-27 Florian Weimer <fweimer@redhat.com>
10150
10151 * support/support.h (support_quote_string): Declare.
10152 * support/support_quote_string.c: New file.
10153 * support/tst-support_quote_string.c: Likewise.
10154 * support/Makefile (libsupport-routines): Add
10155 support_quote_string.
10156 (tests): Add tst-support_quote_string.
10157
d527c860
FW
101582018-11-27 Florian Weimer <fweimer@redhat.com>
10159
10160 [BZ #23927]
10161 CVE-2018-19591
10162 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
10163 descriptor leak in case of ENODEV error.
10164
979cfed0
RÁE
101652018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
10166
10167 [BZ #19767]
10168 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
10169 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
10170 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
10171
ce035c6e
CD
101722018-11-26 Carlos O'Donell <carlos@redhat.com>
10173
10174 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
10175 Error for unknown lines.
10176
2bd0bfcc
JM
101772018-11-26 Joseph Myers <joseph@codesourcery.com>
10178
10179 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
10180 Touch additional files.
10181
affec03b
FW
101822018-11-26 Florian Weimer <fweimer@redhat.com>
10183
10184 [BZ #23907]
10185 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
10186 double-frees.
10187
8ae74ead
RÁE
101882018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
10189
10190 [BZ #19767]
10191 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
10192 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
10193 SHARED. Include sysdep.h.
10194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
10195 ALWAYS_USE_VSYSCALL.
10196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
10197 ALWAYS_USE_VSYSCALL.
10198
1e8bdc3a
RÁE
101992018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
10200
10201 [BZ #19767]
10202 * nptl/Makefile (tests-static): Add tst-cond11-static.
10203 (tests): Likewise.
10204 * nptl/tst-cond11-static.c: New File.
10205 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
10206 tst-affinity-static.
10207 (tests): Likewise.
10208 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
10209 instead of SHARED.
10210 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
10211 (USE_VSYSCALL): Likewise.
10212 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
10213 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
10214 instead of SHARED.
10215 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
10216 SHARED.
10217 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
10218 New.
10219
1283c478
JM
102202018-11-23 Joseph Myers <joseph@codesourcery.com>
10221
10222 [BZ #23915]
10223 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10224 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
10225 Undefine.
10226
c089fd80
L
102272018-11-23 H.J. Lu <hongjiu.lu@intel.com>
10228
10229 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
10230 (tst-cet-legacy-1a-ARGS): New.
10231 ($(objpfx)tst-cet-legacy-1a): New target.
10232 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
10233
cc6c89fa
JM
102342018-11-22 Joseph Myers <joseph@codesourcery.com>
10235
95edd05c
JM
10236 * conform/conformtest.py (CompileSubTest.__init__): Set
10237 self.run_early to False.
10238 (ExecuteSubTest.__init__): Likewise.
10239 (HeaderTests.run): Try running all non-optional, non-XFAILed
10240 compilation tests in a single execution of the compiler.
10241
cc6c89fa
JM
10242 * conform/conformtest.py (CompileSubTest): New class.
10243 (ExecuteSubTest): Likewise.
10244 (ElementTest.run): Rename to gen_subtests. Append tests to
10245 self.subtests instead of running them.
10246 (ConstantTest.run): Likewise.
10247 (SymbolTest.run): Likewise.
10248 (TypeTest.run): Likewise.
10249 (TagTest.run): Likewise.
10250 (FunctionTest.run): Likewise.
10251 (VariableTest.run): Likewise.
10252 (MacroFunctionTest.run): Likewise.
10253 (MacroStrTest.run): Likewise.
10254 (HeaderTests.handle_test_line): Generate subtests for tests.
10255 (HeaderTests.run): Run subtests for tests.
10256
a502c529
SN
102572018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10258
10259 * math/Versions (GLIBC_2.29): Add pow.
10260 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
10261 symbol.
10262 * math/w_pow.c: New file.
10263 * sysdeps/i386/fpu/w_pow.c: New file.
10264 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
10265 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
10266 and add necessary aliases.
10267 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
10268 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
10269 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10270 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10271 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10272 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10273 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10274 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10275 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10276 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10277 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10278 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10279 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10280 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10281 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10286 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10287 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10288 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10289 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10290 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10291 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10292 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10293 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
10294 __pow.
10295 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
10296 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
10297 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
10298
718d6542
SN
102992018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10300
10301 * math/Versions (GLIBC_2.29): Add log2.
10302 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
10303 symbol.
10304 * math/w_log2.c: New file.
10305 * sysdeps/i386/fpu/w_log2.c: New file.
10306 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
10307 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
10308 and add necessary aliases.
10309 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
10310 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
10311 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10312 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10313 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10314 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10315 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10316 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10317 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10318 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10319 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10320 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10321 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10322 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10323 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10328 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10329 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10330 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10331 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10332 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10333 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10334 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10335
f29b7c49
SN
103362018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10337
10338 * math/Versions (GLIBC_2.29): Add log.
10339 * math/w_log_compat.c (__log_compat): Change to versioned compat
10340 symbol.
10341 * math/w_log.c: New file.
10342 * sysdeps/i386/fpu/w_log.c: New file.
10343 * sysdeps/ia64/fpu/e_log.S: Update.
10344 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
10345 and add necessary aliases.
10346 * sysdeps/ieee754/dbl-64/w_log.c: New file.
10347 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
10348 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10349 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10350 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10351 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10352 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10353 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10354 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10355 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10356 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10357 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10358 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10359 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10360 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10365 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10366 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10367 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10368 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10369 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10370 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10371 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10372 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
10373 __log.
10374 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
10375 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
10376 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
10377 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
10378
c20a1056
SN
103792018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10380
10381 * math/Versions (GLIBC_2.29): Add exp and exp2.
10382 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
10383 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
10384 * math/w_exp_compat.c (__exp_compat): Likewise.
10385 * math/w_exp.c: New file.
10386 * math/w_exp2.c: New file.
10387 * sysdeps/i386/fpu/w_exp.c: New file.
10388 * sysdeps/i386/fpu/w_exp2.c: New file.
10389 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
10390 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
10391 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
10392 and add necessary aliases.
10393 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
10394 and add necessary aliases.
10395 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
10396 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
10397 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
10398 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
10399 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10400 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10401 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10402 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10403 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10404 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10405 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10406 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10407 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10408 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10409 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10410 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10411 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10416 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10417 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10418 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10419 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10420 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10421 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10422 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10423 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
10424 (__ieee754_exp): Rename to __exp.
10425 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
10426 (__ieee754_exp): Rename to __exp.
10427 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
10428 (__ieee754_exp): Rename to __exp.
10429 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
10430 __exp.
10431 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
10432
bcdaad21
DD
104332018-11-20 DJ Delorie <dj@redhat.com>
10434
10435 * malloc/malloc.c (tcache_entry): Add key field.
10436 (tcache_put): Set it.
10437 (tcache_get): Likewise.
10438 (_int_free): Check for double free in tcache.
10439 * malloc/tst-tcfree1.c: New.
10440 * malloc/tst-tcfree2.c: New.
10441 * malloc/Makefile: Run the new tests.
10442 * manual/probes.texi: Document memory_tcache_double_free probe.
10443
10444 * dlfcn/dlerror.c (check_free): Prevent double frees.
10445
5770c0ad
WD
104462018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
10447
10448 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
10449
9a62a939
JM
104502018-11-20 Joseph Myers <joseph@codesourcery.com>
10451
10452 * conform/conformtest.py (ElementTest.run): Use unique identifiers
10453 in tests. Use names for format arguments.
10454 (ConstantTest.run): Likewise.
10455 (SymbolTest.run): Likewise.
10456 (TypeTest.run): Likewise.
10457 (TagTest.run): Likewise.
10458 (FunctionTest.run): Likewise.
10459 (VariableTest.run): Likewise.
10460 (MacroFunctionTest.run): Likewise.
10461 (MacroStrTest.run): Likewise.
10462 (HeaderTests.__init__): Set self.num_tests.
10463 (HeaderTests.handle_test_line): Set test.num. Increment
10464 self.num_tests.
10465
b15b1a95
ST
104662018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
10467
10468 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
10469 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
10470 SEEK_SET.
10471
0c7f97ae
MH
104722018-11-19 Mao Han <han_mao@c-sky.com>
10473
10474 * scripts/config.guess: Update to version 2018-08-29.
10475 * scripts/config.sub: Update to version 2018-08-29.
10476
35e3fbc4
FW
104772018-11-19 Florian Weimer <fweimer@redhat.com>
10478
10479 support: Print timestamps in timeout handler.
10480 * support/support_test_main.c (print_timestamp): New function.
10481 (signal_handler): Use it to print the termination time and the
10482 time of the last write to standard output.
10483
c75772e3
ZW
104842018-11-16 Zack Weinberg <zackw@panix.com>
10485 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10486
10487 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
10488 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
10489 argument.
10490 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
10491 and add flags argument. Check flags instead of __ldbl_is_dbl when
10492 deciding whether to set is_long_double.
10493 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
10494 passing zero for flags argument.
10495 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
10496
10497 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
10498 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
10499 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
10500 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
10501 variable names. Remove libc_hidden_def/libc_hidden_proto from
10502 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
10503 longer called from within the library.
10504 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
10505 for __nldbl___vstrfmon_l, declare it explicitly.
10506
10507 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
10508
346ef23f
ST
105092018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
10510
10511 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
10512 macros
10513 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
10514 F_SETLK64, F_SETLKW64, respectively.
10515 * sysdeps/mach/hurd/f_setlk.c: New file.
10516 * sysdeps/mach/hurd/f_setlk.h: New file.
10517 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
10518 f_setlk.
10519 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
10520 (__libc_fcntl): Move non-flock operations to...
10521 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
10522 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
10523
de20b81a
PE
105242018-11-15 Paul Eggert <eggert@cs.ucla.edu>
10525
5d8af156
PE
10526 mktime: DEBUG_MKTIME cleanup
10527 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
10528 And it’s no longer needed now that glibc and Gnulib both have
10529 their own testing mechanisms for mktime.
10530 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
10531
86aece3b
PE
10532 mktime: fix non-EOVERFLOW errno handling
10533 [BZ#23789]
10534 mktime was not properly reporting failures when the underlying
10535 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
10536 them like EOVERFLOW failures, and set errno to EOVERFLOW.
10537 The problem could happen on non-glibc platforms, with Gnulib.
10538 * time/mktime.c (guess_time_tm): Remove, replacing with ...
10539 (tm_diff): ... this simpler function, which does not change errno.
10540 All callers changed to deal with errno themselves.
10541 (ranged_convert, __mktime_internal): Return failure immediately if
10542 the underlying function reports any failure other than EOVERFLOW.
10543 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
10544 gap code fails.
10545
f6b3331b
PE
10546 mktime: fix bug with Y2038 DST transition
10547 [BZ#23789]
10548 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
10549 mishandle a DST transition that jumps over the Y2038 boundary.
10550 No such DST transitions are known so this is only a theoretical
10551 bug, but we might as well do things right.
10552
efbdddc3
PE
10553 mktime: make more room for overflow
10554 [BZ#23789]
10555 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
10556 This is so that we can add tm_diff results to a previous guess,
10557 which will be useful in a later patch.
10558
6c90d759
PE
10559 mktime: simplify offset guess
10560 [BZ#23789]
10561 * time/mktime.c (__mktime_internal): Omit excess precision.
10562
32c12f3f
PE
10563 mktime: new test for mktime failure
10564 [BZ#23789]
10565 Based on a test suggested by Albert Aribaud in:
10566 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
10567 * time/Makefile (tests): Add bug-mktime4.
10568 * time/bug-mktime4.c: New file.
10569
de20b81a
PE
10570 mktime: fix EOVERFLOW bug
10571 [BZ#23789]
10572 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
10573 Include libc-config.h, not config.h, for __set_errno.
10574 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
10575
8c6c3fb0
ST
105762018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
10577
10578 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
10579 __attribute_copy__ to copy attributes from name. Drop static qualifier
10580 to avoid warnings about leaf attribute not having effect on static
10581 functions.
10582
6923f6db
FW
105832018-11-13 Florian Weimer <fweimer@redhat.com>
10584
10585 * malloc/malloc.c (fastbin_push_entry): New function.
10586 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
10587 (REMOVE_FB): Remove macro.
10588 (_int_malloc): Use fastbin_pop_entry and reindent.
10589 (_int_free): Use fastbin_push_entry.
10590 (malloc_consolidate): Use atomic_exchange_acquire.
10591
53f5c659
JM
105922018-11-13 Joseph Myers <joseph@codesourcery.com>
10593
0c096dcf
JM
10594 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
10595 alias attribute, not with strong_alias.
10596
9c4b457e
JM
10597 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
10598 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
10599 with additional parameter thread.
10600 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
10601 in terms of __hidden_ver2.
10602 (hidden_tls_def): New macro.
10603 (libc_hidden_tls_def): Likewise.
10604 (rtld_hidden_tls_def): Likewise.
10605 (libm_hidden_tls_def): Likewise.
10606 (libmvec_hidden_tls_def): Likewise.
10607 (libresolv_hidden_tls_def): Likewise.
10608 (librt_hidden_tls_def): Likewise.
10609 (libdl_hidden_tls_def): Likewise.
10610 (libnss_files_hidden_tls_def): Likewise.
10611 (libnsl_hidden_tls_def): Likewise.
10612 (libnss_nisplus_hidden_tls_def): Likewise.
10613 (libutil_hidden_tls_def): Likewise.
10614 (libutil_hidden_tls_def): Likweise.
10615 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
10616 libc_hidden_tls_def.
10617 (__sim_disabled_exceptions_thread): Likewise.
10618 (__sim_round_mode_thread): Likewise.
10619
53f5c659
JM
10620 * sysdeps/sparc/sparc-ifunc.h [SHARED]
10621 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
10622 copy attributes from name.
10623
092dfde6
JM
106242018-11-12 Joseph Myers <joseph@codesourcery.com>
10625
f578f97b
JM
10626 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
10627 Use __attribute_copy__ to copy attributes from name.
10628
9a7c643a
JM
10629 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
10630 with __hidden_ver1 call.
10631 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
10632 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
10633 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
10634 (__cosf): Do not declare here.
10635 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
10636 (__sincosf): Do not declare here.
10637 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
10638 (__sinf): Do not declare here.
10639
092dfde6
JM
10640 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
10641 (__BIG_ENDIAN): Likewise.
10642 (__BYTE_ORDER): Likewise.
10643 (strong_alias): Likewise.
10644 (_strong_alias): Likewise.
10645
1ecba1fa
FW
106462018-11-12 Florian Weimer <fweimer@redhat.com>
10647
10648 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
10649 function. Move after the definition of in_smallbin_range. Do not
10650 use __builtin_expect for paths that lead to a noreturn function.
10651 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
10652 because it is unclear whether this is in fact an unlikely
10653 condition.
10654 (_int_malloc, _int_free): Adjust.
10655 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
10656 variables.
10657 * malloc/arena.c (heap_trim): Likewise.
10658
434c34bd
ST
106592018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10660
10661 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
10662 it, free it if needed.
10663 (reauthenticate): Test and use ccwdir.
10664 (child_init_port): In non-resetids case, test and use ccwdir.
10665 (child_chdir): New nested function to set ccwdir.
7fa495cd
ST
10666 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
10667 * hurd/hurd/port.h (_hurd_port_move): New function.
10668 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
10669 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
88b26b7e
ST
10670 * hurd/Versions (_hurd_port_move): Export function.
10671 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
10672 symbol.
58bb655a
ST
10673 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
10674 of dtablesize for allocating dtable_cloexec.
434c34bd 10675
1626a1cf
MS
106762018-11-09 Martin Sebor <msebor@redhat.com>
10677
10678 * include/libc-symbols.h (__attribute_copy__): Define macro unless
10679 it's already defined.
10680 (_strong_alias): Use __attribute_copy__.
10681 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
10682 * misc/sys/cdefs.h (__attribute_copy__): New macro.
10683 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
10684 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
10685 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
10686 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
10687 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
10688 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
10689 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
10690 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
10691 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
10692 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
10693 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
10694 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
10695 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
10696 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
10697 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
10698 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
10699 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
10700
968ed530
GG
107012018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10702
10703 * misc/tst-efgcvt.c: Include support/check.h and
10704 support/test-driver.c. Do not include test-skeleton.c.
10705 (error_count): Remove.
10706 (output_error): Replace increments to error_count with calls to
10707 support_record_failure.
10708 (output_r_error): Likewise.
10709 (special): Likewise.
10710 (do_test): Unconditionally return zero.
10711 (TEST_FUNCTION): Remove.
10712
c3ec0972
JM
107132018-11-09 Joseph Myers <joseph@codesourcery.com>
10714
91faaa93
JM
10715 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
10716 not $(@D)/scratch.
10717 ($(linknamespace-header-tests)): Likewise.
10718
c3ec0972
JM
10719 * conform/conformtest.py: New file.
10720 * conform/conformtest.pl: Remove.
10721 * conform/GlibcConform.pm: Likewise.
10722 * conform/glibcconform.py (KEYWORDS_C90): New constant.
10723 (KEYWORDS_C99): Likewise.
10724 (KEYWORDS): Likewise.
10725 * conform/Makefile ($(conformtest-header-tests)): Use
10726 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
10727 option. Use --header instead of --headers.
10728 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
10729 function entries.
10730 * conform/data/spawn.h-data: Likewise.
10731 * conform/data/fcntl.h-data (openat): Add space after function
10732 name.
10733 * conform/data/wchar.h-data (wcscasecmp): Likewise.
10734 (wcscasecmp_l): Likewise.
10735 * conform/data/termios.h-data (c_cc): Add space after element
10736 name.
10737
43257c33
GG
107382018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10739
10740 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
10741 instead of manually comparing and reporting mismatching strings.
10742 * misc/tst-ldbl-error.c (do_one_test): Likewise.
10743 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
10744
e5de3b5b
JM
107452018-11-08 Joseph Myers <joseph@codesourcery.com>
10746
10747 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
10748 __ASSUME_SOCKETCALL.
10749 * sysdeps/unix/sysv/linux/i386/kernel-features.h
10750 (__ASSUME_SOCKETCALL): Remove.
10751 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10752 (__ASSUME_SOCKETCALL): Likewise.
10753 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10754 (__ASSUME_SOCKETCALL): Likewise.
10755 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10756 (__ASSUME_SOCKETCALL): Likewise.
10757 * sysdeps/unix/sysv/linux/s390/kernel-features.h
10758 (__ASSUME_SOCKETCALL): Likewise.
10759 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10760 (__ASSUME_SOCKETCALL): Likewise.
10761 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10762 (__ASSUME_SOCKETCALL): Likewise.
10763
d524fa6c
L
107642018-11-08 H.J. Lu <hongjiu.lu@intel.com>
10765
10766 [BZ #23509]
10767 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
10768 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
10769 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
10770 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
10771 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
10772 lc_unknown.
10773
ac806026
AH
107742018-11-08 Alexandra Hájková <ahajkova@redhat.com>
10775
10776 [BZ #17630]
10777 * resolv/tst-resolv-network.c: Add test for getnetbyname.
10778
596cc360
JM
107792018-11-07 Joseph Myers <joseph@codesourcery.com>
10780
10781 [BZ #23867]
10782 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10783 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
10784 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10785 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
10786
00c86a37
AZ
107872018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10788
10789 * support/support_test_compare_string.c
10790 (support_test_compare_string): Fix printf format.
10791
1df872fd
FW
107922018-11-07 Florian Weimer <fweimer@redhat.com>
10793
10794 Implement TEST_COMPARE_STRING.
10795 * support/check.h (TEST_COMPARE_STRING): Define.
10796 (support_test_compare_string): Declare.
10797 * support/Makefile (libsupport-routines): Add
10798 support_test_compare_string.
10799 (tests): Add tst-test_compare_string.
10800 * support/support_test_compare_string.c: New file.
10801 * support/tst-test_compare_string.c: Likewise.
10802
295132ff
AS
108032018-11-07 Andreas Schwab <schwab@suse.de>
10804
10805 [BZ #23864]
10806 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
10807 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
10808 Undef.
10809
e143ceba
JM
108102018-11-06 Joseph Myers <joseph@codesourcery.com>
10811
10812 [BZ #23862]
10813 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10814 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
10815 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
10816 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
10817 Likewise.
10818
4a938cb2
FW
108192018-11-06 Florian Weimer <fweimer@redhat.com>
10820
10821 [BZ #17405]
10822 * posix/Makefile (routines): Add spawn_faction_addchdir.
10823 (tests): Add tst-spawn-chdir.
10824 * posix/Versions (GLIBC_2.29): Add
10825 posix_spawn_file_actions_addchdir_np.
10826 * posix/spawn_faction_addchdir.c: New file.
10827 * posix/spawn_faction_destroy.c
10828 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
10829 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
10830 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
10831 chdir_action.
10832 * posix/tst-spawn-chdir.c: New file.
10833 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
10834 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
10835 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
10836 posix_spawn_file_actions_addchdir_np.
10837 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
10838 Likewise.
10839 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
10840 Likewise.
10841 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
10842 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
10843 Likewise.
10844 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
10845 Likewise.
10846 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
10847 Likewise.
10848 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
10849 Likewise.
10850 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
10851 Likewise.
10852 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
10853 Likewise.
10854 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
10855 (GLIBC_2.29): Likewise.
10856 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
10857 (GLIBC_2.29): Likewise.
10858 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
10859 (GLIBC_2.29): Likewise.
10860 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
10861 (GLIBC_2.29): Likewise.
10862 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
10863 Likewise.
10864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10865 (GLIBC_2.29): Likewise.
10866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
10867 (GLIBC_2.29): Likewise.
10868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
10869 (GLIBC_2.29): Likewise.
10870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
10871 (GLIBC_2.29): Likewise.
10872 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
10873 Likewise.
10874 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
10875 Likewise.
10876 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
10877 Likewise.
10878 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
10879 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
10880 Likewise.
10881 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
10882 Likewise.
10883 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
10884 Likewise.
10885 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
10886 Likewise.
10887
7597b0c7
GG
108882018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10889
10890 * misc/Makefile (tests): Add tst-ldbl-error.
10891 * misc/tst-ldbl-error.c: New file.
10892
9771e6cb
GG
108932018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10894
10895 * misc/Makefile (tests): Add tst-ldbl-warn.
10896 * misc/tst-ldbl-warn.c: New file.
10897
2c03961f
GG
108982018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10899
10900 * argp/Makefile (tests): Add tst-ldbl-argp.
10901 * argp/tst-ldbl-argp.c: New file.
10902
6d6ee046
AS
109032018-11-05 Arjun Shankar <arjun@redhat.com>
10904
10905 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
10906 __gconv_path_elem and call __gconv_get_path unconditionally.
10907
bd3b0fba
AS
109082018-11-05 Andreas Schwab <schwab@suse.de>
10909
10910 [BZ #22927]
10911 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
10912 creating the first helper thread failed.
10913
2e96e980
ST
109142018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
10915
10916 * sysdeps/mach/hurd/msync.c: New file.
10917
6e36266c
FW
109182018-11-02 Florian Weimer <fweimer@redhat.com>
10919
10920 * support/shell-container.c (copy_func): Call
10921 support_copy_file_range instead of copy_file_range to support
10922 cross-device copies.
10923
599f7bee
FW
109242018-11-02 Florian Weimer <fweimer@redhat.com>
10925
10926 * support/test-container.c: Include <libc-pointer-arith.h> for
10927 ALIGN_UP.
10928
ff48ea67
ZL
109292018-11-01 Zong Li <zong@andestech.com>
10930
af1d5782
ZL
10931 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
10932 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
10933 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
10934 (__FP_FRAC_SET_8): Add implementation for RV32 use.
10935
ff48ea67
ZL
10936 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
10937 variable to avoid overlap arguments.
10938
daea71c2
JM
109392018-11-01 Joseph Myers <joseph@codesourcery.com>
10940
eac4405a
JM
10941 * posix/bug-regex22.c (main): Use puts with distinct error
10942 messages for unexpected success of re_compile_pattern, not printf
10943 with NULL argument to %s.
10944
6f30e59f
JM
10945 * stdio-common/bug22.c: Include <libc-diag.h>.
10946 (do_test): Disable -Wformat-overflow= warnings around fprintf
10947 calls outputting more than INT_MAX characters.
10948 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
10949 around printf call with NULL %s argument.
10950
daea71c2
JM
10951 [BZ #23848]
10952 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
10953 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
10954 Undefine.
10955 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10956 (__ASSUME_RECVMSG_SYSCALL): Likewise.
10957 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10958 (__ASSUME_SENDTO_SYSCALL): Likewise.
10959 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10960 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
10961 [!__arch64__].
10962 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10963 (__ASSUME_CONNECT_SYSCALL): Likewise.
10964 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10965 (__ASSUME_RECVFROM_SYSCALL): Likewise.
10966 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
10967 Define.
10968 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
10969 Likewise.
10970 [__LINUX_KERNEL_VERSION >= 0x040400]
10971 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10972 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
10973 Remove.
10974 (listen): Likewise.
10975 (setsockopt): Likewise.
10976
8e3c00db
FN
109772018-11-01 Fredrik Noring <noring@nocrew.org>
10978
10979 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
10980 with the ISA override.
10981
ab74d59f 109822018-10-31 Rafael Ávila de Espíndola <rafael@espindo.la>
9c3dbdbe
RAE
10983
10984 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
10985 #endif.
10986
e3a88b3e
ST
109872018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10988
a67377e7 10989 * manual/errno.texi (EIEIO): Document how translators should
e3a88b3e 10990 translate the error message.
a67377e7
ST
10991 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
10992 printing trailing whitespaces refused by git.
10993 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
10994 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fc783076 10995 * hurd/Makefile (user-interfaces): Add pci.
e3a88b3e 10996
3ca235ed
JM
109972018-10-30 Joseph Myers <joseph@codesourcery.com>
10998
10999 * conform/linknamespace.py: New file.
11000 * conform/linknamespace.pl: Remove file.
11001 * conform/Makefile ($(linknamespace-header-tests)): Use
11002 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
11003 option.
11004
60708030
FW
110052018-10-30 Florian Weimer <fweimer@redhat.com>
11006
11007 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
11008 memory leaks.
11009
a91e9301
FW
110102018-10-30 Florian Weimer <fweimer@redhat.com>
11011
11012 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
11013
07da99aa
FW
110142018-10-30 Florian Weimer <fweimer@redhat.com>
11015
11016 * stdlib/tst-strtod-overflow.c (do_test): Switch to
11017 support_blob_repeat.
11018
f5e7e959
FW
110192018-10-30 Florian Weimer <fweimer@redhat.com>
11020
11021 Avoid spurious test failures in stdlib/test-bz22786.
11022 * support/Makefile (libsupport-routines): Add blob_repeat.
11023 (tests): Add tst-support_blob_repeat.
11024 * support/blob_repeat.h: New file.
11025 * support/blob_repeat.c: Likewise.
11026 * support/tst-support_blob_repeat.c: Likewise.
11027 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
11028 support_blob_repeat_allocate.
11029
2dd12baa
AS
110302018-10-30 Andreas Schwab <schwab@suse.de>
11031
11032 [BZ #23125]
11033 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
11034 Don't use tail call.
11035 * elf/tst-unwind-main.c: New file.
11036 * elf/Makefile (tests): Add tst-unwind-main.
11037 (CFLAGS-tst-unwind-main.c): Define.
11038
6b5c8607 110392018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
fec8bb7c
SAA
11040
11041 [BZ #23791]
11042 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
11043 n_cs_precedes to 0.
11044 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
11045
c6982f7e
JM
110462018-10-29 Joseph Myers <joseph@codesourcery.com>
11047
954cf3c2
JM
11048 * conform/glibcconform.py: Do not import shutil.
11049 (list_exported_functions): Use tempfile.TemporaryDirectory instead
11050 of mkdtemp.
11051
c6982f7e
JM
11052 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
11053 critic_missing for versions before 3.4.
11054 * configure: Regenerated.
11055 * manual/install.texi (Tools for Compilation): Document
11056 requirement for Python to build glibc.
11057 * INSTALL: Regenerated.
11058 * Rules [PYTHON]: Make code unconditional.
11059 * benchtests/Makefile [PYTHON]: Likewise.
11060 * conform/Makefile [PYTHON]: Likewise.
11061 * manual/Makefile [PYTHON]: Likewise.
11062 * math/Makefile [PYTHON]: Likewise.
11063
46a7f24c
ST
110642018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11065
11066 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
2d0d1d38 11067 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
b6e7c449 11068 answer to interrupt_operation, return EIEIO instead of EINTR.
5c81be53
ST
11069 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
11070 _hurd_intr_rpc_msg_about_to global point to start of controlled
11071 assembly snippet. Make it check canceled flag.
11072 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
11073 the _hurd_intr_rpc_msg_about_to point.
11074 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
11075 issue, remove cancel flag check.
46a7f24c 11076
e5b8756d
JM
110772018-10-26 Joseph Myers <joseph@codesourcery.com>
11078
11079 * scripts/build-many-glibcs.py: Remove compatibility for missing
11080 os.cpu_count and re.fullmatch.
11081
ba5b14c7
SN
110822018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
11083
11084 [BZ #23822]
11085 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
11086 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
11087 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
11088
fe61f17c
JM
110892018-10-25 Joseph Myers <joseph@codesourcery.com>
11090
11091 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
11092 macro.
11093
7c5e34d7
FW
110942018-10-25 Florian Weimer <fweimer@redhat.com>
11095
11096 [BZ #23562]
11097 [BZ #23821]
11098 XFAIL siginfo_t si_band conform test on sparc64.
11099 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
11100 (__SI_BAND_TYPE): Only override long int default type on sparc64.
11101 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11102 (conformtest-xfail-conds): Add sparc64-linux.
11103 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
11104 sparc64.
11105 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
11106
5b784e88
JM
111072018-10-25 Joseph Myers <joseph@codesourcery.com>
11108
11109 * elf/elf.h (NT_MIPS_DSP): New macro.
11110 (NT_MIPS_FP_MODE): Likewise.
11111
41432ebe
ZL
111122018-10-25 Zong Li <zong@andestech.com>
11113
11114 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
11115 name by adding the file extension (.so).
11116
d026efea
ST
111172018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
11118
11119 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
11120 (test-xfail-ISO11/threads.h/linknamespace,
11121 test-xfail-ISO11/threads.h/conform): Add.
11122
b71ac2b9
JM
111232018-10-24 Joseph Myers <joseph@codesourcery.com>
11124
11125 * math/gen-libm-test.py: Import os.
11126 (ALL_FLOATS_MANUAL): New constant.
11127 (ALL_FLOATS_SUFFIX): Likewise.
11128 (Ulps.all_functions): New function.
11129 (real_all_ulps): Likewise.
11130 (generate_err_table_sub): Likewise.
11131 (generate_err_table): Likewise.
11132 (main): Handle -s and -m options.
11133 * manual/libm-err-tab.pl: Remove.
11134 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
11135 instead of libm-err-tab.pl.
11136 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
11137 != no].
11138 * manual/install.texi (Tools for Compilation): Document
11139 requirement for Python to build manual.
11140 * INSTALL: Regenerated.
11141
6b5c8607 111422018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
d51f99ce
AA
11143
11144 * bits/time64.h: New file.
11145 * include/time.h: Replace internal_time_t with __time64_t.
11146 * posix/bits/types (__time64_t): Add.
11147 * stdlib/Makefile: Add bits/time64.h to includes.
11148 * time/tzfile.c: Replace internal_time_t with __time64_t.
11149
97d91fcc 111502018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2a973ab7
AZ
11151
11152 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
11153 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
11154 __posix_spawn_file_actions_init, __posix_spawnattr_init,
11155 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
11156 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
11157 prototype.
11158 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
11159 * posix/spawn_faction_addclose.c
11160 (__posix_spawn_file_actions_addclose): Add hidden definition.
11161 * posix/spawn_faction_adddup2.c
11162 (__posix_spawn_file_actions_adddup2): Likewise.
11163 * posix/spawn_faction_destroy.c
11164 (__posix_spawn_file_actions_destroy): Likewise.
11165 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
11166 Likewise.
11167 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
11168 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
11169 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
11170 Likewise.
11171 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
11172 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
11173 Likewise.
11174
2954daf0
AS
111752018-10-24 Andreas Schwab <schwab@suse.de>
11176
11177 [BZ #18093]
11178 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
11179 format cache.
11180 * elf/cache.c (print_cache): Likewise.
11181
6b5c8607 111822018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
a27a4f47
AA
11183
11184 * bits/timesize.h: New file.
11185 * stdlib/Makefile (headers): Add bits/timesize.h.
11186 * sysdeps/unix/sysv/linux/bits/msq-pad.h
11187 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
11188 * sysdeps/unix/sysv/linux/bits/sem-pad.h
11189 (__SEM_PAD_AFTER_TIME): Likewise.
11190 * sysdeps/unix/sysv/linux/bits/shm-pad.h
11191 (__SHM_PAD_AFTER_TIME): Likewise.
11192 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
11193 (__MSQ_PAD_BEFORE_TIME): Likewise.
11194 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
11195 (__SEM_PAD_BEFORE_TIME): Likewise.
11196 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
11197 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
11198 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
b39d961c
TS
11199 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
11200 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
11201 (__MSQ_PAD_BEFORE_TIME): Likewise.
a27a4f47
AA
11202 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
11203 (__SEM_PAD_BEFORE_TIME): Likewise.
11204 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
11205 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
11206 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
11207 (__MSQ_PAD_BEFORE_TIME): Likewise.
11208 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
11209 (__SEM_PAD_BEFORE_TIME): Likewise.
11210 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
11211 (__SHM_PAD_BEFORE_TIME): Likewise.
11212 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
11213 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
11214 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
11215
7cc65773
L
112162018-10-24 H.J. Lu <hongjiu.lu@intel.com>
11217
11218 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
11219 USE_RDTSCP is defined.
11220 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
11221 USE_RDTSCP is defined.
11222
c3d8dc45
AZ
112232018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11224
18ad0de6
AZ
11225 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
11226 defined.
11227
c3d8dc45
AZ
11228 [BZ #23709]
11229 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
11230 independently of other flags.
11231
f1034472
FW
112322018-10-23 Florian Weimer <fweimer@redhat.com>
11233
11234 * time/tst-mktime2.c (N_STRINGS): Remove.
11235 (set_timezone): New function.
11236 (spring_forward_gap): Call it. Use FAIL_EXIT1.
11237 (mktime_test1): Report localtime failure and check errno value.
11238 Use TEST_COMPARE.
11239 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
11240 (do_test): Remove alarm call. Use set_timezone and array_length.
11241
367d7cc2
AS
112422018-10-23 Andreas Schwab <schwab@suse.de>
11243
11244 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
11245 (__start_context): Use END instead of PSEUDO_END.
11246
be8ff03f
JM
112472018-10-22 Joseph Myers <joseph@codesourcery.com>
11248
029ad711
JM
11249 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11250 version to 4.19.
11251
8190520f
JM
11252 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11253 version to 4.19.
11254
be8ff03f
JM
11255 [BZ #23793]
11256 * wcsmbs/c32rtomb.c: New file.
11257 * wcsmbs/mbrtoc32.c: Likewise.
11258 * wcsmbs/tst-c32-state.c: Likewise.
11259 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
11260 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
11261 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
11262 (tests): Add tst-c32-state.
11263 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
11264 $(gen-locales).
11265
2dd8e58c
L
112662018-10-21 H.J. Lu <hongjiu.lu@intel.com>
11267
11268 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
11269 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
11270
d0a74159
JM
112712018-10-19 Joseph Myers <joseph@codesourcery.com>
11272
11273 [BZ #23794]
11274 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
11275 pair and return 0 in that case, and use saved character to
11276 interpret following character.
11277 * wcsmbs/tst-c16-surrogate.c: New file.
11278 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
11279 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
11280 Depend on $(gen-locales)
11281
f997b4be
IYM
112822018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
11283
11284 [BZ #23562]
11285 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
11286 (struct siginfo_t): Use correct type for si_band.
11287
53b2bb87
FW
112882018-10-19 Florian Weimer <fweimer@redhat.com>
11289
11290 [BZ #23689]
11291 * resource/bits/types/struct_rusage.h (struct rusage): Update
11292 comment on struct. Remove extraneous field comment.
11293
0a271c8f
DM
112942018-10-18 David S. Miller <davem@davemloft.net>
11295
94a3a27f
DM
11296 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
11297 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
11298 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
11299 sysdep_routines in subdir elf.
11300 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
11301 version for __vdso_clock_gettime.
11302 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
11303 Define.
11304 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
11305 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
11306
0a271c8f
DM
11307 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
11308
72771e53
L
113092018-10-17 H.J. Lu <hongjiu.lu@intel.com>
11310
11311 * sysdeps/i386/init-arch.h: Removed.
11312 * sysdeps/i386/i586/init-arch.h: Likewise.
11313 * sysdeps/i386/i686/init-arch.h: Likewise.
11314 * sysdeps/i386/i686/hp-timing.h: Likewise.
11315 * sysdeps/x86_64/hp-timing.h: Likewise.
11316 * sysdeps/i386/isa.h: New file.
11317 * sysdeps/i386/i586/isa.h: Likewise.
11318 * sysdeps/i386/i686/isa.h: Likewise.
11319 * sysdeps/x86_64/isa.h: Likewise.
11320 * sysdeps/x86/hp-timing.h: New file.
11321 * sysdeps/x86/init-arch.h: Include <isa.h>.
11322
c2b7ccad
JM
113232018-10-17 Joseph Myers <joseph@codesourcery.com>
11324
11325 * math/libm-test-pow.inc (pow_test_data): Do not allow
11326 divide-by-zero exception for pow(+/- 0, -Inf).
11327
26756e57
ZW
113282018-10-17 Zack Weinberg <zackw@panix.com>
11329
11330 * manual/job.texi (Job Control is Optional): Remove node, as
11331 job control has not been optional in quite some time.
11332 (Job Control): Mention briefly that systems older than
11333 POSIX.1-2001 might not support job control.
11334 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
11335 defined on systems conforming to POSIX.1-2001.
11336
c5288d37
AS
113372018-10-17 Arjun Shankar <arjun@redhat.com>
11338
11339 [BZ #22062]
11340 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
11341 indentation.
11342 * (__gconv_read_conf): Mark function static.
11343 * (once): New static variable.
11344 * (__gconv_load_conf): New function.
11345 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
11346 * iconv/gconv_db.c (once): Remove static variable.
11347 * (__gconv_compare_alias): Use __gconv_load_conf instead of
11348 __gconv_read_conf.
11349 * (__gconv_find_transform): Likewise.
11350 * iconv/tst-iconv-mt.c: New test.
11351 * iconv/Makefile: Add tst-iconv_mt.
11352
8c8d2a8a
JM
113532018-10-17 Joseph Myers <joseph@codesourcery.com>
11354
11355 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
729f3402
JM
11356 bits/shm-pad.h.
11357 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
11358 (shmatt_t): Define as __syscall_ulong_t.
11359 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
11360 and [__SHM_PAD_AFTER_TIME].
11361 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
11362 Define shm_segsz and associated padding based on
11363 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
11364 Use __syscall_ulong_t instead of unsigned long int.
11365 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
11366 unsigned long int.
11367 [__USE_MISC] (struct shm_info): Likewise.
11368 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
11369 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
11370 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
11371 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
11372 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
11373 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
11374 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
11375 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
11376 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11377 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11378 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11379
11380 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8c8d2a8a
JM
11381 bits/shmlba.h.
11382 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
11383 (SHMLBA): Remove macro.
11384 (__getpagesize): Remove function declaration.
11385 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
11386 <bits/shmlba.h>.
11387 (SHMLBA): Remove macro.
11388 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
11389 <bits/shmlba.h>.
11390 (SHMLBA): Remove macro.
11391 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
11392 <bits/shmlba.h>.
11393 (SHMLBA): Remove macro.
11394 (__getpagesize): Remove function declaration.
11395 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
11396 <bits/shmlba.h>.
11397 (SHMLBA): Remove macro.
11398 (__getshmlba): Remove function declaration.
11399 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
11400 (SHMLBA): Remove macro.
11401 (__getpagesize): Remove function declaration.
11402 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
11403 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
11404 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11405 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
11406 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
11407 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
11408 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
11409 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
11410 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
11411 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
11412
403b4feb
SL
114132018-10-17 Stefan Liebler <stli@linux.ibm.com>
11414
11415 [BZ #23275]
11416 * nptl/tst-mutex10.c: New File.
11417 * nptl/Makefile (tests): Add tst-mutex10.
11418 (tst-mutex10-ENV): New variable.
11419 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
11420 Ensure that elision path is used if elision is available.
11421 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
11422 Likewise.
11423 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
11424 Likewise.
11425 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
11426 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
11427 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
11428 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
11429 Likewise.
11430 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
11431 (__pthread_mutex_cond_lock_adjust): Likewise.
11432 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
11433 Likewise.
11434 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
11435 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11436 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11437 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
11438 Add comments.
11439 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
11440 Use atomic_load_relaxed and atomic_store_relaxed.
11441 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
11442 Use atomic_store_relaxed.
11443
ce5a7de6
AS
114442018-10-17 Andreas Schwab <schwab@suse.de>
11445
11446 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
11447 * crypt/badsalttest.c (TIMEOUT): Likewise.
11448 * crypt/sha256c-test.c (TIMEOUT): Likewise.
11449 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
11450 * io/test-lfs.c (TIMEOUT): Likewise.
11451 * libio/tst-atime.c (TIMEOUT): Likewise.
11452 * localedata/tst-leaks.c (TIMEOUT): Likewise.
11453 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
11454 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
11455 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
11456 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
11457 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
11458 * nptl/tst-cond11.c (TIMEOUT): Likewise.
11459 * nptl/tst-cond14.c (TIMEOUT): Likewise.
11460 * nptl/tst-cond15.c (TIMEOUT): Likewise.
11461 * nptl/tst-cond24.c (TIMEOUT): Likewise.
11462 * nptl/tst-cond25.c (TIMEOUT): Likewise.
11463 * nptl/tst-kill2.c (TIMEOUT): Likewise.
11464 * nptl/tst-kill3.c (TIMEOUT): Likewise.
11465 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
11466 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
11467 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
11468 * nptl/tst-once2.c (TIMEOUT): Likewise.
11469 * nptl/tst-once3.c (TIMEOUT): Likewise.
11470 * nptl/tst-once4.c (TIMEOUT): Likewise.
11471 * nptl/tst-robust8.c (TIMEOUT): Likewise.
11472 * nptl/tst-robust9.c (TIMEOUT): Likewise.
11473 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
11474 * nptl/tst-sem14.c (TIMEOUT): Likewise.
11475 * nptl/tst-sem6.c (TIMEOUT): Likewise.
11476 * nptl/tst-signal3.c (TIMEOUT): Likewise.
11477 * nptl/tst-spin4.c (TIMEOUT): Likewise.
11478 * nptl/tst-tls3.c (TIMEOUT): Likewise.
11479 * nptl/tst-tls4.c (TIMEOUT): Likewise.
11480 * posix/tst-chmod.c (TIMEOUT): Likewise.
11481 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
11482 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
11483 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
11484 * posix/tst-regex2.c (TIMEOUT): Likewise.
11485 * posix/tst-waitid.c (TIMEOUT): Likewise.
11486 * rt/tst-aio.c (TIMEOUT): Likewise.
11487 * rt/tst-aio10.c (TIMEOUT): Likewise.
11488 * rt/tst-aio4.c (TIMEOUT): Likewise.
11489 * rt/tst-aio5.c (TIMEOUT): Likewise.
11490 * rt/tst-aio6.c (TIMEOUT): Likewise.
11491 * rt/tst-aio64.c (TIMEOUT): Likewise.
11492 * rt/tst-aio7.c (TIMEOUT): Likewise.
11493 * rt/tst-aio9.c (TIMEOUT): Likewise.
11494 * rt/tst-clock.c (TIMEOUT): Likewise.
11495 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
11496 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
11497 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
11498 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
11499 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
11500 * rt/tst-timer4.c (TIMEOUT): Likewise.
11501 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
11502 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
11503 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
11504 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
11505 * time/tst-ftime.c (TIMEOUT): Likewise.
11506 * timezone/tst-tzset.c (TIMEOUT): Likewise.
11507
6b5c8607 115082018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
75c1aee5
AY
11509
11510 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
11511 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
11512 for thunderX2.
11513
bcdb1bfa
JM
115142018-10-15 Joseph Myers <joseph@codesourcery.com>
11515
11516 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11517 bits/sem-pad.h.
11518 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
11519 instead of <bits/wordsize.h>.
11520 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
11521 and [__SEM_PAD_AFTER_TIME].
11522 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
11523 __syscall_ulong_t instead of unsigned long int.
11524 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
11525 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
11526 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
11527 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
11528 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
11529 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
11530 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
11531 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
11532 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11533 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11534 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11535
f4efbdfb
PE
115362018-10-14 Paul Eggert <eggert@cs.ucla.edu>
11537
620a5d4c
PE
11538 regex: simplify by using intprops.h
11539 [BZ#23744]
11540 * posix/regex_internal.h [_LIBC]: Include intprops.h.
11541 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
11542 intprops.h defines them.
11543
f4efbdfb
PE
11544 regex: __builtin_expect → __glibc_unlikely
11545 [BZ#23744]
11546 This refactoring was prompted by a problem when the regex code is
11547 used as part of Gnulib and when the builder’s compiler does not grok
11548 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
11549 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
11550 Although this refactoring does not fix the problem directly,
11551 we might as well have Gawk use the now-preferred glibc style for when
11552 __builtin_expect is unavailable.
11553 * posix/regex_internal.h (BE): Remove.
11554 All uses replaced by __glibc_unlikely or __glibc_likely.
11555
9f9feb6d
JM
115562018-10-11 Joseph Myers <joseph@codesourcery.com>
11557
11558 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11559 bits/msq-pad.h.
11560 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
11561 instead of <bits/wordsize.h>.
11562 (msgqnum_t): Define as __syscall_ulong_t.
11563 (msglen_t): Likewise.
11564 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
11565 and [__MSQ_PAD_AFTER_TIME].
11566 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
11567 __syscall_ulong_t instead of unsigned long int.
11568 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
11569 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
11570 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
11571 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
11572 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
11573 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
11574 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
11575 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
11576 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11577 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11578 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11579
b9c0f6c1
JM
115802018-10-10 Joseph Myers <joseph@codesourcery.com>
11581
2a4b25fa
JM
11582 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
11583 (struct shmid_ds): Condition padding after time fields on
11584 [__WORDSIZE == 32].
11585 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
11586 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
11587 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11588
19e62f26
JM
11589 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
11590 (struct semid_ds): Condition padding after time fields on
11591 [__WORDSIZE == 32].
11592 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
11593 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
11594 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
11595 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11596
b9c0f6c1
JM
11597 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
11598 (struct msqid_ds): Condition padding after time fields on
11599 [__WORDSIZE == 32].
11600 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
11601 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
11602 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
11603 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11604
97785a61
SN
116052018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
11606
11607 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
11608
ed643089
SN
116092018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
11610
11611 * libio/tst-readline.c (TIMEOUT): Define.
11612
5a580643
PE
116132018-10-08 Paul Eggert <eggert@cs.ucla.edu>
11614
11615 mktime fix for Gnulib + coreutils
11616 [BZ#23745]
11617 This fix affects only Gnulib. Problem discovered when
11618 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
11619 * time/mktime.c:
11620 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
11621 Do not define since it is not used. Defining an unused static
11622 function prompts a warning from GCC when Coreutils is configured
11623 with --enable-gcc-warnings.
11624
c892ae04
LS
116252018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11626
11627 * benchtests/scripts/compare_bench.py (main): set float type on
11628 threshold argument.
11629
ab74d59f 116302018-10-08 Rafał Lużyński <digitalfreak@lingonborough.com>
a68ec8ea
RL
11631
11632 [BZ #23740]
11633 * localedata/locales/kl_GL (mon): Update, the relative case.
11634 (alt_mon): Add, fill with month names in the nominative case.
11635 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
11636 (d_fmt): Set to "%b %d %Y".
11637
a1987621
JM
116382018-10-04 Joseph Myers <joseph@codesourcery.com>
11639
47c49251
JM
11640 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
11641 <bits/mman-linux.h>.
11642 (PROT_READ): Don't define here.
11643 (PROT_WRITE): Likewise.
11644 (PROT_EXEC): Likewise.
11645 (PROT_NONE): Likewise.
11646 (PROT_GROWSDOWN): Likewise.
11647 (PROT_GROWSUP): Likewise.
11648 (MAP_SHARED): Likewise.
11649 (MAP_PRIVATE): Likewise.
11650 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
11651 [__USE_MISC] (MAP_FILE): Likewise.
11652 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
11653 [__USE_MISC] (MAP_ANON): Likewise.
11654 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
11655 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
11656 (MCL_CURRENT): Likewise.
11657 (MCL_FUTURE): Likewise.
11658 (MCL_ONFAULT): Likewise.
11659 [__USE_MISC] (MADV_NORMAL): Likewise.
11660 [__USE_MISC] (MADV_RANDOM): Likewise.
11661 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
11662 [__USE_MISC] (MADV_WILLNEED): Likewise.
11663 [__USE_MISC] (MADV_DONTNEED): Likewise.
11664 [__USE_MISC] (MADV_FREE): Likewise.
11665 [__USE_MISC] (MADV_REMOVE): Likewise.
11666 [__USE_MISC] (MADV_DONTFORK): Likewise.
11667 [__USE_MISC] (MADV_DOFORK): Likewise.
11668 [__USE_MISC] (MADV_HWPOISON): Likewise.
11669 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
11670 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
11671 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
11672 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
11673 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
11674 (__MAP_ANONYMOUS): New macro.
11675 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
11676 <bits/mman-linux.h> inclusion.
11677 (MAP_FIXED): Likewise.
11678 (MS_SYNC): Likewise.
11679 (MS_ASYNC): Likewise.
11680 (MS_INVALIDATE): Likewise.
11681 [__USE_MISC] (MADV_MERGEABLE): Likewise.
11682 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
11683 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
11684 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
11685 [__USE_MISC] (MADV_DONTDUMP): Likewise.
11686 [__USE_MISC] (MADV_DODUMP): Likewise.
11687 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
11688 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
11689
a1987621
JM
11690 [BZ #23735]
11691 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
11692 Define.
11693 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
11694 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
11695 Add test-nldbl-redirect.
11696 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
11697 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
11698 $(objpfx)libnldbl_nonshared.a.
11699
e7624d70
SL
117002018-10-04 Stefan Liebler <stli@linux.ibm.com>
11701
11702 * support/support.h (support_objdir_elf_ldso): New variable.
11703 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
11704 * support/Makefile (CFLAGS-support_paths.c): Add definition
11705 for OBJDIR_ELF_LDSO_PATH.
11706 * support/test-container.c (main): Search for the ld.so
11707 which is also used by the testsuite.
11708
ab74d59f 117092018-10-02 Rafał Lużyński <digitalfreak@lingonborough.com>
dae3ed95
RL
11710
11711 [BZ #20209]
11712 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
11713 should be "sap" rather than "sab".
11714 (day): Fix spelling of Sunday, should be "sapaat" rather than
11715 "sabaat".
11716
f346b5b3
JM
117172018-10-02 Joseph Myers <joseph@codesourcery.com>
11718
11719 * math/libm-test-fma.inc (fma_test_data): Add more tests.
11720
4a06ceea
MJ
117212018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
11722
11723 [BZ #19444]
11724 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
11725 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
11726 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
11727
a06fc4a5
AZ
117282018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11729
11730 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
11731
a1ccc065
L
117322018-10-02 H.J. Lu <hongjiu.lu@intel.com>
11733
11734 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
11735 Add -mrtm.
11736 (CFLAGS-elision-unlock.c): Likewise.
11737 (CFLAGS-elision-timed.c): Likewise.
11738 (CFLAGS-elision-trylock.c): Likewise.
11739 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
11740
0b727ed4
AZ
117412018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11742
11743 [BZ #21037]
11744 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
11745 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
11746 new fd_to_filename interface.
11747 * libio/freopen64.c (freopen64): Likewise.
11748 * libio/tst-memstream.h: New file.
11749 * libio/tst-memstream4.c: Likewise.
11750 * libio/tst-wmemstream4.c: Likewise.
11751 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
11752 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
11753 and remove internal dynamic allocation.
11754
d0e91e8c
JM
117552018-10-01 Joseph Myers <joseph@codesourcery.com>
11756
11757 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
11758 (MREMAP_MAYMOVE): Do not define here.
11759 [__USE_GNU] (MREMAP_FIXED): Likewise.
11760 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
11761 (MREMAP_MAYMOVE): Define here instead.
11762 [__USE_GNU] (MREMAP_FIXED): Likewise.
11763 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
11764 (MREMAP_MAYMOVE): Remove.
11765 [__USE_GNU] (MREMAP_FIXED): Likewise.
11766
c52944e8
JM
117672018-09-28 Joseph Myers <joseph@codesourcery.com>
11768
11769 * math/fromfp.h: Do not include <math_private.h>.
11770 * math/s_cacosh_template.c: Likewise.
11771 * math/s_casin_template.c: Likewise.
11772 * math/s_casinh_template.c: Likewise.
11773 * math/s_ccos_template.c: Likewise.
11774 * math/s_cproj_template.c: Likewise.
11775 * math/s_fdim_template.c: Likewise.
11776 * math/s_fmaxmag_template.c: Likewise.
11777 * math/s_fminmag_template.c: Likewise.
11778 * math/s_iseqsig_template.c: Likewise.
11779 * math/s_ldexp_template.c: Likewise.
11780 * math/s_nextdown_template.c: Likewise.
11781 * math/w_log1p_template.c: Likewise.
11782 * math/w_scalbln_template.c: Likewise.
11783 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
11784 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
11785 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
11786 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
11787 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
11788 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
11789 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
11790 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
11791 * sysdeps/i386/fpu/s_atanl.c: Likewise.
11792 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
11793 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
11794 * sysdeps/i386/fpu/s_fdim.c: Likewise.
11795 * sysdeps/i386/fpu/s_logbl.c: Likewise.
11796 * sysdeps/i386/fpu/s_rintl.c: Likewise.
11797 * sysdeps/i386/fpu/s_significandl.c: Likewise.
11798 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
11799 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
11800 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11801 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11802 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
11803 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11804 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
11805 * sysdeps/ieee754/k_standardf.c: Likewise.
11806 * sysdeps/ieee754/k_standardl.c: Likewise.
11807 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11808 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
11809 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
11810 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
11811 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
11812 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
11813 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11814 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11815 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11816 * sysdeps/ieee754/s_signgam.c: Likewise.
11817 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
11818 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
11819 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
11820 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
11821 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
11822 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
11823 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
11824 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
11825 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
11826 * sysdeps/riscv/rvd/s_finite.c: Likewise.
11827 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
11828 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
11829 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
11830 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
11831 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
11832 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
11833 * sysdeps/riscv/rvf/fegetround.c: Likewise.
11834 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
11835 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
11836 * sysdeps/riscv/rvf/fesetround.c: Likewise.
11837 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
11838 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
11839 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
11840 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
11841 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
11842 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
11843 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
11844 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
11845 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
11846 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
11847 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
11848 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
11849 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
11850 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
11851 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
11852 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
11853 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
11854 <math_private.h>.
11855 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
11856
7b1f9406
L
118572018-09-28 H.J. Lu <hongjiu.lu@intel.com>
11858
11859 [BZ #23716]
11860 * sysdeps/i386/dl-cet.c: Removed.
11861 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
11862 prototype.
11863 (_dl_runtime_profile_shstk): Likewise.
11864 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
11865 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
11866
7a16bdbb
AZ
118672018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11868
11869 [BZ #23579]
11870 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
11871 do_test_with_invalid_iov): New tests.
11872 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
11873 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
11874 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
11875 errno is ENOSYS.
11876 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
11877 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
11878 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
11879
9755bc46
JM
118802018-09-27 Joseph Myers <joseph@codesourcery.com>
11881
81dca813
JM
11882 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11883 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
11884 (MATH_REDIRECT_BINARY_ARGS): New macro.
11885 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
11886 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
11887 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
11888 header inclusion.
11889 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
11890 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11891 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
11892 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11893 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11894 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11895 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
11897 Likewise.
11898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
11899 Likewise.
11900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
11901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
11902 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
11903 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
11904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
11905 Likewise.
11906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
11907 Likewise.
11908 * sysdeps/generic/math_private_calls.h
11909 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
11910 Do not declare and define as an inline function.
11911 * math/divtc3.c (__divtc3): Use copysign functions instead of
11912 __copysign variants.
11913 * math/multc3.c (__multc3): Likewise.
11914 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
11915 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
11916 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11917 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
11918 Likewise.
11919 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11920 (__ieee754_yn): Likewise.
11921 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11922 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
11923 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11924 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11925 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
11926 (__sin): Likewise.
11927 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
11928 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
11929 Likewise.
11930 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
11931 Likewise.
11932 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
11933 Likewise.
11934 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11935 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11936 Likewise.
11937 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11938 (__ieee754_ynf): Likewise.
11939 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
11940 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
11941 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
11942 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11943 Likewise.
11944 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11945 (__ieee754_ynl): Likewise.
11946 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
11947 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
11948 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11949 Likewise.
11950 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11951 (__ieee754_ynl): Likewise.
11952 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
11953 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11954 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11955 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11956 Likewise.
11957 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11958 (__ieee754_ynl)
11959 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
11960 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
11961 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
11962 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
11963 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11964
9755bc46
JM
11965 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11966 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
11967 using MATH_REDIRECT.
11968 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
11969 header inclusion.
11970 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
11971 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11972 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11973 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
11974 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11975 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11976 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
11978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
11979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
11980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
11981 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
11982 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
11983 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11984 (round): Redirect to __round.
11985 (__roundl): Call round instead of __round.
11986 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
11987 Remove macro.
11988 [_ARCH_PWR5X] (__roundf): Likewise.
11989 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
11990 functions instead of __round variants.
11991 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
11992 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
11993 Likewise.
11994 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
11995 Likewise.
11996 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
11997 Likewise.
11998 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
11999 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
12000 __lroundl.
12001 (__ieee754_expl): Call roundl instead of __roundl.
12002
f841c97e
AS
120032018-09-27 Andreas Schwab <schwab@suse.de>
12004
12005 [BZ #23717]
12006 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
12007 (do_test): Make st1 static.
12008
6ca8284e
AS
120092018-09-26 Andreas Schwab <schwab@suse.de>
12010
12011 [BZ #23707]
12012 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
12013 * elf/Makefile (tests): Add tst-unwind-ctor.
12014 (modules-names): Add tst-unwind-ctor-lib.
12015 ($(objpfx)tst-unwind-ctor): Depend on
12016 $(objpfx)tst-unwind-ctor-lib.so.
12017
61d8b5fe
JM
120182018-09-26 Joseph Myers <joseph@codesourcery.com>
12019
12020 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
12021 file. Most contents moved from ....
12022 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
12023 and include <bits/mman-map-flags-generic.h>.
12024 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12025 (sysdep_headers): Add bits/mman-map-flags-generic.h.
12026 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
12027 <bits/mman-map-flags-generic.h>.
12028 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
12029 macros defined in <bits/mman-map-flags-generic.h>.
12030 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
12031 <bits/mman-map-flags-generic.h>.
12032 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
12033 defined in <bits/mman-map-flags-generic.h>.
12034
46341286
AS
120352018-09-26 Andreas Schwab <schwab@suse.de>
12036
12037 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
12038 output.
12039
b5c45e83
AZ
120402018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
12041 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12042 Fangrui Song <maskray@google.com>
12043
12044 [BZ #20480]
12045 * config.make.in (have-textrel_ifunc): New define.
12046 * configure.ac: Add check if linker supports textrel relocation with
12047 ifunc.
12048 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
12049 tst-ifunc-textrel.
12050 (CFLAGS-tst-ifunc-textrel.c): New rule.
12051 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
12052 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
12053 * elf/tst-ifunc-textrel.c: New file.
12054
8ea4d2b7
JM
120552018-09-25 Joseph Myers <joseph@codesourcery.com>
12056
d62f9ec0
JM
12057 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
12058 <bits/procfs-prregset.h>.
12059 (prgregset_t): Define using __prgregset_t.
12060 (prfpregset_t): Define using __prfpregset_t.
12061 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12062 (sysdep_headers): Add bits/procfs-prregset.h.
12063 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
12064 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
12065 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
12066 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
12067
d0d8eb43
JM
12068 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
12069 <bits/procfs-id.h> and <bits/procfs-extra.h>.
12070 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
12071 pr_uid and pr_gid.
12072 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12073 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
12074 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
12075 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
12076 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
12077 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
12078 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
12079 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
12080 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
12081 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
12082 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
12083 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
12084 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
12085 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
12086 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
12087 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
12088 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
12089 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
12090 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
12091 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
12092 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
12093 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
12094 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12095 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
12096
8ea4d2b7
JM
12097 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
12098 AArch64 version. Include <bits/procfs.h>.
12099 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12100 (sysdep_headers): Add bits/procfs.h.
12101 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
12102 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
12103 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
12104 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
12105 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
12106 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
12107 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
12108 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
12109 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
12110 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
12111 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
12112 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
12113 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
12114 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
12115 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
12116 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12117 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
12118
c7027166
AZ
121192018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12120
12121 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
12122 Use libsupport.
12123
335a3b0a
AS
121242018-09-25 Arjun Shankar <arjun@redhat.com>
12125
12126 * iconv/gconv_int.h (__gconv_path_elem): Remove.
12127 (__gconv_max_path_elem_len): Likewise.
12128 (__gconv_nmodules): Likewise.
12129 (__gconv_get_path): Likewise.
12130 (path_elem): Move to ...
12131 * iconv/gconv_conf.c: ... here.
12132 (__gconv_get_path): Mark function static.
12133 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
12134 * iconv/gconv_open.c: ... here.
12135
462d348c
AS
121362018-09-24 Andreas Schwab <schwab@suse.de>
12137
12138 * scripts/haveversions.awk: New file.
12139 * Makerules ($(common-objpfx)Versions.def)
12140 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
12141 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
12142 Move rules ...
12143 * Makeconfig ($(common-objpfx)Versions.def)
12144 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
12145 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
12146 ... here.
12147 ($(common-objpfx)Versions.mk): New rule. Include it.
12148 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
12149 Emit error if build-obsolete-nsl = yes.
12150 * manual/install.texi (Configuring and compiling): Describe
12151 --enable-obsolete-nsl as unavaiable after version 2.28.
12152 * INSTALL: Regenerate.
12153
f0458cf4
AZ
121542018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12155
12156 * NEWS: Add note about new TLE support on powerpc64le.
12157 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
12158 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
12159 __ununsed1.
12160 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
12161 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
12162 * sysdeps/powerpc/powerpc32/sysdep.h,
12163 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
12164 ABORT_TRANSACTION): Remove macros.
12165 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
12166 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
12167 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
12168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
12169 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12170 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
12171 usage.
12172 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
12173
ab74d59f 121742018-09-21 Rafał Lużyński <digitalfreak@lingonborough.com>
434d45fd
RL
12175
12176 [BZ #10425]
12177 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
12178 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
12179 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
12180 which is the same as in it_IT.
12181 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
12182 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
12183
d90c9b1a
JM
121842018-09-20 Joseph Myers <joseph@codesourcery.com>
12185
7abf97be
JM
12186 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12187 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
12188 using MATH_REDIRECT.
12189 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
12190 header inclusion.
12191 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
12192 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12193 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
12194 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
12195 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12196 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
12198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
12199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
12200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
12201 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12202 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12203 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
12204 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
12205 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
12206 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
12207 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
12208 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12209 (ceil): Redirect to __ceil.
12210 (floor): Redirect to __floor.
12211 (trunc): Redirect to __trunc.
12212 (__truncl): Call trunc instead of __trunc.
12213 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
12214 Remove macro.
12215 [_ARCH_PWR5X] (__truncf): Likewise.
12216 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
12217 trunc functions instead of __trunc variants.
12218 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12219 Likewise.
12220 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12221 Likewise.
12222 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12223 Likewise.
12224 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12225 Likewise.
12226
d90c9b1a
JM
12227 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
12228 [__i586__ || __pentium__].
12229 [__i486__]: Handle explicitly.
12230 (HAS_CPUID): Define to 1 if above macros are undefined.
12231 (HAS_I586): Likewise.
12232 (HAS_I686): Likewise.
12233
db9a8ad4
FW
122342018-09-20 Florian Weimer <fweimer@redhat.com>
12235
12236 * misc/tst-gethostid.c: New file.
12237 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
12238 (tst-gethostid): Link with -ldl.
12239
1214ba06
MY
122402018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
12241
12242 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
12243 value from gethostbyname_r.
12244
791b350d
CD
122452018-09-19 Carlos O'Donell <carlos@redhat.com>
12246
12247 * stdlib/tst-setcontext9.c (f1): Rename to...
12248 (f1a): ... this.
12249 (f1b): New function implementing lower half of f1 in alternate stack.
12250
8e6fd2bd
PE
122512018-09-19 Paul Eggert <eggert@cs.ucla.edu>
12252
e1080e7e
PE
12253 Fix mktime localtime offset confusion
12254 [BZ #23603]
12255 * include/time.h (__mktime_internal): The localtime offset is now
12256 of type long int instead of time_t. This is the longstanding type
12257 in glibc, and it is more than enough to represent difference
12258 between localtime and gmtime even if it is 32 bits and time_t is
12259 64. Changing it now will let us avoid an unnecessary change when
12260 time_t is widened to 64 bits on 32-bit platforms.
12261 * time/mktime-internal.h (mktime_offset_t): Now long int.
12262
8e6fd2bd
PE
12263 Merge mktime, timegm from upstream Gnulib
12264 [BZ #23603][BZ #16346]
12265 This fixes some obscure problems with integer overflow.
12266 Although it looks scary, it is almost all a byte-for-byte copy
12267 from Gnulib, and the Gnulib code has been tested reasonably well.
12268 * include/intprops.h: New file, copied from Gnulib.
12269 * include/verify.h, time/mktime-internal.h:
12270 New tiny files, simplified from Gnulib.
12271 * time/mktime.c: Copy from Gnulib. This has the following changes:
12272 Do not include config.h if DEBUG_MKTIME is nonzero.
12273 Include stdbool.h, intprops.h, verify.h.
12274 Include string.h only if needed.
12275 Include stdlib.h on MS-Windows.
12276 Include mktime-internal.h.
12277 (DEBUG_MKTIME): Default to 0, and simplify later uses.
12278 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
12279 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
12280 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
12281 simplify later conditionals; default the others to zero. Use
12282 these conditionals to express only the code needed on the current
12283 platform. In uses of these conditionals, explicitly spell out how
12284 _LIBC affects things, so it’s easier to review from a glibc
12285 viewpoint.
12286 (WRAPV): Remove; no longer needed now that we have
12287 systematic overflow checking.
12288 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
12289 compartmentalize tzset issues. Move system-dependent tzsettish
12290 code here from mktime.
12291 (verify): Remove; now done by verify.h. All uses changed.
12292 (long_int): Use a more-conservative definition, to avoid
12293 integer overflow.
12294 (SHR): Remove, replacing with ...
12295 (shr): New function, which means we needn’t worry about side
12296 effects in args, and conversion analysis is simpler.
12297 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
12298 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
12299 (time_t_avg, time_t_add_ok): Remove.
12300 (mktime_min, mktime_max): New constants.
12301 (leapyear, isdst_differ): Use bool for booleans.
12302 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
12303 Use long_int, not time_t, for mktime differences.
12304 (long_int_avg): New function, replacing time_t_avg.
12305 INT_ADD_WRAPV replaces time_t_add_ok.
12306 (guess_time_tm): 6th arg is now long_int, not time_t const *.
12307 All uses changed.
12308 (convert_time): New function.
12309 (ranged_convert): Use it.
12310 (__mktime_internal): Last arg now points to mktime_offset_t, not
12311 time_t. All uses changed. This is a no-op on glibc, where
12312 mktime_offset_t is always time_t. Use int, not time_t, for UTC
12313 offset guess. Directly check for integer overflow instead of
12314 using a heuristic that works only 99.9...% of the time.
12315 Access *OFFSET only once, to avoid an unlikely race if the
12316 compiler delays a load and if this cascades into a signed integer
12317 overflow.
12318 (mktime): Move tzsettish code to my_tzset, and move
12319 localtime_offset to within mktime so that it doesn’t
12320 need a separate ifdef.
12321 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
12322 instead of localtime.
12323 * time/timegm.c: Copy from Gnulib. This has the following changes:
12324 Include mktime-internal.h.
12325 [!_LIBC]: Include config.h and time.h. Do not include
12326 timegm.h or time_r.h. Make __mktime_internal a macro,
12327 and include mktime-internal.h to get its declaration.
12328 (timegm): Temporary is now mktime_offset_t, not time_t.
12329 This affects only Gnulib.
12330
83a552b0
WD
123312018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
12332
12333 [BZ #23637]
12334 * string/test-strstr.c (pr23637): New function.
12335 (test_main): Add tests with longer needles.
12336 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
12337 * string/strstr.c (AVAILABLE): Likewise.
12338
d7347278
SN
123392018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
12340
12341 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
12342
424c4f60
SN
123432018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
12344
12345 * NEWS: Mention pow improvements.
12346 * math/Makefile (type-double-routines): Add e_pow_log_data.
12347 * sysdeps/generic/math_private.h (__exp1): Remove.
12348 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
12349 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
12350 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
12351 contraction.
12352 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
12353 (exp_inline): Remove.
12354 (__ieee754_exp): Only single double input is handled.
12355 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
12356 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
12357 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
12358 (__pow_log_data): Define.
12359 * sysdeps/ieee754/dbl-64/upow.h: Remove.
12360 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
12361 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
12362 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
12363 contraction.
12364 (CFLAGS-e_pow-fma4.c): Likewise.
12365
e4e4fde5
PE
123662018-09-18 Paul Eggert <eggert@cs.ucla.edu>
12367
dab9c348
PE
12368 Simplify tzfile fstat failure code
12369 [BZ #21716]
12370 * time/tzfile.c (__tzfile_read): Simplify slightly.
12371
e4e4fde5
PE
12372 Fix tzfile low-memory assertion failure
12373 [BZ #21716]
12374 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
12375 when registering time zone abbreviations.
12376
50bc59ca
JM
123772018-09-18 Joseph Myers <joseph@codesourcery.com>
12378
d3a43e49
JM
12379 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
12380 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
12381 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
12382 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
12383 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
12384 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
12385 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
12386 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12387 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12388
50bc59ca
JM
12389 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
12390 __ceil.
12391 (__ceill): Call ceil instead of __ceil.
12392 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
12393 __floor.
12394 (__floorl): Call floor instead of __floor.
12395
89983cb3
JM
123962018-09-17 Joseph Myers <joseph@codesourcery.com>
12397
71223ef9
JM
12398 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12399 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
12400 using MATH_REDIRECT.
12401 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
12402 header inclusion.
12403 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
12404 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12405 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12406 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
12407 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12408 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12409 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12410 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
12411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
12412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
12413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
12414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
12415 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12416 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12417 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
12418 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
12419 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
12420 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
12421 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
12422 Remove macro.
12423 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
12424 functions instead of __ceil variants.
12425 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12426 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
12427 Likewise.
12428 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
12429 Likewise.
12430 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
12431 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
12432 Likewise.
12433 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12434 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12435
89983cb3
JM
12436 [BZ #21286]
12437 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
12438 constant.
12439 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
12440 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
12441 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
12442 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
12443 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
12444 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
12445 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
12446 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
12447 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
12448 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
12449 (ILL_BADIADDR): Remove constant.
12450 (TRAP_BRANCH): Likewise.
12451 (TRAP_HWBKPT): Likewise.
12452
e44acb20
JM
124532018-09-14 Joseph Myers <joseph@codesourcery.com>
12454
3f7f1d18
JM
12455 [BZ #23656]
12456 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
12457 Remove [_MIPS_SIM = _ABIN32] conditional case.
12458 (struct elf_prpsinfo): Likewise.
12459
d59f3e5e
JM
12460 [BZ #23649]
12461 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
12462 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
12463 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
12464 Likewise.
12465 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
12466 elf_prpsinfo): Likewise.
12467 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
12468 elf_prpsinfo): Likewise.
12469 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
12470 Likewise.
12471
f29b6f17
JM
12472 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12473 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
12474 using MATH_REDIRECT.
12475 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
12476 header inclusion.
12477 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
12478 * sysdeps/alpha/fpu/s_rint.c: Likewise.
12479 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
12480 * sysdeps/i386/fpu/s_rintl.c: Likewise.
12481 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12482 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12483 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
12484 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12485 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12486 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12487 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
12488 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
12489 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
12490 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
12491 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
12492 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
12493 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12494 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
12495 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
12496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
12497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
12498 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
12499 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
12500 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
12501 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
12502 * sysdeps/x86_64/fpu/math_private.h: Remove file.
12503 * math/e_scalb.c (invalid_fn): Use rint functions instead of
12504 __rint variants.
12505 * math/e_scalbf.c (invalid_fn): Likewise.
12506 * math/e_scalbl.c (invalid_fn): Likewise.
12507 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12508 Likewise.
12509 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12510 Likewise.
12511 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
12512 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
12513 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12514 Likewise.
12515 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12516 Likewise.
12517 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12518 Likewise.
12519 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
12520 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
12521
e44acb20
JM
12522 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12523 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
12524 New macro.
12525 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12526 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
12527 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12528 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
12529 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12530 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
12531 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12532 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
12533 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12534 && !NO_MATH_REDIRECT] (floor): Likewise.
12535 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
12536 header inclusion.
12537 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
12538 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12539 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12540 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
12541 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12542 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12543 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12544 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
12545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
12546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
12547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
12548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
12549 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12550 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12551 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
12552 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
12553 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
12554 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
12555 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
12556 Remove macro.
12557 [_ARCH_PWR5X] (__floorf): Likewise.
12558 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
12559 inline function.
12560 [__SSE4_1__] (__floorf): Likewise.
12561 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
12562 instead of __floor variants.
12563 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
12564 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
12565 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
12566 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
12567 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
12568 * math/w_tgamma_compat.c (__tgamma): Likewise.
12569 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
12570 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
12571 * math/w_tgammal_compat.c (__tgammal): Likewise.
12572 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
12573 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12574 Likewise.
12575 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
12576 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
12577 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
12578 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12579 Likewise.
12580 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12581 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
12582 Likewise.
12583 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
12584 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
12585 Likewise.
12586 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12587 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
12588 Likewise.
12589 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12590 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
12591 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
12592 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
12593 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12594 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12595
221e4bab
JM
125962018-09-12 Joseph Myers <joseph@codesourcery.com>
12597
12598 * elf/Makefile (modules-names-tests): New variable.
12599
3e08ff54
SN
126002018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
12601
12602 * NEWS: Mention log2 improvements.
12603 * math/Makefile (type-double-routines): Add e_log2_data.
12604 * sysdeps/i386/fpu/e_log2_data.c: New file.
12605 * sysdeps/ia64/fpu/e_log2_data.c: New file.
12606 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
12607 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
12608 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
12609 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
12610 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
12611
f41b0a43
SN
126122018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
12613
12614 * NEWS: Mention log improvement.
12615 * math/Makefile (type-double-routines): Add e_log_data.
12616 * sysdeps/i386/fpu/e_log_data.c: New file.
12617 * sysdeps/ia64/fpu/e_log_data.c: New file.
12618 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
12619 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
12620 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
12621 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
12622 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
12623 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
12624
5a274db4
L
126252018-09-12 H.J. Lu <hongjiu.lu@intel.com>
12626 Xuepeng Guo <xuepeng.guo@intel.com>
12627
12628 [BZ #23606]
12629 * sysdeps/i386/start.S: Include <sysdep.h>
12630 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
12631 enabled. Add cfi_undefined (eip).
12632
b1176270
JM
126332018-09-11 Joseph Myers <joseph@codesourcery.com>
12634
4e7fbdd7
JM
12635 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
12636 (MOVQ): Likewise.
12637 (EXTRACT_WORDS64): Likewise.
12638 (INSERT_WORDS64): Likewise.
12639 (GET_FLOAT_WORD): Likewise.
12640 (SET_FLOAT_WORD): Likewise.
12641
b1176270
JM
12642 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
12643 argument.
12644 (Config.build_gcc): Use --disable-libsanitizer for first GCC
12645 build, but not for second build if --full-gcc. Use
12646 --enable-languages=all for second build if --full-gcc.
12647 (get_parser): Add --full-gcc option.
12648 (main): Update call to Context.
12649
ab74d59f 126502018-09-10 Rafał Lużyński <digitalfreak@lingonborough.com>
527f355e
RL
12651
12652 [BZ #10797]
12653 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
12654 Single Quotation Mark).
12655 (thousands_sep): Likewise.
12656 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
12657 * localedata/locales/it_IT (thousands_sep): Use ".".
12658 (grouping): Use "3;3".
12659
7244f13d
JM
126602018-09-10 Joseph Myers <joseph@codesourcery.com>
12661
12662 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
12663 x86_64 and i686 configs using --enable-obsolete-rpc
12664 --enable-obsolete-nsl.
12665
38245425
SL
126662018-09-06 Stefan Liebler <stli@linux.ibm.com>
12667
12668 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12669
28669f86
SL
126702018-09-06 Stefan Liebler <stli@linux.ibm.com>
12671
12672 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
12673 Increment size of new_argv by one.
12674
ab74d59f 126752018-09-05 Rafał Lużyński <digitalfreak@lingonborough.com>
a33650d1
RL
12676
12677 [BZ #17426]
12678 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
12679 * localedata/locales/ar_IN (d_fmt): Likewise.
12680 * localedata/locales/bhb_IN (d_fmt): Likewise.
12681 * localedata/locales/bho_IN (d_fmt): Likewise.
12682 * localedata/locales/bn_BD (d_fmt): Likewise.
12683 * localedata/locales/bn_IN (d_fmt): Likewise.
12684 * localedata/locales/doi_IN (d_fmt): Likewise.
12685 * localedata/locales/gu_IN (d_fmt): Likewise.
12686 * localedata/locales/hi_IN (d_fmt): Likewise.
12687 * localedata/locales/hne_IN (d_fmt): Likewise.
12688 * localedata/locales/kn_IN (d_fmt): Likewise.
12689 * localedata/locales/mag_IN (d_fmt): Likewise.
12690 * localedata/locales/mai_IN (d_fmt): Likewise.
12691 * localedata/locales/mjw_IN (d_fmt): Likewise.
12692 * localedata/locales/ml_IN (d_fmt): Likewise.
12693 * localedata/locales/mni_IN (d_fmt): Likewise.
12694 * localedata/locales/mr_IN (d_fmt): Likewise.
12695 * localedata/locales/pa_IN (d_fmt): Likewise.
12696 * localedata/locales/raj_IN (d_fmt): Likewise.
12697 * localedata/locales/sat_IN (d_fmt): Likewise.
12698 * localedata/locales/sd_IN (d_fmt): Likewise.
12699 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
12700 * localedata/locales/ta_IN (d_fmt): Likewise.
12701 * localedata/locales/ta_LK (d_fmt): Likewise.
12702 * localedata/locales/tcy_IN (d_fmt): Likewise.
12703 * localedata/locales/ur_IN (d_fmt): Likewise.
12704
12705 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
12706 * localedata/locales/ks_IN (d_fmt): Likewise.
12707 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
12708
12709 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
12710 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
12711 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
12712 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
12713
d114e6a7
SN
127142018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
12715
12716 * NEWS: Mention exp and exp2 improvements.
12717 * math/Makefile (libm-support): Remove t_exp.
12718 (type-double-routines): Add math_err and e_exp_data.
12719 * sysdeps/aarch64/libm-test-ulps: Update.
12720 * sysdeps/arm/libm-test-ulps: Update.
12721 * sysdeps/i386/fpu/e_exp_data.c: New file.
12722 * sysdeps/i386/fpu/math_err.c: New file.
12723 * sysdeps/i386/fpu/t_exp.c: Remove.
12724 * sysdeps/ia64/fpu/e_exp_data.c: New file.
12725 * sysdeps/ia64/fpu/math_err.c: New file.
12726 * sysdeps/ia64/fpu/t_exp.c: Remove.
12727 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
12728 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
12729 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
12730 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
12731 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
12732 * sysdeps/ieee754/dbl-64/math_config.h: New file.
12733 * sysdeps/ieee754/dbl-64/math_err.c: New file.
12734 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
12735 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
12736 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
12737 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
12738 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
12739 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
12740 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
12741 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12742 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12743
b9d8c474
JM
127442018-09-05 Joseph Myers <joseph@codesourcery.com>
12745
b7cdc2ae
JM
12746 * sysdeps/alpha/fpu/math_private.h: Remove.
12747
b9d8c474
JM
12748 * sysdeps/generic/math_private.h
12749 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
12750 Move this inline function ....
12751 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
12752 * include/math.h [!_ISOMAC]: To here....
12753
418d99e6
JM
127542018-09-04 Joseph Myers <joseph@codesourcery.com>
12755
12756 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
12757 code ....
12758 [!FE_HAVE_ROUNDING_MODES]: And this code ....
12759 * include/fenv.h [!_ISOMAC]: ... to here.
12760 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
12761 (feraiseexcept): Likewise.
12762 * math/fromfp.h: Do not include <fenv_private.h>.
12763 * math/s_cexp_template.c: Likewise.
12764 * math/s_csin_template.c: Likewise.
12765 * math/s_csinh_template.c: Likewise.
12766 * math/s_ctan_template.c: Likewise.
12767 * math/s_ctanh_template.c: Likewise.
12768 * math/s_iseqsig_template.c: Likewise.
12769 * math/w_acos_compat.c: Likewise.
12770 * math/w_acosf_compat.c: Likewise.
12771 * math/w_acosl_compat.c: Likewise.
12772 * math/w_asin_compat.c: Likewise.
12773 * math/w_asinf_compat.c: Likewise.
12774 * math/w_asinl_compat.c: Likewise.
12775 * math/w_j0_compat.c: Likewise.
12776 * math/w_j0f_compat.c: Likewise.
12777 * math/w_j0l_compat.c: Likewise.
12778 * math/w_j1_compat.c: Likewise.
12779 * math/w_j1f_compat.c: Likewise.
12780 * math/w_j1l_compat.c: Likewise.
12781 * math/w_jn_compat.c: Likewise.
12782 * math/w_jnf_compat.c: Likewise.
12783 * math/w_log10_compat.c: Likewise.
12784 * math/w_log10f_compat.c: Likewise.
12785 * math/w_log10l_compat.c: Likewise.
12786 * math/w_log2_compat.c: Likewise.
12787 * math/w_log2f_compat.c: Likewise.
12788 * math/w_log2l_compat.c: Likewise.
12789 * math/w_log_compat.c: Likewise.
12790 * math/w_logf_compat.c: Likewise.
12791 * math/w_logl_compat.c: Likewise.
12792 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12793 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12794 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12795 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12796 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12797 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12798 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12799 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12800 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12801 * sysdeps/ieee754/k_standardl.c: Likewise.
12802 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12803 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12804 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12805 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12806 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12807 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12808 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12809 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12810 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12811 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12812 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12813 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12814 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12815 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
12816 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
12817 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
12818 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
12819 * math/w_ilogb_template.c: Include <fenv.h> instead of
12820 <fenv_private.h>.
12821 * math/w_llogb_template.c: Likewise.
12822 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12823 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12824
70e2ba33
JM
128252018-09-03 Joseph Myers <joseph@codesourcery.com>
12826
12827 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
12828 * math/fromfp.h: Include <fenv_private.h>.
12829 * math/math-narrow.h: Likewise.
12830 * math/s_cexp_template.c: Likewise.
12831 * math/s_csin_template.c: Likewise.
12832 * math/s_csinh_template.c: Likewise.
12833 * math/s_ctan_template.c: Likewise.
12834 * math/s_ctanh_template.c: Likewise.
12835 * math/s_iseqsig_template.c: Likewise.
12836 * math/w_acos_compat.c: Likewise.
12837 * math/w_acosf_compat.c: Likewise.
12838 * math/w_acosl_compat.c: Likewise.
12839 * math/w_asin_compat.c: Likewise.
12840 * math/w_asinf_compat.c: Likewise.
12841 * math/w_asinl_compat.c: Likewise.
12842 * math/w_ilogb_template.c: Likewise.
12843 * math/w_j0_compat.c: Likewise.
12844 * math/w_j0f_compat.c: Likewise.
12845 * math/w_j0l_compat.c: Likewise.
12846 * math/w_j1_compat.c: Likewise.
12847 * math/w_j1f_compat.c: Likewise.
12848 * math/w_j1l_compat.c: Likewise.
12849 * math/w_jn_compat.c: Likewise.
12850 * math/w_jnf_compat.c: Likewise.
12851 * math/w_llogb_template.c: Likewise.
12852 * math/w_log10_compat.c: Likewise.
12853 * math/w_log10f_compat.c: Likewise.
12854 * math/w_log10l_compat.c: Likewise.
12855 * math/w_log2_compat.c: Likewise.
12856 * math/w_log2f_compat.c: Likewise.
12857 * math/w_log2l_compat.c: Likewise.
12858 * math/w_log_compat.c: Likewise.
12859 * math/w_logf_compat.c: Likewise.
12860 * math/w_logl_compat.c: Likewise.
12861 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
12862 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
12863 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
12864 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
12865 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12866 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12867 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12868 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12869 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12870 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12871 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12872 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12873 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
12874 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
12875 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12876 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12877 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12878 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12879 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12880 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12881 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12882 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12883 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12884 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12885 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12886 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12887 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12888 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
12889 * sysdeps/ieee754/float128/float128_private.h: Likewise.
12890 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12891 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12892 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12893 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12894 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12895 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12896 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12897 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12898 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12899 * sysdeps/ieee754/k_standardl.c: Likewise.
12900 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12901 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12902 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12903 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12904 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
12905 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
12906 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12907 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12908 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12909 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12910 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12911 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12912 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12913 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12914 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12915 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
12916 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12917 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
12918 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12919 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12920 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12921 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12922 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12923 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12924 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12925 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12926 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12927 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
12928 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
12929 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12930 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12931 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
12932 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
12933 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
12934 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
12935 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12936 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12937 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12938 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12939 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12940 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
12941 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12942 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
12943 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12944 * sysdeps/riscv/rvd/s_finite.c: Likewise.
12945 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
12946 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
12947 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
12948 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
12949 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
12950 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
12951 * sysdeps/riscv/rvf/fegetround.c: Likewise.
12952 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
12953 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
12954 * sysdeps/riscv/rvf/fesetround.c: Likewise.
12955 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
12956 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
12957 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
12958 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12959 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
12960 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12961 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
12962 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
12963 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
12964 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
12965 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
12966 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
12967 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
12968 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
12969 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12970 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12971
a6e8926f
PP
129722018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12973
12974 [BZ #20271]
12975 * include/stdio.h (__libc_fatal): Mention newline in comment.
12976 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
12977 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
12978 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12979 * nss/nsswitch.c (__nss_next2): Likewise.
12980 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
12981 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
12982 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
12983 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
12984 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
12985 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
12986 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
12987 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
12988 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
12989 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
12990 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
12991 * sysdeps/unix/sysv/linux/netlink_assert_response.c
12992 (__netlink_assert_response): Likewise.
12993
2bbd06bc
JM
129942018-08-31 Joseph Myers <joseph@codesourcery.com>
12995
12996 * conform/glibcconform.py: New file.
12997 * conform/list-header-symbols.py: Likewise.
12998 * conform/list-header-symbols.pl: Remove.
12999 * conform/Makefile (tests-special): Only add linknamespace tests
13000 if [PYTHON].
13001 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
13002
81b9d87b
L
130032018-08-31 H.J. Lu <hongjiu.lu@intel.com>
13004
13005 [BZ #23597]
13006 * support/Makefile (libsupport-routines): Add
13007 support_copy_file_range and xcopy_file_range.
13008 * support/support.h: Include <sys/types.h>.
13009 (support_copy_file_range): New prototype.
13010 * support/support_copy_file_range.c: New file. Copied and
13011 modified from io/copy_file_range-compat.c.
13012 * support/test-container.c (copy_one_file): Call xcopy_file_rang
13013 instead of copy_file_range.
13014 * support/xcopy_file_range.c: New file.
13015 * support/xunistd.h (xcopy_file_range): New prototype.
13016
d330f31a
CD
130172018-08-30 Carlos O'Donell <carlos@redhat.com>
13018
13019 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
13020 xpthread_create and xpthread_join.
13021
2bda273a
FW
130222018-08-30 Florian Weimer <fweimer@redhat.com>
13023
13024 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
13025
3bad2358
SL
130262018-08-30 Stefan Liebler <stli@linux.ibm.com>
13027
13028 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
13029 if malloc fails.
13030
09c12efc
JM
130312018-08-29 Joseph Myers <joseph@codesourcery.com>
13032
13033 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
13034 and minus_oflow as non-finite.
13035
ff6b2450
JM
130362018-08-28 Joseph Myers <joseph@codesourcery.com>
13037
13038 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
13039 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
13040 moved to fenv_private.h except for ...
13041 (TOINT_INTRINSICS): Kept in math_private.h.
13042 (roundtoint): Likewise.
13043 (converttoint): Likewise.
13044 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
13045 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13046 * sysdeps/arm/math_private.h: Remove.
13047 * sysdeps/generic/fenv_private.h: New file. Contents moved from
13048 ....
13049 * sysdeps/generic/math_private.h: ... this file. Include
13050 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
13051 Include <fenv_private.h>. Remove functions and macros moved to
13052 fenv_private.h.
13053 * sysdeps/i386/fpu/math_private.h: Remove.
13054 * sysdeps/mips/math_private.h: Move to ....
13055 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
13056 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
13057 [__mips_hard_float] conditional. Include next <fenv_private.h>.
13058 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
13059 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13060 * sysdeps/powerpc/fpu/math_private.h: Do not include
13061 <fenv_private.h>.
13062 * sysdeps/riscv/rvf/math_private.h: Move to ....
13063 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
13064 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
13065 <fenv_private.h>.
13066 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
13067 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13068 * sysdeps/sparc/fpu/math_private.h: Remove.
13069 * sysdeps/i386/fpu/fenv_private.h: Move to ....
13070 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
13071 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
13072 <fenv_private.h>.
13073 * sysdeps/x86_64/fpu/math_private.h: Do not include
13074 <sysdeps/i386/fpu/fenv_private.h>.
13075
761404b7
FW
130762018-08-28 Florian Weimer <fweimer@redhat.com>
13077
13078 [BZ #23578]
13079 * posix/tst-regcomp-truncated.c: New file.
13080 * posix/Makefile (tests): Add it.
13081 (tst-regcomp-truncated.out): Depend on generated locales.
13082
d6c44c3d
FW
130832018-08-28 Florian Weimer <fweimer@redhat.com>
13084
13085 * support/test-container.c (main): Treat unshare failure with
13086 EPERM as an unsupported test.
13087
745664bd
FW
130882018-08-28 Florian Weimer <fweimer@redhat.com>
13089
13090 [BZ #23520]
13091 nscd: Fix use-after-free in addgetnetgrentX and its callers.
13092 * nscd/netgroupcache.c
13093 (addgetnetgrentX): Add tofreep parameter. Do not free
13094 heap-allocated buffer.
13095 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
13096 (addgetnetgrentX_ignore): New function.
13097 (addgetnetgrent): Call it.
13098 (readdgetnetgrent): Likewise.
13099
c8dd67e7
RS
131002018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13101
13102 * string/memmem.c: Use memcmp for first match.
13103
ab74d59f 131042018-08-28 Rafał Lużyński <digitalfreak@lingonborough.com>
5abedf97
RL
13105
13106 [BZ #17426]
13107 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
13108
86de0499
DD
131092018-08-27 DJ Delorie <dj@redhat.com>
13110
13111 * support/Makefile (others): Don't list programs explicitly as a
13112 dependency of "others".
13113
c3ab2110
JM
131142018-08-27 Joseph Myers <joseph@codesourcery.com>
13115
13116 * sysdeps/generic/math-tests-trap-force.h: New file.
13117 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
13118 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
13119 * sysdeps/powerpc/math-tests.h: Remove file.
13120 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
13121
6b5c8607
TS
131222018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
13123 Torvald Riegel <triegel@redhat.com>
99ea93ca
MK
13124
13125 [BZ #23538]
13126 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
13127 Update r to include the set wake-request flag if waiters are
13128 remaining after spinning.
13129
4061791f
JM
131302018-08-27 Joseph Myers <joseph@codesourcery.com>
13131
13132 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
13133
bc680b33
PE
131342018-08-25 Paul Eggert <eggert@cs.ucla.edu>
13135
761404b7 13136 [BZ #23578]
bc680b33
PE
13137 regex: fix uninitialized memory access
13138 I introduced this bug into gnulib in commit
13139 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
13140 eventually it was merged into glibc. The bug was found by
13141 project-repo <bugs@feusi.co> and reported here:
13142 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
13143 Diagnosis and draft fix reported by Assaf Gordon here:
13144 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
13145 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
13146 * posix/regex_internal.c (build_wcs_upper_buffer):
13147 Fix bug when mbrtowc returns 0.
13148
02458a52
CD
131492018-08-24 Carlos O'Donell <carlos@redhat.com>
13150
13151 * po/be.po: Update translation.
13152
acc2842a
DD
131532018-08-24 DJ Delorie <dj@delorie.com>
13154
13155 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
13156 $(libunwind).
13157
6c3a8a9d
PP
131582018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13159
b39d961c
TS
13160 [BZ #23400]
13161 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
13162 create temporary files in source tree.
6c3a8a9d 13163
895ef79e
JM
131642018-08-24 Joseph Myers <joseph@codesourcery.com>
13165
13166 * sysdeps/generic/math-tests-trap.h: New file.
13167 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
13168 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
13169 * sysdeps/aarch64/math-tests.h: Remove file.
13170 * sysdeps/arm/math-tests.h: Likewise.
13171 * sysdeps/riscv/math-tests.h: Likewise.
13172 * sysdeps/aarch64/math-tests-trap.h: New file.
13173 * sysdeps/arm/math-tests-trap.h: Likewise.
13174 * sysdeps/riscv/math-tests-trap.h: Likewise.
13175
ca3aac57
WD
131762018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
13177
13178 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
13179 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
13180 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
13181 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
13182 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
13183 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
13184 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13185 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
13186 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
13187 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13188 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13189 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13190 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13191 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
13192 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
13193 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
13194 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13195 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13196
60bcac09
JM
131972018-08-23 Joseph Myers <joseph@codesourcery.com>
13198
13199 * sysdeps/generic/math-tests-exceptions.h: New file.
13200 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
13201 (EXCEPTION_TESTS_float): Do not define here.
13202 (EXCEPTION_TESTS_double): Likewise.
13203 (EXCEPTION_TESTS_long_double): Likewise.
13204 (EXCEPTION_TESTS_float128): Likewise.
13205 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
13206 Likewise.
13207 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
13208 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
13209 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
13210 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
13211 * sysdeps/mips/math-tests.h: Likewise.
13212 * sysdeps/nios2/math-tests.h: Likewise.
13213 * sysdeps/riscv/math-tests.h [!__riscv_flen]
13214 (EXCEPTION_TESTS_float): Do not define here.
13215 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
13216 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
13217 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
13218
3bded567
WD
132192018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
13220
13221 * NEWS: Move optimized sinf entry to 2.29.
13222
900fb446
WD
132232018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
13224
13225 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
13226
561b0bec
DD
132272018-08-22 DJ Delorie <dj@redhat.com>
13228
13229 * Makefile (testroot.pristine): New rules to initialize the
13230 test-in-container "testroot".
13231 * Makerules (all-testsuite): Add tests-container.
13232 * Rules (tests-expected): Add tests-container.
13233 (binaries-all-tests): Likewise.
13234 (tests-container): New, run these tests in the testroot container.
13235 * support/Makefile (others): Add *-container, support_paths.c,
13236 xmkdirp, and links-dso-program.
13237 * support/links-dso-program-c.c: New.
13238 * support/links-dso-program.cc: New.
13239 * support/test-container.c: New.
13240 * support/shell-container.c: New.
13241 * support/echo-container.c: New.
13242 * support/true-container.c: New.
13243 * support/xmkdirp.c: New.
13244 * support/xsymlink.c: New.
13245 * support/support_paths.c: New.
13246 * support/support.h: Add support paths prototypes.
13247 * support/xunistd.h: Add xmkdirp () and xsymlink ().
13248
13249 * nss/tst-nss-test3.c: Convert to test-in-container.
13250 * nss/tst-nss-test3.root/: New.
13251
b35d3509
PE
132522018-08-22 Paul Eggert <eggert@cs.ucla.edu>
13253
13254 regex: port Gnulib code to z/OS POSIX environment
13255 Problem reported by Arnold Robbins in:
13256 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
13257 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
13258 Undef.
13259
16a25138
JM
132602018-08-22 Joseph Myers <joseph@codesourcery.com>
13261
debc4c98
JM
13262 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
13263 (ROUNDING_TESTS_double): Remove.
13264 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
13265 (ROUNDING_TESTS_double): Remove.
13266 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
13267 (ROUNDING_TESTS_double): Remove.
13268 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
13269 (ROUNDING_TESTS_float): Remove.
13270 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
13271 (ROUNDING_TESTS_float): Remove.
13272 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
13273 (ROUNDING_TESTS_float): Remove.
13274 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
13275 !TEST_MATHVEC here.
13276 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13277 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13278
16a25138
JM
13279 * sysdeps/generic/math-tests-rounding.h: New file.
13280 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
13281 (ROUNDING_TESTS_float): Do not define here.
13282 (ROUNDING_TESTS_double): Likewise.
13283 (ROUNDING_TESTS_long_double): Likewise.
13284 (ROUNDING_TESTS_float128): Likewise.
13285 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
13286 (ROUNDING_TESTS_double): Undefine before defining.
13287 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
13288 (ROUNDING_TESTS_double): Undefine before defining.
13289 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
13290 (ROUNDING_TESTS_double): Undefine before defining.
13291 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
13292 (ROUNDING_TESTS_float): Undefine before defining.
13293 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
13294 (ROUNDING_TESTS_float): Undefine before defining.
13295 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
13296 (ROUNDING_TESTS_float): Undefine before defining.
13297 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
13298 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
13299 not define here.
13300 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
13301 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
13302 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
13303 * sysdeps/riscv/math-tests.h [!__riscv_flen]
13304 (ROUNDING_TESTS_float): Do not define here.
13305 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
13306 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
13307 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
13308 (ROUNDING_TESTS_float): Likewise.
13309 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
13310 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
13311 * sysdeps/mips/math-tests.h [__mips_soft_float]
13312 (ROUNDING_TESTS_float): Likewise.
13313 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
13314 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
13315 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
13316 (ROUNDING_TESTS_double): Likewise.
13317 (ROUNDING_TESTS_long_double): Likewise.
13318
38b0593e
TK
133192018-08-21 Tobias Klauser <tklauser@distanz.ch>
13320
13321 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
13322 (PF_XDP): New macro.
13323 (AF_XDP): New macro.
13324 (SOL_XDP): New macro.
13325
5cd7dbde
JM
133262018-08-21 Joseph Myers <joseph@codesourcery.com>
13327
13328 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
13329 (TCP_INQ): Likewise.
13330 (TCP_CM_INQ): Likewise.
13331 (TCP_REPAIR_ON): Likewise.
13332 (TCP_REPAIR_OFF): Likewise.
13333 (TCP_REPAIR_OFF_NO_WP): Likewise.
13334 (struct tcp_zerocopy_receive): New type.
13335
aa42b3db
FW
133362018-08-21 Florian Weimer <fweimer@redhat.com>
13337
13338 * support/support.h (support_descriptor_supports_holes): Declare.
13339 * support/Makefile (libsupport-routines): Add
13340 support_descriptor_supports_holes.
13341 * support/support_descriptor_supports_holes.c: New file.
13342 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
13343 and stop testing if holes are not supported.
13344 * io/test-lfs.c (do_prepare): Likewise.
13345 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
13346 Likewise.
13347 * timezone/tst-tzset.c (create_tz_file): Likewise.
13348 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
13349 variable.
13350 (do_prepare): Set it.
13351 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
13352
c7627f41
FW
133532018-08-21 Florian Weimer <fweimer@redhat.com>
13354
13355 [BZ #17248]
13356 * Makeconfig (+cflags): Do not sort (and deduplicate).
13357
ef939d92
FW
133582018-08-21 Florian Weimer <fweimer@redhat.com>
13359
13360 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
13361 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
13362
88ffb39d
FW
133632018-08-20 Florian Weimer <fweimer@redhat.com>
13364
13365 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
13366 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
13367
17419540
JM
133682018-08-20 Joseph Myers <joseph@codesourcery.com>
13369
e6edd40d
JM
13370 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
13371 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
13372 and ssi_arch members.
13373
17419540
JM
13374 * elf/elf.c (NT_VMCOREDD): New macro.
13375 (AT_MINSIGSTKSZ): Likewise.
13376
fa78896b
RS
133772018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13378
13379 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13380 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
13381 s_cosf-ppc64 and s_cosf-power8.
13382 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
13383 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13384 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13385 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
13387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
13388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
13389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
13390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
13391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
13392 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
13393 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
13394
86a6c75a
FW
133952018-08-17 Florian Weimer <fweimer@redhat.com>
13396
13397 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13398
35cfefd9
FW
133992018-08-17 Istvan Kurucsai <pistukem@gmail.com>
13400
13401 * malloc/malloc.c (_int_malloc): Additional binning code checks.
13402
6413fcde
FW
134032018-08-16 Florian Weimer <fweimer@redhat.com>
13404
13405 * configure.ac: Add --with-nonshared-cflags option.
13406 * config.make.in (extra-nonshared-cflags): Set variable.
13407 * Makeconfig (CFLAGS-.oS): Use it.
13408 * manual/install.texi (Configuring and compiling): Document
13409 --with-nonshared-cflags.
13410 * configure: Regenerate.
13411 * INSTALL: Likewise.
13412
93a2584c
FW
134132018-08-16 Florian Weimer <fweimer@redhat.com>
13414
13415 * Makeconfig (ASFLAGS): Always append required assembler flags.
13416
f6f275d2 134172018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
d6db68e6
ME
13418
13419 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
13420 (malloc_consolidate): Likewise.
13421
30a17d8c
PC
134222018-08-16 Pochang Chen <johnchen902@gmail.com>
13423
13424 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
13425
953a5a4a
SP
134262018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
13427
34f86d61
SP
13428 * benchtests/bench-strlen.c (do_test): Allocate buffers before
13429 every strlen call.
13430
953a5a4a
SP
13431 * benchtests/bench-strlen.c: Print performance numbers in json.
13432
7793ad7a
RS
134332018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13434
13435 * sysdeps/powerpc/powerpc64/multiarch/Makefile
13436 (sysdep_routines): Build strcmp-power9 and strncmp-power9
13437 only for little endian.
13438 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13439 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
13440 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
13441 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
13442 Add check for little endian.
13443 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
13444 (__strcmp_power9): Add check for little endian.
13445 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
13446 Add check for little endian.
13447 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
13448 (__strncmp_power9): Add check for little endian.
13449 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
13450 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
13451 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
13452 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
13453 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
13454
436e4d5b
SP
134552018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
13456
13457 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
13458 [!STRLEN](STRLEN): Set to __strlen.
13459 * sysdeps/aarch64/multiarch/strlen.c: New file.
13460 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
13461 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
13462 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
13463 (__libc_ifunc_impl_list): Add strlen.
13464 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
13465 strlen_generic and strlen_asimd.
13466
126c4e3f
WD
134672018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
13468
13469 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
13470 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
13471 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
13472
49acec17
WD
134732018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
13474
13475 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
13476
fdb16de3
FW
134772018-08-14 Florian Weimer <fweimer@redhat.com>
13478
13479 [BZ #23519]
13480 * include/stdio.h (__vfxprintf): Declare.
13481 * stdio-common/fxprintf.c (__vfxprintf): New function.
13482 (__fxprintf): Call it.
13483 * misc/err.c (convert_and_print): Remove function.
13484 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
13485 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
13486 * misc/Makefile (tests): Add tst-warn-wide.
13487 * misc/tst-warn-wide.c: New file.
13488
599cf397
WD
134892018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
13490 Szabolcs Nagy <szabolcs.nagy@arm.com>
13491
13492 * NEWS: Mention sinf, cosf, sincosf.
13493 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
13494 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
13495 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
13496 constants rather than including generic sincosf.h.
13497 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
13498 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
13499 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
13500 (reduced_cos): Remove.
13501 (sinf_poly): New function.
13502 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
13503
e95c6f61
FW
135042018-08-14 Florian Weimer <fweimer@redhat.com>
13505
13506 [BZ #23521]
13507 [BZ #23522]
13508 * nss/nss_files/files-alias.c (get_next_alias): During :include:
13509 processing, bail out if no room, and close the stream before
13510 returning ERANGE.
13511 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
13512 (tst-nss-files-alias-leak): Link with libdl.
13513 (tst-nss-files-alias-leak.out): Depend on nss_files.
13514
13515 * nss/tst-nss-files-alias-leak.c: New file.
13516
2d7acfac
FW
135172018-08-14 Florian Weimer <fweimer@redhat.com>
13518
13519 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
13520 server_user, stat_user.
13521
f3cd0904
JM
135222018-08-13 Joseph Myers <joseph@codesourcery.com>
13523
17b26500
JM
13524 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13525 version to 4.18.
13526 (io_pgetevents): New syscall.
13527 (rseq): Likewise.
13528
3c1622eb
JM
13529 * manual/install.texi (Configuring and compiling): Do not list
13530 tools used for testing pretty printers here.
13531 (Tools for Compilation): List Python, PExpect and GDB here.
13532 Update descriptions of uses of Perl and Python.
13533 * INSTALL: Regenerate.
13534
f3cd0904
JM
13535 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13536 version to 4.18.
13537
b7b52b9d
FW
135382018-08-13 Florian Weimer <fweimer@redhat.com>
13539
13540 * misc/error.c (error): Add missing va_end call.
13541 (error_at_line): Likewise.
13542
01780188
FW
135432018-08-13 Florian Weimer <fweimer@redhat.com>
13544
13545 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
13546
44727aec
SP
135472018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13548
8cac1f26
SP
13549 * benchtests/scripts/benchout.schema.json (properties): Add
13550 new properties.
13551
44727aec
SP
13552 * benchtests/bench-skeleton.c (main): Add duration and
13553 iterations attributes.
13554
c77bf91b
PE
135552018-08-10 Paul Eggert <eggert@cs.ucla.edu>
13556
13557 regex: Gnulib unibyte RRI uses bytes not chars
13558 Adjust the non-glibc code to agree with what Gawk needs for
13559 rational range interpretation (RRI) for regular expression ranges.
13560 In unibyte locales, Gawk wants ranges to use the underlying byte
13561 rather than the character code point. This change does not affect
13562 glibc proper.
13563 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
13564 In unibyte locales, use the byte value rather than
13565 running it through btowc.
13566
2ce7ba7d
JM
135672018-08-10 Joseph Myers <joseph@codesourcery.com>
13568
13569 * sysdeps/generic/math-tests-snan.h: New file.
13570 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
13571 (SNAN_TESTS_float): Do not define here.
13572 (SNAN_TESTS_double): Likewise.
13573 (SNAN_TESTS_long_double): Likewise.
13574 (SNAN_TESTS_float128): Likewise.
13575 * sysdeps/i386/fpu/math-tests-snan.h: New file.
13576 * sysdeps/i386/fpu/math-tests.h: Remove file.
13577 * sysdeps/ia64/math-tests-snan.h: New file.
13578 * sysdeps/ia64/math-tests.h: Remove file.
13579 * sysdeps/x86/math-tests.h: Likewise.
13580 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
13581
ea5c662c
WD
135822018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
13583 Szabolcs Nagy <szabolcs.nagy@arm.com>
13584
13585 * math/Makefile: Add s_sincosf_data.c.
13586 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
13587 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
13588 (sincosf_poly): Likewise.
13589 (reduce_small): Likewise.
13590 (reduce_large): Likewise.
13591 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
13592 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
13593 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
13594 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
13595
43cfdf8f
SN
135962018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
13597 Szabolcs Nagy <szabolcs.nagy@arm.com>
13598
13599 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
13600 (converttoint): Use lround.
13601 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
13602 document the semantics when TOINT_INTRINSICS is set.
13603 (converttoint): Likewise.
13604 (TOINT_RINT): Remove.
13605 (TOINT_SHIFT): Remove.
13606 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
13607 path.
13608
69065288
FW
136092018-08-10 Florian Weimer <fweimer@redhat.com>
13610
13611 [BZ #23497]
13612 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
13613 function.
13614 (__old_getdents64): Use getdents64. Convert entries without
13615 moving them.
13616 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
13617 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
13618 tst-readdir64-compat.
13619
8f135efc
IL
136202018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13621
13622 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
13623 Fix unwind.
13624
71c01af5
IL
136252018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13626
13627 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
13628 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
13629 code to s390x-mcount.h and #include it.
13630 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
13631 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
13632 (__fentry__): Add.
13633
8d997d22
IL
136342018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13635
13636 * stdlib/Versions: Remove __fentry__.
13637 * sysdeps/i386/Versions: Add __fentry__.
13638 * sysdeps/x86_64/Versions: Add __fentry__.
13639
69e2444a
IL
136402018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13641
13642 * sysdeps/s390/Makefile: Register the new tests.
13643 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
13644 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
13645 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
13646 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
13647 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
13648 * sysdeps/s390/tst-dl-runtime.c: New file.
13649
bde6320f
IL
136502018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13651
13652 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
13653 Do not clobber R0.
13654
5755f5e4
IL
136552018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13656
13657 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
13658 Do not clobber R0.
13659
c8ad8522
IL
136602018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13661
13662 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
13663 Do not clobber R0.
13664
b215eee1
IL
136652018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13666
13667 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
13668 Do not clobber R0.
13669
329c6fec
IL
136702018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13671
13672 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
13673 Use symbolic offsets for stack variables.
13674
0fb7afa2
IL
136752018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13676
13677 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
13678 Use symbolic offsets for stack variables.
13679
6954059a
IL
136802018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13681
13682 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
13683 Use symbolic offsets for stack variables.
13684
c7099673
IL
136852018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13686
13687 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
13688 Use symbolic offsets for stack variables.
13689
2813e41e
JM
136902018-08-09 Joseph Myers <joseph@codesourcery.com>
13691
13692 * math/gen-libm-test.py: New file.
13693 * math/gen-libm-test.pl: Remove.
13694 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
13695 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
13696 gen-libm-test.pl.
13697 ($(libm-test-c-noauto-obj)): Likewise.
13698 ($(libm-test-c-auto-obj)): Likewise.
13699 ($(libm-test-c-narrow-obj)): Likewise.
13700 (regen-ulps): Likewise.
13701 * math/README.libm-test: Update references to gen-libm-test.pl.
13702 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
13703 referencing gen-libm-test.pl.
13704 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
13705 * math/libm-test-support.c: Likewise.
13706 * math/libm-test-support.h: Likewise.
13707 * sysdeps/generic/libm-test-ulps: Likewise.
13708
be64b194
SP
137092018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
13710
13711 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
13712 Fix value.
13713
140137fb
JM
137142018-08-08 Joseph Myers <joseph@codesourcery.com>
13715
13716 * math/libm-test-nextdown.inc (do_test): Move comment to ....
13717 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
13718
b5403eca
ST
137192018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
13720
13721 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
13722 symbols.
8ac0f9e6
ST
13723 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
13724 __pthread_setspecific): Add hidden proto.
13725 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
13726 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
b5403eca 13727
014efdd7
SP
137282018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
13729
13730 * benchtests/bench-string.h (buf1_size, buf2_size): New
13731 variables.
13732 (init_sizes): New function.
13733 (test_init): Use it.
13734 (alloc_buf, exit_error): New functions.
13735 (alloc_bufs): Use ALLOC_BUF.
13736 (realloc_bufs): Remove.
13737 * benchtests/bench-memcmp.c (do_test): Adjust.
13738 * benchtests/bench-memset-large.c (do_test): Likewise.
13739 * benchtests/bench-memset-walk.c (do_test): Likewise.
13740 * benchtests/bench-memset.c (do_test): Likewise.
13741 * benchtests/bench-strncmp.c (do_test): Likewise.
13742
92a4cba7
AS
137432018-08-06 Andreas Schwab <schwab@suse.de>
13744
13745 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
13746 of CONST_THREAD_AREA.
13747
fb4c32ae
L
137482018-08-06 H.J. Lu <hongjiu.lu@intel.com>
13749
13750 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
13751 (STATE_SAVE_MASK): Likewise.
13752 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
13753 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
13754 (STATE_SAVE_MASK): Likewise.
13755 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
13756 instead of <cpu-features.h>.
13757
bf418187
DD
137582018-08-03 DJ Delorie <dj@redhat.com>
13759
13760 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
e5721f45 13761 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
bf418187 13762
bb17621a
DD
13763 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
13764
ea705eb5
JM
137652018-08-03 Joseph Myers <joseph@codesourcery.com>
13766
13767 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
13768 after TEST_* calls.
13769 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
13770 * math/libm-test-logb.inc (logb_test_data): Likewise.
13771
284f42bc
WD
137722018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
13773
13774 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
13775 * string/strstr.c (AVAILABLE): Likewise.
13776
430388d5
L
137772018-08-03 H.J. Lu <hongjiu.lu@intel.com>
13778
13779 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
13780 <init-arch.h>.
13781 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
13782 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
13783 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
13784
c5760aa9
CD
137852018-08-03 Carlos O'Donell <carlos@redhat.com>
13786
13787 * po/be.po: Update translation.
13788
6b535b84
CD
13789 * po/be.po: Update translation.
13790
ae67f2e5
L
137912018-08-03 H.J. Lu <hongjiu.lu@intel.com>
13792
13793 * sysdeps/x86/cpu-features-offsets.sym
13794 (rtld_global_ro_offsetof): Removed.
13795 (CPU_FEATURES_SIZE): Likewise.
13796 (CPUID_OFFSET): Likewise.
13797 (CPUID_SIZE): Likewise.
13798 (CPUID_EAX_OFFSET): Likewise.
13799 (CPUID_EBX_OFFSET): Likewise.
13800 (CPUID_ECX_OFFSET): Likewise.
13801 (CPUID_EDX_OFFSET): Likewise.
13802 (FAMILY_OFFSET): Likewise.
13803 (MODEL_OFFSET): Likewise.
13804 (FEATURE_OFFSET): Likewise.
13805 (FEATURE_SIZ): Likewise.
13806 (COMMON_CPUID_INDEX_1): Likewise.
13807 (COMMON_CPUID_INDEX_7): Likewise.
13808 (FEATURE_INDEX_1): Likewise.
13809 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
13810
6b5c8607 138112018-08-02 Carlos O'Donell <carlos@redhat.com>
08a5ee14
CD
13812
13813 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
13814 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
13815 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
13816 (install-locales): Depend on install-locale-archive.
13817 (install-locale-archive): Define.
7b7adbd8 13818 (install-locale-files): Define.
08a5ee14
CD
13819 (build-one-locale): Define macro.
13820 * manual/install.texi (Running make install): Document.
13821 * manual/INSTALL: Regenerate.
13822
525691bd
SP
138232018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
13824
d67d634b
SP
13825 * benchtests/scripts/compare_strings.py: Import traceback.
13826 (parse_file): Pretty-print error.
13827
525691bd
SP
13828 * NEWS: Mention the change.
13829 * elf/dl-tunables.list: Rename tune namespace to cpu.
13830 * sysdeps/powerpc/dl-tunables.list: Likewise.
13831 * sysdeps/x86/dl-tunables.list: Likewise.
13832 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
13833 cpu.name.
13834 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
13835 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
13836 * manual/README.tunables: Likewise.
13837 * manual/tunables.texi: Likewise.
13838 * sysdeps/powerpc/cpu-features.c: Likewise.
13839 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
13840 (init_cpu_features): Likewise.
13841 * sysdeps/x86/cpu-features.c: Likewise.
13842 * sysdeps/x86/cpu-features.h: Likewise.
13843 * sysdeps/x86/cpu-tunables.c: Likewise.
13844 * sysdeps/x86_64/Makefile: Likewise.
13845 * sysdeps/x86/dl-cet.c: Likewise.
13846
506d7fb1
JM
138472018-08-02 Joseph Myers <joseph@codesourcery.com>
13848
13849 [BZ #23479]
13850 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
13851 [__mips_hard_float].
13852 (FE_UNDERFLOW): Likewise.
13853 (FE_OVERFLOW): Likewise.
13854 (FE_DIVBYZERO): Likewise.
13855 (FE_INVALID): Likewise.
13856 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
13857 (FE_TOWARDZERO): Define only if [__mips_hard_float].
13858 (FE_UPWARD): Likewise.
13859 (FE_DOWNWARD): Likewise.
13860 (__FE_UNDEFINED): Define if [!__mips_hard_float]
13861 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
13862 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
13863 [__mips_hard_float].
13864 (FP_ROUNDMODE): Likewise.
13865 (FP_RND_NEAREST): Likewise.
13866 (FP_RND_ZERO): Likewise.
13867 (FP_RND_PINF): Likewise.
13868 (FP_RND_MINF): Likewise.
13869 (FP_EX_INVALID): Likewise.
13870 (FP_EX_OVERFLOW): Likewise.
13871 (FP_EX_UNDERFLOW): Likewise.
13872 (FP_EX_DIVZERO): Likewise.
13873 (FP_EX_INEXACT): Likewise.
13874 (FP_INIT_ROUNDMODE): Likewise.
13875 * sysdeps/mips/nofpu/fesetenv.c: New file.
13876 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
13877
f6dcefbe
JM
138782018-08-01 Joseph Myers <joseph@codesourcery.com>
13879
13880 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
13881 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
13882 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
13883 conditional on [FE_UPWARD].
13884
fa67ba06
PE
138852018-08-01 Paul Eggert <eggert@cs.ucla.edu>
13886
13887 regex: fix memory leak in Gnulib
13888 Problem and fix reported by Assaf Gordon in:
13889 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
13890 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
13891 range_ends members too, as they are defined in 'struct
13892 re_charset_t' even if not _LIBC. This affects only Gnulib.
13893
82c80ac2
L
138942018-08-01 H.J. Lu <hongjiu.lu@intel.com>
13895
13896 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
13897 ...
13898 (get_common_indices): This.
13899 (init_cpu_features): Updated.
13900
c0e7e2c1
JM
139012018-08-01 Joseph Myers <joseph@codesourcery.com>
13902
46f8cf57
JM
13903 * sysdeps/generic/math-tests-snan-payload.h: New file.
13904 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
13905 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
13906 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
13907 * sysdeps/generic/math-tests.h: Include
13908 <math-tests-snan-payload.h>.
13909 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
13910 * sysdeps/hppa/math-tests.h: Remove file.
13911 * sysdeps/mips/math-tests.h [!__mips_nan2008]
13912 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
13913 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
13914 Likewise.
13915
c0e7e2c1
JM
13916 * sysdeps/generic/math-tests-snan-cast.h: New file.
13917 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
13918 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
13919 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
13920 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
13921
e6855a3b 139222018-08-01 Carlos O'Donell <carlos@redhat.com>
74939c83 13923
b029723b
CD
13924 * version.h (RELEASE): Set to "development".
13925 (VERSION): Set to "2.28.9000".
13926 * NEWS (2.29): New section.
13927
3c03baca
CD
13928 * version.h (RELEASE): Set to "stable".
13929 (VERSION): Set to "2.28".
13930 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
13931 * NEWS: Add the list of bugs fixed in 2.28.
13932
74939c83
CD
13933 * po/ca.po: Update to latest version.
13934 * po/cs.po: Likewise
13935 * po/da.po: Likewise
13936 * po/el.po: Likewise
13937 * po/eo.po: Likewise
13938 * po/es.po: Likewise
13939 * po/fi.po: Likewise
13940 * po/fr.po: Likewise
13941 * po/gl.po: Likewise
13942 * po/hu.po: Likewise
13943 * po/ia.po: Likewise
13944 * po/id.po: Likewise
13945 * po/it.po: Likewise
13946 * po/ja.po: Likewise
13947 * po/ko.po: Likewise
13948 * po/lt.po: Likewise
13949 * po/nb.po: Likewise
13950 * po/nl.po: Likewise
13951 * po/pt_BR.po: Likewise
13952 * po/ru.po: Likewise
13953 * po/rw.po: Likewise
13954 * po/sk.po: Likewise
13955 * po/sl.po: Likewise
13956 * po/tr.po: Likewise
13957 * po/zh_CN.po: Likewise
13958 * po/zh_TW.po: Likewise
13959
d4b54bdf
ST
139602018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13961
13962 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
13963 initialization...
13964 (init): ... before initializing libpthread.
13965
42fc12ef
ST
13966 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
13967 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
13968 (__mach_setup_tls): ... new function.
13969 (mach_setup_tls): New alias.
13970 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
13971 __mach_setup_thread.
13972 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
13973 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
13974 * mach/Versions [libc] (mach_setup_tls): Add symbol.
13975 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
13976
6cca855e
CD
139772018-07-31 Carlos O'Donell <carlos@redhat.com>
13978
f650932b
CD
13979 * manual/install.texi: Update versions.
13980 * INSTALL: Regenerate.
13981
6cca855e
CD
13982 * manual/contrib.texi (Contributors): Update contributions.
13983
07fdea47
CD
139842018-07-31 Carlos O'Donell <carlos@redhat.com>
13985
13986 * po/be.po: Update translations.
13987
63d5fad4
AZ
139882018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13989
13990 * sysdeps/sh/libm-test-ulps: Update.
13991
1ff712a6
CD
139922018-07-30 Carlos O'Donell <carlos@redhat.com>
13993
13994 * po/bg.po: Update translations.
13995 * po/de.po: Likewise.
13996 * po/hr.po: Likewise.
13997 * po/pt_BR.po: Likewise.
13998 * po/sv.po: Likewise.
13999 * po/vi.po: Likewise.
14000
98864ed0
L
140012018-07-30 H.J. Lu <hongjiu.lu@intel.com>
14002
14003 [BZ #23467]
14004 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
14005 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
14006 (CFLAGS-tst-cet-property-1.o): New.
14007 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
14008 ($(objpfx)tst-cet-property-2): Likewise.
14009 ($(objpfx)tst-cet-property-2.out): Likewise.
14010 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
14011 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
14012 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
14013 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
14014 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
14015
c92a00d8
L
140162018-07-30 H.J. Lu <hongjiu.lu@intel.com>
14017
14018 [BZ #23458]
14019 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
14020
99bc6241
ST
140212018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
14022
14023 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
14024 __sbrk): Do not set attribute_hidden.
af86087f 14025 * sysdeps/mach/hurd/not-errno.h: New file.
99bc6241
ST
14026 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
14027 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
14028
bcb1c4af
CD
140292018-07-27 Carlos O'Donell <carlos@redhat.com>
14030
14031 * po/uk.po: Update translations.
14032 * po/cs.po: Likewise.
14033 * po/pl.po: Likewise.
14034
4591b7db
L
140352018-07-27 H.J. Lu <hongjiu.lu@intel.com>
14036
14037 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
14038 parse beyond the note end.
14039
2c6da2f4
AZ
140402018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14041
14042 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
14043 kernel does not support OFD locks.
14044 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
14045
20365a31
ST
140462018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14047
14048 * sysdeps/mach/hurd/Versions (libc): Make __access and
14049 __access_noerrno external so they can override the ld symbols.
14050 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
14051 __writev, __open64, __access_noerrno extern so they can be overrided.
14052 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
14053 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
14054
cb1a43db
CD
140552018-07-26 Carlos O'Donell <carlos@redhat.com>
14056
14057 * po/libc.pot: Regenerate.
14058
74759ae5
JM
140592018-07-26 Joseph Myers <joseph@codesourcery.com>
14060
14061 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
14062
da80612d
L
140632018-07-26 H.J. Lu <hongjiu.lu@intel.com>
14064
14065 [BZ #23459]
14066 * sysdeps/x86/cpu-features.c (get_extended_indices): New
14067 function.
14068 (init_cpu_features): Call get_extended_indices for both Intel
14069 and AMD CPUs.
14070 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
14071 Remove "for AMD" comment.
14072
65d87ade
L
140732018-07-26 H.J. Lu <hongjiu.lu@intel.com>
14074
14075 [BZ # 23456]
14076 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
14077 COMMON_CPUID_INDEX_80000001.
14078
c9dc4d51
SL
140792018-07-26 Stefan Liebler <stli@linux.ibm.com>
14080
14081 * string/tst-xbzero-opt.c (use_test_buffer): New function.
14082 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
14083
cfba5dbb
FW
140842018-07-26 Florian Weimer <fweimer@redhat.com>
14085
14086 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
14087 aliases for symbols not in the implementation namespace.
14088
6b5c8607 140892018-07-25 Carlos O'Donell <carlos@redhat.com>
7cd7d36f
CD
14090
14091 [BZ #23393]
14092 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
14093 lowercase in LATIN script.
14094 * localedata/Makefile (test-input): Add en_US.UTF-8.
14095 * localedata/en_US.UTF-8.in: New file.
14096 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
14097 and restore old tests.
14098 * posix/tst-regexloc.c (do_test): Add back range expression test.
14099
3fb455b3
L
141002018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14101
14102 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
14103
d6499b70
AZ
141042018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14105
14106 * nptl/threads.h: Move to ...
14107 * sysdeps/nptl/threads.h: ... here.
14108 * sysdeps/hurd/stdc-predef.h: New file.
14109
08ac6bed
L
141102018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14111
14112 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
14113 tst-cet-setcontext-1 if CET is enabled.
14114 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
14115 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
14116
9faaf938
AZ
141172018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14118
14119 * include/threads.h: Move to ...
14120 * sysdeps/nptl/threads.h: ... here.
14121 * sysdeps/htl/threads.h: New file.
14122 * conform/Makefile (linknamespace-libs-ISO11): Use
14123 static-thread-library instead of linking libpthread.
14124 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
14125
d6b8f847
FW
141262018-07-25 Florian Weimer <fweimer@redhat.com>
14127
14128 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
14129 nanoseconds into seconds.
14130 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
14131 (do_test): Likewise.
14132 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
14133 (do_test): Likewise. Avoid nanosecond overflow and spurious
14134 timeouts due to system load.
14135 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
14136 (child_wait): Increment it.
14137 (do_test): Wait as long as necessary until all expected threads
14138 have arrived.
14139
25123a1c
L
141402018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
14141 H.J. Lu <hongjiu.lu@intel.com>
14142
14143 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
14144 __ssp.
14145 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
14146 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
14147 (__push___start_context): New.
14148 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
14149 <asm/prctl.h>.
14150 (__getcontext): Record the current shadow stack base. Save the
14151 caller's shadow stack pointer and base.
14152 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
14153 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
14154 (__push___start_context): New prototype.
14155 (__makecontext): Call __push___start_context to allocate a new
14156 shadow stack, push __start_context onto the new stack as well
14157 as the new shadow stack.
14158 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
14159 <asm/prctl.h>.
14160 (__setcontext): Restore the target shadow stack.
14161 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
14162 <asm/prctl.h>.
14163 (__swapcontext): Record the current shadow stack base. Save
14164 the caller's shadow stack pointer and base. Restore the target
14165 shadow stack.
14166 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
14167 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
14168 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
14169
375a4844
L
141702018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14171
14172 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
14173 tst-setcontext8 and tst-setcontext9.
14174 * stdlib/tst-setcontext6.c: New file.
14175 * stdlib/tst-setcontext7.c: Likewise.
14176 * stdlib/tst-setcontext8.c: Likewise.
14177 * stdlib/tst-setcontext9.c: Likewise.
14178
bd4f7903
L
141792018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14180
14181 * stdlib/Makefile ((tests): Add tst-setcontext5.
14182 * stdlib/tst-setcontext5.c: New file.
14183
7e28f203
L
141842018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14185
14186 * stdlib/Makefile (tests): Add tst-setcontext4.
14187 * stdlib/tst-setcontext4.c: New file.
14188
8516ad2d
L
141892018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14190
14191 * stdlib/Makefile (tests): Add tst-swapcontext1.
14192 * stdlib/tst-swapcontext1.c: New test.
14193
fddcd003
L
141942018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14195
14196 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
14197 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
14198 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
14199 and tst-cet-legacy-4c.
14200 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
14201 and tst-cet-legacy-mod-4.
14202 (CFLAGS-tst-cet-legacy-2.c): New.
14203 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
14204 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
14205 (CFLAGS-tst-cet-legacy-3.c): Likewise.
14206 (CFLAGS-tst-cet-legacy-4.c): Likewise.
14207 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
14208 ($(objpfx)tst-cet-legacy-1): Likewise.
14209 ($(objpfx)tst-cet-legacy-2): Likewise.
14210 ($(objpfx)tst-cet-legacy-2.out): Likewise.
14211 ($(objpfx)tst-cet-legacy-2a): Likewise.
14212 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
14213 ($(objpfx)tst-cet-legacy-4): Likewise.
14214 ($(objpfx)tst-cet-legacy-4.out): Likewise.
14215 ($(objpfx)tst-cet-legacy-4a): Likewise.
14216 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
14217 (tst-cet-legacy-4a-ENV): Likewise.
14218 ($(objpfx)tst-cet-legacy-4b): Likewise.
14219 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
14220 (tst-cet-legacy-4b-ENV): Likewise.
14221 ($(objpfx)tst-cet-legacy-4c): Likewise.
14222 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
14223 (tst-cet-legacy-4c-ENV): Likewise.
14224 * sysdeps/x86/tst-cet-legacy-1.c: New file.
14225 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
14226 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
14227 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
14228 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
14229 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
14230 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
14231 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
14232 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
14233 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
14234 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
14235
9aa3113a
L
142362018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14237
14238 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
14239 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
14240 with ssp_base.
14241 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
14242 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
14243 with ssp_base.
14244
9c79cec8
AS
142452018-07-25 Andreas Schwab <schwab@suse.de>
14246
14247 [BZ #23442]
14248 * locale/weightwc.h (findidx): Handle the case where usrc is a
14249 prefix of cp but one character too short.
14250
969c3355
AZ
142512018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14252
14253 * NEWS: Add ISO C threads addition.
14254
e0f9c462
FW
142552018-07-24 Florian Weimer <fweimer@redhat.com>
14256
14257 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14258 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
14259 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
14260 4.13.
14261
394df381
L
142622018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14263
14264 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
14265 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
14266 <sys/prctl.h> and <asm/prctl.h>.
14267 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
14268 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
14269 and <asm/prctl.h>.
14270 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
14271 ARCH_CET_LEGACY_BITMAP.
14272 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
14273 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
14274 * sysdeps/x86/libc-start.c: Include <startup.h>.
14275
46545530
FW
142762018-07-24 Florian Weimer <fweimer@redhat.com>
14277
14278 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
14279 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
14280
6b5c8607 142812018-07-24 Rical Jasan <rj@2c3t.io>
9d0a979e 14282 Adhemerval Zanella <adhemerval.zanella@linaro.org>
0a07288b
AZ
14283 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
14284
14285 [BZ #14092]
9d0a979e
RJ
14286 * manual/debug.texi: Update adjacent chapter name.
14287 * manual/probes.texi: Likewise.
14288 * manual/threads.texi (ISO C Threads): New section.
14289 (POSIX Threads): Convert to a section.
14290
142912018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14292 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
14293
14294 [BZ# 14092]
0a07288b
AZ
14295 * nptl/Makefile (tests): Add new test files.
14296 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
14297 * nptl/tst-cnd-basic.c: Likewise.
14298 * nptl/tst-cnd-broadcast.c: Likewise.
14299 * nptl/tst-cnd-timedwait.c: Likewise.
14300 * nptl/tst-mtx-basic.c: Likewise.
14301 * nptl/tst-mtx-recursive.c: Likewise.
14302 * nptl/tst-mtx-timedlock.c: Likewise.
14303 * nptl/tst-mtx-trylock.c: Likewise.
14304 * nptl/tst-thrd-basic.c: Likewise.
14305 * nptl/tst-thrd-detach.c: Likewise.
14306 * nptl/tst-thrd-sleep.c: Likewise.
14307 * nptl/tst-tss-basic.c: Likewise.
14308
ce7528f6
AZ
143092018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14310
c6dd669b
AZ
14311 [BZ #14092]
14312 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
14313 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
14314 symbols.
14315 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14316 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14317 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14318 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14319 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14320 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14321 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14322 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14323 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14324 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14325 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14326 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14328 Likewise.
14329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14330 Likewise.
14331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
14332 Likewise.
14333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14334 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14335 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14336 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14337 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14338 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14339 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14340 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14341 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14342 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
14343 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
14344 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
14345 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
14346 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
14347 Likewise.
14348 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
14349 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
14350 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
14351 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
14352 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
14353 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
14354 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
14355 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
14356 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
14357 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
14358 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
14359 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
14360 ikewise.
14361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
14362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14363 Likewise.
14364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14365 Likewise.
14366 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
14367 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
14368 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
14369 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
14370 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
14371 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
14372 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
14373 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
14374
78d40132
AZ
14375 [BZ #14092]
14376 * conform/data/threads.h-data (thread_local): New macro.
14377 (TSS_DTOR_ITERATIONS): Likewise.
14378 (tss_t): New type.
14379 (tss_dtor_t): Likewise.
14380 (tss_create): New function.
14381 (tss_get): Likewise.
14382 (tss_set): Likewise.
14383 (tss_delete): Likewise.
14384 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
14385 tss_get, and tss_set objects.
14386 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
14387 * nptl/tss_create.c: New file.
14388 * nptl/tss_delete.c: Likewise.
14389 * nptl/tss_get.c: Likewise.
14390 * nptl/tss_set.c: Likewise.
14391 * sysdeps/nptl/threads.h (thread_local): New define.
14392 (TSS_DTOR_ITERATIONS): Likewise.
14393 (tss_t): New typedef.
14394 (tss_dtor_t): Likewise.
14395 (tss_create): New prototype.
14396 (tss_get): Likewise.
14397 (tss_set): Likewise.
14398 (tss_delete): Likewise.
14399
918311a3
AZ
14400 [BZ #14092]
14401 * conform/data/threads.h-data (cnd_t): New type.
14402 (cnd_init): New function.
14403 (cnd_signal): Likewise.
14404 (cnd_broadcast): Likewise.
14405 (cnd_wait): Likewise.
14406 (cnd_timedwait): Likewise.
14407 (cnd_destroy): Likewise.
14408 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
14409 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
14410 object.
14411 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
14412 * nptl/cnd_broadcast.c: New file.
14413 * nptl/cnd_destroy.c: Likewise.
14414 * nptl/cnd_init.c: Likewise.
14415 * nptl/cnd_signal.c: Likewise.
14416 * nptl/cnd_timedwait.c: Likewise.
14417 * nptl/cnd_wait.c: Likewise.
14418 * sysdeps/nptl/threads.h (cnd_t): New type.
14419 (cnd_init): New prototype.
14420 (cnd_signa): Likewise.
14421 (cnd_broadcast): Likewise.
14422 (cnd_wait): Likewise.
14423 (cnd_timedwait): Likewise.
14424 (cnd_destroy): Likewise.
14425
3c20a679
AZ
14426 [BZ #14092]
14427 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
14428 (once_flag): New type.
14429 (call_once): New function.
14430 * nptl/Makefile (libpthread-routines): Add call_once object.
14431 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
14432 * nptl/call_once.c: New file.
14433 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
14434 (once_flag): New type.
14435 (call_once): New prototype.
14436
18d59c1b
AZ
14437 [BZ #14092]
14438 * conform/data/threads.h-data (mtx_plain): New constant.
14439 (mtx_recursive): Likewise.
14440 (mtx_timed): Likewise.
14441 (mtx_t): New type.
14442 (mtx_init): New function.
14443 (mtx_lock): Likewise.
14444 (mtx_timedlock): Likewise.
14445 (mtx_trylock): Likewise.
14446 (mtx_unlock): Likewise.
14447 (mtx_destroy): Likewise.
14448 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
14449 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
14450 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
14451 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
14452 * nptl/mtx_destroy.c: New file.
14453 * nptl/mtx_init.c: Likewise.
14454 * nptl/mtx_lock.c: Likewise.
14455 * nptl/mtx_timedlock.c: Likewise.
14456 * nptl/mtx_trylock.c: Likewise.
14457 * nptl/mtx_unlock.c: Likewise.
14458 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
14459 (mtx_recursive): Likewise.
14460 (mtx_timed): Likewise.
14461 (mtx_t): New type.
14462 (mtx_init): New prototype.
14463 (mtx_lock): Likewise.
14464 (mtx_timedlock): Likewise.
14465 (mtx_trylock): Likewise.
14466 (mtx_unlock): Likewise.
14467 (mtx_destroy): Likewise.
14468
ce7528f6
AZ
14469 [BZ #14092]
14470 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
14471 (linknamespace-libs-ISO11): Add libpthread.a.
14472 * conform/data/threads.h-data: New file: add C11 thrd_* types and
14473 functions.
14474 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
14475 * nptl/Makefile (headers): Add threads.h.
14476 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
14477 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
14478 thrd_yield.
14479 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
14480 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
14481 thrd_join, thrd_sleep, and thrd_yield symbols.
14482 * nptl/descr.h (struct pthread): Add c11 field.
14483 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
14484 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
14485 routine with expected function prototype.
14486 (__pthread_create_2_1): Add C11 threads check based on attribute
14487 value.
14488 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
14489 * nptl/thrd_create.c: New file.
14490 * nptl/thrd_current.c: Likewise.
14491 * nptl/thrd_detach.c: Likewise.
14492 * nptl/thrd_equal.c: Likewise.
14493 * nptl/thrd_exit.c: Likewise.
14494 * nptl/thrd_join.c: Likewise.
14495 * nptl/thrd_priv.h: Likewise.
14496 * nptl/thrd_sleep.c: Likewise.
14497 * nptl/thrd_yield.c: Likewise.
14498 * include/threads.h: Likewise.
14499
e27f41ba
L
145002018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14501
14502 * bits/indirect-return.h: New file.
14503 * misc/sys/cdefs.h (__glibc_has_attribute): New.
14504 * sysdeps/x86/bits/indirect-return.h: Likewise.
14505 * stdlib/Makefile (headers): Add bits/indirect-return.h.
14506 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
14507 (swapcontext): Add __INDIRECT_RETURN.
14508 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
14509 (prepare_test_buffer): Use it.
14510
21526a50
AS
145112018-07-24 Andreas Schwab <schwab@suse.de>
14512
14513 [BZ #23448]
14514 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
14515 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
14516
3650e1d9
L
145172018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14518
14519 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
14520 Redefine if shadow stack is enabled.
14521 (SYSCALL_ERROR_LABEL): Likewise.
14522 (__vfork): Pop shadow stack and jump back to to caller directly
14523 when shadow stack is in use.
14524 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
14525 Redefine if shadow stack is enabled.
14526 (SYSCALL_ERROR_LABEL): Likewise.
14527 (__vfork): Pop shadow stack and jump back to to caller directly
14528 when shadow stack is in use.
14529
ca027e0f
L
145302018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14531
14532 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
14533 enabled.
14534 (foo): Likewise.
14535 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
14536 (foo): Likewise.
14537
b99f1c95
JM
145382018-07-20 Joseph Myers <joseph@codesourcery.com>
14539
14540 * scripts/build-many-glibcs.py (Context.checkout): Default
14541 binutils version to 2.31 branch.
14542
c8fabb84
ZL
145432018-07-20 Zong Li <zong@andestech.com>
14544
14545 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
14546 URL of gcc's tarball.
14547
786658a0
FW
145482018-07-20 Florian Weimer <fweimer@redhat.com>
14549
14550 [BZ #23396]
14551 * posix/regcomp.c (build_equiv_class): When comparing weights, do
14552 not compare an extra byte after the end of the weights.
14553
46f2474e
ST
145542018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
14555
14556 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
14557 to 1.
8ba1520e
ST
14558 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
14559 hidden prototypes.
14560 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
14561 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
2d5c41de
ST
14562 * scripts/check-execstack.awk: Consider `xfail' variable containing a
14563 list of libraries whose stack executability is expected.
14564 * elf/Makefile ($(objpfx)check-execstack.out): Pass
14565 $(check-execstack-xfail) to check-execstack.awk through `xfail'
14566 variable.
14567 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
14568 libc.so libpthread.so.
46f2474e 14569
60088242
TS
145702018-07-20 Thomas Schwinge <tschwinge@gnu.org>
14571
14572 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
14573 SOCK_NONBLOCK.
75d5e4a0
TS
14574 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
14575 and SOCK_NONBLOCK.
de195be0
TS
14576 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
14577 implement __pipe2.
14578 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
60088242 14579
1cf4ae7f
LS
145802018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14581
14582 * benchtests/scripts/compare_bench.py (__main__): use the argparse
14583 library to improve command line parsing.
14584 (__main__): make schema file as optional parameter (--schema),
14585 defaulting to benchtests/scripts/benchout.schema.json.
14586 (main): move out of the parsing stuff to __main_  and leave it
14587 only as caller of main comparison functions.
14588
e84bd851
L
145892018-07-19 H.J. Lu <hongjiu.lu@intel.com>
14590
14591 * NEWS: Add a note for Intel CET status.
14592 * manual/install.texi: Likewise.
14593 * INSTALL: Regenerated.
14594
df467d22
QP
145952018-07-18 Quentin PAGÈS <provaires@quentino.fr>
14596
14597 [BZ #23140]
14598 * localedata/locales/oc_FR (mon): Rename to...
14599 (alt_mon): This, then update October (typo fix).
14600 (mon): New content (genitive case, month names preceded by
14601 "de" or "d’").
14602
14603 [BZ #23422]
14604 * localedata/locales/oc_FR (abday): Update all items.
14605 (day): Update Wednesday and Saturday (typo fixes).
14606 (abmon): Update all items, except May.
14607 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
14608 (LC_IDENTIFICATION): Bump the revision number and date.
14609 Keep the "category" entries in alphabetic order.
14610 (LC_ADDRESS): Remove no longer needed comment.
14611 (LC_COLLATE): Use “copy "ca_ES"”.
14612 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
14613 "name_mrs".
14614
5c112f1b
JM
146152018-07-18 Joseph Myers <joseph@codesourcery.com>
14616
14617 * grp/tst_fgetgrent.c: Include <unistd.h>.
14618 (main): Use mkstemp instead of tmpnam.
14619 * io/test-utime.c (main): Likewise.
14620 * posix/annexc.c (macrofile): Change to modifiable array.
14621 (main): Remove macrofile here.
14622 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
14623 macrofile here.
14624 (check_header): Do not remove macrofile here.
14625 * posix/bug-getopt1.c: Include <stdlib.h>.
14626 (do_test): Use mkstemp instead of tmpnam.
14627 * posix/bug-getopt2.c: Include <stdlib.h>.
14628 (do_test): Use mkstemp instead of tmpnam.
14629 * posix/bug-getopt3.c: Include <stdlib.h>.
14630 (do_test): Use mkstemp instead of tmpnam.
14631 * posix/bug-getopt4.c: Include <stdlib.h>.
14632 (do_test): Use mkstemp instead of tmpnam.
14633 * posix/bug-getopt5.c: Include <stdlib.h>.
14634 (do_test): Use mkstemp instead of tmpnam.
14635 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
14636 (main): Use mkstemp instead of tmpnam.
14637 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
14638 (main): Use mkstemp instead of tmpnam.
14639 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
14640 (main): use mkstemp instead of tmpnam.
14641 * stdlib/isomac.c (macrofile): Change to modifiable array.
14642 (main): Remove macrofile here.
14643 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
14644 macrofile here.
14645 (check_header): Do not remove macrofile here.
14646
6d90776d
L
146472018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14648
14649 * manual/tunables.texi: Document glibc.tune.x86_ibt and
14650 glibc.tune.x86_shstk.
14651
e6c69509
L
146522018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14653
14654 * NEWS: Mention --enable-cet.
14655 * manual/install.texi: Document --enable-cet.
14656 * INSTALL: Regenerated.
14657
e2d40a88
L
146582018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14659
14660 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
14661 Add _CET_NOTRACK before indirect jump to jump table.
14662
77a8ae09
L
146632018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14664
14665 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
14666 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14667 to jump table.
14668
90d15dc5
L
146692018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14670
14671 * sysdeps/i386/i686/multiarch/strcat-sse2.S
14672 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14673 to jump table.
14674
f1574581
L
146752018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14676
14677 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
14678 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14679 to jump table.
14680
7fb61336
L
146812018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14682
14683 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
14684 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14685 to jump table.
14686
0a899af0
L
146872018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14688
14689 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
14690 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14691 to jump table.
14692 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
14693
177824e2
L
146942018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14695
14696 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
14697 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14698 to jump table.
14699
00e7b76a
L
147002018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14701
14702 * sysdeps/i386/i686/multiarch/memset-sse2.S
14703 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14704 to jump table.
14705
7e119cd5
L
147062018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14707
14708 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
14709 indirect jump to jump table.
14710
03aaf49b
L
147112018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14712
14713 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
14714 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14715 to jump table.
14716 (MEMCPY): Likewise.
14717
811e9e52
L
147182018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14719
14720 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
14721 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14722 to jump table.
14723 (MEMCPY): Likewise.
14724
8817df42
L
147252018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14726
14727 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
14728 _CET_NOTRACK before indirect jump to jump table.
14729
921595d1
L
147302018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14731
14732 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
14733 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14734 to jump table.
14735
4ef60d95
L
147362018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14737
14738 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
14739 indirect jump to jump table.
14740
61c4aad7
VT
147412018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
14742
14743 [BZ #22241]
14744 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
14745 (LOCALES): Likewise.
14746 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
14747 * localedata/locales/sah_RU: New file.
14748 * localedata/sah_RU.UTF-8.in: New file.
14749
be9ccd27
L
147502018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14751
14752 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
14753 "sysdep.h".
14754 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
14755 _CET_ENDBR to indirect jump targets and adjust jump destination
14756 for _CET_ENDBR.
14757 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
14758 "sysdep.h".
14759 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
14760 _CET_ENDBR to indirect jump targets and adjust jump destination
14761 for _CET_ENDBR.
14762 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
14763 "sysdep.h".
14764 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
14765 _CET_ENDBR to indirect jump targets and adjust jump destination
14766 for _CET_ENDBR.
14767
5efc6777
L
147682018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14769
14770 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
14771 _CET_ENDBR.
14772
562837c0
L
147732018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14774
14775 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
14776 _CET_ENDBR.
14777 (_dl_tlsdesc_undefweak): Likewise.
14778 (_dl_tlsdesc_dynamic): Likewise.
14779 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
14780 (_dl_tlsdesc_resolve_rel): Likewise.
14781 (_dl_tlsdesc_resolve_rela): Likewise.
14782 (_dl_tlsdesc_resolve_hold): Likewise.
14783 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
14784 (_dl_tlsdesc_undefweak): Likewise.
14785 (_dl_tlsdesc_dynamic): Likewise.
14786 (_dl_tlsdesc_resolve_rela): Likewise.
14787 (_dl_tlsdesc_resolve_hold): Likewise.
14788
124bcde6
L
147892018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14790
14791 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
14792 (_fini): Likewise.
14793 * sysdeps/x86_64/crti.S (_init): Likewise.
14794 (_fini): Likewise.
14795
ab74d59f 147962018-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
9145f033
RL
14797
14798 [BZ #23140]
14799 * localedata/locales/os_RU (mon): Rename to...
14800 (alt_mon): This.
14801 (mon): Import from CLDR (genitive case).
14802
ba2ea23d
L
148032018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14804
14805 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
14806 cet-tunables.h> when CET is enabled.
14807
f753fa7d
L
148082018-07-16 H.J. Lu <hongjiu.lu@intel.com>
14809
6b5c8607 14810 [BZ #21598]
f753fa7d
L
14811 * configure.ac: Add --enable-cet.
14812 * configure: Regenerated.
14813 * elf/Makefille (all-built-dso): Add a comment.
14814 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
14815 Include <dl-prop.h>.
14816 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
14817 segment.
14818 * elf/dl-open.c: Include <dl-prop.h>.
14819 (dl_open_worker): Call _dl_open_check.
14820 * elf/rtld.c: Include <dl-prop.h>.
14821 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
14822 _rtld_main_check.
14823 * sysdeps/generic/dl-prop.h: New file.
14824 * sysdeps/i386/dl-cet.c: Likewise.
14825 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
14826 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
14827 * sysdeps/x86/cet-tunables.h: Likewise.
14828 * sysdeps/x86/check-cet.awk: Likewise.
14829 * sysdeps/x86/configure: Likewise.
14830 * sysdeps/x86/configure.ac: Likewise.
14831 * sysdeps/x86/dl-cet.c: Likewise.
14832 * sysdeps/x86/dl-procruntime.c: Likewise.
14833 * sysdeps/x86/dl-prop.h: Likewise.
14834 * sysdeps/x86/libc-start.h: Likewise.
14835 * sysdeps/x86/link_map.h: Likewise.
14836 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
14837 _CET_ENDBR.
14838 (_dl_runtime_profile): Likewise.
14839 (_dl_runtime_resolve_shstk): New.
14840 (_dl_runtime_profile_shstk): Likewise.
14841 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
14842 if CET is enabled.
14843 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
14844 (CFLAGS-.os): Likewise.
14845 (CFLAGS-.op): Likewise.
14846 (CFLAGS-.oS): Likewise.
14847 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
14848 is enabled.
14849 (tests-special): Add $(objpfx)check-cet.out.
14850 (cet-built-dso): New.
14851 (+$(cet-built-dso:=.note)): Likewise.
14852 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
14853 ($(objpfx)check-cet.out): New.
14854 (generated): Add check-cet.out.
14855 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
14856 <cet-tunables.h>.
14857 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
14858 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
14859 (init_cpu_features): Call get_cet_status to check CET status
14860 and update dl_x86_feature_1 with CET status. Call
14861 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
14862 (set_x86_shstk). Disable and lock CET in libc.a.
14863 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
14864 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
14865 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
14866 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
14867 (_CET_ENDBR): Define if not defined.
14868 (ENTRY): Add _CET_ENDBR.
14869 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
14870 x86_shstk.
14871 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
14872 _CET_ENDBR.
14873 (_dl_runtime_profile): Likewise.
14874
52b2a80f
RA
148752018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
14876
14877 [BZ #21895]
14878 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
14879 restore r2 on longjmp.
14880 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
14881 test list.
14882 Added rules to build test tst-setjmp-bug21895-static.
14883 Added module setjmp-bug21895 and rules to build a shared object from it.
14884 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
14885 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
14886
3ae725df
WD
148872018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
14888
14889 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
14890 * benchtests/bench-strstr.c: Likewise.
14891 * string/memmem.c (FASTSEARCH): Define.
14892 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
14893 Add support for FASTSEARCH.
14894 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
14895 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
14896 (FASTSEARCH): Define.
14897 * string/test-strcasestr.c: Rename __strnlen to strnlen.
14898 * string/test-strstr.c: Likewise.
14899
31e422ca
L
149002018-07-15 H.J. Lu <hongjiu.lu@intel.com>
14901
14902 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
14903 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
14904
faaee1f0
L
149052018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
14906 H.J. Lu <hongjiu.lu@intel.com>
14907
14908 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
14909 (__longjmp): Restore shadow stack pointer if shadow stack is
14910 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
14911 isn't defined for __longjmp_cancel.
14912 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
14913 (_setjmp): Save shadow stack pointer if shadow stack is enabled
14914 and SHADOW_STACK_POINTER_OFFSET is defined.
14915 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
14916 (setjmp): Save shadow stack pointer if shadow stack is enabled
14917 and SHADOW_STACK_POINTER_OFFSET is defined.
14918 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
14919 (__sigsetjmp): Save shadow stack pointer if shadow stack is
14920 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14921 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
14922 <jmp_buf-ssp.h>.
14923 (____longjmp_chk): Restore shadow stack pointer if shadow stack
14924 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14925 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
14926 Remove jmp_buf-ssp.sym.
14927 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14928 <jmp_buf-ssp.h>.
14929 (____longjmp_chk): Restore shadow stack pointer if shadow stack
14930 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14931 * sysdeps/x86/Makefile (gen-as-const-headers): Add
14932 jmp_buf-ssp.sym.
14933 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
14934 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
14935 (__longjmp): Restore shadow stack pointer if shadow stack is
14936 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
14937 isn't defined for __longjmp_cancel.
14938 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
14939 (__sigsetjmp): Save shadow stack pointer if shadow stack is
14940 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14941
ebff9c5c
L
149422018-07-14 H.J. Lu <hongjiu.lu@intel.com>
14943
14944 [BZ #22563]
14945 * nptl/pthread_create.c: Include <tls-setup.h>.
14946 (__pthread_create_2_1): Call tls_setup_tcbhead.
14947 * sysdeps/generic/tls-setup.h: New file.
14948 * sysdeps/x86/nptl/tls-setup.h: Likewise.
14949 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
14950 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
14951 Likewise.
14952 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
14953 to feature_1.
14954 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
14955 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
14956 (X86_FEATURE_1_SHSTK): Likewise.
14957 (CET_ENABLED): Likewise.
14958 (IBT_ENABLED): Likewise.
14959 (SHSTK_ENABLED): Likewise.
14960
ab74d59f 149612018-07-13 Rafał Lużyński <digitalfreak@lingonborough.com>
0a83bad2
RL
14962
14963 [BZ #23208]
14964 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
14965 (LOCALES): Likewise.
14966 * localedata/dsb_DE.UTF-8.in: New file.
14967 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
14968
046bfed9
FW
149692018-07-12 Florian Weimer <fweimer@redhat.com>
14970
14971 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
14972 __mprotect, not mprotect.
14973
93304f5f
FW
149742018-07-11 Florian Weimer <fweimer@redhat.com>
14975
14976 * io/Makefile (headers): Add bits/statx.h.
14977
4beefeeb
MF
149782018-07-10 Mike FABIAN <mfabian@redhat.com>
14979
14980 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
14981 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
14982 and headers.
14983 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
14984 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
14985 for utf8_gen.py
14986
fd70af45
FW
149872018-07-10 Florian Weimer <fweimer@redhat.com>
14988
14989 * io/Makefile (routines): Add statx.
14990 (tests-internal): Add tst-statx.
14991 * io/Versions (GLIBC_2.28): Export statx.
14992 * io/bits/statx.h: New file.
14993 * io/sys/stat.h [__USE_GNU]: Include it.
14994 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
14995 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
14996 Define.
14997 * io/statx.c: New file.
14998 * io/statx_generic.: Likewise.
14999 * io/tst-statx.: Likewise.
15000 * include/bits/statx.h: Likewise.
15001 * sysdeps/unix/sysv/linux/kernel-features.h
15002 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
15003 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15004 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
15005 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
15006 Undefine.
15007 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15008 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
15009 * sysdeps/unix/sysv/linux/statx.c: New file.
15010 * manual/filesys.texi: Note that statx is undocumented.
15011 * sysdeps/**/libc*.abilist: Update.
15012
b444e8f7
AZ
150132018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15014
15015 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
15016 a kernel issue which lead to test failure in some cases.
15017
7b2f4ced
FW
150182018-07-10 Florian Weimer <fweimer@redhat.com>
15019
15020 [BZ #23036]
15021 * posix/regexec.c (check_node_accept_bytes): When comparing
15022 weights, do not compare an extra byte after the end of the
15023 weights.
15024
4fa34da6
FW
150252018-07-10 Florian Weimer <fweimer@redhat.com>
15026
15027 * libio/readline.c: Fix copyright year.
15028 * libio/tst-readline.c Likewise.
15029 * nss/tst-nss-files-hosts-getent.c: Likewise.
15030
916124ed
FW
150312018-07-06 Florian Weimer <fweimer@redhat.com>
15032
15033 [BZ #18991]
15034 * nss/nss_files/files-XXX.c (internal_getent): Use
15035 __libc_readline_unlocked. Seek back to the start of the line if
15036 parsing failes with ERANGE.
15037 (get_contents_ret, get_contents): Remove.
15038 * nss/tst-nss-files-hosts-getent.c: New file.
15039 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
15040 (tst-nss-files-hosts-getent): Link with -ldl.
15041
3f5e3f5d
FW
150422018-07-06 Florian Weimer <fweimer@redhat.com>
15043
15044 * include/stdio.h (__libc_readline_unlocked): Declare.
15045 (__ftello64, __fseeko64): Declare aliases.
15046 * libio/readline.c: New file.
15047 * libio/tst-readline.c: Likewise.
15048 (routines): Add readline.
15049 (tests-internal): Add tst-readlime.
15050 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
15051 __libc_readline_unlocked.
15052 * libio/fseeko.c (__fseeko): Rename from fseeko.
15053 (fseeko): Add alias.
15054 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
15055 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
15056 (fseeko64): Add alias.
15057 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
15058 * libio/ftello64.c (__ftello64): Rename from ftello64.
15059 (ftello64): Add alias.
15060
397c54c1
SN
150612018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
15062
15063 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
15064 HWCAP_ATOMICS.
15065
d0cd7980
SN
150662018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
15067
15068 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
15069 Use dl_hwcap without masking.
15070 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
15071 Remove HWCAP_CPUID.
15072
ddb3c626
FW
150732018-07-06 Florian Weimer <fweimer@redhat.com>
15074
15075 * conform/conformtest.pl (checknamespace): Escape literal braces
15076 in regular expressions.
15077
bce5911b
AP
150782018-07-06 Amit Pawar <amit.pawar@amd.com>
15079
15080 * sysdeps/x86/cpu-features.c (get_common_indeces):
15081 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
15082 * sysdeps/x86/cpu-features.c (init_cpu_features):
15083 AVX_Fast_Unaligned_Load is disabled for Excavator core.
15084
3a885c1f
FW
150852018-07-05 Florian Weimer <fweimer@redhat.com>
15086
15087 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
15088 protector.
15089 (CFLAGS-elf-init.oS): Likewise.
15090
38cade0c
FW
150912018-07-05 Florian Weimer <fweimer@redhat.com>
15092 Carlos O'Donell <carlos@redhat.com>
15093
15094 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
15095 $(no-stack-protector). stack_chk_fail_local.c can be compiled
15096 with stack protector enabled because there is no risk of infinite
15097 recursion.
15098
9449a295
MR
150992018-07-05 Maciej W. Rozycki <macro@mips.com>
15100
15101 [BZ #19818]
15102 [BZ #23307]
15103 * libc-abis (ABSOLUTE): New ABI.
15104 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
15105 * NEWS: Mention the new ABI.
15106
d6da5cb6
FW
151072018-07-05 Florian Weimer <fweimer@redhat.com>
15108
15109 [BZ # 17662]
15110 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
15111 (RENAME_WHITEOUT): Define.
15112 [__USE_GNU] (renameat2): Declare.
15113 * stdio-common/Makefile (routines): Add renameat2.
15114 (tests): Add tst-renameat2.
15115 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
15116 * stdio-common/renameat2.c: New file.
15117 * stdio-common/tst-renameat2.c: Likewise.
15118 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
15119 * manual/filesys.texi (Temporary Files): Note that renameat2 is
15120 undocumented.
15121 * sysdeps/unix/sysv/linux/kernel-features.h
15122 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
15123 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15124 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
15125 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15126 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
15127 * sysdeps/unix/sysv/linux/sh/kernel-features.h
15128 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
15129 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15130 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
15131 * include/stdio.h (__renameat): Add alias for renameat.
15132 * stdio-common/renameat.c (__renameat): Rename from renameat.
15133 Add hidden definition and alias.
15134 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
15135 * sysdeps/mach/hurd/renameat.c: Likewise.
15136 * sysdeps/**/libc*.abilist: Add renameat2.
15137
1002d708
AZ
151382018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15139
15140 * posix/bug-regex33.c: Fix build after regex sync.
15141
34fdb893
CD
151422018-07-04 Carlos O'Donell <carlos@redhat.com>
15143
15144 [BZ #23164]
15145 * localedata/tst-langinfo-setlocale.c: New file.
15146 * localedata/tst-langinfo-setlocale-static.c: New file.
15147 * localedata/tst-langinfo-newlocale.c: New file.
15148 * localedata/tst-langinfo-newlocale-static.c: New file.
15149 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
15150 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
15151 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
15152 (tests-static): Remove tst-langinfo-static. Add
15153 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
15154 (tests-special): Remove $(objpfx)tst-langinfo.out,
15155 $(objpfx)tst-langinfo-static.out. Add
15156 $(objpfx)tst-langinfo-setlocale.out,
15157 $(objpfx)tst-langinfo-newlocale.out,
15158 $(objpfx)tst-langinfo-setlocale-static.out,
15159 $(objpfx)tst-langinfo-newlocale-static.out.
15160 ($(objpfx)tst-langinfo.out): Remove.
15161 ($(objpfx)tst-langinfo-static.out): Remove.
15162 ($(objpfx)tst-langinfo-newlocale.out): New target.
15163 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
15164 (test-xfail-tst-langinfo-newlocale-static): Add.
15165 ($(objpfx)tst-langinfo-setlocale.out): New target.
15166 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
15167 * localedata/tst-langinfo.c: Call test_locale.
15168 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
15169 data.
15170
f2873d2d
FW
151712018-07-04 Florian Weimer <fweimer@redhat.com>
15172
15173 testrun.sh: Implement --tool=strace, --tool=valgrind
15174 * Makefile (testrun-script): Define variable.
15175 (testrun.sh): Use variable.
15176 * manual/install.texi (Tools for Compilation): make 4.0 or later
15177 is required.
15178 * configure.ac: Check for make 4.0 or later.
15179 * INSTALL: Regenerate.
15180 * configure: Likewise.
15181
eb04c213
AZ
151822018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15183
15184 [BZ #23233]
15185 [BZ #21163]
15186 [BZ #18986]
15187 [BZ #13762]
15188 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
15189 * posix/PCRE.tests: Remove invalid test.
15190 * posix/bug-regex28.c: Fix expected values for used syntax.
15191 * posix/bug-regex37.c: New file.
15192 * posix/bug-regex38.c: Likewise.
15193 * posix/regcomp.c: Sync with gnulib.
15194 * posix/regex.c: Likewise.
15195 * posix/regex.h: Likewise.
15196 * posix/regex_internal.c: Likewise.
15197 * posix/regex_internal.h: Likewise.
15198 * posix/regexec.c: Likewise.
15199
b11643c2
MF
152002018-06-26 Mike FABIAN <mfabian@redhat.com>
15201
15202 [BZ #23308]
15203 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
15204 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
15205 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
15206 * localedata/unicode-gen/PropList.txt: likewise.
15207 * localedata/unicode-gen/UnicodeData.txt: likewise.
15208 * localedata/charmaps/UTF-8: Regenerate.
15209 * localedata/locales/i18n_ctype: likewise.
15210 * localedata/locales/tr_TR: likewise.
15211 * localedata/locales/translit_circle: likewise.
15212 * localedata/locales/translit_cjk_compat: likewise.
15213 * localedata/locales/translit_combining: likewise.
15214 * localedata/locales/translit_compat: likewise.
15215 * localedata/locales/translit_font: likewise.
15216 * localedata/locales/translit_fraction: likewise.
15217
5a357506
FW
152182018-07-03 Florian Weimer <fweimer@redhat.com>
15219
15220 [BZ #23363]
15221 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
15222 * stdio-common/tst-printf.sh: Adjust expected output.
15223 * LICENSES: Update.
15224
7279af00
AZ
152252018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15226
15227 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
15228 symbol.
15229
b7b88cea
GG
152302018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15231
15232 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
15233 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
15234 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
15235 * stdio-common/tst-printfsz-islongdouble.c: New file.
15236 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
15237 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
15238 [subdir == stdio-common] (routines): Add ieee128-printf_size.
15239 [subdir == stdio-common] (tests-internal): Add
15240 test-printf-size-ieee128, and test-printf-size-ibm128.
15241 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
15242 (CFLAGS-test-printf-size-ibm128.c): New variables.
15243 [subdir == stdio-common] (tests-special): Add
15244 $(objpfx)test-printf-size-ieee128.out and
15245 $(objpfx)test-printf-size-ibm128.out.
15246 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
15247 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
15248 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
15249 __printf_sizeieee128.
15250 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
15251 New file.
15252 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
15253 Likewise.
15254 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
15255 Likewise.
15256
2b445206
SN
152572018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
15258
15259 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
15260 (exp2f_inline): Likewise.
15261 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
15262 (__math_uflowf): Likewise.
15263 (__math_may_uflowf): Likewise.
15264 (__math_divzerof): Likewise.
15265 (__math_invalidf): Likewise.
15266 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
15267 (__math_oflowf): Likewise.
15268 (__math_uflowf): Likewise.
15269 (__math_may_uflowf): Likewise.
15270 (__math_divzerof): Likewise.
15271 (__math_invalidf): Likewise.
15272
2827ab99
CD
152732018-06-29 DJ Delorie <dj@redhat.com>
15274 Carlos O'Donell <carlos@redhat.com>
15275
15276 [BZ #23329]
15277 * include/libc-symbols.h: Comment the freeres framework.
15278 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
15279 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
15280 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
15281 * dlfcn/dlerror.c: Include libc-symbols.h
15282 (__dlerror_main_freeres): New function.
15283 * dlfcn/dlfreeres.c: New file.
15284 * dlfcn/sdlfreeres.c: New file.
15285 * include/dlfcn.h: Declare __dlerror_main_freeres.
15286 * malloc/set-freeres.c: Declare __libdl_freeres, and
15287 __libpthread_freeres.
15288 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
15289 the releavant libraries are loaded.
15290 * malloc/thread-freeres.c: Add comments.
15291 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
15292 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
15293 * nptl/allocatestack.c (__nptl_free_stacks): New function.
15294 (__free_stacks): Rename to...
15295 (free_stacks): ...this. Mark static.
15296 (queue_stack): Call free_stacks.
15297 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
15298 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
15299 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
15300 ptr_freeres element from struct.
15301 (pthread_functions): Remove .ptr_freeres from struct initializer.
15302 [SHARED] (nptl_freeres): Remove.
15303 * nptl/nptlfreeres.c: New file.
15304 * nptl/pthreadP.h
15305 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
15306 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
15307 attribute_hidden.
15308 (__free_stacks): Rename to...
15309 (__nptl_stacks_freeres): ...this.
15310 (__shm_directory_freeres): Declare.
15311 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
15312 (__nptl_unwind_freeres): ...this.
15313 * resolv/res-close.c: Add comment.
15314 * resolv/resolv_conf.c: Include libc-symbols.h.
15315 * string/strerror_l.c: Include libc-symbols.h.
15316 * sunrpc/rpc_thread.c: Include libc-symbols.h.
15317 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
15318 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
15319 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
15320
37d3d244
RS
153212018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15322
15323 * stdlib/tst-strfmon_l.c: Add tests for long double.
15324
a1e0c5fa
MW
153252018-06-29 Michael Wolf <milupo@sorbzilla.de>
15326
15327 [BZ #23208]
15328 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
15329 * localedata/locales/dsb_DE: New file.
15330
ab74d59f 153312018-06-29 Rafał Lużyński <digitalfreak@lingonborough.com>
2e0c5de6
RL
15332
15333 [BZ #23140]
15334 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
15335 genitive case).
15336 (alt_mon): New entry, import from CLDR (nominative case).
15337
cdb52c71
SL
153382018-06-29 Sylvain Lesage <severo@rednegra.net>
15339
15340 [BZ #22996]
15341 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
15342
ce76a5cb
SP
153432018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
15344
0aec4c1d
SP
15345 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
15346 Use vector registers.
15347
ce76a5cb
SP
15348 * sysdeps/aarch64/multiarch/memmove_falkor.S
15349 (__memcpy_falkor): Use vector registers.
15350
7e8989d0
MS
153512018-06-29 Martin Sebor <msebor@redhat.com>
15352
15353 * manual/stdio.texi (Customizing Printf): Mention interaction
15354 with GCC built-ins.
15355
bac15a72
MR
153562018-06-29 Maciej W. Rozycki <macro@mips.com>
15357
15358 [BZ #23307]
15359 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
15360 `st_value' is 0 if `st_shndx' is SHN_ABS.
15361 * elf/tst-absolute-zero.c: New file.
15362 * elf/tst-absolute-zero-lib.c: New file.
15363 * elf/tst-absolute-zero-lib.lds: New file.
15364 * elf/Makefile (tests): Add `tst-absolute-zero'.
15365 (modules-names): Add `tst-absolute-zero-lib'.
15366 (LDLIBS-tst-absolute-zero-lib.so): New variable.
15367 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
15368 ($(objpfx)tst-absolute-zero: New dependency.
15369
e69d994a
ZW
153702018-06-29 Zack Weinberg <zackw@panix.com>
15371
15372 * configure.ac: New command-line option --disable-crypt.
15373 Force --disable-nss-crypt when --disable-crypt is given, with a
15374 warning if it was explicitly enabled.
15375 * configure: Regenerate.
15376 * config.make.in: New boolean substitution variable $(build-crypt).
15377 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
15378 when $(build-crypt).
15379 * manual/install.texi: Document --disable-crypt.
15380 * INSTALL: Regenerate.
15381
15382 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
15383 which is never set.
15384 * conform/Makefile: Only include libcrypt.a in
15385 linknamespace-libs-xsi and linknamespace-libs-XPG4
15386 when $(build-crypt).
15387 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
15388 USE_CRYPT to 1 when $(build-crypt).
15389 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
15390 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
15391 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
15392
841785ba
ZW
153932018-06-29 Zack Weinberg <zackw@panix.com>
15394
15395 * crypt/crypt.h, posix/unistd.h: Update comments and
15396 prototypes for crypt and crypt_r.
15397
15398 * manual/crypt.texi (Cryptographic Functions): New initial
15399 exposition.
15400 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
15401 (Unpredictable Bytes): Improve initial exposition. Clarify error
15402 behavior of getentropy and getrandom.
15403 * manual/examples/genpass.c: Generate a salt using getentropy
15404 instead of the current time. Use hash $5$ (SHA-2-256).
15405 * manual/examples/testpass.c: Demonstrate validation against
15406 hashes generated with three different one-way functions.
15407
15408 * manual/intro.texi: crypt.texi does not need an overview
15409 anymore.
15410
15411 * manual/nss.texi, manual/memory.texi, manual/socket.texi
15412 * manual/terminal.texi: Consistently refer to "passphrases"
15413 * instead of "passwords", and to the "user database" instead
15414 * of the "password database".
15415 * manual/users.texi: Similarly. Add notes about how actual
15416 passphrase hashes are now stored in the shadow database.
15417 Remove 20-year-old junk todo note.
15418
6ab902e4
ZW
154192018-06-29 Zack Weinberg <zackw@panix.com>
15420
15421 * manual/crypt.texi: Use a normal top-level @node declaration.
15422 Move most of the introductory text to the 'crypt' section.
15423 Move the example programs below the @deftypefun for 'crypt_r'.
15424 Move the 'getpass' section...
15425 * manual/terminal.texi: ...here.
15426
b10a0acc
ZW
154272018-06-29 Zack Weinberg <zackw@panix.com>
15428 Florian Weimer <fweimer@redhat.com>
15429
15430 * posix/unistd.h: Do not declare encrypt.
15431 (_XOPEN_CRYPT): Remove macro definition.
15432 (crypt): Declare only for _USE_MISC.
15433 * stdlib/stdlib.h: Do not declare setkey.
15434 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
15435 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
15436
15437 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
15438 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
15439 into compat symbols. Don't define initial_perm if it's not
15440 going to be used.
15441 * crypt/cert.c: Link explicitly with the expected versions for
15442 setkey and encrypt. If they are not available at all, mark
15443 the test as unsupported.
15444
15445 * sunrpc/des_crypt.c: Unconditionally block linkage with
15446 cbc_crypt and ecb_crypt for new binaries.
15447 * sunrpc/des_soft.c: Unconditionally block linkage with
15448 des_setparity for new binaries.
15449
15450 * manual/crypt.texi: Remove the entire "DES Encryption"
15451 section. Also remove the paragraph talking about FIPS 140-2
15452 from the introduction.
15453 * manual/string.texi (strfry, memfrob): Revise. Recommend use
15454 of libgcrypt for "real" encryption, not DES.
15455 * manual/conf.texi (Constants for Sysconf): Mention that
15456 _XOPEN_CRYPT is no longer impelemented.
15457
15458 * conform/data/unistd.h-data: Remove crypt function declaration.
15459
524d796d
FW
154602018-06-29 Florian Weimer <fweimer@redhat.com>
15461
15462 [BZ #23351]
15463 * malloc/hooks.c: Update comments on restoring of dumped heaps.
15464 (disallow_malloc_check): Remove variable.
15465 (__malloc_check_init): Adjust.
15466 (malloc_set_state): Update comment.
15467 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
15468 declarations.
15469
ab74d59f 154702018-06-29 Rafał Lużyński <digitalfreak@lingonborough.com>
339124ab
RL
15471
15472 [BZ #23140]
15473 * localedata/locales/ast_ES (mon): Rename to...
15474 (alt_mon): This.
15475 (mon): Import from CLDR (genitive case).
15476
c1f86a33
DA
154772018-06-29 Daniel Alvarez <dalvarez@redhat.com>
15478 Jakub Sitnicki <jkbs@redhat.com>
15479
15480 [BZ #21812]
15481 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
15482 on NLM_F_DUMP_INTR.
15483
0b11b649
SN
154842018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
15485
15486 * manual/llio.texi: Remove spurious space.
15487
c1c2848b
FW
154882018-06-28 Florian Weimer <fweimer@redhat.com>
15489
15490 [BZ #23349]
15491 * time/bits/types/struct_timespec.h: Change header inclusion guard to
15492 _STRUCT_TIMESPEC.
15493
86a0f561
RS
154942018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15495
15496 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
6b5c8607 15497 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
86a0f561
RS
15498 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
15499 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
15500 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
15501 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
15502 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
15503
780684eb
MR
155042018-06-27 Maciej W. Rozycki <macro@mips.com>
15505
15506 [BZ #23266]
15507 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
15508 Copy and null-terminate entries that are not terminated, in
15509 addition to empty ones.
15510
c49e1822
FW
155112018-06-27 Florian Weimer <fweimer@redhat.com>
15512
15513 [BZ #18023]
b39d961c
TS
15514 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
15515 (extend_alloca_account): Remove.
c49e1822
FW
15516 * manual/stdio.texi (Variable Arguments Output): Update comment.
15517
a833e627
JM
155182018-06-27 Joseph Myers <joseph@codesourcery.com>
15519
15520 * nptl/sockperf.c: Remove file.
15521
92d6aa85
FW
155222018-06-27 Florian Weimer <fweimer@redhat.com>
15523
15524 [BZ #18023]
15525 * elf/dl-deps.c (_dl_map_object_deps): Use struct
15526 scratch_buffer instead of extend_alloca.
15527
890c2ced
FW
155282018-06-27 Florian Weimer <fweimer@redhat.com>
15529
15530 [BZ #18023]
15531 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
15532 scratch_buffer instead of extend_alloca. Update comments.
15533
4272059d
FW
155342018-06-27 Florian Weimer <fweimer@redhat.com>
15535
15536 [BZ #18023]
15537 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
15538 instead of extend_alloca.
15539
27f10a09
JM
155402018-06-26 Joseph Myers <joseph@codesourcery.com>
15541
15542 [BZ #13888]
15543 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
15544 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
15545 /tmp.
15546 * scripts/test-installation.pl: Put temporary files in build
15547 directory, not /tmp.
15548 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
15549 (CFLAGS-bug4.c): Likewise.
15550 (CFLAGS-bug5.c): Likewise.
15551 (CFLAGS-test-fseek.c): Likewise.
15552 (CFLAGS-test-popen.c): Likewise.
15553 (CFLAGS-test_rdwr.c): Likewise.
15554 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
15555 /tmp.
15556 * stdio-common/bug4.c (main): Likewise.
15557 * stdio-common/bug5.c (main): Likewise.
15558 * stdio-common/test-fseek.c (TESTFILE): Likewise.
15559 * stdio-common/test-popen.c (do_test): Likewise.
15560 * stdio-common/test_rdwr.c (main): Likewise.
15561
05598a09
PF
155622018-06-26 Patsy Franklin <pfrankli@redhat.com>
15563
15564 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
15565 (sem_open): Set sem.newsem.pad to zero for valgrind.
15566
06ab719d
AZ
155672018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15568
15569 [BZ #20251]
15570 * NEWS: Mention fcntl64 addition.
15571 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
15572 * login/utmp_file.c: Likewise.
15573 * sysdeps/posix/fdopendir.c: Likewise.
15574 * sysdeps/posix/opendir.c: Likewise.
15575 * sysdeps/unix/pt-fcntl.c: Likewise.
15576 * include/fcntl.h (__libc_fcntl64, __fcntl64,
15577 __fcntl64_nocancel_adjusted): New prototype.
15578 (__fcntl_nocancel_adjusted): Remove prototype.
15579 * io/Makefile (routines): Add fcntl64.
15580 (CFLAGS-fcntl64.c): New rule.
15581 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
15582 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
15583 * io/fcntl.h (fcntl64): Add prototype and redirect if
15584 __USE_FILE_OFFSET64 is defined.
15585 * io/fcntl64.c: New file.
15586 * manual/llio.text: Add a note for which commands fcntl acts a
15587 cancellation point.
15588 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
15589 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
15590 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
15591 New symbols.
15592 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
15593 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
15594 non-LFS case.
15595 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
15596 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
15597 to __fcntl64_nocancel.
15598 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
15599 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
15600 to __fcntl64_nocancel.
15601 * sysdeps/generic/not-cancel.h: Likewise.
15602 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
15603 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
15604 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
15605 (fcntl64): New symbol.
15606 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15607 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15608 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15611 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15612 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15613 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15614 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15615 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15616 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
15617 fcntl64): Likewise.
15618 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15619 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
15620 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15621 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15622 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15623 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15624 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15625 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15626 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15628 Likewise.
15629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15630 Likewise.
15631 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15632 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15633 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15634
124e0258
FW
156352018-06-26 Florian Weimer <fweimer@redhat.com>
15636
15637 Run thread shutdown functions in an explicit order.
15638 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
15639 definition.
15640 (__libc_thread_freeres): Call thread shutdown functions
15641 explicitly.
15642 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
15643 * include/string.h (__strerror_thread_freeres): Declare.
15644 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
15645 arena_thread_freeres. No longer static. Remove thread shutdown
15646 hook registration.
15647 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
15648 Declare.
15649 * resolv/res-close.c (__res_thread_freeres): Renamed from
15650 res_thread_freeres. No longer static. Remove thread shutdown
15651 hook registration.
15652 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
15653 * resolv/resolv_conf.c (freeres): Remove incorrect section
15654 attribute and use libc_freeres_fn.
15655 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
15656 strerror_thread_freeres. No longer static. Remove thread
15657 shutdown hook registration.
15658 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
15659 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
15660 shutdown hook registration.
15661 * Makerules (shlib.lds): Do not provide section boundary symbols
15662 for __libc_thread_subfreeres.
15663 * manual/memory.texi (Basic Allocation): Update comment.
15664
935d920e
FW
156652018-06-26 Florian Weimer <fweimer@redhat.com>
15666
15667 Remove always-defined _RPC_THREAD_SAFE_ macro.
15668 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
15669 Do not define _RPC_THREAD_SAFE_.
15670 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
15671 conditional.
15672 * sunrpc/clnt_perr.c: Likewise.
15673 * sunrpc/clnt_raw.c: Likewise.
15674 * sunrpc/clnt_simp.c: Likewise.
15675 * sunrpc/key_call.c: Likewise.
15676 * sunrpc/rpc_common.c: Likewise.
15677 * sunrpc/rpc_main.c: Likewise.
15678 * sunrpc/rpc_thread.c: Likewise.
15679 * sunrpc/svc.c: Likewise.
15680 * sunrpc/svc_raw.c: Likewise.
15681 * sunrpc/svc_simple.c: Likewise.
15682 * sumrpc/svcauth_des.c: Likewise.
15683
29055464
FW
156842018-06-26 Florian Weimer <fweimer@redhat.com>
15685
15686 * libio/Makefile (tests-internal): Add tst-vtables,
15687 tst-vtables-interposed.
15688 * libio/tst-vtables.c: New file.
15689 * libio/tst-vtables-common.c: Likewise.
15690 * libio/tst-vtables-interposed.c: Likewise.
15691
5c0202af
FW
156922018-06-26 Florian Weimer <fweimer@redhat.com>
15693
15694 * support/support_test_main.c (support_test_main): Only call
15695 setvbuf if not disables.
15696 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
15697 * support/test-driver.h (struct test_config): Add no_setvbuf member.
15698
c402355d
FW
156992018-06-26 Florian Weimer <fweimer@redhat.com>
15700
15701 [BZ #23313]
15702 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
15703
43b1048a
FW
157042018-06-25 Florian Weimer <fweimer@redhat.com>
15705
15706 [BZ #18023]
15707 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15708 Use struct scratch_buffer instead of extend_alloca.
15709
1599ed4e
FW
157102018-06-25 Florian Weimer <fweimer@redhat.com>
15711
15712 [BZ #18023]
15713 * nss/getent.c (initgroups_keys): Use dynarray instead of
15714 extend_alloca.
15715
a26fe163
FW
157162018-06-25 Florian Weimer <fweimer@redhat.com>
15717
15718 [BZ #18023]
15719 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
15720 Use struct scratch_buffer instead of extend_alloca.
15721
90d9d9ce
FW
157222018-06-25 Florian Weimer <fweimer@redhat.com>
15723
15724 [BZ #18023]
15725 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
15726 back to malloc directly, without stack allocations.
15727
6b7b2aba
FW
157282018-06-25 Florian Weimer <fweimer@redhat.com>
15729
15730 [BZ #18023]
15731 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
15732 of extend_alloca.
15733
2f9f0d18
FW
157342018-06-25 Florian Weimer <fweimer@redhat.com>
15735
15736 [BZ #18023]
15737 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
15738 of extend_alloca.
15739 * nscd/hstcache.c (addhstbyX): Likewise.
15740 * nscd/pwdcache.c (addpwbyX): Likewise.
15741 * nscd/servicescache.c (addservbyX): Likewise.
15742
318bad78
FW
157432018-06-25 Florian Weimer <fweimer@redhat.com>
15744
15745 [BZ #18023]
15746 * nscd/connections.c (read_cmdline): New function.
15747 (restart): Use it. Update comment.
15748
ab74d59f 157492018-06-25 Rafał Lużyński <digitalfreak@lingonborough.com>
189699ab
RL
15750
15751 [BZ #23140]
15752 * localedata/locales/csb_PL (mon): Rename to...
15753 (alt_mon): This.
15754 (abmon): Rename to...
15755 (ab_alt_mon): This.
15756 (mon): Add with proper genitive forms, copy from Wikipedia.
15757 (abmon): Likewise.
15758
ab74d59f 157592018-06-25 Rafał Lużyński <digitalfreak@lingonborough.com>
0ea3f13c
RL
15760
15761 [BZ #19485]
15762 * localedata/locales/csb_PL (mon): Fix typos:
15763 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
15764 (yesstr): Add, value is "jo".
15765 (nostr): Add, value is "nié".
15766
d93f4ff1
TMQMF
157672018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15768
15769 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
15770 all log1p and significand functions on m680x0.
15771 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
15772 of s_significand.c..
15773 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
15774 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
15775 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
15776 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
15777 s_log1p.c and include it..
15778
f6299d2a
VC
157792018-06-21 Vincent Chen <vincentc@andestech.com>
15780
15781 * elf/elf.h (R_NDS32_NONE): New define.
15782 (R_NDS32_32_RELA): Likewise.
15783 (R_NDS32_COPY): Likewise.
15784 (R_NDS32_GLOB_DAT): Likewise.
15785 (R_NDS32_JUMP_SLOT): Likewise.
15786 (R_NDS32_RELATIVE): Likewise.
15787 (R_NDS32_TLS_TPOFF): Likewise.
15788 (R_NDS32_TLS_DESC): Likewise.
15789
61ab61c2
MW
157902018-06-21 Mark Wielaard <mark@klomp.org>
15791
15792 * elf/elf.h (R_BPF_MAP_FD): Removed.
15793 (R_BPF_64_64, R_BPF_64_32): New.
15794
f496b28e
FW
157952018-06-21 Florian Weimer <fweimer@redhat.com>
15796
15797 [BZ #23253]
15798 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
15799 Renamed from libc_feholdsetround_ctx.
15800 (default_libc_feresetround_ctx): Renamed from
15801 libc_feresetround_ctx.
15802 (default_libc_feholdsetround_noex_ctx): Renamed from
15803 libc_feholdsetround_noex_ctx.
15804 (default_libc_feresetround_noex_ctx): Renamed from
15805 libc_feresetround_noex_ctx.
15806 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
15807 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
15808 forwardning to the old implementations under the new names.
15809 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
15810 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
15811 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
15812 (libc_feresetround_ctx): Forward to default implements for i386
15813 and MATH_SET_BOTH_ROUNDING_MODES.
15814 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
15815 Add -DMATH_SET_BOTH_ROUNDING_MODES.
15816
1760daad
JM
158172018-06-20 Joseph Myers <joseph@codesourcery.com>
15818
99c7adf9
JM
15819 * string/tst-cmp.c: Include <libc-diag.h>.
15820 (strncmp_max): Disable -Wstringop-overflow= around call to
15821 strncmp.
15822 (strncasecmp_max): Disable -Wstringop-overflow= around call to
15823 strncasecmp.
15824
1760daad
JM
15825 * string/bug-strpbrk1.c: Include <libc-diag.h>.
15826 (main): Disable -Wunused-value around call to strpbrk.
15827 * string/bug-strspn1.c: Include <libc-diag.h>.
15828 (main): Disable -Wunused-value around call to strspn.
15829
209ae17c
TMQMF
158302018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15831 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15832
15833 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
15834 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
15835
badba23c
TMQMF
158362018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15837
5e79e029
TMQMF
15838 * math/Makefile (libm-calls): Move s_significandF to...
15839 (gen-libm-calls): ... here.
15840 * math/s_significand_template.c: New file.
15841 * math/s_significand.c: Removed.
15842 * math/s_significandf.c: Removed.
15843 * math/s_significandl.c: Removed.
15844 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
15845 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
15846
badba23c
TMQMF
15847 * math/e_exp2_template.c (declare_mgen_finite_alias,
15848 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
15849 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
15850 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
15851
2d1c89a5
FW
158522018-06-20 Florian Weimer <fweimer@redhat.com>
15853
15854 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
15855
646c2833
JM
158562018-06-19 Joseph Myers <joseph@codesourcery.com>
15857
15858 [BZ #23280]
15859 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
15860 floating-point number to strtod functions rather than possibly
15861 negating result of those functions.
15862 * stdio-common/tst-scanf-round.c: New file.
15863 * stdio-common/Makefile (tests): Add tst-scanf-round.
15864 ($(objpfx)tst-scanf-round): Depend on $(libm).
15865
c77e4dc0
ST
158662018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15867
15868 * sysdeps/mach/hurd/localplt.data: Move to...
15869 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
15870 R_386_GLOB_DAT like on Linux i386.
15871
91b2f3e5
JM
158722018-06-18 Joseph Myers <joseph@codesourcery.com>
15873
f2857da7
JM
15874 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
15875 (SHM_STAT_ANY): New macro.
15876 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
15877 (SHM_STAT_ANY): Likewise.
15878 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
15879 (SHM_STAT_ANY): Likewise.
15880 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
15881 (SHM_STAT_ANY): Likewise.
15882 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
15883 (SHM_STAT_ANY): Likewise.
15884 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
15885 (SHM_STAT_ANY): Likewise.
15886 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
15887 (SHM_STAT_ANY): Likewise.
15888 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
15889 (SHM_STAT_ANY): Likewise.
15890 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
15891 (SHM_STAT_ANY): Likewise.
15892 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
15893 (SHM_STAT_ANY): Likewise.
15894 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
15895 (SHM_STAT_ANY): Likewise.
15896 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
15897 (SHM_STAT_ANY): Likewise.
15898
176c7fee
JM
15899 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
15900 (SEM_STAT_ANY): New macro.
15901 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
15902 (SEM_STAT_ANY): Likewise.
15903 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
15904 (SEM_STAT_ANY): Likewise.
15905 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
15906 (SEM_STAT_ANY): Likewise.
15907 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
15908 (SEM_STAT_ANY): Likewise.
15909 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
15910 (SEM_STAT_ANY): Likewise.
15911 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
15912 (SEM_STAT_ANY): Likewise.
15913 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
15914 (SEM_STAT_ANY): Likewise.
15915 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
15916 (SEM_STAT_ANY): Likewise.
15917 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
15918 (SEM_STAT_ANY): Likewise.
15919
86bf0019
JM
15920 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
15921 (MSG_STAT_ANY): New macro.
15922 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
15923 (MSG_STAT_ANY): Likewise.
15924 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
15925 (MSG_STAT_ANY): Likewise.
15926 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
15927 (MSG_STAT_ANY): Likewise.
15928 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
15929 (MSG_STAT_ANY): Likewise.
15930 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
15931 (MSG_STAT_ANY): Likewise.
15932 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
15933 (MSG_STAT_ANY): Likewise.
15934 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
15935 (MSG_STAT_ANY): Likewise.
15936 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
15937 (MSG_STAT_ANY): Likewise.
15938 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
15939 (MSG_STAT_ANY): Likewise.
15940
91b2f3e5
JM
15941 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
15942 (MAP_TYPE): Change value to 0x2b.
15943
3fe8fc79
FW
159442018-06-18 Florian Weimer <fweimer@redhat.com>
15945
15946 [BZ #15722]
15947 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
15948 socket with SOCK_CLOEXEC.
15949
809dc95d
JM
159502018-06-18 Joseph Myers <joseph@codesourcery.com>
15951
15952 [BZ #23303]
15953 * sysdeps/powerpc/powerpc64/le/Makefile
15954 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
15955 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
15956 (gnulib-tests): Also add $(f128-loader-link) for
15957 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
15958
298a8b59
ST
159592018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
15960
15961 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
15962 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
15963 of sendfile.
15964 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
15965 (sendfile64): New strong alias.
faf7bbc2
ST
15966 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
15967 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
15968 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
f96a85e0
ST
15969 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
15970 attribute.
15971 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
15972 ___pthread_get_cleanup_stack.
932d05f0 15973 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
c1b7586c
ST
15974 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
15975 * mach/shortcut.awk: Make syscall stubs include
15976 <mach-shortcuts-hidden.h> and add hidden definition.
15977 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
7a646a93
ST
15978 (__mach_msg): Add hidden prototype.
15979 * mach/msg.c: Include <mach.h>.
15980 (__mach_msg): Add hidden definition.
b0344cf5
ST
15981 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
15982 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
15983 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
15984 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
8c9d5342
ST
15985 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
15986 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
4d0ac037
ST
15987 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
15988 prototype and definition.
15989 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
15990 hidden target for _hurd_self_sigstate.
298a8b59 15991
b12c1e79
JM
159922018-06-15 Joseph Myers <joseph@codesourcery.com>
15993
15994 [BZ #23007]
15995 * stdlib/tst-strtod-nan-sign-main.c: New file.
15996 * stdlib/tst-strtod-nan-sign.c: Likewise.
15997 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
15998 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
15999 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
16000 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
16001 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
16002
b0debe14
HB
160032018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
16004
16005 [BZ #23007]
16006 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
16007 appropriate sign.
16008
14beef75
FW
160092018-06-14 Florian Weimer <fweimer@redhat.com>
16010
16011 [BZ #23290]
16012 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
16013 that the result stays within the ISO-8859-1 range.
16014 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
16015 characters are defined in IBM273.
16016
c596630b
ST
160172018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
16018
16019 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
16020 __mach_task_self): Remove attribute_hidden.
16021
35ebb6b0
JM
160222018-06-14 Joseph Myers <joseph@codesourcery.com>
16023
16024 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
16025 ignore -Wrestrict for one test.
16026
3c7b9f1f
SE
160272018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
16028 Szabolcs Nagy <szabolcs.nagy@arm.com>
16029
16030 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
16031
c59ee916
FW
160322018-06-14 Florian Weimer <fweimer@redhat.com>
16033
16034 * scripts/update-abilist.sh: Accept empty list of files to patch.
16035
43b5ff50
ST
160362018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
16037
16038 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
16039 test-xfail-check-abi-libmachuser): Add.
c8c910ed
ST
16040 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
16041 __libc_read and __libc_write to __read and __write.
c8c6e6d6 16042 * sysdeps/hurd/include/hurd/port.h: New file.
126b3ec3
ST
16043 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
16044 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
16045 __thread_switch, __evc_wait): Move declarations to...
16046 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
16047 attribute_hidden.
06d1a826
ST
16048 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
16049 use PLT to call _hurd_self_sigstate.
43b5ff50 16050
fcd6b5ac
JM
160512018-06-13 Joseph Myers <joseph@codesourcery.com>
16052
16053 [BZ #23279]
16054 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
16055 MAX_EXP as overflowing.
16056 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
16057 overflow flag.
16058 (round_str): Output also whether result overflows in each rounding
16059 mode.
16060 * stdlib/tst-strtod-round-data: Add more tests.
16061 * stdlib/tst-strtod-round-data.h: Regenerated.
16062 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
16063 (TEST): Handle extra arguments for overflow flags.
16064 (struct test_overflow): New type.
16065 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
16066 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
16067 (test_in_one_mode): Take argument with overflow information.
16068 (do_test): Update calls to test_in_one_mode.
16069
35df5a77
CD
160702018-06-12 Carlos O'Donell <carlos@redhat.com>
16071
a745c837
CD
16072 * elf/dl-load (_dl_dst_substitute): Correct comment.
16073 (_dl_dst_count): Likewise.
16074
35df5a77
CD
16075 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
16076 lll_futex_timed_wait.
16077
48b12ed5
JM
160782018-06-12 Joseph Myers <joseph@codesourcery.com>
16079
16080 [BZ #23277]
16081 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
16082 attribute.
16083 * math/test-nan-const.c: New file.
16084 * math/Makefile (tests): Add test-nan-const.
16085 (CFLAGS-test-nan-const.c): New variable.
16086
cb8f6aff
L
160872018-06-12 H.J. Lu <hongjiu.lu@intel.com>
16088
16089 * benchtests/scripts/compare_strings.py (process_results): Add
16090 funcs argument. Compare only functions which are selected.
16091 (main): Check if base function is among selected functions.
16092 Pass selected functions to process_results.
16093 (__main__): Add -f/--functions argument.
16094
fc2ba803
HZ
160952018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
16096 Hongbo Zhang <hongbo.zhang@linaro.org>
16097
16098 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
16099 __memcpy_falkor for phecda core.
16100 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
16101 __memmove_falkor for phecda core.
16102 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
16103 __memset_falkor for phecda core.
16104 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
16105 for phecda core.
16106 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
16107 macro to identify phecda core.
16108
5aad5f61
CD
161092018-06-12 Carlos O'Donell <carlos@redhat.com>
16110 Andreas Schwab <schwab@suse.de>
16111 Dmitry V. Levin <ldv@altlinux.org>
6b5c8607 16112 Florian Weimer <fweimer@redhat.com>
5aad5f61
CD
16113
16114 [BZ #23102]
16115 [BZ #21942]
16116 [BZ #18018]
16117 [BZ #23259]
16118 CVE-2011-0536
16119 * elf/dl-dst.h: Remove DL_DST_COUNT.
16120 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
16121 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
16122 (is_dst): Comment. Support ELF gABI.
16123 (_dl_dst_count): Comment. Simplify and count DSTs.
16124 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
16125 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
16126 locals.
16127
329ea513
ZW
161282018-06-12 Zack Weinberg <zackw@panix.com>
16129
16130 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
16131 * sysdeps/unix/sysv/linux/dl-sysdep.c
16132 Include not-cancel.h. Use __close_nocancel instead of __close,
16133 __open64_nocancel instead of __open, __read_nocancel instead of
16134 __libc_read, and __write_nocancel instead of __libc_write.
16135
16136 * csu/check_fds.c (check_one_fd)
16137 * sysdeps/posix/fdopendir.c (__fdopendir)
16138 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
b39d961c 16139 instead of __fcntl and/or __libc_fcntl.
329ea513
ZW
16140
16141 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
16142 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
b39d961c 16143 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
329ea513
ZW
16144 Use __open64_nocancel instead of __open_nocancel.
16145
16146 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
16147 hidden_proto declarations to the end and issue them if either
16148 IS_IN(libc) or IS_IN(rtld).
16149 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
16150 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
16151 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
16152 read_nocancel, waitpid_nocancel, write_nocancel.
16153
b39d961c
TS
16154 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
16155 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
16156 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
329ea513 16157
b39d961c
TS
16158 * nptl/pt-fcntl.c: New file.
16159 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
16160 (libpthread-routines): Add pt-fcntl.
16161 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
16162 (__libc_fcntl): Remove attribute_hidden.
329ea513
ZW
16163 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
16164 __fcntl_nocancel_adjusted, not fcntl_common.
b39d961c 16165 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
329ea513
ZW
16166 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
16167 to fcntl_nocancel.c.
16168 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
16169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
16170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16171 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
16172
16173 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
16174 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
16175 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
16176 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
16177 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
16178 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
16179 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
16180 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
16181 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
16182 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
16183 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
16184 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
16185 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
16186 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
16187 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
16188 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
16189 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
16190 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
16191 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
16192 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
16193
b39d961c
TS
16194 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
16195 libpthread-routines.
16196 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
16197 defines nothing.
329ea513 16198
b39d961c
TS
16199 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
16200 __libc_read, and __write instead of __libc_write. Define
16201 __open64 in addition to __open.
329ea513 16202
0221ce2a
L
162032018-06-12 H.J. Lu <hongjiu.lu@intel.com>
16204
16205 [BZ #23250]
16206 [BZ #10686]
16207 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
16208 to _private_tm[3] and add __glibc_reserved2.
16209 Add _Static_assert of offset of __private_ss == 0x30.
16210 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
16211 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
16212
e826574c
FW
162132018-06-12 Florian Weimer <fweimer@redhat.com>
16214
16215 x86: Make strncmp usable from rtld.
16216 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
16217 __strncmp_ia32 if in libc (and not in rtld).
16218 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
16219 strncmp if not in libc (and not to __strncmp_sse2).
16220
ab74d59f 162212018-06-12 Rafał Lużyński <digitalfreak@lingonborough.com>
c4ad5782
RL
16222
16223 [BZ #23140]
16224 * localedata/locales/gd_GB (mon): Rename to...
16225 (alt_mon): This.
16226 (mon): Import from CLDR (genitive case).
16227 * localedata/locales/hsb_DE (mon): Rename to...
16228 (alt_mon): This.
16229 (mon): Import from CLDR (genitive case).
16230 * localedata/locales/wa_BE (mon): Rename to...
16231 (alt_mon): This.
16232 (mon): Add, fill with the proper genitive forms, but CLDR data
16233 is incomplete; completed according to the comments in this file.
16234 (d_t_fmt): Do not use "di" before the month name, no longer needed.
16235
16236 * localedata/locales/wa_BE (country_name): Reword
16237 "Beljike" -> "Beldjike".
16238
ca121b11
JM
162392018-06-11 Joseph Myers <joseph@codesourcery.com>
16240
16241 [BZ #23272]
16242 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
16243 cases of non-finite arguments.
16244 * math/libm-test-fma.inc (fma_test_data): Add more tests.
16245
2b69fecb
JDA
162462018-06-10 John David Anglin <danglin@gcc.gnu.org>
16247
16248 [BZ #23174]
16249 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
16250
283d9851
AZ
162512018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16252
16253 [BZ #23264]
16254 * include/unistd.h (__execvpex): New prototype.
16255 * posix/Makefile (tests): Add tst-spawn4.
16256 (tests-internal): Add tst-spawn4-compat.
16257 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
16258 * posix/tst-spawn4-compat.c: New file.
16259 * posix/tst-spawn4.c: Likewise.
16260 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
16261 binaries as shell scripts.
16262 * sysdeps/posix/spawni.c (__spawni): Likewise.
16263
67c05796
L
162642018-06-08 H.J. Lu <hongjiu.lu@intel.com>
16265
16266 [BZ #23145]
16267 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
16268 ($(all-built-dso:=.dynsym): New target.
16269 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
16270 ($(objpfx)check-initfini.out): New target.
16271 (generated): Add check-initfini.out.
16272 * scripts/check-initfini.awk: New file.
16273 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
16274 (_fini): Likewise.
16275 * sysdeps/alpha/crti.S (_init): Mark as hidden.
16276 (_fini): Likewise.
16277 * sysdeps/arm/crti.S (_init): Mark as hidden.
16278 (_fini): Likewise.
16279 * sysdeps/hppa/crti.S (_init): Mark as hidden.
16280 (_fini): Likewise.
16281 * sysdeps/i386/crti.S (_init): Mark as hidden.
16282 (_fini): Likewise.
16283 * sysdeps/ia64/crti.S (_init): Mark as hidden.
16284 (_fini): Likewise.
16285 * sysdeps/m68k/crti.S (_init): Mark as hidden.
16286 (_fini): Likewise.
16287 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
16288 (_fini): Likewise.
16289 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
16290 (_fini): Likewise.
16291 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
16292 (_fini): Likewise.
16293 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
16294 (_fini): Likewise.
16295 * sysdeps/nios2/crti.S (_init): Mark as hidden.
16296 (_fini): Likewise.
16297 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
16298 (_fini): Likewise.
16299 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
16300 (_fini): Likewise.
16301 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
16302 (_fini): Likewise.
16303 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
16304 (_fini): Likewise.
16305 * sysdeps/sh/crti.S (_init): Mark as hidden.
16306 (_fini): Likewise.
16307 * sysdeps/sparc/crti.S (_init): Mark as hidden.
16308 (_fini): Likewise.
16309 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
16310 (_fini): Likewise.
16311
1c09524e
TMQMF
163122018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16313
16314 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
16315 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
16316 and TF redirection to KFtype and KF only when the default
16317 long double type is not the IEEE 128-bit floating point type.
16318
0e0577c9
JM
163192018-06-05 Joseph Myers <joseph@codesourcery.com>
16320
0c1c33b2
JM
16321 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
16322 macro.
16323 (HWCAP_USCAT): Likewise.
16324 (HWCAP_ILRCPC): Likewise.
16325 (HWCAP_FLAGM): Likewise.
16326 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
16327 Increase to 28.
16328 (_dl_aarch64_cap_flags): Add new flag names.
16329
bef1cbf4
JM
16330 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
16331 (MAP_FIXED_NOREPLACE): New macro.
16332 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
16333 (MAP_FIXED_NOREPLACE): Likewise.
16334 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
16335 (MAP_FIXED_NOREPLACE): Likewise.
16336 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16337 (MAP_FIXED_NOREPLACE): Likewise.
16338 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
16339 (MAP_FIXED_NOREPLACE): Likewise.
16340 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
16341 (MAP_FIXED_NOREPLACE): Likewise.
16342 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
16343 (MAP_FIXED_NOREPLACE): Likewise.
16344 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
16345 (MAP_FIXED_NOREPLACE): Likewise.
16346 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
16347 (MAP_FIXED_NOREPLACE): Likewise.
16348 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
16349 (MAP_FIXED_NOREPLACE): Likewise.
16350 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
16351 (MAP_FIXED_NOREPLACE): Likewise.
16352 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
16353 (MAP_FIXED_NOREPLACE): Likewise.
16354 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
16355 (MAP_FIXED_NOREPLACE): Likewise.
16356 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
16357 (MAP_FIXED_NOREPLACE): Likewise.
16358 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
16359 (MAP_FIXED_NOREPLACE): Likewise.
16360
0e0577c9
JM
16361 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16362 version to 4.17.
16363
ab3a0da0
JM
163642018-06-04 Joseph Myers <joseph@codesourcery.com>
16365
16366 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16367 version to 4.17
16368
d2d9dfb6
ST
163692018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16370
16371 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
16372 int.
16373 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
16374
a650b05e
LS
163752018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16376
16377 * benchtests/scripts/compare_string.py: (process_results) Catch
16378 exception in non-existent base_func and catch exception in
16379 non-existent attribute.
16380 (parse_file) Catch exception if input file does not exist.
16381
195abbf4
LS
163822018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16383
16384 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
16385 options to avoid diff calculation and omit header, respectively.
16386 (main): process --no-diff and --no-header
16387
14570163
LS
163882018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16389 H.J. Lu <hongjiu.lu@intel.com>
16390
16391 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16392 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
16393 wcsncmp-sse2.
16394 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16395 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
16396 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
16397 and __wcsncmp_sse2.
16398 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
16399 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
16400 AVX unaligned load is fast and vzeroupper is preferred.
16401 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
16402 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
16403 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
16404 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
16405 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
16406 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
16407 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
16408 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
16409 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
16410 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
16411 is undefined.
16412
e02c026f
FW
164132018-06-01 Florian Weimer <fweimer@redhat.com>
16414
16415 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
16416 configuring with --disable-multi-arch, building with
16417 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
16418 Haswell-era CPU.
16419
d8c19275
FW
164202018-06-01 Florian Weimer <fweimer@redhat.com>
16421
16422 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
16423 results from building with “-march=x86-64 -mtune=generic
16424 -mfpmath=sse” and running on a Haswell-era CPU.
16425
0d2163eb
JM
164262018-06-01 Joseph Myers <joseph@codesourcery.com>
16427
16428 [BZ #18473]
16429 * soft-fp/sqrttf2.c: Remove file.
16430 * soft-fp/sqrtdf2.c: Move to ....
16431 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
16432 <shlib-compat.h>.
16433 (__sqrtdf2): Make conditional on
16434 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
16435 symbol.
16436 * soft-fp/sqrtsf2.c: Move to ....
16437 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
16438 <shlib-compat.h>.
16439 (__sqrtsf2): Make conditional on
16440 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
16441 symbol.
16442 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
16443 (gcc-double-routines): Remove sqrtdf2.
16444 (gcc-quad-routines): Remove sqrttf2.
16445 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
16446 Do not filter out sqrtsf2 and sqrtdf2.
16447 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16448 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
16449
10450210
FW
164502018-06-01 Florian Weimer <fweimer@redhat.com>
16451
16452 * sysdeps/generic/libcidn.abilist: Remove file.
16453
4e8a6346
FW
164542018-06-01 Florian Weimer <fweimer@redhat.com>
16455
16456 [BZ #23236]
16457 * libio/strfile.h (struct _IO_str_fields): Rename members to
16458 discourage their use and add comment.
16459 (_IO_STR_DYNAMIC): Remove unused macro.
16460 * libio/strops.c (_IO_str_init_static_internal): Do not use
16461 callback pointers. Call malloc and free.
16462 (_IO_str_overflow): Do not use callback pointers. Call malloc
16463 and free.
16464 (enlarge_userbuf): Likewise.
16465 (_IO_str_finish): Call free.
16466 * libio/wstrops.c (_IO_wstr_init_static): Initialize
16467 _allocate_buffer_unused.
16468 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
16469 and free.
16470 (enlarge_userbuf): Likewise.
16471 (_IO_wstr_finish): Call free.
16472 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
16473 _allocate_buffer_unused, _free_buffer_unused.
16474 * libio/memstream.c (__open_memstream): Likewise.
16475 * libio/vasprintf.c (_IO_vasprintf): Likewise.
16476 * libio/wmemstream.c (open_wmemstream): Likewise.
16477
50d004c9
PP
164782018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
16479
16480 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
16481 AMD Ryzen 7 1800X.
16482
2c93fce7
RS
164832018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16484
16485 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
16486 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
16487 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
16488 New file.
16489 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
16490 Likewise.
16491 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
16492
0ce2fa69
FW
164932018-05-29 Florian Weimer <fweimer@redhat.com>
16494
16495 * support/Makefile (libsupport-routines): Add
16496 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
16497 xpthread_barrierattr_setpshared.
16498 * support/xpthread_barrierattr_destroy.c: New file.
16499 * support/xpthread_barrierattr_init.c: Likewise.
16500 * support/xpthread_barrierattr_setpshared.c: Likewise.
16501
7f7b5d8d
L
165022018-05-29 H.J. Lu <hongjiu.lu@intel.com>
16503
16504 [BZ #23206]
16505 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
16506 _r_debug and update DT_DEBUG for debugger.
16507
e4890300
FW
165082018-05-29 Florian Weimer <fweimer@redhat.com>
16509
16510 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
16511 (tst-strtod5i.out): Likewise.
16512
2c753f3e
JM
165132018-05-25 Joseph Myers <joseph@codesourcery.com>
16514
b5453d9f
JM
16515 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
16516 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
16517 (sparc64-quad-routines): New variable. Moved from ....
16518 [$(subdir) = soft-fp] (sysdep_routines): Add
16519 $(sparc64-quad-routines). Moved from ....
16520 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
16521 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
16522 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
16523 moved from ....
16524 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
16525 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
16526 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
16527 * sysdeps/sparc/sparc64/qp_add.c: ... here.
16528 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
16529 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
16530 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
16531 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
16532 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
16533 * sysdeps/sparc/sparc64/qp_div.c: ... here.
16534 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
16535 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
16536 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
16537 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
16538 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
16539 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
16540 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
16541 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
16542 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
16543 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
16544 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
16545 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
16546 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
16547 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
16548 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
16549 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
16550 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
16551 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
16552 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
16553 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
16554 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
16555 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
16556 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
16557 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
16558 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
16559 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
16560 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
16561 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
16562 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
16563 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
16564 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
16565 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
16566 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
16567 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
16568 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
16569 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
16570 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
16571 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
16572 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
16573 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
16574 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
16575 * sysdeps/sparc/sparc64/qp_util.c: ... here.
16576 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
16577 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
16578 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
16579 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
16580 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
16581 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
16582
2c753f3e
JM
16583 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
16584 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
16585 (sparc32-quad-routines): New variable. Moved from ....
16586 [$(subdir) = soft-fp] (sysdep_routines): Add
16587 $(sparc32-quad-routines). Moved from ....
16588 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
16589 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
16590 moved from ....
16591 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
16592 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
16593 * sysdeps/sparc/sparc32/q_add.c: ... here.
16594 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
16595 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
16596 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
16597 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
16598 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
16599 * sysdeps/sparc/sparc32/q_div.c: ... here.
16600 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
16601 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
16602 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
16603 * sysdeps/sparc/sparc32/q_feq.c: ... here.
16604 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
16605 * sysdeps/sparc/sparc32/q_fge.c: ... here.
16606 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
16607 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
16608 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
16609 * sysdeps/sparc/sparc32/q_fle.c: ... here.
16610 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
16611 * sysdeps/sparc/sparc32/q_flt.c: ... here.
16612 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
16613 * sysdeps/sparc/sparc32/q_fne.c: ... here.
16614 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
16615 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
16616 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
16617 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
16618 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
16619 * sysdeps/sparc/sparc32/q_mul.c: ... here.
16620 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
16621 * sysdeps/sparc/sparc32/q_neg.c: ... here.
16622 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
16623 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
16624 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
16625 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
16626 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
16627 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
16628 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
16629 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
16630 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
16631 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
16632 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
16633 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
16634 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
16635 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
16636 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
16637 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
16638 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
16639 * sysdeps/sparc/sparc32/q_sub.c: ... here.
16640 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
16641 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
16642 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
16643 * sysdeps/sparc/sparc32/q_util.c: ... here.
16644 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
16645 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
16646 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
16647 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
16648
c1dc1e1b
TMQMF
166492018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16650 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16651
16652 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
16653 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
16654 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
16655 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
16656
14186e8d
JM
166572018-05-24 Joseph Myers <joseph@codesourcery.com>
16658
16659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
16660 powerpc/soft-fp.
16661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
16662 Likewise.
16663 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
16664 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
16665
fb0e10b8
GG
166662018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16667
16668 [BZ #23171]
16669 * math/math.h [C++] (iseqsig): Fix parameter type for the long
16670 double version.
16671
1dfeb17e
JM
166722018-05-23 Joseph Myers <joseph@codesourcery.com>
16673
16674 * sysdeps/sh/Implies: Remove sh/soft-fp.
16675 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
16676 * sysdeps/sh/sfp-machine.h: ... here.
16677
727b38df
L
166782018-05-23 H.J. Lu <hongjiu.lu@intel.com>
16679
16680 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16681 (__mempcpy_erms): Skip zero length.
16682 (__memmove_erms): Likewise.
16683 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
16684 (__memset_erms): Likewise.
16685
2834fb46
JM
166862018-05-23 Joseph Myers <joseph@codesourcery.com>
16687
16688 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
16689 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
16690 Add functions moved from ....
16691 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
16692 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
16693 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
16694 from ....
16695 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
16696 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
16697 * sysdeps/alpha/e_sqrtl.c: ... here.
16698 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
16699 * sysdeps/alpha/local-soft-fp.h: ... here.
16700 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
16701 * sysdeps/alpha/ots_add.c: ... here.
16702 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
16703 * sysdeps/alpha/ots_cmp.c: ... here.
16704 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
16705 * sysdeps/alpha/ots_cmpe.c: ... here.
16706 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
16707 * sysdeps/alpha/ots_cvtqux.c: ... here.
16708 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
16709 * sysdeps/alpha/ots_cvtqx.c: ... here.
16710 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
16711 * sysdeps/alpha/ots_cvttx.c: ... here.
16712 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
16713 * sysdeps/alpha/ots_cvtxq.c: ... here.
16714 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
16715 * sysdeps/alpha/ots_cvtxt.c: ... here.
16716 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
16717 * sysdeps/alpha/ots_div.c: ... here.
16718 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
16719 * sysdeps/alpha/ots_mul.c: ... here.
16720 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
16721 * sysdeps/alpha/ots_nintxq.c: ... here.
16722 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
16723 * sysdeps/alpha/ots_sub.c: ... here.
16724 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
16725 * sysdeps/alpha/sfp-machine.h: ... here.
16726
7f9f1ecb
FW
167272018-05-23 Florian Weimer <fweimer@redhat.com>
16728
16729 [BZ #19728]
16730 [BZ #19729]
16731 [BZ #22247]
16732 CVE-2016-6261
16733 CVE-2016-6263
16734 CVE-2017-14062
16735 Switch to extern IDNA implementation (libidn2).
16736 * libidn: Remove subdirectory.
16737 * LICENSES: Do not mention licensing conditions for the removed
16738 libidn code.
16739 * config.h.in (HAVE_LIBIDN): Remove.
16740 * include/dlfcn.h (__libc_dlopen): Update comment.
16741 * include/idna.h: Remove file.
16742 * inet/Makefile (routines): Add idna.
16743 (tests-static, tests-internal): Add tst-idna_name_classify.
16744 (LOCALES): Generate locales for tests.
16745 (tst-idna_name_classify.out): Depend on generated locales.
16746 * inet/idna_name_classify.c: New file.
16747 * inet/tst-idna_name_classify.c: Likewise.
16748 * inet/net-internal.h (__idna_to_dns_encoding)
16749 (__idna_from_dns_encoding): Declare.
16750 * inet/net-internal.h (enum idna_name_classification): Define.
16751 (__idna_name_classify): Declare.
16752 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
16753 __idna_from_dns_encoding.
16754 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
16755 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
16756 name as a fallback in case of encoding errors.
16757 (getnameinfo): Use DEPRECATED_NI_IDN.
16758 * inet/idna.c: New file.
16759 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
16760 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
16761 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
16762 (modules-names): Add tst-no-libidn2.
16763 (extra-test-objs): Add tst-no-libidn2.os.
16764 (LDFLAGS-tst-no-libidn2.so): Set soname.
16765 (LOCALES): Set, and generate locales.
16766 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
16767 (tst-resolv-ai_idn-latin1): Likewise.
16768 (tst-resolv-ai_idn-nolibidn2): Likewise.
16769 (tst-resolv-ai_idn.out): Depend on locales.
16770 (tst-resolv-ai_idn-latin1.out): Depend on locales.
16771 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
16772 tst-no-libidn2.so.
16773 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
16774 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
16775 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
16776 * resolv/tst-resolv-ai_idn.c: New file.
16777 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
16778 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
16779 * resolv/tst-no-libidn2.c: Likewise.
16780 * support/support_format_addrinfo.c (format_ai_flags): Do not
16781 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
16782 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
16783 (gaih_inet): Call __idna_to_dns_encoding and
16784 __idna_from_dns_encoding, and use the original (punycode) name if
16785 __idna_from_dns_encoding fails due to an encoding error.
16786 (getaddrinfo): Use DEPRECATED_AI_IDN.
16787 * sysdeps/unix/inet/Subdirs (libidn): Remove.
16788 * sysdeps/unix/inet/configure: Remove file.
16789 * sysdeps/unix/inet/configure.ac: Likewise.
16790
5f7b841d
FW
167912018-05-23 Florian Weimer <fweimer@redhat.com>
16792
16793 Implement allocate_once.
16794 * include/allocate_once.h: New file.
16795 * misc/allocate_once.c: Likewise.
16796 * misc/tst-allocate_once.c: Likewise.
16797 * misc/Makefile (routines): Add allocate_once.
16798 (tests-internal): Add tst-allocate_once.
16799 (generated): Add tst-allocate_once.mtrace,
16800 tst-allocate_once-mem.out.
16801 (tests-special): Add tst-allocate_once-mem.out.
16802 (tst-allocate_once-ENV): Set MALLOC_TRACE.
16803 (tst-allocate_once-mem.out): Call mtrace.
16804 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
16805
ed983107
L
168062018-05-23 H.J. Lu <hongjiu.lu@intel.com>
16807
16808 [BZ #23196]
16809 * string/test-memcpy.c (do_test1): New function.
16810 (test_main): Call it.
16811
9aaaab7c
AS
168122018-05-23 Andreas Schwab <schwab@suse.de>
16813
16814 [BZ #23196]
16815 CVE-2018-11237
16816 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
16817 (L(preloop_large)): Save initial destination pointer in %r11 and
16818 use it instead of %rax after the loop.
16819 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
16820
5c5c0dd7
JM
168212018-05-22 Joseph Myers <joseph@codesourcery.com>
16822
8f145c77
JM
16823 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
16824 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
16825 -I../soft-fp. Moved from ....
16826 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
16827 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
16828 * sysdeps/aarch64/e_sqrtl.c: ... here.
16829 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
16830 * sysdeps/aarch64/sfp-machine.h: ... here.
16831
3d6302a5
JM
16832 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
16833 -Wmaybe-uninitialized around access to fq[0].
16834 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
16835 Likewise.
16836
5c5c0dd7
JM
16837 [BZ #18471]
16838 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
16839 aliases for non-libc case of versioned symbols.
16840 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
16841 (llseek): Define as compat symbol if
16842 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
16843 with link warning.
16844 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
16845 Make into a compat symbol, disabled for minimum symbol version
16846 GLIBC_2.28 and later.
16847 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
16848
ed0d6988
FW
168492018-05-22 Florian Weimer <fweimer@redhat.com>
16850
16851 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
16852 not add -mpreferred-stack-boundary=4.
16853 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
16854 (stack-align-test-flags): Likewise.
16855 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
16856 Likewise.
16857 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
16858 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
16859 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
16860 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
16861 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
16862 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
16863 (CFLAGS-tst-align2.c): Likewise.
16864
e28e9b1e
L
168652018-05-21 H.J. Lu <hongjiu.lu@intel.com>
16866
16867 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
16868 (index_arch_Prefer_FSRM): Likewise.
16869 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
16870 Also check Prefer_FSRM.
16871 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
16872 Also return OPTIMIZE (erms) for Prefer_FSRM.
16873
1af30adc
L
168742018-05-21 H.J. Lu <hongjiu.lu@intel.com>
16875
16876 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
16877 (index_cpu_FSRM): Likewise.
16878 (reg_FSRM): Likewise.
16879
78274dc8
JM
168802018-05-18 Joseph Myers <joseph@codesourcery.com>
16881
7c67e6e8
JM
16882 * math/gen-tgmath-tests.py: Import sys.
16883 (Tests.__init__): Initialize macros_seen.
16884 (Tests.add_tests): Add macro to macros_seen. Only generate tests
16885 if requested to do so for this macro.
16886 (Tests.add_all_tests): Take argument for macro for which to
16887 generate tests.
16888 (Tests.check_macro_list): New function.
16889 (main): Handle check-list argument and argument specifying macro
16890 for which to generate tests.
16891 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
16892 [PYTHON] (tgmath3-macro-tests): Likewise.
16893 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
16894 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
16895 not test-tgmath3.c.
16896 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
16897 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
16898 to CFLAGS.
16899 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
16900 [PYTHON] ($(foreach
16901 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
16902 rule.
16903 [PYTHON] (tests-special): Add
16904 $(objpfx)test-tgmath3-macro-list.out.
16905 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
16906
ebc129fd
JM
16907 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
16908 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
16909 later.
16910
78274dc8
JM
16911 [BZ #22639]
16912 * time/tzset.c (SECSPERDAY): Cast to time_t.
16913 * time/tst-y2039.c: New file.
16914 * time/Makefile (tests): Add tst-y2039.
16915
6f7fdeeb
LS
169162018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16917
16918 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16919 (PREFETCH_ONE_SET): Remove duplicate line.
16920
e363a91c
FW
169212018-05-17 Florian Weimer <fweimer@redhat.com>
16922
16923 * sysdeps/generic/math-type-macros-double.h: Include
16924 <math-nan-payload-double.h> after <libm-alias-double.h>.
16925 * sysdeps/generic/math-type-macros-float.h: Include
16926 <math-nan-payload-float.h> after <libm-alias-float.h>.
16927 * sysdeps/generic/math-type-macros-float128.h: Include
16928 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
16929 * sysdeps/generic/math-type-macros-ldouble.h: Include
16930 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
16931
dae6c43c
AS
169322018-05-17 Andreas Schwab <schwab@suse.de>
16933
16934 * resolv/res_send.c (__res_context_send): Don't set errno when
16935 returing error after malloc failure.
16936
0068c085
L
169372018-05-17 H.J. Lu <hongjiu.lu@intel.com>
16938
16939 * nptl/allocatestack.c (allocate_stack): Remove the
16940 !__ASSUME_PRIVATE_FUTEX paths.
16941 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
16942 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
16943 Likewise.
16944 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
16945 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
16946 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
16947 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
16948 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
16949 !__ASSUME_PRIVATE_FUTEX path.
16950 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
16951 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
16952 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
16953 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
16954 !__ASSUME_PRIVATE_FUTEX macros.
16955 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
16956 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
16957 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
16958 * sysdeps/unix/sysv/linux/kernel-features.h
16959 (__ASSUME_PRIVATE_FUTEX): Removed.
16960
632a6cbe
JM
169612018-05-17 Joseph Myers <joseph@codesourcery.com>
16962
16963 * math/Makefile (libm-narrow-fns): Add div.
16964 (libm-test-funcs-narrow): Likewise.
16965 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
16966 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
16967 * math/gen-auto-libm-tests.c (test_functions): Add div.
16968 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
16969 (NARROW_DIV_ROUND_TO_ODD): Likewise.
16970 (NARROW_DIV_TRIVIAL): Likewise.
16971 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
16972 macro.
16973 (__ddivl): Likewise.
16974 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
16975 ddiv.
16976 (CFLAGS-nldbl-ddiv.c): New variable.
16977 (CFLAGS-nldbl-fdiv.c): Likewise.
16978 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16979 __nldbl_ddivl.
16980 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
16981 prototype.
16982 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
16983 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
16984 * math/auto-libm-test-in: Add tests of div.
16985 * math/auto-libm-test-out-narrow-div: New generated file.
16986 * math/libm-test-narrow-div.inc: New file.
16987 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
16988 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
16989 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
16990 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
16991 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
16992 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
16993 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
16994 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
16995 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
16996 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
16997 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
16998 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
16999 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
17000 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
17001 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
17002 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
17003 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
17004 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
17005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17006 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17007 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17008 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17009 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17010 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17011 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17012 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17013 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17014 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17015 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17016 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17017 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17018 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17023 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17024 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17025 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17026 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17027 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17028 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17029 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17030 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17031
8c78faa9
AZ
170322018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17033
17034 [BZ #23178]
17035 * nscd/nscd-client.h (sendfileall): Remove prototype.
17036 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
17037 (handle_request): Use writeall instead of sendfileall.
17038 * nscd/aicache.c (addhstaiX): Likewise.
17039 * nscd/grpcache.c (cache_addgr): Likewise.
17040 * nscd/hstcache.c (cache_addhst): Likewise.
17041 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17042 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
17043 * nscd/pwdcache.c (cache_addpw): Likewise.
17044 * nscd/servicescache.c (cache_addserv): Likewise.
17045 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
17046 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
17047 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
17048 Remove define.
17049
04958880
L
170502018-05-16 H.J. Lu <hongjiu.lu@intel.com>
17051
17052 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
17053 Include <string/strncat.c>.
17054 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
17055 alias.
17056 (__GI___strncat): New hidden alias.
17057
c9992d13
JM
170582018-05-16 Joseph Myers <joseph@codesourcery.com>
17059
17060 * sysdeps/mips/mips32/libm-test-ulps: Update.
17061 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17062
2afece36
FW
170632018-05-16 Florian Weimer <fweimer@redhat.com>
17064
17065 * support/Makefile (libsupport-routines): Add support_quote_blob,
17066 support_test_compare_blob.
17067 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
17068 * support/check.h (TEST_COMPARE_BLOB): Define.
17069 (support_test_compare_blob): Declare.
17070 * support/support.h (support_quote_blob): Declare.
17071 * support/support_quote_blob.c: New file.
17072 * support/support_test_compare_blob.c: Likewise.
17073 * support/tst-support_quote_blob.c: Likewise.
17074 * support/tst-test_compare_blob.c: Likewise.
17075
9761bf4d
FW
170762018-05-16 Florian Weimer <fweimer@redhat.com>
17077
17078 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
17079 of <strtod_nan_double.h>.
17080 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
17081 instead of SET_MANTISSA.
17082 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
17083 of include <strtod_nan_float.h>.
17084 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
17085 instead of <strtod_nan_ldouble.h>.
17086 * stdlib/strtod_nan_double.h: Move to ...
17087 * sysdeps/generic/math-nan-payload-double.h: ... here.
17088 (FLOAT): Remove definition.
17089 (SET_MANTISSA): Rename to ...
17090 (SET_NAN_PAYLOAD): ... this.
17091 * stdlib/strtod_nan_float.h: Move to ...
17092 * sysdeps/generic/math-nan-payload-float.h: ... here.
17093 (FLOAT): Remove definition.
17094 (SET_MANTISSA): Rename to ...
17095 (SET_NAN_PAYLOAD): ... this.
17096 * sysdeps/generic/math-type-macros-double.h: Include
17097 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
17098 instead of <math-svid-compat.h>.
17099 * sysdeps/generic/math-type-macros-float.h: Include
17100 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
17101 instead of <math-svid-compat.h>.
17102 * sysdeps/generic/math-type-macros-float128.h: Include
17103 <math-nan-payload-float128.h>.
17104 * sysdeps/generic/math-type-macros-ldouble.h: Include
17105 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
17106 instead of <math-svid-compat.h>.
17107 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
17108 check for definition.
17109 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
17110 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
17111 Include <ieee754_float128.h>.
17112 (FLOAT): Remove definition.
17113 (SET_MANTISSA): Rename to ...
17114 (SET_NAN_PAYLOAD): ... this.
17115 * sysdeps/ieee754/float128/strtof128_nan.c: Include
17116 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
17117 Do not include <float128_private.h>.
17118 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
17119 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
17120 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
17121 (FLOAT): Remove definition.
17122 (SET_MANTISSA): Rename to ...
17123 (SET_NAN_PAYLOAD): ... this.
17124 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
17125 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
17126 (FLOAT): Remove definition.
17127 (SET_MANTISSA): Rename to ...
17128 (SET_NAN_PAYLOAD): ... this.
17129 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
17130 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
17131 (FLOAT): Remove definition.
17132 (SET_MANTISSA): Rename to ...
17133 (SET_NAN_PAYLOAD): ... this.
17134 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
17135 of "../stdlib/strtod_nan_double.h".
17136 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
17137 of "../stdlib/strtod_nan_float.h".
17138 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
17139 instead of "../stdlib/strtod_nan_ldouble.h".
17140 * manual/arith.texi (Parsing of Floats): Adjust comment.
17141
69a01461
JM
171422018-05-16 Joseph Myers <joseph@codesourcery.com>
17143
17144 * math/Makefile (libm-narrow-fns): Add mul.
17145 (libm-test-funcs-narrow): Likewise.
17146 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
17147 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
17148 * math/gen-auto-libm-tests.c (test_functions): Add mul.
17149 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
17150 (NARROW_MUL_ROUND_TO_ODD): Likewise.
17151 (NARROW_MUL_TRIVIAL): Likewise.
17152 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
17153 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
17154 macro.
17155 (__dmull): Likewise.
17156 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
17157 dmul.
17158 (CFLAGS-nldbl-dmul.c): New variable.
17159 (CFLAGS-nldbl-fmul.c): Likewise.
17160 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17161 __nldbl_dmull.
17162 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
17163 prototype.
17164 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
17165 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
17166 * math/auto-libm-test-in: Add tests of mul.
17167 * math/auto-libm-test-out-narrow-mul: New generated file.
17168 * math/libm-test-narrow-mul.inc: New file.
17169 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
17170 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
17171 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
17172 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
17173 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
17174 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
17175 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
17176 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
17177 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
17178 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
17179 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
17180 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
17181 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
17182 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
17183 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
17184 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
17185 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
17186 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
17187 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17188 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17189 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17190 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17191 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17192 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17193 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17194 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17195 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17196 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17197 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17198 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17199 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17200 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17205 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17206 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17207 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17208 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17209 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17210 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17211 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17212 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17213
a15529fd
L
172142018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17215
17216 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
17217 with *%eax in call.
17218
98ee36c7
L
172192018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17220
17221 * sysdeps/i386/ldsodefs.h: Removed.
17222 * sysdeps/x86_64/ldsodefs.h: Moved to ...
17223 * sysdeps/x86/ldsodefs.h: This.
17224 (La_i86_regs): New.
17225 (La_i86_retval): Likewise.
17226 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
17227 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
17228
e322ec32
L
172292018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17230
17231 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
17232 unnecessary testl.
17233
0937e209
AM
172342018-05-13 Alan Modra <amodra@gmail.com>
17235
17236 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
17237 R_PARISC_TLS_DTPOFF32 reloc addend.
17238
5db7d705
TMQMF
172392018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17240
17241 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
17242 * math/math.h: Restrict the prototype definition for the functions
17243 issignaling(_Float128) and iszero(_Float128); and template
17244 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
17245 __HAVE_FLOAT128_UNLIKE_LDBL.
17246 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
17247 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
17248 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
17249 __f128() constants; define the type _Float128 as long double;
17250 and reuse long double in __CFLOAT128.
17251
b4d5b8b0
JM
172522018-05-11 Joseph Myers <joseph@codesourcery.com>
17253
17254 * sysdeps/generic/math_private.h: Do not include
17255 <math-barriers.h>.
17256 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
17257 <math_private.h>.
17258 * math/fromfp.h: Include <math-barriers.h>.
17259 * math/math-narrow.h: Likewise.
17260 * math/s_nextafter.c: Likewise.
17261 * math/s_nexttowardf.c: Likewise.
17262 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
17263 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
17264 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
17265 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
17266 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17267 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17268 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17269 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17270 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17271 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17272 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17273 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17274 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17275 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17276 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
17277 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17278 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17279 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17280 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17281 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17282 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17283 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17284 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17285 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17286 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17287 * sysdeps/ieee754/k_standardl.c: Likewise.
17288 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17289 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17290 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17291 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17292 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17293 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17294 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17295 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17296 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17297 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17298 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17299 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17300 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17301 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17302 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17303 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17304 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
17305 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
17306 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17307 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17308 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
17309 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
17310
fc79706a
FW
173112018-05-11 Florian Weimer <fweimer@redhat.com>
17312
17313 Use 64-bit epoch values in the time zone file parser.
17314 * include/time.h (internal_time_t): Define.
17315 (__tzfile_compute): Use it.
17316 * time/tzfile.c (struct leap): Use internal_time_t for epoch
17317 member.
17318 (transitions): Switch to internal_time_t.
17319 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
17320 types.
17321 (__tzfile_compute): Use internal_time_t for timer argument. Check
17322 for truncation before calling __offtime.
17323
89aacb51
FW
173242018-05-11 Florian Weimer <fweimer@redhat.com>
17325
17326 [BZ #23166]
17327 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
17328 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
17329 Likewise.
17330 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
17331 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
17332 export without --enable-obsolete-rpc.
17333 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
17334 symbol. This should not have been exported, ever.
17335
ab74d59f 173362018-05-11 Rafał Lużyński <digitalfreak@lingonborough.com>
bb066cb8
RL
17337
17338 [BZ #23152]
17339 * localedata/locales/gd_GB (abmon): Fix typo in May:
17340 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
17341
70c97f84
SP
173422018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
17343
db725a45
SP
17344 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
17345 Use multiple registers to copy data in loop tail.
17346
70c97f84
SP
17347 * sysdeps/aarch64/multiarch/memmove_falkor.S
17348 (__memmove_falkor): Use multiple registers to move data in
17349 loop tail.
17350
8f5b00d3
JM
173512018-05-10 Joseph Myers <joseph@codesourcery.com>
17352
17353 * math/math-underflow.h: New file.
17354 * sysdeps/generic/math_private.h: Do not include <float.h>.
17355 (fabs_tg): Remove macro. Moved to math-underflow.h.
17356 (min_of_type_f): Likewise.
17357 (min_of_type_): Likewise.
17358 (min_of_type_l): Likewise.
17359 (min_of_type_f128): Likewise.
17360 (min_of_type): Likewise.
17361 (math_check_force_underflow): Likewise.
17362 (math_check_force_underflow_nonneg): Likewise.
17363 (math_check_force_underflow_complex): Likewise.
17364 * math/e_exp2_template.c: Include <math-underflow.h>.
17365 * math/k_casinh_template.c: Likewise.
17366 * math/s_catan_template.c: Likewise.
17367 * math/s_catanh_template.c: Likewise.
17368 * math/s_ccosh_template.c: Likewise.
17369 * math/s_cexp_template.c: Likewise.
17370 * math/s_clog10_template.c: Likewise.
17371 * math/s_clog_template.c: Likewise.
17372 * math/s_csin_template.c: Likewise.
17373 * math/s_csinh_template.c: Likewise.
17374 * math/s_csqrt_template.c: Likewise.
17375 * math/s_ctan_template.c: Likewise.
17376 * math/s_ctanh_template.c: Likewise.
17377 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17378 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17379 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17380 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17381 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17382 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17383 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17384 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17385 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17386 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17387 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17388 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17389 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17390 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17391 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17392 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17393 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17394 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17395 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17396 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17397 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17398 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17399 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17400 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17401 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17402 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17403 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17404 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17405 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17406 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17407 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17408 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17409 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17410 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17411 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17412 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17413 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17414 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17415 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17416 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17417 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17418 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17419 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17420 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17421 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17422 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17423 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17424 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17425 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17426 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17427 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17428 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17429 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17430 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
17431 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17432 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17433 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17434 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17435 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17436 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17437 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17438 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17439 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17440 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17441 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17442 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17443 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17444 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17445 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17446 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17447 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17448 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17449 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17450 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
17451 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17452 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17453 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17454 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17455 * sysdeps/x86/fpu/powl_helper.c: Likewise.
17456 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
17457 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
17458 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
17459 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
17460 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
17461
9ed2e15f
JM
174622018-05-09 Joseph Myers <joseph@codesourcery.com>
17463
17464 * sysdeps/generic/math-barriers.h: New file.
17465 * sysdeps/generic/math_private.h [!math_opt_barrier]
17466 (math_opt_barrier): Move to math-barriers.h.
17467 [!math_opt_barrier] (math_force_eval): Likewise.
17468 * sysdeps/aarch64/fpu/math-barriers.h: New file.
17469 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
17470 math-barriers.h.
17471 (math_force_eval): Likewise.
17472 * sysdeps/alpha/fpu/math-barriers.h: New file.
17473 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
17474 math-barriers.h.
17475 (math_force_eval): Likewise.
17476 * sysdeps/x86/fpu/math-barriers.h: New file.
17477 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
17478 math-barriers.h.
17479 (math_force_eval): Likewise.
17480 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
17481 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
17482 multiple-include guard for rename.
17483 * sysdeps/powerpc/fpu/math-barriers.h: New file.
17484 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
17485 math-barriers.h.
17486 (math_force_eval): Likewise.
17487
5460617d
PP
174882018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
17489
17490 [BZ #22786]
43d4f3d5 17491 CVE-2018-11236
5460617d
PP
17492 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
17493 computation.
17494 * stdlib/Makefile (test-bz22786): New test.
17495 * stdlib/test-bz22786.c: New test.
17496
aaee3cd8
JM
174972018-05-09 Joseph Myers <joseph@codesourcery.com>
17498
17499 * include/math-narrow-eval.h: New file. Contents moved from ....
17500 * sysdeps/generic/math_private.h: ... here.
17501 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
17502 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
17503 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
17504 * stdlib/strtod_l.c: Likewise.
17505 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
17506 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
17507 * sysdeps/i386/fpu/s_fdim.c: Likewise.
17508 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17509 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17510 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17511 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17512 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17513 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17514 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17515 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17516 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
17517 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17518 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17519 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17520 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17521 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17522 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17523 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17524 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17525 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17526 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17527 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17528 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17529 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
17530 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17531 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17532 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17533 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17534
0555c477
AS
175352018-05-08 Andreas Schwab <schwab@suse.de>
17536
17537 * sysdeps/nptl/internaltypes.h: Fix comment.
17538
50d7d351
L
175392018-05-07 H.J. Lu <hongjiu.lu@intel.com>
17540
17541 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17542 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
17543 hidden.
17544
543477f7
SP
175452018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
17546
17547 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
17548 of I into loop header.
17549 * benchtests/bench-memmove-walk.c
17550 (test_main): Likewise.
17551
175522018-05-07 Alexandre Oliva <oliva@gnu.org>
ffa81c22
AO
17553
17554 Revert:
17555 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
17556 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
17557
0065aaaa
PP
175582018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17559
17560 [BZ #20419]
17561 * elf/dl-load.c (open_verify): Fix stack overflow.
17562 * elf/Makefile (tst-big-note): New test.
17563 * elf/tst-big-note-lib.S: New.
17564 * elf/tst-big-note.c: New.
17565
b289cd9d
JM
175662018-05-04 Joseph Myers <joseph@codesourcery.com>
17567
17568 * scripts/abilist.awk: Ignore absolute symbols.
17569 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
17570 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
17571 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
17572 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
17573 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
17574 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
17575 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17576 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
17577 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
17578 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
17579 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
17580 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
17581 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
17582 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
17583 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
17584 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
17585 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
17586 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
17587 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17588 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
17589 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
17590 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
17591 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
17592 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
17593 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
17594 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
17595 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
17596 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
17597 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17598 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
17599 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
17600 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17601 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
17602 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
17603 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
17604 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
17605 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
17606 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
17607 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
17608 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
17609 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
17610 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17611 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
17612 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
17613 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17614 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
17615 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
17616 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
17617 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
17618 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
17619 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
17620 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
17621 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
17622 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
17623 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17624 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
17625 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
17626 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17627 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
17628 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
17629 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
17630 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
17631 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
17632 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
17633 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
17634 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
17635 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
17636 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17637 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
17638 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
17639 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17640 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
17641 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
17642 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
17643 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
17644 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
17645 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
17646 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
17647 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
17648 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
17649 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17650 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
17651 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
17652 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17653 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
17654 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
17655 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
17656 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
17657 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
17658 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
17659 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
17660 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
17661 Likewise.
17662 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
17663 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17664 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
17665 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
17666 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17667 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
17668 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
17669 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
17670 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
17671 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
17672 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
17673 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
17674 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
17675 Likewise.
17676 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
17677 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17678 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
17679 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
17680 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17681 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
17682 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
17683 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
17684 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
17685 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
17686 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
17687 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
17688 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
17689 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
17690 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17691 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
17692 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
17693 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17694 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
17695 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
17696 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
17697 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
17698 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
17699 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
17700 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17701 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
17702 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
17703 Likewise.
17704 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
17705 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
17706 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
17707 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
17708 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17709 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
17710 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
17711 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
17712 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
17713 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
17714 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
17715 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
17716 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
17717 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
17718 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
17719 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
17720 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
17721 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
17722 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
17723 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
17724 Likewise.
17725 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
17726 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
17727 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
17728 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17729 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
17730 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
17731 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
17732 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
17733 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
17734 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
17735 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17736 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
17737 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
17738 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17739 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
17740 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
17741 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
17742 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
17743 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
17744 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
17745 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
17746 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17747 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
17748 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
17749 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
17750 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
17751 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
17752 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
17753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
17754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
17756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
17757 Likewise.
17758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
17759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
17760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
17761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
17762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
17763 Likewise.
17764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
17765 Likewise.
17766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
17767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
17768 Likewise.
17769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
17770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17771 Likewise.
17772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17773 Likewise.
17774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
17775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
17776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
17777 Likewise.
17778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
17779 Likewise.
17780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
17781 Likewise.
17782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
17783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
17784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
17785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
17786 Likewise.
17787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
17788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
17789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
17790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
17793 Likewise.
17794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
17795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
17796 Likewise.
17797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
17798 Likewise.
17799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
17800 Likewise.
17801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
17802 Likewise.
17803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
17804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
17805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
17806 Likewise.
17807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
17808 Likewise.
17809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
17810 Likewise.
17811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
17812 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
17813 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
17814 Likewise.
17815 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
17816 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
17817 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
17818 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
17819 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17820 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
17821 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
17822 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
17823 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
17824 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
17825 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
17826 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
17827 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
17828 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
17829 Likewise.
17830 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17831 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
17832 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
17833 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17834 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
17835 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
17836 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
17837 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
17838 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
17839 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
17840 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
17841 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
17842 Likewise.
17843 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17844 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
17845 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
17846 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17847 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
17848 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
17849 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
17850 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
17851 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
17852 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
17853 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
17854 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
17855 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
17856 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
17857 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
17858 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
17859 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17860 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
17861 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
17862 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
17863 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
17864 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
17865 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
17866 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
17867 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
17868 Likewise.
17869 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
17870 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17871 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
17872 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
17873 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17874 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
17875 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
17876 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
17877 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
17878 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
17879 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
17880 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
17881 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
17882 Likewise.
17883 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
17884 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17885 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
17886 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
17887 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17888 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
17889 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
17890 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
17891 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
17892 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
17893 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
17894 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
17895 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
17896 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
17897 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17898 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
17899 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
17900 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17901 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
17902 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
17903 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
17904 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
17905 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
17906 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
17907 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
17908 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
17909 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
17910 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
17911 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17912 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
17913 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
17914 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17915 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
17916 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
17917 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
17918 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
17919 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
17920 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
17921
16609018
SL
179222018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
17923
17924 [BZ #23137]
17925 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
17926 Use atomic_load_acquire to load __tid.
17927
556f5c46
L
179282018-05-02 H.J. Lu <hongjiu.lu@intel.com>
17929
17930 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
17931 Restore the pointer into %rdx, after syscall and use %rdx,
17932 instead of %rsi, to restore context.
17933
8b8f32b2
L
179342018-05-02 H.J. Lu <hongjiu.lu@intel.com>
17935
17936 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
17937 Pop the pointer into %rdx after syscall and use %rdx, instead
17938 of %rsi, to restore context.
17939
d6cc1829
L
179402018-05-02 H.J. Lu <hongjiu.lu@intel.com>
17941
17942 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
17943 handlers after setjmp.
17944 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
17945 defined.
17946 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
17947 <libc-pointer-arith.h>.
17948 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
17949 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
17950 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
17951 _JUMP_BUF_SIGSET_BITS_PER_WORD.
17952 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
17953 * sysdeps/x86/__longjmp_cancel.S: New file.
17954 * sysdeps/x86/longjmp.c: Likewise.
17955 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
17956
cf2478d5
AZ
179572018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17958
17959 * NEWS: Add ustat.h deprecation entry.
17960 * bits/ustat.h: Remove file.
17961 * misc/sys/ustat.h: Likewise.
17962 * misc/ustat.h: Likewise.
17963 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
17964 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
17965 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
17966 compatibility mode.
17967 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
17968 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
17969 generic Linux implementation.
17970
dc115e1c
TMQMF
179712018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17972
17973 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
17974 * math/w_expl_compat.c: Likewise.
17975 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
17976
6b5c8607 179772018-04-30 Raymond Nicholson <rain1@airmail.cc>
340d9652
RN
17978
17979 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
17980
c57bf7c1
AZ
179812018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17982
17983 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
17984 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
17985 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
17986 Remove.
17987 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
17988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17989 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17990 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
17991 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
17992 and SYSCALL_LL64.
17993
06135c33
TMQMF
179942018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17995
33927914
TMQMF
17996 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
17997
06135c33
TMQMF
17998 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
17999 * math/w_asin_template.c: Likewise.
18000 * math/w_atanh_template.c: Likewise.
18001
3a33b069
GG
180022018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18003
18004 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
18005 to powerpc/powerpc64/be for big-endian.
18006 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
18007 little-endian.
18008
18009 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
18010 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
18011 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
18012 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
18013 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18014 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
18015 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
18016 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
18017 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
18018 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
18019 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
18020 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
18021 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
18022 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
18023 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
18024 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
18025 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
18026 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
18027 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
18028 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
18029 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
18030 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
18031 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
18032 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
18033 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
18034 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
18035 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
18036 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
18037 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
18038 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
18039 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
18040 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
18041
18042 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
18043 adjusted to imply powerpc64 and older processors on powerpc64/be.
18044 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
18045 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
18046 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
18047 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
18048 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
18049 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
18050 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
18051 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
18052 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
18053 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
18054 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
18055 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
18056 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
18057 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
18058 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
18059 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
18060 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
18061 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
18062 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
18063 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
18064 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
18065 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
18066 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
18067 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
18068 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
18069 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
18070 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
18071 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
18072 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
18073 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
18074 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
18075
18076 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
18077 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
18078 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
18079 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
18080
18081 * sysdeps/powerpc/powerpc64/be/Implies: New file.
18082 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
18083 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
18084 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
18085
18086 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
18087 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
18088 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
18089 * sysdeps/powerpc/powerpc64le/configure: Likewise.
18090 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
18091 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
18092 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
18093 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
18094 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
18095 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
18096 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
18097
18098 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
18099 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
18100 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
18101 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
18102 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
18103 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
18104 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
18105 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
18106 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
18107 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
18108 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
18109
18110 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
18111 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
18112 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
18113 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
18114 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
18115 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
18116 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
18117 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
18118 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
18119 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
18120 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
18121 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
18122
18123 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
18124 and adjusted to imply olders processors.
18125 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
18126 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
18127 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
18128 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
18129 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
18130 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
18131 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
18132 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
18133 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
18134 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
18135 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
18136
18137 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
18138 powerpc64/le.
18139 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
18140 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
18141
18142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
18143 powerpc64le.
18144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
18145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
18146
18147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
18148 powerpc64/be.
18149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
18151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
18152
18153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
18154 powerpc64 and adjusted.
18155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
18156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
18157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
18158 Likewise.
18159
a3fb6b6b
JM
181602018-04-27 Joseph Myers <joseph@codesourcery.com>
18161
18162 * sysdeps/tile: Remove.
18163 * sysdeps/unix/sysv/linux/tile: Likewise.
18164 * README (tilegx-*-linux-gnu): Remove from list of supported
18165 configurations.
18166 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
18167 contribution of support for generic Linux kernel syscall
18168 interface.
18169 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
18170 tilegx configurations.
18171 (Config.install_linux_headers): Do not handle tile.
18172 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
18173 in comment.
18174 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
18175 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
18176 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
18177 conditional undefine and redefine.
18178 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
18179 in comment.
18180 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
18181 conditional undefine and redefine.
18182
7a6f7478
AJ
181832018-04-26 Aurelien Jarno <aurelien@aurel32.net>
18184
18185 * signal/tst-sigaction.c: New file to test BZ #23069.
18186 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
18187
81b49e96
TMQMF
181882018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18189
18190 [BZ #22766]
18191 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
18192 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
18193 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
18194 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
18195
7d80f48e
AZ
181962018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18197
18198 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
18199 _DIRENT_MATCHES_DIRENT64 is not defined.
18200 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
18201 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
18202 is defined.
18203 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
18204 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
18205
42a2bf58
JM
182062018-04-25 Joseph Myers <joseph@codesourcery.com>
18207
18208 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
18209 version to GCC 8 branch.
18210
9320ca88
JM
182112018-04-24 Joseph Myers <joseph@codesourcery.com>
18212
5e14bb97
JM
18213 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
18214 (check_no_hidden): Use type of original function when declaring
18215 alias.
18216
9320ca88
JM
18217 * sysdeps/unix/sysv/linux/sys/ptrace.h
18218 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
18219 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
18220 (struct __ptrace_seccomp_metadata): New type.
18221 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
18222 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18223 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
18224 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18225 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
18226 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18227 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
18228 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18229 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
18230 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18231 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
18232 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18233 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
18234 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18235 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
18236 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18237
af7e376b
AZ
182382018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18239
18240 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
18241 defined.
18242 * dirent/versionsort.c (versionsort): Likewise.
18243 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
18244 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
18245 * dirent/versionsort64.c (versionsort64): Likewise.
18246 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
18247 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
18248 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
18249 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
18250 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
18251 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
18252 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
18253 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
18254 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
18255 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
18256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
18257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
18258 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
18259 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
18260
da5e0361
JM
182612018-04-23 Joseph Myers <joseph@codesourcery.com>
18262
18263 * elf/elf.h (NT_PPC_PKEY): New macro.
18264
6b5c8607 182652018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
ea76691a
DSN
18266
18267 [BZ #23094]
18268 * localedata/locales/hr_HR: fix thousands_sep and
18269 mon_thousands_sep
18270
573963e3
JM
182712018-04-20 Joseph Myers <joseph@codesourcery.com>
18272
18273 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
18274 (XTABS): Define to TAB3.
18275
c0123b3b
AZ
182762018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18277
0900a849
AZ
18278 * sysdeps/hppa/fpu/libm-test-ulps: Update.
18279
c0123b3b
AZ
18280 * dirent/scandir-tail-common.c: New file.
18281 * dirent/scandir-tail.c: Use scandir-tail-common.c.
18282 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
18283 * dirent/scandir.c: Use scandir-tail-common.c.
18284 * dirent/scandirat.c: Likewise.
18285 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
18286 * dirent/scandir64.c (scandir64): Always build and alias to scandir
18287 if _DIRENT_MATCHES_DIRENT64 is defined.
18288 * dirent/scandirat64.c (scandirat64): Likewise.
18289 * include/dirent.h (__scandir_tail): Only define iff
18290 _DIRENT_MATCHES_DIRENT64 is not defined.
18291 (__scandir64_tail): Define regardless.
18292 (__scandirat, scandirat64): Remove libc_hidden_proto.
18293 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
18294 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
18295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
18296 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
18297 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
18298 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
18299 * sysdeps/unix/sysv/linux/scandir64.c: New file.
18300
458b94f6
JM
183012018-04-20 Joseph Myers <joseph@codesourcery.com>
18302
18303 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
18304 New macro.
18305 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
18306 Increase to 24.
18307 (_dl_aarch64_cap_flags): Add asimdfhm.
18308
9f0437e8
CLT
183092018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
18310
18311 * sysdeps/nios2/libm-test-ulps: Update.
18312
298d0e31
AZ
183132018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18314
50511ca4
AZ
18315 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
18316 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
18317
298d0e31
AZ
18318 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
18319 requirements.
6b5c8607 18320 (_DIRENT_MATCHES_DIRENT64): Undef
298d0e31
AZ
18321 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
18322 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
18323 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
18324 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
18325 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
18326 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
18327 use getdents64 syscalls as base.
18328 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
18329 symbol if required.
18330 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
18331 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
18332 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
18333 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
18334 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
18335 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
18336 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
18337 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
18338 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18339 (__get_clockfreq_via_proc_openprom): Use __getdents64.
18340 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
18341
0085be14
SL
183422018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
18343
18344 * scripts/test_printers_common.py (init_test): Disable lock elision.
18345
da796524
SL
183462018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
18347
18348 * math/test-tgmath.c (count_double, count_float,
18349 count_ldouble, count_cdouble, count_cfloat,
18350 count_cldouble): Use volatile int.
18351
0dd25301
ST
183522018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
18353
18354 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
18355 (conformtest-xfail-conds): Add i386-gnu.
cbc256b1 18356 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
0dd25301
ST
18357 i386-gnu.
18358 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
18359 ipc_perm.cuid, ipc_perm.cgid): Likewise.
18360 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
18361 msqid_ds.msg_lrpid): Likewise.
18362 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
18363 Likewise.
18364 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
18365 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
9d9f8f03
ST
18366 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
18367 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
18368 unsigned int.
18369 (struct statvfs64): Likewise.
f55a4fde
ST
18370 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
18371 Likewise.
77b93390
ST
18372 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
18373 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
18374 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
18375 instead of wait_queue.
18376 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
18377 instead of vm_area_struct.
5cd2931a
ST
18378 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
18379 struct sched_param definition to it.
e60c3f2b
ST
18380 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
18381 * bits/types/struct_sched_param.h: New file.
18382 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
18383 <bits/types/struct_sched_param.h> instead of <sched.h>.
18384 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
5cd2931a
ST
18385 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
18386 generic version but include <bits/pthreadtypes.h> to make struct
18387 sigevent's sigev_notify_attributes field a pthread_attr_t*.
ed370924
ST
18388 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
18389 non-compliant.
a564872d
ST
18390 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
18391 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
18392 [__USE_XOPEN] (OFDEL): New macro.
18393 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
a279b8ed 18394 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
5dbfe13b
ST
18395 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
18396 prototypes.
18397 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
18398 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
81b032c8
ST
18399 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
18400 non-compliant.
18401 * sysdeps/i386/sys/ucontext.h: Likewise.
18402 * sysdeps/m68k/sys/ucontext.h: Likewise.
18403 * sysdeps/mips/sys/ucontext.h: Likewise.
18404 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
f00b62ec
ST
18405 * sysdeps/mach/hurd/i386/Makefile
18406 (test-xfail-POSIX/fcntl.h/conform): Add.
18407 (test-xfail-POSIX/signal.h/conform): Add.
18408 (test-xfail-POSIX/semaphore.h/conform): Add.
18409 (test-xfail-POSIX/regex.h/conform): Add.
18410 (test-xfail-POSIX/aio.h/conform): Add.
18411 (test-xfail-POSIX/mqueue.h/conform): Add.
18412 (test-xfail-POSIX/sys/types.h/conform): Add.
18413 (test-xfail-UNIX98/fcntl.h/conform): Add.
18414 (test-xfail-UNIX98/netdb.h/conform): Add.
18415 (test-xfail-UNIX98/signal.h/conform): Add.
18416 (test-xfail-UNIX98/semaphore.h/conform): Add.
18417 (test-xfail-UNIX98/regex.h/conform): Add.
18418 (test-xfail-UNIX98/aio.h/conform): Add.
18419 (test-xfail-UNIX98/ftw.h/conform): Add.
18420 (test-xfail-UNIX98/mqueue.h/conform): Add.
18421 (test-xfail-UNIX98/netinet/in.h/conform): Add.
18422 (test-xfail-UNIX98/sys/wait.h/conform): Add.
18423 (test-xfail-UNIX98/sys/sem.h/conform): Add.
18424 (test-xfail-UNIX98/sys/uio.h/conform): Add.
18425 (test-xfail-UNIX98/sys/socket.h/conform): Add.
18426 (test-xfail-UNIX98/sys/types.h/conform): Add.
18427 (test-xfail-UNIX98/stdlib.h/conform): Add.
18428 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
18429 (test-xfail-POSIX2008/fcntl.h/conform): Add.
18430 (test-xfail-POSIX2008/netdb.h/conform): Add.
18431 (test-xfail-POSIX2008/signal.h/conform): Add.
18432 (test-xfail-POSIX2008/semaphore.h/conform): Add.
18433 (test-xfail-POSIX2008/regex.h/conform): Add.
18434 (test-xfail-POSIX2008/aio.h/conform): Add.
18435 (test-xfail-POSIX2008/mqueue.h/conform): Add.
18436 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
18437 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
18438 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
18439 (test-xfail-POSIX2008/sys/types.h/conform): Add.
18440 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
18441 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
18442 (test-xfail-XOPEN2K/netdb.h/conform): Add.
18443 (test-xfail-XOPEN2K/signal.h/conform): Add.
18444 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
18445 (test-xfail-XOPEN2K/regex.h/conform): Add.
18446 (test-xfail-XOPEN2K/aio.h/conform): Add.
18447 (test-xfail-XOPEN2K/ftw.h/conform): Add.
18448 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
18449 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
18450 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
18451 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
18452 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
18453 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
18454 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
18455 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
18456 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
18457 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
18458 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
18459 (test-xfail-XOPEN2K8/signal.h/conform): Add.
18460 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
18461 (test-xfail-XOPEN2K8/regex.h/conform): Add.
18462 (test-xfail-XOPEN2K8/aio.h/conform): Add.
18463 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
18464 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
18465 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
18466 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
18467 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
18468 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
18469 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
18470 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
18471 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
18472 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
cbc256b1
ST
18473 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
18474 i386-gnu.
18475 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
18476 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
0dd25301 18477
d6397de3
JM
184782018-04-18 Joseph Myers <joseph@codesourcery.com>
18479
18480 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
18481 --enable-obsolete for powerpc-linux-gnuspe.
18482
8323a902
ST
184832018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
18484
3dc0814c 18485 * conform/data/sys/un.h-data: Allow sun_ prefix.
c5896a45 18486 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
d4379e02 18487 prototypes.
c5896a45
ST
18488 * sysdeps/mach/include/mach.h: Likewise.
18489 * sysdeps/mach/include/mach/mig_support.h: Likewise.
18490 * sysdeps/mach/include/mach_error.h: Likewise.
8323a902 18491
743b9c2a
AZ
184922018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18493
18494 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
18495 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
18496 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
18497 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
18498
326e74e7
AS
184992018-04-16 Andreas Schwab <schwab@suse.de>
18500
18501 [BZ #19527]
18502 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
18503
6b5c8607 185042018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
a14d8acd
PM
18505
18506 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
18507 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
18508
a700e7cb
DD
185092018-04-12 DJ Delorie <dj@redhat.com>
18510
18511 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
18512 version to 4.16.
18513
d8abfab7
SL
185142018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
18515
18516 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
18517 (struct kernel_sigaction): Use the same definition on 31bit as is used
18518 on 64bit.
18519
583a27d5
FW
185202018-04-09 Florian Weimer <fweimer@redhat.com>
18521
18522 [BZ #23037]
18523 * resolv/res_send.c (send_dg): Use designated initializers instead
18524 of assignment to zero-initialize other fields of struct mmsghdr.
18525
243f59e5
AZ
185262018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18527
942de61a
AZ
18528 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
18529 __READDIR_ALIAS): Undefine after usage.
18530 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
18531 __READDIR_R_ALIAS): Likewise.
18532 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
18533 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
18534 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
18535 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
18536 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
18537 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
18538 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18539 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18540 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
18541 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
18542 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
18543 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
18544 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18545 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
18546 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
18547 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
18548 * sysdeps/unix/sysv/linux/readdir.c: New file.
18549 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
18550 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
18551 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
18552
243f59e5
AZ
18553 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
18554
690c3475
AS
185552018-04-06 Andreas Schwab <schwab@linux-m68k.org>
18556
18557 * manual/charset.texi (Converting a Character): Fix typo.
18558
6b5c8607 185592018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
b4a5d26d 18560
bbc2062a
AZ
18561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18562
fa7c6199
AZ
18563 * sysdeps/arm/libm-test-ulps: Update.
18564
b4a5d26d
AZ
18565 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
18566 as base implementation.
18567 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
18568 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
18569 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18570 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18571 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
18572 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
18573 remove unrequired definitions and update comments.
18574 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
18575 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
18576 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
18577 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
18578 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
18579 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
18580 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
18581 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
18582 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
18583 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
18584 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
18585 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
18586 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
18587 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
18588 and RESET_SA_RESTORER hooks.
18589
db9e55ff
SL
185902018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
18591
18592 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18593
cf138b0c
FW
185942018-04-05 Florian Weimer <fweimer@redhat.com>
18595
18596 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
18597 integer overflow, memory leak on error, and indeterminate errno
18598 value. Add a null wide character to terminate the result string.
18599 * manual/charset.texi (Converting a Character): Mention embedded
18600 null bytes in the mbrtowc input string. Explain what happens in
18601 the -2 result case. Do not claim that mbrtowc is simple or
18602 obvious to use. Adjust the description of the code example. Use
18603 @code, not @var, for concrete variables.
18604
0f339252
FW
186052018-04-05 Florian Weimer <fweimer@redhat.com>
18606
18607 * manual/examples/mbstouwcs.c: New file.
18608 * manual/charset.texi (Converting a Character): Include it.
18609
e5f9508a
ST
186102018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18611
c120981d
ST
18612 * include/dirent.h (dirfd): Add hidden proto.
18613 * dirent/dirfd.c (dirfd): Add hidden def.
18614 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
18615 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
e5f9508a 18616
b2fd61ca
TMQMF
186172018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18618
18619 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
18620 sin, cos and sincos to 1 ULP.
18621
10a446dd
MR
186222018-04-04 Maciej W. Rozycki <macro@mips.com>
18623
e7feec37
MR
18624 [BZ #19818]
18625 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
18626 symbols.
18627 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
18628 * elf/tst-absolute-sym.c: New file.
18629 * elf/tst-absolute-sym-lib.c: New file.
18630 * elf/tst-absolute-sym-lib.lds: New file.
18631 * elf/Makefile (tests): Add `tst-absolute-sym'.
18632 (modules-names): Add `tst-absolute-sym-lib'.
18633 (LDLIBS-tst-absolute-sym-lib.so): New variable.
18634 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
18635 ($(objpfx)tst-absolute-sym): New dependency.
18636
10a446dd
MR
18637 [BZ #19818]
18638 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
18639 parameter.
18640 (SYMBOL_ADDRESS): New macro.
18641 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
18642 SYMBOL_ADDRESS for symbol address calculation.
18643 * elf/dl-runtime.c (_dl_fixup): Likewise.
18644 (_dl_profile_fixup): Likewise.
18645 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
18646 * elf/rtld.c (dl_main): Likewise.
18647 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
18648 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
18649 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
18650 (elf_machine_rela): Likewise.
18651 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
18652 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
18653 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18654 (elf_machine_rela): Likewise.
18655 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18656 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
18657 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
18658 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
18659 Likewise.
18660 (elf_machine_reloc): Likewise.
18661 (elf_machine_got_rel): Likewise.
18662 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
18663 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
18664 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18665 Likewise.
18666 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18667 Likewise.
18668 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
18669 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18670 Likewise.
18671 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18672 Likewise.
18673 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18674 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18675 Likewise.
18676 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18677 Likewise.
18678 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
18679 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18680
9185f86d
ZW
186812018-04-04 Zack Weinberg <zackw@panix.com>
18682
18683 * sysdeps/generic/internal-signals.h: Include signal.h,
18684 sigsetops.h, and stdbool.h.
18685 (__libc_signal_block_all): Actually block all signals.
18686 (__libc_signal_block_app): Likewise.
18687 (__libc_signal_restore_set): Actually restore the signal mask.
18688
b07367bc
FW
186892018-04-04 Florian Weimer <fweimer@redhat.com>
18690
18691 inet: Actually build and run tst-deadline.
18692 * inet/Makefile (tests-internal): Add tst-deadline and do not
18693 overwrite the variable.
18694 (tests-static-internal): Remove variable.
18695
f2652643
L
186962018-04-03 H.J. Lu <hongjiu.lu@intel.com>
18697
18698 [BZ #22947]
18699 * bits/uio-ext.h (RWF_APPEND): New.
18700 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
18701 * manual/llio.texi: Document RWF_APPEND.
18702 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
18703 (RWF_SUPPORTED): Add RWF_APPEND.
18704
6b5c8607 187052018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
d2dc5467
AZ
18706
18707 [BZ #22391]
18708 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
18709 check for internal nptl signals.
18710 * nptl/sigaction.c (__sigaction): Likewise.
18711 * signal/sigaddset.c (sigaddset): Likewise.
18712 * signal/sigdelset.c (sigdelset): Likewise.
18713 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
18714 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
18715 value.
18716 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
18717 to filter out internal nptl signals.
18718 * signal/tst-sigset.c (do_test): Check ech signal indidually and
18719 also check realtime signals using standard macros.
18720 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
18721 __is_internal_signal, __libc_signal_block_all,
18722 __libc_signal_block_app, __libc_signal_restore_set): New functions.
18723 * sysdeps/nptl/sigfillset.c: Remove file.
18724 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
18725 Change return to bool.
18726 (__clear_internal_signals): Remove SIGTIMER clean since it is
18727 equal to SIGCANEL on Linux.
18728 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
18729 signal set was constructed using standard functions.
18730
511ed56f
ST
187312018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18732
92846492
ST
18733 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
18734 ifname is too long.
e8ef51b1
ST
18735 * hurd/hurdsig.c (interrupted_reply_port_location): Use
18736 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
ff297b70
ST
18737 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
18738 hidden def.
18739 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
d8440a21
ST
18740 * signal/sigaddset.c: Include <sigsetopts.h>.
18741 * signal/sigdelset.c: Likewise.
511ed56f 18742
e88ecbbf
WD
187432018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18744
18745 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
18746 (__cos): Likewise.
18747 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
18748 logic as sin and cos.
18749
aef3e255
WD
187502018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18751
18752 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
18753 inputs. Return correct sign.
18754 (do_sincos): Remove small input check before do_sin, let do_sin set
18755 the sign.
18756 (__sin): Likewise.
18757 (__cos): Likewise.
18758
72f6e9a3
WD
187592018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18760
18761 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
18762 (do_cos_slow): Likewise.
18763 (do_sin_slow): Likewise.
18764 (reduce_and_compute): Likewise.
18765 (slow): Likewise.
18766 (slow1): Likewise.
18767 (slow2): Likewise.
18768 (sloww): Likewise.
18769 (sloww1): Likewise.
18770 (sloww2): Likewise.
18771 (bslow): Likewise.
18772 (bslow1): Likewise.
18773 (bslow2): Likewise.
18774 (cslow2): Likewise.
18775
64909583
WD
187762018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18777
18778 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
18779 (do_cos): Remove corp parameter and calculations.
18780 (do_sin): Likewise.
18781 (do_sincos): Remove cor variable.
18782 (__sin): Use do_sincos for huge inputs.
18783 (__cos): Likewise.
18784 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
18785 (reduce_and_compute_sincos): Remove unused function.
18786
d9469deb
WD
187872018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18788
18789 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
18790 reduce_sincos, improve accuracy to 136 bits.
18791 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
18792 (__sin): Use improved reduction and simplified do_sincos calculation.
18793 (__cos): Likewise.
18794 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
18795
7a5640f2
WD
187962018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18797
18798 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
18799 (do_sincos_2): Likewise.
18800 (__sin): Remove middle range reduction case.
18801 (__cos): Likewise.
18802 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
18803 reduction case.
18804
19a8b9a3
WD
188052018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18806
18807 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
18808 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
18809 inputs.
18810 (__cos): Likewise.
18811 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
18812
f72aa11d
JM
188132018-04-03 Joseph Myers <joseph@codesourcery.com>
18814
18815 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19a8b9a3 18816 version to 4.16
f72aa11d 18817
8e4754ed
AZ
188182018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18819
18820 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
18821 Remove definitions.
18822 (opendir_oflags): Use O_DIRECTORY regardless.
18823 (__opendir, __opendirat): Remove need_isdir_precheck usage.
18824 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
18825
8e2666ea
ST
188262018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18827
18828 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
18829 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
18830 macros.
18831 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
18832 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
18833 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
18834 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
deed72f6
ST
18835 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
18836 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
8e2666ea 18837
ad2b41bf
ST
18838 * htl/Makefile: Bump licence to LGPL 2.1+.
18839 * htl/alloca_cutoff.c: Likewise.
18840 * htl/cthreads-compat.c: Likewise.
18841 * htl/lockfile.c: Likewise.
18842 * htl/pt-alloc.c: Likewise.
18843 * htl/pt-cancel.c: Likewise.
18844 * htl/pt-cleanup.c: Likewise.
18845 * htl/pt-create.c: Likewise.
18846 * htl/pt-dealloc.c: Likewise.
18847 * htl/pt-detach.c: Likewise.
18848 * htl/pt-exit.c: Likewise.
18849 * htl/pt-getattr.c: Likewise.
18850 * htl/pt-initialize.c: Likewise.
18851 * htl/pt-internal.h: Likewise.
18852 * htl/pt-join.c: Likewise.
18853 * htl/pt-self.c: Likewise.
18854 * htl/pt-setcancelstate.c: Likewise.
18855 * htl/pt-setcanceltype.c: Likewise.
18856 * htl/pt-sigmask.c: Likewise.
18857 * htl/pt-spin-inlines.c: Likewise.
18858 * htl/pt-testcancel.c: Likewise.
18859 * htl/pt-yield.c: Likewise.
18860 * htl/tests/test-1.c: Likewise.
18861 * htl/tests/test-10.c: Likewise.
18862 * htl/tests/test-11.c: Likewise.
18863 * htl/tests/test-12.c: Likewise.
18864 * htl/tests/test-13.c: Likewise.
18865 * htl/tests/test-14.c: Likewise.
18866 * htl/tests/test-15.c: Likewise.
18867 * htl/tests/test-16.c: Likewise.
18868 * htl/tests/test-17.c: Likewise.
18869 * htl/tests/test-2.c: Likewise.
18870 * htl/tests/test-3.c: Likewise.
18871 * htl/tests/test-4.c: Likewise.
18872 * htl/tests/test-5.c: Likewise.
18873 * htl/tests/test-6.c: Likewise.
18874 * htl/tests/test-7.c: Likewise.
18875 * htl/tests/test-8.c: Likewise.
18876 * htl/tests/test-9.c: Likewise.
18877 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
18878 * sysdeps/htl/bits/cancelation.h: Likewise.
18879 * sysdeps/htl/bits/pthread-np.h: Likewise.
18880 * sysdeps/htl/bits/pthread.h: Likewise.
18881 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
18882 * sysdeps/htl/bits/semaphore.h: Likewise.
18883 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
18884 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
18885 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
18886 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
18887 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
18888 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
18889 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
18890 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
18891 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
18892 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
18893 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
18894 * sysdeps/htl/old_pt-atfork.c: Likewise.
18895 * sysdeps/htl/pt-atfork.c: Likewise.
18896 * sysdeps/htl/pt-attr-destroy.c: Likewise.
18897 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
18898 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
18899 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
18900 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
18901 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
18902 * sysdeps/htl/pt-attr-getscope.c: Likewise.
18903 * sysdeps/htl/pt-attr-getstack.c: Likewise.
18904 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
18905 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
18906 * sysdeps/htl/pt-attr-init.c: Likewise.
18907 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
18908 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
18909 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
18910 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
18911 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
18912 * sysdeps/htl/pt-attr-setscope.c: Likewise.
18913 * sysdeps/htl/pt-attr-setstack.c: Likewise.
18914 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
18915 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
18916 * sysdeps/htl/pt-attr.c: Likewise.
18917 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
18918 * sysdeps/htl/pt-barrier-init.c: Likewise.
18919 * sysdeps/htl/pt-barrier-wait.c: Likewise.
18920 * sysdeps/htl/pt-barrier.c: Likewise.
18921 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
18922 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
18923 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
18924 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
18925 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
18926 * sysdeps/htl/pt-cond-destroy.c: Likewise.
18927 * sysdeps/htl/pt-cond-init.c: Likewise.
18928 * sysdeps/htl/pt-cond-signal.c: Likewise.
18929 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
18930 * sysdeps/htl/pt-cond-wait.c: Likewise.
18931 * sysdeps/htl/pt-cond.c: Likewise.
18932 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
18933 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
18934 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
18935 * sysdeps/htl/pt-condattr-init.c: Likewise.
18936 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
18937 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
18938 * sysdeps/htl/pt-destroy-specific.c: Likewise.
18939 * sysdeps/htl/pt-equal.c: Likewise.
18940 * sysdeps/htl/pt-getconcurrency.c: Likewise.
18941 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
18942 * sysdeps/htl/pt-getschedparam.c: Likewise.
18943 * sysdeps/htl/pt-getspecific.c: Likewise.
18944 * sysdeps/htl/pt-init-specific.c: Likewise.
18945 * sysdeps/htl/pt-key-create.c: Likewise.
18946 * sysdeps/htl/pt-key-delete.c: Likewise.
18947 * sysdeps/htl/pt-key.h: Likewise.
18948 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
18949 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
18950 * sysdeps/htl/pt-mutex-init.c: Likewise.
18951 * sysdeps/htl/pt-mutex-lock.c: Likewise.
18952 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
18953 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
18954 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
18955 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
18956 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
18957 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
18958 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
18959 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
18960 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
18961 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
18962 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
18963 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
18964 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
18965 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
18966 * sysdeps/htl/pt-mutexattr.c: Likewise.
18967 * sysdeps/htl/pt-once.c: Likewise.
18968 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
18969 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
18970 * sysdeps/htl/pt-rwlock-init.c: Likewise.
18971 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
18972 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
18973 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
18974 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
18975 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
18976 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
18977 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
18978 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
18979 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
18980 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
18981 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
18982 * sysdeps/htl/pt-setconcurrency.c: Likewise.
18983 * sysdeps/htl/pt-setschedparam.c: Likewise.
18984 * sysdeps/htl/pt-setschedprio.c: Likewise.
18985 * sysdeps/htl/pt-setspecific.c: Likewise.
18986 * sysdeps/htl/pt-spin.c: Likewise.
18987 * sysdeps/htl/pt-startup.c: Likewise.
18988 * sysdeps/htl/pthread.h: Likewise.
18989 * sysdeps/htl/sem-close.c: Likewise.
18990 * sysdeps/htl/sem-destroy.c: Likewise.
18991 * sysdeps/htl/sem-getvalue.c: Likewise.
18992 * sysdeps/htl/sem-init.c: Likewise.
18993 * sysdeps/htl/sem-open.c: Likewise.
18994 * sysdeps/htl/sem-post.c: Likewise.
18995 * sysdeps/htl/sem-timedwait.c: Likewise.
18996 * sysdeps/htl/sem-trywait.c: Likewise.
18997 * sysdeps/htl/sem-unlink.c: Likewise.
18998 * sysdeps/htl/sem-wait.c: Likewise.
18999 * sysdeps/hurd/htl/pt-kill.c: Likewise.
19000 * sysdeps/i386/htl/pt-machdep.h: Likewise.
19001 * sysdeps/mach/htl/pt-block.c: Likewise.
19002 * sysdeps/mach/htl/pt-spin.c: Likewise.
19003 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
19004 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
19005 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
19006 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
19007 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
19008 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
19009 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
19010 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
19011 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
19012 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
19013 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
19014 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
19015 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
19016 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
19017 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
19018 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
19019 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
19020 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
19021 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
19022 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
19023 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
19024 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
19025 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
19026 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
19027 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
19028 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
19029 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
19030 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
19031 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
19032 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
19033 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
19034 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
19035 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
19036 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
19037 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
19038 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
19039 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
19040 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
19041 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
19042 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
19043 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
19044 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
19045 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
19046
fb03b04b
ST
19047 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
19048 * README: Remove the mention of out-of-tree patches needed for
19049 GNU/Hurd.
19050
fa9e1555
ST
19051 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
19052 (UTIME_NOW, UTIME_OMIT): Define macros.
19053
f6fb29d2
ST
19054 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
19055 instead of pthread_detach.
19056 (__cthread_fork): Call __pthread_create instead of pthread_create.
19057 (__cthread_keycreate): Call __pthread_key_create instead of
19058 pthread_key_create.
19059 (__cthread_getspecific): Call __pthread_getspecific instead of
19060 pthread_getspecific.
19061 (__cthread_setspecific): Call __pthread_setspecific instead of
19062 pthread_setspecific.
19063 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
19064 __pthread_mutex_unlock instead of pthread_mutex_lock and
19065 pthread_mutex_unlock.
19066 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
19067 ___pthread_get_cleanup_stack.
19068 (__pthread_get_cleanup_stack): New strong alias.
19069 * htl/pt-create.c: Include <pthreadP.h>.
19070 (entry_point): Call __pthread_exit instead of pthread_exit.
19071 (pthread_create): Rename to __pthread_create.
19072 (pthread_create): New strong alias.
19073 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
19074 (pthread_detach): New strong alias.
19075 (__pthread_detach): Call __pthread_cond_broadcast instead of
19076 pthread_cond_broadcast.
fe9748cc
ST
19077 * htl/pt-exit.c: Include <pthreadP.h>.
19078 (__pthread_exit): Call __pthread_setcancelstate and
19079 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
19080 __pthread_get_cleanup_stack.
f6fb29d2
ST
19081 * htl/pt-testcancel.c: Include <pthreadP.h>.
19082 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
19083 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
19084 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
19085 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
19086 pthread_attr_getstacksize.
19087 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
19088 Rename to __pthread_attr_getstackaddr.
19089 (pthread_attr_getstackaddr): New strong alias.
19090 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
19091 Rename to __pthread_attr_getstacksize.
19092 (pthread_attr_getstacksize): New strong alias.
19093 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
19094 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
19095 (pthread_attr_setstack): New strong alias.
19096 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
19097 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
19098 pthread_attr_getstacksize, pthread_attr_setstacksize and
19099 pthread_attr_setstackaddr.
19100 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
19101 Rename to __pthread_attr_setstackaddr.
19102 (pthread_attr_setstackaddr): New strong alias.
19103 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
19104 Rename to __pthread_attr_setstacksize.
19105 (pthread_attr_setstacksize): New strong alias.
19106 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
19107 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
19108 pthread_exit.
19109 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
19110 (__pthread_key_create): New hidden def.
19111 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
19112 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
19113 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
19114 __pthread_exit, __pthread_key_create, __pthread_getspecific,
19115 __pthread_setspecific, __pthread_setcancelstate,
19116 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
19117 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
19118 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
19119 declarations.
19120 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
19121 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
19122 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
19123 (pthread_attr_setstackaddr): New strong alias.
19124 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
19125 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
19126 (pthread_attr_setstacksize): New strong alias.
19127 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
19128 (call_exit): Call __pthread_exit instead of pthread_exit.
19129 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
19130 (_pthread_mutex_init): New hidden definition.
19131 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
19132 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
19133 instead of pthread_attr_init and pthread_attr_setstack.
19134
dba2bdbe
ST
19135 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
19136 __vm_deallocate instead of vm_allocate and vm_deallocate.
19137 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
19138 setenv.
19139 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
19140 of geteuid.
19141 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
19142 strdup.
19143 * hurd/siginfo.c: Include <libioP.h>.
19144 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
19145 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
19146 munmap.
dba2bdbe
ST
19147 * mach/devstream.c: Include <libioP.h>.
19148 (dealloc_ref): Call __mach_port_deallocate instead of
19149 mach_port_deallocate.
19150 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
19151 Call __mach_port_deallocate instead of mach_port_deallocate.
19152 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
19153 pathconf.
19154 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
19155 munmap.
19156 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
19157 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
19158 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
19159 of munmap.
19160 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
19161 of close.
19162 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
19163 instead of sysconf.
19164 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
19165 __clock_gettime instead of clock_gettime.
19166 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
19167 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
19168 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
19169 * sysdeps/unix/bsd/stty.c (stty): Likewise.
19170 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
19171 tcgetattr.
19172 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
19173 __clock_gettime and __nanosleep instead of clock_gettime and
19174 nanosleep.
7a8f45e3
ST
19175 * hurd/catch-signal.c (hurd_catch_signal): Rename to
19176 __hurd_catch_signal.
19177 (hurd_catch_signal): New strong alias.
19178 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
19179 __hurd_catch_signal instead of hurd_catch_signal.
19180 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
19181 * hurd/hurdexec.c (_hurd_init): Add hidden def.
19182 * hurd/hurdinit.c (_hurd_init): Add hidden def.
19183 * hurd/hurdsig.c: Include <mach/mig_support.h>.
19184 (_hurd_thread_sigstate): Add hidden def.
19185 (_hurd_internal_post_signal): Use __mutex_unlock instead of
19186 mutex_unlock.
19187 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
19188 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
19189 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
19190 __hurd_file_name_path_lookup.
19191 (hurd_file_name_path_lookup): New strong alias.
19192 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
19193 hurd_file_name_path_lookup.
19194 * mach/errstring.c (mach_error_type): Add hidden def.
19195 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
19196 * mach/mutex-init.c (__mutex_init): Add hidden def.
19197 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
19198 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
19199 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
19200 * sysdeps/mach/hurd/getcwd.c
19201 (_hurd_canonicalize_directory_name_internal): Rename to
19202 __hurd_canonicalize_directory_name_internal.
19203 (_hurd_canonicalize_directory_name_internal): New strong alias.
19204 (__canonicalize_directory_name_internal, __getcwd): Call
19205 __hurd_canonicalize_directory_name_internal instead of
19206 _hurd_canonicalize_directory_name_internal.
19207 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
19208 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
19209 hidden defs.
19210 * sysdeps/hurd/include/hurd.h: New file.
19211 * sysdeps/hurd/include/hurd/fd.h: New file.
19212 * sysdeps/hurd/include/hurd/signal.h: New file.
19213 * sysdeps/mach/include/lock-intern.h: New file.
19214 * sysdeps/mach/include/mach.h: New file.
19215 * sysdeps/mach/include/mach/mig_support.h: New file.
19216 * sysdeps/mach/include/mach_error.h: New file.
a758c293
ST
19217 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
19218 prototype.
19219 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
19220 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
19221 _HEADER_H_HIDDEN_DEF macro.
19222 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
19223 _hurd_fd_error_signal): Add hidden prototype.
19224 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
19225 hidden def.
82dbf555
ST
19226 * libio/iolibio.h (_IO_puts): New hidden prototype.
19227 * libio/ioputs.c (_IO_puts): New hidden def.
171488a2
ST
19228 * sysdeps/mach/hurd/localplt.data: New file.
19229
33574c17 192302018-04-02 Agustina Arzille <avarzille@riseup.net>
b39d961c
TS
19231 Amos Jeffries <squid3@treenet.co.nz>
19232 David Michael <fedora.dm0@gmail.com>
19233 Marco Gerards <marco@gnu.org>
19234 Marcus Brinkmann <marcus@gnu.org>
19235 Neal H. Walfield <neal@gnu.org>
19236 Pino Toscano <toscano.pino@tiscali.it>
19237 Richard Braun <rbraun@sceen.net>
19238 Roland McGrath <roland@gnu.org>
19239 Samuel Thibault <samuel.thibault@ens-lyon.org>
19240 Thomas DiModica <ricinwich@yahoo.com>
19241 Thomas Schwinge <tschwinge@gnu.org>
33574c17
ST
19242
19243 * htl: New directory.
19244 * sysdeps/htl: New directory.
19245 * sysdeps/hurd/htl: New directory.
19246 * sysdeps/i386/htl: New directory.
19247 * sysdeps/mach/htl: New directory.
19248 * sysdeps/mach/hurd/htl: New directory.
19249 * sysdeps/mach/hurd/i386/htl: New directory.
19250 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
19251 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
19252 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
19253
03e2aa50
ST
192542018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19255
19256 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
19257 signals in thread created for runing timers.
19258
1aa52ced
FW
192592018-04-01 Florian Weimer <fweimer@redhat.com>
19260
19261 * support/support_format_addrinfo.c (support_format_addrinfo):
19262 Include unknown error number in formatted result.
19263
4d76d3e5
FW
192642018-03-29 Florian Weimer <fweimer@redhat.com>
19265
19266 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
19267 capture SIGBUS.
19268
d39c0a45
AZ
192692018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19270
19271 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
19272 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
19273 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
19274 (__ASSUME_CLONE_BACKWARDS): Define.
19275
cc8a1620
JH
192762018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
19277
57408435 19278 [BZ #23024]
cc8a1620
JH
19279 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
19280 early when linux sentinel value is set.
19281
8bfd94d0
ST
192822018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19283
19284 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
19285
f178e59f
AS
192862018-03-27 Andreas Schwab <schwab@suse.de>
19287
19288 [BZ #23005]
19289 * resolv/res_send.c (__res_context_send): Return ENOMEM if
19290 allocation of private copy of nsaddr_list fails.
19291
5f45f96a
JM
192922018-03-26 Joseph Myers <joseph@codesourcery.com>
19293
19294 [BZ #16552]
19295 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
19296 * sysdeps/unix/sysv/linux/umount.c: ... here.
19297 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
19298 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
19299 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
19300 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
19301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
19302 * sysdeps/unix/sysv/linux/umount.S: Likewise.
19303 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
19304
3dfd23eb
AS
193052018-03-26 Andreas Schwab <schwab@suse.de>
19306
19307 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
19308 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
19309 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
19310 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
19311 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
19312 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
19313 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
19314 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
19315 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
19316 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
19317 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
19318 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
19319 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
19320 (R_RISCV_NUM): Define.
19321
fa97d2ab
ST
193222018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
19323
19324 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
19325 TLS declaration of errno.
37be82a0
ST
19326 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
19327 __libc_setup_tls.
19328 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
19329 (ARCH_SETUP_TLS): Likewise.
19330 * sysdeps/mach/hurd/libc-start.h: New file copied from
19331 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
978a6803
ST
19332 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
19333 instead of __libc_setup_tls.
37be82a0 19334 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
978a6803
ST
19335 __libc_setup_tls before initializing libpthread and running _hurd_init
19336 which starts the signal thread.
19337 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
19338 Declare function.
2d813d7b 19339 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fa97d2ab 19340
b8114edd
L
193412018-03-24 H.J. Lu <hongjiu.lu@intel.com>
19342
19343 [BZ #22998]
19344 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
19345 after it is defined.
19346
cd66c0e5
AS
193472018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
19348 Max Horn <max@quendi.de>
19349
19350 [BZ #22644]
43d4f3d5 19351 CVE-2017-18269
cd66c0e5
AS
19352 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
19353 branch conditions.
19354 * string/test-memmove.c (do_test2): New testcase.
19355
a4406139
JM
193562018-03-22 Joseph Myers <joseph@codesourcery.com>
19357
19358 * sysdeps/generic/frame.h: Remove file.
19359 * sysdeps/arm/frame.h: Likewise.
19360 * sysdeps/hppa/frame.h: Likewise.
19361 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
19362 macro.
19363 (GET_FRAME): Likewise.
19364 (GET_STACK): Likewise.
19365 (CALL_SIGHANDLER): Likewise.
19366 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
19367 Likewise.
19368 (GET_FRAME): Likewise.
19369 (GET_STACK): Likewise.
19370 (CALL_SIGHANDLER): Likewise.
19371 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
19372 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19373 (GET_FRAME): Likewise.
19374 (GET_STACK): Likewise.
19375 (CALL_SIGHANDLER): Likewise.
19376 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
19377 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19378 (GET_FRAME): Likewise.
19379 (GET_STACK): Likewise.
19380 (ADVANCE_STACK_FRAME): Likewise.
19381 (CALL_SIGHANDLER): Likewise.
19382 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
19383 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19384 (GET_FRAME): Likewise.
19385 (GET_STACK): Likewise.
19386 (CALL_SIGHANDLER): Likewise.
19387 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
19388 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19389 (GET_FRAME): Likewise.
19390 (GET_STACK): Likewise.
19391 (CALL_SIGHANDLER): Likewise.
19392 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
19393 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19394 (GET_FRAME): Likewise.
19395 (GET_STACK): Likewise.
19396 (CALL_SIGHANDLER): Likewise.
19397 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
19398 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19399 (GET_FRAME): Likewise.
19400 (GET_STACK): Likewise.
19401 (CALL_SIGHANDLER): Likewise.
19402 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
19403 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19404 (GET_FRAME): Likewise.
19405 (GET_STACK): Likewise.
19406 (CALL_SIGHANDLER): Likewise.
19407 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
19408 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19409 (GET_FRAME): Likewise.
19410 (GET_STACK): Likewise.
19411 (CALL_SIGHANDLER): Likewise.
19412 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
19413 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19414 (GET_FRAME): Likewise.
19415 (GET_STACK): Likewise.
19416 (CALL_SIGHANDLER): Likewise.
19417 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
19418 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19419 (GET_FRAME): Likewise.
19420 (GET_STACK): Likewise.
19421 (CALL_SIGHANDLER): Likewise.
19422 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
19423 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19424 (GET_FRAME): Likewise.
19425 (GET_STACK): Likewise.
19426 (CALL_SIGHANDLER): Likewise.
19427 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
19428 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19429 (FIRST_FRAME_POINTER): Likewise.
19430 (ADVANCE_STACK_FRAME): Likewise.
19431 (GET_STACK): Likewise.
19432 (GET_FRAME): Likewise.
19433 (CALL_SIGHANDLER): Likewise.
19434 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
19435 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19436 (ADVANCE_STACK_FRAME): Likewise.
19437 (GET_STACK): Likewise.
19438 (GET_FRAME): Likewise.
19439 (CALL_SIGHANDLER): Likewise.
19440 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
19441 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19442 (GET_FRAME): Likewise.
19443 (GET_STACK): Likewise.
19444 (CALL_SIGHANDLER): Likewise.
19445 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
19446 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19447 (GET_FRAME): Likewise.
19448 (GET_STACK): Likewise.
19449 (CALL_SIGHANDLER): Likewise.
19450
ffec7b27
JM
194512018-03-21 Joseph Myers <joseph@codesourcery.com>
19452
19453 * sysdeps/x86_64/backtrace.c: Move to ....
19454 * debug/backtrace.c: ... here.
19455 * sysdeps/aarch64/backtrace.c: Remove file.
19456 * sysdeps/alpha/backtrace.c: Likewise.
19457 * sysdeps/hppa/backtrace.c: Likewise.
19458 * sysdeps/ia64/backtrace.c: Likewise.
19459 * sysdeps/mips/backtrace.c: Likewise.
19460 * sysdeps/nios2/backtrace.c: Likewise.
19461 * sysdeps/riscv/backtrace.c: Likewise.
19462 * sysdeps/sh/backtrace.c: Likewise.
19463 * sysdeps/tile/backtrace.c: Likewise.
19464
8a07b0c4
JM
194652018-03-20 Joseph Myers <joseph@codesourcery.com>
19466
d0c5d731
JM
19467 [BZ #22987]
19468 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
19469 function.
19470 (fdimf): Likewise.
19471 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
19472
8a07b0c4
JM
19473 [BZ #17343]
19474 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
19475 possibly overflowing computations.
19476
ceb54b9b
ST
194772018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
19478
19479 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
19480 values from Linux-specific section now that it is in the GNU section.
19481 * sysdeps/gnu/errlist.c: Regenerate.
19482
8d3f9e85
JM
194832018-03-20 Joseph Myers <joseph@codesourcery.com>
19484
19485 * math/Makefile (libm-narrow-fns): Add sub.
19486 (libm-test-funcs-narrow): Likewise.
19487 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
19488 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
19489 * math/gen-auto-libm-tests.c (test_functions): Add sub.
19490 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
19491 (NARROW_SUB_ROUND_TO_ODD): Likewise.
19492 (NARROW_SUB_TRIVIAL): Likewise.
19493 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
19494 macro.
19495 (__dsubl): Likewise.
19496 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
19497 dsub.
19498 (CFLAGS-nldbl-dsub.c): New variable.
19499 (CFLAGS-nldbl-fsub.c): Likewise.
19500 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
19501 __nldbl_dsubl.
19502 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
19503 prototype.
19504 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
19505 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
19506 * math/auto-libm-test-in: Add tests of sub.
19507 * math/auto-libm-test-out-narrow-sub: New generated file.
19508 * math/libm-test-narrow-sub.inc: New file.
19509 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
19510 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
19511 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
19512 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
19513 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
19514 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
19515 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
19516 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
19517 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
19518 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
19519 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
19520 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
19521 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
19522 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
19523 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
19524 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
19525 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
19526 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
19527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19528 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
19529 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19530 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19531 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19532 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19533 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19534 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19535 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19536 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19537 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19538 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19539 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19540 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
19543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19545 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19546 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19547 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19548 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19549 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19550 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19551 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
19552 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
19553 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19554 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19555
d473f015
JM
195562018-03-19 Joseph Myers <joseph@codesourcery.com>
19557
19558 [BZ #20079]
19559 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
19560
fbce6f72
WD
195612018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
19562
19563 * benchtests/bench-timing.h (attribute_hidden): Undefine.
19564
72e7ffc3
RB
195652018-03-18 Richard Braun <rbraun@sceen.net>
19566
19567 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
19568 thread reference.
19569
542c20a1
AA
195702018-03-18 Agustina Arzille <avarzille@riseup.net>
19571
19572 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
19573 (__libc_cleanup_fct): Define function.
19574 (__libc_cleanup_region_start, __libc_cleanup_region_end,
19575 __libc_cleanup_end): Rewrite implementation using
19576 __attribute__ ((__cleanup__)).
19577 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
fb4cc8a0
AA
19578 * hurd/Makefile (routines): Add hurdlock.
19579 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
19580 interface.
19581 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
19582 * hurd/hurdpid.c: Include <lowlevellock.h>
19583 (_S_msg_proc_newids): Use lll_wait to synchronize.
19584 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
19585 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
19586 * mach/Makefile (lock-headers): Remove machine-lock.h.
19587 * mach/lock-intern.h: Include <lowlevellock.h> instead of
19588 <machine-lock.h>.
19589 (__spin_lock_t): New type.
19590 (__SPIN_LOCK_INITIALIZER): New macro.
19591 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
19592 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
19593 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
19594 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
19595 (__mutex_init): Initialize with lll.
19596 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
19597 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
19598 needing lll.
19599 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19600 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
19601 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
19602 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
19603 (__setpgid): Use lll for synchronization.
19604 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
19605 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
19606 instead of <cthreads.h>.
19607 (_IO_lock_inexpensive): New macro
19608 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
19609 (__libc_lock_self0): New declaration.
19610 (__libc_lock_owner_self): New macro.
19611 (__libc_key_t): Remove type.
19612 (_LIBC_LOCK_INITIALIZER): New macro.
19613 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
19614 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
19615 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
19616 __libc_lock_define_initialized_recursive,
19617 __rtld_lock_define_initialized_recursive,
19618 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
19619 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
19620 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
19621 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
19622 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
19623 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
19624 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
19625 New macros.
19626 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
19627 * hurd/hurdlock.c: New file.
19628 * hurd/hurdlock.h: New file.
19629 * mach/lowlevellock.h: New file
542c20a1 19630
9a37922e
ST
196312018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
19632
19633 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
489999cc
ST
19634 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
19635 when opening a symlink with O_NOFOLLOW.
72103e73
ST
19636 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
19637 path when flags contains O_NOFOLLOW.
19638 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
19639 if flags contains O_DIRECTORY and the result is a directory.
aa218929
ST
19640 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
19641 oneself when the pointer given in D is nul (as set by ext2fs).
20bc801b
ST
19642 * sysdeps/mach/hurd/mlockall.c: New file.
19643 * sysdeps/mach/hurd/munlockall.c: New file.
9a37922e 19644
34e6a869
ST
196452018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
19646
19647 * hurd/hurdsig.c: Include <pthread.h>.
19648 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
19649 get the signal thread stack layout.
dc33bef3
ST
19650 * hurd/Makefile (headers): Remove threadvar.h.
19651 (inline-headers): Remove threadvar.h.
19652 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
19653 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
19654 __hurd_threadvar_max, __hurd_errno_location.
19655 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
19656 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
19657 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
19658 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
19659 unless TLS is not initialized yet, in which case we do not need a
19660 critical section yet anyway.
19661 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
19662 <machine-sp.h>.
19663 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
19664 declarations.
19665 (__hurd_threadvar_index): Remove enum.
19666 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
19667 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
19668 inlines.
19669 (__hurd_reply_port0): New variable declaration.
19670 (__hurd_local_reply_port): New macro.
19671 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
19672 (interrupted_reply_port_location): Add thread_t parameter. Use it
19673 with THREAD_TCB to access thread-local variables.
19674 (_hurdsig_abort_rpcs): Pass ss->thread to
19675 interrupted_reply_port_location.
19676 (_hurd_internal_post_signal): Likewise.
19677 (_hurdsig_init): Use presence of cthread_fork instead of
19678 __hurd_threadvar_stack_mask to start signal thread by hand.
19679 Remove signal thread threadvar initialization.
19680 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
19681 * hurd/sigunwind.c: Include <hurd/threadvar.h>
19682 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
19683 of threadvar.
19684 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
19685 __libc_lock_self0.
19686 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
19687 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
19688 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
19689 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
19690 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
19691 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
19692 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
19693 define variables.
19694 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
19695 <hurd/threadvar.h>.
19696 [IS_IN(rtld)] (rtld_errno): New variable.
19697 [IS_IN(rtld)] (__errno_location): New weak function.
19698 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
19699 * sysdeps/mach/hurd/errno.c: Remove file.
19700 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
19701 (__fork): Remove THREADVAR_SPACE macro and its use.
19702 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
19703 variable.
19704 (init): Do not initialize threadvar.
19705 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
19706 symbol.
19707 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
19708 __hurd_local_reply_port instead of threadvar.
19709 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
19710 _hurd_sigstate fields.
19711 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
19712 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
19713 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
19714 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
19715 instead of threadvar.
19716 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
19717 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
19718 (use_threadvar, global_reply_port): Remove variables.
19719 (__hurd_reply_port0): New variable.
19720 (__mig_get_reply_port): Use __hurd_local_reply_port and
19721 __hurd_reply_port0 instead of threadvar.
19722 (__mig_dealloc_reply_port): Likewise.
19723 (__mig_init): Do not initialize threadvar.
19724 * sysdeps/mach/hurd/profil.c: Fix comment.
c2fb08c7
ST
19725 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
19726 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
19727 cthread_keycreate, cthread_getspecific, cthread_setspecific to
19728 __cthread_fork, __cthread_detach, __pthread_getattr_np,
19729 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
19730 __cthread_setspecific.
19731 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
19732 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
19733 __cthread_t instead of cthread_fork, cthread_detach,
19734 pthread_getattr_np, pthread_attr_getstack.
19735 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
19736 __cthread_keycreate.
19737 (cthread_getspecific): Rename to __cthread_getspecific.
19738 (cthread_setspecific): Rename to __cthread_setspecific.
19739 (__libc_getspecific): Use __cthread_getspecific instead of
19740 cthread_getspecific.
19741 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
19742 __cthread_keycreate instead of cthread_keycreate.
19743 (__libc_setspecific): Use __cthread_setspecific instead of
19744 cthread_setspecific.
19745 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
19746 Likewise.
dd28d4ba
ST
19747 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
19748 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
19749 testing whether it is defined.
34e6a869 19750
f8baf2a2
ST
197512018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19752
19753 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
19754 Define macro.
19755 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
19756 * sysdeps/mach/i386/thread_state.h
19757 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
19758 i386_THREAD_STATE.
19759 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
19760 i386_THREAD_STATE.
19761 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
19762
19763 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
19764 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
19765
19766 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
19767 macros.
19768 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
19769 descriptor instead of creating a new one.
19770 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
19771
19772 * mach/setup-thread.c: Include <ldsodefs.h>.
19773 (__mach_setup_thread): Call _dl_allocate_tls, pass
19774 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
19775 MACHINE_THREAD_STATE_FLAVOR, before getting
19776 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
19777 MACHINE_THREAD_STATE_FLAVOR with the result.
19778 * hurd/hurdfault.c (_hurdsig_fault_init): Call
19779 MACHINE_THREAD_STATE_FIX_NEW.
19780 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
19781 too. Add original thread parameter.
19782
34ba96b8
JM
197832018-03-16 Joseph Myers <joseph@codesourcery.com>
19784
5d75b75f
JM
19785 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
19786 Remove inline function.
19787
34ba96b8
JM
19788 * sysdeps/i386/fpu/libm-test-ulps: Update.
19789 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19790
22679b2c
WD
197912018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
19792
19793 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
19794 commit.
19795
c429a8d8
JM
197962018-03-15 Joseph Myers <joseph@codesourcery.com>
19797
19798 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
19799 (__sincos_code): Remove define and undefine.
19800 [__FAST_MATH__] (__sincos): Remove inline function.
19801 [__FAST_MATH__] (__sincosf): Remove inline function.
19802 [__FAST_MATH__] (__sincosl): Remove inline function.
19803 (__atan2l): Remove inline functions.
19804 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
19805 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
19806 function.
19807 (floor): Remove inline function.
19808 (ceil): Likewise.
19809 [__FAST_MATH__] (__ldexp_code): Remove macro.
19810 [__FAST_MATH__] (ldexp): Remove inline function.
19811 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
19812 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
19813 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
19814 [__USE_ISOC99] (__lrint_code): Remove macro.
19815 [__USE_ISOC99] (__llrint_code): Likewise.
19816 [__USE_ISOC99] (lrintf): Remove inline function.
19817 [__USE_ISOC99] (lrint): Likewise.
19818 [__USE_ISOC99] (lrintl): Likewise.
19819 [__USE_ISOC99] (llrint): Likewise.
19820 [__USE_ISOC99] (llrintf): Likewise.
19821 [__USE_ISOC99] (llrintl): Likewise.
19822
700593fd
WD
198232018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19824
19825 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
19826 (__ieee754_sqrtf): Remove.
19827 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
19828 (__ieee754_sqrtf): Remove.
19829 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
19830 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
19831 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
19832 (__ieee754_sqrtf): Remove.
19833 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
19834 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
19835 (sqrtf): Remove.
19836 (sqrtl): Remove.
19837 (__ieee754_sqrt): Remove.
19838 (__ieee754_sqrtf): Remove.
19839 (__ieee754_sqrtl): Remove.
19840 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
19841 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
19842 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
19843 (__ieee754_sqrtf): Remove.
19844 (__ieee754_sqrtl): Remove.
19845
f67a8147
WD
198462018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19847
19848 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
19849 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
19850 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
19851 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
19852 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
19853 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19854 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19855 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
19856 Likewise.
19857 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
19858 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
19859 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
19860 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
19861 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
19862 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
19863 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
19864 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
19865 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
19866 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
19867 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
19868 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
19869 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
19870 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
19871 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
19872 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19873 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19874 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
19875 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
19876 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
19877 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
19878 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19879 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
19880 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
19881 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
19882 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
19883 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19884 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
19885 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
19886 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
19887 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
19888 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
19889 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
19890 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
19891 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
19892 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19893 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
19894 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
19895 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
19896 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
19897
1294b189
WD
198982018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19899
19900 * include/math.h (sqrt): Declare with asm redirect.
19901 (sqrtf): Likewise.
19902 (sqrtl): Likewise.
19903 (sqrtf128): Likewise.
19904 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
19905 nonlib and libnldbl with -fmath-errno.
19906 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
19907 * math/w_sqrt_template.c: Likewise.
19908 * math/w_sqrtf_compat.c: Likewise.
19909 * math/w_sqrtl_compat.c: Likewise.
19910 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
19911 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
19912 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
19913 complex.h.
19914
f1c8185d
WD
199152018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19916
19917 * benchtests/Makefile: Define _ISOMAC.
19918 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
19919 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
19920 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
19921 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
19922 * benchtests/bench-timing.h: Define attribute_hidden.
19923
b47c3e76
SP
199242018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
19925
19926 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
19927 mov + lsr.
19928
ab74d59f 199292018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
807fee29
RL
19930
19931 [BZ #22963]
19932 * localedata/locales/cs_CZ (mon): Rename to...
19933 (alt_mon): This.
19934 (mon): Import from CLDR (genitive case).
19935
ab74d59f 199362018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
e7155a28
RL
19937
19938 [BZ #22937]
19939 * localedata/locales/el_CY (abmon): Rename to...
19940 (ab_alt_mon): This.
19941 (abmon): Import from CLDR (abbreviated genitive case).
19942 * localedata/locales/el_GR (abmon): Rename to...
19943 (ab_alt_mon): This.
19944 (abmon): Import from CLDR (abbreviated genitive case).
19945
ab74d59f 199462018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
71d7b121
RL
19947
19948 [BZ #22932]
19949 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
19950
a00bffe8
RB
199512018-03-15 Robert Buj <robert.buj@gmail.com>
19952
19953 [BZ #22848]
19954 * localedata/locales/ca_ES (abmon): Rename to...
19955 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
19956 (mon): Rename to...
19957 (alt_mon): This.
19958 (abmon): Import from CLDR (genitive case, month names preceded by
19959 "de" or "d’").
19960 (mon): Likewise.
19961 (abday): Synchronize with CLDR.
19962 (d_t_fmt): Likewise.
19963 (d_fmt): Likewise.
19964 (am_pm): Likewise.
19965
19966 (LC_TIME): Improve indentation.
19967 (LC_TELEPHONE): Likewise.
19968 (LC_NAME): Likewise.
19969 (LC_ADDRESS): Likewise.
19970
f9555d73
JM
199712018-03-14 Joseph Myers <joseph@codesourcery.com>
19972
19973 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
19974 (lrintf): Remove definitions used only with old GCC.
19975 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
19976 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
19977 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
19978 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
19979 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
19980 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
19981 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
19982 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
19983 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
19984 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
19985 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
19986 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
19987 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
19988 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
19989 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
19990 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
19991 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
19992 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
19993 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
19994 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
19995 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
19996 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
19997 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
19998 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
19999 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
20000 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
20001 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
20002 [__FAST_MATH__] (__M_SQRT2): Remove macro.
20003
d46f84de
SP
200042018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
20005
20006 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
20007 instruction to unbreak builds with binutils 2.26 and older.
20008
7108f1f9
SP
200092018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
20010
20011 * sysdeps/aarch64/strncmp.S (count): New macro.
20012 (strncmp): Store misaligned length in SRC1 in COUNT.
20013 (mutual_align): Adjust.
20014 (misaligned8): Load dword at a time when it is safe.
20015
2cc7bad0
ZW
200162018-03-12 Zack Weinberg <zackw@panix.com>
20017
20018 [BZ #1190]
20019 [BZ #19476]
20020 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
20021 if the _IO_EOF_SEEN bit is already set; update commentary.
20022 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
20023 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
20024
20025 * support/support_openpty.c, support/tty.h: New files.
20026 * support/Makefile (libsupport-routines): Add support_openpty.
20027
20028 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
20029 New test cases.
20030 * libio/Makefile (tests): Add tst-fgetc-after-eof.
20031 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
20032
778f1974
DL
200332018-03-12 Dmitry V. Levin <ldv@altlinux.org>
20034
20035 * po/pt_BR.po: Update translations.
20036
6b5c8607 200372018-03-12 David Michael <fedora.dm0@gmail.com>
da6d4404
DM
20038
20039 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
20040 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
20041 get a port to the startup server.
20042
d3da750d
ZW
200432018-03-11 Zack Weinberg <zackw@panix.com>
20044
20045 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
20046 before nldbl-compat.h.
20047
054b72cc
ZW
200482018-03-10 Zack Weinberg <zackw@panix.com>
20049
0d13dfa1
ZW
20050 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
20051 math.h or math_private.h.
20052
20053 * sysdeps/alpha/fpu/s_isnan.c
20054 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
20055 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
20056 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
20057 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
20058 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
20059 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
20060 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
20061 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
20062 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
20063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
20064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
20065 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
20066 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
20067 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
20068 Include math_private.h.
20069
20070 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
20071 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
20072 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
20073 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
20074 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
20075 * sysdeps/powerpc/power7/fpu/s_logb.c:
20076 Include math.h and math_private.h.
20077
054b72cc
ZW
20078 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
20079 uses of $at in .set noat / .set at.
20080
6253bacd
L
200812018-03-10 H.J. Lu <hongjiu.lu@intel.com>
20082
20083 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
20084 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
20085 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
20086 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
20087 Likewise.
20088
229855e5
FW
200892018-03-09 Florian Weimer <fweimer@redhat.com>
20090
20091 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
20092 in comment.
20093
9aa5c222
AJ
200942018-03-09 Aurelien Jarno <aurelien@aurel32.net>
20095
20096 [BZ #22919]
20097 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
20098 Add nop before __startcontext, add explaining comments.
20099
3dc21497
AZ
201002018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20101
e921c89e
AZ
20102 [BZ #22926]
20103 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
20104 empty for __SPE__.
20105 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
20106 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
20107 Do not build hardware transactional code for __SPE__.
20108 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
20109 (__lll_trylock_elision): Likewise.
20110 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
20111 (__lll_unlock_elision): Likewise.
20112
d9f26dab 20113 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
3dc21497
AZ
20114 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
20115 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
20116 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
20117 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
20118 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
20119 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
20120 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
20121 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
20122 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
20123 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
20124 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
20125 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
20126 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
20127 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
20128 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
20129 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
20130 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
20131 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
20132 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
20133 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
20134 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20135 (__ASSUME_CLONE_BACKWARDS): Define.
20136 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
20137 __clone2 if __NR_clone2 is defined.
20138 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20139 (__ASSUME_CLONE_BACKWARDS): Likewise.
20140 * sysdeps/unix/sysv/linux/i386/kernel-features.h
20141 (__ASSUME_CLONE_BACKWARDS): Likewise.
20142 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20143 (__ASSUME_CLONE2): Likewise.
20144 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20145 (__ASSUME_CLONE_BACKWARDS3): Likewise.
20146 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
20147 variants and the define architecture can use.
20148 (__ASSUME_CLONE_DEFAULT): Define as default.
20149 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20150 (__ASSUME_CLONE_BACKWARDS): Likewise.
20151 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20152 (__ASSUME_CLONE_BACKWARDS): Likewise.
20153 * sysdeps/unix/sysv/linux/s390/kernel-features.h
20154 (__ASSUME_CLONE_BACKWARDS2): Likewise.
20155
adc95fb0
SP
201562018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
20157
4e54d918
SP
20158 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
20159
30a81dae
SP
20160 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
20161 time.
20162
adc95fb0
SP
20163 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
20164 (do_test_limit): Likewise.
20165
20166 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
20167 for every implementation.
20168 (do_test): Likewise.
20169
20170 * benchtests/bench-strncmp.c: Convert output to json.
20171
4e9066bc
ST
201722018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20173
20174 * io/futimens.c: Add missing start-of-file descriptive comment.
20175 * io/utime.c: Likewise.
20176 * misc/futimesat.c: Likewise.
20177 * misc/utimes.c: Likewise.
20178 * sysdeps/mach/hurd/futimesat.c: Likewise.
20179 * sysdeps/mach/hurd/utimes.c: Likewise.
20180 * sysdeps/posix/utime.c: Likewise.
20181 * sysdeps/posix/utimes.c: Likewise.
20182 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
20183 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
20184 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
20185 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
20186
ec1300cf
ST
201872018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
20188
20189 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
20190 hurd_futimes.
20191 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
20192 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
20193 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
20194 (__futimens): Move implementation to...
20195 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
20196 utime_tvalue_from_tspec): ... new helper functions.
20197 (hurd_futimens): New function.
20198 * sysdeps/mach/hurd/futimesat.c: New file.
20199 * sysdeps/mach/hurd/utimensat.c: New file.
20200
bbe762d1
FC
202012018-03-05 Flávio Cruz <flaviocruz@gmail.com>
20202
20203 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
20204 UTIME_OMIT): New macros.
20205 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
20206 before reverting to converting time spec to time value and calling
20207 __file_utimes.
20208 * sysdeps/mach/hurd/utime-helper.c: New file.
20209 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
20210 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
20211 reverting to utime_tvalue_from_tval and __file_utimes.
20212 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
20213 (__lutimes): Just call hurd_futimens after lookup.
20214 * sysdeps/mach/hurd/utimes.c: Likewise.
20215
a1ede3a4
ST
202162018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
20217
20218 * bits/sigaction.h: Add include guard.
20219 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
20220 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
20221 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
20222 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
20223 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
20224 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
20225 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
20226 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
20227 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
20228
6900d2ca
JM
202292018-03-05 Joseph Myers <joseph@codesourcery.com>
20230
20231 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
20232 -Wmaybe-uninitialized for -Os.
20233 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
20234 this disabling.
20235
68448be2
AZ
202362018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20237
5226a81f
AZ
20238 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
20239 __INO_T_MATCHES_INO64_T is defined.
20240 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
20241 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
20242 of definition.
20243 * dirent/alphasort64.c: Likewise.
20244 * dirent/scandir.c: Likewise.
20245 * dirent/scandir64-tail.c: Likewise.
20246 * dirent/scandir64.c: Likewise.
20247 * dirent/scandirat.c: Likewise.
20248 * dirent/scandirat64.c: Likewise.
20249 * dirent/versionsort.c: Likewise.
20250 * dirent/versionsort64.c: Likewise.
20251 * include/dirent.h: Likewise.
20252
fbd01e6c
AZ
20253 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
20254 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
20255 for socketpair endpoint.
20256 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
20257 WRITE_BUFFER_SIZE as buffer size for sending socket.
20258 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
20259 issue on system where send is implemented with sendto syscall.
20260 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
20261 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
20262 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
20263 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
20264
68448be2
AZ
20265 [BZ #21269]
20266 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
20267 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
20268 sa_restorer for vDSO case.
20269 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
20270
eb1ca47e
ST
202712018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
20272
20273 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
e30c291a
ST
20274 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
20275 * hurd/hurd/ioctl.h: Include <mach/port.h>
20276 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
f4bff843
ST
20277 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
20278 <mach/mach_types.h> and <mach/message.h>.
430fd945
ST
20279 (headers): Move mach/param.h to bits/mach/param.h.
20280 * sysdeps/mach/i386/mach/param.h: Move file to ...
20281 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
20282 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
20283 of <mach/param.h>.
3403cb7d
ST
20284 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
20285 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
20286 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
48d34cbc
ST
20287 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
20288 trivial, for C++ conformity.
44c6376c 20289 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
95dfdbd2
ST
20290 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
20291 Process mig output through $(migheadersed).
20292 * hurd/Makefile (migheadersed): Define variable.
a726c87a
ST
20293 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
20294 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
20295 headers.
ba89615d
ST
20296 * hurd/hurd.h: Include <bits/types/sigset_t.h>
20297 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
20298 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
20299 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
20300 <bits/types/sigset_t.h>.
20301 [!defined __USE_GNU]: Do not #error out.
20302 (struct hurd_sigstate): Use _NSIG instead of NSIG.
20303 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
20304 Include <stddef.h> and <bits/types/sigset_t.h>
20305 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
20306 instead of sighandler_t.
974393ea
ST
20307 * stdlib/errno.h (error_t): Move definition to...
20308 * bits/types/error_t.h: ... new header.
20309 * stdlib/Makefile (headers): Add bits/types/error_t.h.
20310 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
20311 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
20312 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
20313 * hurd/hurd.h: Include <bits/types/error_t.h>
20314 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
20315 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
20316 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
20317 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
20318 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
20319 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
8d965cde 20320 * sysdeps/mach/hurd/futimens.c: New file.
eb1ca47e 20321
eaf6753f
AS
203222018-03-03 Andreas Schwab <schwab@linux-m68k.org>
20323
20324 [BZ #22918]
20325 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
20326 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
20327 * nscd/gai.c (__nss_hosts_database): Readd definition.
20328 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
20329 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
20330 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
20331
4dc23804
JM
203322018-03-02 Joseph Myers <joseph@codesourcery.com>
20333
20334 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
20335 (ifunc_one): Likewise.
20336
1c81d55f
DD
203372018-03-01 DJ Delorie <dj@delorie.com>
20338
20339 [BZ #22342]
20340 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
20341 key value.
20342
b717c14f
MR
203432018-03-01 Maciej W. Rozycki <macro@mips.com>
20344
20345 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
20346 `match_pid' parameter.
20347 (td_ta_thr_iter): Update accordingly.
20348
1efe1358
FW
203492018-03-01 Florian Weimer <fweimer@redhat.com>
20350
20351 * nptl/Makefile (install-lib-ldscripts): Remove.
20352 (install): Remove rule.
20353 ($(inst_libdir)/libpthread.so): Likewise.
20354
a527f09c
MF
203552018-03-01 Mike FABIAN <mfabian@redhat.com>
20356
20357 [BZ #22896]
20358 * localedata/locales/an_ES: update month and day names,
20359 improve d_fmt, improve postal_fmt, add country_post,
20360 add country_isbn
20361
35d660b0
MF
203622018-03-01 Mike FABIAN <mfabian@redhat.com>
20363
20364 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
20365 Ukrainian instead of Bulgarian.
20366
1a2f44a8
FW
203672018-03-01 Florian Weimer <fweimer@redhat.com>
20368
20369 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
20370 reference.
20371
bd60ce86
FW
203722018-03-01 Florian Weimer <fweimer@redhat.com>
20373
20374 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
20375 * nptl/Makefile (routines): Add pthread_atfork.
20376 (static-only-routines): Set to pthread_atfork.
20377 (libpthread-routines): Remove pthread_atfork.
20378 (libpthread-static-only-routines): Remove.
20379 (install): Update comment.
20380 (libpthread.so): Do not install libpthread_nonshared.a.
20381 (tests): Do not link with libpthread_nonshared.a.
20382 (generated): Remove libpthread_nonshared.a.
20383 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
20384 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
20385 with libpthread_nonshared.a.
20386
000f290f
JM
203872018-02-28 Joseph Myers <joseph@codesourcery.com>
20388
e2bcf6a8
JM
20389 [BZ #22902]
20390 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
20391 (libc_feholdexcept_setroundf128): New macro.
20392 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
20393
000f290f
JM
20394 [BZ #15105]
20395 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
20396 libc_hidden_def.
20397 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
20398 * include/inttypes.h: New file.
20399
02f2fead
JM
204002018-02-27 Joseph Myers <joseph@codesourcery.com>
20401
20402 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
20403 -Os in two more places.
20404
874c56d7
MF
204052018-02-27 Mike FABIAN <mfabian@redhat.com>
20406
20407 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
20408 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
20409 be sorted correctly at the moment because of a bug.
20410
15973854
MF
204112018-02-27 Mike FABIAN <mfabian@redhat.com>
20412
20413 [BZ #22550] - es_ES locale (and other es_* locales): collation should
20414 treat ñ as a primary different character, sync the collation
20415 for Spanish with CLDR.
20416 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
20417 * localedata/Makefile: Add new test files.
20418 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
20419 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
20420 collation order.
20421 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
20422 * localedata/am_ET.UTF-8.in: New test file.
20423 * localedata/az_AZ.UTF-8.in: Likewise.
20424 * localedata/be_BY.UTF-8.in: Likewise.
20425 * localedata/ber_DZ.UTF-8.in: Likewise.
20426 * localedata/ber_MA.UTF-8.in: Likewise.
20427 * localedata/bg_BG.UTF-8.in: Likewise.
20428 * localedata/br_FR.UTF-8.in: Likewise.
20429 * localedata/cmn_TW.UTF-8.in: Likewise.
20430 * localedata/crh_UA.UTF-8.in: Likewise.
20431 * localedata/csb_PL.UTF-8.in: Likewise.
20432 * localedata/cv_RU.UTF-8.in: Likewise.
20433 * localedata/cy_GB.UTF-8.in: Likewise.
20434 * localedata/dz_BT.UTF-8.in: Likewise.
20435 * localedata/eo.UTF-8.in: Likewise.
20436 * localedata/es_ES.UTF-8.in: Likewise.
20437 * localedata/fa_IR.UTF-8.in: Likewise.
20438 * localedata/fi_FI.UTF-8.in: Likewise.
20439 * localedata/fil_PH.UTF-8.in: Likewise.
20440 * localedata/fur_IT.UTF-8.in: Likewise.
20441 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
20442 * localedata/ha_NG.UTF-8.in: Likewise.
20443 * localedata/ig_NG.UTF-8.in: Likewise.
20444 * localedata/ik_CA.UTF-8.in: Likewise.
20445 * localedata/kk_KZ.UTF-8.in: Likewise.
20446 * localedata/ku_TR.UTF-8.in: Likewise.
20447 * localedata/ky_KG.UTF-8.in: Likewise.
20448 * localedata/ln_CD.UTF-8.in: Likewise.
20449 * localedata/mi_NZ.UTF-8.in: Likewise.
20450 * localedata/ml_IN.UTF-8.in: Likewise.
20451 * localedata/mn_MN.UTF-8.in: Likewise.
20452 * localedata/mr_IN.UTF-8.in: Likewise.
20453 * localedata/mt_MT.UTF-8.in: Likewise.
20454 * localedata/nb_NO.UTF-8.in: Likewise.
20455 * localedata/om_KE.UTF-8.in: Likewise.
20456 * localedata/os_RU.UTF-8.in: Likewise.
20457 * localedata/ps_AF.UTF-8.in: Likewise.
20458 * localedata/ro_RO.UTF-8.in: Likewise.
20459 * localedata/ru_RU.UTF-8.in: Likewise.
20460 * localedata/sc_IT.UTF-8.in: Likewise.
20461 * localedata/se_NO.UTF-8.in: Likewise.
20462 * localedata/sq_AL.UTF-8.in: Likewise.
20463 * localedata/sv_SE.UTF-8.in: Likewise.
20464 * localedata/szl_PL.UTF-8.in: Likewise.
20465 * localedata/tg_TJ.UTF-8.in: Likewise.
20466 * localedata/tk_TM.UTF-8.in: Likewise.
20467 * localedata/tt_RU.UTF-8.in: Likewise.
20468 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
20469 * localedata/ug_CN.UTF-8.in: Likewise.
20470 * localedata/uz_UZ.UTF-8.in: Likewise.
20471 * localedata/vi_VN.UTF-8.in: Likewise.
20472 * localedata/yi_US.UTF-8.in: Likewise.
20473 * localedata/yo_NG.UTF-8.in: Likewise.
20474 * localedata/zh_CN.UTF-8.in: Likewise.
20475 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
20476 file and fix bugs in the collation.
20477 * localedata/locales/az_AZ: Likewise.
20478 * localedata/locales/be_BY: Likewise.
20479 * localedata/locales/ber_DZ: Likewise.
20480 * localedata/locales/ber_MA: Likewise.
20481 * localedata/locales/bg_BG: Likewise.
20482 * localedata/locales/br_FR: Likewise.
20483 * localedata/locales/br_FR@euro: Likewise.
20484 * localedata/locales/ca_ES: Likewise.
20485 * localedata/locales/cns11643_stroke: Likewise.
20486 * localedata/locales/crh_UA: Likewise.
20487 * localedata/locales/cs_CZ: Likewise.
20488 * localedata/locales/csb_PL: Likewise.
20489 * localedata/locales/cv_RU: Likewise.
20490 * localedata/locales/cy_GB: Likewise.
20491 * localedata/locales/da_DK: Likewise.
20492 * localedata/locales/dz_BT: Likewise.
20493 * localedata/locales/en_CA: Likewise.
20494 * localedata/locales/eo: Likewise.
20495 * localedata/locales/es_CU: Likewise.
20496 * localedata/locales/es_EC: Likewise.
20497 * localedata/locales/es_ES: Likewise.
20498 * localedata/locales/es_US: Likewise.
20499 * localedata/locales/et_EE: Likewise.
20500 * localedata/locales/fa_IR: Likewise.
20501 * localedata/locales/fi_FI: Likewise.
20502 * localedata/locales/fil_PH: Likewise.
20503 * localedata/locales/fur_IT: Likewise.
20504 * localedata/locales/gez_ER@abegede: Likewise.
20505 * localedata/locales/ha_NG: Likewise.
20506 * localedata/locales/hr_HR: Likewise.
20507 * localedata/locales/hsb_DE: Likewise.
20508 * localedata/locales/hu_HU: Likewise.
20509 * localedata/locales/ig_NG: Likewise.
20510 * localedata/locales/ik_CA: Likewise.
20511 * localedata/locales/is_IS: Likewise.
20512 * localedata/locales/iso14651_t1_pinyin: Likewise.
20513 * localedata/locales/kk_KZ: Likewise.
20514 * localedata/locales/ku_TR: Likewise.
20515 * localedata/locales/ky_KG: Likewise.
20516 * localedata/locales/ln_CD: Likewise.
20517 * localedata/locales/lt_LT: Likewise.
20518 * localedata/locales/lv_LV: Likewise.
20519 * localedata/locales/mi_NZ: Likewise.
20520 * localedata/locales/ml_IN: Likewise.
20521 * localedata/locales/mn_MN: Likewise.
20522 * localedata/locales/mr_IN: Likewise.
20523 * localedata/locales/mt_MT: Likewise.
20524 * localedata/locales/nb_NO: Likewise.
20525 * localedata/locales/om_KE: Likewise.
20526 * localedata/locales/os_RU: Likewise.
20527 * localedata/locales/pl_PL: Likewise.
20528 * localedata/locales/ps_AF: Likewise.
20529 * localedata/locales/ro_RO: Likewise.
20530 * localedata/locales/ru_RU: Likewise.
20531 * localedata/locales/ru_UA: Likewise.
20532 * localedata/locales/sc_IT: Likewise.
20533 * localedata/locales/se_NO: Likewise.
20534 * localedata/locales/si_LK: Likewise.
20535 * localedata/locales/sq_AL: Likewise.
20536 * localedata/locales/sv_FI: Likewise.
20537 * localedata/locales/sv_FI@euro: Likewise.
20538 * localedata/locales/sv_SE: Likewise.
20539 * localedata/locales/szl_PL: Likewise.
20540 * localedata/locales/tg_TJ: Likewise.
20541 * localedata/locales/ti_ER: Likewise.
20542 * localedata/locales/tk_TM: Likewise.
20543 * localedata/locales/tl_PH: Likewise.
20544 * localedata/locales/tr_TR: Likewise.
20545 * localedata/locales/tt_RU: Likewise.
20546 * localedata/locales/tt_RU@iqtelif: Likewise.
20547 * localedata/locales/ug_CN: Likewise.
20548 * localedata/locales/uk_UA: Likewise.
20549 * localedata/locales/uz_UZ: Likewise.
20550 * localedata/locales/uz_UZ@cyrillic: Likewise.
20551 * localedata/locales/vi_VN: Likewise.
20552 * localedata/locales/yi_US: Likewise.
20553 * localedata/locales/yo_NG: Likewise.
20554
ce6636b0
MF
205552018-02-27 Mike FABIAN <mfabian@redhat.com>
20556
20557 * gen-locales.mk: Make test files which contain @ modifiers in their
20558 name work.
20559 * localedata/gen-locale.sh: Likewise.
20560
ac3a3b4b
MF
205612018-02-27 Mike FABIAN <mfabian@redhat.com>
20562
20563 * posix/tst-fnmatch.input: Fix results for range expressions
20564 for non C locales.
20565 * posix/tst-regexloc.c: Do not use a range expression for
20566 de_DE.ISO-8859-1 locale.
20567
770cbe14
MF
205682018-02-27 Mike FABIAN <mfabian@redhat.com>
20569
20570 * posix/bug-regex5.c: Fix test case because with the new
20571 iso14651_t1_common file, the da_DK locale now has 6 collating elements
20572 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
20573 file.
20574
0fc355d9
MF
205752018-02-27 Mike FABIAN <mfabian@redhat.com>
20576
20577 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
20578 downloaded from ISO, the collation order of @-. and space has changed.
20579 Therefore, this test file needed to be adapted.
20580 * localedata/fr_CA.UTF-8.in: Likewise.
20581 * localedata/fr_FR.UTF-8.in: Likewise.
20582 * localedata/uk_UA.UTF-8.in: Likewise.
20583
43f3893f
MF
205842018-02-27 Mike FABIAN <mfabian@redhat.com>
20585
20586 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
20587 order of ȥ in the new iso14651_t1_common file.
20588 * localedata/pl_PL.UTF-8.in: Likewise.
20589
df74ef78
MF
205902018-02-27 Mike FABIAN <mfabian@redhat.com>
20591
20592 * localedata/locales/iso14651_t1_common: Add sections for various
20593 scripts to the iso14651_t1_common file.
20594
d5adfbad
MF
205952018-02-27 Mike FABIAN <mfabian@redhat.com>
20596
20597 * localedata/locales/iso14651_t1_common: Use the code point of a
20598 character in the fourth collation level instead of IGNORE for all
20599 entries which have IGNORE on all 4 levels.
20600
5f5a9610
MF
206012018-02-27 Mike FABIAN <mfabian@redhat.com>
20602
20603 * localedata/locales/iso14651_t1_common: Add some convenient collation
20604 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
20605 rules similar to those in CLDR.
20606
8a97e900
MF
206072018-02-27 Mike FABIAN <mfabian@redhat.com>
20608
20609 * localedata/locales/iso14651_t1_common: The new version of this
20610 file downloaded from ISO contained several syntax errors which
20611 are fixed by this patch.
20612
bbdd2fba
MF
206132018-02-27 Mike FABIAN <mfabian@redhat.com>
20614
20615 * localedata/locales/iso14651_t1_common: replace all <U.....>
20616 with <U000.....> because glibc understands only 4 digit or 8 digit
20617
1569e551
MF
206182018-02-27 Mike FABIAN <mfabian@redhat.com>
20619
20620 * localedata/locales/iso14651_t1_common: Necessary changes
20621 to make the file downloaded from ISO usable by glibc.
20622
9479b6d5
MF
206232018-02-27 Mike FABIAN <mfabian@redhat.com>
20624
20625 [BZ #14095]
20626 * localedata/locales/iso14651_t1_common: Update file to
20627 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
20628
03b540b3
ST
206292018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
20630
20631 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
20632 of <nptl/pthreadP.h>
20633 (thread_attr_compare): Move function to...
eb937a52 20634 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
03b540b3 20635 * sysdeps/nptl/timer_routines.h: ... new header.
7211eba6 20636 * sysdeps/mach/hurd/gai_misc.h: New file.
03b540b3 20637
20602c72
JM
206382018-02-26 Joseph Myers <joseph@codesourcery.com>
20639
f54d8f73
JM
20640 * string/strcoll_l.c: Include <libc-diag.h>.
20641 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
20642 declarations of seq1 and seq2.
20643
20602c72
JM
20644 [BZ #15105]
20645 * stdlib/atoi.c (atoi): Use libc_hidden_def.
20646 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
20647
f5f473a9
DL
206482018-02-26 Dmitry V. Levin <ldv@altlinux.org>
20649
20650 [BZ #22433]
20651 [BZ #22807]
20652 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
20653 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
20654 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
20655 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
20656 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
20657 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
20658
398c6fdd
TMQMF
206592018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20660
20661 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
20662 macros used in __ptrace_request.
20663
f5d1f629
L
206642018-02-23 H.J. Lu <hongjiu.lu@intel.com>
20665
20666 [BZ #22792]
20667 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
20668 to $(CC).
20669 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
20670 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
20671 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
20672 <tcb-offsets.h>.
20673
54412d20
JM
206742018-02-23 Joseph Myers <joseph@codesourcery.com>
20675
20676 [BZ #15105]
20677 * ctype/ctype.c (tolower): Use libc_hidden_def.
20678 (toupper): Likewise.
20679 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
20680 [!_ISOMAC] (toupper): Likewise.
20681
81be4b5e
MF
206822018-02-23 Mike FABIAN <mfabian@redhat.com>
20683
20684 * localedata/Makefile: Remove --quiet argument when
20685 installing locales
20686
9d5cfd8e
MF
206872018-02-23 Mike FABIAN <mfabian@redhat.com>
20688
20689 [BZ #17438]
20690 * localedata/locales/pt_BR (LC_TIME): use / instead of -
20691 in d_fmt.
20692 * localedata/locales/pt_PT (LC_TIME): likewise
20693
6c7269f3
MF
206942018-02-23 Mike FABIAN <mfabian@redhat.com>
20695
20696 [BZ #22646]
20697 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
20698 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
20699 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
20700
92aabad9
AZ
207012018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20702
4cdc25a4
AZ
20703 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20704
27761a10
AZ
20705 * nptl/Makefile (routines): Remove unregister-atfork.
20706 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
20707 (fork_handler_alloc): Remove function.
20708 (fork_handlers, fork_handler_init): New variables.
20709 (__fork_lock): Rename to atfork_lock.
20710 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
20711 to use a dynamic array to add/remove atfork handlers.
20712 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
20713 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
20714 Remove declaration.
20715 (fork_handler): Remove next, refcntr, and need_signal member.
20716 (__run_fork_handler_type): New enum.
20717 (__run_fork_handlers): New prototype.
20718 * nptl/register-atfork.c: Remove file.
20719 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
20720
92aabad9
AZ
20721 * sysdeps/nptl/nptl-signals.h: Move to ...
20722 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
20723 comments.
20724 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
20725 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
20726 unnecessary check for SIGTIMER.
20727 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
20728 remove unnecessary removal of SIGTIMER.
20729 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
20730 include-signals.h rename.
20731 * nptl/pthreadP.h: Likewise.
20732 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
20733 __is_internal_signal instead of __nptl_is_internal_signal.
20734
6b5c8607 207352018-02-22 Andrew Waterman <andrew@sifive.com>
fdcc6253 20736
7e04eb29 20737 [BZ # 22884]
fdcc6253
AW
20738 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
20739 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
20740 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
20741 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
20742
8090720a
DD
207432018-02-22 DJ Delorie <dj@delorie.com>
20744
20745 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
20746
6ca24c43
SP
207472018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
20748
20749 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
20750 do_misaligned, not misaligned8.
20751
e9537ddd
SE
207522018-02-22 Steve Ellcey <sellcey@cavium.com>
20753
20754 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
20755 Add memcpy_thunderx2.
20756 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
20757 Increment to 4.
20758 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
20759 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
20760 and IS_THUNDERX2PA checks.
20761 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
20762 Use macro to set name appropriately.
20763 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
20764 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
20765 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
20766 New macro.
20767 (IS_THUNDERX2): New macro.
20768
6e336476
SL
207692018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
20770
20771 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20772
34957904
ZW
207732018-02-21 Zack Weinberg <zackw@panix.com>
20774
30bfee26
ZW
20775 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
20776 Define here, unconditionally.
20777 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
20778 * libio/libioP.h: Remove #if 0 blocks.
20779 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
20780 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
20781 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
20782
20783 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
20784 Assume weak_alias is always defined.
20785
20786 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
20787 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
20788 Remove #if 0 and #ifdef TODO blocks.
20789 Assume text_set_element is always defined.
20790
20791 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
20792 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
20793 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
20794
df6c012b
ZW
20795 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
20796 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
20797 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
20798 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
20799 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
20800 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
20801 Reformat bit flags for _flags field to make occupancy clearer.
20802 Update commentary.
20803 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
20804 Keep definitions consistent with those in libio/libio.h.
20805
20806 * libio/libio.h (_IO_file_flags): Remove macro.
20807 All uses changed to _flags.
20808
177aad3f
ZW
20809 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
20810 (__HAVE_COLUMN, _IO_BE): Don't define.
20811 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
20812 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
20813 * libio/libioP.h (EOF): Don't define.
20814 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
20815 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
20816 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
20817 testing _IO_UNIFIED_JUMPTABLES.
20818
9964a145
ZW
20819 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
20820 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
20821 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
20822 (_IO_size_t): Delete; all uses changed to size_t.
20823 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
20824 (_IO_off_t): Delete; all uses changed to off_t.
20825 (_IO_off64_t): Delete; all uses changed to off64_t.
20826 (_IO_pid_t): Delete; all uses changed to pid_t.
20827 (_IO_uid_t): Delete; all uses changed to uid_t.
20828 (_IO_wint_t): Delete; all uses changed to wint_t.
20829 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
20830 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
20831 (_IO_cookie_io_functions_t): Delete; all uses changed to
20832 cookie_io_functions_t.
20833 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
20834 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
20835 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
20836 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
20837
20838 * libio/iofopncook.c: Remove unnecessary forward declarations.
20839 * libio/iolibio.h: Correct outdated commentary.
20840 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
20841 * stdio-common/fxprintf.c (__fxprintf_nocancel):
20842 Remove unnecessary casts.
20843 * stdio-common/getline.c: Use _IO_getdelim directly.
20844 Don't redefine ssize_t.
20845 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
20846 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
20847 Remove outdated comments.
20848 * stdio-common/vfscanf.c: Don't redefine va_list.
20849
34957904
ZW
20850 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
20851 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
20852 Remove preprocessor conditionals on _LIBC and __USE_GNU,
20853 which are always true, and __cplusplus, which is always false.
20854
30ac923d
JM
208552018-02-21 Joseph Myers <joseph@codesourcery.com>
20856
039c721a
JM
20857 [BZ #15105]
20858 [BZ #19463]
20859 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
20860 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
20861 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
20862 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
20863 libc_hidden_proto.
20864 [!_ISOMAC] (putc_unlocked): Likewise.
20865 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
20866 define inline if [__USE_EXTERN_INLINES].
20867 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
20868 putc_unlocked.
20869
30ac923d
JM
20870 [BZ #15105]
20871 [BZ #19463]
20872 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
20873 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
20874 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
20875 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
20876 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
20877 getc_unlocked.
20878 * time/tzfile.c (__tzfile_read): Likewise.
20879
7ec5f946
MF
208802018-02-21 Mike FABIAN <mfabian@redhat.com>
20881
20882 [BZ #22517]
20883 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
20884
0d217f40
RJ
208852018-02-21 Rical Jasan <ricaljasan@pacific.net>
20886
20887 * io/fcntl.h: Fix a typo in a comment.
20888
862b4502
RJ
208892018-02-21 Rical Jasan <ricaljasan@pacific.net>
20890
20891 [BZ #22862]
20892 * include/features.h: Add _ISOC11_SOURCE to test for whether to
20893 define _DEFAULT_SOURCE.
20894 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
20895
999a6dab
FW
208962018-02-21 Florian Weimer <fweimer@redhat.com>
20897
20898 [BZ #20890]
20899 * elf/cache.c (save_cache): Call fsync on temporary file before
20900 renaming it.
20901 (save_aux_cache): Call fdatasync on temporary file before renaming
20902 it.
20903
52a01100
FW
209042018-02-21 Florian Weimer <fweimer@redhat.com>
20905
20906 [BZ #22787]
20907 * include/caller.h: Remove file.
20908 * elf/dl-caller.c: Likewise.
20909 * elf/Makefile (dl-routines): Remove dl-caller.
20910 (shared-only-routines): Do not add dl-caller.
20911 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
20912 __check_caller.
20913 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
20914 member.
20915 (dl_open_worker): Do not call __check_caller.
20916 (_dl_open): Do not set caller_dl_open member.
20917 * elf/rtld.c (_rtld_global_ro): Do not initialize
20918 _dl_check_caller member.
20919 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
20920 _dl_check_caller member.
20921 (_dl_check_caller): Remove declaration.
20922 * sysdeps/unix/sysv/linux/dl-execstack.c
20923 (_dl_make_stack_executable): Do not call __check_caller.
20924
b5bf62e4
ST
209252018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
20926
20927 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
315304d2 20928 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
b5bf62e4 20929
e8d190b9
RJ
209302018-02-20 Rical Jasan <ricaljasan@pacific.net>
20931
20932 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
20933 description.
20934
6a3962c4
RJ
209352018-02-20 Rical Jasan <ricaljasan@pacific.net>
20936
da81ae64 20937 [BZ #16335]
6a3962c4
RJ
20938 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
20939 of 199606L, 200112L, and 200809L.
20940 (_XOPEN_SOURCE): Document special values of 600 and 700.
20941 (_ISOC11_SOURCE): Document macro.
20942 (_ATFILE_SOURCE): Likewise.
20943 (_FORTIFY_SOURCE): Likewise.
20944
ec481ad8
JM
209452018-02-19 Joseph Myers <joseph@codesourcery.com>
20946
20947 [BZ #15105]
20948 [BZ #19463]
20949 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
20950 and define as weak alias of __ferror_unlocked. Use
20951 libc_hidden_weak.
20952 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
20953 libc_hidden_proto.
20954 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
20955 function if [__USE_EXTERN_INLINES].
20956 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
20957 ferror_unlocked.
20958
7d15ef84
RJ
209592018-02-19 Rical Jasan <ricaljasan@pacific.net>
20960
20961 [BZ #6889]
20962 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
20963
f8d79582
AJ
209642018-02-18 Aurelien Jarno <aurelien@aurel32.net>
20965
20966 [BZ #22818]
20967 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
20968 the GLIBC_2.1 version.
20969
56456a2a
AJ
209702018-02-18 Aurelien Jarno <aurelien@aurel32.net>
20971
20972 [BZ #21508]
20973 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
20974 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
20975 intl/tst-gettext-de.po from po/de.po by removing the
20976 POT-Creation-Date line.
20977 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
20978 ../po/de.po.
20979 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
20980 ../po/de.po.
20981
13768813
ST
209822018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
20983
20984 * mach/Makefile (headers): Add mach/param.h.
20985 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
20986 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
dd1efd8c
ST
20987 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
20988 (__ptsname_r): Move implementation to...
20989 (__ptsname_internal): ... new function. Add filling the STP
20990 structure.
13768813 20991
6aca1b61
JDA
209922018-02-17 John David Anglin <danglin@gcc.gnu.org>
20993
20994 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
20995 idouble to 1 ULP.
20996
16efad51
RJ
209972018-02-16 Rical Jasan <ricaljasan@pacific.net>
20998
20999 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
21000 syntax.
21001
87245073
SL
210022018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
21003
21004 * nptl/Makefile (tst-mutex8-ENV): Delete.
21005 * nptl/tst-mutex8.c (check_type):
21006 Add runtime check if mutex will be elided.
21007
7fc03cf3
JM
210082018-02-15 Joseph Myers <joseph@codesourcery.com>
21009
db9881ec
JM
21010 [BZ #20980]
21011 [BZ #21234]
21012 * manual/install.texi (Configuring and compiling): Describe
21013 passing CC and CFLAGS on configure command line, not as
21014 environment variables. Use @code markup on those variables.
21015 Specify what options go in CC and what go in CFLAGS. Note the
21016 requirement to compile with optimization.
21017 * INSTALL: Regenerated.
21018
3785b31c
JM
21019 [BZ #18124]
21020 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
21021 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
21022 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
21023 __sigprocmask instead of sigprocmask.
21024 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
21025 Likewise.
21026 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
21027 __sigsetjmp and sigprocmask.
21028
055ac2a7
JM
21029 [BZ #15105]
21030 * include/argz.h (argz_next): Use libc_hidden_proto.
21031 (__argz_next): Likewise.
21032 * string-argz-next.c (__argz_next): Use libc_hidden_def.
21033 (argz_next): Use libc_hidden_weak.
21034
e4452a2d
JM
21035 [BZ #15105]
21036 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
21037 libc_hidden_proto.
21038 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
21039 libc_hidden_def.
21040
499b3153
JM
21041 [BZ #15105]
21042 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
21043 libc_hidden_proto.
21044 * libio/iofputs.c (fputs): Use libc_hidden_weak.
21045
7fc03cf3
JM
21046 [BZ #15105]
21047 [BZ #19463]
21048 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
21049 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
21050 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
21051 (__feof_unlocked): New declaration, and inline function if
21052 [__USE_EXTERN_INLINES].
21053 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
21054 instead of feof_unlocked.
21055 * intl/localealias.c [_LIBC] (FEOF): Likewise.
21056 * nss/nsswitch.c (nss_parse_file): Likewise.
21057 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
21058 Likewise.
21059 * time/getdate.c (__getdate_r): Likewise.
21060 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
21061 Define as macro to call __feof_unlocked.
21062
0c8a67a5
WD
210632018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
21064
21065 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
21066
610ee1fc
WD
210672018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
21068
21069 * math/Makefile: Remove mpexp.c and mplog.c
21070 * sysdeps/i386/fpu/mpexp.c: Delete file.
21071 * sysdeps/i386/fpu/mplog.c: Likewise.
21072 * sysdeps/ia64/fpu/mpexp.c: Likewise.
21073 * sysdeps/ia64/fpu/mplog.c: Likewise.
21074 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
21075 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
21076 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
21077 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21078 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
21079 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
21080 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
21081 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
21082 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
21083 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21084 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
21085 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
21086 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21087 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
21088 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
21089 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21090
8e7196c8
SL
210912018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
21092
21093 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21094
4f55ad0b
AZ
210952018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21096
21097 * sysdeps/sh/libm-test-ulps: Update.
21098
261a851c
TMQMF
210992018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21100
21101 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
21102 idouble to 1 ULP.
21103
e16deca6
ZW
211042018-02-12 Zack Weinberg <zackw@panix.com>
21105
21106 [BZ #19239]
21107 * posix/sys/types.h: Don't include sys/sysmacros.h.
21108 * misc/sys/sysmacros.h: Remove the conditional deprecation
21109 warnings for the macros defined by this header.
21110
de800d83
SN
211112018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21112
21113 * manual/probes.texi: Remove slowexp probes.
21114 * math/Makefile: Remove slowexp.
21115 * sysdeps/generic/math_private.h (__slowexp): Remove.
21116 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
21117 document error bounds.
21118 * sysdeps/i386/fpu/slowexp.c: Remove.
21119 * sysdeps/ia64/fpu/slowexp.c: Remove.
21120 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
21121 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
21122 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
21123 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
21124 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
21125 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
21126 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
21127 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
21128 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
21129 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
21130 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
21131
c3d466cb
WD
211322018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
21133
21134 [BZ #13932]
21135 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
21136 * benchtests/pow-inputs: Update comment for slow path cases.
21137 * manual/probes.texi (slowpow_p10): Delete removed probe.
21138 (slowpow_p10): Likewise.
21139 * math/Makefile: Remove halfulp.c and slowpow.c.
21140 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
21141 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
21142 (__halfulp): Remove.
21143 (__slowpow): Remove.
21144 * sysdeps/i386/fpu/halfulp.c: Delete file.
21145 * sysdeps/i386/fpu/slowpow.c: Likewise.
21146 * sysdeps/ia64/fpu/halfulp.c: Likewise.
21147 * sysdeps/ia64/fpu/slowpow.c: Likewise.
21148 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
21149 improve comments and add error analysis.
21150 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
21151 (power1): Remove function:
21152 (log1): Remove error argument, add error analysis.
21153 (my_log2): Remove function.
21154 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
21155 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21156 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
21157 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
21158 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
21159 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
21160 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
21161 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
21162 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
21163 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
21164 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
21165 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21166 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
21167 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21168
7bb087bd
ST
211692018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
21170
21171 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
21172 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
21173
2fd4bbaa
DL
211742018-02-10 Dmitry V. Levin <ldv@altlinux.org>
21175
21176 [BZ #22433]
21177 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
21178 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
21179 and PTRACE_SETHBPREGS.
21180
402ecba4
ZW
211812018-02-10 Zack Weinberg <zackw@panix.com>
21182
21183 [BZ #22830]
21184 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
21185 correctly.
21186 * malloc/tst-malloc-stats-cancellation.c: New test case.
21187 * malloc/Makefile: Add new test case.
21188
4f5b921e
WD
211892018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
21190
21191 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
21192
a85b70db
JM
211932018-02-10 Joseph Myers <joseph@codesourcery.com>
21194
d8742dd8
JM
21195 * math/Makefile (libm-narrow-fns): Add add.
21196 (libm-test-funcs-narrow): Likewise.
21197 * math/Versions (GLIBC_2.28): Add narrowing add functions.
21198 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
21199 * math/gen-auto-libm-tests.c (test_functions): Add add.
21200 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
21201 (NARROW_ADD_ROUND_TO_ODD): Likewise.
21202 (NARROW_ADD_TRIVIAL): Likewise.
21203 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
21204 macro.
21205 (__daddl): Likewise.
21206 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
21207 dadd.
21208 (CFLAGS-nldbl-dadd.c): New variable.
21209 (CFLAGS-nldbl-fadd.c): Likewise.
21210 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
21211 __nldbl_daddl.
21212 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
21213 prototype.
21214 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
21215 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
21216 * math/auto-libm-test-in: Add tests of add.
21217 * math/auto-libm-test-out-narrow-add: New generated file.
21218 * math/libm-test-narrow-add.inc: New file.
21219 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
21220 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
21221 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
21222 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
21223 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
21224 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
21225 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
21226 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
21227 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
21228 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
21229 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
21230 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
21231 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
21232 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
21233 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
21234 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
21235 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
21236 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
21237 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21238 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
21239 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21240 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21241 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21242 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21243 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21244 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21245 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21246 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21247 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21248 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21249 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21250 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
21252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
21253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
21254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
21255 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
21256 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21257 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21258 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21259 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21260 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21261 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
21262 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
21263 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21264 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21265
a85b70db
JM
21266 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
21267 (f128-pairs): New variable.
21268 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
21269 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
21270 to CFLAGS.
21271 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
21272 Also make tests add $(f128-loader-link) to gnulib-tests.
21273
6a1ff640
DD
212742018-02-09 DJ Delorie <dj@redhat.com>
21275
21276 [BZ #22827]
21277 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
21278 64-bit ELF type for 64-bit ELF objects.
21279
bfd47587
JM
212802018-02-09 Joseph Myers <joseph@codesourcery.com>
21281
31958338
JM
21282 * math/libm-test-driver.c (snan_tests_arg): New variable.
21283 * math/libm-test-support.h (snan_tests_arg): New declaration.
21284 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
21285
8e554659
JM
21286 * math/Makefile (test-type-pairs): New variable.
21287 (test-type-pairs-f64xf128-yes): Likewise.
21288 (tests): Add test-narrow-macros.
21289 (libm-test-funcs-narrow): New variable.
21290 (libm-test-c-narrow): Likewise.
21291 (generated): Add $(libm-test-c-narrow).
21292 (libm-tests-base-narrow): New variable.
21293 (libm-tests-narrow): Likewise.
21294 (libm-tests): Add $(libm-tests-narrow).
21295 (libm-tests-for-type): Handle $(libm-tests-narrow).
21296 (libm-test-c-narrow-obj): New variable.
21297 ($(libm-test-c-narrow-obj)): New rule.
21298 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
21299 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
21300 $(o-iterator) to set dependencies and CFLAGS.
21301 * math/gen-auto-libm-tests.c: Document use for narrowing
21302 functions.
21303 (output_for_one_input_case): Take argument NARROW.
21304 (generate_output): Likewise. Update call to
21305 output_for_one_input_case.
21306 (main): Take --narrow option. Update call to generate_output.
21307 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
21308 (apply_lit): Update call to _apply_lit.
21309 (apply_arglit): New function.
21310 (parse_args): Handle "a" arguments.
21311 (parse_auto_input): Handle format names using ":".
21312 * math/README.libm-test: Document "a" parameter type.
21313 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
21314 (ARG_TYPE_TRUE_MIN): Likewise.
21315 (ARG_TYPE_MAX): Likwise.
21316 (ARG_MIN_EXP): Likewise.
21317 (ARG_MAX_EXP): Likewise.
21318 (ARG_MANT_DIG): Likewise.
21319 (TEST_COND_arg_ibm128): Likewise.
21320 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
21321 (TEST_COND_arg_fmt): New macro.
21322 (init_max_error): Update prototype.
21323 * math/libm-test-support.c (test_ibm128): New variable.
21324 (init_max_error): Take argument testing_ibm128 and set test_ibm128
21325 instead of using [TEST_COND_ibm128] conditional.
21326 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
21327 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
21328 [TEST_NARROW] (TEST_MSG): New definition.
21329 (arg_plus_zero): New macro.
21330 (arg_minus_zero): Likewise.
21331 (arg_plus_infty): Likewise.
21332 (arg_minus_infty): Likewise.
21333 (arg_qnan_value_pl): Likewise.
21334 (arg_qnan_value): Likewise.
21335 (arg_snan_value_pl): Likewise.
21336 (arg_snan_value): Likewise.
21337 (arg_max_value): Likewise.
21338 (arg_min_value): Likewise.
21339 (arg_min_subnorm_value): Likewise.
21340 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
21341 (RUN_TEST_LOOP_aa_f): New macro.
21342 (TEST_SUFF): New macro.
21343 (TEST_SUFF_STR): Likewise.
21344 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
21345 (TEST_COND_any_ibm128): New macro.
21346 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
21347 this_func. Update call to init_max_error.
21348 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
21349 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
21350 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
21351 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
21352 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
21353 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
21354 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
21355 * math/test-math-scalar.h (TEST_NARROW): Likewise.
21356 * math/test-math-vector.h (TEST_NARROW): Likewise.
21357 * math/test-arg-double.h: New file.
21358 * math/test-arg-float128.h: Likewise.
21359 * math/test-arg-float32x.h: Likewise.
21360 * math/test-arg-float64.h: Likewise.
21361 * math/test-arg-float64x.h: Likewise.
21362 * math/test-arg-ldouble.h: Likewise.
21363 * math/test-math-narrow.h: Likewise.
21364 * math/test-narrow-macros.c: Likewise.
21365 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
21366 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
21367 test-narrow-macros-ldbl-64.
21368 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
21369
63716ab2
JM
21370 * math/bits/mathcalls-narrow.h: New file.
21371 * include/bits/mathcalls-narrow.h: Likewise.
21372 * math/math-narrow.h: Likewise.
21373 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
21374 (__MATHCALL_NARROW_ARGS_2): Likewise.
21375 (__MATHCALL_NARROW_ARGS_3): Likewise.
21376 (__MATHCALL_NARROW_NORMAL): Likewise.
21377 (__MATHCALL_NARROW_REDIR): Likewise.
21378 (__MATHCALL_NARROW): Likewise.
21379 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
21380 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
21381 defined.
21382 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21383 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
21384 (libm-narrow-fns): New variable.
21385 (libm-narrow-types-basic): Likewise.
21386 (libm-narrow-types-ldouble-yes): Likewise.
21387 (libm-narrow-types-float128-yes): Likewise.
21388 (libm-narrow-types-float128-alias-yes): Likewise.
21389 (libm-narrow-types): Likewise.
21390 (libm-routines): Add narrowing functions.
21391 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
21392 (libc_feholdexcept_setroundf128): New macro.
21393 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
21394 * sysdeps/ieee754/float128/float128_private.h: Include
21395 <math/math-narrow.h>.
21396 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
21397 Undefine and redefine.
21398 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
21399 (libm_alias_float_ldouble): Undefine and redefine.
21400 (libm_alias_double_ldouble): Likewise.
21401
bfd47587
JM
21402 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
21403
3f8d9d58
WD
214042018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
21405
21406 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
21407 FPCR/FPSR.
21408
1f6676d7
RJ
214092018-02-09 Rical Jasan <ricaljasan@pacific.net>
21410
21411 * manual/creature.texi: Convert references to gcc.info to gcc.
21412 * manual/stdio.texi: Likewise.
21413 * manual/string.texi: Likewise.
21414
d80441dd
JM
214152018-02-07 Joseph Myers <joseph@codesourcery.com>
21416
15081be9
JM
21417 [BZ #17979]
21418 * posix/bits/types.h (__int_least8_t): New typedef.
21419 (__uint_least8_t): Likewise.
21420 (__int_least16_t): Likewise.
21421 (__uint_least16_t): Likewise.
21422 (__int_least32_t): Likewise.
21423 (__uint_least32_t): Likewise.
21424 (__int_least64_t): Likewise.
21425 (__uint_least64_t): Likewise.
21426 * sysdeps/generic/stdint.h (int_least8_t): Define using
21427 __int_least8_t.
21428 (int_least16_t): Define using __int_least16_t.
21429 (int_least32_t): Define using __int_least32_t.
21430 (int_least64_t): Define using __int_least64_t.
21431 (uint_least8_t): Define using __uint_least8_t.
21432 (uint_least16_t): Define using __uint_least16_t.
21433 (uint_least32_t): Define using __uint_least32_t.
21434 (uint_least64_t): Define using __uint_least64_t.
21435 * wcsmbs/uchar.h: Include <bits/types.h>.
21436 (char16_t): Define using __uint_least16_t conditional only on
21437 [!__USE_ISOCXX11].
21438 (char32_t): Define using __uint_least32_t conditional only on
21439 [!__USE_ISOCXX11].
21440 * wcsmbs/test-char-types.c: New file.
21441 * wcsmbs/Makefile (tests): Add test-char-types.
21442
d80441dd
JM
21443 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
21444 version to 4.0.1.
21445
6c6c962a
ZW
214462018-02-07 Zack Weinberg <zackw@panix.com>
21447
63fb8f9a
ZW
21448 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
21449 Delete all contents except for definitions of _G_HAVE_MMAP and
21450 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
21451 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
21452 sysdeps/unix/sysv/linux/_G_config.h. Make same content
21453 change as above.
21454
21455 * libio/libio.h: Don't include bits/_G_config.h here.
21456 Include stddef.h with __need_wchar_t defined. Include
21457 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
21458 Define _IO_iconv_t here, directly.
21459 Don't define _IO_HAVE_ST_BLKSIZE.
21460 * libio/libioP.h: Include _G_config.h here. Move include of
21461 shlib-compat.h up with rest of includes. Simplify conditionals
21462 controlling definition of _IO_JUMPS_OFFSET.
21463
21464 * csu/init.c: Remove always-true #if around entire file.
21465 Don't include stdio.h. Set _IO_stdin_used to hardwired
21466 constant 0x20001, and update commentary.
21467 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
21468 Replace all uses of _G_va_list with __gnuc_va_list.
21469 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
21470 instead of #if _IO_HAVE_ST_BLKSIZE.
21471 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
21472 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
21473 not #ifdef.
21474
6c6c962a
ZW
21475 * libio/bits/libio.h: Move back to libio/libio.h and adjust
21476 multiple-include guard to match.
21477 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
21478 into this file.
21479 Remove preprocessor conditionals that are always true and/or
21480 redundant to other preprocessor conditionals in the same nest.
21481 Include shlib-compat.h unconditionally.
21482 Error out if _LIBC is not defined, or if _ISOMAC is defined,
21483 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
21484 defined after including stdio.h.
21485 Use __BEGIN_DECLS/__END_DECLS.
21486
21487 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
21488 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
21489 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
21490
a4fea3f2
ZW
214912018-02-07 Zack Weinberg <zackw@panix.com>
21492
21493 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
21494 New single-type headers split from _G_config.h.
21495 * libio/bits/types/cookie_io_functions_t.h
21496 * libio/bits/types/struct_FILE.h
21497 New single-type headers split from libio.h.
21498
21499 * libio/Makefile: Install the above new headers. Don't install
21500 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
21501 bits/libio-ldbl.h.
21502 * libio/_G_config.h, libio/libio.h: Delete file.
21503
21504 * libio/bits/libio.h: Remove improper-inclusion guard.
21505 Include stdio.h and don't repeat anything that it does.
21506 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
21507 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
21508 __io_read_fn as cookie_read_function_t,
21509 __io_write_fn as cookie_write_function_t,
21510 __io_seek_fn as cookie_seek_function_t,
21511 __io_close_fn as cookie_close_function_t,
21512 and _IO_cookie_io_functions_t as cookie_io_functions_t.
21513 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
21514 here, in the "compatibility defines" section. Remove an #if 0
6c6c962a 21515 block. Use the "body" macros from bits/types/struct_FILE.h to
a4fea3f2
ZW
21516 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
21517 and _IO_ferror_unlocked.
21518 Move prototypes of __uflow and __overflow...
21519
21520 * libio/stdio.h: ...here. Don't include bits/libio.h.
21521 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
6c6c962a 21522 directly from stdarg.h. Include bits/types/__fpos_t.h,
a4fea3f2
ZW
21523 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
21524 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
21525 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
21526 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
21527 cookie_io_functions_t, not _IO_cookie_io_functions_t;
21528 __ssize_t, not _IO_ssize_t. Unconditionally define
21529 BUFSIZ as 8192 and EOF as (-1).
21530
21531 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
21532 macros from bits/types/struct_FILE.h instead of _IO_* macros
21533 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
21534 instead of _IO_ssize_t.
21535 * libio/bits/stdio2.h: Similarly.
21536
21537 * libio/iolibio.h: Add multiple-include guard.
21538 Include bits/libio.h after stdio.h.
21539 * libio/libioP.h: Add multiple-include guard.
21540 Include stdio.h and bits/libio.h before iolibio.h.
21541
6c6c962a 21542 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
a4fea3f2
ZW
21543 * include/bits/types/cookie_io_functions_t.h
21544 * include/bits/types/struct_FILE.h: New wrappers.
21545
21546 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
6c6c962a
ZW
21547 Get definitions of _G_fpos_t and _G_fpos64_t from
21548 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
21549 respectively. Remove improper-inclusion guards.
a4fea3f2 21550
6c6c962a 21551 * conform/data/stdio.h-data: Update expectations of va_list.
a4fea3f2 21552 * scripts/check-installed-headers.sh: Remove special case for
6c6c962a 21553 libio.h and _G_config.h.
a4fea3f2 21554
ce999220
JM
215552018-02-07 Joseph Myers <joseph@codesourcery.com>
21556
8b4a1182
JM
21557 [BZ #15105]
21558 [BZ #19463]
21559 * include/sys/sysmacros.h [!_ISOMAC]
21560 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
21561 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
21562 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
21563 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
21564 libc_hidden_proto.
21565 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
21566 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
21567 Likewise.
21568 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
21569 Undefine and redefine to add use __gnu_dev_ prefix.
21570 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
21571 Likewise.
21572 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
21573 and define as hidden inline function.
21574 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
21575 Likewise.
21576 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
21577 Likewise.
21578 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
21579 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
21580 (gnu_dev_minor): Likewise.
21581 (gnu_dev_makedev): Likewise.
21582 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
21583 makedev.
21584 * posix/wordexp.c (exec_comm_child): Likewise.
21585 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
21586 instead of minor and __gnu_dev_major instead of major.
21587 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
21588 __gnu_dev_major instead of major.
21589 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
21590 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
21591 instead of gnu_dev_minor.
21592 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
21593 (SLAVE_P): Likewise.
21594 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
21595 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
21596 instead of major.
21597
ce999220
JM
21598 [BZ #21313]
21599 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
21600 in another place.
21601 * locale/weightwc.h (findidx): Likewise.
21602
b7c83ca3
WD
216032018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
21604
21605 * manual/probes.texi (slowlog): Delete documentation of removed probe.
21606 (slowlog_inexact): Likewise
21607 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
21608 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
21609
388ff7bd
IG
216102018-02-07 Igor Gnatenko <ignatenko@redhat.com>
21611
21612 [BZ #22797]
21613 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
21614 missing second underscore to parameter name.
21615
663e7d78
JM
216162018-02-06 Joseph Myers <joseph@codesourcery.com>
21617
0d40d0ec
JM
21618 [BZ #14508]
21619 [BZ #15512]
21620 [BZ #17082]
21621 [BZ #20530]
21622 * bits/byteswap.h: Update file comment. Do not include
21623 <bits/byteswap-16.h>.
21624 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
21625 constant.
21626 (__bswap_16): Define as inline function.
21627 (__bswap_constant_32): Reformat definition.
21628 (__bswap_32): Always define as inline function, not macro, using
21629 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
21630 otherwise __bswap_constant_32.
21631 (__bswap_constant_64): Reformat definition. Do not use
21632 __extension__ here.
21633 (__bswap_64): Always define as inline function, not macro. Use
21634 __extension__ on function definition. Use __builtin_bswap64 if
21635 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
21636 * string/test-endian-file-scope.c: New file.
21637 * string/test-endian-sign-conversion.c: Likewise.
21638 * string/Makefile (headers): Remove bits/byteswap-16.h.
21639 (tests): Add test-endian-file-scope and
21640 test-endian-sign-conversion.
21641 (CFLAGS-test-endian-sign-conversion.c): New variable.
21642 * bits/byteswap-16.h: Remove file.
21643 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
21644 * sysdeps/ia64/bits/byteswap.h: Likewise.
21645 * sysdeps/m68k/bits/byteswap.h: Likewise.
21646 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21647 * sysdeps/s390/bits/byteswap.h: Likewise.
21648 * sysdeps/tile/bits/byteswap.h: Likewise.
21649 * sysdeps/x86/bits/byteswap-16.h: Likewise.
21650 * sysdeps/x86/bits/byteswap.h: Likewise.
21651
383e87c9
JM
21652 [BZ #17721]
21653 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
21654 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
21655 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
21656 199901L] (__restrict): Define to restrict.
21657
d92c2759
JM
21658 [BZ #19667]
21659 * string/testcopy.c: Include <support/support.h>. Do not include
21660 <malloc.h>. Use <support/test-driver.c>.
21661 (main): Rename to do_test. Make static. Use xmalloc instead of
21662 malloc.
21663
625fb764
JM
21664 [BZ #13575]
21665 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
21666 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
21667 (SSIZE_MAX): Define to INT_MAX.
21668 * posix/test-ssize-max.c: New file.
21669 * posix/Makefile (tests): Add test-ssize-max.
21670
02325d6c
JM
21671 [BZ #19668]
21672 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
21673 <support/support.h>. Do not include <malloc.h>.
21674 (query_auxv): Use xmalloc instead of malloc.
21675
663e7d78
JM
21676 [BZ #14553]
21677 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
21678 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
21679 instead of loff_t.
21680
6b5c8607 216812018-02-06 Florian Weimer <fweimer@redhat.com>
6d7aa2b5
FW
21682
21683 [BZ #18023]
21684 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21685 Use scratch_buffer instead of extend_alloca.
21686
de6da571
ZW
216872018-02-06 Zack Weinberg <zackw@panix.com>
21688
26c07172
ZW
21689 * libio/stdio.h: Don't define getc or putc as macros.
21690 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
21691 not _IO_getc and _IO_putc.
21692
de6da571
ZW
21693 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
21694 * stdio-common/tstgetln.c: Don't redefine ssize_t.
21695
92669d6e
JM
216962018-02-06 Joseph Myers <joseph@codesourcery.com>
21697
c2b84df9
JM
21698 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
21699 (TCP_FASTOPEN_NO_COOKIE): Likewise.
21700
41376f8c
JM
21701 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
21702
d28bf648
JM
21703 [BZ #14890]
21704 * elf/elf.h (NT_PRFPREG): New macro.
21705 (NT_S390_VXRS_LOW): Likewise.
21706 (NT_S390_VXRS_HIGH): Likewise.
21707 (NT_S390_GS_CB): Likewise.
21708 (NT_S390_GS_BC): Likewise.
21709 (NT_S390_RI_CB): Likewise.
21710
e76def72
JM
21711 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
21712 (MAP_SYNC): New macro.
21713 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
21714 Likewise.
21715 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
21716 (MAP_SYNC): Likewise.
21717 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
21718 (MAP_SYNC): Likewise.
21719 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
21720 (MAP_SYNC): Likewise.
21721 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
21722 (MAP_SYNC): Likewise.
21723 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
21724 (MAP_SYNC): Likewise.
21725 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
21726 (MAP_SYNC): Likewise.
21727 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
21728 Likewise.
21729 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
21730 Likewise.
21731
92669d6e
JM
21732 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
21733 (MAP_SHARED_VALIDATE): New macro.
21734 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
21735 (MAP_SHARED_VALIDATE): Likewise.
21736
6a5cac49
L
217372018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21738
21739 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
21740 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
21741 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
21742
b44e0dfb
L
217432018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21744
21745 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
21746 (DT_NUM): Updated to 35.
21747
f886c16c
L
217482018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21749
21750 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
21751 __builtin_expect with __glibc_likely and __glibc_unlikely.
21752 (elf_machine_rela): Likewise.
21753 (elf_machine_lazy_rel): Likewise.
21754
06fbebff
L
217552018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21756
21757 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
8f4bf93f 21758 __builtin_expect with __glibc_likely and __glibc_unlikely.
06fbebff
L
21759 (elf_machine_lazy_rel): Likewise.
21760
371b220f
L
217612018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21762
21763 [BZ #22638]
21764 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
21765 SHARED.
65805016 21766 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
371b220f 21767
f649a1b8
AS
217682018-02-05 Andreas Schwab <schwab@suse.de>
21769
21770 [BZ #22761]
21771 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
21772 string.
21773
9fdb340e
ST
217742018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21775
21776 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
21777 not check against PTHREAD_STACK_MIN.
21778
09e56b9e
SM
217792018-02-02 Sean McKean <smckean83@gmail.com>
21780
21781 [BZ #22735]
21782 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
21783
d4b4a00a
FW
217842018-02-02 Florian Weimer <fweimer@redhat.com>
21785
21786 [BZ #22753]
21787 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
21788 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
21789 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
21790 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
21791 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
21792 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
21793 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
21794 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
21795 * manual/llio.texi (Scatter-Gather): Mention offset -1.
21796 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
21797 * misc/tst-preadvwritev2.c (do_test): Call it.
21798 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
21799
3dfcbfa1
SP
218002018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
21801
84c94d2f
SP
21802 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
21803
96e6a716
SP
21804 * benchtests/bench-memcmp.c: Print json instead of plain text.
21805
3dfcbfa1
SP
21806 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
21807 every test run.
21808
049375e2
JM
218092018-02-01 Joseph Myers <joseph@codesourcery.com>
21810
39f898c6
JM
21811 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
21812 version to 4.15.
21813 (s390_sthyi): New syscall.
21814
6f9a3dd8
JM
21815 * sysdeps/generic/ldbl-classify-compat.h: New file.
21816 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
21817 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
21818 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
21819 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
21820 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
21821 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
21822 * sysdeps/ieee754/dbl-64/s_finite.c: Include
21823 <ldbl-classify-compat.h>.
21824 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21825 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
21826 <ldbl-classify-compat.h>.
21827 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21828 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
21829 <ldbl-classify-compat.h>.
21830 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21831 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
21832 <ldbl-classify-compat.h>.
21833 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21834 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
21835 <ldbl-classify-compat.h>.
21836 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21837 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
21838 <ldbl-classify-compat.h>.
21839 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21840 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
21841 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
21842 * sysdeps/m68k/coldfire/math_private.h: Remove file.
21843 * sysdeps/microblaze/math_private.h: Likewise.
21844 * sysdeps/nios2/math_private.h: Likewise.
21845 * sysdeps/sh/math_private.h: Likewise.
21846
eb65a3d5
JM
21847 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
21848 * sysdeps/m68k/coldfire/math_private.h: ... here.
21849 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
21850 * sysdeps/tile/math_private.h: Likewise.
21851 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
21852 Remove macro.
21853 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
21854 Likewise.
21855
8a6bb1d0
JM
21856 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
21857 Remove macro.
21858 (libc_fetestexcept): Likewise.
21859 (libc_feupdateenv_test): Likewise.
21860 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
21861 (libc_fetestexcept): Likewise.
21862 (libc_feupdateenv_test): Likewise.
21863 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
21864 (libc_fetestexcept): Likewise.
21865 (libc_feupdateenv_test): Likewise.
21866 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
21867 (libc_fetestexcept): Likewise.
21868 (libc_feupdateenv_test): Likewise.
21869
ae1fcb7b
JM
21870 * sysdeps/generic/math_private.h
21871 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
21872 New inline function.
21873 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
21874 Likewise.
21875
b1c347e2
JM
21876 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
21877 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
21878 * sysdeps/generic/math_private.h
21879 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
21880 inline function.
21881 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
21882 Likewise.
21883 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
21884 Likewise.
21885 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
21886 Likewise.
21887 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
21888 Likewise.
21889 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
21890 Likewise.
21891 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
21892 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
21893 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
21894 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
21895 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
21896 (__fegetenv): Likewise.
21897 (fesetenv): Likewise.
21898 (__fesetenv): Likewise.
21899 (feupdateenv): Likewise.
21900 (__feupdateenv): Likewise.
21901 (fegetround): Likewise.
21902 (__fegetround): Likewise.
21903 (fesetround): Likewise.
21904 (__fesetround): Likewise.
21905
d23a4962
JM
21906 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
21907 (feraiseexcept): New macro.
21908 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
21909 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
21910 Remove macro.
21911 (__feraiseexcept): Likewise.
21912 (feclearexcept): Likewise.
21913 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
21914 (__feraiseexcept): Likewise.
21915 (feclearexcept): Likewise.
21916 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
21917 (__feraiseexcept): Likewise.
21918 (feclearexcept): Likewise.
21919 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
21920 (__feraiseexcept): Likewise.
21921 (feclearexcept): Likewise.
21922 (fetestexcept): Likewise.
21923
5f167950
JM
21924 * sysdeps/m68k/coldfire/math-tests.h: New file.
21925
ccc9035a
JM
21926 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
21927 * sysdeps/m68k/bits/fenv.h: ... here.
21928 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
21929 not define.
21930 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
21931 Likewise.
21932 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
21933 Likewise.
21934 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
21935 Likewise.
21936 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
21937 Likewise.
21938 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
21939 Define to 0.
21940 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
21941 (__FE_UNDEFINED): New enum constant.
21942 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
21943 Do not define.
21944 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
21945 Likewise.
21946 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
21947 Likewise.
21948 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
21949 to match generic bits/fenv.h.
21950 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
21951 Do not define.
21952
049375e2
JM
21953 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
21954 packed on bits.
21955 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
21956 * soft-fp/half.h (union _FP_UNION_H): Likewise.
21957 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
21958 * soft-fp/single.h (union _FP_UNION_S): Likewise.
21959
f1d73681
CD
219602018-02-01 Carlos O'Donell <carlos@redhat.com>
21961 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
21962 Joseph Myers <joseph@codesourcery.com>
21963
21964 [BZ #21314]
21965 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
21966 (__log1p): Disable -Wmaybe-uninitialized for -Os around
21967 computation using c.
21968 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
21969 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
21970 computation using c.
21971
242cbc90
DL
219722018-02-01 Dmitry V. Levin <ldv@altlinux.org>
21973
086ee48e
DL
21974 * version.h (RELEASE): Set to "development".
21975 (VERSION): Set to "2.27.9000".
21976 * NEWS (2.28): New section.
21977
23158b08
DL
21978 * version.h (RELEASE): Set to "stable".
21979 (VERSION): Set to "2.27".
21980 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
21981
242cbc90
DL
21982 * NEWS: Add the list of bugs fixed in 2.27.
21983
673e2305
AZ
219842018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21985
21986 * stdlib/test-atexit-race-common.c (do_test): Check stack size
21987 against PTHREAD_STACK_MIN.
21988
ced64e01
DL
219892018-02-01 Dmitry V. Levin <ldv@altlinux.org>
21990
21991 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
21992 New entries.
ab74d59f 21993 (Rafał Lużyński, Andreas Schwab): Update.
ced64e01 21994
ab74d59f 219952018-02-01 Rafał Lużyński <digitalfreak@lingonborough.com>
c10c9a5e
RL
21996
21997 [BZ #10871]
21998 * NEWS: List the languages which actually use the alternative
21999 months feature in this release. Also explain that "alt_mon" and
22000 "ab_alt_mon" are optional.
22001
650ba77a
IM
220022018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
22003
22004 [BZ #22765]
22005 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
22006
93493119
DL
220072018-01-31 Dmitry V. Levin <ldv@altlinux.org>
22008
22009 * manual/install.texi (Tools for Compilation): Update the newest
22010 versions of gcc, binutils, texinfo, gawk, bison, and sed.
22011 * INSTALL: Regenerated.
22012
363e4519 220132018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
407552cf
ST
22014
22015 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
22016 instead of __builtin_expect.
22017
d7536874
FW
220182018-01-30 Florian Weimer <fweimer@redhat.com>
22019
22020 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
22021 data.
22022 * nss/tst-nss-getpwent.c (do_test): Likewise.
22023
ab74d59f 220242018-01-30 Rafał Lużyński <digitalfreak@lingonborough.com>
9a1b267d
RL
22025
22026 [BZ #10871]
22027 * localedata/locales/hr_HR (mon): Rename to...
22028 (alt_mon): This.
22029 (mon): Import from CLDR (genitive case).
22030 (d_t_fmt): Update the comment.
22031
9a179328
AS
220322018-01-29 Andreas Schwab <schwab@linux-m68k.org>
22033
22034 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
22035 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
22036 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
22037
e01e0ddc
ST
220382018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
22039
22040 * mach/Versions: Fix version when __mach_host_self_ was added.
22041 * hurd/Versions: Fix version when _hurd_exec_paths was added.
22042 * sysdeps/mach/hurd/i386/ld.abilist: New file.
22043 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
22044 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
22045 * sysdeps/mach/hurd/i386/libc.abilist: New file.
22046 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
22047 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
22048 * sysdeps/mach/hurd/i386/libm.abilist: New file.
22049 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
22050 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
22051 * sysdeps/mach/hurd/i386/librt.abilist: New file.
22052 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
ba729de6
ST
22053 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
22054 || to respect codestyle.
2aadb705
ST
22055 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
22056 (do_test_bz20181): Rename accordingly.
406e7a0a
ST
22057 * malloc/malloc.c: Include <assert.h>.
22058 (assert): Do not define.
22059 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
99dfbef4
ST
22060 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
22061 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
ac56adbb 22062 * sysdeps/mach/hurd/hp-timing.h: New file.
ef4cf463 22063 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
e01e0ddc 22064
521877e1
PD
220652018-01-29 Darius Rad <darius@bluespec.com>
22066
22067 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
22068
532cf290
PD
220692018-01-29 Palmer Dabbelt <palmer@sifive.com>
22070
22071 * sysdeps/init_array/crti.S (.section .init_array): Add
22072 PREINIT_FUNCTION when defined.
40ca951b 22073 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
4215e276 22074 * config.h.in: Regenerate.
ba9e25a6
PD
22075 * manual/platform.texi: Add RISC-V documenation for
22076 __riscv_flush_icache.
c776fa11
PD
22077 * sysdeps/riscv/__longjmp.S: New file.
22078 * sysdeps/riscv/backtrace.c: Likewise.
22079 * sysdeps/riscv/bits/endian.h: Likewise.
22080 * sysdeps/riscv/bits/setjmp.h: Likewise.
22081 * sysdeps/riscv/bits/wordsize.h: Likewise.
22082 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
22083 * sysdeps/riscv/bsd-setjmp.c: Likewise.
22084 * sysdeps/riscv/dl-trampoline.S: Likewise.
22085 * sysdeps/riscv/gccframe.h: Likewise.
22086 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
22087 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
22088 * sysdeps/riscv/machine-gmon.h: Likewise.
22089 * sysdeps/riscv/memusage.h: Likewise.
22090 * sysdeps/riscv/setjmp.S: Likewise.
22091 * sysdeps/riscv/sys/asm.h: Likewise.
22092 * sysdeps/riscv/tls-macros.h: Likewise.
33712660
PD
22093 * sysdeps/riscv/dl-tls.h: New file.
22094 * sysdeps/riscv/libc-tls.c: Likewise.
22095 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
22096 * sysdeps/riscv/nptl/tls.h: Likewise.
22097 * sysdeps/riscv/stackinfo.h: Likewise.
67236aeb
PD
22098 * sysdeps/riscv/bits/fenv.h: New file.
22099 * sysdeps/riscv/e_sqrtl.c: Likewise.
22100 * sysdeps/riscv/fpu_control.h: Likewise.
22101 * sysdeps/riscv/math-tests.h: Likewise.
22102 * sysdeps/riscv/nofpu/Implies: Likewise.
22103 * sysdeps/riscv/sfp-machine.h: Likewise.
22104 * sysdeps/riscv/tininess.h: Likewise.
b2cb5e02
PD
22105 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
22106 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
22107 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
22108 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
22109 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
22110 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
22111 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
22112 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
22113 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
22114 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
22115 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
22116 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
22117 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
22118 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
22119 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
22120 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
22121 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
22122 * sysdeps/riscv/rvd/s_finite.c: Likewise.
22123 * sysdeps/riscv/rvd/s_fma.c: Likewise.
22124 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
22125 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
22126 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
22127 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
22128 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
22129 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
22130 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
22131 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
22132 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
22133 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
22134 * sysdeps/riscv/rvf/fegetround.c: Likewise.
22135 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
22136 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
22137 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
22138 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
22139 * sysdeps/riscv/rvf/fesetround.c: Likewise.
22140 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
22141 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
22142 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
22143 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
22144 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
22145 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
22146 * sysdeps/riscv/rvf/math_private.h: Likewise.
22147 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
22148 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
22149 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
22150 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
22151 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
22152 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
22153 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
22154 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
22155 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
22156 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
22157 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
22158 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
22159 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
22160 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
22161 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
22162 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
d1c09b24
PD
22163 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
22164 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
22165 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
22166 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
36960f0c
PD
22167 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
22168 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
22169 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
22170 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
22171 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
22172 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
22173 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
22174 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
22175 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
7f33b09c
PD
22176 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
22177 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
22178 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
22179 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
22180 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
22181 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
22182 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
22183 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
22184 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
22185 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
22186 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
22187 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
22188 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
22189 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
22190 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
22191 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
22192 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
22193 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
22194 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
22195 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
22196 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
22197 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
ee53fed9
PD
22198 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
22199 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
22200 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
2268c433
PD
22201 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
22202 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
22203 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
22204 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
22205 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
22206 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
22207 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
22208 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
22209 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
22210 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
22211 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
22212 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
22213 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
22214 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
c5061557
PD
22215 * sysdeps/riscv/Implies: New file.
22216 * sysdeps/riscv/Makefile: Likewise.
22217 * sysdeps/riscv/configure: Likewise.
22218 * sysdeps/riscv/configure.ac: Likewise.
22219 * sysdeps/riscv/nptl/Makefile: Likewise.
22220 * sysdeps/riscv/preconfigure: Likewise.
22221 * sysdeps/riscv/rv64/Implies-after: Likewise.
22222 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
22223 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
22224 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
22225 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
22226 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
22227 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
22228 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
22229 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
22230 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
22231 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
22232 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
0fd5d876
PD
22233 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
22234 (Config): Likewise.
532cf290 22235
cdd14619
FW
222362018-01-29 Florian Weimer <fweimer@redhat.com>
22237
22238 [BZ #22701]
22239 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
22240 libnsl_hidden_proto.
22241 * include/rpcsvc/yp.h (yp_xdrall): Declare with
22242 libnsl_hidden_proto.
22243 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
22244 * nis/Makefile (libnsl-routines): Add nss-default only for
22245 build-obsolete-nsl.
22246 * nis/nis_defaults.c (__nis_default_ttl): Add
22247 libnsl_hidden_nolink_def.
22248 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
22249 declaration.
22250 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
22251 * nis/ypclnt.c (yp_maplist): Likewise.
22252
b7ccb5de
RN
222532018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
22254
22255 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22256 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
22257
522623e4
JM
222582018-01-29 Joseph Myers <joseph@codesourcery.com>
22259
e3aa6999
JM
22260 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
22261 clean -dxfq for git updates when replacing sources.
22262
088de7d0
JM
22263 * scripts/build-many-glibcs.py (Config.build_gcc): Use
22264 --disable-libcilkrts unconditionally, not just for the final GCC
22265 build for Hurd.
22266
522623e4
JM
22267 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
22268 version to 4.15.
22269
ab74d59f 222702018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
8b406f87
RL
22271
22272 [BZ #10871]
22273 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
22274 case).
22275
ab74d59f 222762018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
105e90bd
RL
22277
22278 [BZ #10871]
22279 * localedata/locales/be_BY (mon): Rename to...
22280 (alt_mon): This, then synchronize with CLDR (nominative case).
22281 (abmon): Rename to...
22282 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
22283 (mon): Import from CLDR (genitive case).
22284 (abmon): Likewise.
22285 * localedata/locales/be_BY@latin (mon): Rename to...
22286 (alt_mon): This.
22287 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
22288
22289 * localedata/locales/be_BY@latin (lang_name): Reworded to
22290 "biełaruskaja mova".
22291
ab74d59f 222922018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
561cb414
RL
22293
22294 [BZ #10871]
22295 * localedata/locales/el_CY (mon): Renamed to...
22296 (alt_mon): This.
22297 (mon): Import from CLDR (genitive case).
22298 * localedata/locales/el_GR: Likewise.
22299
ab74d59f 223002018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
f7bdf30d
RL
22301
22302 [BZ #10871]
22303 * localedata/locales/ru_RU (mon): Rename to...
22304 (alt_mon): This.
22305 (abmon): Rename to...
22306 (ab_alt_mon): This.
22307 (mon): Import from CLDR (genitive case).
22308 (abmon): Copy from the old content except the 5th month which is
22309 now in the genitive case, even when abbreviated.
22310 * localedata/locales/ru_UA: Likewise.
22311 * time/tst-strptime.c (day_tests): Add an actual example of
22312 a difference between %b and %Ob in Russian.
22313
85285a0c
ST
223142018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
22315
22316 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
da8168df
ST
22317 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
22318 a `c' variable.
3538a4b6 22319 * resolv/res-close.c: Include <stdlib.h>.
b29848b9
ST
22320 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
22321 <sys/wait.h>, <time.h>, <sys/uio.h>.
22322 (NOT_CANCEL_H): Add inclusion guard.
4f66dc23 22323 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
147d1dbb
ST
22324 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
22325 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
22326 return 0.
05ebfe87
ST
22327 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
22328 vm_address_t * to ElfW(Addr) * for dl_main parameter.
61a3a8c6
ST
22329 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
22330 instead of void *.
22331 * sysdeps/pthread/timer_create.c (timer_create): Do not use
22332 timer_ptr2id to cast struct timer_node * to void *.
d4d5b2dd
ST
22333 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
22334 --disable-libcilkrts to gcc configure.
19fd8d0d
ST
22335 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
22336 and make them the default for now.
903d3633
ST
22337 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
22338 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
7dab2d00
ST
22339 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
22340 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
22341 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
22342 MACH_IPC_COMPAT.
06fac9f5
ST
22343 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
22344 __task_terminate would ever return successfully.
f8177753
ST
22345 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
22346 to global scope.
41cdb1eb
ST
22347 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
22348 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
660b7bff
ST
22349 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
22350 critical section to make code simpler and avoid warning.
22351 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
22352 critical section to make code simpler and avoid warning.
844bf921
ST
22353 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
22354 const char * instead of char *.
f8bee46c
ST
22355 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
22356 __hurd_file_name_split, hurd_file_name_split,
22357 __hurd_directory_name_split, hurd_directory_name_split,
22358 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
22359 hurd_file_name_path_lookup): Make lookup function parameter take a
22360 const char *name instead of char *name.
22361 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
22362 __hurd_directory_name_split): Likewise.
22363 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
22364 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
40066975
ST
22365 * sysdeps/mach/hurd/check_native.c: New file.
22366 * sysdeps/mach/hurd/check_pf.c: New file.
7c5b106d
ST
22367 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
22368 (__freeifaddrs): Define macro to freeifaddrs.
5f982b0b
ST
22369 * sysdeps/mach/hurd/libhurduser.abilist: New file.
22370 * sysdeps/mach/libmachuser.abilist: New file.
cef7166a
ST
22371 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
22372 (do_test_bz20181): Rename accordingly.
22373 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
3fc1ecf9
ST
22374 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
22375 <sys/mount.h>.
28f6186f
ST
22376 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
22377 version only if __USE_EXTERN_INLINES is defined.
22378 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
22379 __hurd_sockfail): Likewise.
22380 (_hurd_fd_get): Always declare functions, and provide inline versions
22381 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
22382 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
22383 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
22384 _hurd_port_set): Always declare functions, and provide inline versions
22385 only if __USE_EXTERN_INLINES and _LIBC are defined and
22386 IS_IN(libc).
22387 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
22388 _hurd_critical_section_unlock): Likewise.
22389 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
22390 * __hurd_threadvar_location): Likewise.
22391 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
22392 _hurd_userlink_clear): Likewise.
22393 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
22394 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
22395 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
22396 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
22397 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
22398 __spin_lock_locked): Likewise.
22399 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
22400 __spin_lock_locked): Likewise.
22401 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
22402 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
22403 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
22404 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
22405 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
b1025304
ST
22406 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
22407 _POSIX_NO_TRUNC): Define to 0.
a902a086
ST
22408 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
22409 check size against PTHREAD_STACK_MIN.
625ba81e
ST
22410 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
22411 IS_IN(libpthread)]: Include <sigsetops.h>.
2e52dff4
ST
22412 * mach/Makefile (user-interfaces): Add mach/gnumach.
22413 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
22414 * sysdeps/mach/configure (mach_interface_list): Regenerate.
80463dc6
ST
22415 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
22416 instead of invalid -1.
1f89ac71
ST
22417 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
22418 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
22419 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
22420 <net/ppp_defs.h>.
85285a0c 22421
1fd1e27c 224222018-01-27 Thomas Schwinge <tschwinge@gnu.org>
84814e2a
TS
22423
22424 * hurd/fcntl-internal.h: New file.
22425
3854c5a8
JC
224262018-01-27 James Clarke <jrtc27@jrtc27.com>
22427
7e23a7dd
JC
22428 * sysdeps/hppa/fpu/libm-test-ulps: Update.
22429
3854c5a8
JC
22430 * sysdeps/alpha/fpu/libm-test-ulps: Update.
22431
5503f413
AS
224322018-01-26 Andreas Schwab <schwab@linux-m68k.org>
22433
22434 [BZ #22701]
22435 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
22436 Build only shared objects.
22437
caaf7804
CD
224382018-01-26 Carlos O'Donell <carlos@redhat.com>
22439
22440 * README: Update for hppa.
22441
1cbf818d
PM
224422018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22443
caaf7804
CD
22444 * sysdeps/sparc/fpu/libm-test-ulps: Update
22445 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
1cbf818d 22446
caaf7804 224472018-01-26 Carlos O'Donell <carlos@redhat.com>
2ec0e7ea
CD
22448
22449 Revert:
22450
22451 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22452
22453 [BZ #22563]
22454 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22455 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
22456 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22457 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
22458 to feature_1.
22459
22460 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22461
22462 [BZ #22563]
22463 * bits/types/__cancel_jmp_buf_tag.h: New file.
22464 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
22465 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
22466 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
22467 * nptl/Makefile (headers): Add
22468 bits/types/__cancel_jmp_buf_tag.h.
22469 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
22470 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
22471 * sysdeps/nptl/pthread.h: Include
22472 <bits/types/__cancel_jmp_buf_tag.h>.
22473 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
22474 __cancel_jmp_buf.
22475 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
22476
ab74d59f 224772018-01-25 Rafał Lużyński <digitalfreak@lingonborough.com>
65f6c94e
RL
22478
22479 [BZ #10871]
22480 * localedata/locales/uk_UA (mon): Renamed to...
22481 (alt_mon): This.
22482 (alt_digits): "0" removed and then renamed to...
22483 (mon): This.
22484 (date_fmt): Definition changed not to use the alternative
22485 digits hack.
22486
fb58aac5
PD
224872018-01-25 Palmer Dabbelt <palmer@sifive.com>
22488
22489 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
22490 FLAG_RISCV_FLOAT_ABI_DOUBLE.
22491 * elf/elf.h (EF_RISCV_RVC): New define.
22492 (EF_RISCV_FLOAT_ABI): Likewise.
22493 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
22494 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
22495 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
22496 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
22497 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
22498 define.
22499 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
22500
128c43a2
AS
225012018-01-25 Andreas Schwab <schwab@suse.de>
22502
22503 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
22504 single quotes.
22505 * sysdeps/gnu/configure: Regenerate.
22506 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
22507 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
22509 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
22510 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
22511 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
22512 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
22513 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
22514
f9015003
ST
225152018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
22516
48130690 22517 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
47c4b4b0 22518 URL, and run autoconf, make it the default for now.
f9015003 22519
91b2cffa
JM
225202018-01-24 Joseph Myers <joseph@codesourcery.com>
22521
3005b705
JM
22522 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22523 soft-float ColdFire configuration.
22524
69231fab
JM
22525 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
22526 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
22527 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
22528
d4c7e1d0
JM
22529 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
22530 MicroBlaze file.
22531
0cfe5be5
JM
22532 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
22533 ....
22534 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
22535 ... here.
22536 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
22537 New file.
22538
91b2cffa
JM
22539 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
22540 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
22541 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
22542 file.
22543
c739e191
SN
225442018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
22545
22546 [BZ #22742]
22547 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
22548 Rename to __reserved and add comment.
22549 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
22550 Rename to __reserved.
22551
394b5bac
JM
225522018-01-24 Joseph Myers <joseph@codesourcery.com>
22553
22554 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22555 i686-gnu configurations.
22556 (Context.run_builds): Include mig, gnumach and hurd in components
22557 considered.
22558 (Context.checkout): Add mig, gnumach and hurd to components.
22559 (Context.checkout_tar): Add URL mappings for mig, gnumach and
22560 hurd.
22561 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
22562 (Config.build): Install gnumach headers, build mig and install
22563 hurd headers for 'gnu' OS.
22564 (Config.install_gnumach_headers): New function.
22565 (Config.install_hurd_headers): Likewise.
22566 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
22567 when building for 'gnu' OS.
22568
28c3f14f
TK
225692018-01-23 Tobias Klauser <tklauser@distanz.ch>
22570
22571 * manual/tunables.texi (Hardware Capability Tunables): Fix
22572 spelling.
22573
0f5e2da1
RJ
225742018-01-22 Rical Jasan <ricaljasan@pacific.net>
22575
22576 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
22577 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
22578 (ALTMON_11, ALTMON_12): Improve documentation.
22579 * manual/time.texi (strftime): Likewise.
22580
ab74d59f 225812018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
7817b14a
RL
22582
22583 [BZ #10871]
22584 * localedata/locales/pl_PL: Alternative month names added,
22585 primary month names are genitive now.
22586 * time/tst-strptime.c (day_tests): Actually use a genitive case
22587 of a month name in Polish language.
22588
ab74d59f 225892018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22390764
RL
22590
22591 [BZ #10871]
22592 * manual/locale.texi: Document ALTMON_1..12 constants for
22593 nl_langinfo. Specify when to use ALTMON instead of MON.
22594 * manual/time.texi (strftime, strptime): Document GNU extension
22595 permitting O modifier with %B and %b. Specify when to use
22596 %OB instead of %B.
22597
ab74d59f 225982018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
761a585c
RL
22599
22600 [BZ #10871]
22601 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
22602 names, define them as the same as abbreviated month names explicitly.
22603 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
22604 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
22605 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
22606 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
22607 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
22608 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
22609 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
22610 _NL_WABALTMON_12): New enum constants.
22611 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
22612 wab_alt_mon, and ab_alt_mon_defined members.
22613 (time_output): Output ab_alt_mon and wab_alt_mon members.
22614 (time_read): Read them, initialize them as copies of abmon and wabmon
22615 respectively if they are missing, initialize ab_alt_mon_defined.
22616 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
22617 * locale/programs/locfile-kw.h: Regenerate.
22618 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
22619 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
22620 and ru_RU.UTF-8.
22621 * time/strftime_l.c (a_altmonth, aam_len): New macros.
22622 [!COMPILE_WIDE] (ABALTMON_1): New macro.
22623 (__strftime_internal): Handle %Ob and %Oh formats.
22624 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
22625 (__strptime_internal): Handle %Ob and %Oh formats.
22626 * time/tst-strptime.c (day_tests): Add more tests to parse different
22627 forms of month names including the new %Ob format specifier.
22628
ab74d59f 226292018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
95cb863a
RL
22630
22631 [BZ #10871]
22632 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
22633 define them as the same as primary full month names explicitly.
22634 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
22635 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
22636 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
22637 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
22638 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
22639 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
22640 _NL_WALTMON_12): New enum constants.
22641 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
22642 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
22643 macros.
22644 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
22645 walt_mon, and alt_mon_defined members.
22646 (time_output): Output alt_mon and walt_mon members.
22647 (time_read): Read them, initialize them as copies of mon and wmon
22648 respectively if they are missing, initialize alt_mon_defined.
22649 * locale/programs/locfile-kw.gperf (alt_mon): Define.
22650 * locale/programs/locfile-kw.h: Regenerate.
22651 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
22652 * localedata/tst-langinfo.c (map): Add tests for the new constants
22653 ALTMON_1 .. ALTMON_12.
22654 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
22655 and pl_PL.UTF-8.
22656 * time/strftime_l.c (f_altmonth): New macro.
22657 (__strftime_internal): Handle %OB format.
22658 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
22659 (__strptime_internal): Handle %OB format.
22660 * time/tst-strptime.c (day_tests): Add tests to parse different forms
22661 of month names including the new %OB format specifier.
22662
4612268a
TMQMF
226632018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22664
22665 [BZ #22685]
22666 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
22667 from ABORT_TRANSACTION.
22668 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
22669 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
22670 ABORT_TRANSACTION_IMPL): Likewise.
22671 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
22672 Linux code, but remove the code that aborts transactions.
22673
64f63cb4
ST
226742018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
22675
22676 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
22677
ab74d59f 226782018-01-19 Rafał Lużyński <digitalfreak@lingonborough.com>
32ac6e92
RL
22679
22680 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
22681 in date: "2004-14-09" should be "2004-09-14".
22682 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
22683 "2003-15-09" should be "2003-09-15".
22684
8e448310
AS
226852018-01-18 Arjun Shankar <arjun@redhat.com>
22686
22687 [BZ #22343]
71aa429b 22688 [BZ #22774]
4590634f 22689 CVE-2018-6485
71aa429b 22690 CVE-2018-6551
8e448310
AS
22691 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
22692 after padding.
22693 (_int_memalign): check for integer overflow before calling
22694 _int_malloc.
22695 * malloc/tst-malloc-too-large.c: New test.
22696 * malloc/Makefile: Add tst-malloc-too-large.
22697
ab74d59f 226982018-01-18 Rafał Lużyński <digitalfreak@lingonborough.com>
e234d7cb
RL
22699
22700 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
22701 in date: "2017-24-07" should be "2017-07-24".
22702 * localedata/locales/mai_IN: Likewise.
22703 * localedata/locales/mai_NP: Likewise.
22704
48b66019
DL
227052018-01-17 Dmitry V. Levin <ldv@altlinux.org>
22706
22707 * po/ru.po: Update translations.
22708
1eeddc58
JM
227092018-01-17 Joseph Myers <joseph@codesourcery.com>
22710
22711 [BZ #22719]
22712 * sysdeps/hppa/backtrace.c: New file.
22713
207a72e2
L
227142018-01-17 H.J. Lu <hongjiu.lu@intel.com>
22715
22716 [BZ #22715]
22717 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
22718 align La_x86_64_retval to VEC_SIZE.
22719
4942c4ea
JM
227202018-01-16 Joseph Myers <joseph@codesourcery.com>
22721
22722 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
22723 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
22724
10d200db
FW
227252018-01-16 Florian Weimer <fweimer@redhat.com>
22726
22727 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
22728 Move tst-thread-exit-clobber ...
22729 [$(CXX)] (tests-unsupported): ... to here.
22730
953c49cc
SN
227312018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
22732
22733 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
22734 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
22735 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
22736 (_dl_aarch64_cap_flags): Update.
22737 (_DL_HWCAP_COUNT): Update.
22738
afce1991
SN
227392018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
22740
22741 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
22742 (_DL_HWCAP_LAST): Remove.
22743 (_DL_HWCAP_COUNT): Move to ...
22744 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
22745 (_DL_HWCAP_COUNT): ... here.
22746
b725132d
FW
227472018-01-16 Florian Weimer <fweimer@redhat.com>
22748
22749 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
22750 mode with GNU extensions.
22751
c9e613a7
AH
227522018-01-15 Alan Hayward <alan.hayward@arm.com>
22753
22754 * elf/elf.h (NT_ARM_SVE): Define.
22755
860b0240
FW
227562018-01-15 Florian Weimer <fweimer@redhat.com>
22757
22758 [BZ #22636]
22759 * nptl/tst-minstack-throw.cc: New file.
22760 * nptl/Makefile (tests): Add tst-minstack-throw.
22761 (LDLIBS-tst-minstack-throw): Link with libstdc++.
22762 [!CXX] (tests-unsupported): Add tst-minstack-throw.
22763
16d0f6ac
JM
227642018-01-15 Joseph Myers <joseph@codesourcery.com>
22765
22766 * scripts/build-many-glibcs.py (Context.checkout): Default
22767 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
22768 version to 1.1.0.
22769
505d3910
CD
227702018-01-13 Carlos O'Donell <carlos@redhat.com>
22771
22772 [BZ #22707]
22773 * elf/elf.h (DF_1_STUB): Define.
22774 (DF_1_PIE): Define.
22775
af1e6be4
TMQMF
227762018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22777
22778 [BZ #22697]
22779 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
22780 Do not add 0.5 to integer or out-of-range arguments.
22781
98d13ce0
DL
227822018-01-12 Dmitry V. Levin <ldv@altlinux.org>
22783
22784 * po/bg.po: Update translations.
22785 * po/cs.po: Likewise.
22786 * po/de.po: Likewise.
22787 * po/ko.po: Likewise.
22788 * po/pl.po: Likewise.
22789 * po/sv.po: Likewise.
22790 * po/uk.po: Likewise.
22791 * po/vi.po: Likewise.
22792
3d1d7928
SN
227932018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
22794
22795 * aarch64/start.S (_start): Use __wrap_main.
22796 (__wrap_main): New local symbol.
22797
52a713fd
DL
227982018-01-12 Dmitry V. Levin <ldv@altlinux.org>
22799
22800 [BZ #22679]
22801 CVE-2018-1000001
22802 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
22803 generic_getcwd if the path returned by getcwd syscall is not absolute.
22804 * io/tst-getcwd-abspath.c: New test.
22805 * io/Makefile (tests): Add tst-getcwd-abspath.
22806
249a5895
IK
228072018-01-12 Istvan Kurucsai <pistukem@gmail.com>
22808
22809 * malloc/malloc.c (malloc_consolidate): Add size check.
22810
1a51e46e
FW
228112018-01-12 Florian Weimer <fweimer@redhat.com>
22812
22813 * support/write_message.c (write_message): Preserve errno.
22814 * support/check.c (print_failure): Likewise.
22815 * support/support_test_verify_impl.c (support_test_verify_impl):
22816 Likewise.
22817 * support/support_test_compare_failure.c
22818 (support_test_compare_failure): Likewise.
22819
9a08a366
FW
228202018-01-12 Florian Weimer <fweimer@redhat.com>
22821
22822 [BZ #22701]
22823 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
22824 Prevent installation of libnsl.so.
22825 (libnsl-inhibit-o): Do not build (or install) static libraries.
22826
80647883 228272018-01-12 Egmont Koblinger <egmont@gmail.com>
f172187b
EK
22828
22829 [BZ #22657]
22830 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
22831 before the day number which may produce a double space.
22832 (date_fmt): Likewise.
22833
c8924f1f
JM
228342018-01-12 Joseph Myers <joseph@codesourcery.com>
22835
22836 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
22837 instead of fegetenv.
22838
da09e6fa
JM
228392018-01-11 Joseph Myers <joseph@codesourcery.com>
22840
22841 [BZ #22702]
22842 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
22843 comment to say exceptions are discarded.
22844 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
22845 __fegetenv.
22846 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
22847 be enabled.
22848
08c6e952
FW
228492018-01-11 Florian Weimer <fweimer@redhat.com>
22850
22851 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
22852 and error message.
22853
d8b77890
FW
228542018-01-11 Florian Weimer <fweimer@redhat.com>
22855
22856 [BZ #22636]
22857 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
22858 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
22859
b303185d
JM
228602018-01-10 Joseph Myers <joseph@codesourcery.com>
22861
22862 [BZ #22693]
22863 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
22864 negative arguments in test for NaN or infinity argument.
22865
ee61d028
DL
228662018-01-10 Dmitry V. Levin <ldv@altlinux.org>
22867
22868 * po/libc.pot: Regenerate.
22869
f993b875
FW
228702018-01-10 Florian Weimer <fweimer@redhat.com>
22871
22872 [BZ #22636]
22873 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
22874 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
22875
09085ede
ST
228762018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22877
22878 * hurd/hurd/fd.h: Include <fcntl.h>
22879 (__hurd_at_flags): New function.
22880 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
22881 with call to __hurd_at_flags.
22882 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
22883 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
22884 __faccessat
22885 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
22886 (__access_noerrno): Use __faccessat_common instead of access_common.
22887 (__access): Likewise.
22888 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
22889 with a call to __faccessat.
22890 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
22891 (__faccessat_common): ... this. Move implementation of __access into it when
22892 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
22893 reauthenticate_cwdir_at helper to implement AT mechanism.
22894 (__faccessat_noerrno): New function, just calls __faccessat_common.
22895 (__faccessat): New function, just calls __faccessat_common.
22896 (faccessat): Define weak alias.
22897
12727488
JM
228982018-01-10 Joseph Myers <joseph@codesourcery.com>
22899
87faac55
JM
22900 [BZ #22691]
22901 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22902 (CFLAGS-s_fmaxmagl.c): New variable.
22903 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
22904
12727488
JM
22905 [BZ #22690]
22906 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
22907 long int for arguments of possibly overflowing addition or
22908 subtraction.
22909 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
22910
e134ca17
JM
229112018-01-09 Joseph Myers <joseph@codesourcery.com>
22912
b2584ac2
JM
22913 [BZ #22688]
22914 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22915 (CFLAGS-e_remainderl.c): New variable.
22916
e134ca17
JM
22917 [BZ #22687]
22918 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
22919 variable.
22920 (CFLAGS-s_cacoshl.c): Likewise.
22921 (CFLAGS-s_casinhl.c): Likewise.
22922 (CFLAGS-s_catanl.c): Likewise.
22923 (CFLAGS-s_catanhl.c): Likewise.
22924 (CFLAGS-s_cexpl.c): Likewise.
22925 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
22926 (CFLAGS-s_csinhl.c): Likewise.
22927 (CFLAGS-s_clogl.c): Likewise.
22928 (CFLAGS-s_clog10l.c): Likewise.
22929 (CFLAGS-s_csinl.c): Likewise.
22930 (CFLAGS-s_csqrtl.c): Likewise.
22931
d31a4a48
ST
229322017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
229332017-01-09 Svante Signell <svante.signell@gmail.com>
311ba8dc
ST
22934
22935 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
22936 (_hurd_exec_paths): New function.
22937 * hurd/hurd.h (_hurd_exec): Deprecate function.
22938 (_hurd_exec_paths): Declare function.
22939 * hurd/Versions: Export _hurd_exec_paths.
22940 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
22941 (__execve): Use __getcwd to build absolute path, and use
22942 _hurd_exec_paths instead of _hurd_exec.
22943 * sysdeps/mach/hurd/spawni.c: Likewise.
22944 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
22945 _hurd_exec.
22946
d7ff3f11
DL
229472018-01-08 Dmitry V. Levin <ldv@altlinux.org>
22948
22949 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
22950 test instead of failing in case of ENOENT returned by posix_openpt.
22951
401311cf
FW
229522018-01-08 Florian Weimer <fweimer@redhat.com>
22953
22954 resolv: Support binary labels in test framework.
22955 * support/resolv_test.c (struct to_be_freed): Remove.
22956 (struct compressed_name): New.
22957 (allocate_compressed_name, ascii_tolower)
22958 (compare_compressed_name): New functions.
22959 (struct resolv_response_builder): Update type of
22960 compression_offsets for use with tsearch. Rempve to_be_freed.
22961 (response_push_pointer_to_free): Remove function.
22962 (resolv_response_add_name): Rewrite using struct compressed_name
22963 and tsearch instead of hsearch_r.
22964 (response_builder_allocate): Remove initialization of
22965 compression_offsets.
22966 (response_builder_free): Update for removal of to_be_freed. Use
22967 tdestroy instead of hdestroy_r.
22968 * resolv/Makefile (tests): Add tst-resolv-binary.
22969 (tst-resolv-binary): Link with -lresolv -lpthread.
22970
2b3aa446
FW
229712018-01-08 Florian Weimer <fweimer@redhat.com>
22972
22973 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
22974 time. Pass positive flag instead of negative flag to
22975 support_test_compare_failure.
22976 (support_test_compare_failure): Change negative parameter to
22977 positive.
22978 * support/support_test_compare_failure.c (report)
22979 (support_test_compare_failure): Likewise.
22980 * support/tst-test_compare.c (return_ssize_t, return_int): New.
22981 (do_test): Check int/size_t, ssize_t/size_t comparisons.
22982
630f4cc3
SN
229832018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
22984
22985 [BZ #22637]
22986 * nptl/descr.h (stackblock, stackblock_size): Update comments.
22987 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
22988 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
22989 stacksize.
22990 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
22991
c70e4e9c
L
229922018-01-08 H.J. Lu <hongjiu.lu@intel.com>
22993
22994 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22995 Add s_sincosf-sse2 and s_sincosf-fma.
22996 (CFLAGS-s_sincosf-fma.c): New.
22997 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
22998 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
22999 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
23000 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
23001 __sincosf is defined.
23002
579396ee
FW
230032018-01-08 Florian Weimer <fweimer@redhat.com>
23004
23005 * nptl/tst-thread-exit-clobber.cc: New file.
23006 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
23007 C++11 mode.
23008 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
23009 (tests): Add tst-thread-exit-clobber.
23010 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
23011
dabd75b6
FW
230122018-01-08 Florian Weimer <fweimer@redhat.com>
23013
23014 * support/check.h (support_static_assert): Define.
23015 (TEST_COMPARE): Use it.
23016
c2e014cc
AJ
230172018-01-07 Aurelien Jarno <aurelien@aurel32.net>
23018
23019 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
23020 [!__RLIM_T_MATCHES_RLIM64_T]
23021 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
23022 __getrlimit64. Add libc_hidden_weak.
23023
31a98837
PD
230242018-01-06 Palmer Dabbelt <palmer@sifive.com>
23025
23026 * elf/elf.h (R_RISCV_NONE): New define.
23027 (R_RISCV_32): Likewise.
23028 (R_RISCV_64): Likewise.
23029 (R_RISCV_RELATIVE): Likewise.
23030 (R_RISCV_COPY): Likewise.
23031 (R_RISCV_JUMP_SLOT): Likewise.
23032 (R_RISCV_TLS_DTPMOD32): Likewise.
23033 (R_RISCV_TLS_DTPMOD64): Likewise.
23034 (R_RISCV_TLS_DTPREL32): Likewise.
23035 (R_RISCV_TLS_DTPREL64): Likewise.
23036 (R_RISCV_TLS_TPREL32): Likewise.
23037 (R_RISCV_TLS_TPREL64): Likewise.
00505532
PD
23038 * Makerules (make-link-multidir): Make directories before linking into
23039 them.
150bbac1
PD
23040 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
23041 define.
23042 (VDSO_HASH_LINUX_4_15): Likewise.
1598f3ad
PD
23043 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
23044 in subdirectories of lib.
8e13c51b
PD
23045 * nptl/Makefile (/librt.so): Always depend on
23046 "$(shared-thread-library)".
31a98837 23047
fad7d57e
ST
230482018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23049
23050 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
4a5ce6e9
ST
23051 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
23052 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
23053 (___tls_get_addr).
23054 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
107a35a5
ST
23055 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
23056 "-O2 -march=i686".
01c7e549 23057 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
f417d92c
ST
23058 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
23059 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
23060 * sysdeps/gnu/glob-lstat-compat.c: New file.
23061 * sysdeps/gnu/glob64-lstat-compat.c: New file.
200fc24b 23062 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
fad7d57e 23063
3a32b716
TMQMF
230642018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23065
23066 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
23067 Reserve 16 chars to reloc_addr before calling _itoa_word.
23068
24731685
AJ
230692018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23070
23071 [BZ #22678]
23072 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
23073 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
23074
19be56d8
AJ
23075 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
23076 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
23077
a6d0afb5
AJ
23078 * resource/tst-getrlimit.c: Add copyright header.
23079
8e900969
AJ
230802018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23081 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23082
23083 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
23084 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
23085 Define __GI_getrlimit64 as weak alias of __getrlimit64.
23086 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
23087 instead.
23088 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
23089 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
23090 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
23091 RLIM64_INFINITY): Fix values to match the kernel ones.
23092 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
23093 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
23094 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
23095 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
23096 getrlimit64@@GLIBC_2_27.
23097 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
23098 and setrlimit64.
23099 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
23100 getrlimit, setrlimit, getrlimit64 and setrlimit64.
23101 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
23102 setrlimit, getrlimit64 and setrlimit64.
23103
0d0bc784
AJ
231042018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23105
23106 [BZ #22648]
23107 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
23108 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
23109
ba374b6d
JM
231102018-01-04 Joseph Myers <joseph@codesourcery.com>
23111
23112 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
23113 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
23114 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
23115
4854ddd8
AZ
231162018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23117
b0a4eca2
AZ
23118 [BZ #15479]
23119 [BZ #22666]
23120 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
23121 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
23122
4854ddd8
AZ
23123 [BZ #15479]
23124 [BZ #22665]
23125 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
23126 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
23127 * sysdeps/alpha/fpu/s_floor.c: Likewise.
23128 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
23129
8a5df95f
FW
231302018-01-04 Florian Weimer <fweimer@redhat.com>
23131
23132 [BZ #22667]
23133 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
23134 Align the stack before calling exit.
23135 * stdlib/tst-makecontext-align.c: New file.
23136 * stdlib/Makefile (tests): Add tst-makecontext-align.
23137
82eef55f
FW
231382018-01-04 Florian Weimer <fweimer@redhat.com>
23139
23140 Add support for calling dlvsym from libc.so.
23141 * include/dlfcn.h (__libc_dlvsym): Declare.
23142 * elf/Makefile (tests-static-internal): Add
23143 tst-libc_dlvsym-static.
23144 (tests-internal): Add tst-libc_dlvsym.
23145 (modules-names): Add tst-libc_dlvsym-dso.
23146 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
23147 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
23148 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
23149 object tst-libc_dlvsym-dso.so needs to be built before running
23150 these tests.
23151 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
23152 * elf/Versions: Export __libc_dlvsym.
23153 * elf/dl-libc.c (struct do_dlvsym_args): New.
23154 (do_dlvsym, __libc_dlvsym): New functions.
23155 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
23156 (_dl_open_hook2): New variable.
23157 (__libc_register_dl_open_hook): Set it.
23158 * elf/tst-libc_dlvsym-dso.c: New file.
23159 * elf/tst-libc_dlvsym-static.c: Likewise.
23160 * elf/tst-libc_dlvsym.c: Likewise.
23161 * elf/tst-libc_dlvsym.h: Likewise.
23162
1714fc06
ST
231632018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
23164
23165 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
23166 include <sys/mount.h>.
23167
3c7d0312
WD
231682018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
23169
23170 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
23171 Add __NO_MATH_ERRNO__ check.
23172
7eff0954
JM
231732018-01-02 Joseph Myers <joseph@codesourcery.com>
23174
23175 * sysdeps/mips/mips32/libm-test-ulps: Update.
23176 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23177
77f49956
FW
231782018-01-02 Florian Weimer <fweimer@redhat.com>
23179
23180 * misc/tst-pselect.c: Add copyright header.
23181
363e4519 231822018-01-02 Aurelien Jarno <aurelien@aurel32.net>
d35989be
AJ
23183
23184 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
23185 comment.
23186 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
23187 comment.
23188 (settrlimit): Rename into setrlimit.
23189 (__sttrlimit): Rename into __setrlimit.
23190
3e4226ff
AJ
23191 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
23192 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
23193 never defined in that case.
23194
b9256ab6
JM
231952018-01-02 Joseph Myers <joseph@codesourcery.com>
23196
28fd6a44
JM
23197 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
23198
a4933a15
JM
23199 * sysdeps/arm/libm-test-ulps: Update.
23200
b9256ab6
JM
23201 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
23202 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
23203
4cf82d23
RS
232042018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23205
23206 * NEWS: Add cosf and sincosf to list of optimized functions.
23207
6a9dd7a7
AJ
232082018-01-02 Aurelien Jarno <aurelien@aurel32.net>
23209
23210 [BZ #22660]
23211 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
23212 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
23213 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
23214 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
23215
dbba87d5
DL
232162018-01-01 Dmitry V. Levin <ldv@altlinux.org>
23217
b05cb613
DL
23218 [BZ #22433]
23219 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
23220
dbba87d5
DL
23221 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
23222 making a copy of it.
23223
688903eb
JM
232242018-01-01 Joseph Myers <joseph@codesourcery.com>
23225
66ac23de
JM
23226 * manual/texinfo.tex: Update to version 2017-12-26.21 with
23227 trailing whitespace removed.
23228 * scripts/config.guess: Update to version 2018-01-01.
23229 * scripts/config.sub: Update to version 2018-01-01.
23230 * scripts/move-if-change: Update from gnulib.
23231
09533208
JM
23232 * NEWS: Update copyright dates.
23233 * catgets/gencat.c (print_version): Likewise.
23234 * csu/version.c (banner): Likewise.
23235 * debug/catchsegv.sh: Likewise.
23236 * debug/pcprofiledump.c (print_version): Likewise.
23237 * debug/xtrace.sh (do_version): Likewise.
23238 * elf/ldconfig.c (print_version): Likewise.
23239 * elf/ldd.bash.in: Likewise.
23240 * elf/pldd.c (print_version): Likewise.
23241 * elf/sotruss.sh: Likewise.
23242 * elf/sprof.c (print_version): Likewise.
23243 * iconv/iconv_prog.c (print_version): Likewise.
23244 * iconv/iconvconfig.c (print_version): Likewise.
23245 * locale/programs/locale.c (print_version): Likewise.
23246 * locale/programs/localedef.c (print_version): Likewise.
23247 * login/programs/pt_chown.c (print_version): Likewise.
23248 * malloc/memusage.sh (do_version): Likewise.
23249 * malloc/memusagestat.c (print_version): Likewise.
23250 * malloc/mtrace.pl: Likewise.
23251 * manual/libc.texinfo: Likewise.
23252 * nptl/version.c (banner): Likewise.
23253 * nscd/nscd.c (print_version): Likewise.
23254 * nss/getent.c (print_version): Likewise.
23255 * nss/makedb.c (print_version): Likewise.
23256 * posix/getconf.c (main): Likewise.
23257 * scripts/test-installation.pl: Likewise.
23258 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
23259
688903eb
JM
23260 * All files with FSF copyright notices: Update copyright dates
23261 using scripts/update-copyrights.
23262 * locale/programs/charmap-kw.h: Regenerated.
23263 * locale/programs/locfile-kw.h: Likewise.
23264
4f820792
ZW
232652017-12-31 Zack Weinberg <zackw@panix.com>
23266
23267 * libio/bits/libio-ldbl.h: Correct check for improper
23268 inclusion. Add own multiple include guard.
23269
3e3c904d
AJ
232702017-12-30 Aurelien Jarno <aurelien@aurel32.net>
23271 Dmitry V. Levin <ldv@altlinux.org>
23272
23273 [BZ #22625]
31f96325 23274 CVE-2017-16997
3e3c904d
AJ
23275 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
23276 string token expansion. Check for NULL pointer or empty string possibly
23277 returned by expand_dynamic_string_token.
23278 (decompose_rpath): Check for empty path after dynamic string
23279 token expansion.
23280
7e21972b
DL
232812017-12-29 Dmitry V. Levin <ldv@altlinux.org>
23282
c48831d0
DL
23283 [BZ #22433]
23284 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
23285
ac583f50
DL
23286 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
23287 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
23288 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
23289 and PTRACE_SYSCALL.
23290 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
23291 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23292 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23293 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23294 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23295 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
23296
7e21972b
DL
23297 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
23298 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
23299 __ptrace_peeksiginfo_flags, ptrace): Move to ...
23300 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
23301 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23302 bits/ptrace-shared.h.
23303 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
23304 <bits/ptrace-shared.h>.
23305 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
23306 __ptrace_peeksiginfo_flags, ptrace): Remove.
23307 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23308 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23309 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23310 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23311 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
23312
72f29e3a
AJ
233132017-12-29 Aurelien Jarno <aurelien@aurel32.net>
23314
23315 [BZ #17804]
23316 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
23317 end of the loop. Improve comments.
23318
54e4efc2
AJ
233192017-12-29 Zack Weinberg <zackw@panix.com>
23320
23321 [BZ #22615]
23322 * manual/errno.texi (Checking for Errors): Explicitly say that errno
23323 might be set on success.
23324
f8aa69be
AJ
233252017-12-29 Aurelien Jarno <aurelien@aurel32.net>
23326
23327 [BZ #22611]
23328 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
23329 is unchanged on success.
23330
97f13188
DL
233312017-12-27 Dmitry V. Levin <ldv@altlinux.org>
23332
2bd86632
DL
23333 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
23334 updated.
23335 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
23336 expand_dynamic_string_token): Likewise.
23337 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
23338 is_path argument.
23339
1c36e1e6
DL
23340 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
23341 contains ':'.
23342
97f13188
DL
23343 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
23344 is set and name contains ':', and all code depending on these checks.
23345
48a8f832
ZW
233462017-12-24 Zack Weinberg <zackw@panix.com>
23347
23348 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
23349 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
23350 respectively.
23351 * libio/libio.h: Rename the original version of this file to
23352 libio/bits/libio.h. Error out if not included by stdio.h or the
23353 stub libio.h.
23354 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
23355 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
23356 if not included by bits/libio.h or the stub _G_config.h.
23357 * sysdeps/unix/sysv/linux/_G_config.h: Move to
23358 sysdeps/unix/sysv/linux/bits. Error out if not included by
23359 bits/libio.h or the stub _G_config.h.
23360 * libio/stdio.h: Include bits/libio.h, not libio.h.
23361 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
23362 well as libio.h and _G_config.h.
23363
23364 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
23365 * libio/strfile.h, stdio-common/vfscanf.c
23366 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
23367 Include stdio.h, not _G_config.h nor libio.h.
23368 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
23369 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
23370
23371 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
23372
a47ad79a
DL
233732017-12-23 Dmitry V. Levin <ldv@altlinux.org>
23374
23375 [BZ #22347]
23376 * stdlib/getrandom.c (getrandom): Fix comment.
23377 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
23378
363e4519 233792017-12-23 Aurelien Jarno <aurelien@aurel32.net>
e65a5644 23380
f5c558f3
AJ
23381 [BZ #21161]
23382 * manual/arith.texi (strtoul): Fix a typo.
23383
e65a5644
AJ
23384 [BZ #22596]
23385 * manual/arith.texi (finite): Fix the description of the return
23386 value.
23387
ed8ae46b
EB
233882017-12-22 Eric Blake <ebb9@byu.net>
23389
23390 Avoid gcc warnings on cygwin
23391 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
23392 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
23393 Avoid unused variable.
23394
bad7a0c8
FW
233952017-12-22 Florian Weimer <fweimer@redhat.com>
23396
23397 * io/Makefile (routines): Add copy_file_range.
23398 (tests): Add tst-copy_file_range.
23399 (tests-static, tests-internal): Add tst-copy_file_range-compat.
23400 * io/Versions (GLIBC_2.27): Export copy_file_range.
23401 * io/copy_file_range-compat.c: New file.
23402 * io/copy_file_range.c: Likewise.
23403 * io/tst-copy_file_range-compat.c: Likewise.
23404 * io/tst-copy_file_range.c: Likewise.
23405 * manual/llio.texi (Copying File Data): New section.
23406 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
23407 * support/Makefile (libsupport-routines): Add support-xfstat,
23408 xftruncate, xlseek.
23409 * support/support-xfstat.c: New file.
23410 * support/xftruncate.c: Likewise.
23411 * support/xlseek.c: Likewise.
23412 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
23413 * sysdeps/unix/sysv/linux/**.abilist: Update.
23414 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
23415
6cb86fd2
SN
234162017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
23417
23418 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23419 disable-multi-arch variant to aarch64-linux-gnu.
23420
41d11b15
JM
234212017-12-20 Joseph Myers <joseph@codesourcery.com>
23422
23423 * manual/texinfo.tex: Update to version 2017-12-18.20 with
23424 trailing whitespace removed.
23425 * scripts/config.guess: Update to version 2017-12-17.
23426 * scripts/config.sub: Update to version 2017-11-23.
23427 * scripts/install-sh: Update to version 2017-09-23.17.
23428 * scripts/move-if-change: Update to version 2017-09-13 06:45.
23429
4735850f
AZ
234302017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23431
8d2d239c
AZ
23432 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
23433 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
23434 * sysdeps/tile/_mcount.S (__mcount): Likewise.
23435 * sysdeps/tile/crti.S (_init, _fini): Likewise.
23436 * sysdeps/tile/crtn.S: Likewise.
23437 * sysdeps/tile/dl-start.S (_start): Likewise.
23438 * sysdeps/tile/dl-trampoline.S: Likewise.
23439 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
23440 * sysdeps/tile/start.S (_start): Likewise.
23441 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
23442 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
23443 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
23444 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
23445 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
23446 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
23447 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
23448
24d1d8ec
AZ
23449 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
23450 comment.
23451 * sysdeps/tile/preconfigure: Remove tilegx folder.
23452 * sysdeps/tile/tilegx/Implies: Move definitions to ...
23453 * sysdeps/tile/Implies: ... here.
23454 * sysdeps/tile/tilegx/Makefile: Move rules to ...
23455 * sysdeps/tile/Makefile: ... here.
23456 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
23457 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
23458 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
23459 * sysdeps/tile/bits/wordsize.h: ... here.
23460 * sysdeps/tile/tilegx/*: Move to ...
23461 * sysdeps/tile/*: ... here.
23462 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
23463 * sysdeps/tile/tilegx32/Implies: ... here.
23464 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
23465 * sysdeps/tile/tilegx64/Implies: ... here.
23466 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
23467 to ...
23468 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
23469 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
23470 * sysdeps/unix/sysv/linux/tile/*: ... here.
23471 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
23472 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
23473 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
23474 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
23475
ed95f611
AZ
23476 * README: Remove tilepro-*-linux-gnu from supported architecture.
23477 * scripts/build-many-glibcs.py: Likewise.
23478 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
23479 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
23480 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
23481 elf_machine_matches_host, elf_machine_dynamic,
23482 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
23483 howto, elf_machine_rela): Likewise.
23484 * sysdeps/tile/dl-start.S (_start): Likewise.
23485 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
23486 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
23487 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
23488 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
23489 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
23490 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
23491 Likewise.
23492 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
23493 * sysdeps/tile/preconfigure: Likewise.
23494 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
23495 POINTER_CHK_GUARD): Likewise.
23496 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
23497 * sysdeps/tile/start.S (_start): Likewise.
23498 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
23499 Likewise.
23500 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
23501 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
23502 CMOVNEZ): Remove.
23503 * sysdeps/unix/sysv/linux/tile/bits/environments.h
23504 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
23505 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
23506 Likewise.
23507 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
23508 * sysdeps/tile/tilepro/Implies: Remove file.
23509 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
23510 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
23511 * sysdeps/tile/tilepro/memchr.c: Likewise.
23512 * sysdeps/tile/tilepro/memcpy.S: Likewise.
23513 * sysdeps/tile/tilepro/memset.c: Likewise.
23514 * sysdeps/tile/tilepro/memusage.h: Likewise.
23515 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
23516 * sysdeps/tile/tilepro/strchr.c: Likewise.
23517 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
23518 * sysdeps/tile/tilepro/strlen.c: Likewise.
23519 * sysdeps/tile/tilepro/strrchr.c: Likewise.
23520 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
23521 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
23522 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
23523 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
23524 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
23525 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
23526 Likewise.
23527 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
23528 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23529 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
23530 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
23531 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23532 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
23533 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
23534 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
23535 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
23536 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
23537 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
23538 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
23539 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
23540 tilepro mention in comment.
23541
4735850f
AZ
23542 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
23543 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
23544 * nptl/pthread_join_common.c: New file: common function used on
23545 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
23546 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
23547 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
23548 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
23549 (cleanup): Move definition to pthread_join_common.c.
23550 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
23551 Remove superflous checks.
23552 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
23553 Likewise.
23554
8bfb461e
SN
235552017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
23556
23557 * sysdeps/aarch64/libm-test-ulps: Update.
23558
4e001969
AZ
235592017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23560
23561 * sysdeps/aarch64/memset.S (MEMSET): Define.
23562
8a26ad2a
FW
235632017-12-20 Florian Weimer <fweimer@redhat.com>
23564
23565 [BZ #22635]
23566 nptl: Provide full implementation of pthread_self in libc.so.
23567 * nptl/Makefile (routines): Add pthread_self.
23568 (libpthread-routines): Replace pthread_self with
23569 compat-pthread_self.
23570 * nptl/forward.c (pthread_self): Remove.
23571 * nptl/nptl-init.c (pthread_functions): Do not initialize
23572 ptr_pthread_self.
23573 * nptl/pthread_self.c (pthread_self): Remove weak alias.
23574 * nptl/compat-pthread_self.c: New file.
23575 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
23576 Remove ptr_pthread_self.
23577
5069ff32
AR
235782017-12-19 Arnold D. Robbins <arnold@skeeve.com>
23579
23580 * posix/regcomp.c: Fix spelling in comments.
23581 * posix/regex.h: Likewise.
23582 * posix/regex_internal.c: Likewise.
23583 * posix/regexec.c: Likewise.
23584
c85e54ac
GG
235852017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23586
23587 [BZ #22377]
23588 * math/Makefile [C++] (tests): Add test for iseqsig.
23589 * math/math.h [C++] (iseqsig): New implementation, which does
23590 not rely on __MATH_TG/__builtin_types_compatible_p.
23591 * math/test-math-iseqsig.cc: New file.
23592 * sysdeps/powerpc/powerpc64le/Makefile
23593 (CFLAGS-test-math-iseqsig.cc): New variable.
23594
10e93d96
DL
235952017-12-19 Dmitry V. Levin <ldv@altlinux.org>
23596
23597 * elf/dl-load.c (is_trusted_path): Remove.
23598 (fillin_rpath): Remove check_trusted argument and its use,
23599 all callers changed.
23600
ce16eb52
L
236012017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23602
23603 [BZ #22630]
23604 * Makeconfig (link-pie-before-libc): Replace -pie with
23605 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
23606 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
23607 (tst-dlopen-aout-no-pie): New.
23608 (LDFLAGS-tst-prelink): Removed.
23609 (tst-prelink-no-pie): New.
23610 (LDFLAGS-tst-main1): Removed.
23611 (tst-main1-no-pie): New.
23612 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
23613 (tst-gmon-no-pie): New.
23614
126adc89
L
236152017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23616
23617 * manual/install.texi: Document that --enable-static-pie
23618 implies PIE.
23619 * INSTALL: Regenerated.
23620
648615e1
BE
236212017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
23622
23623 [BZ #21309]
23624 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
23625 unsigned.
23626
f1e00502
JM
236272017-12-19 Joseph Myers <joseph@codesourcery.com>
23628
23629 Revert:
23630
23631 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23632
23633 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23634
23635 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23636
23637 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
23638 <errno.h>. Include "eexp.tbl".
23639 (half): New constant.
23640 (one): Likewise.
23641 (__ieee754_exp): Rewrite.
23642 (__slowexp): Remove prototype.
23643 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
23644 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
23645 * sysdeps/i386/fpu/slowexp.c: Likewise.
23646 * sysdeps/ia64/fpu/slowexp.c: Likewise.
23647 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
23648 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
23649 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
23650 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23651 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
23652 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
23653 comment.
23654 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
23655 (CPPFLAGS-slowexp.c): Remove variable.
23656 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23657 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
23658 (CFLAGS-slowexp-fma.c): Remove variable.
23659 (CFLAGS-slowexp-fma4.c): Likewise.
23660 (CFLAGS-slowexp-avx.c): Likewise.
23661 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
23662 define as macro.
23663 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
23664 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
23665 * math/Makefile (type-double-routines): Remove slowexp.
23666 * manual/probes.texi (slowexp_p6): Remove.
23667 (slowexp_p32): Likewise.
23668
d711a00f
AZ
236692017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23670
e184ac3a
AZ
23671 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
23672 arithmetic.
23673
d711a00f
AZ
23674 * lib/glob.c (glob): Do not pass NULL to mempcpy.
23675
6f58c10d
JM
236762017-12-19 Joseph Myers <joseph@codesourcery.com>
23677
23678 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23679
6fd0a3c6
PM
236802017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23681
23682 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
23683 <errno.h>. Include "eexp.tbl".
23684 (half): New constant.
23685 (one): Likewise.
23686 (__ieee754_exp): Rewrite.
23687 (__slowexp): Remove prototype.
23688 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
23689 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
23690 * sysdeps/i386/fpu/slowexp.c: Likewise.
23691 * sysdeps/ia64/fpu/slowexp.c: Likewise.
23692 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
23693 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
23694 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
23695 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23696 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
23697 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
23698 comment.
23699 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
23700 (CPPFLAGS-slowexp.c): Remove variable.
23701 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23702 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
23703 (CFLAGS-slowexp-fma.c): Remove variable.
23704 (CFLAGS-slowexp-fma4.c): Likewise.
23705 (CFLAGS-slowexp-avx.c): Likewise.
23706 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
23707 define as macro.
23708 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
23709 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
23710 * math/Makefile (type-double-routines): Remove slowexp.
23711 * manual/probes.texi (slowexp_p6): Remove.
23712 (slowexp_p32): Likewise.
23713
3bb1ef58 237142017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6b5c8607 23715 James Clarke <jrtc27@jrtc27.com>
3bb1ef58
AZ
23716
23717 [BZ #22603]
23718 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
23719 addition.
23720
554e3d51
AZ
237212017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23722
23723 [BZ #22605]
23724 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
23725 code.
23726
cba595c3
L
237272017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23728
23729 [BZ #22563]
23730 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
23731 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
23732 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
23733 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
23734 to feature_1.
23735
f81ddabf
L
237362017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23737
23738 [BZ #22563]
23739 * bits/types/__cancel_jmp_buf_tag.h: New file.
23740 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
23741 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
23742 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
23743 * nptl/Makefile (headers): Add
23744 bits/types/__cancel_jmp_buf_tag.h.
23745 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
23746 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
23747 * sysdeps/nptl/pthread.h: Include
23748 <bits/types/__cancel_jmp_buf_tag.h>.
23749 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
23750 __cancel_jmp_buf.
23751 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
23752
1a49fc59
L
237532017-12-18 H.J. Lu <hongjiu.lu@intel.com>
23754
23755 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23756 --enable-static-pie variants to x86_64, x32 and i686.
23757
8e52f573
JM
237582017-12-19 Joseph Myers <joseph@codesourcery.com>
23759
66425185
JM
23760 [BZ #22631]
23761 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
23762 argument for attrubutes. All callers changed.
23763 (__inline_mathop1): Likewise. All callers changed.
23764 (__inline_mathop): Likewise. All callers changed.
23765 [__USE_MISC] (scalbn): Use __inline_forward instead of
23766 __inline_forward_c.
23767 [__USE_ISOC99] (scalbln): Likewise.
23768 [__USE_ISOC99] (nearbyint): Likewise.
23769 [__USE_ISOC99] (lrint): Likewise.
23770 [__USE_MISC] (scalbnf): Likewise.
23771 [__USE_ISOC99] (scalblnf): Likewise.
23772 [__USE_ISOC99] (nearbyintf): Likewise.
23773 [__USE_ISOC99] (lrintf): Likewise.
23774 [__USE_MISC] (scalbnl): Likewise.
23775 [__USE_ISOC99] (scalblnl): Likewise.
23776 [__USE_ISOC99] (nearbyintl): Likewise.
23777 [__USE_ISOC99] (lrintl): Likewise.
23778 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
23779 __inline_mathop and __m81_defun changed.
23780
8e52f573
JM
23781 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
23782 CPU or FPU for ARM hard-float configurations.
23783
1421f39b
JM
237842017-12-18 Joseph Myers <joseph@codesourcery.com>
23785
40c4162d
JM
23786 * nptl/tst-attr3.c: Include <libc-diag.h>.
23787 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
23788
5983df32
JM
23789 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
23790
1421f39b
JM
23791 * string/tester.c (test_strncat): Also disable -Warray-bounds
23792 warnings for two tests.
23793
00c714df
L
237942017-12-18 H.J. Lu <hongjiu.lu@intel.com>
23795
23796 [BZ #22614]
23797 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
23798 $(cc-pie-default) == yes.
23799 * config.make.in (cc-pie-default): New.
23800 * configure.ac (libc_cv_pie_default): Renamed to ...
23801 (libc_cv_cc_pie_default): This.
23802 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
23803 * configure: Regenerated.
23804
8e1472d2
FW
238052017-12-18 Florian Weimer <fweimer@redhat.com>
23806
23807 [BZ #20204]
23808 ld.so: Harden dl-libc/libdl hooks.
23809 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
23810 (rtld_active): New function.
23811 * dlfcn/dladdr.c (__dladdr): Call it.
23812 * dlfcn/dladdr1.c (__dladdr1): Likewise.
23813 * dlfcn/dlclose.c (__dlcose): Likewise.
23814 * dlfcn/dlerror.c (__dlerror): Likewise.
23815 * dlfcn/dlinfo.c (__dlinfo): Likewise.
23816 * dlfcn/dlmopen.c (__dlmopen): Likewise.
23817 * dlfcn/dlopen.c (__dlopen): Likewise.
23818 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
23819 * dlfcn/dlsym.c (__dlsym): Likewise.
23820 * dlfcn/dlvsym.c (__dlvsym): Likewise.
23821 * libio/vtables.c (_IO_vtable_check): Likewise.
23822 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
23823 (__libc_dlclose): Likewise.
23824 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
23825 assignment.
23826
49b036bc
JM
238272017-12-18 Joseph Myers <joseph@codesourcery.com>
23828
23829 [BZ #22446]
23830 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
23831 buffers for readlink input and output.
23832
368b6c8d
ST
238332017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
23834
c85c564d
ST
23835 [BZ #22624]
23836 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
23837 inhibit_stack_protector.
23838
368b6c8d
ST
23839 [BZ #22624]
23840 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
23841 inhibit_stack_protector.
23842
bb195224
DL
238432017-12-18 Dmitry V. Levin <ldv@altlinux.org>
23844
23845 [BZ #22627]
23846 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
23847 code and invocation.
23848
14d886ed
SN
238492017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
23850
23851 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
23852
7d38eb38
AJ
238532017-12-16 Aurelien Jarno <aurelien@aurel32.net>
23854
23855 [BZ #22505]
23856 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
23857
2e77deef
RS
238582017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23859
23860 * sysdeps/s390/fpu/libm-test-ulps: Update.
23861
0b9bef6d
RS
238622017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23863
23864 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23865
984ae996
RS
238662017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23867
23868 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
23869 constants to s_sincosf.h file.
23870 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23871 * sysdeps/ieee754/flt-32/s_sincosf.c: New
23872 implementation.
23873 * sysdeps/ieee754/flt-32/s_sincosf.h:
23874 New file.
23875
363e4519 238762017-12-12 Carlos O'Donell <carlos@redhat.com>
93930ea9
CD
23877
23878 [BZ #14681]
23879 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
23880 before mtrace.
23881
9d7a3741
L
238822017-12-15 H.J. Lu <hongjiu.lu@intel.com>
23883
23884 [BZ #19574]
23885 * INSTALL: Regenerated.
23886 * Makeconfig (real-static-start-installed-name): New.
23887 (pic-default): Updated for --enable-static-pie.
23888 (pie-default): New for --enable-static-pie.
23889 (default-pie-ldflag): Likewise.
23890 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
23891 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
23892 Replace $(static-start-installed-name) with
23893 $(real-static-start-installed-name).
23894 (+prectorT): Updated for --enable-static-pie.
23895 (+postctorT): Likewise.
23896 (CFLAGS-.o): Add $(pie-default).
23897 (CFLAGS-.op): Likewise.
23898 * NEWS: Mention --enable-static-pie.
23899 * config.h.in (ENABLE_STATIC_PIE): New.
23900 * configure.ac (--enable-static-pie): New configure option.
23901 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
23902 (have-static-pie): Likewise.
23903 Enable static PIE if linker supports --no-dynamic-linker.
23904 (ENABLE_STATIC_PIE): New AC_DEFINE.
23905 (enable-static-pie): New LIBC_CONFIG_VAR.
23906 * configure: Regenerated.
23907 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
23908 gr$(start-installed-name) for --enable-static-pie.
23909 (extra-objs): Likewise.
23910 (install-lib): Likewise.
23911 (extra-objs): Add static-reloc.o and static-reloc.os
23912 ($(objpfx)$(start-installed-name)): Also depend on
23913 $(objpfx)static-reloc.o.
23914 ($(objpfx)r$(start-installed-name)): New.
23915 ($(objpfx)g$(start-installed-name)): Also depend on
23916 $(objpfx)static-reloc.os.
23917 ($(objpfx)gr$(start-installed-name)): New.
23918 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
23919 in libc.a.
23920 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
23921 initimage.
23922 * csu/static-reloc.c: New file.
23923 * elf/Makefile (routines): Add dl-reloc-static-pie.
23924 (elide-routines.os): Likewise.
23925 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
23926 (tst-tls1-static-non-pie-no-pie): New.
23927 * elf/dl-reloc-static-pie.c: New file.
23928 * elf/dl-support.c (_dl_get_dl_main_map): New function.
23929 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
23930 STATIC_PIE_BOOTSTRAP.
23931 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
23932 * gmon/Makefile (tests): Add tst-gmon-static-pie.
23933 (tests-static): Likewise.
23934 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
23935 (tst-gmon-static-no-pie): New.
23936 (CFLAGS-tst-gmon-static-pie.c): Likewise.
23937 (CRT-tst-gmon-static-pie): Likewise.
23938 (tst-gmon-static-pie-ENV): Likewise.
23939 (tests-special): Likewise.
23940 ($(objpfx)tst-gmon-static-pie.out): Likewise.
23941 (clean-tst-gmon-static-pie-data): Likewise.
23942 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
23943 * gmon/tst-gmon-static-pie.c: New file.
23944 * manual/install.texi: Document --enable-static-pie.
23945 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
23946 (_dl_get_dl_main_map): Likewise.
23947 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
23948 * sysdeps/x86_64/configure.ac: Likewise.
23949 * sysdeps/i386/configure: Regenerated.
23950 * sysdeps/x86_64/configure: Likewise.
23951 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
23952 (ASFLAGS-.op): Likewise.
23953
95511aab
JM
239542017-12-15 Joseph Myers <joseph@codesourcery.com>
23955
23956 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
23957 * posix/tst-mmap-offset.c (fname): Use /tmp.
23958 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
23959
a7e3edf4
SE
239602017-12-15 Steve Ellcey <sellcey@cavium.com>
23961
23962 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
23963
d232f2e1
TS
239642017-12-15 Thomas Schwinge <thomas@codesourcery.com>
23965
23966 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
23967 errno.
23968
174edbde
JM
239692017-12-15 Joseph Myers <joseph@codesourcery.com>
23970
5170fa49
JM
23971 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
23972 --with-float=hard for arm-linux-gnueabihf configurations.
23973
f2da2fd8
JM
23974 [BZ #14121]
23975 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
23976 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
23977 ($(mo-installed)): Use $(objpfx)%.mo.
23978 (realclean): Remove rule.
23979
0c4fe28d
JM
23980 * po/Makefile (linguas): Remove rule and dependencies.
23981 (linguas.mo): Likewise.
23982 (.PHONY): Do not depend on linguas and linguas.mo.
23983 (podir): Remove variable.
23984 (pofiles): Likewise.
23985 [$(pofiles)] (%.po): Remove rule.
23986
174edbde
JM
23987 * sysdeps/sparc/sparc32/Makefile
23988 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
23989 start-of-line whitespace in argument of echo.
23990 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
23991 with whitespace. Generate __wrap_.udiv alias.
23992 * sysdeps/sparc/sparc32/rem.S: Regenerated.
23993 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
23994 * sysdeps/sparc/sparc32/udiv.S: Likewise.
23995 * sysdeps/sparc/sparc32/urem.S: Likewise.
23996
1e36806f
RS
239972017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23998
23999 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
24000 for aligned inputs.
24001
aa6932aa
SP
240022017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
24003
5f1603c3
SP
24004 * benchtests/bench-strcmp.c: Print output in JSON format.
24005
aa6932aa
SP
24006 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
24007
3ff3dfa5
FW
240082017-12-14 Florian Weimer <fweimer@redhat.com>
24009
24010 [BZ #22607]
24011 CVE-2017-1000409
24012 * elf/dl-load.c (_dl_init_paths): Compute number of components in
24013 the expanded path string.
24014
8a0b17e4
FW
240152017-12-14 Florian Weimer <fweimer@redhat.com>
24016
24017 [BZ #22606]
24018 CVE-2017-1000408
24019 * elf/dl-load.c (system_dirs): Update comment.
24020 (nsystem_dirs_len): Use array_length.
24021 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
24022
f58bd7f0
FW
240232017-12-14 Florian Weimer <fweimer@redhat.com>
24024
24025 Simplify compiling most of support/ outside of glibc.
24026 * support/check_addrinfo.c: Include <string.h>.
24027 * support/check_dns_packet.c: Likewise.
24028 * support/check_hostent.c: Likewise.
24029 * support/support_can_chroot.c: Include <support/xunistd.h>.
24030 * support/support_format_addrinfo.c: Include <stdlib.h>
24031 * support/support_format_dns_packet.c: Include <stdbool.h>.
24032 * support/support_format_hostent.c: Include <stdlib.h>.
24033 * support/support_format_netent.c: Likewise.
24034 * support/support_write_string.c: Include <support/xunistd.h>.
24035 * support/xdlfcn.c: Include <stddef.h>.
24036
4ca945e9
L
240372017-12-14 H.J. Lu <hongjiu.lu@intel.com>
24038
24039 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
24040
1b6e07f8
PM
240412017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
24042 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24043
e6a1c5dc
PM
24044 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24045 (sysdeps_routines): Add memset-niagara7.
24046 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
24047 Likewise.
24048 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
24049 file.
24050 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
24051 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
24052 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
24053 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
24054 Add niagara7 option.
24055 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
24056 memset.
24057
1b6e07f8
PM
24058 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24059 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
24060 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
24061 Likewise.
24062 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
24063 New file.
24064 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
24065 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
24066 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
24067 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
24068 and __memmove_niagara7.
24069 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
24070 Add niagara7 option.
24071 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
24072 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
24073 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
24074 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
24075 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
24076
bfb7bf22
JM
240772017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
24078
767a26d6
JM
24079 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
24080 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
24081 * sysdeps/sparc/sparc64/memmove.S: Likewise.
24082 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
24083
bfb7bf22
JM
24084 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
24085 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
24086 _dl_sparc_cap_flags array.
24087 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
24088
2bce01eb
SP
240892017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
24090
24091 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
24092 time whenever possible.
24093
363e4519 240942017-12-12 Carlos O'Donell <carlos@redhat.com>
243b6333
CD
24095
24096 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
24097 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
24098
6f7c0092
JM
240992017-12-12 Joseph Myers <joseph@codesourcery.com>
24100
24101 * soft-fp/fmadf4.c: Move to ....
24102 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
24103 * soft-fp/fmasf4.c: Move to ....
24104 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
24105 * soft-fp/fmatf4.c: Move to ....
24106 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
24107 * sysdeps/ieee754/soft-fp/Makefile: New file.
24108 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
24109 * sysdeps/arm/preconfigure: Regenerated.
24110 * sysdeps/arm/nofpu/Implies: New file.
24111 * sysdeps/arm/s_fma.c: Remove file.
24112 * sysdeps/arm/s_fmaf.c: Likewise.
24113 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
24114 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
24115 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
24116 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
24117 * sysdeps/microblaze/s_fma.c: Remove file.
24118 * sysdeps/microblaze/s_fmaf.c: Likewise.
24119 * sysdeps/mips/mips32/nofpu/Implies: New file.
24120 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
24121 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
24122 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
24123 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
24124 * sysdeps/mips/ieee754/s_fma.c: Remove file.
24125 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
24126 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
24127 implementation.
24128 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
24129 * sysdeps/nios2/s_fma.c: Remove file.
24130 * sysdeps/nios2/s_fmaf.c: Likewise.
24131 * sysdeps/sh/nofpu/Implies: New file.
24132 * sysdeps/sh/s_fma.c: Remove file.
24133 * sysdeps/sh/s_fmaf.c: Likewise.
24134 * sysdeps/tile/Implies: Add ieee754/soft-fp.
24135 * sysdeps/tile/s_fma.c: Remove file.
24136 * sysdeps/tile/s_fmaf.c: Likewise.
24137
ac817e08
L
241382017-12-12 H.J. Lu <hongjiu.lu@intel.com>
24139
24140 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24141 Add s_cosf-sse2 and s_cosf-fma.
24142 (CFLAGS-s_cosf-fma.c): New.
24143 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
24144 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
24145 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
24146
eb428576
SE
241472017-12-12 Steve Ellcey <sellcey@cavium.com>
24148
24149 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
24150
c80acdc3
AZ
241512017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24152
cc683f7e
AZ
24153 * libio/Makefile (tests): Add tst-bz22415.
24154 (tst-bz22415-ENV): New rule.
24155 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
24156 (tests-special): Add tst-bz22415-mem.out.
24157 ($(objpfx)tst-bz22415-mem.out): New rule.
24158 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
24159 in case of a successful seek operation.
24160 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24161 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
24162 buffer is required.
24163 * libio/tst-bz22415.c: New test.
24164
c80acdc3
AZ
24165 * sysdeps/ia64/fpu/libm-test-ulps: Update.
24166
363e4519 241672017-12-12 James Clarke <jrtc27@jrtc27.com>
89bd8016
JC
24168
24169 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
24170 __IPC_64 to 0 to avoid IPC_64 being set.
24171
4e0dca54
SN
241722017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
24173
24174 [BZ #22593]
24175 * math/bits/mathcalls.h (nextafter): Remove const.
24176 (nexttoward): Likewise.
24177
8df5d347
JM
241782017-12-12 Joseph Myers <joseph@codesourcery.com>
24179
24180 * configure.ac (--with-fp): Remove configure option.
24181 (with_fp_cond): New variable.
24182 (libc_cv_with_fp): New configure test. Use this variable instead
24183 of with_fp.
24184 * configure: Regenerated.
24185 * config.make.in (with-fp): Use @libc_cv_with_fp@.
24186 * manual/install.texi (Configuring and compiling): Remove
24187 --without-fp.
24188 * INSTALL: Regenerated.
24189 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
24190 * sysdeps/mips/preconfigure (with_fp_cond): Define.
24191 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
24192 * sysdeps/sh/preconfigure (with_fp_cond): Define.
24193 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
24194 use --without-fp to configure glibc.
24195
0cee1257
RJ
241962017-12-12 Rical Jasan <ricaljasan@pacific.net>
24197
24198 * manual/locale.texi (nl_langinfo): Fix a typo.
24199
363e4519 242002017-12-12 Aurelien Jarno <aurelien@aurel32.net>
f54ad2f9
AJ
24201
24202 [BZ #22588]
24203 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
24204
36975e8e
L
242052017-12-11 H.J. Lu <hongjiu.lu@intel.com>
24206
24207 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
24208 (CFLAGS-argp-parse.c): Likewise.
24209 (CFLAGS-argp-fmtstream.c): Likewise.
24210 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
24211 (CPPFLAGS-sha512-crypt.c): Likewise.
24212 (CPPFLAGS-md5-crypt.c): Likewise.
24213 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
24214 (CFLAGS-stack_chk_fail_local.c): Likewise.
24215 (CFLAGS-backtrace.c): Likewise.
24216 (CFLAGS-sprintf_chk.c): Likewise.
24217 (CFLAGS-snprintf_chk.c): Likewise.
24218 (CFLAGS-vsprintf_chk.c): Likewise.
24219 (CFLAGS-vsnprintf_chk.c): Likewise.
24220 (CFLAGS-asprintf_chk.c): Likewise.
24221 (CFLAGS-vasprintf_chk.c): Likewise.
24222 (CFLAGS-obprintf_chk.c): Likewise.
24223 (CFLAGS-dprintf_chk.c): Likewise.
24224 (CFLAGS-vdprintf_chk.c): Likewise.
24225 (CFLAGS-printf_chk.c): Likewise.
24226 (CFLAGS-fprintf_chk.c): Likewise.
24227 (CFLAGS-vprintf_chk.c): Likewise.
24228 (CFLAGS-vfprintf_chk.c): Likewise.
24229 (CFLAGS-gets_chk.c): Likewise.
24230 (CFLAGS-fgets_chk.c): Likewise.
24231 (CFLAGS-fgets_u_chk.c): Likewise.
24232 (CFLAGS-fread_chk.c): Likewise.
24233 (CFLAGS-fread_u_chk.c): Likewise.
24234 (CFLAGS-swprintf_chk.c): Likewise.
24235 (CFLAGS-vswprintf_chk.c): Likewise.
24236 (CFLAGS-wprintf_chk.c): Likewise.
24237 (CFLAGS-fwprintf_chk.c): Likewise.
24238 (CFLAGS-vwprintf_chk.c): Likewise.
24239 (CFLAGS-vfwprintf_chk.c): Likewise.
24240 (CFLAGS-fgetws_chk.c): Likewise.
24241 (CFLAGS-fgetws_u_chk.c): Likewise.
24242 (CFLAGS-read_chk.c): Likewise.
24243 (CFLAGS-pread_chk.c): Likewise.
24244 (CFLAGS-pread64_chk.c): Likewise.
24245 (CFLAGS-recv_chk.c): Likewise.
24246 (CFLAGS-recvfrom_chk.c): Likewise.
24247 (CFLAGS-tst-longjmp_chk.c): Likewise.
24248 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
24249 (CFLAGS-tst-longjmp_chk2.c): Likewise.
24250 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
24251 (CFLAGS-tst-longjmp_chk3.c): Likewise.
24252 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
24253 (CFLAGS-tst-chk1.c): Likewise.
24254 (CFLAGS-tst-chk2.c): Likewise.
24255 (CFLAGS-tst-chk3.c): Likewise.
24256 (CFLAGS-tst-chk4.cc): Likewise.
24257 (CFLAGS-tst-chk5.cc): Likewise.
24258 (CFLAGS-tst-chk6.cc): Likewise.
24259 (CFLAGS-tst-lfschk1.c): Likewise.
24260 (CFLAGS-tst-lfschk2.c): Likewise.
24261 (CFLAGS-tst-lfschk3.c): Likewise.
24262 (CFLAGS-tst-lfschk4.cc): Likewise.
24263 (CFLAGS-tst-lfschk5.cc): Likewise.
24264 (CFLAGS-tst-lfschk6.cc): Likewise.
24265 (CFLAGS-tst-ssp-1.c): Likewise.
24266 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
24267 (CFLAGS-scandir64.c): Likewise.
24268 (CFLAGS-scandir-tail.c): Likewise.
24269 (CFLAGS-scandir64-tail.c): Likewise.
24270 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
24271 (CFLAGS-dl-tunables.c): Likewise.
24272 (CFLAGS-dl-runtime.c): Likewise.
24273 (CFLAGS-dl-lookup.c): Likewise.
24274 (CFLAGS-dl-iterate-phdr.c): Likewise.
24275 (CFLAGS-vismain.c): Likewise.
24276 (CFLAGS-tst-linkall-static.c): Likewise.
24277 (CFLAGS-tst-linkall-static.c): Likewise.
24278 (CPPFLAGS-dl-load.c): Likewise.
24279 (CFLAGS-ldconfig.c): Likewise.
24280 (CFLAGS-dl-cache.c): Likewise.
24281 (CFLAGS-cache.c): Likewise.
24282 (CFLAGS-rtld.c): Likewise.
24283 (CFLAGS-multiload.c): Likewise.
24284 (CFLAGS-filtmod1.c): Likewise.
24285 (CFLAGS-tst-align.c): Likewise.
24286 (CFLAGS-tst-align2.c): Likewise.
24287 (CFLAGS-tst-alignmod.c): Likewise.
24288 (CFLAGS-tst-alignmod2.c): Likewise.
24289 (CPPFLAGS-tst-execstack.c): Likewise.
24290 (CFLAGS-tst-ptrguard1-static.c): Likewise.
24291 (CFLAGS-tst-latepthreadmod.c): Likewise.
24292 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
24293 (CFLAGS-getgrnam_r.c): Likewise.
24294 (CFLAGS-getgrent_r.c): Likewise.
24295 (CFLAGS-getgrent.c): Likewise.
24296 (CFLAGS-fgetgrent.c): Likewise.
24297 (CFLAGS-fgetgrent_r.c): Likewise.
24298 (CFLAGS-putgrent.c): Likewise.
24299 (CFLAGS-initgroups.c): Likewise.
24300 (CFLAGS-getgrgid.c): Likewise.
24301 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
24302 (CFLAGS-getsgent.c): Likewise.
24303 (CFLAGS-fgetsgent.c): Likewise.
24304 (CFLAGS-fgetsgent_r.c): Likewise.
24305 (CFLAGS-putsgent.c): Likewise.
24306 (CFLAGS-getsgnam.c): Likewise.
24307 (CFLAGS-getsgnam_r.c): Likewise.
24308 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
24309 (CFLAGS-iconv_charmap.c): Likewise.
24310 (CFLAGS-dummy-repertoire.c): Likewise.
24311 (CFLAGS-charmap.c): Likewise.
24312 (CFLAGS-linereader.c): Likewise.
24313 (CFLAGS-simple-hash.c): Likewise.
24314 (CFLAGS-gconv_conf.c): Likewise.
24315 (CFLAGS-iconvconfig.c): Likewise.
24316 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24317 (CFLAGS-gethstbyad.c): Likewise.
24318 (CFLAGS-gethstbynm_r.c): Likewise.
24319 (CFLAGS-gethstbynm.c): Likewise.
24320 (CFLAGS-gethstbynm2_r.c): Likewise.
24321 (CFLAGS-gethstbynm2.c): Likewise.
24322 (CFLAGS-gethstent_r.c): Likewise.
24323 (CFLAGS-gethstent.c): Likewise.
24324 (CFLAGS-rcmd.c): Likewise.
24325 (CFLAGS-getnetbynm_r.c): Likewise.
24326 (CFLAGS-getnetbynm.c): Likewise.
24327 (CFLAGS-getnetbyad_r.c): Likewise.
24328 (CFLAGS-getnetbyad.c): Likewise.
24329 (CFLAGS-getnetent_r.c): Likewise.
24330 (CFLAGS-getnetent.c): Likewise.
24331 (CFLAGS-getaliasent_r.c): Likewise.
24332 (CFLAGS-getaliasent.c): Likewise.
24333 (CFLAGS-getrpcent_r.c): Likewise.
24334 (CFLAGS-getrpcent.c): Likewise.
24335 (CFLAGS-getservent_r.c): Likewise.
24336 (CFLAGS-getservent.c): Likewise.
24337 (CFLAGS-getprtent_r.c): Likewise.
24338 (CFLAGS-getprtent.c): Likewise.
24339 (CFLAGS-either_ntoh.c): Likewise.
24340 (CFLAGS-either_hton.c): Likewise.
24341 (CFLAGS-getnetgrent.c): Likewise.
24342 (CFLAGS-getnetgrent_r.c): Likewise.
24343 (CFLAGS-tst-checks-posix.c): Likewise.
24344 (CFLAGS-tst-sockaddr.c): Likewise.
24345 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
24346 (CFLAGS-tst-translit.c): Likewise.
24347 (CFLAGS-tst-gettext2.c): Likewise.
24348 (CFLAGS-tst-codeset.c): Likewise.
24349 (CFLAGS-tst-gettext3.c): Likewise.
24350 (CFLAGS-tst-gettext4.c): Likewise.
24351 (CFLAGS-tst-gettext5.c): Likewise.
24352 (CFLAGS-tst-gettext6.c): Likewise.
24353 * io/Makefile (CFLAGS-open.c): Likewise.
24354 (CFLAGS-open64.c): Likewise.
24355 (CFLAGS-creat.c): Likewise.
24356 (CFLAGS-creat64.c): Likewise.
24357 (CFLAGS-fcntl.c): Likewise.
24358 (CFLAGS-poll.c): Likewise.
24359 (CFLAGS-ppoll.c): Likewise.
24360 (CFLAGS-lockf.c): Likewise.
24361 (CFLAGS-statfs.c): Likewise.
24362 (CFLAGS-fstatfs.c): Likewise.
24363 (CFLAGS-statvfs.c): Likewise.
24364 (CFLAGS-fstatvfs.c): Likewise.
24365 (CFLAGS-fts.c): Likewise.
24366 (CFLAGS-fts64.c): Likewise.
24367 (CFLAGS-ftw.c): Likewise.
24368 (CFLAGS-ftw64.c): Likewise.
24369 (CFLAGS-lockf.c): Likewise.
24370 (CFLAGS-posix_fallocate.c): Likewise.
24371 (CFLAGS-posix_fallocate64.c): Likewise.
24372 (CFLAGS-fallocate.c): Likewise.
24373 (CFLAGS-fallocate64.c): Likewise.
24374 (CFLAGS-read.c): Likewise.
24375 (CFLAGS-write.c): Likewise.
24376 (CFLAGS-test-stat.c): Likewise.
24377 (CFLAGS-test-lfs.c): Likewise.
24378 * libio/Makefile (CFLAGS-fileops.c): Likewise.
24379 (CFLAGS-fputc.c): Likewise.
24380 (CFLAGS-fputwc.c): Likewise.
24381 (CFLAGS-freopen64.c): Likewise.
24382 (CFLAGS-freopen.c): Likewise.
24383 (CFLAGS-fseek.c): Likewise.
24384 (CFLAGS-fseeko64.c): Likewise.
24385 (CFLAGS-fseeko.c): Likewise.
24386 (CFLAGS-ftello64.c): Likewise.
24387 (CFLAGS-ftello.c): Likewise.
24388 (CFLAGS-fwide.c): Likewise.
24389 (CFLAGS-genops.c): Likewise.
24390 (CFLAGS-getc.c): Likewise.
24391 (CFLAGS-getchar.c): Likewise.
24392 (CFLAGS-getwc.c): Likewise.
24393 (CFLAGS-getwchar.c): Likewise.
24394 (CFLAGS-iofclose.c): Likewise.
24395 (CFLAGS-iofflush.c): Likewise.
24396 (CFLAGS-iofgetpos64.c): Likewise.
24397 (CFLAGS-iofgetpos.c): Likewise.
24398 (CFLAGS-iofgets.c): Likewise.
24399 (CFLAGS-iofgetws.c): Likewise.
24400 (CFLAGS-iofputs.c): Likewise.
24401 (CFLAGS-iofputws.c): Likewise.
24402 (CFLAGS-iofread.c): Likewise.
24403 (CFLAGS-iofsetpos64.c): Likewise.
24404 (CFLAGS-iofsetpos.c): Likewise.
24405 (CFLAGS-ioftell.c): Likewise.
24406 (CFLAGS-iofwrite.c): Likewise.
24407 (CFLAGS-iogetdelim.c): Likewise.
24408 (CFLAGS-iogetline.c): Likewise.
24409 (CFLAGS-iogets.c): Likewise.
24410 (CFLAGS-iogetwline.c): Likewise.
24411 (CFLAGS-ioputs.c): Likewise.
24412 (CFLAGS-ioseekoff.c): Likewise.
24413 (CFLAGS-ioseekpos.c): Likewise.
24414 (CFLAGS-iosetbuffer.c): Likewise.
24415 (CFLAGS-iosetvbuf.c): Likewise.
24416 (CFLAGS-ioungetc.c): Likewise.
24417 (CFLAGS-ioungetwc.c): Likewise.
24418 (CFLAGS-oldfileops.c): Likewise.
24419 (CFLAGS-oldiofclose.c): Likewise.
24420 (CFLAGS-oldiofgetpos64.c): Likewise.
24421 (CFLAGS-oldiofgetpos.c): Likewise.
24422 (CFLAGS-oldiofsetpos64.c): Likewise.
24423 (CFLAGS-oldiofsetpos.c): Likewise.
24424 (CFLAGS-peekc.c): Likewise.
24425 (CFLAGS-putc.c): Likewise.
24426 (CFLAGS-putchar.c): Likewise.
24427 (CFLAGS-putwc.c): Likewise.
24428 (CFLAGS-putwchar.c): Likewise.
24429 (CFLAGS-rewind.c): Likewise.
24430 (CFLAGS-wfileops.c): Likewise.
24431 (CFLAGS-wgenops.c): Likewise.
24432 (CFLAGS-oldiofopen.c): Likewise.
24433 (CFLAGS-iofopen.c): Likewise.
24434 (CFLAGS-iofopen64.c): Likewise.
24435 (CFLAGS-oldtmpfile.c): Likewise.
24436 (CFLAGS-tst_putwc.c): Likewise.
24437 * locale/Makefile (CFLAGS-md5.c): Likewise.
24438 (CFLAGS-charmap.c): Likewise.
24439 (CFLAGS-locfile.c): Likewise.
24440 (CFLAGS-charmap-dir.c): Likewise.
24441 * login/Makefile (CFLAGS-grantpt.c): Likewise.
24442 (CFLAGS-getpt.c): Likewise.
24443 (CFLAGS-pt_chown.c): Likewise.
24444 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
24445 (CFLAGS-obstack.c): Likewise.
24446 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
24447 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
24448 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
24449 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
24450 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
24451 (CFLAGS-test-tgmath.c): Likewise.
24452 (CFLAGS-test-tgmath2.c): Likewise.
24453 (CFLAGS-test-tgmath-ret.c): Likewise.
24454 (CFLAGS-test-powl.c): Likewise.
24455 (CFLAGS-test-snan.c): Likewise.
24456 (CFLAGS-test-signgam-finite.c): Likewise.
24457 (CFLAGS-test-signgam-finite-c99.c): Likewise.
24458 (CFLAGS-test-signgam-finite-c11.c): Likewise.
24459 (CFLAGS-test-signgam-uchar.c): Likewise.
24460 (CFLAGS-test-signgam-uchar-init.c): Likewise.
24461 (CFLAGS-test-signgam-uchar-static.c): Likewise.
24462 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
24463 (CFLAGS-test-signgam-uint.c): Likewise.
24464 (CFLAGS-test-signgam-uint-init.c): Likewise.
24465 (CFLAGS-test-signgam-uint-static.c): Likewise.
24466 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
24467 (CFLAGS-test-signgam-ullong.c): Likewise.
24468 (CFLAGS-test-signgam-ullong-init.c): Likewise.
24469 (CFLAGS-test-signgam-ullong-static.c): Likewise.
24470 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
24471 (CFLAGS-test-math-cxx11.cc): Likewise.
24472 (CFLAGS-test-math-isinff.cc): Likewise.
24473 (CFLAGS-test-math-iszero.cc): Likewise.
24474 (CFLAGS-test-math-issignaling.cc): Likewise.
24475 (CFLAGS-test-math-iscanonical.cc): Likewise.
24476 (CFLAGS-test-iszero-excess-precision.c): Likewise.
24477 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
24478 (CFLAGS-test-flt-eval-method.c): Likewise.
24479 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
24480 (CFLAGS-test-finite-macros.c): Likewise.
24481 * misc/Makefile (CFLAGS-select.c): Likewise.
24482 (CFLAGS-tsearch.c): Likewise.
24483 (CFLAGS-lsearch.c): Likewise.
24484 (CFLAGS-pselect.c): Likewise.
24485 (CFLAGS-readv.c): Likewise.
24486 (CFLAGS-writev.c): Likewise.
24487 (CFLAGS-preadv.c): Likewise.
24488 (CFLAGS-preadv64.c): Likewise.
24489 (CFLAGS-pwritev.c): Likewise.
24490 (CFLAGS-pwritev64.c): Likewise.
24491 (CFLAGS-preadv2.c): Likewise.
24492 (CFLAGS-preadv64v2.c): Likewise.
24493 (CFLAGS-pwritev2.c): Likewise.
24494 (CFLAGS-pwritev64v2.c): Likewise.
24495 (CFLAGS-usleep.c): Likewise.
24496 (CFLAGS-syslog.c): Likewise.
24497 (CFLAGS-error.c): Likewise.
24498 (CFLAGS-getpass.c): Likewise.
24499 (CFLAGS-mkstemp.c): Likewise.
24500 (CFLAGS-mkstemp64.c): Likewise.
24501 (CFLAGS-getsysstats.c): Likewise.
24502 (CFLAGS-getusershell.c): Likewise.
24503 (CFLAGS-err.c): Likewise.
24504 (CFLAGS-tst-tsearch.c): Likewise.
24505 (CFLAGS-msync.c): Likewise.
24506 (CFLAGS-fdatasync.c): Likewise.
24507 (CFLAGS-fsync.c): Likewise.
24508 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
24509 (CFLAGS-unwind.c): Likewise.
24510 (CFLAGS-unwind-forcedunwind.c): Likewise.
24511 (CFLAGS-pthread_cancel.c): Likewise.
24512 (CFLAGS-pthread_setcancelstate.c): Likewise.
24513 (CFLAGS-pthread_setcanceltype.c): Likewise.
24514 (CFLAGS-cancellation.c): Likewise.
24515 (CFLAGS-libc-cancellation.c): Likewise.
24516 (CFLAGS-pthread_exit.c): Likewise.
24517 (CFLAGS-forward.c): Likewise.
24518 (CFLAGS-pthread_testcancel.c): Likewise.
24519 (CFLAGS-pthread_join.c): Likewise.
24520 (CFLAGS-pthread_timedjoin.c): Likewise.
24521 (CFLAGS-pthread_once.c): Likewise.
24522 (CFLAGS-pthread_cond_wait.c): Likewise.
24523 (CFLAGS-sem_wait.c): Likewise.
24524 (CFLAGS-sem_timedwait.c): Likewise.
24525 (CFLAGS-fcntl.c): Likewise.
24526 (CFLAGS-lockf.c): Likewise.
24527 (CFLAGS-pread.c): Likewise.
24528 (CFLAGS-pread64.c): Likewise.
24529 (CFLAGS-pwrite.c): Likewise.
24530 (CFLAGS-pwrite64.c): Likewise.
24531 (CFLAGS-wait.c): Likewise.
24532 (CFLAGS-waitpid.c): Likewise.
24533 (CFLAGS-sigwait.c): Likewise.
24534 (CFLAGS-msgrcv.c): Likewise.
24535 (CFLAGS-msgsnd.c): Likewise.
24536 (CFLAGS-tcdrain.c): Likewise.
24537 (CFLAGS-open.c): Likewise.
24538 (CFLAGS-open64.c): Likewise.
24539 (CFLAGS-pause.c): Likewise.
24540 (CFLAGS-recv.c): Likewise.
24541 (CFLAGS-send.c): Likewise.
24542 (CFLAGS-accept.c): Likewise.
24543 (CFLAGS-sendto.c): Likewise.
24544 (CFLAGS-connect.c): Likewise.
24545 (CFLAGS-recvfrom.c): Likewise.
24546 (CFLAGS-recvmsg.c): Likewise.
24547 (CFLAGS-sendmsg.c): Likewise.
24548 (CFLAGS-close.c): Likewise.
24549 (CFLAGS-read.c): Likewise.
24550 (CFLAGS-write.c): Likewise.
24551 (CFLAGS-nanosleep.c): Likewise.
24552 (CFLAGS-sigsuspend.c): Likewise.
24553 (CFLAGS-msync.c): Likewise.
24554 (CFLAGS-fdatasync.c): Likewise.
24555 (CFLAGS-fsync.c): Likewise.
24556 (CFLAGS-pt-system.c): Likewise.
24557 (CFLAGS-tst-cleanup2.c): Likewise.
24558 (CFLAGS-tst-cleanupx2.c): Likewise.
24559 (CFLAGS-flockfile.c): Likewise.
24560 (CFLAGS-ftrylockfile.c): Likewise.
24561 (CFLAGS-funlockfile.c): Likewise.
24562 (CFLAGS-tst-initializers1.c): Likewise.
24563 (CFLAGS-tst-initializers1-c89.c): Likewise.
24564 (CFLAGS-tst-initializers1-c99.c): Likewise.
24565 (CFLAGS-tst-initializers1-c11.c): Likewise.
24566 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
24567 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
24568 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
24569 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
24570 (CFLAGS-nscd_getgr_r.c): Likewise.
24571 (CFLAGS-nscd_gethst_r.c): Likewise.
24572 (CFLAGS-nscd_getai.c): Likewise.
24573 (CFLAGS-nscd_initgroups.c): Likewise.
24574 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
24575 (CFLAGS-pause.c): Likewise.
24576 (CFLAGS-pread.c): Likewise.
24577 (CFLAGS-pread64.c): Likewise.
24578 (CFLAGS-pwrite.c): Likewise.
24579 (CFLAGS-pwrite64.c): Likewise.
24580 (CFLAGS-sleep.c): Likewise.
24581 (CFLAGS-wait.c): Likewise.
24582 (CFLAGS-waitid.c): Likewise.
24583 (CFLAGS-waitpid.c): Likewise.
24584 (CFLAGS-getopt.c): Likewise.
24585 (CFLAGS-wordexp.c): Likewise.
24586 (CFLAGS-sysconf.c): Likewise.
24587 (CFLAGS-pathconf.c): Likewise.
24588 (CFLAGS-fpathconf.c): Likewise.
24589 (CFLAGS-spawn.c): Likewise.
24590 (CFLAGS-spawnp.c): Likewise.
24591 (CFLAGS-spawni.c): Likewise.
24592 (CFLAGS-glob.c): Likewise.
24593 (CFLAGS-glob64.c): Likewise.
24594 (CFLAGS-getconf.c): Likewise.
24595 (CFLAGS-nanosleep.c): Likewise.
24596 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
24597 (CFLAGS-getpwent.c): Likewise.
24598 (CFLAGS-getpw.c): Likewise.
24599 (CFLAGS-fgetpwent_r.c): Likewise.
24600 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
24601 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
24602 (CFLAGS-mq_timedreceive.c): Likewise.
24603 (CFLAGS-mq_timedsend.c): Likewise.
24604 (CFLAGS-clock_nanosleep.c): Likewise.
24605 (CFLAGS-librt-cancellation.c): Likewise.
24606 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
24607 (CFLAGS-getspent.c): Likewise.
24608 (CFLAGS-fgetspent.c): Likewise.
24609 (CFLAGS-fgetspent_r.c): Likewise.
24610 (CFLAGS-putspent.c): Likewise.
24611 (CFLAGS-getspnam.c): Likewise.
24612 (CFLAGS-getspnam_r.c): Likewise.
24613 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
24614 (CFLAGS-sigsuspend.c): Likewise.
24615 (CFLAGS-sigtimedwait.c): Likewise.
24616 (CFLAGS-sigwait.c): Likewise.
24617 (CFLAGS-sigwaitinfo.c): Likewise.
24618 (CFLAGS-sigreturn.c): Likewise.
24619 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
24620 (CFLAGS-vfwprintf.c): Likewise.
24621 (CFLAGS-tmpfile.c): Likewise.
24622 (CFLAGS-tmpfile64.c): Likewise.
24623 (CFLAGS-tempname.c): Likewise.
24624 (CFLAGS-psignal.c): Likewise.
24625 (CFLAGS-vprintf.c): Likewise.
24626 (CFLAGS-cuserid.c): Likewise.
24627 (CFLAGS-errlist.c): Likewise.
24628 (CFLAGS-siglist.c): Likewise.
24629 (CFLAGS-scanf15.c): Likewise.
24630 (CFLAGS-scanf17.c): Likewise.
24631 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
24632 (CFLAGS-msort.c): Likewise.
24633 (CFLAGS-qsort.c): Likewise.
24634 (CFLAGS-system.c): Likewise.
24635 (CFLAGS-fmtmsg.c): Likewise.
24636 (CFLAGS-strfmon.c): Likewise.
24637 (CFLAGS-strfmon_l.c): Likewise.
24638 (CFLAGS-strfromd.c): Likewise.
24639 (CFLAGS-strfromf.c): Likewise.
24640 (CFLAGS-strfroml.c): Likewise.
24641 (CFLAGS-tst-bsearch.c): Likewise.
24642 (CFLAGS-tst-qsort.c): Likewise.
24643 (CFLAGS-tst-makecontext2.c): Likewise.
24644 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
24645 (CFLAGS-xnlm_prot.c): Likewise.
24646 (CFLAGS-xrstat.c): Likewise.
24647 (CFLAGS-xyppasswd.c): Likewise.
24648 (CFLAGS-xklm_prot.c): Likewise.
24649 (CFLAGS-xrex.c): Likewise.
24650 (CFLAGS-xsm_inter.c): Likewise.
24651 (CFLAGS-xmount.c): Likewise.
24652 (CFLAGS-xrusers.c): Likewise.
24653 (CFLAGS-xspray.c): Likewise.
24654 (CFLAGS-xnfs_prot.c): Likewise.
24655 (CFLAGS-xrquota.c): Likewise.
24656 (CFLAGS-xkey_prot.c): Likewise.
24657 (CFLAGS-auth_unix.c): Likewise.
24658 (CFLAGS-key_call.c): Likewise.
24659 (CFLAGS-pmap_rmt.c): Likewise.
24660 (CFLAGS-clnt_perr.c): Likewise.
24661 (CFLAGS-openchild.c): Likewise.
24662 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
24663 (CFLAGS-msgsnd.c): Likewise.
24664 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
24665 * time/Makefile (CFLAGS-tzfile.c): Likewise.
24666 (CFLAGS-tzset.c): Likewise.
24667 (CFLAGS-getdate.c): Likewise.
24668 (CFLAGS-test_time.c): Likewise.
24669 (CPPFLAGS-tst-tzname.c): Likewise.
24670 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
24671 (CFLAGS-zic.c): Likewise.
24672 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
24673 (CFLAGS-wcswidth.c): Likewise.
24674 (CFLAGS-wcstol.c): Likewise.
24675 (CFLAGS-wcstoul.c): Likewise.
24676 (CFLAGS-wcstoll.c): Likewise.
24677 (CFLAGS-wcstoull.c): Likewise.
24678 (CFLAGS-wcstod.c): Likewise.
24679 (CFLAGS-wcstold.c): Likewise.
24680 (CFLAGS-wcstof128.c): Likewise.
24681 (CFLAGS-wcstof.c): Likewise.
24682 (CFLAGS-wcstol_l.c): Likewise.
24683 (CFLAGS-wcstoul_l.c): Likewise.
24684 (CFLAGS-wcstoll_l.c): Likewise.
24685 (CFLAGS-wcstoull_l.c): Likewise.
24686 (CFLAGS-wcstod_l.c): Likewise.
24687 (CFLAGS-wcstold_l.c): Likewise.
24688 (CFLAGS-wcstof128_l.c): Likewise.
24689 (CFLAGS-wcstof_l.c): Likewise.
24690 (CPPFLAGS-tst-wchar-h.c): Likewise.
24691 (CPPFLAGS-wcstold_l.c): Likewise.
583dd860 24692
f4b2aea6
PC
246932017-12-11 Paul A. Clarke <pc@us.ibm.com>
24694
24695 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
24696
c9cd7b0c
AZ
246972017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24698 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24699
24700 * manual/tunables.texi (Hardware Capability Tunables): Document
24701 glibc.tune.cached_memopt.
24702 * sysdeps/powerpc/cpu-features.c: New file.
24703 * sysdeps/powerpc/cpu-features.h: New file.
24704 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
24705 _dl_powerpc_cpu_features.
24706 * sysdeps/powerpc/dl-tunables.list: New file.
24707 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
24708 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
24709 (INIT_ARCH): Initialize use_aligned_memopt.
24710 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
24711 IS_IN(rtld))]: Restrict dl_platform_init availability and
24712 initialize CPU features used by tunables.
24713 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
24714 Add memcpy-power8-cached.
24715 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
24716 __memcpy_power8_cached.
24717 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
24718 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
24719 New file.
24720
e70c6fee
L
247212017-12-11 H.J. Lu <hongjiu.lu@intel.com>
24722
24723 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
24724 (CFLAGS-noinl-tester.c): Likewise.
24725 (CFLAGS-tst-strlen.c): Likewise.
24726 (CFLAGS-stratcliff.c): Likewise.
24727 (CFLAGS-test-ffs.c): Likewise.
24728 (CFLAGS-tst-inlcall.c): Likewise.
24729 (CFLAGS-tst-xbzero-opt.c): Likewise.
24730 (CFLAGS-memcpy.c): Likewise.
24731 (CFLAGS-wordcopy.c): Likewise.
24732
dee94366
SL
247332017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
24734
24735 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
24736 Store r15 on stack and add cfi rule.
24737 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
24738 Likewise.
24739
363e4519 247402017-12-10 Aurelien Jarno <aurelien@aurel32.net>
f648728c
AJ
24741
24742 [BZ #22577]
24743 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
24744 call.
24745
9d0ffa60
L
247462017-12-07 H.J. Lu <hongjiu.lu@intel.com>
24747
24748 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24749 Add s_sinf-sse2 and s_sinf-fma.
24750 (CFLAGS-s_sinf-fma.c): New.
24751 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
24752 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
24753 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
24754
9574c7b6
L
247552017-12-07 H.J. Lu <hongjiu.lu@intel.com>
24756
24757 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
24758
d15e83c5
JM
247592017-12-07 Joseph Myers <joseph@codesourcery.com>
24760
24761 [BZ #22568]
24762 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
24763 part of result to imaginary part of argument if it is zero and the
24764 real part of the argument is not finite.
24765 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
24766 of result to real part of argument if it is zero and the imaginary
24767 part of the argument is not finite.
24768
d89756eb
MF
247692017-12-07 Mike FABIAN <mfabian@redhat.com>
24770
24771 [BZ #22524]
24772 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
24773 and to the list of locales to be built for testing.
24774 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
24775 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
24776 and build the collation rules upon that.
24777
1f9055ce
JM
247782017-12-07 Joseph Myers <joseph@codesourcery.com>
24779
24780 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
24781 * manual/math.texi (Mathematics): Document support for _Float32.
24782 * math/Makefile (test-types): Add float32.
24783 * math/Versions (GLIBC_2.27): Add _Float32 functions.
24784 * stdlib/Versions (GLIBC_2.27): Likewise.
24785 * wcsmbs/Versions (GLIBC_2.27): Likewise.
24786 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24787 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24788 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24789 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24790 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
24791 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24792 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
24793 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24794 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24795 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24796 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24797 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24798 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
24799 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24800 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
24801 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
24802 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
24803 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24804 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
24805 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
24806 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
24807 Likewise.
24808 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24809 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24810 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24811 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
24812 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
24813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
24814 Likewise.
24815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
24816 Likewise.
24817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
24818 Likewise.
24819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24820 Likewise.
24821
24822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
24823 Likewise.
24824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
24825 Likewise.
24826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24827 Likewise.
24828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24829 Likewise.
24830 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24831 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24832 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24833 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24834 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
24835 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
24836 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24837 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24838 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24839 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24840 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
24841 Likewise.
24842 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24843 Likewise.
24844 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
24845 Likewise.
24846 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24847 Likewise.
24848 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24849 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24850 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24851 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24852 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24853 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24854 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24855 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24856
5244527d
JM
248572017-12-06 Joseph Myers <joseph@codesourcery.com>
24858
fb1ca2aa
JM
24859 * stdlib/strtof.c: Include <bits/floatn.h>
24860 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
24861 and later undefine as macro. Define as weak alias if
24862 [!USE_WIDE_CHAR].
24863 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
24864 and later undefine as macro. Define as weak alias if
24865 [USE_WIDE_CHAR].
24866 * stdlib/strtof_l.c: Include <bits/floatn.h>
24867 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
24868 and later undefine as macro. Define as weak alias if
24869 [!USE_WIDE_CHAR].
24870 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
24871 and later undefine as macro. Define as weak alias if
24872 [USE_WIDE_CHAR].
24873
fc10cc3f
JM
24874 * stdlib/strfromf.c: Include <bits/floatn.h>.
24875 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
24876 and later undefine as macro and define as weak alias.
24877
e420d228
JM
24878 * math/test-float32.h: New file.
24879
26007a2f
JM
24880 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
24881 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
24882 (libm_alias_float_other_r): Create f32 alias.
24883 (libm_alias_float_r): Use semicolon before call to
24884 libm_alias_float_other_r.
24885
c191f64c
JM
24886 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
24887 second argument to libm_alias_float_other.
24888 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
24889 second argument to libm_alias_float_other.
24890 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
24891 argument to libm_alias_float_other.
24892
5244527d
JM
24893 [BZ #22561]
24894 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
24895 real part of result for argument 0 + i * NaN.
24896 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
24897 results for tests of 0 + i * NaN.
24898
d73fac82
AZ
248992017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24900
24901 * sysdeps/alpha/fpu/libm-test-ulps: Update.
24902
7ec094e8
DM
249032017-12-06 David S. Miller <davem@davemloft.net>
24904
24905 * sysdeps/sparc/fpu/libm-test-ulps: Update
24906 exp_{downward,towardzero,upward} ulps.
24907
53994f12
JM
249082017-12-06 Joseph Myers <joseph@codesourcery.com>
24909
1dbe6f64
JM
24910 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
24911 variables static.
24912
53994f12
JM
24913 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
24914 (Y0_2D): Likewise.
24915 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
24916 (Y0_2D): Likewise.
24917 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
24918 (Y0_2D): Likewise.
24919 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
24920 (Y0_2D): Likewise.
24921
62ea2193
MF
249222017-12-06 Mike FABIAN <mfabian@redhat.com>
24923
24924 [BZ #22515]
24925 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
24926 and to the list of locales to be built for testing.
24927 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
24928 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
24929 and build the collation rules upon that.
24930
87235d70
RS
249312017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24932
24933 * NEWS: Add sinf to list of optimized functions.
24934
0d93b7fd
JM
249352017-12-06 Joseph Myers <joseph@codesourcery.com>
24936
24937 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
24938 (__HAVE_FLOAT32X): Likewise.
24939 * manual/math.texi (Mathematics): Document support for _Float64
24940 and _Float32x.
24941 * math/Makefile (test-types): Add float64 and float32x.
24942 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
24943 functions.
24944 * stdlib/Versions (GLIBC_2.27): Likewise.
24945 * wcsmbs/Versions (GLIBC_2.27): Likewise.
24946 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24947 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24948 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24949 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24950 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
24951 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24952 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
24953 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24954 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24955 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24956 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24957 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24958 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
24959 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24960 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
24961 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
24962 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
24963 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24964 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
24965 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
24966 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
24967 Likewise.
24968 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24969 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24970 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24971 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
24972 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
24973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
24974 Likewise.
24975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
24976 Likewise.
24977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
24978 Likewise.
24979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24980 Likewise.
24981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
24982 Likewise.
24983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
24984 Likewise.
24985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24986 Likewise.
24987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24988 Likewise.
24989 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24990 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24991 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24992 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24993 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
24994 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
24995 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24996 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24997 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24998 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24999 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25000 Likewise.
25001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25002 Likewise.
25003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25004 Likewise.
25005 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25006 Likewise.
25007 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25008 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25009 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25010 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25011 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25012 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25013 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25014 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25015
f7787234
JM
250162017-12-05 Joseph Myers <joseph@codesourcery.com>
25017
25018 * bits/floatn-common.h: Include <bits/long-double.h>.
25019 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25020 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
25021 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25022 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
25023 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25024 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
25025 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25026 (__builtin_huge_valf64): Use __builtin_huge_vall.
25027 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25028 (__builtin_inff64): Use __builtin_infl.
25029 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25030 (__builtin_nanf64): Use __builtin_nanl.
25031 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25032 (__builtin_nansf64): Use __builtin_nansl.
25033
363e4519
DL
250342017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
25035 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
e6855a3b 25036 Carlos O'Donell <carlos@redhat.com>
07ed18d2
RA
25037
25038 * elf/dl-tunables.list: Add elision parameters.
25039 * manual/tunables.texi: Add entries about elision tunable.
25040 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
25041 Add callback functions to dynamically enable/disable elision.
25042 Add multiple callbacks functions to set elision parameters.
25043 Deleted __libc_enable_secure check.
25044 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
25045 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
25046 * configure: Regenerated.
25047 * configure.ac: Option enable_lock_elision was deleted.
25048 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
25049 * config.make.in: Remove references to enable_lock_elision.
25050 * manual/install.texi: Elision configure option was removed.
25051 * INSTALL: Regenerated to remove enable_lock_elision.
25052 * nptl/Makefile:
25053 Disable elision so it can verify error case for destroying a mutex.
25054 * sysdeps/powerpc/nptl/elide.h:
25055 Cleanup ENABLE_LOCK_ELISION check.
25056 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
25057 * sysdeps/s390/configure: Regenerated.
25058 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
25059 * nptl/tst-mutex8.c:
25060 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
25061 * sysdeps/powerpc/powerpc32/sysdep.h:
25062 Deleted all ENABLE_LOCK_ELISION checks.
25063 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25064 * sysdeps/powerpc/sysdep.h: Likewise.
25065 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
25066 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
25067 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
25068 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
25069 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25070 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
25071 enable-lock-elision.
25072
a5a2a76b
JM
250732017-12-05 Joseph Myers <joseph@codesourcery.com>
25074
25075 * stdlib/strtod.c: Include <bits/floatn.h>.
25076 (BUILD_DOUBLE): New macro.
25077 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25078 (strtof64): Define and later undefine as macro. Define as weak
25079 alias if [!USE_WIDE_CHAR].
25080 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25081 (wcstof64): Define and later undefine as macro. Define as weak
25082 alias if [USE_WIDE_CHAR].
25083 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25084 (strtof32x): Define and later undefine as macro. Define as weak
25085 alias if [!USE_WIDE_CHAR].
25086 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25087 (wcstof32x): Define and later undefine as macro. Define as weak
25088 alias if [USE_WIDE_CHAR].
25089 * stdlib/strtod_l.c: Include <bits/floatn.h>.
25090 (BUILD_DOUBLE): New macro.
25091 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25092 (strtof64_l): Define and later undefine as macro. Define as weak
25093 alias if [!USE_WIDE_CHAR].
25094 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25095 (wcstof64_l): Define and later undefine as macro. Define as weak
25096 alias if [USE_WIDE_CHAR].
25097 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25098 (strtof32x_l): Define and later undefine as macro. Define as weak
25099 alias if [!USE_WIDE_CHAR].
25100 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25101 (wcstof32x_l): Define and later undefine as macro. Define as weak
25102 alias if [USE_WIDE_CHAR].
25103
94d80dfc
AZ
251042017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25105
25106 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
25107 (reduced): Use ones as double instead of integer.
25108
00d54af7
SN
251092017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
25110
25111 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
25112
f2d64d62
JM
251132017-12-05 Joseph Myers <joseph@codesourcery.com>
25114
1f70eae4
JM
25115 * stdlib/strfromd.c: Include <bits/floatn.h>.
25116 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
25117 and later undefine as macro and define as weak alias.
25118 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
25119 Likewise.
25120
e2c4dce5
JM
25121 * math/test-float32x.h: New file.
25122 * math/test-float64.h: Likewise.
25123
f2d64d62
JM
25124 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
25125 (libm_alias_double_other_r_f64): New macro.
25126 (libm_alias_double_other_r_f32x): Likewise.
25127 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
25128 libm_alias_double_other_r_f32x.
25129 (libm_alias_double_r): Use semicolon before call to
25130 libm_alias_double_other_r.
25131 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
25132 <bits/floatn.h>.
25133 (libm_alias_double_other_r_f64): New macro.
25134 (libm_alias_double_other_r_f32x): Likewise.
25135 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
25136 libm_alias_double_other_r_f32x.
25137
91c318e7
L
251382017-12-05 H.J. Lu <hongjiu.lu@intel.com>
25139
25140 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
25141 int.
25142 (SINF_FUNC): Likewise. Replace floor with simple casts.
25143
de9661d6
MF
251442017-12-05 Mike FABIAN <mfabian@redhat.com>
25145
25146 [BZ #22517]
25147 * localedata/Makefile: Add et_EE.UTF-8 to test-input
25148 and to the list of locales to be built for testing.
25149 * localedata/et_EE.UTF-8.in: New file for testing the collation.
25150 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
25151 and build the collation rules upon that.
25152
f18b8dc7
CM
251532017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
25154
25155 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
25156 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
25157 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
25158 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
25159 instead of __insn__xxx.
25160 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
25161 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
25162 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
25163 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
25164 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
25165 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
25166
446d22e9
FW
251672017-12-05 Florian Weimer <fweimer@redhat.com>
25168
25169 Linux: Implement interfaces for memory protection keys
25170 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
25171 xsignal, xsysconf.
25172 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
25173 * support/xunistd.h (xsysconf): Declare.
25174 * support/xraise.c: New file.
25175 * support/xsigaction.c: Likewise.
25176 * support/xsignal.c: Likewise.
25177 * support/xsysconf.c: Likewise.
25178 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
25179 pkey_set, pkey_get, pkey_mprotect.
25180 [misc] (tests): Add tst-pkey.
25181 (tst-pkey): Link with -lpthread.
25182 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
25183 pkey_free, pkey_set, pkey_get, pkey_mprotect.
25184 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
25185 (PKEY_DISABLE_WRITE): Define.
25186 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
25187 Declare.
25188 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
25189 (SEGV_PKUERR): Add.
25190 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
25191 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
25192 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
25193 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
25194 Add.
25195 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
25196 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
25197 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
25198 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
25199 * sysdeps/unix/sysv/linux/**.abilist: Update.
25200
da616c14
FW
252012017-12-05 Florian Weimer <fweimer@redhat.com>
25202
25203 * support/tst-test_compare.c (subprocess): Use long long instead
25204 of long argument for consistent type width across 32-bit and
25205 64-bit architectures.
25206 (do_test): Adjust expected output.
25207
216933b2
JM
252082017-12-05 Joseph Myers <joseph@codesourcery.com>
25209
25210 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
25211 (cosf): Define using libm_alias_float.
25212 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
25213 (fabsf): Define using libm_alias_float.
25214 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
25215 (fmaf): Define using libm_alias_float.
25216 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
25217 (rintf): Define using libm_alias_float.
25218 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
25219 (sinf): Define using libm_alias_float.
25220 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
25221 <libm-alias-float.h>.
25222 (modff): Define using libm_alias_float.
25223 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
25224 <libm-alias-float.h>.
25225 (logbf): Define using libm_alias_float.
25226 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
25227 <libm-alias-float.h>.
25228 (ceilf): Define using libm_alias_float.
25229 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
25230 <libm-alias-float.h>.
25231 (copysignf): Define using libm_alias_float.
25232 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
25233 <libm-alias-float.h>.
25234 (floorf): Define using libm_alias_float.
25235 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
25236 <libm-alias-float.h>.
25237 (llrintf): Define using libm_alias_float.
25238 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
25239 <libm-alias-float.h>.
25240 (llroundf): Define using libm_alias_float.
25241 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
25242 <libm-alias-float.h>.
25243 (lrintf): Define using libm_alias_float.
25244 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
25245 <libm-alias-float.h>.
25246 (lroundf): Define using libm_alias_float.
25247 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
25248 <libm-alias-float.h>.
25249 (nearbyintf): Define using libm_alias_float.
25250 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
25251 <libm-alias-float.h>.
25252 (rintf): Define using libm_alias_float.
25253 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
25254 <libm-alias-float.h>.
25255 (roundf): Define using libm_alias_float.
25256 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
25257 <libm-alias-float.h>.
25258 (truncf): Define using libm_alias_float.
25259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
25260 Include <libm-alias-float.h>.
25261 (ceilf): Define using libm_alias_float.
25262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
25263 Include <libm-alias-float.h>.
25264 (copysignf): Define using libm_alias_float.
25265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
25266 Include <libm-alias-float.h>.
25267 (floorf): Define using libm_alias_float.
25268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
25269 Include <libm-alias-float.h>.
25270 (llrintf): Define using libm_alias_float.
25271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
25272 Include <libm-alias-float.h>.
25273 (llroundf): Define using libm_alias_float.
25274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
25275 Include <libm-alias-float.h>.
25276 (logbf): Define using libm_alias_float.
25277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
25278 Include <libm-alias-float.h>.
25279 (lrintf): Define using libm_alias_float.
25280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
25281 Include <libm-alias-float.h>.
25282 (lroundf): Define using libm_alias_float.
25283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
25284 Include <libm-alias-float.h>.
25285 (modff): Define using libm_alias_float.
25286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
25287 Include <libm-alias-float.h>.
25288 (roundf): Define using libm_alias_float.
25289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
25290 Include <libm-alias-float.h>.
25291 (truncf): Define using libm_alias_float.
25292 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
25293 <libm-alias-float.h>.
25294 (llrintf): Define using libm_alias_float.
25295 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
25296 <libm-alias-float.h>.
25297 (llroundf): Define using libm_alias_float.
25298 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
25299 <libm-alias-float.h>.
25300 (ceilf): Define using libm_alias_float.
25301 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
25302 <libm-alias-float.h>.
25303 (floorf): Define using libm_alias_float.
25304 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
25305 <libm-alias-float.h>.
25306 (llroundf): Define using libm_alias_float.
25307 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
25308 <libm-alias-float.h>.
25309 (lroundf): Define using libm_alias_float.
25310 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
25311 <libm-alias-float.h>.
25312 (roundf): Define using libm_alias_float.
25313 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
25314 <libm-alias-float.h>.
25315 (truncf): Define using libm_alias_float.
25316 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
25317 <libm-alias-float.h>.
25318 (copysignf): Define using libm_alias_float.
25319 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
25320 <libm-alias-float.h>.
25321 (llrintf): Define using libm_alias_float.
25322 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
25323 <libm-alias-float.h>.
25324 (llroundf): Define using libm_alias_float.
25325 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
25326 <libm-alias-float.h>.
25327 (lrintf): Define using libm_alias_float.
25328 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
25329 <libm-alias-float.h>.
25330 (lroundf): Define using libm_alias_float.
25331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
25332 <libm-alias-float.h>.
25333 (ceilf): Define using libm_alias_float.
25334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
25335 <libm-alias-float.h>.
25336 (copysignf): Define using libm_alias_float.
25337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
25338 <libm-alias-float.h>.
25339 (cosf): Define using libm_alias_float.
25340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
25341 <libm-alias-float.h>.
25342 (floorf): Define using libm_alias_float.
25343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
25344 <libm-alias-float.h>.
25345 (llrintf): Define using libm_alias_float.
25346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
25347 <libm-alias-float.h>.
25348 (llroundf): Define using libm_alias_float.
25349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
25350 <libm-alias-float.h>.
25351 (logbf): Define using libm_alias_float.
25352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
25353 <libm-alias-float.h>.
25354 (modff): Define using libm_alias_float.
25355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
25356 <libm-alias-float.h>.
25357 (roundf): Define using libm_alias_float.
25358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
25359 <libm-alias-float.h>.
25360 (sinf): Define using libm_alias_float.
25361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
25362 <libm-alias-float.h>.
25363 (truncf): Define using libm_alias_float.
25364 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
25365 <libm-alias-float.h>.
25366 (ceilf): Define using libm_alias_float.
25367 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
25368 <libm-alias-float.h>.
25369 (copysignf): Define using libm_alias_float.
25370 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
25371 <libm-alias-float.h>.
25372 (floorf): Define using libm_alias_float.
25373 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
25374 <libm-alias-float.h>.
25375 (llrintf): Define using libm_alias_float.
25376 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
25377 <libm-alias-float.h>.
25378 (llroundf): Define using libm_alias_float.
25379 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
25380 <libm-alias-float.h>.
25381 (nearbyintf): Define using libm_alias_float.
25382 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
25383 <libm-alias-float.h>.
25384 (rintf): Define using libm_alias_float.
25385 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
25386 <libm-alias-float.h>.
25387 (roundf): Define using libm_alias_float.
25388 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
25389 <libm-alias-float.h>.
25390 (truncf): Define using libm_alias_float.
25391 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
25392 <libm-alias-float.h>.
25393 (ceilf): Define using libm_alias_float.
25394 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
25395 <libm-alias-float.h>.
25396 (floorf): Define using libm_alias_float.
25397 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
25398 <libm-alias-float.h>.
25399 (llroundf): Define using libm_alias_float.
25400 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
25401 <libm-alias-float.h>.
25402 (roundf): Define using libm_alias_float.
25403 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
25404 <libm-alias-float.h>.
25405 (truncf): Define using libm_alias_float.
25406 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
25407 <libm-alias-float.h>.
25408 (copysignf): Define using libm_alias_float.
25409 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
25410 <libm-alias-float.h>.
25411 (llrintf): Define using libm_alias_float.
25412 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
25413 <libm-alias-float.h>.
25414 (llroundf): Define using libm_alias_float.
25415 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
25416 <libm-alias-float.h>.
25417 (cosf): Define using libm_alias_float.
25418 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
25419 <libm-alias-float.h>.
25420 (llrintf): Define using libm_alias_float.
25421 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
25422 <libm-alias-float.h>.
25423 (llroundf): Define using libm_alias_float.
25424 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
25425 <libm-alias-float.h>.
25426 (sinf): Define using libm_alias_float.
25427
93485524
FW
254282017-12-04 Florian Weimer <fweimer@redhat.com>
25429
25430 * support/check.h (TEST_COMPARE): Define.
25431 (support_test_compare_failure): Declare.
25432 * support/Makefile (libsupport-routines): Add
25433 support_test_compare_failure.
25434 (tests): Add tst-test_compare.
25435 * support /support_test_compare_failure.c: New file.
25436 * support/tst-test_compare.c: Likewise.
25437
96b06a19
MF
254382017-12-04 Mike FABIAN <mfabian@redhat.com>
25439
25440 [BZ #22527]
25441 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
25442 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
25443 available, this rewrite of the collation rules does reproduce
25444 the test file in the same order.
25445
1f6d91f3
MF
254462017-12-04 Mike FABIAN <mfabian@redhat.com>
25447
25448 [BZ #10580]
25449 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
25450 digraphs in the month and day names. Using single code points for
25451 digraphs is deprecated. While there are dedicated Unicode
25452 codepoints, for the digraphs, these are included for backwards
25453 compatibility and modern texts use a sequence of Basic Latin
25454 characters. See: https://www.unicode.org/faq/ligature_digraph.html
25455 This makes the month and day names agree exactly with CLDR now,
25456 CLDR does not use the single code points for the digraphs either.
25457
2e49fed8
CM
254582017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
25459
25460 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
25461
73895b49
JM
254622017-12-04 Joseph Myers <joseph@codesourcery.com>
25463
25464 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
25465 of floor.
25466
4c1d801a
SP
254672017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
25468
25469 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
25470 Define only for libc.so.
25471
478593e6
SL
254722017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
25473
25474 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25475 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
6b5c8607 25476 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
478593e6
SL
25477 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
25478 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25479
7863a711
RS
254802017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25481
25482 [BZ #5997]
25483 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
25484
800a496a
JDA
254852017-12-02 John David Anglin <danglin@gcc.gnu.org>
25486
b3f7fb12
JDA
25487 [BZ libc/19170]
25488 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
25489 PREINIT_FUNCTION_WEAK is nonzero.
25490 (gmon_initializer): New function. Put procedure label for it in
25491 .init_array section.
25492 (_init): Don't call PREINIT_FUNCTION.
25493 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
25494 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
25495 value when map argument is null.
25496
800a496a
JDA
25497 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
25498 depi instruction from PIC pc-relative sequence.
25499 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
25500 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
25501 (elf_machine_load_address): Likewise.
25502 (elf_machine_runtime_setup): Likewise.
25503
d17542d2
JM
255042017-12-02 Joseph Myers <joseph@codesourcery.com>
25505
25506 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
25507 <libm-alias-double.h>.
25508 (logb): Define using libm_alias_double.
25509 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
25510 <libm-alias-double.h>.
25511 (copysign): Define using libm_alias_double.
25512 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
25513 <libm-alias-double.h>.
25514 (llrint): Define using libm_alias_double.
25515 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
25516 <libm-alias-double.h>.
25517 (llround): Define using libm_alias_double.
25518 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
25519 <libm-alias-double.h>.
25520 (lrint): Define using libm_alias_double.
25521 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
25522 <libm-alias-double.h>.
25523 (lround): Define using libm_alias_double.
25524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
25525 Include <libm-alias-double.h>.
25526 (copysign): Define using libm_alias_double.
25527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
25528 Include <libm-alias-double.h>.
25529 (llrint): Define using libm_alias_double.
25530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
25531 Include <libm-alias-double.h>.
25532 (llround): Define using libm_alias_double.
25533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
25534 <libm-alias-double.h>.
25535 (logb): Define using libm_alias_double.
25536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
25537 Include <libm-alias-double.h>.
25538 (lrint): Define using libm_alias_double.
25539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
25540 Include <libm-alias-double.h>.
25541 (lround): Define using libm_alias_double.
25542 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
25543 <libm-alias-double.h>.
25544 (llrint): Define using libm_alias_double.
25545 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
25546 <libm-alias-double.h>.
25547 (llround): Define using libm_alias_double.
25548 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
25549 <libm-alias-double.h>.
25550 (llround): Define using libm_alias_double.
25551 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
25552 <libm-alias-double.h>.
25553 (lround): Define using libm_alias_double.
25554 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
25555 <libm-alias-double.h>.
25556 (copysign): Define using libm_alias_double.
25557 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
25558 <libm-alias-double.h>.
25559 (llrint): Define using libm_alias_double.
25560 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
25561 <libm-alias-double.h>.
25562 (llround): Define using libm_alias_double.
25563 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
25564 <libm-alias-double.h>.
25565 (lrint): Define using libm_alias_double.
25566 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
25567 <libm-alias-double.h>.
25568 (lround): Define using libm_alias_double.
25569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
25570 <libm-alias-double.h>.
25571 (copysign): Define using libm_alias_double.
25572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
25573 <libm-alias-double.h>.
25574 (llrint): Define using libm_alias_double.
25575 (lrint): Likewise.
25576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
25577 <libm-alias-double.h>.
25578 (llround): Define using libm_alias_double.
25579 (lround): Likewise.
25580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
25581 <libm-alias-double.h>.
25582 (logb): Define using libm_alias_double.
25583 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
25584 <libm-alias-double.h>.
25585 (copysign): Define using libm_alias_double.
25586 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
25587 <libm-alias-double.h>.
25588 (llrint): Define using libm_alias_double.
25589 (lrint): Likewise.
25590 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
25591 <libm-alias-double.h>.
25592 (llround): Define using libm_alias_double.
25593 (lround): Likewise.
25594 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
25595 <libm-alias-double.h>.
25596 (llround): Define using libm_alias_double.
25597 (lround): Likewise.
25598 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
25599 <libm-alias-double.h>.
25600 (copysign): Define using libm_alias_double.
25601 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
25602 <libm-alias-double.h>.
25603 (llrint): Define using libm_alias_double.
25604 (lrint): Likewise.
25605 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
25606 <libm-alias-double.h>.
25607 (llround): Define using libm_alias_double.
25608 (lround): Likewise.
25609 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
25610 <libm-alias-double.h>.
25611 (llrint): Define using libm_alias_double.
25612 (lrint): Likewise.
25613 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
25614 <libm-alias-double.h>.
25615 (llround): Define using libm_alias_double.
25616 (lround): Likewise.
25617
ec2cf3f4
JM
256182017-12-01 Joseph Myers <joseph@codesourcery.com>
25619
0ddde474
JM
25620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
25621 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
25622 compat symbol based on llround.
25623
0d5ba561
JM
25624 * sysdeps/powerpc/power7/fpu/s_logb.c
25625 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
25626 symbol based on __logb, not on logb.
25627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
25628 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
25629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
25630 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
25631
51ea3b20
JM
25632 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
25633 (rint): Define using libm_alias_double.
25634 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
25635 <libm-alias-double.h>.
25636 (modf): Define using libm_alias_double.
25637 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
25638 <libm-alias-double.h>.
25639 (ceil): Define using libm_alias_double.
25640 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
25641 <libm-alias-double.h>.
25642 (floor): Define using libm_alias_double.
25643 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
25644 <libm-alias-double.h>.
25645 (nearbyint): Define using libm_alias_double.
25646 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
25647 <libm-alias-double.h>.
25648 (rint): Define using libm_alias_double.
25649 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
25650 <libm-alias-double.h>.
25651 (round): Define using libm_alias_double.
25652 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
25653 <libm-alias-double.h>.
25654 (trunc): Define using libm_alias_double.
25655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
25656 <libm-alias-double.h>.
25657 (ceil): Define using libm_alias_double.
25658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
25659 Include <libm-alias-double.h>.
25660 (floor): Define using libm_alias_double.
25661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
25662 <libm-alias-double.h>.
25663 (modf): Define using libm_alias_double.
25664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
25665 Include <libm-alias-double.h>.
25666 (round): Define using libm_alias_double.
25667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
25668 Include <libm-alias-double.h>.
25669 (trunc): Define using libm_alias_double.
25670 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
25671 <libm-alias-double.h>.
25672 (ceil): Define using libm_alias_double.
25673 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
25674 <libm-alias-double.h>.
25675 (floor): Define using libm_alias_double.
25676 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
25677 <libm-alias-double.h>.
25678 (round): Define using libm_alias_double.
25679 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
25680 <libm-alias-double.h>.
25681 (trunc): Define using libm_alias_double.
25682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
25683 <libm-alias-double.h>.
25684 (ceil): Define using libm_alias_double.
25685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
25686 <libm-alias-double.h>.
25687 (floor): Define using libm_alias_double.
25688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
25689 <libm-alias-double.h>.
25690 (modf): Define using libm_alias_double.
25691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
25692 <libm-alias-double.h>.
25693 (round): Define using libm_alias_double.
25694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
25695 <libm-alias-double.h>.
25696 (trunc): Define using libm_alias_double.
25697 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
25698 <libm-alias-double.h>.
25699 (ceil): Define using libm_alias_double.
25700 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
25701 <libm-alias-double.h>.
25702 (floor): Define using libm_alias_double.
25703 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
25704 <libm-alias-double.h>.
25705 (nearbyint): Define using libm_alias_double.
25706 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
25707 <libm-alias-double.h>.
25708 (rint): Define using libm_alias_double.
25709 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
25710 <libm-alias-double.h>.
25711 (round): Define using libm_alias_double.
25712 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
25713 <libm-alias-double.h>.
25714 (trunc): Define using libm_alias_double.
25715 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
25716 <libm-alias-double.h>.
25717 (ceil): Define using libm_alias_double.
25718 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
25719 <libm-alias-double.h>.
25720 (floor): Define using libm_alias_double.
25721 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
25722 <libm-alias-double.h>.
25723 (round): Define using libm_alias_double.
25724 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
25725 <libm-alias-double.h>.
25726 (trunc): Define using libm_alias_double.
25727
ec2cf3f4
JM
25728 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
25729 (fabs): Define using libm_alias_double.
25730 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
25731 (fma): Define using libm_alias_double.
25732 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
25733 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
25734 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
25735 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
25736
5b7bd975
AZ
257372017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25738
0594b13f
AZ
25739 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
25740
dbdfcf3b
AZ
25741 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
25742 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
25743 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
25744
5b7bd975
AZ
25745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
25746 due redirect macro.
25747
ef9ecfa6
AS
257482017-12-01 Andreas Schwab <schwab@linux-m68k.org>
25749
25750 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
25751
5b4e5e78
AZ
257522017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25753
2a14526b
AZ
25754 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
25755 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
25756 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
25757 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
25758
dbeb74ef 25759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1c051a9b
AZ
25760 (libm-sysdep_routines): Add s_nearbyintf-generic and
25761 s_nearbyint-generic.
25762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
25763 New file.
25764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
25765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
25766 Likewise.
25767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
25768 Likewise.
25769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
25770 file.
25771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
25772 Likewise.
25773
25774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
dbeb74ef
AZ
25775 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
25776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
25777 file.
25778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
25779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
25780 Likewise.
25781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
25782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
25783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25784
fa7ded96
AZ
25785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25786 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
25787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
25788 file.
25789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
25790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
25791 Likewise.
25792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
25793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
25794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
25795
e240cf0e
AZ
25796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25797 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
25798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
25799 file.
25800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
25801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
25802 Likewise.
25803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
25804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
25805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25806
5b4e5e78
AZ
25807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25808 (sysdep_calls): New rule.
25809 (sysdep_routines): Use sysdep_calls as base.
25810 (libm-sysdep_routines): Add generic rule for symbols shared with
25811 libc. Add s_copysign-generic and s_copysign-generic objects.
25812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
25813 New file.
25814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
25815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
25816 Likewise.
25817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
25818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
25819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
25820
d985adae
MF
258212017-12-01 Mike FABIAN <mfabian@redhat.com>
25822
25823 [BZ #22519]
25824 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
25825 the list of locales to be built for testing.
25826 * localedata/is_IS.UTF-8.in: New file.
25827 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
25828 on iso14651_t1.
25829
ff84a0e0
JM
258302017-12-01 Joseph Myers <joseph@codesourcery.com>
25831
25832 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
25833 <libm-alias-float.h>.
25834 (fabsf): Define using libm_alias_float.
25835
ef5d8b43
L
258362017-11-30 H.J. Lu <hongjiu.lu@intel.com>
25837
25838 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
25839
c0535adf
JM
258402017-11-30 Joseph Myers <joseph@codesourcery.com>
25841
f938b397
JM
25842 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
25843 <libm-alias-float.h>.
25844 (fabsf): Define using libm_alias_float.
25845 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
25846 <libm-alias-float.h>.
25847 (lrintf): Define using libm_alias_float.
25848 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
25849 <libm-alias-float.h>.
25850 (rintf): Define using libm_alias_float.
25851
2251fad0
JM
25852 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
25853 <libm-alias-double.h>.
25854 (fabs): Define using libm_alias_double.
25855 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
25856 <libm-alias-double.h>.
25857 (lrint): Define using libm_alias_double.
25858 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
25859 <libm-alias-double.h>.
25860 (rint): Define using libm_alias_double.
25861
e53df1de
JM
25862 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
25863 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
25864 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
25865 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
25866 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
25867 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
25868 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
25869 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
25870 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
25871 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
25872 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
25873 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
25874 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
25875 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
25876 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
25877 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
25878 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
25879 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
25880 s_atan_template.c.
25881 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
25882 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
25883 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
25884 s_ceil_template.c.
25885 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
25886 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
25887 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
25888 s_cos_template.c.
25889 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
25890 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
25891 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
25892 s_expm1_template.c.
25893 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
25894 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
25895 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
25896 s_fabs_template.c.
25897 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
25898 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
25899 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
25900 s_floor_template.c.
25901 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
25902 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
25903 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
25904 s_frexp_template.c.
25905 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
25906 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
25907 s_lrint_template.c.
25908 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
25909 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
25910 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
25911 s_modf_template.c.
25912 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
25913 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
25914 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
25915 s_nearbyint_template.c.
25916 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
25917 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
25918 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
25919 s_remquo_template.c.
25920 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
25921 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
25922 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
25923 s_rint_template.c.
25924 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
25925 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
25926 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
25927 s_sin_template.c.
25928 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
25929 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
25930 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
25931 s_sincos_template.c.
25932 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
25933 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
25934 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
25935 s_tan_template.c.
25936 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
25937 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
25938 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
25939 s_tanh_template.c.
25940 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
25941 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
25942 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
25943 s_trunc_template.c.
25944 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
25945 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
25946 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
25947 s_atan.c instead of including s_atan.c.
25948 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
25949 s_atanf.c instead of including s_atanf.c.
25950 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
25951 s_atanl.c instead of including s_atanl.c.
25952 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
25953 instead of s_atan.c.
25954 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
25955 instead of s_atanf.c.
25956 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
25957 instead of s_atanl.c.
25958
c0535adf
JM
25959 * scripts/update-copyrights: Do not handle intl/plural.c
25960 specially.
25961
1faaf703
JB
259622017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
25963
25964 [BZ #22432]
25965 * configure.ac (BISON): Require to be present.
25966 * configure: Regenerated.
25967 * intl/Makefile (generated): Add plural.c.
25968 [$(BISON) != no]: Make code unconditional.
25969 (plural.c): Change rule to $(objpfx)plural.c.
25970 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
25971 * intl/plural.c: Remove.
25972 * manual/install.texi (Tools for Compilation): Document bison as
25973 required.
25974 * INSTALL: Regenerated.
25975
faec6323
JM
259762017-11-30 Joseph Myers <joseph@codesourcery.com>
25977
bd6ea9ed
JM
25978 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
25979 <libm-alias-double.h>.
25980 (llrint): Define using libm_alias_double.
25981 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
25982 <libm-alias-float.h>.
25983 (llrintf): Define using libm_alias_float.
25984 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
25985 <libm-alias-ldouble.h>.
25986 (llrintl): Define using libm_alias_ldouble.
25987
faec6323
JM
25988 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
25989 declare_mgen_alias instead of weak_alias.
25990 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
25991 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
25992 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
25993
023cade3
AZ
259942017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25995
9e2279a0
AZ
25996 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25997 Add add_n-generic.
25998 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
25999 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
26000 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
26001
75f37c71
AZ
26002 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26003 Add submul_1-generic.
26004 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
26005 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
26006 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
26007
b70cbbfc 26008 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
dda1d2e8
AZ
26009 Add addmul_1-generic.
26010 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
26011 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
26012 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
26013
26014 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
b70cbbfc
AZ
26015 Add sub_n-generic.
26016 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
26017 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
26018 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
26019
023cade3
AZ
26020 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26021 Add mul_1-generic.
26022 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
26023 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
26024 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
26025
fbb5fd03
MF
260262017-11-30 Mike FABIAN <mfabian@redhat.com>
26027
26028 According to CLDR, collation rules for Serbian and Bosnian
26029 should be the same as for Croatian.
26030
26031 [BZ #22534]
26032 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
26033 and to the list of locales to be built for testing.
26034 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
26035 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
26036 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
26037 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
26038
5e56e937
MF
260392017-11-30 Mike FABIAN <mfabian@redhat.com>
26040
26041 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
26042 to make test case pass.
26043 * localedata/hr_HR.UTF-8.in: Add more test strings.
26044
cf4341ca
MF
260452017-11-30 Mike FABIAN <mfabian@redhat.com>
26046
26047 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
26048
363e4519 260492017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
9ca6b343
DSN
26050
26051 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
26052 the list of locales to built for testing.
26053 * localedata/hr_HR.UTF-8.in: New file.
26054
363e4519 260552017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
37075ae1
DSN
26056
26057 [BZ #10580]
26058 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
26059 iso14651_t1.
26060 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
26061 CLDR (except use ligatures for the digraphs, CLDR does not use
26062 the ligatures), add first_workday, some fixes in the date and time
26063 formats.
26064 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
26065 for Đ and đ.
26066 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
26067 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
26068 Add int_p_cs_precedes and int_n_cs_precedes.
26069 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
26070 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
26071 LC_MONETARY now).
26072 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
26073 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
26074 name_miss.
26075 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
26076 and lang_lib. Change postal_fmt.
26077
f33632cc
L
260782017-11-30 H.J. Lu <hongjiu.lu@intel.com>
26079
26080 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
26081 <setjmp.h>.
26082 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
26083 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
26084 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
26085 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
26086 * sysdeps/generic/setjmpP.h: New file.
26087 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
26088 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
26089 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
26090 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
26091 Add jmp_buf-ssp.sym.
26092 (tests): Add tst-saved_mask-1.
26093
34697694
AS
260942017-11-30 Arjun Shankar <arjun@redhat.com>
26095
26096 [BZ #22375]
37ac8e63 26097 CVE-2017-17426
34697694
AS
26098 * malloc/malloc.c (__libc_malloc): Use checked_request2size
26099 instead of request2size.
26100
3e5efdbd
JM
261012017-11-30 Joseph Myers <joseph@codesourcery.com>
26102
18305fba
JM
26103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
26104 (__lllrint): Remove alias.
26105 (lllrint): Likewise.
26106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
26107 (__lllrintf): Likewise.
26108 (lllrintf): Likewise.
26109
3e5efdbd
JM
26110 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
26111 <libm-alias-float.h>.
26112 (copysignf): Define using libm_alias_float.
26113 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
26114 <libm-alias-float.h>.
26115 (fabsf): Define using libm_alias_float.
26116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26117 Include <libm-alias-float.h>.
26118 (copysignf): Define using libm_alias_float.
26119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
26120 <libm-alias-float.h>.
26121 (fabsf): Define using libm_alias_float.
26122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
26123 <libm-alias-float.h>.
26124 (fdimf): Define using libm_alias_float.
26125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
26126 <libm-alias-float.h>.
26127 (fmaf): Define using libm_alias_float.
26128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
26129 <libm-alias-float.h>.
26130 (llrintf): Define using libm_alias_float.
26131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
26132 Include <libm-alias-float.h>.
26133 (nearbyintf): Define using libm_alias_float.
26134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
26135 <libm-alias-float.h>.
26136 (rintf): Define using libm_alias_float.
26137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
26138 <libm-alias-float.h>.
26139 (llrintf): Define using libm_alias_float.
26140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
26141 <libm-alias-float.h>.
26142 (lrintf): Define using libm_alias_float.
26143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
26144 <libm-alias-float.h>.
26145 (nearbyintf): Define using libm_alias_float.
26146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
26147 <libm-alias-float.h>.
26148 (rintf): Define using libm_alias_float.
26149 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
26150 <libm-alias-float.h>.
26151 (ceilf): Define using libm_alias_float.
26152 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
26153 <libm-alias-float.h>.
26154 (floorf): Define using libm_alias_float.
26155 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
26156 <libm-alias-float.h>.
26157 (fmaf): Define using libm_alias_float.
26158 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
26159 <libm-alias-float.h>.
26160 (lrintf): Define using libm_alias_float.
26161 (llrintf): Likewise.
26162 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
26163 <libm-alias-float.h>.
26164 (nearbyintf): Define using libm_alias_float.
26165 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
26166 <libm-alias-float.h>.
26167 (rintf): Define using libm_alias_float.
26168 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
26169 <libm-alias-float.h>.
26170 (truncf): Define using libm_alias_float.
26171 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
26172 <libm-alias-float.h>.
26173 (copysignf): Define using libm_alias_float.
26174 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
26175 <libm-alias-float.h>.
26176 (fabsf): Define using libm_alias_float.
26177 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
26178 <libm-alias-float.h>.
26179 (lrintf): Define using libm_alias_float.
26180 (llrintf): Likewise.
26181 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
26182 <libm-alias-float.h>.
26183 (nearbyintf): Define using libm_alias_float.
26184 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
26185 <libm-alias-float.h>.
26186 (rintf): Define using libm_alias_float.
26187
011fba7e
JM
261882017-11-29 Joseph Myers <joseph@codesourcery.com>
26189
875cd548
JM
26190 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
26191 <libm-alias-double.h>.
26192 (copysign): Define using libm_alias_double.
26193 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
26194 <libm-alias-double.h>.
26195 (fabs): Define using libm_alias_double.
26196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26197 Include <libm-alias-double.h>.
26198 (copysign): Define using libm_alias_double.
26199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
26200 <libm-alias-double.h>.
26201 (fabs): Define using libm_alias_double.
26202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
26203 <libm-alias-double.h>.
26204 (fdim): Define using libm_alias_double.
26205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
26206 <libm-alias-double.h>.
26207 (fma): Define using libm_alias_double.
26208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
26209 <libm-alias-double.h>.
26210 (llrint): Define using libm_alias_double.
26211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
26212 Include <libm-alias-double.h>.
26213 (nearbyint): Define using libm_alias_double.
26214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
26215 <libm-alias-double.h>.
26216 (rint): Define using libm_alias_double.
26217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
26218 <libm-alias-double.h>.
26219 (fabs): Define using libm_alias_double.
26220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
26221 <libm-alias-double.h>.
26222 (llrint): Define using libm_alias_double.
26223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
26224 <libm-alias-double.h>.
26225 (nearbyint): Define using libm_alias_double.
26226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
26227 <libm-alias-double.h>.
26228 (rint): Define using libm_alias_double.
26229 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
26230 <libm-alias-double.h>.
26231 (ceil): Define using libm_alias_double.
26232 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
26233 <libm-alias-double.h>.
26234 (floor): Define using libm_alias_double.
26235 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
26236 <libm-alias-double.h>.
26237 (fma): Define using libm_alias_double.
26238 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
26239 <libm-alias-double.h>.
26240 (lrint): Define using libm_alias_double.
26241 (llrint): Likewise.
26242 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
26243 <libm-alias-double.h>.
26244 (nearbyint): Define using libm_alias_double.
26245 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
26246 <libm-alias-double.h>.
26247 (rint): Define using libm_alias_double.
26248 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
26249 <libm-alias-double.h>.
26250 (trunc): Define using libm_alias_double.
26251 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
26252 <libm-alias-double.h>.
26253 (copysign): Define using libm_alias_double.
26254 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
26255 <libm-alias-double.h>.
26256 (fabs): Define using libm_alias_double.
26257 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
26258 <libm-alias-double.h>.
26259 (lrint): Define using libm_alias_double.
26260 (llrint): Likewise.
26261 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
26262 <libm-alias-double.h>.
26263 (nearbyint): Define using libm_alias_double.
26264 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
26265 <libm-alias-double.h>.
26266 (rint): Define using libm_alias_double.
26267
cf4ebc27
JM
26268 [BZ #22229]
26269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
26270 <math_ldbl_opt.h>.
26271 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26272
0c097378
JM
26273 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
26274 SPARC --disable-multi-arch glibc variants.
26275
34bb10aa
JM
26276 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
26277 <libm-alias-float.h>.
26278 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26279 if [SHARED].
26280 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
26281 <libm-alias-float.h>.
26282 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26283 if [SHARED].
26284 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
26285 <libm-alias-float.h>.
26286 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26287 if [SHARED].
26288 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
26289 <libm-alias-float.h>.
26290 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26291 if [SHARED].
26292 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
26293 <libm-alias-float.h>.
26294 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26295 if [SHARED].
26296 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
26297 <libm-alias-float.h>.
26298 (ceilf): Define using libm_alias_float.
26299 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
26300 <libm-alias-float.h>.
26301 (floorf): Define using libm_alias_float.
26302 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
26303 <libm-alias-float.h>.
26304 (fmaf): Define using libm_alias_float.
26305 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
26306 <libm-alias-float.h>.
26307 (nearbyintf): Define using libm_alias_float.
26308 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
26309 <libm-alias-float.h>.
26310 (rintf): Define using libm_alias_float.
26311 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
26312 <libm-alias-float.h>.
26313 (truncf): Define using libm_alias_float.
26314 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
26315 (copysignf): Define using libm_alias_float.
26316 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
26317 (cosf): Define using libm_alias_float.
26318 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
26319 (fabsf): Define using libm_alias_float.
26320 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26321 (fmaxf): Define using libm_alias_float.
26322 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
26323 (fminf): Define using libm_alias_float.
26324 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
26325 (llrintf): Define using libm_alias_float.
26326 [!__ILP32__] (lrintf): Likewise.
26327 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
26328 (sincosf): Define using libm_alias_float.
26329 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
26330 (sinf): Define using libm_alias_float.
26331 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
26332 (lrintf): Define using libm_alias_float.
26333
011fba7e
JM
26334 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
26335 <libm-alias-double.h>.
26336 (atan): Define using libm_alias_double.
26337 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
26338 <libm-alias-double.h>.
26339 (ceil): Define using libm_alias_double.
26340 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
26341 <libm-alias-double.h>.
26342 (floor): Define using libm_alias_double.
26343 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
26344 <libm-alias-double.h>.
26345 (fma): Define using libm_alias_double.
26346 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
26347 <libm-alias-double.h>.
26348 (nearbyint): Define using libm_alias_double.
26349 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
26350 <libm-alias-double.h>.
26351 (rint): Define using libm_alias_double.
26352 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
26353 <libm-alias-double.h>.
26354 (sin): Define using libm_alias_double.
26355 (cos): Likewise.
26356 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
26357 <libm-alias-double.h>.
26358 (tan): Define using libm_alias_double.
26359 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
26360 <libm-alias-double.h>.
26361 (trunc): Define using libm_alias_double.
26362 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
26363 (copysign): Define using libm_alias_double.
26364 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
26365 (fabs): Define using libm_alias_double.
26366 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
26367 (fmax): Define using libm_alias_double.
26368 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
26369 (fmin): Define using libm_alias_double.
26370 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
26371 (llrint): Define using libm_alias_double.
26372 [!__ILP32__] (lrint): Likewise.
26373 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
26374 (lrint): Define using libm_alias_double.
26375
1cbd7bfe
AZ
263762017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26377
21bfcc3d
AZ
26378 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26379 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
26380 objects.
26381 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
26382 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
26383 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
26384 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
26385 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
26386 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26387
522228dd
AZ
26388 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26389 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
26390 objects.
26391 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
26392 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
26393 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
26394 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
26395 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
26396 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26397
2a6f4fab
AZ
26398 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26399 (libm-sysdep_routines): Add s_nearbyint-generic and
26400 s_nearbyintf-generic objects.
26401 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
26402 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
26403 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
26404 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
26405 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
26406 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
26407
712b5b83
AZ
26408 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26409 Add s_finitef-generic and s_finite-generic objects.
26410 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
26411 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
26412 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
26413 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
26414 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
26415 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
26416
c96d3335
AZ
26417 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26418 Add s_isinff-generic and s_isinf-generic objects.
26419 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
26420 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
26421 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
26422 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
26423 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
26424 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26425
c6862a23
AZ
26426 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26427 Add s_isnanf-generic and s_isnan-generic objects.
26428 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
26429 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
26430 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
26431 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
26432 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
26433 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26434
1cbd7bfe
AZ
26435 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
26436 macro.
26437 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
26438 rule.
26439 (sysdep_routines): Use sysdep_calls as base.
26440 (libm-sysdep_routines): Add generic rule for symbols shared with
26441 libc. Add s_signbit-generic and s_signbitf-generic objects.
26442 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
26443 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
26444 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
26445 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
26446 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
26447 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26448
aa1142c5
JM
264492017-11-29 Joseph Myers <joseph@codesourcery.com>
26450
26451 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
26452 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
26453 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
26454 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
26455 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
26456 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
26457 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
26458 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
26459 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
26460 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
26461 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
26462 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
26463 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
26464 libm_alias_float_r.
26465 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
26466 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
26467 (logf): Likewise.
26468 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
26469 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
26470 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
26471 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
26472 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
26473 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
26474 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
26475 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
26476 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
26477 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
26478 libm_alias_float.
26479 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
26480 (cosf): Likewise.
26481 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
26482 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
26483 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
26484 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
26485 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
26486 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
26487 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
26488 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
26489 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
26490 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
26491 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
26492 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
26493 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
26494 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
26495 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
26496 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
26497 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
26498 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
26499 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
26500 libm_alias_float.
26501 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
26502 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
26503 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
26504 * sysdeps/ia64/fpu/w_lgammaf_main.c
26505 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
26506 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
26507
363e4519
DL
265082017-11-28 Mike FABIAN <mfabian@redhat.com>
26509 Alexandre Oliva <aoliva@redhat.com>
8da25eec
AO
26510
26511 [BZ #17750]
26512 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
26513 * localedata/fr_CA.UTF-8.in: New file with test data for backward
26514 accents sorting.
26515 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
26516 sorting.
26517 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
26518 * localedata/locales/de_DE (LC_COLLATE): Likewise.
26519 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
26520 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
26521 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
26522 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
26523 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
26524 instead of “ifdef DIACRIT_BACKWARD”.
26525
a55430cb
AZ
265262017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26527
26528 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
26529 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
26530 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
26531 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
26532 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
26533 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
26534 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
26535 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
26536 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
26537 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
26538 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
26539 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
26540 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
26541 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
26542 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
26543 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
26544 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
26545 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
26546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26547 ($(have-as-vis3) == yes): Remove conditional.
26548 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
26549 Likewise.
26550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
26551 file.
26552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
26553 file.
26554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
26555 file.
26556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
26557 file.
26558 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
26559 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
26560 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
26561 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
26562 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
26563 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
26564 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
26565 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
26566
0609ec0a
JM
265672017-11-29 Joseph Myers <joseph@codesourcery.com>
26568
26569 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
26570 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
26571 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
26572 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
26573 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
26574 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
26575 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
26576 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
26577 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
26578 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
26579 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
26580 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
26581 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
26582 libm_alias_double_r.
26583 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
26584 (log): Likewise.
26585 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
26586 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
26587 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
26588 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
26589 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
26590 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
26591 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
26592 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
26593 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
26594 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
26595 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
26596 libm_alias_double.
26597 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
26598 (cos): Likewise.
26599 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
26600 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
26601 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
26602 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
26603 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
26604 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
26605 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
26606 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
26607 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
26608 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
26609 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
26610 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
26611 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
26612 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
26613 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
26614 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
26615 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
26616 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
26617 libm_alias_double.
26618 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
26619 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
26620 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
26621 * sysdeps/ia64/fpu/w_lgamma_main.c
26622 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
26623 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
26624
d5bfa34a
JDA
266252017-11-28 John David Anglin <danglin@gcc.gnu.org>
26626
26627 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
26628 address of $global$ into %dp register earlier. Use pc-relative
26629 instruction sequence for PIC case.
26630
bc4e8f9b
JM
266312017-11-28 Joseph Myers <joseph@codesourcery.com>
26632
e4602cba
JM
26633 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
26634 (asinhf): Define using libm_alias_float.
26635 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
26636 (atanf): Define using libm_alias_float.
26637 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
26638 (cbrtf): Define using libm_alias_float.
26639 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
26640 (ceilf): Define using libm_alias_float.
26641 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
26642 (copysignf): Define using libm_alias_float.
26643 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
26644 (expm1f): Define using libm_alias_float.
26645 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
26646 (fabsf): Define using libm_alias_float.
26647 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
26648 (floorf): Define using libm_alias_float.
26649 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26650 (fmaxf): Define using libm_alias_float.
26651 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
26652 (fminf): Define using libm_alias_float.
26653 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
26654 (frexpf): Define using libm_alias_float.
26655 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
26656 (llrintf): Define using libm_alias_float.
26657 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
26658 (logbf): Define using libm_alias_float.
26659 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
26660 (lrintf): Define using libm_alias_float.
26661 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
26662 (nearbyintf): Define using libm_alias_float.
26663 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
26664 (remquof): Define using libm_alias_float.
26665 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
26666 (rintf): Define using libm_alias_float.
26667 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
26668 (truncf): Define using libm_alias_float.
26669 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
26670 <libm-alias-float.h>.
26671 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26672 if [SHARED].
26673 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
26674 <libm-alias-float.h>.
26675 (expf): Define using libm_alias_float, or libm_alias_float_other
26676 if [SHARED].
26677 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
26678 <libm-alias-float.h>.
26679 (log2f): Define using libm_alias_float, or libm_alias_float_other
26680 if [SHARED].
26681 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
26682 <libm-alias-float.h>.
26683 (logf): Define using libm_alias_float, or libm_alias_float_other
26684 if [SHARED].
26685 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
26686 <libm-alias-float.h>.
26687 (powf): Define using libm_alias_float, or libm_alias_float_other
26688 if [SHARED].
26689 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
26690 <libm-alias-float.h>.
26691 (cosf): Define using libm_alias_float.
26692 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
26693 <libm-alias-float.h>.
26694 (sincosf): Define using libm_alias_float.
26695 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
26696 <libm-alias-float.h>.
26697 (sinf): Define using libm_alias_float.
26698 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26699 (fmaxf): Define using libm_alias_float.
26700 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
26701 (fminf): Define using libm_alias_float.
26702 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26703 <libm-alias-float.h>.
26704 (fmaf): Define using libm_alias_float.
26705
bc4e8f9b
JM
26706 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
26707 (asinh): Define using libm_alias_double.
26708 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
26709 (atan): Define using libm_alias_double.
26710 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
26711 (cbrt): Define using libm_alias_double.
26712 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
26713 (ceil): Define using libm_alias_double.
26714 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
26715 (copysign): Define using libm_alias_double.
26716 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
26717 (expm1): Define using libm_alias_double.
26718 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
26719 (fabs): Define using libm_alias_double.
26720 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
26721 (fdim): Define using libm_alias_double.
26722 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
26723 (floor): Define using libm_alias_double.
26724 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
26725 (fmax): Define using libm_alias_double.
26726 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
26727 (fmin): Define using libm_alias_double.
26728 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
26729 (frexp): Define using libm_alias_double.
26730 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
26731 (llrint): Define using libm_alias_double.
26732 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
26733 (logb): Define using libm_alias_double.
26734 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
26735 (lrint): Define using libm_alias_double.
26736 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
26737 (nearbyint): Define using libm_alias_double.
26738 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
26739 (remquo): Define using libm_alias_double.
26740 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
26741 (rint): Define using libm_alias_double.
26742 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
26743 (trunc): Define using libm_alias_double.
26744 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
26745 (fmax): Define using libm_alias_double.
26746 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
26747 (fmin): Define using libm_alias_double.
26748 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
26749 (fma): Define using libm_alias_double.
26750
8d81ce0c
L
267512017-11-28 H.J. Lu <hongjiu.lu@intel.com>
26752
26753 [BZ #22370]
26754 * elf/dl-hwcaps.c (ROUND): Removed.
26755 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
26756 and ELF_NOTE_NEXT_OFFSET.
26757 * elf/dl-load.c (ROUND): Removed.
26758 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
26759 * elf/readelflib.c (ROUND): Removed.
26760 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
26761 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
26762 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
26763 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
26764
6940bd96
JM
267652017-11-28 Joseph Myers <joseph@codesourcery.com>
26766
313ba463
JM
26767 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
26768 [!__fmaf] (fmaf): Define using libm_alias_float.
26769
6940bd96
JM
26770 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
26771 [!__fma] (fma): Define using libm_alias_double.
26772 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
26773
22c69b6a
MF
267742017-11-28 Mike FABIAN <mfabian@redhat.com>
26775
26776 [BZ #22336]
26777 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
26778 and implement the collation rules for cs from CLDR on top of that.
26779 * Makefile: Add cs_CZ.UTF-8 to test-input.
26780 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
26781
8d7d3ba8
SP
267822017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
26783
26784 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
26785
0422ed1e
VR
267862017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
26787 Icarus Sparry <icarus.w.sparry@intel.com>
26788
26789 * benchtests/Makefile:Add BENCHSET to allow subsets of
26790 benchmarks to be run.
26791 * benchtests/README: Add documentation for: Running subsets of
26792 benchmarks.
26793
0595e360
VR
267942017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
26795
d5090db3
VR
26796 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
26797 range of tests names.
26798
0595e360
VR
26799 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
26800 result from property and remove "max", min" and "mean" from
26801 required properties based on benchtests/bench-skeleton.c.
26802
b4c645c2
FW
268032017-11-28 Florian Weimer <fweimer@redhat.com>
26804
26805 [BZ #20826]
26806 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
26807 due to Internet requirement.
26808 * posix/Makefile (tests): Remove tst-getaddrinfo4,
26809 tst-getaddrinfo5.
26810 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
26811
88684de7
AZ
268122017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26813
69056564
AZ
26814 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
26815 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
26816 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
26817 (sysdep_routines): Add memset-ultra1.
26818 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
26819 file.
26820 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
26821 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
26822 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
26823 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
26824 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
26825 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
26826 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
26827 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26828
88684de7
AZ
26829 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
26830 file.
26831 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
26832 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
26833 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
26834 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
26835 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
26836 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
26837 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
26838 macro.
26839 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
26840 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
26841 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
26842 (sysdep_routines): Add memcpy-ultra1.
26843 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
26844 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
26845
d8124864
JM
268462017-11-28 Joseph Myers <joseph@codesourcery.com>
26847
f433d0b3
JM
26848 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
26849 (cfloat_versions): Take function argument without trailing 'f'.
26850 Call libm_alias_float_other.
26851 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
26852 * sysdeps/alpha/fpu/cargf.c: Likewise.
26853 * sysdeps/alpha/fpu/cimagf.c: Likewise.
26854 * sysdeps/alpha/fpu/conjf.c: Likewise.
26855 * sysdeps/alpha/fpu/crealf.c: Likewise.
26856 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
26857 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
26858 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
26859 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
26860 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
26861 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
26862 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
26863 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
26864 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
26865 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
26866 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
26867 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
26868 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
26869 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
26870 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
26871 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
26872 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
26873 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
26874 (clog10f): Use libm_alias_float_other.
26875 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
26876 (ceilf): Define using libm_alias_float.
26877 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
26878 (copysignf): Define using libm_alias_float.
26879 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
26880 (fabsf): Define using libm_alias_float.
26881 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
26882 (floorf): Define using libm_alias_float.
26883 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
26884 (fmaxf): Define using libm_alias_float.
26885 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
26886 (fminf): Define using libm_alias_float.
26887 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
26888 (lrintf): Define using libm_alias_float.
26889 (llrintf): Likewise.
26890 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
26891 (lroundf): Define using libm_alias_float.
26892 (llroundf): Likewise.
26893 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
26894 (rintf): Define using libm_alias_float.
26895 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
26896 (truncf): Define using libm_alias_float.
26897
15ff4900
JM
26898 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
26899 (ceilf): Define using libm_alias_float.
26900 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
26901 (floorf): Define using libm_alias_float.
26902 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
26903 (fmaf): Define using libm_alias_float.
26904 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
26905 (fmaxf): Define using libm_alias_float.
26906 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
26907 (fminf): Define using libm_alias_float.
26908 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
26909 (llrintf): Define using libm_alias_float.
26910 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
26911 (llroundf): Define using libm_alias_float.
26912 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
26913 (lrintf): Define using libm_alias_float.
26914 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
26915 (lroundf): Define using libm_alias_float.
26916 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
26917 <libm-alias-float.h>.
26918 (nearbyintf): Define using libm_alias_float.
26919 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
26920 (rintf): Define using libm_alias_float.
26921 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
26922 (roundf): Define using libm_alias_float.
26923 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
26924 (truncf): Define using libm_alias_float.
26925
5de60638
JM
26926 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
26927 (ceil): Define using libm_alias_double.
26928 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
26929 (copysign): Define using libm_alias_double.
26930 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
26931 (fabs): Define using libm_alias_double.
26932 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
26933 (floor): Define using libm_alias_double.
26934 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
26935 (fmax): Define using libm_alias_double.
26936 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
26937 (fmin): Define using libm_alias_double.
26938 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
26939 (lrint): Define using libm_alias_double.
26940 (llrint): Likewise.
26941 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
26942 (lround): Define using libm_alias_double.
26943 (llround): Likewise.
26944 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
26945 (rint): Define using libm_alias_double.
26946 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
26947 (trunc): Define using libm_alias_double.
26948
d8124864
JM
26949 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
26950 (libm_alias_double_r): Add semicolon after weak_alias call.
26951
f07d2ec8
JM
269522017-11-27 Joseph Myers <joseph@codesourcery.com>
26953
26954 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
26955 (ceil): Define using libm_alias_double.
26956 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
26957 (floor): Define using libm_alias_double.
26958 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
26959 (fma): Define using libm_alias_double.
26960 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
26961 (fmax): Define using libm_alias_double.
26962 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
26963 (fmin): Define using libm_alias_double.
26964 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
26965 (llrint): Define using libm_alias_double.
26966 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
26967 (llround): Define using libm_alias_double.
26968 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
26969 (lrint): Define using libm_alias_double.
26970 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
26971 (lround): Define using libm_alias_double.
26972 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
26973 (nearbyint): Define using libm_alias_double.
26974 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
26975 (rint): Define using libm_alias_double.
26976 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
26977 (round): Define using libm_alias_double.
26978 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
26979 (trunc): Define using libm_alias_double.
26980
4bab0224
FW
269812017-11-27 Florian Weimer <fweimer@redhat.com>
26982
26983 * sysdeps/unix/sysv/linux/mlock2.c: New file.
26984 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
26985 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
26986 (tests): Add tst-mlock2.
26987 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
26988 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
26989 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
26990 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
26991 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
26992 for mlock. Document mlock2.
26993
a23aa5b7
JM
269942017-11-27 Joseph Myers <joseph@codesourcery.com>
26995
26996 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
26997 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
26998 Likewise.
26999 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
27000 Likewise.
27001 * sysdeps/x86/Makeconfig: New file.
27002 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
27003 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27004 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
27005 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27006 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27007 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27008 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
27009 Likewise.
27010 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27011 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27012 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27013 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27014 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27015 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27016 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27017 * manual/math.texi (Mathematics): Document support for _Float64x.
27018 * math/Versions (GLIBC_2.27): Add _Float64x functions.
27019 * stdlib/Versions (GLIBC_2.27): Likewise.
27020 * wcsmbs/Versions (GLIBC_2.27): Likewise.
27021 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
27022 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
27023 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27024 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27025 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
27026 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27027 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
27028 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27029 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27030 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27031 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
27033 Likewise.
27034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27035 Likewise.
27036 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27037 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27038 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27039 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27040 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27041 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27042 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27043 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27044 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
27045 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27046 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
27047 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27048 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
27049 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27050
c2c299fd
AS
270512017-11-27 Andreas Schwab <schwab@suse.de>
27052
27053 * elf/Makefile (dl-routines): Add dl-sort-maps.
27054 * elf/dl-sort-maps.c: New file.
27055 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
27056 (_dl_sort_maps): Declare.
27057 * elf/dl-fini.c (_dl_sort_fini): Remove.
27058 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
27059 * elf/dl-close.c (_dl_close_worker): Likewise.
27060 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
27061 open-coding it.
27062 * elf/dl-open.c (dl_open_worker): Likewise.
27063
9d4b0117
JM
270642017-11-24 Joseph Myers <joseph@codesourcery.com>
27065
de61465c
JM
27066 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
27067 using libm_alias_float128.
27068 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
27069 Likewise.
27070 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
27071 Likewise.
27072 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
27073 (setpayloadsigf128): Likewise.
27074 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
27075 Likewise.
27076 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
27077 Likewise.
27078
9ae6d171
JM
27079 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
27080 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
27081 -mfloat128 to CFLAGS.
27082 ($(foreach
27083 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
27084 Likewise.
27085 (CFLAGS-libm-test-support-float64x.c): New variable.
27086 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
27087 $(f128-loader-link) to gnulib-tests.
27088
6e70d156
JM
27089 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
27090 (libm_alias_float128_other_r): If
27091 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
27092 alias.
27093 (libm_alias_float128_r): Add semicolon after weak_alias call.
27094 * sysdeps/generic/libm-alias-ldouble.h
27095 (libm_alias_ldouble_other_r_f128): New macro.
27096 (libm_alias_ldouble_other_r_f64x): Likewise.
27097 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
27098 and libm_alias_ldouble_other_r_f64x.
27099 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
27100 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
27101 (libm_alias_ldouble_other_r_f128): New macro.
27102 (libm_alias_ldouble_other_r_f64x): Likewise.
27103 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
27104 and libm_alias_ldouble_other_r_f64x.
27105
df2806cd
JM
27106 * stdlib/strfroml.c: Always include <stdlib.h>.
27107 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
27108 undefine as macro and define as weak alias.
27109 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
27110 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
27111 <stdlib.h>.
27112 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
27113 Define and later undefine as macro and define as weak alias.
27114
0df4fe35
JM
27115 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
27116 Define and later undefine as macro. Define as weak alias if
27117 [!USE_WIDE_CHAR].
27118 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
27119 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27120 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
27121 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
27122 Define and later undefine as macro. Define as weak alias if
27123 [!USE_WIDE_CHAR].
27124 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
27125 Define and later undefine as macro. Define as weak alias if
27126 [USE_WIDE_CHAR].
27127 * sysdeps/ieee754/float128/strtof128_l.c
27128 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
27129 Define and later undefine as macro. Define as weak alias if
27130 [!USE_WIDE_CHAR].
27131 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
27132 Define and later undefine as macro. Define as weak alias if
27133 [USE_WIDE_CHAR].
27134 * sysdeps/ieee754/ldbl-128/strtold_l.c
27135 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27136 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27137 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27138 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27139 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
27140 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27141 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27142 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27143 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27144 * sysdeps/ieee754/ldbl-96/strtold_l.c
27145 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27146 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27147 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27148 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27149
ae7207d0
JM
27150 * math/test-float64x.h: New file.
27151 * math/Makefile (type-float64x-yes): New variable.
27152 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
27153
9596fc69
JM
27154 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
27155 function-like macro.
27156 (min_of_type_): Likewise.
27157 (min_of_type_l): Likewise.
27158 (min_of_type_f128): Likewise.
27159 (min_of_type): Pass () as last argument of __MATH_TG.
27160
46453c3c
JM
27161 * stdlib/tst-strtod-round-skeleton.c
27162 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
27163 headers.
27164
01e659e7
JM
27165 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
27166 for combinations of long double with _Float64 and _Float64x.
27167
5c60afdd
JM
27168 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
27169 (__DECL_SIMD_cosf32): Likewise.
27170 (__DECL_SIMD_cosf64): Likewise.
27171 (__DECL_SIMD_cosf32x): Likewise.
27172 (__DECL_SIMD_cosf64x): Likewise.
27173 (__DECL_SIMD_cosf128x): Likewise.
27174 (__DECL_SIMD_sinf16): Likewise.
27175 (__DECL_SIMD_sinf32): Likewise.
27176 (__DECL_SIMD_sinf64): Likewise.
27177 (__DECL_SIMD_sinf32x): Likewise.
27178 (__DECL_SIMD_sinf64x): Likewise.
27179 (__DECL_SIMD_sinf128x): Likewise.
27180 (__DECL_SIMD_sincosf16): Likewise.
27181 (__DECL_SIMD_sincosf32): Likewise.
27182 (__DECL_SIMD_sincosf64): Likewise.
27183 (__DECL_SIMD_sincosf32x): Likewise.
27184 (__DECL_SIMD_sincosf64x): Likewise.
27185 (__DECL_SIMD_sincosf128x): Likewise.
27186 (__DECL_SIMD_logf16): Likewise.
27187 (__DECL_SIMD_logf32): Likewise.
27188 (__DECL_SIMD_logf64): Likewise.
27189 (__DECL_SIMD_logf32x): Likewise.
27190 (__DECL_SIMD_logf64x): Likewise.
27191 (__DECL_SIMD_logf128x): Likewise.
27192 (__DECL_SIMD_expf16): Likewise.
27193 (__DECL_SIMD_expf32): Likewise.
27194 (__DECL_SIMD_expf64): Likewise.
27195 (__DECL_SIMD_expf32x): Likewise.
27196 (__DECL_SIMD_expf64x): Likewise.
27197 (__DECL_SIMD_expf128x): Likewise.
27198 (__DECL_SIMD_powf16): Likewise.
27199 (__DECL_SIMD_powf32): Likewise.
27200 (__DECL_SIMD_powf64): Likewise.
27201 (__DECL_SIMD_powf32x): Likewise.
27202 (__DECL_SIMD_powf64x): Likewise.
27203 (__DECL_SIMD_powf128x): Likewise.
27204
9d4b0117
JM
27205 * stdlib/Versions (libc): Move entries for wcstof128 and
27206 wcstof128_l to ....
27207 * wcsmbs/Versions (libc): ... here.
27208 Include <float128-abi.h>.
27209
7911dd47
FW
272102017-11-24 Florian Weimer <fweimer@redhat.com>
27211
27212 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27213 bits/mman-shared.h.
27214 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
27215 <bits/mman-shared.h>.
27216 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
27217 to ...
27218 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
27219 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
27220 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
27221 <bits/mman-shared.h>.
27222
c45d78aa
AZ
272232017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27224
27225 [BZ #22457]
27226 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
27227 posix_memalign/free.
27228 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
27229
3ffc4cc1
MF
272302017-11-22 Mike FABIAN <mfabian@redhat.com>
27231
27232 [BZ #22469]
27233 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
27234 and implement the collation rules for pl from CLDR on top of that.
27235 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
27236 of locales to be built for testing.
27237 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
27238
3a327316
JM
272392017-11-23 Joseph Myers <joseph@codesourcery.com>
27240
27241 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
27242 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
27243 libm_alias_ldouble_other.
27244 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
27245 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
27246 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
27247 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
27248 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
27249 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
27250 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
27251 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
27252 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
27253 libm_alias_ldouble_r.
27254 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
27255 libm_alias_ldouble_other.
27256 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
27257 (log10l): Likewise.
27258 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
27259 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
27260 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
27261 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
27262 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
27263 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
27264 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
27265 (atan2l): Likewise.
27266 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
27267 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
27268 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
27269 libm_alias_ldouble.
27270 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
27271 (cosl): Likewise.
27272 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
27273 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
27274 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
27275 (expl): Likewise.
27276 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
27277 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
27278 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
27279 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
27280 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
27281 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
27282 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
27283 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
27284 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
27285 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
27286 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
27287 libm_alias_ldouble.
27288 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
27289 libm_alias_ldouble_other.
27290 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
27291 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
27292 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
27293 libm_alias_ldouble.
27294 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
27295 libm_alias_ldouble_other.
27296 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
27297 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
27298 * sysdeps/ia64/fpu/w_lgammal_main.c
27299 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
27300 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
27301
0a947e06
FW
273022017-11-23 Florian Weimer <fweimer@redhat.com>
27303
27304 * malloc/malloc.c (tcache_thread_shutdown): Rename from
27305 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
27306 alike. Remove freeres marker.
27307 * malloc/arena.c (arena_thread_freeres): Call
27308 tcache_thread_shutdown.
27309
67f36c79
FW
273102017-11-23 Florian Weimer <fweimer@redhat.com>
27311
27312 [BZ #22459]
27313 Export nscd hash function as __nss_hash.
27314 * include/nss.h (__nss_hash): Declare.
27315 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
27316 symbol.
27317 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
27318 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
27319 of __nscd_hash.
27320 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
27321 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
27322 * nss/Makefiles (routines): Add nss_hash.
27323 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
27324 * nss/nss_hash.c: Rename from nis/nis_hash.c.
27325 (__nss_hash): Rename from __nis_hash. Define hidden alias.
27326 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
27327
cccb6d4e
FW
273282017-11-23 Florian Weimer <fweimer@redhat.com>
27329
27330 [BZ #22478]
27331 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
27332 Return error code, not -1.
27333 * signal/tst-sigwait-eintr.c: New file.
27334 * signal/Makefile (tests): Add tst-sigwait-eintr.
27335
59d2cbb1
FW
273362017-11-23 Florian Weimer <fweimer@redhat.com>
27337
27338 Linux: Add memfd_create system call wrapper
27339 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
27340 tst-memfd_create.
27341 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
27342 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
27343 [__USE_GNU] (memfd_create): Declare.
27344 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
27345 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
27346 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
27347 * sysdeps/unix/sysv/linux/**.abilist: Update.
27348 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
27349
a90d1ac2
JM
273502017-11-22 Joseph Myers <joseph@codesourcery.com>
27351
0a9d1d62
JM
27352 * localedata/gen-locale.sh: Fix typo in variable name.
27353
754034c4
JM
27354 * resolv/res_debug.c (p_secstodate): Condition definition on
27355 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
27356 directly as __p_secstodate, and as a compat symbol. Do not use
27357 libresolv_hidden_def.
27358 * resolv/resolv.h (p_secstodate): Remove macro and function
27359 declaration.
27360 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
27361 using p_secstodate.
27362 * include/resolv.h (__p_secstodate): Do not use
27363 libresolv_hidden_proto.
27364 * resolv/Makefile (tests): Move tst-p_secstodate to ....
27365 (tests-internal): ... here.
27366 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
27367 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
27368 and declare and use __p_secstodate and use compat_symbol_reference
27369 in that case.
27370 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
27371 implementation returning 77.
27372
f120cda6
JM
27373 [BZ #22463]
27374 * resolv/res_debug.c: Include <libc-diag.h>.
27375 (p_secstodate): Assert time_t at least as wide as u_long. On
27376 overflow, use integer seconds since the epoch as output, or use
27377 "<overflow>" as output and set errno to EOVERFLOW if integer
27378 seconds since the epoch would be 14 or more characters.
27379 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
27380 for sprintf call.
27381 * resolv/tst-p_secstodate.c: New file.
27382 * resolv/Makefile (tests): Add tst-p_secstodate.
27383 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
27384
a90d1ac2
JM
27385 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
27386 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
27387 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
27388
0285e6bd
PE
273892017-11-22 Paul Eggert <eggert@cs.ucla.edu>
27390
27391 * posix/regcomp.c (init_word_char): Add comments.
27392
4bae6150
JM
273932017-11-22 Joseph Myers <joseph@codesourcery.com>
27394
27395 [BZ #22447]
27396 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
27397 strlen to compute length of ut_user and set trailing NUL byte of
27398 result explicitly.
27399
4b7af5fc
MF
274002017-11-21 Mike FABIAN <mfabian@redhat.com>
27401
27402 [BZ #15537]
27403 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
27404 using “copy "iso14651_t1"” and then implementing the
27405 collation rules for lv from CLDR on top of that.
27406 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
27407 of locales to be built for testing.
27408 * lv_LV.UTF-8.in: New file with test data to test the Latvian
27409 sorting.
27410
922bb78c
JM
274112017-11-21 Joseph Myers <joseph@codesourcery.com>
27412
27413 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
27414 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
27415 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
27416 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
27417 [__USE_MISC] (MADV_HWPOISON): New macro.
27418 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
27419
a3aaa598
AZ
274202017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27421
27422 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
27423 -Wmissing-braces on GCC 4.9.
27424
8beba15d
SL
274252017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
27426
27427 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
27428 * sysdeps/s390/s390-32/start.S (_start): Likewise
27429 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
27430 (thread_start): Likewise.
27431 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
27432 (thread_start): Likewise.
27433 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
27434 (__makecontext_ret): Likewise.
27435 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
27436 (__makecontext_ret): Likewise.
27437
80eb52e3
SL
274382017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
27439
27440 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
27441 __wcschrnul): Remove attribute_hidden.
27442
567d8c1f
PE
274432017-11-20 Paul Eggert <eggert@cs.ucla.edu>
27444
27445 regex: don't assume uint64_t or uint32_t
27446 This avoids -Werror=overflow errors for 32-bit systems in
27447 the 64-bit case. Problem reported by Joseph Myers in:
27448 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
27449 Also, when this code is used in Gnulib it ports to platforms
27450 that lack uint64_t and uint32_t. The C standard doesn't guarantee
27451 them, and on some 32-bit compilers there is no uint64_t.
27452 Problem reported by Gianluigi Tiesi in:
27453 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
27454 * posix/regcomp.c (init_word_char): Don't assume that the types
27455 uint64_t and uint32_t exist. Adapted from Gnulib patch
27456 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
27457 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
27458
4d7632ff
SP
274592017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
27460
5a67c4fa
SP
27461 * sysdeps/aarch64/memset-reg.h: New file.
27462 * sysdeps/aarch64/memset.S: Use it.
27463 (__memset): Rename to MEMSET macro.
27464 [ZVA_MACRO]: Use zva_macro.
27465 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
27466 Add memset_generic and memset_falkor.
27467 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
27468 (__libc_ifunc_impl_list): Add memset ifuncs.
27469 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
27470 local variable zva_size.
27471 * sysdeps/aarch64/multiarch/memset.c: New file.
27472 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
27473 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
27474 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
27475 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
27476 (DCZID_DZP_MASK): New macro.
27477 (DCZID_BS_MASK): Likewise.
27478 (init_cpu_features): Read and set zva_size.
27479 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
27480 (struct cpu_features): New member zva_size.
27481
eb332f9f
SP
27482 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
27483 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
27484 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
27485
4d7632ff
SP
27486 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
27487 backwards. Fix timing computation.
27488 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
27489 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
27490 on memset by N at a time. Fix timing computation.
27491
a465b89e
FW
274922017-11-20 Florian Weimer <fweimer@redhat.com>
27493
27494 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
27495 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
27496
0f74bbf5
FW
274972017-11-19 Florian Weimer <fweimer@redhat.com>
27498
27499 manual: Document mprotect
27500 * manual/memory.texi (Memory Protection): New section.
27501 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
27502 documentation of PROT_* flags and reference the Memory Protection
27503 section instead.
27504
f6e965ee
FW
275052017-11-19 Florian Weimer <fweimer@redhat.com>
27506
27507 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
27508 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
27509 (Scatter-Gather): ... to here. Remove misleading comment.
27510
363e4519 275112017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
ea69a5c8 27512
5f9d1949
CB
27513 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
27514 style.
27515
ea69a5c8
CB
27516 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
27517 when /proc/<pid>/setgroups does not exist.
27518
8db7f48c
FW
275192017-11-18 Florian Weimer <fweimer@redhat.com>
27520
27521 * sysdeps/unix/sysv/linux/tst-ttyname.c
27522 (become_root_in_mount_ns): Remove.
27523 (do_in_chroot_1): Call support_enter_mount_namespace.
27524 (do_in_chroot_2): Likewise.
27525 (do_test): Call support_become_root early.
27526
273a0c49
FW
275272017-11-18 Florian Weimer <fweimer@redhat.com>
27528
27529 * support/namespace.h (support_enter_mount_namespace): Declare.
27530 * support/support_enter_mount_namespace.c: New file.
27531 * support/Makefile (libsupport-routines): Add
27532 support_enter_mount_namespace.
27533
8adfb0ee
FW
275342017-11-18 Florian Weimer <fweimer@redhat.com>
27535
27536 * support/temp_file.c (support_create_temp_directory): Use
27537 test_dir and do not rely on the presence of the XXXXXX suffix.
27538 * support/temp_file.h (support_create_temp_directory): Update
27539 comment.
27540 * support/tst-xreadlink.c (do_test): Adjust.
27541 * support/support_chroot.c (support_chroot_create): Likewise.
27542
df0c40ee
TMQMF
275432017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27544
27545 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
27546 macro.
27547 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
27548 htm-no-suspend.
27549
015c6dc2
JM
275502017-11-17 Joseph Myers <joseph@codesourcery.com>
27551
f58e5f48
JM
27552 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
27553 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
27554 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
27555 (ceill): Define using libm_alias_ldouble.
27556 * sysdeps/x86_64/fpu/s_copysignl.S: Include
27557 <libm-alias-ldouble.h>.
27558 (copysignl): Define using libm_alias_ldouble.
27559 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
27560 (fabsl): Define using libm_alias_ldouble.
27561 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
27562 (floorl): Define using libm_alias_ldouble.
27563 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27564 (fmaxl): Define using libm_alias_ldouble.
27565 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27566 (fminl): Define using libm_alias_ldouble.
27567 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
27568 (llrintl): Define using libm_alias_ldouble.
27569 (lrintl): Likewise.
27570 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
27571 <libm-alias-ldouble.h>.
27572 (nearbyintl): Define using libm_alias_ldouble.
27573 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
27574 (truncl): Define using libm_alias_ldouble.
27575 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
27576 <libm-alias-ldouble.h>.
27577 (lrintl): Define using libm_alias_ldouble.
27578
2ce30701
JM
27579 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
27580 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
27581 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
27582 (asinhl): Define using libm_alias_ldouble.
27583 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
27584 (atanl): Define using libm_alias_ldouble.
27585 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
27586 (cbrtl): Define using libm_alias_ldouble.
27587 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
27588 (ceill): Define using libm_alias_ldouble.
27589 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
27590 (copysignl): Define using libm_alias_ldouble.
27591 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
27592 (fabsl): Define using libm_alias_ldouble.
27593 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
27594 (floorl): Define using libm_alias_ldouble.
27595 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27596 (fmaxl): Define using libm_alias_ldouble.
27597 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27598 (fminl): Define using libm_alias_ldouble.
27599 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
27600 (frexpl): Define using libm_alias_ldouble.
27601 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
27602 (llrintl): Define using libm_alias_ldouble.
27603 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
27604 (logbl): Define using libm_alias_ldouble.
27605 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
27606 (lrintl): Define using libm_alias_ldouble.
27607 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
27608 (nearbyintl): Define using libm_alias_ldouble.
27609 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
27610 (nextafterl): Define using libm_alias_ldouble.
27611 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
27612 (remquol): Define using libm_alias_ldouble.
27613 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
27614 (rintl): Define using libm_alias_ldouble.
27615 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
27616 (truncl): Define using libm_alias_ldouble.
27617 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27618 (fmaxl): Define using libm_alias_ldouble.
27619 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27620 (fminl): Define using libm_alias_ldouble.
27621
015c6dc2
JM
27622 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
27623 to C syntax instead of availability and properties of types.
27624 * bits/floatn.h [!__ASSEMBLER]: Likewise.
27625 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
27626 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
27627 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
27628 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
27629 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
27630
ce003e5d
FW
276312017-11-17 Florian Weimer <fweimer@redhat.com>
27632
27633 support_become_root: Enable file creation in namespaces.
27634 * support/support_become_root.c (setup_mapping): New function.
27635 (support_become_root): Call it.
27636
e7df6c5c
JM
276372017-11-17 Joseph Myers <joseph@codesourcery.com>
27638
27639 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
27640 macro.
27641
58a813bf
AZ
276422017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27643
27644 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
27645 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
27646
f97773d1
JM
276472017-11-16 Joseph Myers <joseph@codesourcery.com>
27648
6a6aa1f3
JM
27649 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
27650
f97773d1
JM
27651 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
27652 version to 4.14.
27653
a306c790
SP
276542017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
27655
7b0fb870
SP
27656 * INSTALL: Fix botched up regeneration.
27657
27658 * NEWS: Update sourceare link to https.
a306c790
SP
27659 * configure.ac: Likewise.
27660 * crypt/md5test-giant.c: Likewise.
27661 * dlfcn/bug-atexit1.c: Likewise.
27662 * dlfcn/bug-atexit2.c: Likewise.
27663 * localedata/README: Likewise.
27664 * malloc/tst-mallocfork.c: Likewise.
27665 * manual/install.texi: Likewise.
27666 * nptl/tst-pthread-getattr.c: Likewise.
27667 * stdio-common/tst-fgets.c: Likewise.
27668 * stdio-common/tst-fwrite.c: Likewise.
27669 * sunrpc/Makefile: Likewise.
27670 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
27671 * wcsmbs/tst-mbrtowc2.c: Likewise.
7b0fb870
SP
27672 * configure: Regenerate.
27673 * INSTALL: Regenerate.
a306c790 27674
7532837d
MS
276752017-11-15 Martin Sebor <msebor@redhat.com>
27676
27677 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
27678 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
27679 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
27680
495a56fd
LS
276812017-11-15 Luke Shumaker <lukeshu@parabola.nu>
27682
d9611e30
LS
27683 [BZ #22145]
27684 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
27685 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
27686
a09dfc19
LS
27687 [BZ #22145]
27688 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
27689 Defer is_pty check until end of the function.
27690 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27691
2fbce9c2
LS
27692 [BZ #22145]
27693 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
27694 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
27695 (ttyname): Likewise.
27696 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
27697 (__ttyname_r): Likewise.
27698
d10d6cab
LS
27699 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
27700 int to bool.
27701
9b5a8750
LS
27702 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
27703
495a56fd
LS
27704 * manual/terminal.texi (Is It a Terminal):
27705 Mention ENODEV for ttyname and ttyname_r.
27706
fa680dc6
JM
277072017-11-15 Joseph Myers <joseph@codesourcery.com>
27708
78cde19f
JM
27709 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
27710 constant and macro.
27711
fa680dc6
JM
27712 * sysdeps/unix/sysv/linux/bits/mman-linux.h
27713 [__USE_MISC] (MADV_WIPEONFORK): New macro.
27714 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
27715 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
27716 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
27717 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
27718
ad4f43a2
AZ
277192017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27720
1ba1d8a4
AZ
27721 * signal/sigrelse.c (sigrelse): Optimize implementation.
27722
ad4f43a2
AZ
27723 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
27724 (__sigpause): Rely on __sigsuspend to implement single thread
27725 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
27726
d0212d42
JM
277272017-11-15 Joseph Myers <joseph@codesourcery.com>
27728
27729 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
27730 kernel version to 4.14.
27731
2180fee1
SE
277322017-11-15 Steve Ellcey <sellcey@cavium.com>
27733
27734 [BZ #22442]
27735 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
27736 Check if ifname is too long.
27737
cad7ca39
LS
277382017-11-15 Luke Shumaker <lukeshu@parabola.nu>
27739
27740 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
27741
58c9f659
MF
277422017-11-15 Mike FABIAN <mfabian@redhat.com>
27743
27744 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
27745 was accidentally lost.
27746
0fa87c01
MF
277472017-11-15 Mike FABIAN <mfabian@redhat.com>
27748
27749 * localedata/locales/az_IR: Add standard copyright header.
27750
34eb4157
FW
277512017-11-15 Florian Weimer <fweimer@redhat.com>
27752
27753 [BZ #22439]
27754 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
27755 not just the top one. Output a new "subheaps" statistic.
27756
7a9368a1
FW
277572017-11-15 Florian Weimer <fweimer@redhat.com>
27758
27759 [BZ #22408]
27760 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
27761 under the per-arena lock.
27762 * malloc/Makefile (tests): Add tst-malloc_info.
27763 (tst-malloc_info): Link with libpthread.
27764 * malloc/tst-malloc_info.c: New file.
27765
be3a79a3
JM
277662017-11-15 Joseph Myers <joseph@codesourcery.com>
27767
27768 [BZ #21660]
27769 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
27770 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
27771 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
27772 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
27773 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
27774 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
27775 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
27776 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
27777 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
27778 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
27779 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
27780 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
27781 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
27782 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
27783 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
27784 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
27785 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
27786 (__floating_type): Likewise.
27787 (__real_integer_type): Likewise.
27788 (__complex_integer_type): Likewise.
27789 (__expr_is_real): Likewise.
27790 (__tgmath_real_type_sub): Likewise.
27791 (__tgmath_real_type): Likewise.
27792 (__tgmath_complex_type_sub): Likewise.
27793 (__tgmath_complex_type): Likewise.
27794 (__TGMATH_F128): Likewise.
27795 (__TGMATH_CF128): Likewise.
27796 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
27797 new macros.
27798 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
27799 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
27800 Likewise.
27801 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
27802 Likewise.
27803 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
27804 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
27805 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
27806 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
27807 Likewise.
27808 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
27809 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
27810 Likewise.
27811 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
27812 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
27813 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
27814 Likewise.
27815 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
27816 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
27817 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
27818 (cimag): Likewise.
27819 (creal): Likewise.
27820
ec72135e
JM
278212017-11-14 Joseph Myers <joseph@codesourcery.com>
27822
2e64ec9c
JM
27823 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
27824 for stpncpy calls for GCC 8.
27825 (test_strncat): Disable -Wstringop-truncation warning for strncat
27826 calls for GCC 8. Disable -Wstringop-overflow= warning for one
27827 strncat call for GCC 7.
27828 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
27829 calls for GCC 8.
27830 (test_memcmp): Use memcpy instead of strncpy for calls not copying
27831 trailing NUL.
27832
ec72135e
JM
27833 * string/bug-strncat1.c: Include <libc-diag.h>.
27834 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
27835
363e4519 278362017-11-13 Claude Paroz <claude@2xlibre.net>
a259f5d3
CP
27837
27838 [BZ #22387]
27839 * localedata/locales/aa_DJ: Improved readibility by replacing
27840 <Uxxxx> sequences in the ASCII printable range by their ASCII
27841 character equivalents.
27842 * localedata/locales/aa_ER: Likewise.
27843 * localedata/locales/aa_ER@saaho: Likewise.
27844 * localedata/locales/aa_ET: Likewise.
27845 * localedata/locales/af_ZA: Likewise.
27846 * localedata/locales/agr_PE: Likewise.
27847 * localedata/locales/ak_GH: Likewise.
27848 * localedata/locales/am_ET: Likewise.
27849 * localedata/locales/anp_IN: Likewise.
27850 * localedata/locales/ar_AE: Likewise.
27851 * localedata/locales/ar_BH: Likewise.
27852 * localedata/locales/ar_DZ: Likewise.
27853 * localedata/locales/ar_EG: Likewise.
27854 * localedata/locales/ar_IN: Likewise.
27855 * localedata/locales/ar_IQ: Likewise.
27856 * localedata/locales/ar_JO: Likewise.
27857 * localedata/locales/ar_KW: Likewise.
27858 * localedata/locales/ar_LB: Likewise.
27859 * localedata/locales/ar_LY: Likewise.
27860 * localedata/locales/ar_MA: Likewise.
27861 * localedata/locales/ar_OM: Likewise.
27862 * localedata/locales/ar_QA: Likewise.
27863 * localedata/locales/ar_SA: Likewise.
27864 * localedata/locales/ar_SD: Likewise.
27865 * localedata/locales/ar_SS: Likewise.
27866 * localedata/locales/ar_SY: Likewise.
27867 * localedata/locales/ar_TN: Likewise.
27868 * localedata/locales/ar_YE: Likewise.
27869 * localedata/locales/as_IN: Likewise.
27870 * localedata/locales/ast_ES: Likewise.
27871 * localedata/locales/ayc_PE: Likewise.
27872 * localedata/locales/az_AZ: Likewise.
27873 * localedata/locales/az_IR: Likewise.
27874 * localedata/locales/be_BY: Likewise.
27875 * localedata/locales/be_BY@latin: Likewise.
27876 * localedata/locales/bem_ZM: Likewise.
27877 * localedata/locales/ber_DZ: Likewise.
27878 * localedata/locales/ber_MA: Likewise.
27879 * localedata/locales/bg_BG: Likewise.
27880 * localedata/locales/bhb_IN: Likewise.
27881 * localedata/locales/bho_IN: Likewise.
27882 * localedata/locales/bi_VU: Likewise.
27883 * localedata/locales/bn_BD: Likewise.
27884 * localedata/locales/bn_IN: Likewise.
27885 * localedata/locales/bo_CN: Likewise.
27886 * localedata/locales/bo_IN: Likewise.
27887 * localedata/locales/br_FR: Likewise.
27888 * localedata/locales/brx_IN: Likewise.
27889 * localedata/locales/bs_BA: Likewise.
27890 * localedata/locales/byn_ER: Likewise.
27891 * localedata/locales/ca_AD: Likewise.
27892 * localedata/locales/ca_ES: Likewise.
27893 * localedata/locales/ca_FR: Likewise.
27894 * localedata/locales/ca_IT: Likewise.
27895 * localedata/locales/ce_RU: Likewise.
27896 * localedata/locales/chr_US: Likewise.
27897 * localedata/locales/cmn_TW: Likewise.
27898 * localedata/locales/crh_UA: Likewise.
27899 * localedata/locales/cs_CZ: Likewise.
27900 * localedata/locales/csb_PL: Likewise.
27901 * localedata/locales/cv_RU: Likewise.
27902 * localedata/locales/cy_GB: Likewise.
27903 * localedata/locales/da_DK: Likewise.
27904 * localedata/locales/de_AT: Likewise.
27905 * localedata/locales/de_BE: Likewise.
27906 * localedata/locales/de_CH: Likewise.
27907 * localedata/locales/de_DE: Likewise.
27908 * localedata/locales/de_IT: Likewise.
27909 * localedata/locales/de_LI: Likewise.
27910 * localedata/locales/de_LU: Likewise.
27911 * localedata/locales/doi_IN: Likewise.
27912 * localedata/locales/dv_MV: Likewise.
27913 * localedata/locales/dz_BT: Likewise.
27914 * localedata/locales/el_CY: Likewise.
27915 * localedata/locales/el_GR: Likewise.
27916 * localedata/locales/en_AG: Likewise.
27917 * localedata/locales/en_AU: Likewise.
27918 * localedata/locales/en_BW: Likewise.
27919 * localedata/locales/en_CA: Likewise.
27920 * localedata/locales/en_DK: Likewise.
27921 * localedata/locales/en_GB: Likewise.
27922 * localedata/locales/en_HK: Likewise.
27923 * localedata/locales/en_IE: Likewise.
27924 * localedata/locales/en_IL: Likewise.
27925 * localedata/locales/en_IN: Likewise.
27926 * localedata/locales/en_NG: Likewise.
27927 * localedata/locales/en_NZ: Likewise.
27928 * localedata/locales/en_PH: Likewise.
27929 * localedata/locales/en_SG: Likewise.
27930 * localedata/locales/en_US: Likewise.
27931 * localedata/locales/en_ZA: Likewise.
27932 * localedata/locales/en_ZM: Likewise.
27933 * localedata/locales/en_ZW: Likewise.
27934 * localedata/locales/eo: Likewise.
27935 * localedata/locales/es_AR: Likewise.
27936 * localedata/locales/es_BO: Likewise.
27937 * localedata/locales/es_CL: Likewise.
27938 * localedata/locales/es_CO: Likewise.
27939 * localedata/locales/es_CR: Likewise.
27940 * localedata/locales/es_CU: Likewise.
27941 * localedata/locales/es_DO: Likewise.
27942 * localedata/locales/es_EC: Likewise.
27943 * localedata/locales/es_ES: Likewise.
27944 * localedata/locales/es_GT: Likewise.
27945 * localedata/locales/es_HN: Likewise.
27946 * localedata/locales/es_MX: Likewise.
27947 * localedata/locales/es_NI: Likewise.
27948 * localedata/locales/es_PA: Likewise.
27949 * localedata/locales/es_PE: Likewise.
27950 * localedata/locales/es_PR: Likewise.
27951 * localedata/locales/es_PY: Likewise.
27952 * localedata/locales/es_SV: Likewise.
27953 * localedata/locales/es_US: Likewise.
27954 * localedata/locales/es_UY: Likewise.
27955 * localedata/locales/es_VE: Likewise.
27956 * localedata/locales/et_EE: Likewise.
27957 * localedata/locales/eu_ES: Likewise.
27958 * localedata/locales/eu_ES@euro: Likewise.
27959 * localedata/locales/fa_IR: Likewise.
27960 * localedata/locales/ff_SN: Likewise.
27961 * localedata/locales/fi_FI: Likewise.
27962 * localedata/locales/fil_PH: Likewise.
27963 * localedata/locales/fo_FO: Likewise.
27964 * localedata/locales/fr_BE: Likewise.
27965 * localedata/locales/fr_CA: Likewise.
27966 * localedata/locales/fr_CH: Likewise.
27967 * localedata/locales/fr_FR: Likewise.
27968 * localedata/locales/fr_LU: Likewise.
27969 * localedata/locales/fur_IT: Likewise.
27970 * localedata/locales/fy_DE: Likewise.
27971 * localedata/locales/fy_NL: Likewise.
27972 * localedata/locales/ga_IE: Likewise.
27973 * localedata/locales/gd_GB: Likewise.
27974 * localedata/locales/gez_ER: Likewise.
27975 * localedata/locales/gez_ET: Likewise.
27976 * localedata/locales/gl_ES: Likewise.
27977 * localedata/locales/gu_IN: Likewise.
27978 * localedata/locales/gv_GB: Likewise.
27979 * localedata/locales/ha_NG: Likewise.
27980 * localedata/locales/hak_TW: Likewise.
27981 * localedata/locales/he_IL: Likewise.
27982 * localedata/locales/hi_IN: Likewise.
27983 * localedata/locales/hif_FJ: Likewise.
27984 * localedata/locales/hne_IN: Likewise.
27985 * localedata/locales/hr_HR: Likewise.
27986 * localedata/locales/hsb_DE: Likewise.
27987 * localedata/locales/ht_HT: Likewise.
27988 * localedata/locales/hu_HU: Likewise.
27989 * localedata/locales/hy_AM: Likewise.
27990 * localedata/locales/i18n: Likewise.
27991 * localedata/locales/ia_FR: Likewise.
27992 * localedata/locales/id_ID: Likewise.
27993 * localedata/locales/ig_NG: Likewise.
27994 * localedata/locales/ik_CA: Likewise.
27995 * localedata/locales/is_IS: Likewise.
27996 * localedata/locales/it_CH: Likewise.
27997 * localedata/locales/it_IT: Likewise.
27998 * localedata/locales/iu_CA: Likewise.
27999 * localedata/locales/ja_JP: Likewise.
28000 * localedata/locales/ka_GE: Likewise.
28001 * localedata/locales/kk_KZ: Likewise.
28002 * localedata/locales/kl_GL: Likewise.
28003 * localedata/locales/kn_IN: Likewise.
28004 * localedata/locales/ko_KR: Likewise.
28005 * localedata/locales/kok_IN: Likewise.
28006 * localedata/locales/ks_IN: Likewise.
28007 * localedata/locales/ks_IN@devanagari: Likewise.
28008 * localedata/locales/ku_TR: Likewise.
28009 * localedata/locales/kw_GB: Likewise.
28010 * localedata/locales/ky_KG: Likewise.
28011 * localedata/locales/lb_LU: Likewise.
28012 * localedata/locales/lg_UG: Likewise.
28013 * localedata/locales/li_BE: Likewise.
28014 * localedata/locales/li_NL: Likewise.
28015 * localedata/locales/lij_IT: Likewise.
28016 * localedata/locales/ln_CD: Likewise.
28017 * localedata/locales/lo_LA: Likewise.
28018 * localedata/locales/lt_LT: Likewise.
28019 * localedata/locales/lv_LV: Likewise.
28020 * localedata/locales/lzh_TW: Likewise.
28021 * localedata/locales/mag_IN: Likewise.
28022 * localedata/locales/mai_IN: Likewise.
28023 * localedata/locales/mg_MG: Likewise.
28024 * localedata/locales/mhr_RU: Likewise.
28025 * localedata/locales/mi_NZ: Likewise.
28026 * localedata/locales/mk_MK: Likewise.
28027 * localedata/locales/ml_IN: Likewise.
28028 * localedata/locales/mn_MN: Likewise.
28029 * localedata/locales/mni_IN: Likewise.
28030 * localedata/locales/mr_IN: Likewise.
28031 * localedata/locales/ms_MY: Likewise.
28032 * localedata/locales/mt_MT: Likewise.
28033 * localedata/locales/my_MM: Likewise.
28034 * localedata/locales/nan_TW: Likewise.
28035 * localedata/locales/nan_TW@latin: Likewise.
28036 * localedata/locales/nb_NO: Likewise.
28037 * localedata/locales/nds_DE: Likewise.
28038 * localedata/locales/nds_NL: Likewise.
28039 * localedata/locales/ne_NP: Likewise.
28040 * localedata/locales/nhn_MX: Likewise.
28041 * localedata/locales/niu_NU: Likewise.
28042 * localedata/locales/niu_NZ: Likewise.
28043 * localedata/locales/nl_AW: Likewise.
28044 * localedata/locales/nl_BE: Likewise.
28045 * localedata/locales/nl_NL: Likewise.
28046 * localedata/locales/nn_NO: Likewise.
28047 * localedata/locales/nr_ZA: Likewise.
28048 * localedata/locales/nso_ZA: Likewise.
28049 * localedata/locales/oc_FR: Likewise.
28050 * localedata/locales/om_ET: Likewise.
28051 * localedata/locales/om_KE: Likewise.
28052 * localedata/locales/or_IN: Likewise.
28053 * localedata/locales/os_RU: Likewise.
28054 * localedata/locales/pa_IN: Likewise.
28055 * localedata/locales/pa_PK: Likewise.
28056 * localedata/locales/pap_AW: Likewise.
28057 * localedata/locales/pap_CW: Likewise.
28058 * localedata/locales/pl_PL: Likewise.
28059 * localedata/locales/ps_AF: Likewise.
28060 * localedata/locales/pt_BR: Likewise.
28061 * localedata/locales/pt_PT: Likewise.
28062 * localedata/locales/quz_PE: Likewise.
28063 * localedata/locales/raj_IN: Likewise.
28064 * localedata/locales/ro_RO: Likewise.
28065 * localedata/locales/ru_RU: Likewise.
28066 * localedata/locales/ru_UA: Likewise.
28067 * localedata/locales/rw_RW: Likewise.
28068 * localedata/locales/sa_IN: Likewise.
28069 * localedata/locales/sat_IN: Likewise.
28070 * localedata/locales/sc_IT: Likewise.
28071 * localedata/locales/sd_IN: Likewise.
28072 * localedata/locales/sd_IN@devanagari: Likewise.
28073 * localedata/locales/se_NO: Likewise.
28074 * localedata/locales/sgs_LT: Likewise.
28075 * localedata/locales/shs_CA: Likewise.
28076 * localedata/locales/si_LK: Likewise.
28077 * localedata/locales/sid_ET: Likewise.
28078 * localedata/locales/sk_SK: Likewise.
28079 * localedata/locales/sl_SI: Likewise.
28080 * localedata/locales/sm_WS: Likewise.
28081 * localedata/locales/so_DJ: Likewise.
28082 * localedata/locales/so_ET: Likewise.
28083 * localedata/locales/so_KE: Likewise.
28084 * localedata/locales/so_SO: Likewise.
28085 * localedata/locales/sq_AL: Likewise.
28086 * localedata/locales/sq_MK: Likewise.
28087 * localedata/locales/sr_ME: Likewise.
28088 * localedata/locales/sr_RS: Likewise.
28089 * localedata/locales/sr_RS@latin: Likewise.
28090 * localedata/locales/ss_ZA: Likewise.
28091 * localedata/locales/st_ZA: Likewise.
28092 * localedata/locales/sv_FI: Likewise.
28093 * localedata/locales/sv_SE: Likewise.
28094 * localedata/locales/sw_KE: Likewise.
28095 * localedata/locales/sw_TZ: Likewise.
28096 * localedata/locales/szl_PL: Likewise.
28097 * localedata/locales/ta_IN: Likewise.
28098 * localedata/locales/ta_LK: Likewise.
28099 * localedata/locales/tcy_IN: Likewise.
28100 * localedata/locales/te_IN: Likewise.
28101 * localedata/locales/tg_TJ: Likewise.
28102 * localedata/locales/th_TH: Likewise.
28103 * localedata/locales/the_NP: Likewise.
28104 * localedata/locales/ti_ER: Likewise.
28105 * localedata/locales/ti_ET: Likewise.
28106 * localedata/locales/tig_ER: Likewise.
28107 * localedata/locales/tk_TM: Likewise.
28108 * localedata/locales/tl_PH: Likewise.
28109 * localedata/locales/tn_ZA: Likewise.
28110 * localedata/locales/to_TO: Likewise.
28111 * localedata/locales/tpi_PG: Likewise.
28112 * localedata/locales/tr_CY: Likewise.
28113 * localedata/locales/tr_TR: Likewise.
28114 * localedata/locales/ts_ZA: Likewise.
28115 * localedata/locales/tt_RU: Likewise.
28116 * localedata/locales/tt_RU@iqtelif: Likewise.
28117 * localedata/locales/ug_CN: Likewise.
28118 * localedata/locales/uk_UA: Likewise.
28119 * localedata/locales/unm_US: Likewise.
28120 * localedata/locales/ur_IN: Likewise.
28121 * localedata/locales/ur_PK: Likewise.
28122 * localedata/locales/uz_UZ: Likewise.
28123 * localedata/locales/uz_UZ@cyrillic: Likewise.
28124 * localedata/locales/ve_ZA: Likewise.
28125 * localedata/locales/vi_VN: Likewise.
28126 * localedata/locales/wa_BE: Likewise.
28127 * localedata/locales/wae_CH: Likewise.
28128 * localedata/locales/wal_ET: Likewise.
28129 * localedata/locales/wo_SN: Likewise.
28130 * localedata/locales/xh_ZA: Likewise.
28131 * localedata/locales/yi_US: Likewise.
28132 * localedata/locales/yo_NG: Likewise.
28133 * localedata/locales/yue_HK: Likewise.
28134 * localedata/locales/yuw_PG: Likewise.
28135 * localedata/locales/zh_CN: Likewise.
28136 * localedata/locales/zh_HK: Likewise.
28137 * localedata/locales/zh_SG: Likewise.
28138 * localedata/locales/zh_TW: Likewise.
28139 * localedata/locales/zu_ZA: Likewise.
28140
cae87e64
FW
281412017-11-13 Florian Weimer <fweimer@redhat.com>
28142
28143 * support/next_to_fault.h, support/next_to_fault.c: New files.
28144 * support/Makefile (libsupport-routines): Add next_to_fault.
28145 * resolv/tst-inet_pton.c (struct next_to_fault)
28146 (next_to_fault_allocate, next_to_fault_free): Remove.
28147 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
28148
4a306ef1
L
281492017-11-13 H.J. Lu <hongjiu.lu@intel.com>
28150
28151 * elf/dl-support.c: Include <dl-procruntime.c>.
28152 * include/link.h: Include <link_map.h>.
28153 * sysdeps/generic/dl-procruntime.c: New file.
28154 * sysdeps/generic/link_map.h: Likewise.
28155 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
28156 the writable ld.so namespace.
28157
e69897bf
PE
281582017-11-12 Paul Eggert <eggert@cs.ucla.edu>
28159
28160 timezone: pacify GCC -Wstringop-truncation
28161 Problem reported by Martin Sebor in:
28162 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
28163 * timezone/zic.c (writezone): Use memcpy, not strncpy.
28164
1ffe1ccb
FW
281652017-11-12 Florian Weimer <fweimer@redhat.com>
28166
eceed671
FW
28167 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
28168 tst-xreadlink.
28169 (tests): Add tst-xreadlink.
1ffe1ccb
FW
28170 * support/support.h (xstrndup): Declare.
28171 * support/xunistd.h (xunlink, xreadlink): Declare.
28172 * support/temp_file.h (support_create_temp_directory): Declare.
28173 * support/temp_file.c (support_create_temp_directory): New function.
28174 * support/support_chroot.c (support_chroot_create): Use it.
28175 * support/xreadlink.c: New file.
28176 * support/xstrndup.c: Likewise.
28177 * support/xunlink.c: Likewise.
28178 * support/tst-xreadlink.c: Likewise.
28179
456b40a9
JDA
281802017-11-11 John David Anglin <danglin@gcc.gnu.org>
28181
28182 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
28183
c0a25aa9
FW
281842017-11-11 Florian Weimer <fweimer@redhat.com>
28185
28186 [BZ #22409]
28187 [BZ #22412]
28188 * resolv/res_comp.c (printable_string, binary_hnok)
28189 (binary_leading_dash): New functions.
28190 (res_hnok): Reimplement using these functions and ns_name_pton.
28191 (res_ownok): Likewise.
28192 (res_mailok): Reimplement using printable_string, ns_name_pton and
28193 binary_hnok.
28194 (res_dnok): Reimplement using printable_string and ns_name_pton.
28195 * resolv/tst-res_hnok.c (tests): Add additional tests.
28196 (LETTERDIGITS, PRINTABLE): Define.
28197 (do_test): Adjust one_char results.
28198
9e0ad304
FW
281992017-11-11 Florian Weimer <fweimer@redhat.com>
28200
28201 [BZ #22413]
28202 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
28203 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
28204
e2a9fca8
FW
282052017-11-11 Florian Weimer <fweimer@redhat.com>
28206
28207 * resolv/tst-ns_name_pton.c: New file.
28208 * resolv/Makefile (tests): Add tst-ns_name_pton.
28209 (tst-ns_name_pton): Link against libresolv.
28210
5c1a6923
FW
282112017-11-11 Florian Weimer <fweimer@redhat.com>
28212
28213 * resolv/tst-res_hnok.c: New file.
28214 * resolv/Makefile (tests): Add tst-res_hnok.
28215 (tst-res_hnok): Link against libresolv.
28216
a19c0a1d
FW
282172017-11-11 Florian Weimer <fweimer@redhat.com>
28218
28219 * resolv/tst-resolv-network.c: Use test framework instead explicit
28220 main function.
28221
8cb5295d
L
282222017-11-09 H.J. Lu <hongjiu.lu@intel.com>
28223
28224 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
28225 <jmp_buf-macros.h>.
28226 [!_ISOMAC] (STR_HELPER): New.
28227 [!_ISOMAC] (STR): Likewise.
28228 [!_ISOMAC] (TEST_SIZE): Likewise.
28229 [!_ISOMAC] (TEST_ALIGN): Likewise.
28230 [!_ISOMAC] (TEST_OFFSET): Likewise.
28231 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
28232 field offsets of jmp_buf as well as sigjmp_buf.
28233 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
28234 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
28235 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
28236 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
28237 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
28238 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
28239 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
28240 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
28241 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
28242 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
28243 Likewise.
28244 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
28245 Likewise.
28246 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
28247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
28248 Likewise.
28249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
28250 Likewise.
28251 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
28252 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
28253 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
28254 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
28255 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
28256 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
28257 Likewise.
28258 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
28259 Likewise.
28260 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
28261 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
28262 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
28263
58c4a161
JM
282642017-11-07 Joseph Myers <joseph@codesourcery.com>
28265
3683b423
JM
28266 * include/float.h
28267 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28268 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
28269 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28270 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
28271 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28272 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
28273 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28274 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
28275 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28276 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
28277 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28278 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
28279 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28280 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
28281 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28282 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
28283 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28284 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
28285 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28286 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
28287 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28288 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
28289 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28290 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
28291 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28292 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
28293 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28294 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
28295 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28296 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
28297 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28298 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
28299 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28300 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
28301 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28302 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
28303 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28304 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
28305 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28306 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
28307 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28308 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
28309 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28310 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
28311 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28312 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
28313 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28314 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
28315 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28316 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
28317 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28318 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
28319 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28320 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
28321 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28322 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
28323 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28324 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
28325 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28326 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
28327 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28328 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
28329 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28330 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
28331 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28332 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
28333 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28334 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
28335 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28336 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
28337 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28338 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
28339 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28340 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
28341 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28342 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
28343 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28344 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
28345 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28346 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
28347 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28348 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
28349 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28350 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
28351 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28352 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
28353 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28354 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
28355
58c4a161
JM
28356 * stdlib/tst-strtod.h (F16): New macro.
28357 (F32): Likewise.
28358 (F64): Likewise.
28359 (F32X): Likewise.
28360 (F64X): Likewise.
28361 (F128X): Likewise.
28362 (IF_FLOAT16): Likewise.
28363 (IF_FLOAT32): Likewise.
28364 (IF_FLOAT64): Likewise.
28365 (IF_FLOAT32X): Likewise.
28366 (IF_FLOAT64X): Likewise.
28367 (IF_FLOAT128X): Likewise.
28368 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
28369 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
28370 (STRTOD_TEST_FOREACH): Likewise.
28371 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
28372 (CHOOSE_f64): Likewise.
28373 (CHOOSE_f32x): Likewise.
28374 (CHOOSE_f64x): Likewise.
28375
feda96a1
AS
283762017-11-07 Andreas Schwab <schwab@suse.de>
28377
28378 * nptl/Makefile (tests-internal): Remove tst-typesizes.
28379
1bd0cbb8
MF
283802017-11-07 Mike FABIAN <mfabian@redhat.com>
28381
28382 [BZ #22403]
28383 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
28384 to be escaped.
28385 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
28386 to be escaped.
28387
363e4519 283882017-11-07 Claude Paroz <claude@2xlibre.net>
d8301314
CP
28389
28390 [BZ #22403]
28391 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
28392 to be escaped.
28393 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
28394 to be escaped.
28395 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
28396 to be escaped.
28397
dff91cd4
AZ
283982017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28399
06be6368
AZ
28400 [BZ #22298]
28401 * nptl/allocatestack.c (allocate_stack): Check if
28402 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
28403 __PTHREAD_MUTEX_HAVE_PREV is defined.
28404 * nptl/descr.h (pthread): Likewise.
28405 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
28406 Likewise.
28407 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
28408 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
28409 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
28410 * sysdeps/nptl/bits/thread-shared-types.h
28411 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
28412 defines.
28413 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
28414 of __WORDSIZE for internal layout.
28415 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
28416 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
28417 instead of __WORDSIZE whether to use an union for __spins and __list
28418 fields.
28419 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
28420 case.
28421 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
28422 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
28423 defines.
28424 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
28425 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28426 Likewise.
28427 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
28428 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28429 Likewise.
28430 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
28431 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28432 Likewise.
28433 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
28434 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28435 Likewise.
28436 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
28437 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28438 Likewise.
28439 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
28440 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28441 Likewise.
28442 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
28443 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28444 Likewise.
28445 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
28446 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28447 Likewise.
28448 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
28449 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28450 Likewise.
28451 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
28452 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28453 Likewise.
28454 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
28455 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28456 Likewise.
28457 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
28458 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28459 Likewise.
28460 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
28461 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28462 Likewise.
28463 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
28464 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28465 Likewise.
28466
72b3c6ee
AZ
28467 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
28468 New macros.
28469 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
28470 checks for expected input type size.
28471 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
28472 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
28473 Likewise.
28474 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
28475 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
28476 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
28477 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
28478 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
28479 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
28480 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
28481 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
28482 superflous runtime assert check.
28483 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
28484 Likewise.
28485 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
28486 Likewise.
28487 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
28488 Likewise.
28489 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
28490 Likewise.
28491 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
28492 Likewise.
28493 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
28494 Likewise.
28495 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
28496 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
28497 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
28498 Likewise.
28499 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
28500 Likewise.
28501 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
28502 Likewise.
28503 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
28504 Likewise.
28505 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
28506 Likewise.
28507 * nptl/pthread_attr_setinheritsched.c
28508 (__pthread_attr_setinheritsched): Likewise.
28509 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
28510 Likewise.
28511 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
28512 Likewise.
28513 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
28514 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
28515 __old_pthread_attr_setstack): Likewise.
28516 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
28517 Likewise.
28518 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
28519 Likewise.
28520 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
28521 Likewise.
28522 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
28523 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
28524 Likewise.
28525 * nptl/tst-typesizes.c: Remove file.
28526
dff91cd4
AZ
28527 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
28528 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
28529 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
28530 checks for internal pthread_mutex_t offsets.
28531 * sysdeps/aarch64/nptl/pthread-offsets.h
28532 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
28533 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
28534 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
28535 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
28536 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
28537 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
28538 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
28539 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
28540 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
28541 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
28542 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
28543 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
28544 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
28545 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
28546 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
28547 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
28548 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
28549 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
28550
b7fc95f8
FW
285512017-11-07 Florian Weimer <fweimer@redhat.com>
28552
28553 * bits/mman-linux.h: Move ...
28554 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
28555 comment.
28556 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
28557 outdated comment.
28558
6b860364
RS
285592017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28560
28561 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
28562 Redefine STRNLEN as __strnlen_power8.
28563
802c1f16
AZ
285642017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28565
d83da3a4
AZ
28566 * signal/sighold.c (sighold): Optimize implementation.
28567
6a4235f1
AZ
28568 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
28569 __NR_rt_sigqueueinfo.
28570
8b0e795a
AZ
28571 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
28572 __sigtimedwait.
28573 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
28574 assume __NR_rt_sigtimedwait.
28575 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
28576 and add LIBC_CANCEL_HANDLED for cancellation marking.
28577 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
28578
a1a638dd
AZ
28579 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
28580 (sysdeps_routines): Add memchr_noneon.
28581 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
28582 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
28583 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
28584 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
28585 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
28586 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
28587 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
28588
802c1f16
AZ
28589 * sysdeps/arm/arm-ifunc.h: New file.
28590 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
28591 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
28592 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
28593 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
28594 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
28595 (__memcpy_neon): Avoid create hidden alias.
28596 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
28597 (__memcpy_vfp): Likewise.
28598 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
28599 (sysdep_routines): Add memcpy_arm.
28600 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
28601
abcb584d
L
286022017-11-06 H.J. Lu <hongjiu.lu@intel.com>
28603
28604 [BZ #22362]
28605 * Makerules (make-link-multidir): New.
28606 * config.make.in (multidir): New.
28607 * configure.ac (libc_cv_multidir): New. AC_SUBST.
28608 * configure: Regenerated.
28609 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
28610 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
28611 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
28612 New target.
28613
4e2dff67
JM
286142017-11-06 Joseph Myers <joseph@codesourcery.com>
28615
28616 [BZ #22402]
28617 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
28618 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
28619
a1c7cd3c
MF
286202017-11-04 Mike FABIAN <mfabian@redhat.com>
28621
28622 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
28623 to be escaped.
28624
b9af29c0
FW
286252017-11-04 Florian Weimer <fweimer@redhat.com>
28626
28627 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
28628
4ca70e1a
JM
286292017-11-03 Joseph Myers <joseph@codesourcery.com>
28630
28631 * math/math.h [__HAVE_DISTINCT_FLOAT16
28632 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
28633 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
28634 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
28635 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
28636 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
28637 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
28638 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28639 (__MATH_TG_F32): New macro.
28640 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28641 (__MATH_TG_F64X): Likewise.
28642 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28643 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
28644
ba0e6668
DL
286452017-11-03 Dmitry V. Levin <ldv@altlinux.org>
28646
28647 * po/de.po: Update translations.
28648 * po/ru.po: Likewise.
28649
bc18a6d3
FW
286502017-11-03 Florian Weimer <fweimer@redhat.com>
28651
28652 * manual/filesys.texi (Hard Links): Document linkat.
28653
97255170
JM
286542017-11-03 Joseph Myers <joseph@codesourcery.com>
28655
86ec4865
JM
28656 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
28657 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
28658 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
28659 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
28660 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
28661 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
28662 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
28663 the same as _Float128.
28664 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
28665 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
28666 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
28667
97255170
JM
28668 * stdlib/stdlib.h
28669 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
28670 Declare.
28671 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
28672 Likewise.
28673 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
28674 Likewise.
28675 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28676 (strtof32x): Likewise.
28677 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28678 (strtof64x): Likewise.
28679 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28680 (strtof128x): Likewise.
28681 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28682 (strfromf16): Likewise.
28683 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28684 (strfromf32): Likewise.
28685 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28686 (strfromf64): Likewise.
28687 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28688 (strfromf32x): Likewise.
28689 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28690 (strfromf64x): Likewise.
28691 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28692 (strfromf128x): Likewise.
28693 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
28694 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
28695 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
28696 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
28697 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
28698 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
28699
6d58ce5e
RH
287002017-11-03 Richard Henderson <rth@twiddle.net>
28701
28702 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
28703
659ca267
SN
287042017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28705
28706 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
28707
94d2f0af
SN
287082017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28709
28710 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
28711 DT_TLSDESC_GOT initialization.
28712 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
28713 (_dl_tlsdesc_resolve_hold): Likewise.
28714 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
28715 (_dl_tlsdesc_resolve_hold): Likewise.
28716 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
28717 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
28718
28e1ddf3
SN
287192017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28720
28721 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
28722
0ca3d1d6
SN
287232017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28724
28725 [BZ #18572]
28726 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
28727 non-lazily for R_ARM_TLS_DESC.
28728
2c1d4e5f
SN
287292017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28730
28731 [BZ #17078]
28732 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
28733 R_ARM_TLS_DESC case.
28734 (elf_machine_lazy_rel): Remove the prelink check.
28735
91c5a366
SN
287362017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28737
28738 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
28739 DT_TLSDESC_GOT initialization.
28740 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
28741 (_dl_tlsdesc_resolve_rela): Likewise.
28742 (_dl_tlsdesc_resolve_hold): Likewise.
28743 (_dl_tlsdesc_undefweak): Remove ldar.
28744 (_dl_tlsdesc_dynamic): Likewise.
28745 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
28746 (_dl_tlsdesc_resolve_rela): Likewise.
28747 (_dl_tlsdesc_resolve_hold): Likewise.
28748 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
28749 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
28750 (_dl_tlsdesc_resolve_rela): Likewise.
28751 (_dl_tlsdesc_resolve_hold): Likewise.
28752
b7cf203b
SN
287532017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28754
28755 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
28756 binding and initialization non-lazily for R_AARCH64_TLSDESC.
28757
0cc5b022
SN
287582017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28759
28760 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
28761 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
28762
43ddff2e
JM
287632017-11-02 Joseph Myers <joseph@codesourcery.com>
28764
28765 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
28766 Declare.
28767 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
28768 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
28769 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
28770 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
28771 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
28772 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
28773 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
28774 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
28775 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
28776 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
28777 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
28778
5baac970
MF
287792017-11-02 Mike FABIAN <mfabian@redhat.com>
28780
28781 [BZ #22382]
28782 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
28783 * localedata/locales/tpi_PG: Add standard header.
28784
ef11081f
FW
287852017-11-02 Florian Weimer <fweimer@redhat.com>
28786
28787 test-errno-linux: quotactl can fail with EPERM in containers.
28788 * sysdeps/unix/sysv/linux/test-errno-linux.c
28789 (LIST, LIST_FORWARD): New macros.
28790 (check_error_in_list): New function.
28791 (test_wrp_rv): Accept list of permitted error codes.
28792 (test_wrp_rv2): Remove.
28793 (test_wrp): Call test_wrp_rv with list of error codes.
28794 (test_wrp2): Accept list of error codes.
28795 (do_test): Adjust. Allow EPERM for quotactl.
28796
d10b132b
FW
287972017-11-02 Florian Weimer <fweimer@redhat.com>
28798
28799 * stdio-common/bug16.c (do_test): Use array_length.
28800 * stdio-common/errlist.c (_sys_nerr): Likewise.
28801 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
28802 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
28803 * stdio-common/psiginfo.c (psiginfo): Use array_length.
28804 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
28805 (do_test): Use array_length.
28806 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
28807 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
28808 * stdio-common/tst-printf-round.c (do_test): Likewise.
28809 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
28810 (CHECK): Use array_length.
28811 * stdio-common/tstdiomisc.c (t3, F): Likewise.
28812 * stdio-common/tstscanf.c (main): Likewise.
28813 * stdio-common/vfprintf.c (process_string_arg): Likewise.
28814
c94a5688
FW
288152017-11-02 Florian Weimer <fweimer@redhat.com>
28816
28817 Add array_length and array_end macros.
28818 * include/array_length.h: New file.
28819
2fac6a6c
FW
288202017-11-02 Florian Weimer <fweimer@redhat.com>
28821
28822 [BZ #22332]
28823 * posix/tst-glob-tilde.c (do_noescape): New variable.
28824 (one_test): Process it.
28825 (do_test): Set do_noescape. Add unescaping test case.
28826
2f1b212e
JM
288272017-11-01 Joseph Myers <joseph@codesourcery.com>
28828
260fbd0a
JM
28829 * math/complex.h
28830 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
28831 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
28832 with appropriate macros defined and undefined.
28833 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
28834 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28835 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
28836 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28837 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
28838 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28839 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
28840 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28841 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
28842 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28843
2f1b212e
JM
28844 * math/complex.h
28845 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
28846 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
28847 that for long double. Do not condition define and undefine of
28848 _Mdouble_complex_ on [__CFLOAT128].
28849
95b93c6e
L
288502017-11-01 H.J. Lu <hongjiu.lu@intel.com>
28851
28852 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
28853 of <sysdeps/generic/sysdep.h>.
28854 (ALIGNARG): Removed.
28855 (ASM_SIZE_DIRECTIVE): Likewise.
28856 (ENTRY): Likewise.
28857 (END): Likewise.
28858 (ENTRY_CHK): Likewise.
28859 (END_CHK): Likewise.
28860 (syscall_error): Likewise.
28861 (mcount): Likewise.
28862 (PSEUDO_END): Likewise.
28863 (L): Likewise.
28864 (atom_text_section): Likewise.
28865 * sysdeps/x86/sysdep.h: New file.
28866 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
28867 of <sysdeps/generic/sysdep.h>.
28868 (ALIGNARG): Removed.
28869 (ASM_SIZE_DIRECTIVE): Likewise.
28870 (ENTRY): Likewise.
28871 (END): Likewise.
28872 (ENTRY_CHK): Likewise.
28873 (END_CHK): Likewise.
28874 (syscall_error): Likewise.
28875 (mcount): Likewise.
28876 (PSEUDO_END): Likewise.
28877 (L): Likewise.
28878 (atom_text_section): Likewise.
28879
ab74d59f 288802017-10-31 Rafał Lużyński <digitalfreak@lingonborough.com>
1bb36539
RL
28881
28882 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
28883 category of LC_CTYPE set to "i18n:2012".
28884 * localedata/locales/i18n_ctype: Regenerate.
28885
067f5d97 288862017-10-31 Yury Norov <ynorov@caviumnetworks.com>
e8681faa 28887
87bbc4cf
YN
28888 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
28889 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
28890 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
28891 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
28892
e8681faa
YN
28893 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
28894 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
28895 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
28896 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
28897
540af6e2
JM
288982017-10-31 Joseph Myers <joseph@codesourcery.com>
28899
43e66283
JM
28900 * math/complex.h
28901 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
28902 New macro.
28903 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
28904 Likewise.
28905 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
28906 Likewise.
28907 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28908 (CMPLXF32X): Likewise.
28909 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28910 (CMPLXF64X): Likewise.
28911 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28912 (CMPLXF128X): Likewise.
28913
540af6e2
JM
28914 * math/math.h
28915 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
28916 (__MATH_EVAL_FMT2): Define to add 0.0f.
28917
58af72b4
AM
289182017-10-31 Alan Modra <amodra@gmail.com>
28919
28920 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
28921 include sysdep.h.
28922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
28923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
28924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
28925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
28926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
28927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
28928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
28929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
28930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
28931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
28932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
28933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
28934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
28935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
28936 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
28937 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
28938 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
28939 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
28940 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
28941 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
28942 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
28943 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
28944 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
28945 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
28946 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
28947 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
28948 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
28949 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
28950 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
28951 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
28952 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
28953 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
28954 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
28955 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
28956 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
28957 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
28958 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
28959 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
28960 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
28961 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
28962 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
28963 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
28964 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
28965 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
28966 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
28967 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
28968 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
28969 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
28970 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
28971 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
28972 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
28973 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
28974 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
28975 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
28976 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
28977 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
28978 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
28979 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
28980 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
28981 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
28982 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
28983 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
28984 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
28985 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
28986 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
28987 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
28988 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
28989 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
28990 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
28991
28992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
28993 include sysdep.h and math_ldbl_opt.h.
28994
28995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
28996 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
28997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
28998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
28999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
29000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
29001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
29002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
29003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
29004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
29005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
29006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
29007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
29008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
29009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
29010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
29011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
29012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
29013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
29014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
29015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
29016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
29017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
29018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
29019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
29020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
29021
112f30b3
AM
290222017-10-31 Alan Modra <amodra@gmail.com>
29023
29024 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
29025 string/strncase_l.c, not string/strncase.c.
29026 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
29027 (libc_hidden_def): Redefine.
29028
e9e7eced
AM
290292017-10-31 Alan Modra <amodra@gmail.com>
29030
29031 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
29032 (__STRCMP, STRCMP, __strcasecmp_l): Define.
29033 (__strcasecmp): Don't define.
29034
f7b465cf
AM
290352017-10-31 Alan Modra <amodra@gmail.com>
29036
29037 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
29038 IS_IN (libc).
29039 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
29040 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
29041 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
29042
d46b09f9
AM
290432017-10-31 Alan Modra <amodra@gmail.com>
29044
29045 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
29046 USE_AS_STPNCPY.
29047
e9b8e194
AM
290482017-10-31 Alan Modra <amodra@gmail.com>
29049
29050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
29051 Redefine only when SHARED.
29052
eda162dd
JM
290532017-10-30 Joseph Myers <joseph@codesourcery.com>
29054
b61afe8c
JM
29055 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
29056 Include <bits/math-finite.h> with appropriate macros defined and
29057 undefined.
29058 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
29059 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
29060 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
29061 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
29062 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
29063
eda162dd
JM
29064 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
29065 [!_Mlong_double_] (_Mlong_double_): Likewise.
29066 [!_Mfloat16_] (_Mfloat16_): Likewise.
29067 [!_Mfloat32_] (_Mfloat32_): Likewise.
29068 [!_Mfloat64_] (_Mfloat64_): Likewise.
29069 [!_Mfloat128_] (_Mfloat128_): Likewise.
29070 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
29071 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
29072 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
29073 (_Mdouble_): Define without indirection through those macros.
29074 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
29075 [!_Mfloat128_] (_Mfloat128_): Likewise.
29076 [_Mlong_double_] (_Mlong_double_): Likewise.
29077 (_Mdouble_): Define without indirection through those macros.
29078 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
29079 not add -D_Mlong_double_=double.
29080 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
29081 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
29082
4ad5106e
L
290832017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29084
29085 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
29086
fe326df7
L
290872017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29088
29089 * sysdeps/x86/libc-start.c: Reformat.
29090
c5cc4514
L
290912017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29092
29093 [BZ #22353]
29094 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
29095 (1): Renamed to ...
29096 (L(Src0)): This.
29097 (L(Src1)): New.
29098 (L(Src2)): Likewise.
29099 (L(1)): Renamed to ...
29100 (L(Src3)): This.
29101
ce12269f
JM
291022017-10-30 Joseph Myers <joseph@codesourcery.com>
29103
29104 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
29105 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
29106 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
29107 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
29108 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
29109 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
29110 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
29111 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
29112 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
29113 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
29114 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
29115 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
29116 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
29117 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
29118 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
29119 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
29120 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
29121 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
29122 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
29123 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
29124 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
29125 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
29126 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
29127 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
29128 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
29129 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
29130 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
29131 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
29132 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
29133 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
29134 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
29135 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
29136 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
29137 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
29138 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
29139 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
29140 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
29141 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
29142 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
29143 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
29144 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
29145 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
29146 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
29147 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
29148 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
29149 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
29150 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
29151 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
29152 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
29153 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
29154 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
29155 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
29156 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
29157 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
29158 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
29159 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
29160 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
29161 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
29162 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
29163 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
29164 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
29165 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
29166 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
29167 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
29168 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
29169 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
29170
4484b9e2
FW
291712017-10-30 Florian Weimer <fweimer@redhat.com>
29172
29173 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
29174 always defined.
29175 * io/tst-mkdirat.c (do_test): Likewise.
29176 * io/tst-mkfifoat.c (do_test): Likewise.
29177 * io/tst-mknodat.c (do_test): Likewise.
29178 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
29179 * locale/programs/locale.c (select_dirs): Likewise.
29180 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
29181 * posix/bug-glob2.c (my_readdir): Likewise.
29182 * posix/tst-dir.c (main): Likewise.
29183 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
29184 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
29185
68fe16dd
FW
291862017-10-30 Florian Weimer <fweimer@redhat.com>
29187
29188 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
29189 just __USE_GNU.
29190
dadf23f0
FW
291912017-10-30 Florian Weimer <fweimer@redhat.com>
29192
29193 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
29194 Convert to support/test-driver.c.
29195 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
29196 New macro parameters.
29197 (PRINTF): Remove macro. Use test_verbose conditionals instead.
29198 * posix/tst-gnuglob.c: New file.
29199 * posix/tst-gnuglob64.c: Likewise.
29200 * posix/Makefile (tests): Add tst-gnuglob64.
29201
363e4519 292022017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
fbcecc08
MF
29203
29204 [BZ #19485]
29205 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
29206 and use a better translation for March in “mon”.
29207 * localedata/locales/csb_PL: Use more ASCII to improve the
29208 readability of the source.
29209
b110af82
MF
292102017-10-30 Mike FABIAN <mfabian@redhat.com>
29211
29212 [BZ #13953]
29213 * localedata/locales/km_KH: Use ASCII as much
29214 as possible for better readability of the source and
29215 remove useless comments.
29216 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
29217 was commented out and apparently wrong anyway because it was
29218 using Lao characters. If Buddhist era should be used
29219 for km_KH, a native speaker should write the correct formaat
29220 for Khmer.
29221 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
29222 (According to CLDR, the first weekday for Cambodia is Sunday).
29223 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
29224 (These were using Lao characters which must be wrong. If we get
29225 the correct data from a native speaker, we could add it back, until
29226 then it is better not to have name_mr and name_mrs at all than
29227 having it wrong).
29228
ab74d59f 292292017-10-27 Rafał Lużyński <digitalfreak@lingonborough.com>
f301e533
RL
29230
29231 * locale/loadlocale.c: Correct size of
29232 _nl_value_type_LC_<category> arrays.
29233
7e9d7073
JM
292342017-10-27 Joseph Myers <joseph@codesourcery.com>
29235
29236 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
29237 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
29238 with appropriate macros defined and undefined.
29239 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
29240 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
29241 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
29242 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
29243 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
29244
63d3b468
L
292452017-10-27 H.J. Lu <hongjiu.lu@intel.com>
29246
29247 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
29248 "-O2 -march=i586".
29249
a4cc02c7
MF
292502017-10-27 Mike FABIAN <mfabian@redhat.com>
29251
29252 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
29253 with lowercase letters to make it agree with CLDR.
29254
1e5971ec
MF
292552017-10-27 Mike FABIAN <mfabian@redhat.com>
29256
29257 [BZ #15260]
29258 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
29259 first letters of yesstr and nostr in yesexpr and noexpr,
29260 not for the full words.
29261 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
29262 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
29263 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
29264 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
29265 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
29266 first letters of yesstr and nostr in yesexpr and noexpr,
29267 until now only English was matched in yesexpr and noexpr.
29268 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
29269 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
29270 fil but not for tl. As tl and fil are very similar, using fil
29271 is probably better than using English.
29272
363e4519 292732017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
bc5fc7de
MF
29274
29275 [BZ #21706]
29276 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
29277 in yesstr and nostr.
29278
5d220788
JM
292792017-10-26 Joseph Myers <joseph@codesourcery.com>
29280
ecc7da5b
JM
29281 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
29282 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
29283 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
29284 Likewise.
29285 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
29286 Likewise.
29287 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
29288 Likewise.
29289 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
29290 Likewise.
29291 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29292 (SNANF128X): Likewise.
29293
5d220788
JM
29294 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
29295 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
29296 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29297 (HUGE_VAL_F32): Likewise.
29298 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29299 (HUGE_VAL_F64): Likewise.
29300 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29301 (HUGE_VAL_F32X): Likewise.
29302 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29303 (HUGE_VAL_F64X): Likewise.
29304 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29305 (HUGE_VAL_F128X): Likewise.
29306
363e4519 293072017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
67ad7163
TV
29308
29309 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
29310 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
29311 for the br_FR locale.
29312
363e4519 293132017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
408dff7e
TV
29314
29315 [BZ #21706]
29316 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
29317
337ff3c5
CD
293182017-10-25 Carlos O'Donell <carlos@redhat.com>
29319
02eec681
CD
29320 * locale/programs/record-status.h: Define globals, and function
29321 prototypes. Move function bodies...
29322 * locale/programs/record-status.c: ... to here. New file.
29323 * iconv/Makefile (iconv_prog-modules): Add record-status.
29324 * locale/Makefile (lib-modules): Likewise.
29325 * iconv/iconv_prog.c: Remove verbose.
29326 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
29327 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
29328 record a warning about ASCII compatibility.
29329 * locale/programs/ld-monetary.c (monetary_finish): If
29330 warn_int_curr_symbol is true then record a warning about the symbol
29331 not being in our ISO 4217 list.
29332 * locale/programs/locale.c: Include record-status.h. Remove verbose.
29333 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
29334 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
29335 (OPT_NO_WARN): Define.
29336 (OPT_WARN): Define.
29337 (options): Add entry for --no-warnings, and --warnings.
29338 (set_warnings): New function to enable/disable warnings.
29339 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
29340 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
29341 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
29342 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
29343 Pass flags to generate_locale.
29344 (generate_locale): Accept new flag argument and pass it to localedef
29345 invocation.
29346 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
29347 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
29348
56fa555a
CD
29349 * localedata/Makefile (test-input-data): Use full file name.
29350 * localedata/da_DK.in: Rename to...
29351 * localedata/da_DK.ISO-8859-1.in: ...this.
29352 * localedata/de_DE.in: Rename to...
29353 * localedata/de_DE.ISO-8859-1.in: ...this.
29354 * localedata/en_US.in: Rename to...
29355 * localedata/en_US.ISO-8859-1.in: ...this.
29356 * localedata/fr_FR.in: Rename to...
29357 * localedata/fr_FR.UTF-8.in: ... this.
29358 * localedata/hr_HR.in: Rename to...
29359 * localedata/hr_HR.ISO-8859-2.in: ...this.
29360 * localedata/hu_HU.in: Rename to...
29361 * localedata/hu_HU.UTF-8.in: ...this.
29362 * localedata/si_LK.in: Rename to...
29363 * localedata/si_LK.UTF-8.in: ...this.
29364 * localedata/sv_SE.in: Rename to...
29365 * localedata/sv_SE.ISO-8859-1.in: ...this.
29366 * localedata/tr_TR.in: Rename to...
29367 * localedata/tr_TR.UTF-8.in: ...this.
29368 * localedata/uk_UA.in: Rename to...
29369 * localedata/uk_UA.UTF-8.in: ...this.
29370 * localedata/sort-test.sh: Test file is locale name with the
29371 suffix.
29372
337ff3c5
CD
29373 * localedata/unicode-gen/Makefile (check_i18n): Rename to
29374 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
29375 file.
29376 * localedata/locales/i18n_ctype: Regenerate.
29377 * localedata/locales/tr_TR: Likewise.
29378 * localedata/locales/translit_circle: Likewise.
29379 * localedata/locales/translit_cjk_compat: Likewise.
29380 * localedata/locales/translit_combining: Likewise.
29381 * localedata/locales/translit_compat: Likewise.
29382 * localedata/locales/translit_font: Likewise.
29383 * localedata/locales/translit_fraction: Likewise.
29384
63da5cd4
RS
293852017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29386
29387 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
29388 lxvd2x/stxvd2x with lvx/stvx.
29389 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
29390
a122dbfb
L
293912017-10-25 H.J. Lu <hongjiu.lu@intel.com>
29392
29393 * include/alloc_buffer.h: Replace "if if " with "if " in
29394 comments.
29395 * sysdeps/mips/memcpy.S: Likkewise.
29396 * sysdeps/mips/memset.S: Likewise.
29397 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
29398 Likewise.
29399 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
29400 Likewise.
29401 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
29402 Likewise.
29403
9be7530c
MF
294042017-10-25 Mike FABIAN <mfabian@redhat.com>
29405
29406 [BZ #15261]
29407 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
29408 yesexpr and noexpr.
29409 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
29410 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
29411 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
29412 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
29413 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
29414 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
29415 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
29416
6ccbf6ff
MF
294172017-10-25 Mike FABIAN <mfabian@redhat.com>
29418
29419 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
29420 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
29421 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
29422 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
29423 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
29424 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
29425 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
29426 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
29427 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
29428 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
29429 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
29430 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
29431
58b1a7ea
MF
294322017-10-25 Mike FABIAN <mfabian@redhat.com>
29433
29434 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
29435 as possible for better readability of the source.
29436 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
29437 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
29438 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
29439 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
29440 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
29441 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
29442 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
29443 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
29444 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
29445 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
29446 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
29447 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
29448 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
29449 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
29450 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
29451 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
29452 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
29453 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
29454 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
29455 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
29456 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
29457 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
29458 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
29459 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
29460 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
29461 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
29462 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
29463 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
29464 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
29465 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
29466 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
29467 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
29468 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
29469 * localedata/locales/en_US (LC_MESSAGES): Likewise.
29470 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
29471 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
29472 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
29473 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
29474 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
29475 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
29476 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
29477 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
29478 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
29479 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
29480 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
29481 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
29482 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
29483 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
29484 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
29485 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
29486 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
29487 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
29488 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
29489 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
29490 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
29491 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
29492 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
29493 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
29494 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
29495 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
29496 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
29497 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
29498 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
29499 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
29500 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
29501 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
29502 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
29503 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
29504 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
29505 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
29506 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
29507 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
29508 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
29509 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
29510 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
29511 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
29512 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
29513 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
29514 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
29515 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
29516 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
29517 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
29518 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
29519 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
29520 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
29521 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
29522 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
29523 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
29524 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
29525 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
29526 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
29527 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
29528 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
29529 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
29530 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
29531 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
29532 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
29533 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
29534 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
29535 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
29536 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
29537 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
29538 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
29539 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
29540 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
29541 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
29542 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
29543 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
29544 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
29545 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
29546 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
29547 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
29548 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
29549 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
29550 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
29551 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
29552 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
29553 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
29554 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
29555 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
29556 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
29557 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
29558 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
29559 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
29560 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
29561 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
29562 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
29563 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
29564 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
29565 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
29566 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
29567 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
29568 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
29569 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
29570 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
29571 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
29572 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
29573 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
29574 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
29575 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
29576 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
29577 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
29578 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
29579 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
29580 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
29581 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
29582 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
29583 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
29584 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
29585 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
29586 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
29587 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
29588 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
29589 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
29590 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
29591 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
29592 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
29593 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
29594 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
29595 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
29596 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
29597 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
29598 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
29599 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
29600 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
29601 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
29602 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
29603 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
29604 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
29605 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
29606 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
29607 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
29608 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
29609 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
29610
17e78edb
MF
296112017-10-25 Mike FABIAN <mfabian@redhat.com>
29612
29613 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
29614 (Use first letters of yesstr and nostr correctly instead of using
29615 full words).
29616
74e7284f
MF
296172017-10-25 Mike FABIAN <mfabian@redhat.com>
29618
29619 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
29620 (Use first letters of yesstr and nostr correctly).
29621
b41a0ff1
MF
296222017-10-25 Mike FABIAN <mfabian@redhat.com>
29623
29624 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
29625 also check for the first characters of yesstr and nostr.
29626 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
29627 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
29628
d971f380
MF
296292017-10-25 Mike FABIAN <mfabian@redhat.com>
29630
29631 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
29632 also check for Chinese characters.
29633
effc9e1d
MF
296342017-10-25 Mike FABIAN <mfabian@redhat.com>
29635
29636 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
29637 match also for the contents of yesstr and nostr. As the first letter
29638 of yesstr and nostr is equal, checking only for the first letter
29639 is not enough.
29640
10320881
MF
296412017-10-25 Mike FABIAN <mfabian@redhat.com>
29642
29643 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
29644 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
29645
d8682a15
MF
296462017-10-25 Mike FABIAN <mfabian@redhat.com>
29647
29648 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
29649 of main contributor.
29650
1bfb86ae
MF
296512017-10-25 Mike FABIAN <mfabian@redhat.com>
29652
29653 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
29654 instead of using English.
29655
da33d60b
MF
296562017-10-25 Mike FABIAN <mfabian@redhat.com>
29657
29658 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
29659 by including the first letters of nostr and yesexpr in the regexp.
29660 Also make it more readable by using ASCII where possible.
29661
725bbb3e
MF
296622017-10-25 Mike FABIAN <mfabian@redhat.com>
29663
29664 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
29665 the first letter of nostr in the regexp. It agrees with CLDR now.
29666 Also make it more readable by using ASCII where possible.
29667
fe043d8a
MF
296682017-10-24 Mike FABIAN <mfabian@redhat.com>
29669
29670 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
29671 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
29672 these strings contain a U+17D6 (which somewhat looks like a colon)
29673 instead of a real colon to separate the full words for “yes”
29674 and “no” from the single letter responses.
29675
360a8df3
MF
296762017-10-24 Mike FABIAN <mfabian@redhat.com>
29677
29678 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
29679 it agree with CLDR (include the first letter of yesstr).
29680 Also make it more readable by using ASCII where possible.
29681
bab7b6b0
MF
296822017-10-24 Mike FABIAN <mfabian@redhat.com>
29683
29684 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
29685 and improve yesexpr and noexpr. The yesstr and nostr apparently
29686 came from CLDR. And CLDR has a bug there: these strings contain
29687 a U+0903 (which looks like a colon) instead of a real colon
29688 to separate the full words for “yes” and “no” from the single
29689 letter responses.
29690
3e79f758
MF
296912017-10-24 Mike FABIAN <mfabian@redhat.com>
29692
29693 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
29694 letters of the full yesstr and nostr in yesexpr and noexpr.
29695
4960c879
MF
296962017-10-24 Mike FABIAN <mfabian@redhat.com>
29697
29698 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
29699 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
29700 * localedata/locales/an_ES: Make source more readable by using ASCII
29701 where possible.
29702
b06a054f
MF
297032017-10-24 Mike FABIAN <mfabian@redhat.com>
29704
29705 [BZ #20952]
29706 * localedata/locales/yuw_PG: New file.
29707 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
29708 * locale/iso-639.def: Add Yau (Uruwa).
29709
905a7725
WD
297102017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
29711
29712 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
29713
3f6bb8a3
WD
297142017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
29715
29716 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
29717 (__libc_realloc): Likewise.
29718 (_mid_memalign): Likewise.
29719 (__libc_calloc): Likewise.
29720
1d479c8c
MF
297212017-10-23 Mike FABIAN <mfabian@redhat.com>
29722
29723 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
29724 by adding the generic +1 and -0 as in all other locales.
29725 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
29726 day names and make it more readable by using ASCII where possible.
29727
91c3985c
JM
297282017-10-24 Joseph Myers <joseph@codesourcery.com>
29729
29730 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
29731 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
29732
aa95a241
AZ
297332017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29734
29735 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
29736 WNOHANG in waitpid call.
29737
db9bab09
SP
297382017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
29739
a2e0a7f1
SP
29740 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
29741 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
29742
db9bab09
SP
29743 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
29744 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
29745 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
29746 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
29747 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
29748 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
29749 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
29750 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
29751 variables.
29752
5062680c
MC
297532017-10-23 Michael Collison <michael.collison@arm.com>
29754
29755 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
29756 with __builtin_sqrt.
29757 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
29758 with __builtin_sqrtf.
29759 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
29760 with __builtin_ceil.
29761 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
29762 with __builtin_ceilf.
29763 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
29764 with __builtin_floor.
29765 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
29766 with __builtin_floorf.
29767 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
29768 with __builtin_fma.
29769 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
29770 with __builtin_fmaf.
29771 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
29772 with __builtin_fmax.
29773 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
29774 with __builtin_fmaxf.
29775 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
29776 with __builtin_fmin.
29777 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
29778 with __builtin_fminf.
29779 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
29780 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
29781 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
29782 with builtin_rint and conversion to int.
29783 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
29784 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
29785 with builtin_llround.
29786 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
29787 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
29788 with builtin_rint and conversion to long int.
29789 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
29790 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
29791 with builtin_lround.
29792 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
29793 with builtin_lroundf.
29794 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
29795 statements with __builtin_nearbyint.
29796 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
29797 statements with __builtin_nearbyintf.
29798 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
29799 with __builtin_rint.
29800 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
29801 with __builtin_rintf.
29802 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
29803 with __builtin_round.
29804 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
29805 with __builtin_roundf.
29806 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
29807 with __builtin_trunc.
29808 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
29809 with __builtin_truncf.
be080b6c
SN
29810 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
29811 and s_l[l]round[f].c too.
5062680c 29812
174935af
AM
298132017-10-23 Alan Modra <amodra@gmail.com>
29814
29815 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
29816 Adjust stack after restoring regs. Add missing LR cfi_restore.
29817
750a0e49
AM
298182017-10-23 Alan Modra <amodra@gmail.com>
29819
29820 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
29821 Move LR save and frame setup/teardown and LR restore to
29822 immediately around memset call. Provide cfi.
29823
5313581c
L
298242017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29825
29826 * sysdeps/i386/fpu/e_powf.S: Removed.
29827 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
29828 * sysdeps/i386/fpu/w_powf.c: Likewise.
29829 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
29830 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29831 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29832 Add e_powf-sse2.
29833 (CFLAGS-e_powf-sse2.c): New.
29834 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
29835 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
29836
6089a3ee
L
298372017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29838
29839 * sysdeps/i386/fpu/e_log2f.S: Removed.
29840 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
29841 * sysdeps/i386/fpu/w_log2f.c: Likewise.
29842 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
29843 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29844 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29845 Add e_log2f-sse2.
29846 (CFLAGS-e_log2f-sse2.c): New.
29847 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
29848 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
29849
80bb5935
L
298502017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29851
29852 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29853 Add e_powf-fma.
29854 (CFLAGS-e_powf-fma.c): New.
29855 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
29856 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
29857
5c7adbd8
L
298582017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29859
29860 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29861 Add e_log2f-fma.
29862 (CFLAGS-e_log2f-fma.c): New.
29863 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
29864 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
29865
0ccc7153
L
298662017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29867
29868 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29869 Add e_logf-fma.
29870 (CFLAGS-e_logf-fma.c): New.
29871 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
29872 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
29873
fe596486
L
298742017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29875
29876 * sysdeps/i386/fpu/e_logf.S: Removed.
29877 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
29878 * sysdeps/i386/fpu/w_logf.c: Likewise.
29879 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
29880 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
29881 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29882 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29883 Add e_logf-sse2.
29884 (CFLAGS-e_logf-sse2.c): New.
29885 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
29886 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
29887
7eda65f6
L
298882017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29889
29890 * sysdeps/i386/fpu/e_exp2f.S: Removed.
29891 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
29892 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
29893 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29894 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29895 Add e_exp2f-sse2.
29896 (CFLAGS-e_exp2f-sse2.c): New.
29897 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
29898 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
29899
5d15c969
L
299002017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29901
29902 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29903 Add e_exp2f-fma.
29904 (CFLAGS-e_exp2f-fma.c): New.
29905 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
29906 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
29907
b2f6137e
L
299082017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29909
29910 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
29911 * sysdeps/i386/fpu/e_expf.S: Likewise.
29912 * sysdeps/i386/fpu/math_errf.c: Likewise.
29913 * sysdeps/i386/fpu/w_expf.c: Likewise.
29914 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
29915 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
29916 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
29917 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
29918 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29919 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29920 Remove e_expf-ia32.
29921 (CFLAGS-e_expf-sse2.c): New.
29922 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
29923 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
29924
e1f59beb
L
299252017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29926
29927 * sysdeps/x86_64/fpu/e_expf.S: Removed.
29928 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
29929 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
29930 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
29931 e_expf.c.
29932 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
29933 New.
29934 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
29935 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
29936 Renamed to ...
29937 (__redirect_expf): This.
29938 (SYMBOL_NAME): Changed to expf.
29939 (__ieee754_expf): Renamed to ...
29940 (__expf): This.
29941 (__GI___expf): This.
29942 (__ieee754_expf): Add strong_alias.
29943 (__expf_finite): Likewise.
29944 (__expf): New.
29945 Include <sysdeps/ieee754/flt-32/e_expf.c>.
29946
363e4519 299472017-10-22 Paul Eggert <eggert@cs.ucla.edu>
a159b53f
PE
29948
29949 [BZ #22332]
29950 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
29951 unescaping.
29952
e80fc1fc
FW
299532017-10-21 Florian Weimer <fweimer@redhat.com>
29954
29955 * posix/Makefile (tests): Add tst-glob-tilde.
29956 (tests-special): Add tst-glob-tilde-mem.out
29957 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
29958 (tst-glob-tilde-mem.out): Add mtrace check.
29959 * posix/tst-glob-tilde.c: New file.
29960
797ba44b
JM
299612017-10-20 Joseph Myers <joseph@codesourcery.com>
29962
29963 * bits/floatn-common.h: New file.
29964 * math/Makefile (headers): Add bits/floatn-common.h.
29965 * bits/floatn.h: Include <bits/floatn-common.h>.
29966 * sysdeps/ia64/bits/floatn.h: Likewise.
29967 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
29968 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
29969 * sysdeps/powerpc/bits/floatn.h: Likewise.
29970 * sysdeps/x86/bits/floatn.h: Likewise.
29971
fe05e1cb
AZ
299722017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29973
8f6f5362
AZ
29974 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
29975 indicates whether compiler emits an warning for alias for
29976 functions with incompatible types.
29977
fe05e1cb
AZ
29978 [BZ #22273]
29979 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
29980 the auxiliary process is terminated by a signal before calling _exit
29981 or execve.
29982
b52b0d79
L
299832017-10-20 H.J. Lu <hongjiu.lu@intel.com>
29984
29985 [BZ #21265]
29986 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
29987 New.
29988 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
29989 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
29990 and bit_arch_XSAVEC_Usable if needed.
29991 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
29992 and bit_arch_Use_dl_runtime_resolve_opt.
29993 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
29994 Removed.
29995 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
29996 (bit_arch_Prefer_No_AVX512): Updated.
29997 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
29998 (bit_arch_XSAVEC_Usable): New.
29999 (STATE_SAVE_OFFSET): Likewise.
30000 (STATE_SAVE_MASK): Likewise.
30001 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
30002 (cpu_features): Add xsave_state_size and xsave_state_full_size.
30003 (index_arch_Use_dl_runtime_resolve_opt): Removed.
30004 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
30005 (index_arch_XSAVEC_Usable): New.
30006 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30007 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
30008 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
30009 is enabled.
30010 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
30011 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
30012 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
30013 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
30014 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
30015 _dl_runtime_resolve_xsavec.
30016 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
30017 Removed.
30018 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
30019 instead of VEC_SIZE.
30020 (REGISTER_SAVE_BND0): Removed.
30021 (REGISTER_SAVE_BND1): Likewise.
30022 (REGISTER_SAVE_BND3): Likewise.
30023 (REGISTER_SAVE_RAX): Always defined to 0.
30024 (VMOV): Removed.
30025 (_dl_runtime_resolve_avx): Likewise.
30026 (_dl_runtime_resolve_avx_slow): Likewise.
30027 (_dl_runtime_resolve_avx_opt): Likewise.
30028 (_dl_runtime_resolve_avx512): Likewise.
30029 (_dl_runtime_resolve_avx512_opt): Likewise.
30030 (_dl_runtime_resolve_sse): Likewise.
30031 (_dl_runtime_resolve_sse_vex): Likewise.
30032 (USE_FXSAVE): New.
30033 (_dl_runtime_resolve_fxsave): Likewise.
30034 (USE_XSAVE): Likewise.
30035 (_dl_runtime_resolve_xsave): Likewise.
30036 (USE_XSAVEC): Likewise.
30037 (_dl_runtime_resolve_xsavec): Likewise.
30038 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
30039 Removed.
30040 (_dl_runtime_resolve_avx512_opt): Likewise.
30041 (_dl_runtime_resolve_avx): Likewise.
30042 (_dl_runtime_resolve_avx_opt): Likewise.
30043 (_dl_runtime_resolve_sse): Likewise.
30044 (_dl_runtime_resolve_sse_vex): Likewise.
30045 (_dl_runtime_resolve_fxsave): New.
30046 (_dl_runtime_resolve_xsave): Likewise.
30047 (_dl_runtime_resolve_xsavec): Likewise.
30048
363e4519 300492017-10-20 Paul Eggert <eggert@cs.ucla.edu>
c369d66e
PE
30050
30051 [BZ #22320]
30052 CVE-2017-15670
30053 * posix/glob.c (__glob): Fix one-byte overflow.
30054
6d43de4b
WD
300552017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
30056
30057 * malloc/malloc.c (sysdep-cancel.h): Add include.
30058
a15d53e2
WD
300592017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
30060
30061 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
30062
b9a558e7
WH
300632017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
30064
30065 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
30066 (tests): Remove $(objpfx)ga_test depdendency.
30067 * resolv/ga_test.c: Remove file.
30068
b6b08b8e
MF
300692017-10-20 Mike FABIAN <mfabian@redhat.com>
30070
30071 [BZ #18812]
30072 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
30073 * localedata/locales/kab_DZ: New file.
30074
9ba7e810
L
300752017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30076
30077 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
30078 _dl_relocate_static_pie instead of _dl_start to compute load
30079 address in static PIE.
30080
4027a4fd
L
300812017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30082
30083 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
30084
2f9314b4
MF
300852017-10-20 Mike FABIAN <mfabian@redhat.com>
30086
30087 [BZ #13605]
30088 * localedata/SUPPORTED: Add shn_MM/UTF-8.
30089 * localedata/locales/shn_MM: New file.
30090
63b4baa4
FW
300912017-10-20 Florian Weimer <fweimer@redhat.com>
30092
30093 [BZ #22321]
30094 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
30095 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
30096 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
30097 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
30098 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
30099 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
30100
95ccb619
L
301012017-10-19 H.J. Lu <hongjiu.lu@intel.com>
30102
30103 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30104
37bb78cb
JM
301052017-10-19 Joseph Myers <joseph@codesourcery.com>
30106
76f2ed92
JM
30107 * sysdeps/mips/ieee754/bits/floatn.h: New file.
30108
37bb78cb
JM
30109 [BZ #22322]
30110 * sysdeps/mips/bits/long-double.h: Move to ....
30111 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
30112
d74e6f6c
WD
301132017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
30114
30115 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
30116
363e4519 301172017-10-19 Valery Reznic <valery_reznic@yahoo.com>
4d916f0f
L
30118 H.J. Lu <hongjiu.lu@intel.com>
30119
30120 [BZ #22299]
30121 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
30122 GLRO(dl_platform) to NULL.
30123 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
30124 (modules-names): Add tst-platformmod-1 and
30125 x86_64/tst-platformmod-2.
30126 (CFLAGS-tst-platform-1.c): New.
30127 (CFLAGS-tst-platformmod-1.c): Likewise.
30128 (CFLAGS-tst-platformmod-2.c): Likewise.
30129 (LDFLAGS-tst-platformmod-2.so): Likewise.
30130 ($(objpfx)tst-platform-1): Likewise.
30131 ($(objpfx)tst-platform-1.out): Likewise.
30132 (tst-platform-1-ENV): Likewise.
30133 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
30134 * sysdeps/x86_64/tst-platform-1.c: New file.
30135 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
30136 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
30137
4b0fa403
MF
301382017-10-19 Mike FABIAN <mfabian@redhat.com>
30139
30140 [BZ #13994]
30141 * locale/iso-639.def: Add Karbi.
30142 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
30143 * localedata/locales/mjw_IN: New file.
30144
81325b12
JM
301452017-10-18 Joseph Myers <joseph@codesourcery.com>
30146
30147 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
30148 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
30149 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
30150 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
30151 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
30152 (libm_alias_ldouble_other_r): Also create _Float128 alias.
30153 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
30154 <bits/floatn.h>.
30155 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
30156 (libm_alias_ldouble_other_r): Also create _Float128 alias.
30157 * manual/math.texi (Mathematics): Document additional architecture
30158 support for _Float128.
30159 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
30160 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
30161 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
30162 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
30163 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
30164 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
30165 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
30166 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
30167 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
30168 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
30169 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
30170 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
30171 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
30172 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
30173 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
30174
a68ba2f3
SN
301752017-10-18 Renlin Li <renlin.li@arm.com>
30176
30177 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
30178 _DYNAMIC symbol to calculate load address.
30179
346729f6
PC
301802017-10-18 Paul A. Clarke <pc@us.ibm.com>
30181
30182 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
30183 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
30184 summary bits.
30185 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
30186 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
30187
508b1e71
MF
301882017-10-18 Mike FABIAN <mfabian@redhat.com>
30189
30190 [BZ #16777]
30191 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
30192 and improve readability by using more ASCII.
30193 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
30194 and improve readability by using more ASCII.
30195
2c2245b9
WD
301962017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
30197
30198 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
30199 not all targets support atomics on bool.
30200
13c92696
JM
302012017-10-17 Joseph Myers <joseph@codesourcery.com>
30202
30203 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
30204 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
30205 __f128.
30206 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30207 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
30208 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30209 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
30210 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30211 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
30212
71d85045
AZ
302132017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30214
30215 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
30216 defines.
30217
3381be5c
WD
302182017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30219
30220 [BZ #22159]
30221 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
30222 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
30223 (do_check_remalloced_chunk): Fix build bug.
30224 (do_check_malloc_state): Add assert that checks arena->top.
30225 (malloc_consolidate): Remove initialization.
30226 (int_mallinfo): Remove call to malloc_consolidate.
6b5c8607 30227 (__libc_mallopt): Clarify why malloc_consolidate is needed.
3381be5c 30228
e956075a
WD
302292017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30230
30231 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
30232 (have_fastchunks): Remove.
30233 (clear_fastchunks): Remove.
30234 (set_fastchunks): Remove.
30235 (malloc_state): Add have_fastchunks.
30236 (malloc_init_state): Use have_fastchunks.
30237 (do_check_malloc_state): Remove incorrect invariant checks.
30238 (_int_malloc): Use have_fastchunks.
30239 (_int_free): Likewise.
30240 (malloc_consolidate): Likewise.
30241
e4dd4ace
WD
302422017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30243
30244 * malloc/malloc.c (tcache_put): Inline.
30245 (tcache_get): Inline.
30246
5bf58bc7
AJ
302472017-10-17 Jordi Mallach <jordi@gnu.org>
30248
30249 Aurelien Jarno <aurelien@aurel32.net>
30250 [BZ #2522]
30251 * localedata/locales/ca_ES@valencia: New file.
30252 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
30253
386e1c26
RN
302542017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
30255
30256 [BZ #22296]
30257 * math/math.h: Let signbit use the builtin in C++ mode with gcc
30258 < 6.x
30259
4e17c78e
AZ
302602017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30261
3d265601
AZ
30262 * scripts/build-many-glibcs.py (Context.add_all_configs):
30263 Add arm-linux-gnueabihf multiarch extra_glibcs.
30264
4e17c78e
AZ
30265 * sysdeps/generic/ifunc-init.h: New file.
30266 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
30267
56a752ab
MF
302682017-10-17 Mike FABIAN <mfabian@redhat.com>
30269
30270 [BZ #22019]
30271 * localedata/locales/el_GR: Set n_cs_precedes to 0.
30272 * localedata/locales/el_CY: copy "el_GR" because it is identical.
30273 * stdlib/tst-strfmon_l.c: adapt test case.
30274
c38a4bfd
JM
302752017-10-16 Joseph Myers <joseph@codesourcery.com>
30276
30277 * sysdeps/generic/float128-abi.h: New file.
30278 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
30279 non-__prefixed symbols to ....
30280 * math/Versions: ... here. Include <float128-abi.h>.
30281 * stdlib/Versions ... and here. Include <float128-abi.h>
30282
76009b26
FW
302832017-10-16 Florian Weimer <fweimer@redhat.com>
30284
30285 * version.h (VERSION): Switch to ".9000" as the development
30286 version suffix.
30287
7ece6cd5
FW
302882017-10-16 Florian Weimer <fweimer@redhat.com>
30289
30290 [BZ #22050]
30291 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
30292 compat_symbol_reference to access non-default version.
30293
d8287b36
FW
302942017-10-16 Florian Weimer <fweimer@redhat.com>
30295
30296 * malloc/Makefile (others-extras): Set to mcheck-init.o.
30297
3480ddc4
CD
302982017-10-16 Carlos O'Donell <carlos@redhat.com>
30299
30300 * include/shlib-compat.h (compat_symbol_reference): Update
30301 comment.
30302
02010e79
JM
303032017-10-16 Joseph Myers <joseph@codesourcery.com>
30304
596f7013
JM
30305 * math/Makefile (test-types): Add
30306 $(type-float128-$(float128-alias-fcts)).
30307 * math/test-float128.h (TYPE_STR): Define conditional on
30308 [FLT128_MANT_DIG == LDBL_MANT_DIG].
30309 (ULP_IDX): Likewise.
30310 (ULP_I_IDX): Likewise.
30311
02010e79
JM
30312 * stdlib/strtold.c: Include <bits/floatn.h>
30313 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
30314 and later undefine as macro. Define as weak alias if
30315 [!USE_WIDE_CHAR].
30316 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
30317 and later undefine as macro. Define as weak alias if
30318 [USE_WIDE_CHAR].
30319 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
30320 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
30321 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
30322 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
30323 Define and later undefine as macro. Define as weak alias if
30324 [USE_WIDE_CHAR].
30325 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
30326 <bits/floatn.h>.
30327 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
30328 Define and later undefine as macro. Define as weak alias if
30329 [!USE_WIDE_CHAR].
30330 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
30331 Define and later undefine as macro. Define as weak alias if
30332 [USE_WIDE_CHAR].
30333
ea91c315
CD
303342017-10-15 Carlos O'Donell <carlos@redhat.com>
30335
30336 * localedata/collate-test.c (allocate_arrays): Don't use \n in
30337 record_verbose messages.
30338
8e57c943
L
303392017-10-15 H.J. Lu <hongjiu.lu@intel.com>
30340
30341 [BZ #22052]
30342 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
30343 to silence -O3 -Wall warning with GCC 7.
30344
a4777c46
L
303452017-10-14 H.J. Lu <hongjiu.lu@intel.com>
30346
30347 * Makeconfig (+link-static-before-libc): Use the first of
30348 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
30349 * gmon/Makefile (tests): Add tst-gmon-static.
30350 (tests-static): Likewise.
30351 (CFLAGS-tst-gmon-static.c): New.
30352 (CRT-tst-gmon-static): Likewise.
30353 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
30354 (tst-gmon-static-ENV): Likewise.
30355 (tests-special): Likewise.
30356 ($(objpfx)tst-gmon-static.out): Likewise.
30357 (clean-tst-gmon-static-data): Likewise.
30358 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
30359 * gmon/tst-gmon-static-gprof.sh: New file.
30360 * gmon/tst-gmon-static.c: Likewise.
30361
bc3821bb
CD
303622017-10-13 Carlos O'Donell <carlos@redhat.com>
30363
30364 [BZ #22295]
30365 * locale/programs/linereader.c (get_string): Don't warn on
30366 non-symbolic character.
30367
a3e23a2c
CD
30368 [BZ #22294]
30369 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
30370 int_curr_symbol.
30371
f16491eb
CD
30372 [BZ #22292]
30373 * locale/programs/record-status.h: New file
30374 * locale/programs/locale.c: Add comment.
30375 * locale/programs/charmap-dir.c: Don't include error.h.
30376 (charmap_opendir): Use record_error.
30377 * locale/programs/charmap.c: Don't include error.h.
30378 (charmap_read): Use record_error, and record_warning.
30379 (parse_charmap): Likewise.
30380 * locale/programs/ld-address.c: Don't include error.h.
30381 (address_finish): Use record_error, and record_warning.
30382 * locale/programs/ld-collate.c: Don't include error.h.
30383 (collate_finish): Use record_error, and record_error_at_line.
30384 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
30385 (ctype_class_new): Likewise.
30386 (ctype_map_new): Likewise.
30387 (set_one_default): Likewise.
30388 (set_class_defaults): Likewise.
30389 (translit_flatten): Likewise.
30390 (allocate_arrays): Use record_error, and record_verbose.
30391 * locale/programs/ld-identification.c: Don't include error.h.
30392 (indentation_finish): Use record_error and record_warning.
30393 * locale/programs/ld-measurement.c: Don't include error.h.
30394 (measurement_finish): Use record_error.
30395 * locale/programs/ld-messages.c
30396 (message_finish): Likewise.
30397 * locale/programs/ld-monetary.c
30398 (monetary_finish): Likewise.
30399 * locale/programs/ld-name.c (name_finish): Use record_error
30400 and record_warning.
30401 * locale/programs/ld-numeric.c
30402 (numeric_finish): Use record_error.
30403 * locale/programs/ld-paper.c: Don't include error.h.
30404 (paper_finish): Use record_error.
30405 * locale/programs/ld-telephone.c: Don't include error.h.
30406 (telephone_finish): Use record_error.
30407 * locale/programs/ld-time.c (time_finish): Likewise.
30408 * locale/programs/linereader.h (lr_error): Make inline func.
30409 * locale/programs/localedef.c: Define recorded_warning_count,
30410 and recorded_error_count.
30411 (main): Use record_error. Use recorded_error_count and
30412 recorded_warning_count to issue correct error returns.
30413 (add_to_readlist): Use record_error.
30414 (find_locale): Likewise.
30415 (load_locale): Likewise.
30416 * locale/programs/localedef.h: Remove be_quiet
30417 and WITH_CUR_LOCALE.
30418 * locale/programs/locarchive.c (compare_from_file): Use
30419 record_error.
30420 * locale/programs/locfile.c (write_locale_data): Use
30421 record_error.
30422 * locale/programs/repertoire.c: Dont include error.h.
30423 (repertoire_complain): Use record_error.
30424 * localedata/tst-fmon.sh: Expect failures from localedef.
30425 * localedata/tst-locale.sh: Likewise.
30426 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
30427
8dc8be75
CD
30428 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
30429 (REPORTS): Likewise.
30430 (check): Likewise.
30431 (i18n): Rename to...
30432 (i18n_ctype): ...this.
30433 (i18n-report): Rename to...
30434 (i18n_ctype-report): ...this.
30435 * localedata/locales/i18n_ctype: Regenerate.
30436 * localedata/locales/i18n: copy i18n_ctype.
30437
f8718a9e
JM
304382017-10-13 Joseph Myers <joseph@codesourcery.com>
30439
18c08b96
JM
30440 * stdlib/strfroml.c: Include <bits/floatn.h>.
30441 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
30442 Define before include of <stdlib.h> and undefine afterwards, then
30443 define as weak alias.
30444
f8718a9e
JM
30445 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
30446 Undefine and restore default definition. Use
30447 libm_alias_ldouble_other.
30448
e4f530da
PZ
304492017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
30450
30451 [BZ #22153]
30452 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
30453 in coredumps.
30454
86445888
JC
304552017-10-13 James Clarke <jrtc27@jrtc27.com>
30456
30457 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30458 Assign sym_map to be map for local symbols, as TLS relocations
30459 use sym_map to determine whether the symbol is defined and to
30460 extract the TLS information.
30461 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30462 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30463
179dcdb7
TMQMF
304642017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30465
e8dbd6a3
TMQMF
30466 [BZ #22189]
30467 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
30468 (math_force_eval): Add powerpc version.
30469
179dcdb7
TMQMF
30470 [BZ #22142]
30471 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
30472 -DBL_MAX.
30473 (do_test): Likewise.
30474 * stdio-common/tst-printf.sh: Likewise.
30475 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
30476 ifdef clause in order to set the carry bit right. Replace r0 by
30477 0 without changing the behavior.
30478
7d25d410
JM
304792017-10-13 Joseph Myers <joseph@codesourcery.com>
30480
006e7664
JM
30481 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
30482 <libm-alias-ldouble.h>.
30483 (fabsl): Define using libm_alias_ldouble.
30484 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
30485 <libm-alias-ldouble.h>.
30486 (fabsl): Define using libm_alias_ldouble.
30487
1def91b3
JM
30488 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
30489 Remove conditional code.
30490
7d25d410
JM
30491 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
30492 Rename to __clog10_internal_l.
30493 (__clog10_internal_l): Define aliases using
30494 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
30495 with __clog10.
30496
077ee129
RS
304972017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30498
30499 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
30500 * benchtests/sincosf-inputs: New file.
30501 * benchtests/cosf-inputs: New file.
30502 * benchtests/sinf-inputs: New file.
30503
5ba41de9
SN
305042017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
30505
30506 * posix/tst-spawn.c (do_test): Wait for both children.
30507
d165ca64
L
305082017-10-12 H.J. Lu <hongjiu.lu@intel.com>
30509
30510 [BZ #22284]
30511 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
30512 tests-pie): Add tst-gmon-pie.
30513 (CFLAGS-tst-gmon-pie.c): New.
30514 (CRT-tst-gmon-pie): Likewise.
30515 (tst-gmon-pie-ENV): Likewise.
30516 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
30517 ($(objpfx)tst-gmon-pie.out): Likewise.
30518 (clean-tst-gmon-pie-data): Likewise.
30519 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
30520 * gmon/gmon.c [PIC]: Include <link.h>.
30521 [PIC] (callback): New function.
30522 (write_hist): Add an argument for load address. Subtract load
30523 address from PCs.
30524 (write_call_graph): Likewise.
30525 (write_gmon): Call __dl_iterate_phdr to get load address, pass
30526 it to write_hist and write_call_graph.
7bacdcfc 30527 * gmon/tst-gmon-pie.c: New file.
d165ca64 30528
bc9620d0
JM
305292017-10-11 Joseph Myers <joseph@codesourcery.com>
30530
30531 * math/Makefile (test-types-basic): New variable.
30532 (test-types): Likewise.
30533 (libm-test-support): Use $(test-types) instead of $(types).
30534 (libm-tests-base-normal): Likewise.
30535 (libm-tests-base-finite): Likewise.
30536 (libm-tests-base-inline): Likewise.
30537 (generated): Likewise.
30538 ($(objpfx)libm-test-support-$(t).c): Likewise.
30539 (libm-tests-for-type iterator): Likewise.
30540 (libm-test-support iterator): Likewise.
30541 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
30542 (ulp_idx): Use ULP_IDX.
30543 * math/test-ldouble.h: Include <float.h>.
30544 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
30545 (ULP_IDX): New macro.
30546 (ULP_I_IDX): Likewise.
30547 * math/test-double.h (ULP_IDX): Likewise.
30548 (ULP_I_IDX): Likewise.
30549 * math/test-float.h (ULP_IDX): Likewise.
30550 (ULP_I_IDX): Likewise.
30551 * math/test-float128.h (ULP_IDX): Likewise.
30552 (ULP_I_IDX): Likewise.
30553
09c76a74
AZ
305542017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30555
30556 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
30557 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30558 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30559 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
30560 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30561 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
30562 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
30563 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30564 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30565 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30566 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
30567 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30568 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30569 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30570 (SINGLE_THREAD_BY_GLOBAL): Define.
30571 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30572 Likewise.
30573 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30574 Likewise.
30575 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30576 Likewise.
30577 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30578 Likewise.
30579 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
30580 (SINGLE_THREAD_BY_GLOBAL): Likewise.
30581 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30582 Likewise.
30583
2faa42da
AS
305842017-10-11 Andreas Schwab <schwab@suse.de>
30585
30586 * nis/Makefile (aux): Remove.
30587 * nscd/Makefile (aux): Add nscd_hash.
30588 (nscd-modules): Likewise.
30589 ($(objpfx)nscd): Don't depend on libnsl.
30590 * nscd/nscd_hash.c: New file.
30591 * nscd/nscd_hash.h: Likewise.
30592 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
30593 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
30594 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
30595 instead of <nis/rpcsvc/nis.h>.
30596 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
30597
d8425e11
FW
305982017-10-11 Florian Weimer <fweimer@redhat.com>
30599
30600 [BZ #22078]
30601 Avoid large NSS buffers with many addresses, aliases.
30602 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
30603 using dynarrays and struct alloc_buffer.
30604 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
30605 (tst-nss-files-hosts-multi): Link with -ldl.
30606 * nss/tst-nss-files-hosts-multi.c: New file.
30607
78e806fd
FW
306082017-10-11 Florian Weimer <fweimer@redhat.com>
30609
30610 [BZ #18023]
30611 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
30612 scratch_buffer. Eliminate gotos.
30613
541f19ba
JM
306142017-10-11 Joseph Myers <joseph@codesourcery.com>
30615
0ff64d3a
JM
30616 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
30617 libm_alias_ldouble_other.
30618 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
30619 undefine and redefine.
30620 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
30621 (exp10l): Do not define here.
30622 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
30623 (weak_alias): Undefine and redefine.
30624 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
30625 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
30626 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
30627 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
30628
541f19ba
JM
30629 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
30630 [!__fma] (fma): Define using libm_alias_double.
30631 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
30632 [!__fmaf] (fmaf): Define using libm_alias_float.
30633 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
30634 (fmal): Define using libm_alias_ldouble.
30635
24b6515d
JM
306362017-10-10 Joseph Myers <joseph@codesourcery.com>
30637
30638 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
30639 New macro.
30640 (libm_alias_double_other): Likewise.
30641 (libm_alias_double_r): Use libm_alias_double_other_r.
30642 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
30643 New macro.
30644 (libm_alias_float_other): Likewise.
30645 (libm_alias_float_r): Use libm_alias_float_other_r.
30646 * sysdeps/generic/libm-alias-float128.h
30647 (libm_alias_float128_other_r): New macro.
30648 (libm_alias_float128_other): Likewise.
30649 (libm_alias_float128_r): Use libm_alias_float128_other_r.
30650 * sysdeps/generic/libm-alias-ldouble.h
30651 (libm_alias_ldouble_other_r): New macro.
30652 (libm_alias_ldouble_other): Likewise.
30653 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
30654 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
30655 (libm_alias_double_other_r): New macro.
30656 (libm_alias_double_other): Likewise.
30657 (libm_alias_double_r): Use libm_alias_double_other_r.
30658 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
30659 (libm_alias_ldouble_other_r): New macro.
30660 (libm_alias_ldouble_other): Likewise.
30661 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
30662 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
30663 [!USE_AS_COMPAT]: Use libm_alias_double_other.
30664 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
30665 [!USE_AS_COMPAT]: Use libm_alias_float_other.
30666 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
30667 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
30668 * math/w_exp2f.c: Use libm_alias_float_other.
30669 * math/w_expf.c: Likewise.
30670 * math/w_log2f.c: Likewise.
30671 * math/w_logf.c: Likewise.
30672 * math/w_powf.c: Likewise.
30673 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
30674 [!__exp2f]: Use libm_alias_float_other.
30675 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
30676 [!__expf]: Use libm_alias_float_other.
30677 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
30678 [!__log2f]: Use libm_alias_float_other.
30679 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
30680 [!__logf]: Use libm_alias_float_other.
30681 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
30682 [!__powf]: Use libm_alias_float_other.
30683
8ed70de2
FW
306842017-10-10 Florian Weimer <fweimer@redhat.com>
30685
30686 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
30687 function.
30688 (_nss_files_gethostbyname3_r): Call it.
30689
a8dce619
JM
306902017-10-09 Joseph Myers <joseph@codesourcery.com>
30691
30692 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
30693 error. Remove default definition of declare_mgen_alias.
30694 [!declare_mgen_alias_r]: Likewise.
30695 * sysdeps/generic/math-type-macros-double.h
30696 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
30697 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
30698 (declare_mgen_alias_r): Likewise.
30699 * sysdeps/generic/math-type-macros-float128.h
30700 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
30701 * sysdeps/generic/math-type-macros-ldouble.h
30702 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
30703 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
30704 macro.
30705 (declare_mgen_alias_r_s): Likewise.
30706 (declare_mgen_alias_r): Likewise.
30707 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
30708 (lgamma_r): Define using libm_alias_double_r.
30709 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
30710 (lgammaf_r): Define using libm_alias_float_r.
30711 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
30712 (lgammal_r): Define using libm_alias_ldouble_r.
30713 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
30714 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
30715
bedac136
AZ
307162017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30717
30718 * lib/glob.c (__glob_pattern_type): Remove now-spurious
30719 extern declaration.
30720
c7509db2
JM
307212017-10-09 Joseph Myers <joseph@codesourcery.com>
30722
30723 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
30724
d6c064e9
JW
307252017-10-09 Jonathan Wakely <jwakely@redhat.com>
30726
30727 [BZ #21326]
30728 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
30729 [__cplusplus >= 201103] (__USE_ISOC99): Define.
30730 * math/Makefile (test-math-cxx11): New test.
30731 * math/test-math-cxx11.cc: New file.
30732
98e07420
CB
307332017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
30734
30735 * login/openpty.c (openpty): Close slave pty file descriptor on error.
30736
645ac9aa
CB
30737 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
30738 call to allocate the slave pty file descriptor.
30739
fd3b4e7c
JM
307402017-10-06 Joseph Myers <joseph@codesourcery.com>
30741
f85a176f
JM
30742 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
30743 [!__fma] (fma): Define using libm_alias_double.
30744 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
30745 [!__fma] (fma): Define using libm_alias_double.
30746
fd3b4e7c
JM
30747 * sysdeps/ieee754/float128/float128_private.h: Include
30748 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
30749 (libm_alias_ldouble_r): Undefine and redefine.
30750 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
30751 <libm-alias-ldouble.h>.
30752 (asinhl): Define using libm_alias_ldouble.
30753 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
30754 <libm-alias-ldouble.h>.
30755 (atanl): Define using libm_alias_ldouble.
30756 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
30757 <libm-alias-ldouble.h>.
30758 (cbrtl): Define using libm_alias_ldouble.
30759 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
30760 <libm-alias-ldouble.h>.
30761 (ceill): Define using libm_alias_ldouble.
30762 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
30763 <libm-alias-ldouble.h>.
30764 (copysignl): Define using libm_alias_ldouble.
30765 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
30766 <libm-alias-ldouble.h>.
30767 (cosl): Define using libm_alias_ldouble.
30768 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
30769 <libm-alias-ldouble.h>.
30770 (erfl): Define using libm_alias_ldouble.
30771 (erfcl): Likewise.
30772 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
30773 <libm-alias-ldouble.h>.
30774 (expm1l): Define using libm_alias_ldouble.
30775 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
30776 <libm-alias-ldouble.h>.
30777 (fabsl): Define using libm_alias_ldouble.
30778 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
30779 <libm-alias-ldouble.h>.
30780 (floorl): Define using libm_alias_ldouble.
30781 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
30782 <libm-alias-ldouble.h>.
30783 (fmal): Define using libm_alias_ldouble.
30784 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
30785 <libm-alias-ldouble.h>.
30786 (frexpl): Define using libm_alias_ldouble.
30787 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
30788 libm_alias_ldouble.
30789 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
30790 <libm-alias-ldouble.h>.
30791 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
30792 libm_alias_ldouble.
30793 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
30794 <libm-alias-ldouble.h>.
30795 (getpayloadl): Define using libm_alias_ldouble.
30796 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
30797 <libm-alias-ldouble.h>.
30798 (llrintl): Define using libm_alias_ldouble.
30799 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
30800 <libm-alias-ldouble.h>.
30801 (llroundl): Define using libm_alias_ldouble.
30802 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
30803 <libm-alias-ldouble.h>.
30804 (logbl): Define using libm_alias_ldouble.
30805 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
30806 <libm-alias-ldouble.h>.
30807 (lrintl): Define using libm_alias_ldouble.
30808 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
30809 <libm-alias-ldouble.h>.
30810 (lroundl): Define using libm_alias_ldouble.
30811 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
30812 <libm-alias-ldouble.h>.
30813 (modfl): Define using libm_alias_ldouble.
30814 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
30815 <libm-alias-ldouble.h>.
30816 (nearbyintl): Define using libm_alias_ldouble.
30817 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
30818 <libm-alias-ldouble.h>.
30819 (nextafterl): Define using libm_alias_ldouble.
30820 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
30821 <libm-alias-ldouble.h>.
30822 (nextupl): Define using libm_alias_ldouble.
30823 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
30824 <libm-alias-ldouble.h>.
30825 (remquol): Define using libm_alias_ldouble.
30826 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
30827 <libm-alias-ldouble.h>.
30828 (rintl): Define using libm_alias_ldouble.
30829 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
30830 <libm-alias-ldouble.h>.
30831 (roundevenl): Define using libm_alias_ldouble.
30832 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
30833 <libm-alias-ldouble.h>.
30834 (roundl): Define using libm_alias_ldouble.
30835 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
30836 using libm_alias_ldouble.
30837 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
30838 <libm-alias-ldouble.h>.
30839 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
30840 Define using libm_alias_ldouble.
30841 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
30842 <libm-alias-ldouble.h>.
30843 (sincosl): Define using libm_alias_ldouble.
30844 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
30845 <libm-alias-ldouble.h>.
30846 (sinl): Define using libm_alias_ldouble.
30847 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
30848 <libm-alias-ldouble.h>.
30849 (tanhl): Define using libm_alias_ldouble.
30850 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
30851 <libm-alias-ldouble.h>.
30852 (tanl): Define using libm_alias_ldouble.
30853 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
30854 <libm-alias-ldouble.h>.
30855 (totalorderl): Define using libm_alias_ldouble.
30856 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
30857 <libm-alias-ldouble.h>.
30858 (totalordermagl): Define using libm_alias_ldouble.
30859 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
30860 <libm-alias-ldouble.h>.
30861 (truncl): Define using libm_alias_ldouble.
30862 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
30863 libm_alias_ldouble.
30864 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
30865 libm_alias_ldouble.
30866 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
30867 <libm-alias-ldouble.h>.
30868 (weak_alias): Do not undefine and redefine.
30869 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
30870 (copysignl): Define with long_double_symbol only if [IS_IN
30871 (libc)].
30872 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
30873 <libm-alias-ldouble.h>.
30874 (weak_alias): Do not undefine and redefine.
30875 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
30876 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
30877 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
30878 <libm-alias-ldouble.h>.
30879 (weak_alias): Do not undefine and redefine.
30880 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
30881 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
30882 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
30883 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
30884 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
30885 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
30886 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
30887 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
30888 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
30889 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
30890 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
30891 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
30892 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
30893 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
30894 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
30895 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
30896 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
30897 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
30898 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
30899 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
30900 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
30901 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
30902 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
30903 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
30904 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
30905 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
30906
1e26d351
CD
309072017-10-06 Carlos O'Donell <carlos@redhat.com>
30908
30909 [BZ #22111]
30910 * malloc/malloc.c (tcache_shutting_down): Use bool type.
30911 (tcache_thread_freeres): Set tcache_shutting_down before
30912 freeing the tcache.
30913 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
30914 * malloc/tst-malloc-tcache-leak.c: New file.
30915
d1386762
RS
309162017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30917
30918 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
30919 back to powerpc32 file.
30920 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
30921 (memrchr): Add __memrchr_power8 to ifunc list.
30922 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
30923 extra bytes for unaligned inputs.
30924
6dff1983
JM
309252017-10-06 Joseph Myers <joseph@codesourcery.com>
30926
30927 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
30928 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
30929 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
30930 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
30931 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
30932
86f9568a
JM
309332017-10-05 Joseph Myers <joseph@codesourcery.com>
30934
0db0b931
JM
30935 * sysdeps/arm/libm-test-ulps: Update.
30936
86f9568a
JM
30937 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
30938 <libm-alias-ldouble.h>.
30939 (asinhl): Define using libm_alias_ldouble.
30940 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
30941 <libm-alias-ldouble.h>.
30942 (cbrtl): Define using libm_alias_ldouble.
30943 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
30944 <libm-alias-ldouble.h>.
30945 (copysignl): Define using libm_alias_ldouble.
30946 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
30947 <libm-alias-ldouble.h>.
30948 (cosl): Define using libm_alias_ldouble.
30949 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
30950 <libm-alias-ldouble.h>.
30951 (erfl): Define using libm_alias_ldouble.
30952 (erfcl): Likewise.
30953 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
30954 <libm-alias-ldouble.h>.
30955 (fmal): Define using libm_alias_ldouble.
30956 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
30957 <libm-alias-ldouble.h>.
30958 (frexpl): Define using libm_alias_ldouble.
30959 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
30960 libm_alias_ldouble.
30961 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
30962 <libm-alias-ldouble.h>.
30963 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
30964 libm_alias_ldouble.
30965 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
30966 <libm-alias-ldouble.h>.
30967 (getpayloadl): Define using libm_alias_ldouble.
30968 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
30969 <libm-alias-ldouble.h>.
30970 (llrintl): Define using libm_alias_ldouble.
30971 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
30972 <libm-alias-ldouble.h>.
30973 (llroundl): Define using libm_alias_ldouble.
30974 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
30975 <libm-alias-ldouble.h>.
30976 (lrintl): Define using libm_alias_ldouble.
30977 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
30978 <libm-alias-ldouble.h>.
30979 (lroundl): Define using libm_alias_ldouble.
30980 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
30981 <libm-alias-ldouble.h>.
30982 (modfl): Define using libm_alias_ldouble.
30983 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
30984 <libm-alias-ldouble.h>.
30985 (nextupl): Define using libm_alias_ldouble.
30986 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
30987 <libm-alias-ldouble.h>.
30988 (remquol): Define using libm_alias_ldouble.
30989 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
30990 <libm-alias-ldouble.h>.
30991 (roundevenl): Define using libm_alias_ldouble.
30992 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
30993 <libm-alias-ldouble.h>.
30994 (roundl): Define using libm_alias_ldouble.
30995 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
30996 using libm_alias_ldouble.
30997 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
30998 <libm-alias-ldouble.h>.
30999 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
31000 <libm-alias-ldouble.h>.
31001 (setpayloadsigl): Define using libm_alias_ldouble.
31002 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
31003 <libm-alias-ldouble.h>.
31004 (sincosl): Define using libm_alias_ldouble.
31005 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
31006 <libm-alias-ldouble.h>.
31007 (sinl): Define using libm_alias_ldouble.
31008 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
31009 <libm-alias-ldouble.h>.
31010 (tanhl): Define using libm_alias_ldouble.
31011 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
31012 <libm-alias-ldouble.h>.
31013 (tanl): Define using libm_alias_ldouble.
31014 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
31015 <libm-alias-ldouble.h>.
31016 (totalorderl): Define using libm_alias_ldouble.
31017 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
31018 <libm-alias-ldouble.h>.
31019 (totalordermagl): Define using libm_alias_ldouble.
31020 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
31021 libm_alias_ldouble.
31022 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
31023 libm_alias_ldouble.
31024
9ec87fd2
SP
310252017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
31026
dd5bc7f1
SP
31027 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
31028 memmove_falkor.
31029 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
31030 (__libc_ifunc_impl_list): Likewise.
31031 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
31032 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
31033
5bfb0404
SP
31034 * benchtests/bench-memmove-walk.c: New file.
31035 * benchtests/Makefile (string-benchset): Add it.
31036
36bb8edf
SP
31037 * benchtests/bench-memset-walk.c: New file.
31038 * benchtests/Makefile (string-benchset): Add it.
31039
9ec87fd2
SP
31040 * benchtests/bench-memcpy-walk.c: New file.
31041 * benchtests/Makefile (string-benchset): Add it.
31042
1e9522c6
FW
310432017-10-05 Florian Weimer <fweimer@redhat.com>
31044
31045 nscd: Eliminate compilation time dependency in the build output.
31046 * nscd/nscd_stat.c (STATDATA_VERSION)
31047 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
31048 (STATDATA_VERSION_FULL): New macro definitions.
31049 (compilation): Remove.
31050 (struct statdata): Adjust version member.
31051 (send_stats): Set version from STATDATA_VERSION_FULL.
31052 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
31053
644d3857
JM
310542017-10-05 Joseph Myers <joseph@codesourcery.com>
31055
31056 * configure.ac (--enable-add-ons): Remove option.
31057 (machine): Do not mention add-ons in comment.
31058 (LIBC_PRECONFIGURE): Likewise.
31059 (add_ons): Remove variable and sanity checks and logic to locate
31060 add-ons.
31061 (add_ons_automatic): Remove variable.
31062 (configured_add_ons): Likewise.
31063 (add_ons_sfx): Likewise.
31064 (add_ons_pfx): Likewise.
31065 (add_on_subdirs): Likewise.
31066 (sysnames_add_ons): Likewise. Remove loop over add-ons and
31067 consideration of add-ons in Implies handling.
31068 (sysdeps_add_ons): Likewise.
31069 * configure: Regenerated.
31070 * libidn/configure.ac: Remove.
31071 * libidn/configure: Likewise.
31072 * sysdeps/unix/inet/configure.ac: New file.
31073 * sysdeps/unix/inet/configure: New generated file.
31074 * sysdeps/unix/inet/Subdirs: Add libidn.
31075 * Makeconfig (sysdeps-srcdirs): Remove variable.
31076 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
31077 ($(common-objpfx)config.status): Do not depend on add-on files.
31078 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
31079 comment.
31080 (all-subdirs): Do not include $(add-on-subdirs).
31081 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
31082 * config.make.in (add-ons): Remove variable.
31083 (add-on-subdirs): Likewise.
31084 (sysdeps-add-ons): Likewise.
31085 * manual/Makefile (add-chapters): Remove.
31086 ($(objpfx)texis): Do not depend on $(add-chapters).
31087 (nonexamples): Do not handle $(add-chapters).
31088 (examples): Do not handle $(add-ons).
31089 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
31090 libc-texinfo.sh.
31091 * manual/install.texi (Installation): Do not mention add-ons.
31092 (--enable-add-ons): Do not document configure option.
31093 * INSTALL: Regenerated.
31094 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
31095 * manual/maint.texi (Hierarchy Conventions): Do not mention
31096 add-ons.
31097 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
31098 --enable-add-ons.
31099 * scripts/gen-sorted.awk: Do not handle Subdirs files from
31100 add-ons.
31101 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
31102 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
31103
19f82f35
AS
311042017-10-05 Andreas Schwab <schwab@suse.de>
31105
31106 [BZ #15142]
31107 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
31108 (_IO_flush_all_lockp): Always lock list_all_lock.
31109 (_IO_flush_all_linebuffered): Likewise.
31110 (_IO_unbuffer_all): Likewise.
31111
91e7cf98
FW
311122017-10-05 Florian Weimer <fweimer@redhat.com>
31113
31114 [BZ #15436]
31115 Do not flush stdio streams on abort.
31116 * stdlib/abort.c (fflush): Remove macro definition.
31117 (abort): Remove stages related to stdio flushing.
31118
0c251257
FW
311192017-10-05 Florian Weimer <fweimer@redhat.com>
31120
31121 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
31122
7ea59e3e
SL
311232017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
31124
31125 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
31126
84d0e6f0
FW
311272017-10-05 Florian Weimer <fweimer@redhat.com>
31128
31129 * support/support_format_hostent.c (support_format_hostent): Add
31130 more error information for NETDB_INTERNAL.
31131
ee417882
L
311322017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31133
31134 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
31135 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
31136 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
31137 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
31138 AC_DEFINE if multi-arch is enabled.
31139 * sysdeps/i386/configure: Regenerated.
31140
a67029ff
L
311412017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31142
31143 * Makeconfig (+link-static-before-libc): Use
31144 $(DEFAULT-LDFLAGS-$(@F)).
31145 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
31146 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
31147 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
31148
5dba84b3
L
311492017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31150
31151 * elf/Makefile (tests): Add tst-main1.
31152 (modules-names): Add tst-main1mod.
31153 ($(objpfx)tst-main1): New.
31154 (CRT-tst-main1): Likewise.
31155 (LDFLAGS-tst-main1): Likewise.
31156 (LDLIBS-tst-main1): Likewise.
31157 (tst-main1mod.so-no-z-defs): Likewise.
31158 * elf/tst-main1.c: New file.
31159 * elf/tst-main1mod.c: Likewise.
31160
758f1bfa
L
311612017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31162
31163 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
31164
7e16a5d1
JM
311652017-10-04 Joseph Myers <joseph@codesourcery.com>
31166
31167 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
31168 (fma): Define using libm_alias_double.
31169 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
31170 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
31171 <math_ldbl_opt.h>.
31172 (fmal): Do not define as compat symbol here.
31173 * sysdeps/alpha/fpu/s_fma.c: New file.
31174
db4f87ba
SN
311752017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31176
31177 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
31178
72d13ed1
JM
311792017-10-04 Joseph Myers <joseph@codesourcery.com>
31180
32d372d5
JM
31181 [BZ #22229]
31182 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
31183 <math_ldbl_opt.h>
31184 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
31185 and libc.
31186 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
31187 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
31188 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
31189 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
31190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
31191 Include <math_ldbl_opt.h>
31192 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
31193 and libc.
31194 (compat_symbol): Undefine and redefine.
31195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
31196 <math_ldbl_opt.h>
31197 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
31198 (compat_symbol): Undefine and redefine.
31199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
31200 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
31201 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
31202 GLIBC_2_1 for libm.
31203 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
31204 GLIBC_2.0 copysignl symbol.
31205 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
31206 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
31207
72d13ed1
JM
31208 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
31209
11c4f501
FW
312102017-10-04 Florian Weimer <fweimer@redhat.com>
31211
31212 * scripts/check-local-headers.sh: Ignore nspr4 header file
31213 directory in addition to nspr.
31214
57b4af19
GT
312152017-10-04 Guido Trentalancia <guido@trentalancia.net>
31216
31217 [BZ #17956]
31218 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
31219 * configure: Regenerate.
31220 * crypt/Makefile (nss-cpp-flags): New variable.
31221 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
31222 (CPPFLAGS-md5-crypt.c): Use it.
31223 * scripts/check-local-headers.sh: Ignore nspr header file
31224 directory.
31225
64d1e08e
AS
312262017-10-04 Andreas Schwab <schwab@suse.de>
31227
31228 * nis/Makefile (services): Remove compat.
31229 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
31230 ($(objpfx)libnss_compat.so): Remove rule.
31231 * nis/Versions (libnss_compat): Remove.
31232 * nss/Makefile (services): Add compat.
31233 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
31234 * nss/Versions (libnss_compat): Define.
31235 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
31236 Don't include <rpc/types.h>. Replace bool_t by bool.
31237 * nss/nss_compat/compat-initgroups.c: Likewise.
31238 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
31239 instead of <rpcsrv/ypclnt.h>.
31240 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
31241 yp_get_default_domain.
31242 * nss/nss_compat/compat-pwd.c: Likewise.
31243 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
31244 yp_get_default_domain.
31245 * nss/nss_compat/nisdomain.c: New file.
31246 * nss/nss_compat/nisdomain.h: Likewise.
31247
86c27ade
SN
312482017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31249
31250 [BZ #22244]
31251 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
31252 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31253
8f8f8ef7
SN
312542017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31255
31256 [BZ #22243]
31257 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
31258 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
31259
95577475
L
312602017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31261
31262 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
31263 "movl main@GOTOFF(%ebx), %eax".
31264
02d2d892
L
312652017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31266
31267 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
31268 allow undefined _DYNAMIC in PIE libc.a.
31269 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
31270 Likewse.
31271
0c609d19
L
312722017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31273
31274 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
31275 check _DYNAMIC.
31276
c34a19ed
L
312772017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31278
31279 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
31280 check _DYNAMIC.
31281
cdd4155d
L
312822017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31283
31284 * math/test-math-iscanonical.cc (error): Replace bool with int.
31285
4699cb8b
JM
312862017-10-03 Joseph Myers <joseph@codesourcery.com>
31287
d8f619b3
JM
31288 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
31289 (modf): Define using libm_alias_double, only if [!__modf].
31290 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
31291 <libm-alias-double.h>.
31292 (modf): Define using libm_alias_double, only if [!__modf].
31293 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
31294 compat symbol here.
31295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
31296 (weak_alias): Do not undefine and redefine.
31297 (strong_alias): Likewise.
31298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
31299 (weak_alias): Likewise.
31300 (strong_alias): Likewise.
31301
4699cb8b
JM
31302 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
31303 (logb): Define using libm_alias_double, only if [!__logb].
31304 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
31305 <libm-alias-double.h>.
31306 (logb): Define using libm_alias_double, only if [!__logb].
31307 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
31308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
31309 (weak_alias): Do not undefine and redefine.
31310 (strong_alias): Likewise.
31311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
31312 (weak_alias): Likewise.
31313 (strong_alias): Likewise.
31314
bcc4e4bb
L
313152017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31316
31317 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
31318 Check SHARED instead PIC.
31319
39793865
JM
313202017-10-03 Joseph Myers <joseph@codesourcery.com>
31321
7f1cbdf8
JM
31322 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
31323 [!__fmaf] (fmaf): Define using libm_alias_float.
31324
39793865
JM
31325 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
31326 (frexp): Define using libm_alias_double.
31327 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
31328 <libm-alias-double.h>.
31329 (frexp): Define using libm_alias_double.
31330 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
31331 compat symbol here.
31332
aa0235df
GG
313332017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31334
31335 [BZ #22235]
31336 * math/math.h: Trivial fix for unbalanced parentheses in comment.
31337 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
31338 (CFLAGS-test-math-iscanonical.cc): New variable.
31339 * math/test-math-iscanonical.cc: New file.
31340 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
31341 Provide a C++ implementation based on function overloading,
31342 rather than using __MATH_TG, which uses C-only builtins.
31343 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
31344 Likewise.
31345 * sysdeps/powerpc/powerpc64le/Makefile
31346 (CFLAGS-test-math-iscanonical.cc): New variable.
31347
a1132b5e
JM
313482017-10-03 Joseph Myers <joseph@codesourcery.com>
31349
31350 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
31351 (ceil): Define using libm_alias_double.
31352 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
31353 (floor): Define using libm_alias_double.
31354 * sysdeps/ieee754/dbl-64/s_llround.c: Include
31355 <libm-alias-double.h>.
31356 (llround): Define using libm_alias_double.
31357 * sysdeps/ieee754/dbl-64/s_lround.c: Include
31358 <libm-alias-double.h>.
31359 (lround): Define using libm_alias_double.
31360 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
31361 <libm-alias-double.h>.
31362 (nearbyint): Define using libm_alias_double.
31363 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
31364 <libm-alias-double.h>.
31365 (remquo): Define using libm_alias_double.
31366 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
31367 (rint): Define using libm_alias_double.
31368 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
31369 (round): Define using libm_alias_double.
31370 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
31371 (trunc): Define using libm_alias_double.
31372 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
31373 <libm-alias-double.h>.
31374 (ceil): Define using libm_alias_double.
31375 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
31376 <libm-alias-double.h>.
31377 (floor): Define using libm_alias_double.
31378 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
31379 <libm-alias-double.h>.
31380 (llround): Define using libm_alias_double.
31381 [_LP64] (lround): Likewise.
31382 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
31383 <libm-alias-double.h>.
31384 [!_LP64] (lround): Define using libm_alias_double.
31385 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
31386 <libm-alias-double.h>.
31387 (nearbyint): Define using libm_alias_double.
31388 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
31389 <libm-alias-double.h>.
31390 (remquo): Define using libm_alias_double.
31391 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
31392 <libm-alias-double.h>.
31393 (rint): Define using libm_alias_double.
31394 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
31395 <libm-alias-double.h>.
31396 (round): Define using libm_alias_double.
31397 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
31398 <libm-alias-double.h>.
31399 (trunc): Define using libm_alias_double.
31400 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
31401 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
31402 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
31403 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
31404 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
31405 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
31406 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
31407 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
31408 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
31409
f275f64e
SN
314102017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
31411
31412 * math/w_remainder.c: New file.
31413 * math/w_remainderf.c: New file.
31414 * math/w_remainderl.c: New file.
31415
b8818ab5
L
314162017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31417
31418 * elf/rtld.c (BOOTSTRAP_MAP): New.
31419 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
31420 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31421 Likewise.
31422 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31423 Likewise.
31424 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31425 Likewise.
31426
3d1870fa
ST
314272017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
31428
31429 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
31430 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
31431 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
31432 rtld_hidden_data_ver): Define to empty.
31433 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
31434 __assert_perror_fail): Likewise.
31435 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31436 (__rewinddir): Likewise.
31437 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31438 (__profile_frequency): Likewise.
31439 * include/setjmp.h (__sigsetjmp): Likewise.
31440 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
31441 __libc_sigaction): Likewise.
31442 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
31443 not set hidden attribute.
31444 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
31445 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
31446 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
31447 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
31448 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
31449 __fxstatat64): Likewise.
31450 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31451 (__uname): Likewise.
31452 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31453 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
31454 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
31455 (NO_RTLD_HIDDEN): Set.
31456 * sysdeps/mach/hurd/configure: Refresh.
31457 * config.h.in: Refresh.
31458
527cd19c
JM
314592017-10-02 Joseph Myers <joseph@codesourcery.com>
31460
38722448
JM
31461 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
31462 (atan): Define using libm_alias_double.
31463 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
31464 (tan): Define using libm_alias_double.
31465 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
31466 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
31467
527cd19c
JM
31468 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
31469 define as weak alias of __atan. Do not define any aliases if
31470 [__atan].
31471 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
31472 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
31473 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
31474 as weak alias of __tan. Do not define any aliases if [__tan].
31475 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
31476 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
31477 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
31478 __atan.
31479 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
31480 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
31481 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
31482 and define as weak alias of __atan.
31483 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
31484 __atan.
31485 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
31486 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
31487 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
31488 define as weak alias of __tan.
31489
bdc5c592
SN
314902017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31491
31492 * math/w_lgamma.c: New file.
31493 * math/w_lgammaf.c: New file.
31494 * math/w_lgammal.c: New file.
31495
bd4430c2
SN
314962017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31497
31498 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
31499 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
31500 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
31501 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
31502 * sysdeps/ieee754/flt-32/w_logf.c: New file.
31503 * sysdeps/ieee754/flt-32/w_powf.c: New file.
31504 * sysdeps/i386/fpu/w_log2f.c: New file.
31505 * sysdeps/i386/fpu/w_logf.c: New file.
31506 * sysdeps/i386/fpu/w_powf.c: New file.
31507 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
31508 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
31509 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
31510
f7a0b063
SN
315112017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31512 H.J. Lu <hongjiu.lu@intel.com>
31513
31514 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
31515 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
31516 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
31517 * sysdeps/ieee754/flt-32/w_expf.c: New file.
31518 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
31519 the new expf code.
31520 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
31521 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
31522 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
31523 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
31524 * sysdeps/i386/fpu/w_exp2f.c: New file.
31525 * sysdeps/i386/fpu/w_expf.c: New file.
31526 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
31527 * sysdeps/x86_64/fpu/w_expf.c: New file.
31528
72d3d281
SN
315292017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31530
31531 * math/Versions (logf): New libm symbol at GLIBC_2.27.
31532 (log2f): Likewise.
31533 (powf): Likewise.
31534 * math/w_log2f.c: New file.
31535 * math/w_logf.c: New file.
31536 * math/w_powf.c: New file.
31537 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
31538 * math/w_logf_compat.c (__logf_compat): Likewise.
31539 * math/w_powf_compat.c (__powf_compat): Likewise.
31540 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
31541 * sysdeps/ia64/fpu/e_logf.S: Likewise.
31542 * sysdeps/ia64/fpu/e_powf.S: Likewise.
31543 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
31544 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
31545 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
31546 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
31547 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
31548 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
31549 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
31550 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
31551 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
31552 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
31553 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
31554 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
31555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
31556 Likewise.
31557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
31558 Likewise.
31559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
31560 Likewise.
31561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
31562 Likewise.
31563 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
31564 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
31565 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
31566 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
31567 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
31568 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
31569 Likewise.
31570 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
31571 Likewise.
31572 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
31573 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
31574 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
31575
59ba2d2b
RS
315762017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31577
31578 * sysdeps/powerpc/powerpc64/multiarch/Makefile
31579 (sysdep_routines): Add memrchr_power8.
31580 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31581 (memrchr): Add __memrchr_power8 to list of memrchr functions.
31582 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
31583 New file.
31584 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
31585 (memrchr): Add __memrchr_power8 to ifunc list.
31586 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
31587
397286ea
L
315882017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31589
31590 [BZ #18822]
31591 * sysdeps/unix/sysv/linux/posix_fadvise64.c
31592 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
31593 libc_hidden_def.
31594 * sysdeps/unix/sysv/linux/posix_fallocate64.c
31595 (__posix_fallocate64_l64): Likewise.
31596
d0a4512b
L
315972017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31598
31599 [BZ #18822]
31600 * sysdeps/unix/sysv/linux/sched_setaffinity.c
31601 (__sched_setaffinity_new): Add libc_hidden_proto and
31602 libc_hidden_def.
31603
c0769f70
L
316042017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31605
31606 [BZ #18822]
31607 * include/glob.h (__glob64): Add libc_hidden_proto.
31608 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
31609 libc_hidden_def.
31610
0e7d5b6e
L
316112017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31612
31613 [BZ #18822]
31614 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
31615 attribute_hidden.
31616
bde06c87
L
316172017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31618
31619 [BZ #18822]
31620 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
31621
fa426590
L
316222017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31623
31624 [BZ #18822]
31625 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
31626 libc_hidden_def.
31627
2f8a05d8
L
316282017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31629
31630 [BZ #18822]
31631 * csu/version.c (__libc_print_version): Add attribute_hidden.
31632
7bfd08ac
L
316332017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31634
31635 [BZ #18822]
31636 * include/libc-internal.h (__init_misc): Add attribute_hidden.
31637
0e1fd06c
L
316382017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31639
31640 [BZ #18822]
31641 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
31642
36e7ae1e
L
316432017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31644
31645 [BZ #18822]
31646 * nscd/nscd_helper.c (__nis_hash): New prototype.
31647
87078544
L
316482017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31649
31650 [BZ #18822]
31651 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
31652 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
31653 libc_hidden_def.
31654 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
31655 * termios/tcgetattr.c (__tcgetattr): Likewise.
31656
dd3121df
L
316572017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31658
31659 [BZ #18822]
31660 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
31661 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
31662 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
31663 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
31664 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
31665
047d1a81
L
316662017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31667
31668 [BZ #18822]
31669 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
31670
fd331b11
L
316712017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31672
31673 [BZ #18822]
31674 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
31675 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
31676
57f859bd
L
316772017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31678
31679 [BZ #18822]
31680 * intl/hash-string.h (__hash_string): Add attribute_hidden.
31681
d1903329
L
316822017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31683
31684 [BZ #18822]
31685 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
31686 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
31687
b4744101
L
316882017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31689
31690 [BZ #18822]
31691 * include/ifreq.h: New file.
31692 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
31693 (__ifreq): Likewise.
31694 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
31695 (__ifreq): Likewise.
31696
43b7dfd1
L
316972017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31698
31699 [BZ #18822]
31700 * include/idna.h: New file.
31701 * inet/getnameinfo.c: Include <idna.h> instead of
31702 <libidn/idna.h>.
31703 (__idna_to_unicode_lzlz): Removed.
31704 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
31705 <libidn/idna.h>.
31706 (__idna_to_ascii_lz): Removed.
31707 (__idna_to_unicode_lzlz): Likewise.
31708
2c0cd8f8
L
317092017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31710
31711 [BZ #18822]
31712 * include/plural-exp.h: New file.
31713 * intl/plural-exp.c: Include <plural-exp.h> instead of
31714 "plural-exp.h".
31715
8369d216
L
317162017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31717
31718 [BZ #18822]
31719 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
31720 "getsourcefilter.h".
31721 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
31722 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
31723 "getsourcefilter.h".
31724 (__get_sol): Removed.
31725
a0aef783
L
317262017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31727
31728 [BZ #18822]
31729 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
31730 to ...
31731 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
31732
3ee8209b
L
317332017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31734
31735 [BZ #18822]
31736 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
31737 attribute_hidden.
31738
6036fc38
L
317392017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31740
31741 [BZ #18822]
31742 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
31743
fe84fed0
L
317442017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31745
31746 [BZ #18822]
31747 * include/search.h (__tdestroy): Add libc_hidden_proto.
31748 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
31749
048dd681
L
317502017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31751
31752 [BZ #18822]
31753 * include/assert.h (__assert_fail_base): Add attribute_hidden.
31754
6e342af6
L
317552017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31756
31757 [BZ #18822]
31758 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
31759 attribute_hidden.
31760
6a088436
L
317612017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31762
31763 [BZ #18822]
31764 * include/signal.h (__kill): Add libc_hidden_proto.
31765 (__sigblock): Likewise.
31766 (__sigprocmask): Likewise.
31767 (__sigaltstack): Likewise.
31768 * signal/kill.c (__kill): Add libc_hidden_def.
31769 * signal/sigblock.c (__sigblock): Likewise.
31770 * signal/sigprocmask.c (__sigprocmask): Likewise.
31771 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
31772 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
31773 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
31774 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
31775 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
31776 Likewise.
31777 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
31778 Likewise.
31779 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
31780 (__sigprocmask): Likewise.
31781 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
31782 Likewise.
31783 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
31784 (__sigprocmask): Likewise.
31785 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
31786 Likewise.
31787
78cf1d74
L
317882017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31789
31790 [BZ #18822]
31791 * include/string.h (__strsep): Add libc_hidden_proto.
31792 * string/strsep.c (__strsep): Add libc_hidden_def.
31793
85b35894
L
317942017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31795
31796 [BZ #18822]
31797 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
31798 attribute_hidden.
31799 (__spawni): Likewise.
31800
225f7eec
L
318012017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31802
31803 [BZ #18822]
31804 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
31805 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
31806 libc_hidden_def.
31807
372fe247
L
318082017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31809
31810 [BZ #18822]
31811 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
31812
9e5ee8b8
L
318132017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31814
31815 [BZ #18822]
31816 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
31817 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
31818 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
31819 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
31820 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
31821 Likewise.
31822 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
31823 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
31824
2ff16592
L
318252017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31826
31827 [BZ #18822]
31828 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
31829 (__dcigettext): Likewise.
31830
b5648377
L
318312017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31832
31833 [BZ #18822]
31834 * include/sys/sysinfo.h (__get_nprocs_conf): Add
31835 libc_hidden_proto.
31836 (__get_nprocs): Likewise.
31837 (__get_phys_pages): Likewise.
31838 (__get_avphys_pages): Likewise.
31839 (__get_child_max): Add attribute_hidden.
31840 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
31841 (__get_nprocs): Likewise.
31842 (__get_phys_pages): Likewise.
31843 (__get_avphys_pages): Likewise.
31844 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
31845 libc_hidden_def.
31846 (__get_nprocs): Likewise.
31847 (__get_phys_pages): Likewise.
31848 (__get_avphys_pages): Likewise.
31849 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
31850 libc_hidden_def.
31851 (__get_nprocs_conf): Likewise.
31852 (__get_phys_pages): Likewise.
31853 (__get_avphys_pages): Likewise.
31854
0389a6aa
L
318552017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31856
31857 [BZ #18822]
31858 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
31859 attribute_hidden.
31860 (__netlink_close): Likewise.
31861 (__netlink_free_handle): Likewise.
31862 (__netlink_request): Likewise.
31863
d48354d8
L
318642017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31865
31866 [BZ #18822]
31867 * include/rpc/rpc.h (__rpc_thread_variables): Add
31868 attribute_hidden.
31869 (__rpc_thread_svc_cleanup): Likewise.
31870 (__rpc_thread_clnt_cleanup): Likewise.
31871 (__rpc_thread_key_cleanup): Likewise.
31872
d6daff12
L
318732017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31874
31875 [BZ #18822]
31876 * include/sys/uio.h (__readv): Add libc_hidden_proto.
31877 (__writev): Likewise.
31878 * misc/readv.c (__readv): Add libc_hidden_def.
31879 * misc/writev.c (__writev): Likewise.
31880 * sysdeps/posix/readv.c (__readv): Likewise.
31881 * sysdeps/posix/writev.c (__writev): Likewise.
31882 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
31883 (__readv): Likewise.
31884 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
31885 (__writev): Likewise.
31886
b68f8620
L
318872017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31888
31889 [BZ #18822]
31890 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
31891 (__regcomp): Add libc_hidden_proto.
31892 (__regexec): Likewise.
31893 (__regfree): Likewise.
31894 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
31895 (__regfree): Likewise.
31896 * posix/regexec.c (__regexec): Likewise.
31897
59c04e67
L
318982017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31899
31900 [BZ #18822]
31901 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
31902 (__getutent): Likewise.
31903 (__getutid): Likewise.
31904 (__getutline): Likewise.
31905 (__pututline): Likewise.
31906 (__getutent_r): Likewise.
31907 (__getutid_r): Likewise.
31908 (__getutline_r): Likewise.
31909 (__utmpname): Add attribute_hidden.
31910 (__setutent): Likewise.
31911 (__endutent): Likewise.
31912 * login/getutent.c (__getutent): Add libc_hidden_def.
31913 * login/getutent_r.c (__getutent_r): Likewise.
31914 (__pututline): Likewise.
31915 * login/getutid.c (__getutid): Likewise.
31916 * login/getutid_r.c (__getutid_r): Likewise.
31917 * login/getutline.c (__getutline): Likewise.
31918 * login/getutline_r.c (__getutline_r): Likewise.
31919 * login/updwtmp.c (__updwtmp): Likewise.
31920
4587a421
L
319212017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31922
31923 [BZ #18822]
31924 * include/dirent.h (__opendir): Always add attribute_hidden.
31925 (__fdopendir): Likewise.
31926 (__closedir): Likewise.
31927 (__readdir): Likewise.
31928 (__readdir64): Add libc_hidden_proto.
31929 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
31930 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
31931 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
31932 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
31933 New alias.
31934
9635ce69
L
319352017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31936
31937 [BZ #18822]
31938 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
31939 * include/netdb.h (__gethostbyaddr_r): Likewise.
31940 (__gethostbyname_r): Likewise.
31941 (__gethostbyname2_r): Likewise.
31942 (__getnetbyaddr_r): Likewise.
31943 (__getnetbyname_r): Likewise.
31944 (__getservbyname_r): Likewise.
31945 (__getservbyport_r): Likewise.
31946 (__getprotobyname_r): Likewise.
31947 (__getprotobynumber_r): Likewise.
31948 (__getnetgrent_r): Likewise.
31949 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
31950 (__getrpcbynumber_r): Likewise.
31951 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
31952
2e0a6909
L
319532017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31954
31955 [BZ #18822]
31956 * include/stdio.h (__fcloseall): Add attribute_hidden.
31957 (__getline): Likewise.
31958 (__path_search): Likewise.
31959 (__gen_tempname): Likewise.
31960 (__libc_message): Likewise.
31961 (__flockfile): Likewise.
31962 (__funlockfile): Likewise.
31963 (__fxprintf): Likewise.
31964 (__fxprintf_nocancel): Likewise.
31965
94fd682c
L
319662017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31967
31968 [BZ #18822]
31969 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
31970 (__sgetsgent_r): Likewise.
31971
e1b33bba
L
319722017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31973
31974 [BZ #18822]
31975 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
31976 (__statfs64): Likewise.
31977 (__fstatfs64): Likewise.
31978 * include/sys/statvfs.h (__statvfs64): Likewise.
31979 (__fstatvfs64): Likewise.
31980 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
31981 (__statfs_filesize_max): Likewise.
31982 (__statfs_symlinks): Likewise.
31983 (__statfs_chown_restricted): Likewise.
31984
b0f56784
L
319852017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31986
31987 [BZ #18822]
31988 * include/time.h (__tzstring): Add attribute_hidden.
31989 (__tzfile_read): Likewise.
31990 (__tzfile_compute): Likewise.
31991 (__tzfile_default): Likewise.
31992 (__tzset_parse_tz): Likewise.
31993 (__offtime): Likewise.
31994 (__asctime_r): Likewise.
31995 (__tzset): Likewise.
31996 (__tz_convert): Likewise.
31997 (__getdate_r): Likewise.
31998 (__getclktck): Likewise.
31999
a4338d99
L
320002017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32001
32002 [BZ #18822]
32003 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
32004 (__nscd_unmap): Likewise.
32005 (__nscd_cache_search): Likewise.
32006 (__nscd_get_nl_timestamp): Likewise.
32007 (__nscd_getpwnam_r): Likewise.
32008 (__nscd_getpwuid_r): Likewise.
32009 (__nscd_getgrnam_r): Likewise.
32010 (__nscd_getgrgid_r): Likewise.
32011 (__nscd_gethostbyname_r): Likewise.
32012 (__nscd_gethostbyname2_r): Likewise.
32013 (__nscd_gethostbyaddr_r): Likewise.
32014 (__nscd_getai): Likewise.
32015 (__nscd_getgrouplist): Likewise.
32016 (__nscd_getservbyname_r): Likewise.
32017 (__nscd_getservbyport_r): Likewise.
32018 (__nscd_innetgr): Likewise.
32019 (__nscd_setnetgrent): Likewise.
32020
a2ca1652
L
320212017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32022
32023 [BZ #18822]
32024 * include/gmp.h: Declare internal functions only if _ISOMAC is
32025 undefined.
32026 (__mpn_extract_double): Add attribute_hidden.
32027 (__mpn_extract_long_double): Likewise.
32028 (__mpn_extract_float128): Likewise.
32029 (__mpn_construct_float): Likewise.
32030 (__mpn_construct_double): Likewise.
32031 (__mpn_construct_long_double): Likewise.
32032 (__mpn_construct_float128): Likewise.
32033 (mpn_add_1): Likewise.
32034 (mpn_addmul_1): Likewise.
32035 (mpn_add_n): Likewise.
32036 (mpn_cmp): Likewise.
32037 (mpn_divrem): Likewise.
32038 (mpn_lshift): Likewise.
32039 (mpn_mul): Likewise.
32040 (mpn_mul_1): Likewise.
32041 (mpn_rshift): Likewise.
32042 (mpn_sub_1): Likewise.
32043 (mpn_submul_1): Likewise.
32044 (mpn_sub_n): Likewise.
32045
44af8a32
L
320462017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32047
32048 [BZ #18822]
32049 * include/wchar.h (__wcsnlen): Add attribute_hidden.
32050 (__wcscat): Likewise.
32051 (__btowc): Likewise.
32052 (__wcrtomb): Likewise.
32053 (__mbsrtowcs): Likewise.
32054 (__wcsrtombs): Likewise.
32055 (__mbsnrtowcs): Likewise.
32056 (__wcsnrtombs): Likewise.
32057 (__wcsncpy): Likewise.
32058 (__wcpncpy): Likewise.
32059 (__wmemcpy): Likewise.
32060 (__wmempcpy): Likewise.
32061 (__wmemmove): Likewise.
32062 (__wcschrnul): Likewise.
32063 (__vfwscanf): Likewise.
32064 (__vswprintf): Likewise.
32065 (__fwprintf): Likewise.
32066 (__vfwprintf): Likewise.
32067
783cd767
L
320682017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32069
32070 [BZ #18822]
32071 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
32072 (__getgrgid_r): Likewise.
32073 (__getgrnam_r): Likewise.
32074 * include/pwd.h (__getpwuid_r): Likewise.
32075 (__getpwnam_r): Likewise.
32076 (__fgetpwent_r): Likewise.
32077 * include/shadow.h (__getspnam_r): Likewise.
32078 (__sgetspent_r): Likewise.
32079 (__fgetspent_r): Likewise.
32080
7ec4b39a
L
320812017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32082
32083 [BZ #18822]
32084 * include/unistd.h (__access): Add attribute_hidden.
32085 (__lseek64): Likewise.
32086 (__libc_pread64): Likewise.
32087 (__pipe2): Likewise.
32088 (__sleep): Likewise.
32089 (__chdir): Likewise.
32090 (__fchdir): Likewise.
32091 (__getcwd): Likewise.
32092 (__rmdir): Likewise.
32093 (__execvpe): Likewise.
32094 (__execve): Likewise.
32095 (__setsid): Likewise.
32096 (__getuid): Likewise.
32097 (__geteuid): Likewise.
32098 (__getgid): Likewise.
32099 (__getegid): Likewise.
32100 (__getgroups): Likewise.
32101 (__group_member): Likewise.
32102 (__ttyname_r): Likewise.
32103 (__isatty): Likewise.
32104 (__readlink): Likewise.
32105 (__unlink): Likewise.
32106 (__gethostname): Likewise.
32107 (__profil): Likewise.
32108 (__getdtablesize): Likewise.
32109 (__brk): Likewise.
32110 (__ftruncate): Likewise.
32111 (__ftruncate64): Likewise.
32112
8345a760
L
321132017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32114
32115 [BZ #18822]
32116 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
32117 * argp/argp-fs-xinl.c: Likewise.
32118 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
32119 * argp/argp-parse.c: Include <argp.h>.
32120 * argp/argp-xinl.c: Likewise.
32121 * include/argp-fmtstream.h: New file.
32122 * include/argp.h (__argp_error): Add attribute_hidden.
32123 (__argp_failure): Likewise.
32124 (__argp_input): Likewise.
32125 (__argp_state_help): Likewise.
32126
c26dd7c6
L
321272017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32128
32129 [BZ #18822]
32130 * include/wchar.h (____wcstof_l_internal): New prototype.
32131 (____wcstod_l_internal): Likewise.
32132 (____wcstold_l_internal): Likewise.
32133 (____wcstol_l_internal): Likewise.
32134 (____wcstoul_l_internal): Likewise.
32135 (____wcstoll_l_internal): Likewise.
32136 (____wcstoull_l_internal): Likewise.
32137 (____wcstof128_l_internal): Likewise.
32138 * sysdeps/ieee754/float128/wcstof128.c
32139 (____wcstof128_l_internal): Removed.
32140 * sysdeps/ieee754/float128/wcstof128_l.c
32141 (____wcstof128_l_internal): Likewise.
32142 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
32143 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
32144 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
32145 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
32146 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
32147 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
32148 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
32149 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
32150 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
32151 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
32152
3aff5644
L
321532017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32154
32155 [BZ #18822]
32156 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
32157 instead of <sys/statvfs.h>.
32158 (__internal_statvfs): Removed.
32159 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
32160 instead of <sys/statvfs.h>.
32161 (__internal_statvfs64): Removed.
32162 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
32163 "internal_statvfs.h" instead of <sys/statvfs.h>.
32164 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
32165 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
32166 instead of <sys/statvfs.h>.
32167 (__internal_statvfs): Removed.
32168 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
32169 instead of <sys/statvfs.h>.
32170 (__internal_statvfs64): Removed.
32171
8bcdb7e0
L
321722017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32173
32174 [BZ #18822]
32175 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
32176 (__gconv_close): Likewise.
32177 (__gconv): Likewise.
32178 (__gconv_find_transform): Likewise.
32179 (__gconv_lookup_cache): Likewise.
32180 (__gconv_compare_alias_cache): Likewise.
32181 (__gconv_load_cache): Likewise.
32182 (__gconv_get_path): Likewise.
32183 (__gconv_close_transform): Likewise.
32184 (__gconv_release_cache): Likewise.
32185 (__gconv_find_shlib): Likewise.
32186 (__gconv_release_shlib): Likewise.
32187 (__gconv_get_builtin_trans): Likewise.
32188 (__gconv_compare_alias): Likewise.
32189 * include/dlfcn.h (_dlerror_run): Likewise.
32190 * include/stdio.h (__fortify_fail_abort): Likewise.
32191 * include/time.h (__tz_compute): Likewise.
32192 (__strptime_internal): Likewise.
32193 * intl/gettextP.h (_nl_find_domain): Likewise.
32194 (_nl_load_domain): Likewise.
32195 (_nl_find_msg): Likewise.
32196 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
32197 (EXTRACT_PLURAL_EXPRESSION): Likewise.
32198 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
32199 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
32200 (__gai_find_request): Likewise.
32201 (__gai_remove_request): Likewise.
32202 (__gai_notify): Likewise.
32203 (__gai_notify_only): Likewise.
32204 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
32205 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
32206 (_dl_non_dynamic_init): Likewise.
32207 (_dl_aux_init): Likewise.
32208 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
32209 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
32210 Likewise.
32211 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
32212 (__wcsmbs_clone_conv): Likewise.
32213 (__wcsmbs_named_conv): Likewise.
32214
8ed3b643
L
322152017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32216
32217 [BZ #18822]
32218 * include/stdlib.h (__random): Add attribute_hidden.
32219 (__random_r): Likewise.
32220 (__srandom_r): Likewise.
32221 (__initstate_r): Likewise.
32222 (__setstate_r): Likewise.
32223 (__erand48_r): Likewise.
32224 (__nrand48_r): Likewise.
32225 (__jrand48_r): Likewise.
32226 (__srand48_r): Likewise.
32227 (__seed48_r): Likewise.
32228 (__lcong48_r): Likewise.
32229 (__drand48_iterate): Likewise.
32230 (__setenv): Likewise.
32231 (__unsetenv): Likewise.
32232 (__clearenv): Likewise.
32233 (__ptsname_r): Likewise.
32234 (__posix_openpt): Likewise.
32235 (__add_to_environ): Likewise.
32236 (__realpath): Add libc_hidden_proto.
32237 (__ecvt_r): Likewise.
32238 (__fcvt_r): Likewise.
32239 (__qecvt_r): Likewise.
32240 (__qfcvt_r): Likewise.
32241 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
32242 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
32243
ef9b6f73
L
322442017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32245
32246 [BZ #18822]
32247 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
32248 * include/time.h (__mktime_internal): Likewise.
32249 * libio/iolibio.h (__fopen_internal): Likewise.
32250
8da92e72
JDA
322512017-10-01 John David Anglin <danglin@gcc.gnu.org>
32252
32253 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
32254 pointer in frame.
32255 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
32256 Correct offset used to restore PIC register.
32257
388784cf
JDA
322582017-09-30 John David Anglin <danglin@gcc.gnu.org>
32259
32260 [BZ libc/22165]
32261 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
32262 code to load address of __getcontext_ret when generating PIC code.
32263
2000067a
L
322642017-09-30 H.J. Lu <hongjiu.lu@intel.com>
32265
32266 * elf/Makefile (tests-static-internal): Add
32267 tst-tls1-static-non-pie.
32268 (LDFLAGS-tst-tls1-static-non-pie): New.
32269 * elf/tst-tls1-static-non-pie.c: New file.
32270
1e2bffd0
JM
322712017-09-29 Joseph Myers <joseph@codesourcery.com>
32272
32273 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
32274 (asinh): Define using libm_alias_double.
32275 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
32276 (cbrt): Define using libm_alias_double.
32277 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
32278 <libm-alias-double.h>.
32279 (copysign): Define using libm_alias_double.
32280 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
32281 (erf): Define using libm_alias_double.
32282 (erfc): Likewise.
32283 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
32284 (expm1): Define using libm_alias_double.
32285 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
32286 (fabs): Define using libm_alias_double.
32287 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
32288 libm_alias_double.
32289 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
32290 <libm-alias-double.h>.
32291 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
32292 libm_alias_double.
32293 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
32294 <libm-alias-double.h>.
32295 (getpayload): Define using libm_alias_double.
32296 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
32297 <libm-alias-double.h>.
32298 (llrint): Define using libm_alias_double.
32299 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
32300 (lrint): Define using libm_alias_double.
32301 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
32302 <libm-alias-double.h>.
32303 (nextup): Define using libm_alias_double.
32304 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
32305 <libm-alias-double.h>.
32306 (roundeven): Define using libm_alias_double.
32307 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
32308 libm_alias_double.
32309 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
32310 <libm-alias-double.h>.
32311 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
32312 using libm_alias_double.
32313 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
32314 (cos): Define using libm_alias_double.
32315 (sin): Likewise.
32316 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
32317 <libm-alias-double.h>.
32318 (sincos): Define using libm_alias_double.
32319 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
32320 (tanh): Define using libm_alias_double.
32321 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
32322 <libm-alias-double.h>.
32323 (totalorder): Define using libm_alias_double.
32324 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
32325 <libm-alias-double.h>.
32326 (totalordermag): Define using libm_alias_double.
32327 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
32328 libm_alias_double.
32329 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
32330 libm_alias_double.
32331 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
32332 <libm-alias-double.h>.
32333 (getpayload): Define using libm_alias_double.
32334 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
32335 <libm-alias-double.h>.
32336 (roundeven): Define using libm_alias_double.
32337 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
32338 <libm-alias-double.h>.
32339 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
32340 <libm-alias-double.h>.
32341 (totalorder): Define using libm_alias_double.
32342 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
32343 <libm-alias-double.h>.
32344 (totalordermag): Define using libm_alias_double.
32345 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
32346 libc compat symbol here.
32347 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
32348 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
32349 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
32350 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
32351 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
32352 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
32353 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
32354 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
32355 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
32356 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
32357
8172aad9
L
323582017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32359
32360 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
32361 _dl_relocate_static_pie instead of _dl_start to compute load
32362 address in static PIE. Return 0 if _DYNAMIC is undefined for
32363 static executable.
32364
54464e74
L
323652017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32366
32367 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
32368 _DYNAMIC is undefined for static executable.
32369
f6c5e5bc
L
323702017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32371
32372 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
32373
2f92505d
JM
323742017-09-29 Joseph Myers <joseph@codesourcery.com>
32375
32376 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32377
bd8d53bb
WD
323782017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
32379
32380 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
32381 (__ieee754_lgamma_r): Use fabs rather than __fabs.
32382 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32383 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32384 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
32385 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
32386 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
32387 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
32388 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
32389 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
32390 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
32391 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
32392 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
32393 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
32394 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
32395 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
32396 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
32397
fffb1507
WD
323982017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
32399
32400 * math/bits/cmathcalls.h (cimag): Remove inline.
32401 (creal): Remove inline.
32402 (conj): Remove inline.
32403
4ea49f4c
SN
324042017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32405
32406 * math/Makefile (type-float-routines): Add e_powf_log2_data.
32407 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
32408 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
32409 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
32410 (issignalingf_inline): Likewise.
32411 (POWF_LOG2_TABLE_BITS): Likewise.
32412 (POWF_LOG2_POLY_ORDER): Likewise.
32413 (POWF_SCALE_BITS): Likewise.
32414 (POWF_SCALE): Likewise.
32415 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
32416 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
32417 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
32418
875c76c7
SN
324192017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32420
32421 * math/Makefile (type-float-routines): Add e_log2f_data.
32422 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
32423 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
32424 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
32425 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
32426 * sysdeps/i386/fpu/e_log2f_data.c: New file.
32427 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
32428 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
32429
90c42e40
SN
324302017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32431
32432 * math/Makefile (type-float-routines): Add e_logf_data.
32433 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
32434 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
32435 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
32436 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
32437 * sysdeps/i386/fpu/e_logf_data.c: New file.
32438 * sysdeps/ia64/fpu/e_logf_data.c: New file.
32439 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
32440
4088d8dd
L
324412017-09-28 H.J. Lu <hongjiu.lu@intel.com>
32442
32443 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
32444 undefined _DYNAMIC in PIE libc.a.
32445 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
32446 Likewse.
32447
4d3693ec
WD
324482017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
32449
32450 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
32451 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
32452 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
32453 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
32454 (__signbit): Remove.
32455 (__signbitl): Remove.
32456 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
32457 (__signbit): Remove.
32458 (__signbitl): Remove.
32459 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
32460 (__signbit): Remove.
32461 (__signbitl): Remove.
32462 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
32463 (__signbit): Remove.
32464 (__signbitl): Remove.
32465 * sysdeps/tile/bits/mathinline.h: Delete file.
32466 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
32467 (__signbit): Remove.
32468 (__signbitl): Remove.
32469
1e6d0723
WD
324702017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
32471
32472 * math/math.h: Improve handling of C99 isgreater macros.
32473 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
32474 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
32475 * sysdeps/powerpc/bits/mathinline.h: Likewise.
32476 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
32477 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
32478
b2f03cf3
SN
324792017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
32480
32481 * sysdeps/aarch64/libm-test-ulps: Update.
32482
f124cb38
JM
324832017-09-28 Joseph Myers <joseph@codesourcery.com>
32484
32485 [BZ #22225]
32486 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32487 math_opt_barrier on argument when doing arithmetic on it.
32488 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32489 Likewise. Use math_force_eval not math_opt_barrier after
32490 arithmetic.
32491 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
32492 math_opt_barrier on argument when doing arithmetic on it.
32493 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32494 Likewise.
32495
7edd0691
L
324962017-09-27 H.J. Lu <hongjiu.lu@intel.com>
32497
32498 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
32499 libc_hidden_def.
32500 (__freeifaddrs): Likewise.
32501
2c7bbfaf
ST
325022017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
32503
32504 * include/dirent.h (__dirfd): New declaration.
32505 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
32506 alias.
32507 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
32508 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
32509 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
52a1f181
ST
32510 * include/unistd.h (__revoke): New declaration.
32511 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
32512 alias.
32513 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
32514 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
32515 revoke.
64a4af28
ST
32516 * include/dirent.h (__seekdir): New declaration.
32517 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
32518 redefine as weak alias.
32519 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
32520 of seekdir.
4009ddc6
ST
32521 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
32522 and use libc_hidden_def on them.
32523 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
32524 them.
32525 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
32526 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
32527 instead of getifaddrs and freeifaddrs.
2c7bbfaf 32528
825adeee
L
325292017-09-26 H.J. Lu <hongjiu.lu@intel.com>
32530
32531 [BZ #18822]
32532 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
32533 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
32534 (__dso_handle): Remove declaration.
32535 * dlfcn/tstatexit.c (__dso_handle): Removed.
32536 (main): Don't check __dso_handle.
32537 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
32538 (main): Don't check __dso_handle.
32539 * include/dso_handle.h: New file.
32540 * malloc/mtrace.c: Include <dso_handle.h>.
32541 (mtrace): Pass __dso_handle directly.
32542 * nptl/pthread_atfork.c: Include <dso_handle.h>.
32543 (__dso_handle): Remove declaration.
32544 (__pthread_atfork): Pass __dso_handle directly.
32545 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
32546 (__dso_handle): Removed.
32547 * posix/wordexp-test.c: Include <dso_handle.h>.
32548 (__dso_handle): Remove declaration.
32549 (__app_register_atfork): Pass __dso_handle directly.
32550 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
32551 (__dso_handle): Remove declaration.
32552 (at_quick_exit): Pass __dso_handle directly.
32553 * stdlib/atexit.c: Include <dso_handle.h>.
32554 (__dso_handle): Remove declaration.
32555 (atexit): Pass __dso_handle directly.
32556 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
32557 (__dso_handle): Removed.
32558
bfb0deb3
JM
325592017-09-26 Joseph Myers <joseph@codesourcery.com>
32560
32561 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
32562 using VDSO.
32563
cebcb9f8
AM
325642017-09-26 Alexey Makhalov <amakhalov@vmware.com>
32565
32566 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
32567 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
32568 values to correct default value for given type.
32569
592d5c75
L
325702017-09-26 H.J. Lu <hongjiu.lu@intel.com>
32571
32572 [BZ #22101]
32573 * elf/Makefile (tests): Add tst-debug1.
32574 ($(objpfx)tst-debug1): New.
32575 ($(objpfx)tst-debug1.out): Likewise.
32576 ($(objpfx)tst-debug1mod1.so): Likewise.
32577 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
32578 with p_filesz == 0.
32579 * elf/tst-debug1.c: New file.
32580
2d9193f2
JM
325812017-09-26 Joseph Myers <joseph@codesourcery.com>
32582
32583 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
32584 Define using __ifunc.
32585
4c5a7a02
TMQMF
325862017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32587
32588 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
32589 exp2f() values.
32590
12ef66c4
JM
325912017-09-26 Joseph Myers <joseph@codesourcery.com>
32592
32593 [BZ #22156]
32594 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
32595
44dade71
FW
325962017-09-26 Florian Weimer <fweimer@redhat.com>
32597
32598 * resolv/Makefile (tests-internal): Fix typo in comment.
32599
eaca16f1
FW
326002017-09-26 Florian Weimer <fweimer@redhat.com>
32601
32602 * resolv/nss_dns/dns-host.c: Fix typo in comment.
32603
ccf970c7
AZ
326042017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32605
5f9f31ad
AZ
32606 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
32607 Use an union instead of a max_align_t array for __space,
32608 so that __space is the same size on all platforms.
32609 * malloc/scratch_buffer_grow_preserve.c
32610 (__libc_scratch_buffer_grow_preserve): Likewise.
32611
ccf970c7
AZ
32612 [BZ #22183]
32613 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
32614 version to 2.
32615 * posix/Makefile (routines): Add glob-lstat-compat and
32616 glob64-lstat-compat.
32617 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
32618 * posix/glob-lstat-compat.c: New file.
32619 * posix/glob64-lstat-compat.c: Likewise.
32620 * posix/tst-glob_lstat_compat.c: Likewise.
32621 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
32622 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
32623 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
32624 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
32625 Likewise.
32626 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
32627 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
32628 * posix/glob.c (glob_lstat): New function.
32629 (glob): Rename to __glob and add versioned symbol to 2.27.
32630 (glob_in_dir): Use glob_lstat.
32631 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
32632 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
32633 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
32634 2.27.
32635 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
32636 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
32637 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
32638 gl_lstat on glob call.
32639 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
32640 and glob64 symbols.
32641 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
32642 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
32643 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
32644 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
32645 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
32646 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
32647 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
32648 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
32649 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
32650 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
32651 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
32652 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
32653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
32654 Likewise.
32655 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
32656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
32657 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
32658 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
32659 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
32660 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
32661 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
32662 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
32663 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
32664 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
32665 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
32666 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
32667
b4396163
L
326682017-09-25 H.J. Lu <hongjiu.lu@intel.com>
32669
32670 * configure.ac (AS): Require binutils 2.25 or later.
32671 * configure: Regenerated.
32672
8f834987
PP
326732017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
32674
32675 [BZ #22207]
32676 * stdlib/test-atexit-race-common.c (do_test): Minimize required
32677 VM size.
32678
3de93d19
DD
326792017-09-25 DJ Delorie <dj@redhat.com>
32680
32681 [BZ #22161]
32682 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
32683 resetting timeout.
32684
9947638d
SL
326852017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
32686
32687 * sysdeps/ieee754/dbl-64/sincos32.h
32688 [SINCCOS32_H]: Remove define.
32689 [SINCOS32_H]: Define.
32690
f5f0f526
SN
326912017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32692
32693 * math/Versions (expf): New libm symbol at GLIBC_2.27.
32694 (exp2f): Likewise.
32695 * math/w_exp2f.c: New file.
32696 * math/w_expf.c: New file.
32697 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
32698 * math/w_expf_compat.c (__expf_compat): Likewise.
32699 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
32700 * sysdeps/ia64/fpu/e_expf.S: Likewise.
32701 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
32702 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
32703 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
32704 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
32705 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
32706 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
32707 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
32708 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
32709 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
32710 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
32711 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
32712 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
32713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
32714 Likewise.
32715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
32716 Likewise.
32717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
32718 Likewise.
32719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
32720 Likewise.
32721 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
32722 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
32723 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
32724 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
32725 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
32726 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
32727 Likewise.
32728 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
32729 Likewise.
32730 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
32731 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
32732 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
32733
72aa6233
SN
327342017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32735
32736 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
32737 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
32738 (roundtoint, converttoint): Likewise.
32739 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
32740 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
32741 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
32742 * sysdeps/ieee754/flt-32/math_config.h: New file.
32743 * sysdeps/ieee754/flt-32/math_errf.c: New file.
32744 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
32745 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
32746 * sysdeps/i386/fpu/math_errf.c: New file.
32747 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
32748 * sysdeps/ia64/fpu/math_errf.c: New file.
32749 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
32750 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
32751
5e6f3253
ST
327522017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
32753
32754 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
32755 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
32756 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
32757 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
32758 to make sure that these symbols are defined.
b38a42a0
ST
32759 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
32760 of <limits.h>
32761 (__need_NULL): Do not define.
32762 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
32763 alignment.
32764 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
32765 CMGROUP_MAX, cmsgcred): Do not define.
32766 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
32767 NULL.
32768 * bits/socket.h: Likewise.
fcafcd16
ST
32769 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
32770 __gettimeofday instead of gettimeofday.
32771 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
32772 instead of settimeofday.
5e6f3253 32773
2f49ce7d
JM
327742017-09-22 Joseph Myers <joseph@codesourcery.com>
32775
32776 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
32777 (asinhf): Define using libm_alias_float.
32778 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
32779 (atanf): Define using libm_alias_float.
32780 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
32781 (cbrtf): Define using libm_alias_float.
32782 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
32783 (ceilf): Define using libm_alias_float.
32784 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
32785 <libm-alias-float.h>.
32786 (copysignf): Define using libm_alias_float.
32787 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
32788 (cosf): Define using libm_alias_float.
32789 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
32790 (erff): Define using libm_alias_float.
32791 (erfcf): Likewise.
32792 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
32793 (expm1f): Define using libm_alias_float.
32794 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
32795 (fabsf): Define using libm_alias_float.
32796 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
32797 (floorf): Define using libm_alias_float.
32798 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
32799 (frexpf): Define using libm_alias_float.
32800 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
32801 libm_alias_float.
32802 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
32803 <libm-alias-float.h>.
32804 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
32805 libm_alias_float.
32806 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
32807 <libm-alias-float.h>.
32808 (getpayloadf): Define using libm_alias_float.
32809 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
32810 <libm-alias-float.h>.
32811 (llrintf): Define using libm_alias_float.
32812 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
32813 <libm-alias-float.h>.
32814 (llroundf): Define using libm_alias_float.
32815 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
32816 (logbf): Define using libm_alias_float.
32817 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
32818 (lrintf): Define using libm_alias_float.
32819 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
32820 (lroundf): Define using libm_alias_float.
32821 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
32822 (modff): Define using libm_alias_float.
32823 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
32824 <libm-alias-float.h>.
32825 (nearbyintf): Define using libm_alias_float.
32826 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
32827 <libm-alias-float.h>.
32828 (nextafterf): Define using libm_alias_float.
32829 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
32830 <libm-alias-float.h>.
32831 (nextupf): Define using libm_alias_float.
32832 * sysdeps/ieee754/flt-32/s_remquof.c: Include
32833 <libm-alias-float.h>.
32834 (remquof): Define using libm_alias_float.
32835 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
32836 (rintf): Define using libm_alias_float.
32837 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
32838 <libm-alias-float.h>.
32839 (roundevenf): Define using libm_alias_float.
32840 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
32841 (roundf): Define using libm_alias_float.
32842 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
32843 using libm_alias_float.
32844 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
32845 <libm-alias-float.h>.
32846 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
32847 Define using libm_alias_float.
32848 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
32849 <libm-alias-float.h>.
32850 (sincosf): Define using libm_alias_float.
32851 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
32852 (sinf): Define using libm_alias_float.
32853 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
32854 (tanf): Define using libm_alias_float.
32855 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
32856 (tanhf): Define using libm_alias_float.
32857 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
32858 <libm-alias-float.h>.
32859 (totalorderf): Define using libm_alias_float.
32860 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
32861 <libm-alias-float.h>.
32862 (totalordermagf): Define using libm_alias_float.
32863 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
32864 (truncf): Define using libm_alias_float.
32865 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
32866 libm_alias_float.
32867 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
32868 libm_alias_float.
32869
c5c4a626
GG
328702017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32871
32872 [BZ #22146]
32873 math/math.h: Let fpclassify use the builtin in C++ mode, even
32874 when optimazing for size.
32875
23947846
JM
328762017-09-22 Joseph Myers <joseph@codesourcery.com>
32877
32878 * csu/Makefile (generated): Do not add version-info.h.
32879 (before-compile): Likewise.
32880 (all-Banner-files): Remove variable.
32881 ($(objpfx)version-info.h): Remove rule.
32882 * csu/version.c (banner): Do not include "version-info.h".
32883 * libidn/Banner: Remove.
32884 * manual/contrib.texi (Simon Josefsson): New entry.
32885
9ac3c682
GG
328862017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32887
32888 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
32889 Remove conditionals on LDBL_MANT_DIG.
32890 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
32891 (__ieee754_lgammal_r): Likewise.
32892
d2f0ed09
GG
328932017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32894
32895 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
32896 _Float128 and L().
32897 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
32898 _Float128 and L(). Replace _Float128 with long double and L(x)
32899 with xL, throughout the file.
32900 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
32901 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
32902 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
32903 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
32904
c5c2e667
GG
329052017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32906
32907 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
32908 sysdeps/ieee754/ldbl-128ibm.
32909 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
32910 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
32911 of including it. Keep _Float128 and L() intact. These will be
32912 reviewed by a separate patch.
32913 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
32914 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
32915 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
32916 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
32917
e010deb2
GG
329182017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32919
32920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
32921 (__finitef128): Define to __redirect___finitef128.
32922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
32923 (__isinff128): Define to __redirect___isinff128.
32924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
32925 (__isnanf128): Define to __redirect___isnanf128.
32926
ffa44804
GG
329272017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32928
32929 * sysdeps/powerpc/powerpc64le/Makefile
32930 (CFLAGS-tst-strtod-nan-locale.c): New variable.
32931 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
32932
e5e4d7cc
PP
329332017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
32934 Carlos O'Donell <carlos@redhat.com>
32935
32936 [BZ #22180]
32937 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
32938 * stdlib/test-dlclose-exit-race.c: New file.
32939 * stdlib/test-dlclose-exit-race-helper.c: New file.
32940 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
32941
c10c5267
JM
329422017-09-21 Joseph Myers <joseph@codesourcery.com>
32943
32944 * crypt/Banner: Remove file.
32945 * nptl/Banner: Likewise.
32946 * resolv/Banner: Likewise.
32947 * soft-fp/Banner: Likewise.
32948 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
32949 ($(objpfx)version.d): Remove dependency on banner.h.
32950 ($(objpfx)version.os): Likewise.
32951 * nptl/version.c (banner): Do not include banner.h.
32952 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
32953 Jelinek and BIND code.
32954
1cc9e59a
PP
329552017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
32956 Carlos O'Donell <carlos@redhat.com>
32957
32958 * support/xdlfcn.h: New file.
32959 * support/xdlfcn.c: New file.
32960 * support/Makefile (libsupport-routines): Add xdlfcn.
32961 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
32962
ae8372d7
JM
329632017-09-20 Joseph Myers <joseph@codesourcery.com>
32964
32965 [BZ #20142]
32966 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32967 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
32968 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
32969 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
32970 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
32971 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
32972 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
32973 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
32974
26e70aec 329752017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
b39d961c
TS
32976 Ricky Zhou <rickyz@google.com>
32977 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26e70aec
PP
32978
32979 [BZ #14333]
32980 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
32981 Remove atomics.
32982 (__new_exitfn): Fail registration when we finished at_exit processing.
32983 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
32984 * stdlib/on_exit.c (__on_exit): Likewise.
32985 * stdlib/exit.c (__exit_funcs_done): New variable.
32986 (__run_exit_handlers): Use __exit_funcs_lock.
32987 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
32988 declarations.
32989 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
32990 (test-cxa_atexit-race, test-on_exit-race): New tests.
32991 * stdlib/test-atexit-race-common.c: New file.
32992 * stdlib/test-atexit-race.c: New file.
32993 * stdlib/test-at_quick_exit-race.c: New file.
32994 * stdlib/test-cxa_atexit-race.c: New file.
32995 * stdlib/test-on_exit-race.c: New file.
32996
0525ce48
SN
329972017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
32998
32999 * benchtests/Makefile: Add exp2f and log2f benchmarks.
33000 * benchtests/exp2f-inputs: Copy of expf-inputs.
33001 * benchtests/log2f-inputs: Copy of logf-inputs.
33002
d82468d1
JM
330032017-09-19 Joseph Myers <joseph@codesourcery.com>
33004
33005 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
33006 Explicitly take address of first element of array arguments in
33007 call to INLINE_SYSCALL.
33008
43ffc53a
AS
330092017-09-19 Andreas Schwab <schwab@suse.de>
33010
33011 [BZ #22134]
33012 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
33013 execveat first.
33014 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
33015 unimplemented.
33016 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
33017 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
33018 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33019 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
33020 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33021 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
33022 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33023 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
33024 * posix/Makefile (tests): Add tst-fexecve.
33025 * posix/tst-fexecve.c: New file.
33026
a5dcc87e
WD
330272017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33028
33029 * benchtests/Makefile: Add logf benchmark.
33030 * benchtests/logf-inputs: Add reduced trace from wrf_r.
33031
7024d544
WD
330322017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33033
33034 * benchtests/Makefile: Add expf benchmark.
33035 * benchtests/expf-inputs: Add reduced trace from wrf_r.
33036
ca3a382e
WD
330372017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33038
33039 * csu/Makefile: Add -funwind-tables to libc-start.c.
33040 * debug/Makefile: Add -funwind-tables to backtrace.c.
33041 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
33042 * sysdeps/arm/Makefile: Likewise.
33043 * sysdeps/i386/Makefile: Likewise.
33044 * sysdeps/m68k/Makefile: Likewise.
33045 * sysdeps/mips/Makefile: Likewise.
33046 * sysdeps/nios2/Makefile: Likewise.
33047 * sysdeps/sh/Makefile: Likewise.
33048 * sysdeps/sparc/Makefile: Likewise.
33049
eb375def
JM
330502017-09-19 Joseph Myers <joseph@codesourcery.com>
33051
33052 * benchtests/Makefile (bench-math): Add trunc and truncf.
33053 (CFLAGS-bench-trunc.c): New variable.
33054 (CFLAGS-bench-truncf.c): Likewise.
33055 * benchtests/trunc-inputs: New file.
33056 * benchtests/truncf-inputs: Likewise.
33057
bd17ba29
RS
330582017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33059
33060 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
33061
92892fdb
JM
330622017-09-18 Joseph Myers <joseph@codesourcery.com>
33063
6d9b0b5a
JM
33064 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
33065 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
33066 redefine.
33067 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
33068 (exp10l): Define as weak alias.
33069 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
33070 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
33071 and redefine.
33072 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
33073 (remainderl): Define as weak alias.
33074
92892fdb
JM
33075 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
33076 (fmal): Define using libm_alias_ldouble.
33077 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
33078 (acoshl): Define using libm_alias_ldouble.
33079 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
33080 (acosl): Define using libm_alias_ldouble.
33081 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
33082 (asinl): Define using libm_alias_ldouble.
33083 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
33084 (atan2l): Define using libm_alias_ldouble.
33085 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
33086 (atanhl): Define using libm_alias_ldouble.
33087 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
33088 (coshl): Define using libm_alias_ldouble.
33089 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
33090 (exp10l): Define using libm_alias_ldouble.
33091 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
33092 (exp2l): Define using libm_alias_ldouble.
33093 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
33094 (expl): Define using libm_alias_ldouble.
33095 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
33096 (fmodl): Define using libm_alias_ldouble.
33097 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
33098 (hypotl): Define using libm_alias_ldouble.
33099 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
33100 (j0l): Define using libm_alias_ldouble.
33101 (y0l): Likewise.
33102 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
33103 (j1l): Define using libm_alias_ldouble.
33104 (y1l): Likewise.
33105 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
33106 (jnl): Define using libm_alias_ldouble.
33107 (ynl): Likewise.
33108 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
33109 (log10l): Define using libm_alias_ldouble.
33110 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
33111 (log2l): Define using libm_alias_ldouble.
33112 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
33113 (logl): Define using libm_alias_ldouble.
33114 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
33115 (powl): Define using libm_alias_ldouble.
33116 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
33117 (remainderl): Define using libm_alias_ldouble.
33118 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
33119 (sinhl): Define using libm_alias_ldouble.
33120 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
33121 (sqrtl): Define using libm_alias_ldouble.
33122 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
33123 (tgammal): Define using libm_alias_ldouble.
33124 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
33125 (exp10l): Do not use long_double_symbol here.
33126 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
33127 [LIBM_SVID_COMPAT] (remainderl): Likewise.
33128 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
33129 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
33130 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
33131 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
33132 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
33133 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
33134 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
33135 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
33136 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
33137 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
33138 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
33139 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
33140 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
33141 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
33142 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
33143 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
33144 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
33145 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
33146 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
33147 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
33148
6cd380dd
WB
331492017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
33150
33151 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
33152 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
33153
1c6d89e9
ST
331542017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
33155
33156 * io/read.c (read): Add libc_hidden_weak.
33157 * sysdeps/mach/hurd/read.c (read): Likewise.
33158 * io/write.c (write): Likewise.
33159 * sysdeps/mach/hurd/write.c (write): Likewise.
33160 * io/pread64.c (__pread64): Likewise.
33161 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
33162 * posix/pread64.c (__pread64): Add libc_hidden_def.
33163
06b1de23
SP
331642017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
33165
140647ea
SP
33166 * benchtests/scripts/compare_strings.py: New option -g.
33167 (draw_graph): Print a message that a graph is being generated.
33168 (process_results): Generate graph only if -g is passed.
33169 (main): Process option -g.
33170
5a6547b7
SP
33171 * benchtests/scripts/compare_strings.py (process_results):
33172 Better spacing for output.
33173
06b1de23
SP
33174 * benchtests/scripts/compare_strings.py: Use argparse.
33175 * benchtests/README: Document existence of compare_strings.py.
33176
c67a2328
JM
331772017-09-15 Joseph Myers <joseph@codesourcery.com>
33178
9ac44708
JM
33179 * math/s_fma.c: Include <libm-alias-double.h>.
33180 (fma): Define using libm_alias_double.
33181 * math/s_nextafter.c: Include <libm-alias-double.h>.
33182 (nextafter): Define using libm_alias_double.
33183 * math/w_acos_compat.c: Include <libm-alias-double.h>.
33184 (acos): Define using libm_alias_double.
33185 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
33186 (aocsh): Define using libm_alias_double.
33187 * math/w_asin_compat.c: Include <libm-alias-double.h>.
33188 (asin): Define using libm_alias_double.
33189 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
33190 (atan2): Define using libm_alias_double.
33191 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
33192 (atanh): Define using libm_alias_double.
33193 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
33194 (cosh): Define using libm_alias_double.
33195 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
33196 (exp10): Define using libm_alias_double.
33197 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
33198 (exp2): Define using libm_alias_double.
33199 * math/w_exp_compat.c: Include <libm-alias-double.h>.
33200 (exp): Define using libm_alias_double.
33201 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
33202 (fmod): Define using libm_alias_double.
33203 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
33204 (hypot): Define using libm_alias_double.
33205 * math/w_j0_compat.c: Include <libm-alias-double.h>.
33206 (j0): Define using libm_alias_double.
33207 (y0): Likewise.
33208 * math/w_j1_compat.c: Include <libm-alias-double.h>.
33209 (j1): Define using libm_alias_double.
33210 (y1): Likewise.
33211 * math/w_jn_compat.c: Include <libm-alias-double.h>.
33212 (jn): Define using libm_alias_double.
33213 (yn): Likewise.
33214 * math/w_log10_compat.c: Include <libm-alias-double.h>.
33215 (log10): Define using libm_alias_double.
33216 * math/w_log2_compat.c: Include <libm-alias-double.h>.
33217 (log2): Define using libm_alias_double.
33218 * math/w_log_compat.c: Include <libm-alias-double.h>.
33219 (log): Define using libm_alias_double.
33220 * math/w_pow_compat.c: Include <libm-alias-double.h>.
33221 (pow): Define using libm_alias_double.
33222 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
33223 (remainder): Define using libm_alias_double.
33224 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
33225 (sinh): Define using libm_alias_double.
33226 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
33227 (sqrt): Define using libm_alias_double.
33228 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
33229 (tgamma): Define using libm_alias_double.
33230 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
33231 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
33232 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
33233 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
33234 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
33235 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
33236 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
33237 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
33238 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
33239 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
33240 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
33241 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
33242 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
33243 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
33244 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
33245 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
33246 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
33247 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
33248 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
33249 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
33250 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
33251 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
33252 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
33253 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
33254 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
33255
c67a2328
JM
33256 * math/e_acoshl.c: Remove.
33257 * math/e_acosl.c: Likewise.
33258 * math/e_asinl.c: Likewise.
33259 * math/e_atan2l.c: Likewise.
33260 * math/e_atanhl.c: Likewise.
33261 * math/e_coshl.c: Likewise.
33262 * math/e_expl.c: Likewise.
33263 * math/e_fmodl.c: Likewise.
33264 * math/e_gammal_r.c: Likewise.
33265 * math/e_hypotl.c: Likewise.
33266 * math/e_j0l.c: Likewise.
33267 * math/e_j1l.c: Likewise.
33268 * math/e_jnl.c: Likewise.
33269 * math/e_lgammal_r.c: Likewise.
33270 * math/e_log10l.c: Likewise.
33271 * math/e_log2l.c: Likewise.
33272 * math/e_logl.c: Likewise.
33273 * math/e_powl.c: Likewise.
33274 * math/e_rem_pio2l.c: Likewise.
33275 * math/e_sinhl.c: Likewise.
33276 * math/e_sqrtf128.c: Likewise.
33277 * math/e_sqrtl.c: Likewise.
33278 * math/k_cosl.c: Likewise.
33279 * math/k_sinl.c: Likewise.
33280 * math/k_tanl.c: Likewise.
33281 * math/s_asinhl.c: Likewise.
33282 * math/s_atanl.c: Likewise.
33283 * math/s_cbrtl.c: Likewise.
33284 * math/s_erfl.c: Likewise.
33285 * math/s_expm1l.c: Likewise.
33286 * math/s_log1pl.c: Likewise.
33287 * math/s_tanhl.c: Likewise.
33288
61c45f25
TMQMF
332892017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33290
33291 [BZ #21745]
33292 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
33293 [$(subdir) = math] (sysdep_calls): New variable. Has the
33294 previous contents of sysdep_routines, but re-sorted..
33295 [$(subdir) = math] (sysdep_routines): Re-use the contents from
33296 sysdep_calls.
33297 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
33298 defined in sysdep_calls and replace by the respective m_* names.
33299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
33300 (compat_symbol): Undefine to avoid duplicated compat symbols in
33301 libc.
33302
5bcdb315
JM
333032017-09-15 Joseph Myers <joseph@codesourcery.com>
33304
33305 * math/s_fmaf.c: Include <libm-alias-float.h>.
33306 (fmaf): Define using libm_alias_float.
33307 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
33308 (acosf): Define using libm_alias_float.
33309 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
33310 (acoshf): Define using libm_alias_float.
33311 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
33312 (asinf): Define using libm_alias_float.
33313 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
33314 (atan2f): Define using libm_alias_float.
33315 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
33316 (atanhf): Define using libm_alias_float.
33317 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
33318 (coshf): Define using libm_alias_float.
33319 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
33320 (exp10f): Define using libm_alias_float.
33321 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
33322 (fmodf): Define using libm_alias_float.
33323 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
33324 (hypotf): Define using libm_alias_float.
33325 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
33326 (j0f): Define using libm_alias_float.
33327 (y0f): Likewise.
33328 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
33329 (j1f): Define using libm_alias_float.
33330 (y1f): Likewise.
33331 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
33332 (jnf): Define using libm_alias_float.
33333 (ynf): Likewise.
33334 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
33335 (log10f): Define using libm_alias_float.
33336 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
33337 (log2f): Define using libm_alias_float.
33338 * math/w_logf_compat.c: Include <libm-alias-float.h>.
33339 (logf): Define using libm_alias_float.
33340 * math/w_powf_compat.c: Include <libm-alias-float.h>.
33341 (powf): Define using libm_alias_float.
33342 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
33343 (remainderf): Define using libm_alias_float.
33344 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
33345 (sinhf): Define using libm_alias_float.
33346 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
33347 (sqrtf): Define using libm_alias_float.
33348 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
33349 (tgammaf): Define using libm_alias_float.
33350
01f28812
JM
333512017-09-14 Joseph Myers <joseph@codesourcery.com>
33352
33353 * include/math.h (roundeven): Change hidden_proto call to
33354 __roundeven.
33355 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
33356 alias.
33357 [NO_LONG_DOUBLE] (__j0l): New strong alias.
33358 (y0): Rename to __y0 and define as weak alias.
33359 [NO_LONG_DOUBLE] (__y0l): New strong alias.
33360 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
33361 alias.
33362 (y0f): Rename to __y0f and define as weak alias.
33363 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
33364 alias.
33365 [NO_LONG_DOUBLE] (__j1l): New strong alias.
33366 (y1): Rename to __y1 and define as weak alias.
33367 [NO_LONG_DOUBLE] (__y1l): New strong alias.
33368 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
33369 alias.
33370 (y1f): Rename to __y1f and define as weak alias.
33371 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
33372 alias.
33373 [NO_LONG_DOUBLE] (__jnl): New strong alias.
33374 (yn): Rename to __yn and define as weak alias.
33375 [NO_LONG_DOUBLE] (__ynl): New strong alias.
33376 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
33377 alias.
33378 (ynf): Rename to __ynf and define as weak alias.
33379 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
33380 (fromfp): Define as weak alias.
33381 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
33382 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
33383 (fromfpx): Define as weak alias.
33384 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
33385 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
33386 __getpayload and define as weak alias.
33387 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
33388 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
33389 __roundeven and define as weak alias.
33390 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
33391 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
33392 __setpayload.
33393 (setpayload): Define as weak alias.
33394 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
33395 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
33396 __setpayloadsig.
33397 (setpayloadsig): Define as weak alias.
33398 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
33399 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
33400 __totalorder and define as weak alias.
33401 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
33402 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
33403 to __totalordermag and define as weak alias.
33404 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
33405 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
33406 (ufromfp): Define as weak alias.
33407 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
33408 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
33409 __ufromfpx.
33410 (ufromfpx): Define as weak alias.
33411 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
33412 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
33413 Rename to __getpayload and define as weak alias.
33414 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
33415 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
33416 Rename to __roundeven and define as weak alias.
33417 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
33418 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
33419 Rename to __totalorder and define as weak alias.
33420 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
33421 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
33422 (totalordermag): Rename to __totalordermag and define as weak
33423 alias.
33424 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
33425 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
33426 macro.
33427 (__roundevenl): Likewise.
33428 (__totalorderl): Likewise.
33429 (__totalordermagl): Likewise
33430 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
33431 __fromfpf128.
33432 (fromfpf128): Define as weak alias.
33433 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
33434 __fromfpxf128.
33435 (fromfpxf128): Define as weak alias.
33436 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
33437 __setpayloadf128.
33438 (setpayloadf128): Define as weak alias.
33439 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
33440 __setpayloadsigf128.
33441 (setpayloadsigf128): Define as weak alias.
33442 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
33443 __ufromfpf128.
33444 (ufromfpf128): Define as weak alias.
33445 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
33446 __ufromfpxf128.
33447 (ufromfpxf128): Define as weak alias.
33448 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
33449 (fromfpf): Define as weak alias.
33450 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
33451 __fromfpxf.
33452 (fromfpxf): Define as weak alias.
33453 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
33454 __getpayloadf and define as weak alias.
33455 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
33456 __roundevenf and define as weak alias.
33457 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
33458 __setpayloadf.
33459 (setpayloadf): Define as weak alias.
33460 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
33461 __setpayloadsigf.
33462 (setpayloadsigf): Define as weak alias.
33463 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
33464 __totalorderf and define as weak alias.
33465 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
33466 Rename to __totalordermagf and define as weak alias.
33467 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
33468 __ufromfpf.
33469 (ufromfpf): Define as weak alias.
33470 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
33471 __ufromfpxf.
33472 (ufromfpxf): Define as weak alias.
33473 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
33474 __fromfpl.
33475 (fromfpl): Define as weak alias.
33476 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
33477 __fromfpxl.
33478 (fromfpxl): Define as weak alias.
33479 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
33480 to __getpayloadl and define as weak alias.
33481 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
33482 __roundevenl and define as weak alias.
33483 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
33484 __setpayloadl.
33485 (setpayloadl): Define as weak alias.
33486 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
33487 __setpayloadsigl.
33488 (setpayloadsigl): Define as weak alias.
33489 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
33490 to __totalorderl and define as weak alias.
33491 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
33492 Rename to __totalordermagl and define as weak alias.
33493 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
33494 __ufromfpl.
33495 (ufromfpl): Define as weak alias.
33496 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
33497 __ufromfpxl.
33498 (ufromfpxl): Define as weak alias.
33499 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
33500 __fromfpl.
33501 (fromfpl): Define as weak alias.
33502 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
33503 __fromfpxl.
33504 (fromfpxl): Define as weak alias.
33505 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
33506 Rename to __getpayloadl and define as weak alias.
33507 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
33508 to __roundevenl and define as weak alias. Call __roundeven
33509 instead of roundeven.
33510 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
33511 __setpayloadl.
33512 (setpayloadl): Define as weak alias.
33513 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
33514 __setpayloadsigl.
33515 (setpayloadsigl): Define as weak alias.
33516 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
33517 Rename to __totalorderl and define as weak alias.
33518 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
33519 Rename to __totalordermagl and define as weak alias.
33520 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
33521 __ufromfpl.
33522 (ufromfpl): Define as weak alias.
33523 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
33524 __ufromfpxl.
33525 (ufromfpxl): Define as weak alias.
33526 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
33527 __fromfpl.
33528 (fromfpl): Define as weak alias.
33529 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
33530 __fromfpxl.
33531 (fromfpxl): Define as weak alias.
33532 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
33533 __getpayloadl and define as weak alias.
33534 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
33535 __roundevenl and define as weak alias.
33536 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
33537 __setpayloadl.
33538 (setpayloadl): Define as weak alias.
33539 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
33540 __setpayloadsigl.
33541 (setpayloadsigl): Define as weak alias.
33542 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
33543 __totalorderl and define as weak alias.
33544 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
33545 Rename to __totalordermagl and define as weak alias.
33546 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
33547 __ufromfpl.
33548 (ufromfpl): Define as weak alias.
33549 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
33550 __ufromfpxl.
33551 (ufromfpxl): Define as weak alias.
33552
29c933fb
SP
335532017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
33554
503c92c3
SP
33555 * benchtests/bench-string.h (realloc_bufs): New function.
33556 (test_init): Call it.
33557 * benchtests/bench-memset-large.c (do_test): Likewise.
33558 * benchtests/bench-memset.c (do_test): Likewise.
33559
29c933fb
SP
33560 * benchtests/bench-memset-large.c: Print output in JSON
33561 format.
33562 * benchtests/bench-memset.c: Likewise.
33563
799c8d69
MF
335642017-09-14 Mike FABIAN <mfabian@redhat.com>
33565
33566 [BZ #21084]
33567 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
33568 * iconvdata/Makefile: Add IBM858.
33569 * iconvdata/gconv-modules: Likewise.
33570 * iconvdata/tst-tables.sh: Likewise.
33571 * iconvdata/ibm858.c: New file.
33572 * localedata/charmaps/IBM858: Likewise.
33573
c207f7ce 335742017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
fcc82c06
AK
33575
33576 [BZ #22023]
33577 * locales/niu_NZ (LC_TIME): copy "niu_NU".
33578 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
33579
f28a0926
AK
335802017-09-14 Mike FABIAN <mfabian@redhat.com>
33581
33582 [BZ #22112]
33583 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
33584 and add tel_int_fmt.
33585
02093e62
JM
335862017-09-14 Joseph Myers <joseph@codesourcery.com>
33587
33588 * sysdeps/generic/libm-alias-float128.h: New file.
33589 * sysdeps/generic/math-type-macros-float128.h: Include
33590 <libm-alias-float128.h>.
33591 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
33592
1aae75ef
JM
335932017-09-13 Joseph Myers <joseph@codesourcery.com>
33594
33595 * sysdeps/generic/libm-alias-ldouble.h: New file.
33596 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
33597 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
33598 * sysdeps/generic/math-type-macros-ldouble.h: Include
33599 <libm-alias-ldouble.h>.
33600 [!declare_mgen_alias] (declare_mgen_alias): Define to use
33601 libm_alias_ldouble.
33602
bcea7ad6
SN
336032017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
33604
33605 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
33606 * math/w_exp_compat.c: ... here.
33607 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
33608 * math/w_expf_compat.c: ... here.
33609 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
33610 * math/w_expl_compat.c: ... here.
33611 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
33612 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
33613 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
33614 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
33615
0fc56478
JM
336162017-09-13 Joseph Myers <joseph@codesourcery.com>
33617
33618 * math/w_scalbln_template.c (strong_alias): Do not undefine and
33619 redefine.
33620 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
33621 macro.
33622 (ldexpl): Only define as compat symbol for libc, not libm.
33623 (scalbnl): Define as compat symbol for libc here.
33624 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
33625 define for [IS_IN (libc)].
33626 (__ldexpl_2): Remove alias.
33627 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
33628 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
33629 name in long_double_symbol call.
33630 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
33631 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
33632 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
33633 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
33634 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
33635 Remove macro.
33636 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
33637 Define as compat symbol.
33638
3ca622e4
AZ
336392017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33640
33641 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
33642 * sysdeps/unix/sysv/linux/alpha/Makefile
33643 [$(subdir) = csu] (sysdep_routines): Remove rule.
33644
620ff9ee
JM
336452017-09-13 Joseph Myers <joseph@codesourcery.com>
33646
33647 * sysdeps/generic/libm-alias-double.h: New file.
33648 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
33649 * sysdeps/generic/math-type-macros-double.h: Include
33650 <libm-alias-double.h>.
33651 [declare_mgen_alias] (declare_mgen_alias): Define to use
33652 libm_alias_double.
33653 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
33654 (M_LIBM_NEED_COMPAT): Remove macro.
33655 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
33656 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
33657 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
33658 code.
33659 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33660 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33661 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33662 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33663 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33664 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33665 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33666 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33667 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33668 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33669 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33670 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33671 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33672 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33673 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33674 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33675 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33676 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33677 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33678 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33679 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33680 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33681 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33682 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33683 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33684 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33685 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33686 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
33687 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
33688 macro.
33689 (declare_mgen_alias): New macro.
33690 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
33691 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
33692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
33693 (M_LIBM_NEED_COMPAT): Remove macro.
33694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
33695 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
33696 <first-versions.h>.
33697 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
33698 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
33699
a891caff
JM
337002017-09-12 Joseph Myers <joseph@codesourcery.com>
33701
33702 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
33703 (declare_mgen_alias_2): Remove.
33704 * sysdeps/generic/math-type-macros-double.h
33705 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
33706 Likewise.
33707 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
33708 alias.
33709 (ldexp): Define with declare_mgen_alias.
33710 (scalbn): Likewise.
33711
a1a78204
SE
337122017-09-12 Steve Ellcey <sellcey@cavium.com>
33713
33714 * grp/initgroups.c: Include config.h.
33715 (DEFAULT_CONFIG): New macro.
33716 (internal_getgrouplist): Use DEFAULT_CONFIG.
33717 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33718 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
33719 (DEFAULT_DEFCONFIG): New macro.
33720 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
33721 * nss/grp-lookup.c: Include config.h
33722 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
33723 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
33724 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
33725 * manual/nss.texi: Update default values section.
33726
ef8adeb0
L
337272017-09-12 H.J. Lu <hongjiu.lu@intel.com>
33728
33729 [BZ #21967]
33730 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
33731 New.
33732 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
33733 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
33734 Handle MathVec_Prefer_No_AVX512.
33735 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
33736 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
33737 is set.
33738
a166531f
ST
337392017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
33740
33741 * posix/sched_primax.c (__sched_get_priority_max): Add
33742 libc_hidden_def.
33743 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
33744 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
33745 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
33746 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
33747 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
33748 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
33749 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
33750 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
33751 Add aliases.
33752
4b7d1efb
JM
337532017-09-11 Joseph Myers <joseph@codesourcery.com>
33754
33755 * sysdeps/generic/libm-alias-float.h: New file.
33756 * sysdeps/generic/math-type-macros-float.h: Include
33757 <libm-alias-float.h>.
33758 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
33759
45ff3463
L
337602017-09-11 H.J. Lu <hongjiu.lu@intel.com>
33761
33762 [BZ #22093]
33763 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
33764 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
33765 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
33766 (HWCAP_IMPORTANT): Likewise.
33767 (HWCAP_X86_64): New enum.
33768 (HWCAP_X86_AVX512_1): Updated.
33769 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
33770 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
33771 (modules-names): Add x86_64/tst-x86_64mod-1.
33772 (LDFLAGS-tst-x86_64mod-1.so): New.
33773 ($(objpfx)tst-x86_64-1): Likewise.
33774 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
33775 (tst-x86_64-1-clean): Likewise.
33776 * sysdeps/x86_64/tst-x86_64-1.c: New file.
33777 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
33778
891abfd3
SP
337792017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
33780
33781 * po/sv.po: Update translations.
33782 * po/fr.po: Likewise.
33783
00c3da43
ST
337842017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33785
33786 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
33787 seconds.
3bdfd9fb
ST
33788 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
33789 seconds.
65b22ebc 33790 * elf/rtld-Rules: Fix $(error) use.
00c3da43 33791
96480903
MF
337922017-09-09 Mike FABIAN <mfabian@redhat.com>
33793
33794 [BZ #14925]
33795 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
33796 * locale/iso-639.def: Change “Bengali” to “Bangla”.
33797 * localedata/locales/bn_BD: “Bengali” was still used in some
33798 comments. Change it to “Bangla”.
33799
4c03a696
MT
338002017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
33801
33802 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
33803
9c9ec581
SE
338042017-09-08 Steve Ellcey <sellcey@cavium.com>
33805
33806 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
33807 thunderx2t99p1 to list of cpu names.
33808 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
33809 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
33810
f00bce74
SE
338112017-09-08 Steve Ellcey <sellcey@cavium.com>
33812
33813 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
33814 Use strcmp instead of tunable_is_name.
33815
27342d17
JM
338162017-09-08 Joseph Myers <joseph@codesourcery.com>
33817
af1b7c8c
JM
33818 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
33819 (F_GET_RW_HINT): New macro.
33820 [__USE_GNU] (F_SET_RW_HINT): Likewise.
33821 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
33822 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
33823 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
33824 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
33825 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
33826 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
33827 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
33828 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
33829
27342d17
JM
33830 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
33831 (F_ADD_SEALS): New macro.
33832 [__USE_GNU] (F_GET_SEALS): Likewise.
33833 [__USE_GNU] (F_SEAL_SEAL): Likewise.
33834 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
33835 [__USE_GNU] (F_SEAL_GROW): Likewise.
33836 [__USE_GNU] (F_SEAL_WRITE): Likewise.
33837
c66c9082
AZ
338382017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33839
07b4f49d
AZ
33840 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
33841 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
33842 * posix/glob_internal.h (__glob_pattern_type):
33843 * posix/glob.c (glob):
33844 * posix/glob_pattern_p.c (__glob_pattern_p):
33845 Use them.
33846
116f1c64
AZ
33847 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
33848 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
33849 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
33850 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
33851 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
33852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
33853 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
33854 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
33855 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
33856 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33857 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
33858 * sysdeps/wordsize-64/glob.c: Likewise.
33859 * sysdeps/wordsize-64/glob64.c: Likewise.
33860 * sysdeps/wordsize-64/globfree.c: Likewise.
33861 * sysdeps/wordsize-64/globfree64.c: Likewise.
33862 * sysdeps/unix/sysv/linux/glob.c: New file.
33863 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
33864 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
33865 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
33866 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
33867 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
33868 adds !GLOB_NO_OLD_VERSION as an extra condition.
33869 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
33870 using relative path instead of absolute one.
33871 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
33872 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
33873 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33874 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
33875 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
33876 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
33877
ffca8901
AZ
33878 [BZ #1062]
33879 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
33880 (glob): Use the same scratch buffer for both getlogin_r and
33881 getpwnam_r. Don’t require preallocation of the login name. This
33882 simplifies storage allocation, and corrects the handling of
33883 long login names.
33884
5a79f975
AZ
33885 [BZ #1062]
33886 * posix/glob.c (glob): Port recent patches to platforms
33887 lacking getpwnam_r.
33888 (glob): Fix longstanding misuse of errno after getpwnam_r, which
33889 returns an error number rather than setting errno.
33890
e00f2425
AZ
33891 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
33892 instead of GCC extension.
33893 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
33894 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
33895 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
33896
5554304f
AZ
33897 [BZ #866]
33898 [BZ #1062]
33899 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
33900 * posix/bug-glob1.c: Remove file.
33901 * posix/tst-glob_symlinks.c: New file.
33902 * posix/glob.c (__lstat64): New macro.
33903 (is_dir): New function.
33904 (glob, glob_in_dir): Match symlinks even if they are dangling.
33905 (link_stat, link_exists_p): Remove. All uses removed.
33906
686f2ea1
AZ
33907 [BZ #1062]
33908 [BZ #19971]
33909 * posix/glob.c (struct readdir_result): Remove skip_entry member.
33910 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
33911 All uses removed.
33912
c66c9082 33913 [BZ #1062]
914c9994 33914 CVE-2017-15671
c66c9082
AZ
33915 * posix/Makefile (routines): Add globfree, globfree64, and
33916 glob_pattern_p.
33917 * posix/flexmember.h: New file.
33918 * posix/glob_internal.h: Likewise.
33919 * posix/glob_pattern_p.c: Likewise.
33920 * posix/globfree.c: Likewise.
33921 * posix/globfree64.c: Likewise.
33922 * sysdeps/gnu/globfree64.c: Likewise.
33923 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
33924 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
33925 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
33926 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
33927 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
33928 * sysdeps/wordsize-64/globfree.c: Likewise.
33929 * sysdeps/wordsize-64/globfree64.c: Likewise.
33930 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
33931 [NDEBUG): Remove comments.
33932 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
33933 (dirent_type): New type. Use uint_fast8_t not
33934 uint8_t, as C99 does not require uint8_t.
33935 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
33936 (struct readdir_result): Use dirent_type. Do not define skip_entry
33937 unless it is needed; this saves a byte on platforms lacking d_ino.
33938 (readdir_result_type, readdir_result_skip_entry):
33939 New functions, replacing ...
33940 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
6b5c8607 33941 these functions, which were removed. This makes the callers
c66c9082
AZ
33942 easier to read. All callers changed.
33943 (D_INO_TO_RESULT): Now empty if there is no d_ino.
33944 (size_add_wrapv, glob_use_alloca): New static functions.
33945 (glob, glob_in_dir): Check for size_t overflow in several places,
33946 and fix some size_t checks that were not quite right.
33947 Remove old code using SHELL since Bash no longer
33948 uses this.
33949 (glob, prefix_array): Separate MS code better.
33950 (glob_in_dir): Remove old Amiga and VMS code.
33951 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
33952 separate files.
33953 (glob_in_dir): Do not rely on undefined behavior in accessing
33954 struct members beyond their bounds. Use a flexible array member
33955 instead
33956 (link_stat): Rename from link_exists2_p and return -1/0 instead of
33957 0/1. Caller changed.
33958 (glob): Fix memory leaks.
33959 * posix/glob64 (globfree64): Move to separate file.
33960 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
33961 (globfree64): Remove hidden alias.
33962 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
33963 oldglob.
33964 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
33965 separate file.
33966 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
33967 define.
33968 Move compat code to separate file.
33969 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
33970 separate file.
33971
78bfa877
L
339722017-09-07 H.J. Lu <hongjiu.lu@intel.com>
33973
33974 * resolv/tst-resolv-qtypes.c (domain): Changed to
33975 "const char domain[] =".
33976
05f0011f
JM
339772017-09-07 Joseph Myers <joseph@codesourcery.com>
33978
85bec0f2
JM
33979 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
33980 version to 3.1.6.
33981
5c23ee6e
JM
33982 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
33983 (TCP_MD5SIG_EXT): Likewise.
33984 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
33985 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
33986 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
33987
05f0011f
JM
33988 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
33989
7c9c5be9
MF
339902017-09-07 Mike FABIAN <mfabian@redhat.com>
33991
33992 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
33993
c207f7ce 339942017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
ae214523
AK
33995
33996 [BZ #22100]
33997 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
33998
507fe027
ST
339992017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
34000
34001 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
34002 before assuming that the file is empty. Avoid testing buffer content
34003 when nread == 0.
34004
65687ac7
AZ
340052017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34006
7bbbb4b9 34007 [BZ #18858]
65687ac7
AZ
34008 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
34009 Remove define.
34010 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
34011 Likewise.
34012 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
34013 Likewise.
34014 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
34015 Likewise.
34016 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
34017 Likewise.
34018 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
34019 Likewise.
34020 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
34021 Likewise.
34022
ab5ac271
FW
340232017-09-06 Florian Weimer <fweimer@redhat.com>
34024
34025 * malloc/dynarray_emplace_enlarge.c
34026 (__libc_dynarray_emplace_enlarge): Add missing else.
34027
a8304730
FW
340282017-09-06 Florian Weimer <fweimer@redhat.com>
34029
34030 [BZ #22096]
34031 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
34032 case of failure to obtain the global conf object.
34033
5670c4ab
FW
340342017-09-06 Florian Weimer <fweimer@redhat.com>
34035
34036 [BZ #22095]
34037 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
34038 dynarray allocation failure.
34039
c77eb969
FW
340402017-09-06 Florian Weimer <fweimer@redhat.com>
34041
34042 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
34043 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
34044 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
34045 New functions.
34046 (response): Call them. Add 'p', '6' flag processing.
34047 (test_reverse): New function.
34048 (test_get2_any): Call it.
34049 (test_no_inet6): Add 'p' test.
34050 (test_inet6): Likewise.
34051
5e9c4d17
FW
340522017-09-06 Florian Weimer <fweimer@redhat.com>
34053
34054 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
34055 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
34056 the QNAME.
34057 (test_gai): Adjust query names. Add additional tests.
34058 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
34059 test_get2. Adjust query names. Add additional tests.
34060 (test_no_inet6): New function, extracted from threadfunc.
34061 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
34062 Add additional tests.
34063
2ae5be04
MF
340642017-09-06 Mike FABIAN <mfabian@redhat.com>
34065
34066 [BZ #22070]
34067 * localedata/unicode-gen/utf8_gen.py: Set the width for
34068 characters with Prepended_Concatenation_Mark property to 1
34069 * localedata/charmaps/UTF-8: Updated using the improved script.
34070
af83ed5c
MF
340712017-09-06 Mike FABIAN <mfabian@redhat.com>
34072
34073 [BZ #21750]
34074 * localedata/unicode-gen/utf8_gen.py: Improve the script to
34075 use the range notation for all ranges of neighbouring characters
34076 with the same width.
34077
4f3647e4
JM
340782017-09-05 Joseph Myers <joseph@codesourcery.com>
34079
34080 * sysdeps/generic/math-type-macros-double.h: Include
34081 <math-svid-compat.h>.
34082 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34083 * sysdeps/generic/math-type-macros-float.h: Include
34084 <math-svid-compat.h>.
34085 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34086 * sysdeps/generic/math-type-macros-ldouble.h: Include
34087 <math-svid-compat.h>.
34088 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34089 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
34090 condition.
34091 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
34092 * math/w_acosf_compat.c: Likewise.
34093 * math/w_acosh_compat.c: Likewise.
34094 * math/w_acoshf_compat.c: Likewise.
34095 * math/w_acoshl_compat.c: Likewise.
34096 * math/w_acosl_compat.c: Likewise.
34097 * math/w_asin_compat.c: Likewise.
34098 * math/w_asinf_compat.c: Likewise.
34099 * math/w_asinl_compat.c: Likewise.
34100 * math/w_atan2_compat.c: Likewise.
34101 * math/w_atan2f_compat.c: Likewise.
34102 * math/w_atan2l_compat.c: Likewise.
34103 * math/w_atanh_compat.c: Likewise.
34104 * math/w_atanhf_compat.c: Likewise.
34105 * math/w_atanhl_compat.c: Likewise.
34106 * math/w_cosh_compat.c: Likewise.
34107 * math/w_coshf_compat.c: Likewise.
34108 * math/w_coshl_compat.c: Likewise.
34109 * math/w_exp10_compat.c: Likewise.
34110 * math/w_exp10f_compat.c: Likewise.
34111 * math/w_exp10l_compat.c: Likewise.
34112 * math/w_exp2_compat.c: Likewise.
34113 * math/w_exp2f_compat.c: Likewise.
34114 * math/w_exp2l_compat.c: Likewise.
34115 * math/w_fmod_compat.c: Likewise.
34116 * math/w_fmodf_compat.c: Likewise.
34117 * math/w_fmodl_compat.c: Likewise.
34118 * math/w_hypot_compat.c: Likewise.
34119 * math/w_hypotf_compat.c: Likewise.
34120 * math/w_hypotl_compat.c: Likewise.
34121 * math/w_j0_compat.c: Likewise.
34122 * math/w_j0f_compat.c: Likewise.
34123 * math/w_j0l_compat.c: Likewise.
34124 * math/w_j1_compat.c: Likewise.
34125 * math/w_j1f_compat.c: Likewise.
34126 * math/w_j1l_compat.c: Likewise.
34127 * math/w_jn_compat.c: Likewise.
34128 * math/w_jnf_compat.c: Likewise.
34129 * math/w_jnl_compat.c: Likewise.
34130 * math/w_lgamma_r_compat.c: Likewise.
34131 * math/w_lgammaf_r_compat.c: Likewise.
34132 * math/w_lgammal_r_compat.c: Likewise.
34133 * math/w_log10_compat.c: Likewise.
34134 * math/w_log10f_compat.c: Likewise.
34135 * math/w_log10l_compat.c: Likewise.
34136 * math/w_log2_compat.c: Likewise.
34137 * math/w_log2f_compat.c: Likewise.
34138 * math/w_log2l_compat.c: Likewise.
34139 * math/w_log_compat.c: Likewise.
34140 * math/w_logf_compat.c: Likewise.
34141 * math/w_logl_compat.c: Likewise.
34142 * math/w_pow_compat.c: Likewise.
34143 * math/w_powf_compat.c: Likewise.
34144 * math/w_powl_compat.c: Likewise.
34145 * math/w_remainder_compat.c: Likewise.
34146 * math/w_remainderf_compat.c: Likewise.
34147 * math/w_remainderl_compat.c: Likewise.
34148 * math/w_sinh_compat.c: Likewise.
34149 * math/w_sinhf_compat.c: Likewise.
34150 * math/w_sinhl_compat.c: Likewise.
34151 * math/w_sqrt_compat.c: Likewise.
34152 * math/w_sqrtf_compat.c: Likewise.
34153 * math/w_sqrtl_compat.c: Likewise.
34154 * math/w_tgamma_compat.c: Likewise.
34155 * math/w_tgammaf_compat.c: Likewise.
34156 * math/w_tgammal_compat.c: Likewise.
34157 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
34158 [LIBM_SVID_COMPAT].
34159 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
34160 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
34161 [LIBM_SVID_COMPAT].
34162 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
34163 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
34164 [LIBM_SVID_COMPAT].
34165 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
34166 * sysdeps/i386/fpu/w_sqrt.c: New file.
34167 * sysdeps/ia64/fpu/w_acos.c: Likewise.
34168 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
34169 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
34170 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
34171 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
34172 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
34173 * sysdeps/ia64/fpu/w_asin.c: Likewise.
34174 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
34175 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
34176 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
34177 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
34178 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
34179 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
34180 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
34181 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
34182 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
34183 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
34184 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
34185 * sysdeps/ia64/fpu/w_exp.c: Likewise.
34186 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
34187 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
34188 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
34189 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
34190 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
34191 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
34192 * sysdeps/ia64/fpu/w_expf.c: Likewise.
34193 * sysdeps/ia64/fpu/w_expl.c: Likewise.
34194 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
34195 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
34196 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
34197 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
34198 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
34199 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
34200 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
34201 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
34202 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
34203 * sysdeps/ia64/fpu/w_log.c: Likewise.
34204 * sysdeps/ia64/fpu/w_log10.c: Likewise.
34205 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
34206 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
34207 * sysdeps/ia64/fpu/w_log2.c: Likewise.
34208 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
34209 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
34210 * sysdeps/ia64/fpu/w_logf.c: Likewise.
34211 * sysdeps/ia64/fpu/w_logl.c: Likewise.
34212 * sysdeps/ia64/fpu/w_pow.c: Likewise.
34213 * sysdeps/ia64/fpu/w_powf.c: Likewise.
34214 * sysdeps/ia64/fpu/w_powl.c: Likewise.
34215 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
34216 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
34217 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
34218 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
34219 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
34220 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
34221 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
34222 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
34223 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
34224 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
34225 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
34226 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
34227 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
34228 [LIBM_SVID_COMPAT].
34229 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
34230 * sysdeps/ieee754/k_standard.c: Likewise.
34231 * sysdeps/ieee754/k_standardf.c: Likewise.
34232 * sysdeps/ieee754/k_standardl.c: Likewise.
34233 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
34234 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
34235 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
34236 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
34237 long_double_symbol call on [LIBM_SVID_COMPAT].
34238 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
34239 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
34240 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
34241 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
34242 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
34243 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
34244 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
34245 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
34246 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
34247 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
34248 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
34249 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
34250 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
34251 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
34252 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
34253 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
34254 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
34255 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
34256 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
34257 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
34258 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
34259 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
34260
05b38d64
SE
342612017-09-05 Steve Ellcey <sellcey@cavium.com>
34262
34263 * include/shlib-compat.h (TEST_COMPAT): New Macro.
34264 * malloc/tst-mallocstate.c: Convert from test-skeleton
34265 to test-driver. Ifdef code using TEST_COMPAT macro.
34266 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
34267 * math/test-matherr.c: Likewise.
34268
99d67918
JM
342692017-09-05 Joseph Myers <joseph@codesourcery.com>
34270
34271 [BZ #22086]
34272 * debug/pcprofiledump.c (main): Use byte-swapped mask when
34273 comparing word with byte-swapped constant.
34274
c207f7ce 342752017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
3f802aeb
MF
34276
34277 [BZ #20498]
34278 * locale/iso-639.def: add Miskito.
34279 * localedata/SUPPORTED: Add miq_NI/UTF-8.
34280 * localedata/locales/miq_NI: New file.
34281
0a587a8a
L
342822017-09-04 H.J. Lu <hongjiu.lu@intel.com>
34283
34284 [BZ #18822]
34285 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
34286 (__mkdir): Likewise.
34287 * io/chmod.c (__chmod): Add libc_hidden_def.
34288 * io/mkdir.c (__mkdir): Likewise.
34289 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
34290 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
34291 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
34292 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
34293
f3a129b8
JM
342942017-09-04 Joseph Myers <joseph@codesourcery.com>
34295
1650e192
JM
34296 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
34297 version to 4.13.
34298
f3a129b8
JM
34299 [BZ #22082]
34300 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
34301 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
34302
b38042f5
FW
343032017-09-04 Florian Weimer <fweimer@redhat.com>
34304
34305 * math/math.h: Issue warning if log is defined.
34306
059b6404
JM
343072017-09-04 Joseph Myers <joseph@codesourcery.com>
34308
34309 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
34310 kernel version to 4.13.
34311
b794e16b
ST
343122017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
34313
34314 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
06cf9d31
ST
34315 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
34316 parameter.
01969395
ST
34317 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
34318 just <bits/types.h>.
dd2b31de 34319 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
ed95bf56 34320 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
dd2b31de 34321 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
ed95bf56 34322 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2263ca7c
ST
34323 * misc/preadv2.c: Include <errno.h>.
34324 * misc/preadv64v2.c: Include <errno.h>.
34325 * misc/pwritev2.c: Include <errno.h>.
34326 * misc/pwritev64v2.c: Include <errno.h>.
34327 * sysdeps/posix/preadv2.c: Include <errno.h>.
34328 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
34329 Fix <unistd.h> inclusion.
34330 * sysdeps/posix/pwritev2.c: Include <errno.h>.
34331 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
cae3d712
ST
34332 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
34333 __strtoul_internal): New functions.
127e7773
ST
34334 * sysdeps/posix/pause.c: Include <sigsetops.h>.
34335 * sysdeps/posix/system.c: Include <sigsetops.h>.
f85958a7
ST
34336 * sysdeps/mach/hurd/i386/Makefile
34337 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
34338 [$(subdir) = csu] (sysdep-only-routines): Likewise.
34339 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1946d950
ST
34340 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
34341 __feraiseexcept_renamed to feraiseexcept instead of
34342 __GI_feraiseexcept.
56bf5497 34343 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
2ce1f9ef 34344 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
492cbbed
ST
34345 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
34346 RWF_NOWAIT): Define to 0 if undefined already.
34347 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
34348 boils down to 0.
6547ec0a
ST
34349 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
34350 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
b794e16b 34351
5a80d39d
JM
343522017-09-01 Joseph Myers <joseph@codesourcery.com>
34353
34354 * manual/math.texi (pow10): Do not document.
34355 (pow10f): Likewise.
34356 (pow10l): Likewise.
34357 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
34358 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
34359 * math/libm-test-exp10.inc (pow10_test): Remove.
34360 (do_test): Do not call pow10.
34361 * math/w_exp10_compat.c (pow10): Make into compat symbol.
34362 [NO_LONG_DOUBLE] (pow10l): Likewise.
34363 * math/w_exp10f_compat.c (pow10f): Likewise.
34364 * math/w_exp10l_compat.c (pow10l): Likewise.
34365 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
34366 (pow10): Make into compat symbol.
34367 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
34368 (pow10f): Make into compat symbol.
34369 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
34370 (pow10l): Make into compat symbol.
34371 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
34372 pow10.
34373 (CFLAGS-nldbl-pow10.c): Remove variable..
34374 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
34375 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
34376 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
34377 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
34378 Undefine and redefine.
34379 (pow10l): Make into compat symbol.
34380 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
34381 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
34382 * sysdeps/arm/libm-test-ulps: Likewise.
34383 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
34384 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
34385 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
34386 * sysdeps/microblaze/libm-test-ulps: Likewise.
34387 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
34388 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34389 * sysdeps/nios2/libm-test-ulps: Likewise.
34390 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34391 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
34392 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34393 * sysdeps/sh/libm-test-ulps: Likewise.
34394 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34395 * sysdeps/tile/libm-test-ulps: Likewise.
34396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34397
3824fc38
PP
343982017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
34399
34400 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
34401
b3008279
L
344022017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34403
34404 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
34405 "../ChangeLog.old/ChangeLog.8".
34406 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
34407 "../ChangeLog.old/ChangeLog.14".
34408
136fa185
L
344092017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34410
34411 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
34412 Threads Library.
34413
c18d50a2
JM
344142017-09-01 Joseph Myers <joseph@codesourcery.com>
34415
34416 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
34417
bedbd859
L
344182017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34419
34420 * csu/version.c (banner): Remove "by Roland McGrath et al.".
34421 * nptl/Banner: Remove "by Ulrich Drepper et al.".
34422
50c66c7a
PP
344232017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
34424
34425 * stdlib/tst-atexit-common.c (do_test): Test support for at least
34426 32 atexit handlers.
34427
a617bd11
ZW
344282017-09-01 Zack Weinberg <zackw@panix.com>
34429
34430 * math/math.h (HUGE_VAL): Improve commentary.
34431
e0d2eb5a
AZ
344322017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34433 Andreas Schwab <schwab@suse.de>
34434
34435 [BZ #21530]
34436 * include/stdio.h (__gen_tempfd): New function.
34437 * stdio-common/Makefile (routines): Add gentempfd.
34438 * stdio-common/gentempfd.c: New file.
34439 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
34440 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
34441 unnamed file first.
34442
f4a6be25
FW
344432017-09-01 Florian Weimer <fweimer@redhat.com>
34444
34445 [BZ #21915]
34446 [BZ #21922]
34447 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
34448 result to determine success or failure, not the errno value.
34449 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
34450 (tst-nss-files-hosts-erange): Link with -ldl.
34451 * nss/tst-nss-files-hosts-erange.c: New file.
34452 * nss/tst-resolv-basic.c (response): Handle nodata.example.
34453 (do_test): Add NO_DATA tests.
34454 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
34455 (do_test): Call it.
34456
5f8340f5
FW
344572017-09-01 Florian Weimer <fweimer@redhat.com>
34458
34459 [BZ #21922]
34460 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
34461 coming from gethostbyname2_r.
34462
65329bd2
FW
344632017-09-01 Florian Weimer <fweimer@redhat.com>
34464
34465 * support/namespace.h (struct support_chroot_configuration): Add
34466 hosts, host_conf.
34467 (struct support_chroot): Add path_hosts, path_host_conf.
34468 * support/support_chroot.c (write_file): New function.
34469 (support_chroot_create): Call it to process /etc/resolv.conf,
34470 /etc/hosts, /etc/host.conf.
34471 (support_chroot_free): Update.
34472
a2881ef0
FW
344732017-09-01 Florian Weimer <fweimer@redhat.com>
34474
34475 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
34476 status indicates it is set.
34477
ad816a5e
FW
344782017-09-01 Florian Weimer <fweimer@redhat.com>
34479
63b52889 34480 [BZ #20532]
ad816a5e
FW
34481 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
34482 function lookup failures more reliable.
34483
53250a21
FW
344842017-09-01 Florian Weimer <fweimer@redhat.com>
34485
34486 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
34487 (getcanonname): Likewise.
34488 (gaih_inet): Likewise.
34489
924b121c
FW
344902017-09-01 Florian Weimer <fweimer@redhat.com>
34491
34492 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
34493 (getcanonname): Likewise.
34494 (gaih_inet): Likewise.
34495
d9ff799a 344962017-08-31 Steve Ellcey <sellcey@cavium.com>
6b5c8607 34497 Richard Henderson <rth@twiddle.net>
d9ff799a
SE
34498
34499 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
34500 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
34501 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
34502 (IREG_SIZE, OREG_SIZE): New macros.
34503 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
34504 (IREG_SIZE, OREG_SIZE): New macros.
34505 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
34506 (IREG_SIZE): New macro.
34507 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
34508 (IREG_SIZE): New macro.
34509 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
34510 New includes.
34511 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
34512 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
34513 (__CONCATX): Handle exceptions correctly on large values that may
34514 set FE_INVALID.
34515 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
34516 Initialize if not already set.
b39d961c 34517 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
d9ff799a 34518
102dde84
AZ
345192017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34520
34521 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
34522 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
34523 Likewise.
34524 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
34525 Likewise.
34526 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
34527 Likewise.
34528 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
34529 Likewise.
34530 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
34531 Likewise.
34532 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
34533 Likewise.
34534 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
34535 Likewise.
34536 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
34537 (NO_CANCELLATION): Likewise.
34538 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
34539 Likewise.
34540 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
34541 Likewise.
34542 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
34543 Likewise.
34544 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
34545 (NO_CANCELLATION): Likewise.
34546 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
34547 (NO_CANCELLATION): Likewise.
34548 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
34549 Likewise
34550 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
34551 Likewise.
34552 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
34553 Likewise.
34554 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
34555 Likewise.
34556 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
34557 hidden prototype.
34558 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
34559 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
34560
9eee633b
SE
345612017-08-31 Steve Ellcey <sellcey@cavium.com>
34562
34563 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
34564 in resolver call.
34565
65284eb7
FW
345662017-08-31 Florian Weimer <fweimer@redhat.com>
34567
34568 * include/libc-symbols.h (internal_function): Remove.
34569
41ad5ca6
FW
345702017-08-31 Florian Weimer <fweimer@redhat.com>
34571
34572 * stdlib/fmtmsg.c (internal_addseverity): Remove
34573 internal_function.
34574
2fa6d086
FW
345752017-08-31 Florian Weimer <fweimer@redhat.com>
34576
34577 * stdio-common/printf_fp.c (group_number): Remove
34578 internal_function.
34579 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
34580
b41bd5bc
FW
345812017-08-31 Florian Weimer <fweimer@redhat.com>
34582
34583 * posix/fnmatch.c (internal_function): Remove definition.
34584 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
34585 * posix/regcomp.c (peek_token, init_word_char)
34586 (duplicate_node_closure, fetch_token, peek_token)
34587 (peek_token_bracket, build_range_exp, build_collating_symbol):
34588 Likewise.
34589 * posix/regex_internal.c (re_string_construct_common)
34590 (create_ci_newstate, create_cd_newstate, re_string_allocate)
34591 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
34592 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
34593 (re_string_translate_buffer, re_string_reconstruct)
34594 (re_string_peek_byte_case, re_string_fetch_byte_case)
34595 (re_string_destruct, re_string_context_at, re_node_set_alloc)
34596 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
34597 (re_node_set_add_intersect, re_node_set_init_union)
34598 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
34599 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
34600 (re_dfa_add_node, calc_state_hash, re_acquire_state)
34601 (re_acquire_state_context): Likewise.
34602 * posix/regex_internal.h (internal_function): Remove definition.
34603 (re_string_realloc_buffers, build_wcs_buffer)
34604 (build_wcs_upper_buffer, build_upper_buffer)
34605 (re_string_translate_buffer, re_string_context_at)
34606 (re_string_char_size_at, re_string_wchar_at)
34607 (re_string_elem_size_at): Likewise.
34608 * posix/regexec.c (match_ctx_init, match_ctx_clean)
34609 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
34610 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
34611 (re_search_internal, re_search_2_stub, re_search_stub)
34612 (re_copy_regs, prune_impossible_nodes, check_matching)
34613 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
34614 (free_fail_stack_return, sift_states_iter_mb)
34615 (sift_states_backward, build_sifted_states)
34616 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
34617 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
34618 (check_subexp_limits, sift_states_bkref, merge_state_array)
34619 (find_recover_state, transit_state, merge_state_with_log)
34620 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
34621 (transit_state_mb, transit_state_bkref, get_subexp)
34622 (get_subexp_sub, find_subexp_node, check_arrival)
34623 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
34624 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
34625 (check_node_accept_bytes, find_collation_sequence_value)
34626 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
34627 (acquire_init_state_context, check_halt_node_context)
34628 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
34629 (sub_epsilon_src_nodes): Likewise.
34630 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
34631 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
34632 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
34633 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
34634 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
34635 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
34636 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
34637 * sysdeps/posix/ttyname.c (getttyname): Likewise.
34638 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
34639 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
34640 (PREADV): Likewise.
34641 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
34642 (PREADV): Likewise.
34643 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
34644 (PWRITEV): Likewise.
34645 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
34646 (PWRITEV): Likewise.
34647 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
34648 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
34649
83b09837
FW
346502017-08-31 Florian Weimer <fweimer@redhat.com>
34651
34652 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
34653 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
34654 Remove internal_function.
34655 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
34656 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
34657 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
34658 (__deallocate_stack, __libc_pthread_init)
34659 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
34660 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
34661 (__libc_disable_asynccancel, __librt_disable_asynccancel):
34662 Likewise.
34663 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
34664 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
34665 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
34666 Likewise.
34667 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
34668 (__pthread_mutex_unlock_usercnt): Likewise.
34669
116ac301
FW
346702017-08-31 Florian Weimer <fweimer@redhat.com>
34671
34672 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
34673 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
34674 (fts_safe_changedir): Remove internal_function.
34675 * io/ftw.c (internal_function): Remove definition.
34676 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
34677
9da93bd7
FW
346782017-08-31 Florian Weimer <fweimer@redhat.com>
34679
34680 * inet/deadline.c (__deadline_current_time)
34681 (__deadline_from_timeval, __deadline_to_ms): Remove
34682 internal_function.
34683 * inet/getnameinfo.c (nrl_domainname): Likewise.
34684 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
34685 * inet/inet6_option.c (add_pad): Likewise.
34686 * inet/net-internal.h (__deadline_current_time)
34687 (__deadline_from_timeval, __deadline_to_ms): Likewise.
34688 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
34689 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
34690 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
34691
a60eca2e
JM
346922017-08-31 Joseph Myers <joseph@codesourcery.com>
34693
c0c49d60
JM
34694 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
34695 include <bits/nan.h>.
34696 * math/Makefile (headers): Remove bits/nan.h.
34697 * bits/nan.h: Remove.
34698 * sysdeps/ieee754/bits/nan.h: Likewise.
34699 * sysdeps/mips/bits/nan.h: Likewise.
34700
5ef1b213
JM
34701 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
34702 not include <bits/inf.h>.
34703 * math/Makefile (headers): Remove bits/inf.h.
34704 * bits/inf.h: Remove.
34705 * sysdeps/ieee754/bits/inf.h: Likewise.
34706
a60eca2e
JM
34707 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
34708 bits/huge_vall.h or bits/huge_val_flt128.h.
34709 (HUGE_VAL): Define directly here.
34710 [__USE_ISOC99] (HUGE_VALF): Likewise.
34711 [__USE_ISOC99] (HUGE_VALL): Likewise.
34712 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34713 (HUGE_VAL_F128): Likewise.
34714 * math/Makefile (headers): Remove bits/huge_val.h,
34715 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
34716 * bits/huge_val.h: Remove.
34717 * bits/huge_val_flt128.h: Likewise.
34718 * bits/huge_valf.h: Likewise.
34719 * bits/huge_vall.h: Likewise.
34720 * sysdeps/ia64/bits/huge_vall.h: Likewise.
34721 * sysdeps/ieee754/bits/huge_val.h: Likewise.
34722 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
34723 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
34724 * sysdeps/sh/bits/huge_val.h: Likewise.
34725 * sysdeps/sparc/bits/huge_vall.h: Likewise.
34726 * sysdeps/x86/bits/huge_vall.h: Likewise.
34727
17e00cc6
FW
347282017-08-31 Florian Weimer <fweimer@redhat.com>
34729
34730 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
34731 internal_function.
34732 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
34733 Likewise.
34734 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
34735 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
34736 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
34737 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
34738 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34739 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
34740 * elf/dl-libc.c (dlerror_run): Likewise.
34741 * elf/dl-load.c (add_name_to_object, decompose_rpath)
34742 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
34743 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
34744 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
34745 Likewise.
34746 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
34747 (_dl_higher_prime_number, _dl_strtoul): Likewise.
34748 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
34749 * elf/dl-profile.c (_dl_start_profile): Likewise.
34750 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
34751 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
34752 Likewise.
34753 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
34754 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
34755 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
34756 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
34757 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
34758 (_dl_allocate_tls_storage): Likewise.
34759 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
34760 (_dl_check_all_versions): Likewise.
34761 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
34762 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
34763 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
34764 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
34765 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
34766 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
34767 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
34768 internal_function from __dl_start.
34769 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
34770 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
34771 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
34772 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
34773 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
34774 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
34775 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
34776 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
34777 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
34778 (_dl_next_ld_env_entry, _dl_important_hwcaps)
34779 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
34780 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
34781 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
34782 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
34783 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
34784 Likewise.
34785 (struct rtld_global_ro): Remove internal_function from the
34786 _dl_lookup_symbol_x member.
34787 (_dl_symbol_value): Remove. No longer defined anywhere.
34788 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
34789 internal_function.
34790 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
34791 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
34792 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
34793 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
34794 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
34795 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
34796 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
34797 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
34798 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
34799 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
34800 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
34801 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
34802
8d2f9410
FW
348032017-08-31 Florian Weimer <fweimer@redhat.com>
34804
34805 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
34806 Remove internal_function.
34807 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
34808 Likewise.
34809 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
34810 Likewise.
34811
86e4919f
FW
348122017-08-31 Florian Weimer <fweimer@redhat.com>
34813
34814 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
34815 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
34816 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
34817
59bd52b0
FW
348182017-08-31 Florian Weimer <fweimer@redhat.com>
34819
34820 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
34821 (__gai_enqueue_request): Remove internal_function.
34822 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
34823 (__gai_remove_request, __gai_notify, __gai_notify_only)
34824 (__gai_sigqueue): Likewise.
34825 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
34826 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
34827 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
34828 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
34829 Likewise.
34830
fc3d9497
FW
348312017-08-31 Florian Weimer <fweimer@redhat.com>
34832
34833 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
34834 * include/dirent.h (__opendirat, __getdents, __getdents64)
34835 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
34836 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
34837 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
34838 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
34839 Likewise.
34840 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
34841
18c54fac
FW
348422017-08-31 Florian Weimer <fweimer@redhat.com>
34843
34844 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
34845 internal_function.
34846 (GETCWD_RETURN_TYPE): Likewise.
34847
7e01f080
FW
348482017-08-31 Florian Weimer <fweimer@redhat.com>
34849
34850 * include/time.h (__tz_compute, __strptime_internal): Remove
34851 internal_function.
34852 * time/strptime_l.c (__strptime_internal): Likewise.
34853 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
34854
d7ccc6c9
FW
348552017-08-31 Florian Weimer <fweimer@redhat.com>
34856
34857 * iconv/gconv.c (__gconv): Remove internal_function.
34858 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
34859 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
34860 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
34861 (__gconv_release_cache): Likewise.
34862 * iconv/gconv_close.c (__gconv_close): Likewise.
34863 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
34864 (read_conf_file, __gconv_get_path): Likewise.
34865 * iconv/gconv_db.c (derivation_lookup, add_derivation)
34866 (__gconv_release_step, gen_steps, increment_counter)
34867 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
34868 (__gconv_close_transform, free_modules_db): Likewise.
34869 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
34870 Likewise.
34871 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
34872 (__gconv_find_transform, __gconv_lookup_cache)
34873 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
34874 (__gconv_close_transform, __gconv_release_cache)
34875 (__gconv_loaded_object, __gconv_release_shlib)
34876 (__gconv_compare_alias): Likewise.
34877 * iconv/gconv_open.c (__gconv_open): Likewise.
34878 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
34879 * iconv/iconvconfig.c (add_module): Likewise.
34880 * intl/dcigettext.c (plural_lookup, guess_category_value)
34881 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
34882 * intl/eval-plural.h (plural_eval): Likewise.
34883 * intl/finddomain.c (_nl_find_domain): Likewise.
34884 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
34885 (_nl_load_domain, _nl_find_msg): Likewise.
34886 (internal_function): Remove definition.
34887 * intl/loadinfo.h (internal_function): Likewise.
34888 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
34889 internal_function.
34890 * intl/localealias.c (internal_function): Remove definition.
34891 (read_alias_file): Remove internal_function.
34892 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
34893 * intl/plural-exp.h (internal_function): Remove definition.
34894 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
34895 internal_function.
34896 * intl/plural.c: Regenerate.
34897 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
34898 * locale/coll-lookup.c (__collidx_table_lookup)
34899 (__collseq_table_lookup): Likewise.
34900 * locale/coll-lookup.h (__collidx_table_lookup)
34901 (__collseq_table_lookup): Likewise.
34902 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
34903 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34904 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
34905 (_nl_unload_locale): Likewise.
34906 * locale/localeinfo.h (struct __locale_data): Remove
34907 internal_function from cleanup member.
34908 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
34909 (_nl_remove_locale, _nl_load_locale_from_archive)
34910 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
34911 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
34912 (_nl_cleanup_time): Remove internal_function.
34913 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
34914 (_nl_parse_alt_digit): Likewise.
34915 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
34916 (_nl_select_era_entry): Likewise.
34917 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
34918 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
34919 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7e01f080
FW
34920 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
34921 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
d7ccc6c9 34922
dab0eece
FW
349232017-08-31 Florian Weimer <fweimer@redhat.com>
34924
34925 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
34926 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
34927 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
34928 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
34929 Likewise.
34930 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
34931 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
34932 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
34933 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
34934 Likewise.
34935 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
34936
ab5bf7cf
FW
349372017-08-31 Florian Weimer <fweimer@redhat.com>
34938
34939 * misc/getttyent.c (skip, value): Remove internal_function.
34940 * misc/syslog.c (openlog_internal): Likewise.
34941 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
34942
75b3047e
FW
349432017-08-31 Florian Weimer <fweimer@redhat.com>
34944
34945 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
34946 (__nss_rewrite_field): Remove internal_function.
34947 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34948 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
34949 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
34950 * nss/nsswitch.c (nss_parse_file, nss_getline)
34951 (nss_parse_service_list, nss_new_service): Likewise.
34952 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
34953 * nss/valid_field.c (__nss_valid_field): Likewise.
34954 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
34955
0c71122c
FW
349562017-08-31 Florian Weimer <fweimer@redhat.com>
34957
34958 * malloc/arena.c (__malloc_fork_lock_parent)
34959 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
34960 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
34961 internal_function from defintions.
34962 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
34963 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
34964 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
34965 internal_function from declarations.
34966 * malloc/malloc.c (internal_function): Do not define.
34967 (mem2mem_check): Remove internal_function from declaration.
34968 (munmap_chunk, mremap_chunk): Remove internal_function.
34969 * malloc/mtrace.c (tr_where): Likewise.
34970
ca4ec803
FW
349712017-08-31 Florian Weimer <fweimer@redhat.com>
34972
34973 * include/rpc/pmap_clnt.h (__get_socket): Remove
34974 internal_function.
34975 * sunrpc/auth_des.c (synchronize): Likewise.
34976 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
34977 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
34978 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
34979 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
34980 (key_call): Likewise.
34981 * sunrpc/pm_getport.c (__get_socket): Likewise.
34982 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
34983 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
34984 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
34985 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
34986 (invalidate): Likewise.
34987 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
34988 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
34989 (set_input_fragment, get_input_bytes): Likewise.
34990
24cffce7
FW
349912017-08-31 Florian Weimer <fweimer@redhat.com>
34992
34993 * malloc/malloc.c (_int_free): Remove locked variable and related
34994 asserts.
34995
ecd0747d
L
349962017-08-31 H.J. Lu <hongjiu.lu@intel.com>
34997
34998 [BZ #22051]
34999 * Makerules (build-module-helper-objlist): Filter out
35000 $(elf-objpfx)sofini.os.
35001 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
35002 needed.
35003
5f0704b6
FW
350042017-08-31 Florian Weimer <fweimer@redhat.com>
35005
35006 * libio/fcloseall.c: Assume weak_alias is defined.
35007 * libio/feof.c: Likewise.
35008 * libio/fileno.c: Likewise.
35009 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
35010 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
35011 definitions.
35012 (_IO_file_open): Call __open directly.
35013 (_IO_new_file_sync): Assume ESPIPE is defined.
35014 (_IO_file_seekoff_maybe_mmap): Call __read directly.
35015 (_IO_new_file_write): Call __write directly.
35016 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
35017 * libio/ftello64.c (__ftello64): Assume EIO is defined.
35018 * libio/genops.c: Assume _LIBC is defined.
35019 (save_for_backup): Remove internal_function.
35020 * libio/getc.c: Assume weak_alias is defined.
35021 * libio/getwc.c: Likewise.
35022 * libio/iofclose.c: Assume _LIBC is defined.
35023 * libio/iofdopen.c: Likewise.
35024 (_IO_fcntl): Remove macro definition.
35025 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
35026 Call __fcntl directly.
35027 * libio/iofflush.c: Assume weak_alias is defined.
35028 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
35029 defined.
35030 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
35031 * libio/iofgets.c: Likewise.
35032 * libio/iofopen.c: Assume _LIBC is defined.
35033 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
35034 * libio/iofputs.c: Assume weak_alias is defined.
35035 * libio/iofread.c: Likewise.
35036 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
35037 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
35038 * libio/ioftell.c: Assume weak_alias is defined.
35039 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
35040 * libio/iofwide.c: Assume _LIBC is defined.
35041 (_IO_fwide): Drop SHARED conditional because it is implied by
35042 SHLIB_COMPAT.
35043 * libio/iofwrite.c: Assume weak_alias is defined.
35044 * libio/iogetdelim.c: Likewise.
35045 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
35046 * libio/iogetwline.c (wmemcpy): Remove macro definition.
35047 (_IO_getwline): Call __wmemcpy directly.
35048 * libio/iopopen.c: Assume _LIBC is defined.
35049 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
35050 (_IO_close): Remove macro definitions.
35051 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
35052 _exit directly.
35053 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
35054 directly.
35055 * libio/ioputs.c: Assume weak_alias is defined.
35056 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
35057 * libio/iosetbuffer.c: Assume weak_alias is defined.
35058 * libio/iosetvbuf.c: Likewise.
35059 * libio/ioungetc.c: Likewise.
35060 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
35061 libc_hidden_def, libc_hidden_weak, NULL are defined.
35062 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
35063 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
35064 defined.
35065 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
35066 definitions.
35067 (_IO_old_file_init_internal): Drop SHARED conditional because it
35068 is implied by SHLIB_COMPAT.
35069 (_IO_old_file_fopen): Call __open directly.
35070 (_IO_old_file_sync): Assume ESPIPE is defined.
35071 (_IO_old_file_write): Call __write directly.
35072 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
35073 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
35074 Call __fcntl directly.
35075 * libio/oldiofgetpos.c: Assume weak_alias is defined.
35076 (_IO_old_fgetpos): Assume EIO is defined.
35077 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
35078 (_IO_old_fgetpos64): Assume EIO is defined.
35079 * libio/oldiofsetpos.c: Assume weak_alias is defined.
35080 (_IO_old_fsetpos): Assume EIO is defined.
35081 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
35082 (_IO_old_fsetpos64): Assume EIO is defined.
35083 * libio/oldiopopen.c: Assume _LIBC is defined.
35084 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
35085 (_IO_close): Remove macro definitions.
35086 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
35087 directly.
35088 (_IO_old_proc_close): Call __close, __waitpid directly.
35089 * libio/put.c: Assume weak_alias is defined.
35090 * libio/stdfiles.c: Assume _LIBC is defined.
35091 * libio/stdio.c: Likewise.
35092 * libio/wfileops.c: Likewise.
35093 (_IO_wfile_sync): Assume ESPIPE is defined.
35094 * libio/wgenops.c: Assume _LIBC is defined.
35095 (save_for_wbackup): Remove internal_function.
35096
5129873a
FW
350972017-08-31 Florian Weimer <fweimer@redhat.com>
35098
35099 * malloc/malloc.c (top_check): Change return type to void. Remove
35100 internal_function.
35101 * malloc/hooks.c (top_check): Likewise.
35102 (malloc_check, realloc_check, memalign_check): Adjust.
35103
4fa9b3bf
JM
351042017-08-30 Joseph Myers <joseph@codesourcery.com>
35105
35106 [BZ #21457]
35107 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
35108 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
35109 sigcontext and namespace requirements.
35110 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
35111 * sysdeps/m68k/sys/ucontext.h: Likewise.
35112 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
35113 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
35114 <bits/sigcontext.h>.
35115 (__ctx): Define earlier.
35116 (mcontext_t): Define structure contents rather than using struct
35117 sigcontext.
35118 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
35119 __glibc_reserved1 instead of __reserved.
35120 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
35121 <bits/sigcontext.h>.
35122 (__ctx): Define earlier.
35123 (mcontext_t): Define structure contents rather than using struct
35124 sigcontext.
35125 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
35126 mcontext_t instead of struct sigcontext.
35127 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
35128 <bits/sigcontext.h>.
35129 (__ctx): Define earlier.
35130 (mcontext_t): Define structure contents rather than using struct
35131 sigcontext.
35132 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
35133 <bits/sigcontext.h>.
35134 (__ctx): Define earlier.
35135 (mcontext_t): Define structure contents rather than using struct
35136 sigcontext.
35137 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
35138 mcontext_t instead of struct sigcontext.
35139 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
35140 mcontext_t instead of struct sigcontext.
35141 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
35142 <bits/sigcontext.h>.
35143 (__ctx): New macro.
35144 (struct __ia64_fpreg_mcontext): New type.
35145 (mcontext_t): Define structure contents rather than using struct
35146 sigcontext.
35147 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
35148 (uc_sigmask): Define using __ctx.
35149 (uc_stack): Likewise.
35150 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
35151 <bits/sigcontext.h>.
35152 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35153 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
35154 <bits/sigcontext.h>.
35155 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
35156 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
35157 <bits/sigcontext.h>.
35158 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
35159 <bits/sigcontext.h>.
35160 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
35161 <bits/sigcontext.h>.
35162 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
35163 <bits/sigcontext.h>.
35164 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
35165 <bits/sigcontext.h>.
35166 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
35167 <bits/sigcontext.h>.
35168 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
35169 <bits/sigcontext.h>.
35170 (__ctx): Define earlier.
35171 (mcontext_t): Define structure contents rather than using struct
35172 sigcontext.
35173 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
35174 <bits/sigcontext.h>. Include <bits/types.h>.
35175 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
35176 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
35177 (test-xfail-XPG42/ucontext.h/conform): Likewise.
35178 (test-xfail-UNIX98/signal.h/conform): Likewise.
35179 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
35180 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
35181 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
35182 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
35183 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
35184 (test-xfail-POSIX2008/signal.h/conform): Likewise.
35185 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
35186 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
35187 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
35188
5898f454
FW
351892017-08-30 Florian Weimer <fweimer@redhat.com>
35190
35191 * malloc/dynarray_emplace_enlarge.c
35192 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
35193 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
35194 * malloc/tst-dynarray.c (test_long_overflow): New function.
35195 (do_test): Call it.
35196
a9da0bb2
FW
351972017-08-30 Florian Weimer <fweimer@redhat.com>
35198
35199 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
35200 (set_arena_corrupt): Remove definitions.
35201 (mtrim): Do not check for corrupt arena.
35202 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
35203 Likewise.
35204
ac3ed168
FW
352052017-08-30 Florian Weimer <fweimer@redhat.com>
35206
35207 [BZ #21754]
35208 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
35209 check_action.
35210 (ptmalloc_init): Do not set or use check_action.
35211 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
35212 call to malloc_printerr. Remove return statement.
35213 (free_check): Likewise. Remove arena unlock.
35214 (top_check): Update comment. Adjust call to malloc_printerr.
35215 Remove heap repair code.
35216 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
35217 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
35218 (sysmalloc): Adjust call to malloc_printerr.
35219 (munmap_chunk, __libc_realloc): Likewise. Remove return
35220 statement.
35221 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
35222 Remove errout label and corresponding gotos.
35223 (_int_free): Likewise. Remove arena unlock.
35224 (do_set_mallopt_check): Do not set check_action.
35225 (malloc_printerr): Adjust parameter list. Do not mark arena as
35226 corrupt.
35227 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
35228 comment.
35229 * manual/probes.texi (Memory Allocation Probes): Remove
35230 memory_mallopt_check_action.
35231
44bcba80
SE
352322017-08-30 Steve Ellcey <sellcey@cavium.com>
35233
35234 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
35235 Use pointer to uint64_t instead of long int for sp.
35236
ec2c1fce
FW
352372017-08-30 Florian Weimer <fweimer@redhat.com>
35238
35239 [BZ #21754]
35240 * malloc/malloc.c (malloc_printerr): Always terminate the process,
35241 without printing a backtrace. Do not leak any information in the
35242 error message.
35243 * manual/memory.texi (Heap Consistency Checking): Update.
35244 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
35245
9ce673b6
FW
352462017-08-30 Florian Weimer <fweimer@redhat.com>
35247
35248 Do not scale NPTL tests with available number of CPUs.
35249 * nptl/tst-cond16.c (count): Set to constant value of 8.
35250 * nptl/tst-cond18.c (count): Likewise.
35251
2f1aef19
JM
352522017-08-29 Joseph Myers <joseph@codesourcery.com>
35253
35254 [BZ #22035]
35255 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
35256 Define to take a second argument that is a macro that
35257 concatentates a suffix, not the suffix itself.
35258 (__CONCAT_d): New macro.
35259 (__CONCAT_f): Likewise.
35260 (__CONCAT_l): Likewise.
35261
8325b477
PP
352622017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
35263
35264 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
35265 by child.
35266
319cbbf6
AZ
352672017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35268 Aurelien Jarno <aurelien@aurel32.net>
35269 Maciej W. Rozycki <macro@imgtec.com>
35270
35271 [BZ #21956]
35272 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
35273 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
35274 `mips16-syscall6' and `mips16-syscall7'.
35275 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
35276 (CFLAGS-mips16-syscall7.c): Remove.
35277 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
35278 Remove `__mips16_syscall5', `__mips16_syscall6' and
35279 `__mips16_syscall7'.
35280 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
35281 (__mips16_syscall0): Rename `__mips16_syscall_return' to
35282 `__mips_syscall_return'.
35283 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
35284 (__mips16_syscall1): Likewise.
35285 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
35286 (__mips16_syscall2): Likewise.
35287 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
35288 (__mips16_syscall3): Likewise.
35289 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
35290 (__mips16_syscall4): Likewise.
35291 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
35292 Remove.
35293 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
35294 Remove.
35295 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
35296 Remove.
35297 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
35298 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
35299 `__mips16_syscall5'. Remove prototype.
35300 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
35301 `__mips16_syscall6'. Remove prototype.
35302 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
35303 `__mips16_syscall7'. Remove prototype.
35304 (__nomips16, __mips16_syscall_return): Move to...
35305 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
35306 (__nomips16, __mips_syscall_return): ... here.
35307 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
35308 `__mips16_syscall_return' to `__mips_syscall_return'.
35309 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
35310 `internal_syscall##nr'.
35311 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
35312 `internal_syscall##nr'.
35313 (FORCE_FRAME_POINTER): Remove.
35314 (__mips_syscall5): New prototype.
35315 (internal_syscall5): Rewrite to call `__mips_syscall5'.
35316 (__mips_syscall6): New prototype.
35317 (internal_syscall6): Rewrite to call `__mips_syscall6'.
35318 (__mips_syscall7): New prototype.
35319 (internal_syscall7): Rewrite to call `__mips_syscall7'.
35320 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
35321 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
35322 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
35323 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
35324 (sysdep_routines): Add libc-do-syscall.
35325 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
35326 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
35327
01b87c65
AZ
353282017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35329
35330 [BZ #21672]
35331 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
35332 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
35333 (advise_stack_range): New function.
35334 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
35335 stack non required to advise_stack_range at allocatestack.c
35336
16f138a4
SN
353372017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
35338
35339 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
35340
251bccfa
FW
353412017-08-29 Florian Weimer <fweimer@redhat.com>
35342
35343 [BZ #22026]
35344 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
35345 __end_fct. Mangle __end_fct after setting it to NULL.
35346 * iconv/Makefile (tests): Add tst-gconv-init-failure.
35347 (modules-names, modules-names-tests): Add
35348 tst-gconv-init-failure-mod.
35349 (gconv-modules): New target.
35350 (tst-gconv-init-failure-mod.so): Link against libsupport.
35351 (tst-gconv-init-failure): Depend on gconv-modules,
35352 tst-gconv-init-failure-mod.so.
35353 * iconv/tst-gconv-init-failure-mod.c: New file.
35354 * iconv/tst-gconv-init-failure.c: Likewise.
35355 * iconv/test-gconv-modules: Likewise.
35356
e7c18b9d
FW
353572017-08-29 Florian Weimer <fweimer@redhat.com>
35358
35359 [BZ #22025]
35360 * iconv/gconv_db.c (free_derivation): Remove redundant
35361 parentheses.
35362 (gen_steps): Unconditionally mangle __btowc_fct after
35363 initialization.
35364 (increment_counter): Likewise. Do not call init_fct for internal
35365 modules.
35366
7daada03
JM
353672017-08-29 Joseph Myers <joseph@codesourcery.com>
35368
35369 [BZ #22028]
35370 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
35371 (_MSUF_): Remove macro.
35372 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
35373 Likewise.
35374 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
35375 (__REDIRFROM_X): New macro.
35376 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
35377 Likewise.
35378 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
35379 (__REDIRTO_X): Likewise.
35380 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
35381 arguments.
35382 (__MATH_REDIRCALL_2): Likewise.
35383 (__MATH_REDIRCALL_INTERNAL): Likewise.
35384 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
35385 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
35386 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
35387 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
35388 * math/test-finite-macros.c: New file.
35389 * math/Makefile (tests): Add test-finite-macros.
35390 (CFLAGS-test-finite-macros.c): New variable.
35391
1cf1232c
PF
353922017-08-29 Patsy Franklin <pfrankli@redhat.com>
35393 Jeff Law <law@redhat.com>
35394
35395 [BZ #22025]
35396 Mangle NULL pointers in iconv/gconv.
35397 * iconv/gconv_cache.c (find_module): Demangle init_fct before
35398 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
35399 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
35400 is non-NULL before demangling the end_fct. Check for NULL
35401 end_fct after demangling.
35402 (__gconv_release_step): Demangle the end_fct before checking
35403 it for NULL. Remove assert on __shlibc_handle != NULL.
35404 (gen_steps): Don't check btowc_fct for NULL before mangling.
35405 Demangle init_fct before checking for NULL.
35406 (increment_counter): Likewise.
35407 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
35408 end_fct for NULL before mangling.
35409 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
35410 for NULL.
35411
c207f7ce 354122017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
f8de9568
AK
35413
35414 [BZ #21971]
35415 * locale/iso-639.def: add Morisyen.
35416
42496114
GG
354172017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35418
35419 [BZ #21930]
35420 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
35421 (iszero): New C++ implementation that does not use
35422 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
35423 signaling nans are enabled, since __builtin_types_compatible_p
35424 is a C-only feature.
35425 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
35426 defined, include ieee754_float128.h for access to the union and
35427 member ieee854_float128.ieee.
35428 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
35429 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
35430 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
35431 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
35432 options of test-math-zero on powerpc64le.
35433
5e2bc4ff
L
354342017-08-28 H.J. Lu <hongjiu.lu@intel.com>
35435
35436 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
35437 Change double to float.
35438
a48c0fb4
JM
354392017-08-28 Joseph Myers <joseph@codesourcery.com>
35440
35441 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
35442 unconditional.
35443 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
35444 conditional code; define contents only for [LIBM_SVID_COMPAT].
35445
ee17d4e9
FW
354462017-08-28 Florian Weimer <fweimer@redhat.com>
35447
35448 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
35449 (abi-lp64_be-options): Remove.
35450 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
35451 (abi-hard-options): Likewise.
35452 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
35453 (abi-o32_hard-options, abi-o32_soft_2008-options)
35454 (abi-o32_hard_2008-options, abi-n32_soft-options)
35455 (abi-n32_hard-options, abi-n32_soft_2008-options)
35456 (abi-n32_hard_2008-options, abi-n64_soft-options)
35457 (abi-n64_hard-options, abi-n64_soft_2008-options)
35458 (abi-n64_hard_2008-options): Likewise.
35459 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
35460 (abi-64-v1-options, abi-64-v2-options): Likewise.
35461 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
35462 (abi-64-options): Likewise.
35463 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
35464 (abi-64-options): Likewise.
35465 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
35466 (abi-64-options): Likewise.
35467 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
35468 (abi-64-options, abi-x32-options): Likewise.
35469
2dba5ce7
FW
354702017-08-28 Florian Weimer <fweimer@redhat.com>
35471
35472 Store supported list of SYS_* system calls in the source tree.
35473 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
35474 (bits/syscall.h): Generate from list file.
35475 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
35476 [$(subdir) = misc] (tests): Add tst-syscall-list.
35477 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
35478 [$(subdir) = misc] (tst-syscall-list-macros.list)
35479 [$(subdir) = misc] (tst-syscall-list-nr.list)
35480 (tst-syscall-list-sys.list): Helper targets for new
35481 tst-syscall-list test.
35482 [$(subdir) = misc] (tst-syscall-list.out): Run test script
35483 tst-syscall-list.sh.
35484 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
35485 target. Do not include bits/syscall.d.
35486 [$(subdir) = misc] (generated): Do not update.
35487 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
35488 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
35489 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
35490 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
35491
5f3b183d
PP
354922017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
35493
35494 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
35495 (tst-cxa_atexit, tst-on_exit): Likewise.
35496 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
35497 tst-cxa_atexit, and tst-on_exit.
35498 * stdlib/tst-atexit-common.c: New file.
35499 * stdlib/tst-atexit.c: New file.
35500 * stdlib/tst-at_quick_exit.c: New file.
35501 * stdlib/tst-cxa_atexit.c: New file.
35502 * stdlib/tst-on_exit.c: New file.
35503
2ef8d469
ST
355042017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
35505
35506 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
97e02ad2
ST
35507 * mach/stack_chk_fail_local.c: New file.
35508 * hurd/stack_chk_fail_local.c: New file.
35509 * mach/Machrules ($(interface-library)-routines): Add
35510 stack_chk_fail_local.
99ee4d26
ST
35511 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
35512 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
35513 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
35514 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
35515 * hurd/Makefile (CFLAGS-hurdstartup.o,
35516 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2ef8d469 35517
7ab70c98
L
355182017-08-25 H.J. Lu <hongjiu.lu@intel.com>
35519
35520 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
35521 (index_cpu_*, index_arch_*): Removed.
35522
39e7a5a6
SN
355232017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
35524
35525 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
35526 Use uint64_t instead of unsigned long.
35527
bba5c930
JM
355282017-08-25 Joseph Myers <joseph@codesourcery.com>
35529
a6ccdb08
JM
35530 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
35531 [__HAVE_DISTINCT_FLOAT128].
35532
23761119
JM
35533 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
35534 of <bits/math-finite.h>.
35535 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
35536 inclusion of <bits/math-finite.h>.
35537 * math/bits/math-finite.h (__REDIRTO_X): Do not define
35538 conditionally on [__MATH_DECLARING_LDOUBLE && defined
35539 __NO_LONG_DOUBLE_MATH].
35540 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
35541 (__MATH_REDIRCALL_2): Likewise.
35542 (__MATH_REDIRCALL_INTERNAL): Likewise.
35543 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
35544 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
35545 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
35546
bba5c930
JM
35547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
35548 Remove file.
35549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
35550 Likewise.
35551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
35552 Likewise.
35553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
35554 Likewise.
35555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
35556 Likewise.
35557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
35558 Likewise.
35559 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
35560 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
35561 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
35562 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
35563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
35564 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
35565 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
35566 w_sqrtf_compat-ppc32.
35567
3d7b66f6
GG
355682017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35569
35570 * math/math.h [defined __cplusplus] (issignaling): In the long
35571 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
35572 is not defined. Call __issignaling, otherwise.
35573
ebd6f007
AZ
355742017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35575
35576 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
35577 syscall definitions and replace __builtin_expect with __glibc_likely.
35578 * sysdeps/unix/syscall-template.S: Update comment about cancellable
35579 syscall.
6b5c8607 35580 (SYSCALL_CANCELLABLE): Removedefinition
ebd6f007
AZ
35581 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
35582 definition.
35583 (PSEUDO_END): Likewise.
35584 [IS_IN (libpthread)] (CENABLE): Likewise.
35585 [IS_IN (libpthread)] (CDISABLE): Likewise.
35586 [IS_IN (libc)] (CENABLE): Likewise.
35587 [IS_IN (libc)] (CENABLE): Likewise.
35588 [IS_IN (librt)] (CDISABLE): Likewise.
35589 [IS_IN (librt)] (CDISABLE): Likewise.
35590 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35591 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
35592 definition.
35593 (PSEUDO_END): Likewise.
35594 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
35595 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
35596 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
35597 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
35598 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
35599 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
35600 (CENABLE): Likewise.
35601 (CDISABLE): Likewise.
35602 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35603 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
35604 defintion.
35605 (PSEUDO_END): Likewise.
35606 [IS_IN (libpthread)] (CENABLE): Likewise.
35607 [IS_IN (libpthread)] (CDISABLE): Likewise.
35608 [IS_IN (libc)] (CENABLE): Likewise.
35609 [IS_IN (libc)] (CENABLE): Likewise.
35610 [IS_IN (librt)] (CDISABLE): Likewise.
35611 [IS_IN (librt)] (CDISABLE): Likewise.
35612 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35613 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
35614 definition.
35615 (PSEUDO_END): Likewise.
35616 [IS_IN (libpthread)] (CENABLE): Likewise.
35617 [IS_IN (libpthread)] (CDISABLE): Likewise.
35618 [IS_IN (libc)] (CENABLE): Likewise.
35619 [IS_IN (libc)] (CENABLE): Likewise.
35620 [IS_IN (librt)] (CDISABLE): Likewise.
35621 [IS_IN (librt)] (CDISABLE): Likewise.
35622 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35623 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
35624 definition.
35625 (PSEUDO_END): Likewise.
35626 [IS_IN (libpthread)] (CENABLE): Likewise.
35627 [IS_IN (libpthread)] (CDISABLE): Likewise.
35628 [IS_IN (libc)] (CENABLE): Likewise.
35629 [IS_IN (libc)] (CENABLE): Likewise.
35630 [IS_IN (librt)] (CDISABLE): Likewise.
35631 [IS_IN (librt)] (CDISABLE): Likewise.
35632 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35633 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
35634 definition.
35635 (PSEUDO_END): Likewise.
35636 [IS_IN (libpthread)] (CENABLE): Likewise.
35637 [IS_IN (libpthread)] (CDISABLE): Likewise.
35638 [IS_IN (libc)] (CENABLE): Likewise.
35639 [IS_IN (libc)] (CENABLE): Likewise.
35640 [IS_IN (librt)] (CDISABLE): Likewise.
35641 [IS_IN (librt)] (CDISABLE): Likewise.
35642 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35643 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
35644 definition.
35645 (PSEUDO_END): Likewise.
35646 [IS_IN (libpthread)] (CENABLE): Likewise.
35647 [IS_IN (libpthread)] (CDISABLE): Likewise.
35648 [IS_IN (libc)] (CENABLE): Likewise.
35649 [IS_IN (libc)] (CENABLE): Likewise.
35650 [IS_IN (librt)] (CDISABLE): Likewise.
35651 [IS_IN (librt)] (CDISABLE): Likewise.
35652 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35653 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
35654 definition.
35655 (PSEUDO_END): Likewise.
35656 [IS_IN (libpthread)] (CENABLE): Likewise.
35657 [IS_IN (libpthread)] (CDISABLE): Likewise.
35658 [IS_IN (libc)] (CENABLE): Likewise.
35659 [IS_IN (libc)] (CENABLE): Likewise.
35660 [IS_IN (librt)] (CDISABLE): Likewise.
35661 [IS_IN (librt)] (CDISABLE): Likewise.
35662 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35663 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
35664 Remove definition.
35665 (PSEUDO_END): Likewise.
35666 [IS_IN (libpthread)] (CENABLE): Likewise.
35667 [IS_IN (libpthread)] (CDISABLE): Likewise.
35668 [IS_IN (libc)] (CENABLE): Likewise.
35669 [IS_IN (libc)] (CENABLE): Likewise.
35670 [IS_IN (librt)] (CDISABLE): Likewise.
35671 [IS_IN (librt)] (CDISABLE): Likewise.
35672 (SINGLE_THREAD_P): Likewise.
35673 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
35674 definition.
35675 (PSEUDO_END): Likewise.
35676 [IS_IN (libpthread)] (CENABLE): Likewise.
35677 [IS_IN (libpthread)] (CDISABLE): Likewise.
35678 [IS_IN (libc)] (CENABLE): Likewise.
35679 [IS_IN (libc)] (CENABLE): Likewise.
35680 [IS_IN (librt)] (CDISABLE): Likewise.
35681 [IS_IN (librt)] (CDISABLE): Likewise.
35682 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35683 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
35684 definition.
35685 (PSEUDO_END): Likewise.
35686 [IS_IN (libpthread)] (CENABLE): Likewise.
35687 [IS_IN (libpthread)] (CDISABLE): Likewise.
35688 [IS_IN (libc)] (CENABLE): Likewise.
35689 [IS_IN (libc)] (CENABLE): Likewise.
35690 [IS_IN (librt)] (CDISABLE): Likewise.
35691 [IS_IN (librt)] (CDISABLE): Likewise.
35692 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35693 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
35694 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
35695 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
35696 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
35697 definition.
35698 (PSEUDO_END): Likewise.
35699 [IS_IN (libpthread)] (CENABLE): Likewise.
35700 [IS_IN (libpthread)] (CDISABLE): Likewise.
35701 [IS_IN (libc)] (CENABLE): Likewise.
35702 [IS_IN (libc)] (CENABLE): Likewise.
35703 [IS_IN (librt)] (CDISABLE): Likewise.
35704 [IS_IN (librt)] (CDISABLE): Likewise.
35705 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35706 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
35707 definition.
35708 (PSEUDO_END): Likewise.
35709 [IS_IN (libpthread)] (CENABLE): Likewise.
35710 [IS_IN (libpthread)] (CDISABLE): Likewise.
35711 [IS_IN (libc)] (CENABLE): Likewise.
35712 [IS_IN (libc)] (CENABLE): Likewise.
35713 [IS_IN (librt)] (CDISABLE): Likewise.
35714 [IS_IN (librt)] (CDISABLE): Likewise.
35715 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35716 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
35717 definition.
35718 (PSEUDO_END): Likewise.
35719 [IS_IN (libpthread)] (CENABLE): Likewise.
35720 [IS_IN (libpthread)] (CDISABLE): Likewise.
35721 [IS_IN (libc)] (CENABLE): Likewise.
35722 [IS_IN (libc)] (CENABLE): Likewise.
35723 [IS_IN (librt)] (CDISABLE): Likewise.
35724 [IS_IN (librt)] (CDISABLE): Likewise.
35725 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35726 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
35727 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
35728 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
35729 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
35730 definition.
35731 (PSEUDO_END): Likewise.
35732 [IS_IN (libpthread)] (CENABLE): Likewise.
35733 [IS_IN (libpthread)] (CDISABLE): Likewise.
35734 [IS_IN (libc)] (CENABLE): Likewise.
35735 [IS_IN (libc)] (CENABLE): Likewise.
35736 [IS_IN (librt)] (CDISABLE): Likewise.
35737 [IS_IN (librt)] (CDISABLE): Likewise.
35738 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35739 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
35740 definition.
35741 (PSEUDO_END): Likewise.
35742 [IS_IN (libpthread)] (CENABLE): Likewise.
35743 [IS_IN (libpthread)] (CDISABLE): Likewise.
35744 [IS_IN (libc)] (CENABLE): Likewise.
35745 [IS_IN (libc)] (CENABLE): Likewise.
35746 [IS_IN (librt)] (CDISABLE): Likewise.
35747 [IS_IN (librt)] (CDISABLE): Likewise.
35748 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35749
8aa48656
SN
357502017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
35751
35752 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
35753
fcaaca41
L
357542017-08-23 H.J. Lu <hongjiu.lu@intel.com>
35755
35756 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35757
376b40a2
L
357582017-08-23 H.J. Lu <hongjiu.lu@intel.com>
35759
35760 [BZ #21982]
35761 * string/stratcliff.c (do_test): Declare size, nchars, inner,
35762 middle and outer with size_t instead of int. Repleace %d and
35763 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
35764 "MAX (outer, nchars - 64)" to support unsigned outer and
35765 nchars. Also exit loop when outer == 0.
35766
2b0b9a1c
AZ
357672017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35768
35769 * include/fcntl.h (__fcntl_nocancel): Remove definition.
35770 * include/signal.h (__sigsuspend_nocancel): Likewise.
35771 * include/time.h (__nanosleep_nocancel): Likewise.
35772 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
35773 * login/utmp_file.c: Include non cancellable syscall header.
35774 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
35775 prototype.
35776
b9eaca8f
L
357772017-08-23 H.J. Lu <hongjiu.lu@intel.com>
35778
35779 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
35780 .byte sequences with AVX512F instructions.
35781 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
35782 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
35783 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
35784 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
35785 Likewise.
35786 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
35787 Likewise.
35788
5a706f64
SE
357892017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
35790 Steve Ellcey <sellcey@cavium.com>
35791
35792 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
35793 Use PTR_REG macro in cmp instruction.
35794
b513da7e
GG
357952017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35796
35797 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
35798 Change the return type of the ifunc resolver to match the return
35799 type of the target function.
35800
78ca091c
AZ
358012017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35802
b70b6026
AZ
35803 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
35804 (preadv64): Likewise.
35805 (pwrite64(: Likewise.
35806 (pwritev64): Likewise.
35807
78ca091c
AZ
35808 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
35809 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
35810 (LOAD_ARGS_0): Likewise.
35811 (LOAD_ARGS_1): Likewise.
35812 (LOAD_ARGS_2): Likewise.
35813 (LOAD_ARGS_3): Likewise.
35814 (LOAD_ARGS_4): Likewise.
35815 (LOAD_ARGS_5): Likewise.
35816 (LOAD_ARGS_6): Likewise.
35817 (LOAD_REGS_0): Likewise.
35818 (LOAD_REGS_1): Likewise.
35819 (LOAD_REGS_2): Likewise.
35820 (LOAD_REGS_3): Likewise.
35821 (LOAD_REGS_4): Likewise.
35822 (LOAD_REGS_5): Likewise.
35823 (LOAD_REGS_6): Likewise.
35824 (ASM_ARGS_0): Likewise.
35825 (ASM_ARGS_1): Likewise.
35826 (ASM_ARGS_2): Likewise.
35827 (ASM_ARGS_3): Likewise.
35828 (ASM_ARGS_4): Likewise.
35829 (ASM_ARGS_5): Likewise.
35830 (ASM_ARGS_6): Likewise.
35831 (LOAD_ARGS_TYPES_1): Likewise.
35832 (LOAD_ARGS_TYPES_2): Likewise.
35833 (LOAD_ARGS_TYPES_3): Likewise.
35834 (LOAD_ARGS_TYPES_4): Likewise.
35835 (LOAD_ARGS_TYPES_5): Likewise.
35836 (LOAD_ARGS_TYPES_6): Likewise.
35837 (LOAD_REGS_TYPES_1): Likewise.
35838 (LOAD_REGS_TYPES_2): Likewise.
35839 (LOAD_REGS_TYPES_3): Likewise.
35840 (LOAD_REGS_TYPES_4): Likewise.
35841 (LOAD_REGS_TYPES_5): Likewise.
35842 (LOAD_REGS_TYPES_6): Likewise.
35843 (TYPEFY): New define.
35844 (ARGIFY): Likewise.
35845 (internal_syscall0): Likewise.
35846 (internal_syscall1): Likewise.
35847 (internal_syscall2): Likewise.
35848 (internal_syscall3): Likewise.
35849 (internal_syscall4): Likewise.
35850 (internal_syscall5): Likewise.
35851 (internal_syscall6): Likewise.
35852 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
35853 (INTERNAL_SYSCALL_NCS): Remove define.
35854 (internal_syscall1): Add define.
35855
453a493d
GG
358562017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35857
35858 * math/w_remainder_compat.c: Remove duplicate inclusion of
35859 math-svid-compat.h.
35860 * math/w_remainderf_compat.c: Likewise.
35861 * math/w_remainderl_compat.c: Likewise.
35862
f2f048a5
GG
358632017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35864
35865 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35866
d9bef9c0
JM
358672017-08-22 Joseph Myers <joseph@codesourcery.com>
35868
35869 [BZ #21684]
35870 * math/tgmath.h (__floating_type): Simplify definitions.
35871 (__real_integer_type): New macro.
35872 (__complex_integer_type): Likewise.
35873 (__expr_is_real): Likewise.
35874 (__tgmath_real_type_sub): Update comment to describe handling of
35875 complex types.
35876 (__tgmath_complex_type_sub): New macro.
35877 (__tgmath_complex_type): Likewise.
35878 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35879 (__TGMATH_CF128): Use __expr_is_real.
35880 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
35881 __expr_is_real.
35882 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35883 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
35884 * math/gen-tgmath-tests.py (Type.create_type): Create complex
35885 integer types.
35886
08d6eb46
AZ
358872017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35888
988f991b
AZ
35889 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
35890 macro.
35891 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
35892 alias.
35893 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
35894 Likewise.
35895
6f33fd04
AZ
35896 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
35897 nanosleep_not_cancel with __nanosleep_nocancel.
35898 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
35899 (__nanosleep_nocancel): New macro.
35900 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
35901 function.
35902 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
35903 macro.
35904 (__nanosleep_nocancel): New prototype.
35905
08d6eb46
AZ
35906 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
35907 pause_not_cancel with __pause_nocancel.
35908 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
35909 (__pause_nocancel): New macro.
35910 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
35911 macro.
35912 (__pause_nocancel): New prototype.
35913 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
35914
ee4e992e
MS
359152017-08-22 Martin Sebor <msebor@redhat.com>
35916
35917 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
35918 to return a pointer to the same type as the target function.
35919
20962acb
L
359202017-08-22 H.J. Lu <hongjiu.lu@intel.com>
35921
35922 [BZ #18822]
35923 [BZ #21986]
35924 * include/printf.h (__printf_fphex): Add attribute_hidden.
35925 (__guess_grouping): New prototype.
35926 * stdio-common/printf_fp.c (__guess_grouping): Removed.
35927 * stdio-common/reg-printf.c (__register_printf_specifier): Add
35928 libc_hidden_proto and libc_hidden_def.
35929 * stdlib/strfmon_l.c (__guess_grouping): Removed.
35930 (__vstrfmon_l): Remove the third argument passed to
35931 __guess_grouping.
35932
a16e8bc0
GG
359332017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35934
35935 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
35936 definition for issignaling that does not rely on __MATH_TG,
35937 since __MATH_TG uses __builtin_types_compatible_p, which is only
35938 available in C mode.
35939 (CFLAGS-test-math-issignaling.cc): New variable.
35940 * math/Makefile [CXX] (tests): Add test-math-issignaling.
35941 * math/test-math-issignaling.cc: New test for C++ implementation
35942 of type-generic issignaling.
35943 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
35944 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
35945 options of test-math-issignaling on powerpc64le.
35946
8d2ec553
L
359472017-08-22 H.J. Lu <hongjiu.lu@intel.com>
35948
35949 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
35950 building libc.a.
35951 (hidden_proto): Likewise.
35952 (hidden_tls_proto): Likewise.
35953 (__hidden_proto): Likewise.
35954
a4d57b79
FW
359552017-08-22 Florian Weimer <fweimer@redhat.com>
35956
35957 math: Statically link tests of internal functionality.
35958 * math/Makefile (tests): Remove atest-exp, atest-sincos,
35959 atest-exp2.
35960 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
35961 (gmp-objs): Remove assignment.
35962 (atest-exp, atest-sincos, atest-exp2): Remove targets.
35963
75dfe623
JM
359642017-08-22 Joseph Myers <joseph@codesourcery.com>
35965
80f91666
JM
35966 [BZ #21987]
35967 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
35968 and copy to ...
35969 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
35970 ... here.
35971 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
35972 ... and here.
35973
75dfe623
JM
35974 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
35975 variable definitions above inclusion of ../Rules.
35976
ea99fcd0
JM
359772017-08-21 Joseph Myers <joseph@codesourcery.com>
35978
35979 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
35980 case calling __builtin_unreachable.
35981
19926de9
AZ
359822017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35983
a8410a5f
AZ
35984 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
35985 __waitpid_nocancel.
35986 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
35987 (__waitpid_nocancel): New macro.
35988 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
35989 macro.
35990 (__waitpid_nocancel): Replace macro with a function.
35991 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
35992 function.
35993
7369800c
AZ
35994 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
35995 __fcntl_nocancel.
35996 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
35997 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
35998
19926de9
AZ
35999 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
36000 __writev_nocancel_nostatus.
36001 (write_call_graph): Likewise.
36002 (write_bb_counts): Likewise.
36003 * resolv/herror.c (herror): Likewise.
36004 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
36005 macro.
36006 (__writev_nocancel_nostatus): New macro.
36007 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
36008 Remove macro.
36009 (__writev_nocancel_nostatus): New function.
36010
813378e9
JM
360112017-08-21 Joseph Myers <joseph@codesourcery.com>
36012
df1deda6
JM
36013 Revert:
36014 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36015
36016 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36017 building libc.a.
36018 (hidden_proto): Likewise.
36019 (hidden_tls_proto): Likewise.
36020 (__hidden_proto): Likewise.
36021
831bbd55
JM
36022 [BZ #21973]
36023 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
36024 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
36025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
36026 Likewise.
36027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
36028 Likewise.
36029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
36030 Likewise.
36031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
36032 Likewise.
36033 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
36034 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
36035 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
36036 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
36037 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
36038 GLIBC_2.0 sqrtl symbol.
36039
813378e9
JM
36040 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
36041 [__USE_MISC] (_LIB_VERSION): Likewise.
36042 [__USE_MISC] (struct exception): Likewise.
36043 [__USE_MISC] (matherr): Likewise.
36044 [__USE_MISC] (DOMAIN): Likewise.
36045 [__USE_MISC] (SING): Likewise.
36046 [__USE_MISC] (OVERFLOW): Likewise.
36047 [__USE_MISC] (UNDERFLOW): Likewise.
36048 [__USE_MISC] (TLOSS): Likewise.
36049 [__USE_MISC] (PLOSS): Likewise.
36050 [__USE_MISC] (HUGE): Likewise.
36051 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
36052 * math/math-svid-compat.h: New file.
36053 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
36054 and matherrl.
36055 * include/math.h [!_ISOMAC] (__matherr): Remove.
36056 * manual/arith.texi (FP Exceptions): Do not document matherr.
36057 * math/Makefile (tests): Change test-matherr to test-matherr-3.
36058 (tests-internal): New variable.
36059 (install-lib): Do not add libieee.a.
36060 (non-lib.a): Likewise.
36061 (extra-objs): Do not add libieee.a and ieee-math.o.
36062 (CPPFLAGS-s_lib_version.c): Remove variable.
36063 ($(objpfx)libieee.a): Remove rule.
36064 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
36065 * math/ieee-math.c: Remove.
36066 * math/libm-test-support.c (matherr): Remove.
36067 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
36068 and license notices. Include <math-svid-compat.h> and
36069 <shlib-compat.h>.
36070 (matherr): Undefine as macro. Use compat_symbol_reference.
36071 (_LIB_VERSION): Likewise.
36072 * math/test-matherr-2.c: New file.
36073 * math/test-matherr-3.c: Likewise.
36074 * sysdeps/generic/math_private.h (__kernel_standard): Remove
36075 declaration.
36076 (__kernel_standard_f): Likewise.
36077 (__kernel_standard_l): Likewise.
36078 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
36079 <math_private.h>. Include <math-svid-compat.h>.
36080 (_LIB_VERSION): Undefine as macro.
36081 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
36082 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
36083 [LIBM_SVID_COMPAT], use compat_symbol.
36084 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
36085 <math_private.h>. Include <math-svid-compat.h>.
36086 (matherr): Undefine as macro.
36087 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
36088 compat_symbol.
36089 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
36090 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
36091 compat_symbol_reference.
36092 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
36093 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
36094 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
36095 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
36096 (MATHERR_D): Remove declaration.
36097 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
36098 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
36099 [LIBM_BUILD] (pmatherrf): Likewise.
36100 [LIBM_BUILD] (pmatherr): Likewise.
36101 [LIBM_BUILD] (pmatherrl): Likewise.
36102 (DOMAIN): Likewise.
36103 (SING): Likewise.
36104 (OVERFLOW): Likewise.
36105 (UNDERFLOW): Likewise.
36106 (TLOSS): Likewise.
36107 (PLOSS): Likewise.
36108 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
36109 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
36110 compat_symbol.
36111 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
36112 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
36113 compat_symbol.
36114 * math/lgamma-compat.h: Include <math-svid-compat.h>.
36115 * math/w_acos_compat.c: Likewise.
36116 * math/w_acosf_compat.c: Likewise.
36117 * math/w_acosh_compat.c: Likewise.
36118 * math/w_acoshf_compat.c: Likewise.
36119 * math/w_acoshl_compat.c: Likewise.
36120 * math/w_acosl_compat.c: Likewise.
36121 * math/w_asin_compat.c: Likewise.
36122 * math/w_asinf_compat.c: Likewise.
36123 * math/w_asinl_compat.c: Likewise.
36124 * math/w_atan2_compat.c: Likewise.
36125 * math/w_atan2f_compat.c: Likewise.
36126 * math/w_atan2l_compat.c: Likewise.
36127 * math/w_atanh_compat.c: Likewise.
36128 * math/w_atanhf_compat.c: Likewise.
36129 * math/w_atanhl_compat.c: Likewise.
36130 * math/w_cosh_compat.c: Likewise.
36131 * math/w_coshf_compat.c: Likewise.
36132 * math/w_coshl_compat.c: Likewise.
36133 * math/w_exp10_compat.c: Likewise.
36134 * math/w_exp10f_compat.c: Likewise.
36135 * math/w_exp10l_compat.c: Likewise.
36136 * math/w_exp2_compat.c: Likewise.
36137 * math/w_exp2f_compat.c: Likewise.
36138 * math/w_exp2l_compat.c: Likewise.
36139 * math/w_fmod_compat.c: Likewise.
36140 * math/w_fmodf_compat.c: Likewise.
36141 * math/w_fmodl_compat.c: Likewise.
36142 * math/w_hypot_compat.c: Likewise.
36143 * math/w_hypotf_compat.c: Likewise.
36144 * math/w_hypotl_compat.c: Likewise.
36145 * math/w_j0_compat.c: Likewise.
36146 * math/w_j0f_compat.c: Likewise.
36147 * math/w_j0l_compat.c: Likewise.
36148 * math/w_j1_compat.c: Likewise.
36149 * math/w_j1f_compat.c: Likewise.
36150 * math/w_j1l_compat.c: Likewise.
36151 * math/w_jn_compat.c: Likewise.
36152 * math/w_jnf_compat.c: Likewise.
36153 * math/w_jnl_compat.c: Likewise.
36154 * math/w_lgamma_main.c: Likewise.
36155 * math/w_lgamma_r_compat.c: Likewise.
36156 * math/w_lgammaf_main.c: Likewise.
36157 * math/w_lgammaf_r_compat.c: Likewise.
36158 * math/w_lgammal_main.c: Likewise.
36159 * math/w_lgammal_r_compat.c: Likewise.
36160 * math/w_log10_compat.c: Likewise.
36161 * math/w_log10f_compat.c: Likewise.
36162 * math/w_log10l_compat.c: Likewise.
36163 * math/w_log2_compat.c: Likewise.
36164 * math/w_log2f_compat.c: Likewise.
36165 * math/w_log2l_compat.c: Likewise.
36166 * math/w_log_compat.c: Likewise.
36167 * math/w_logf_compat.c: Likewise.
36168 * math/w_logl_compat.c: Likewise.
36169 * math/w_pow_compat.c: Likewise.
36170 * math/w_powf_compat.c: Likewise.
36171 * math/w_powl_compat.c: Likewise.
36172 * math/w_remainder_compat.c: Likewise.
36173 * math/w_remainderf_compat.c: Likewise.
36174 * math/w_remainderl_compat.c: Likewise.
36175 * math/w_scalb_compat.c: Likewise.
36176 * math/w_scalbf_compat.c: Likewise.
36177 * math/w_scalbl_compat.c: Likewise.
36178 * math/w_sinh_compat.c: Likewise.
36179 * math/w_sinhf_compat.c: Likewise.
36180 * math/w_sinhl_compat.c: Likewise.
36181 * math/w_sqrt_compat.c: Likewise.
36182 * math/w_sqrtf_compat.c: Likewise.
36183 * math/w_sqrtl_compat.c: Likewise.
36184 * math/w_tgamma_compat.c: Likewise.
36185 * math/w_tgammaf_compat.c: Likewise.
36186 * math/w_tgammal_compat.c: Likewise.
36187 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
36188 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
36189 * sysdeps/ieee754/k_standard.c: Likewise.
36190 * sysdeps/ieee754/k_standardf.c: Likewise.
36191 * sysdeps/ieee754/k_standardl.c: Likewise.
36192 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
36193 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
36194 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
36195 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
36196 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
36197 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
36198 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
36199 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
36200 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
36201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
36202 Likewise.
36203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
36204 Likewise.
36205 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
36206 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
36207 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
36208 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
36209
4504783c
FW
362102017-08-21 Florian Weimer <fweimer@redhat.com>
36211
36212 [BZ #21864]
36213 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
36214 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
36215 Move before inclusion of ../Rules.
36216
b5889d25
FW
362172017-08-21 Florian Weimer <fweimer@redhat.com>
36218
36219 [BZ #21972]
36220 * assert/assert.h (assert): Use static_cast (bool) for C++.
36221 Use the ternary operator in the warning branch for GNU C.
36222 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
36223 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
36224 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
36225 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
36226 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
36227
41e673c1
L
362282017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36229
36230 [BZ #18822]
36231 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36232 (__syscall_clock_gettime): Add attribute_hidden.
36233 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
36234 (__start_context): Likewise.
36235
568ff429
L
362362017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36237
36238 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36239 building libc.a.
36240 (hidden_proto): Likewise.
36241 (hidden_tls_proto): Likewise.
36242 (__hidden_proto): Likewise.
36243
7c41b4a1
L
362442017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36245
36246 * include/libc-symbols.h (attribute_hidden): Enable hidden
36247 visibility in libc.a compiled with PIE.
36248
483d7068
L
362492017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36250
36251 [BZ #18822]
36252 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
36253 Add attribute_hidden.
36254
362552017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36256
36257 [BZ #21864]
36258 * Makerules (all-nonlib): Add $(others-extras).
36259 * catgets/Makefile (others-extras): New.
36260 * elf/Makefile (others-extras): Likewise.
36261 * nss/Makefile (others-extras): Likewise.
36262
54e4b8f2
L
362632017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36264
36265 [BZ #18822]
36266 * csu/libc-start.c (__libc_multiple_libcs): Removed.
36267 * elf/dl-open.c: Include <libc-internal.h>.
36268 (__libc_multiple_libcs): Removed.
36269 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
36270 <hp-timing.h>.
36271 * include/libc-internal.h (__libc_multiple_libcs): New.
36272 * misc/sbrk.c: Include <libc-internal.h>.
36273 (__libc_multiple_libcs): Removed.
36274
1dbbb1ec
L
362752017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36276
36277 [BZ #18822]
36278 * grp/initgroups.c (__nss_group_database): Removed.
36279 (__nss_initgroups_database): Likewise.
36280 * nscd/gai.c (__nss_hosts_database): Likewise.
36281 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
36282 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
36283 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
36284 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
36285 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
36286 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
36287 attribute_hidden.
36288 * nss/nsswitch.c (__nss_database_custom): Define only if
36289 USE_NSCD is defined.
36290 (__nss_configure_lookup): Use __nss_database_custom only if
36291 USE_NSCD is defined.
36292 * nss/nsswitch.h (__nss_database_custom): Declare only if
36293 USE_NSCD is defined. Add attribute_hidden.
36294 (__nss_setent): Add attribute_hidden.
36295 (__nss_endent): Likewise.
36296 (__nss_getent_r): Likewise.
36297 (__nss_getent): Likewise.
36298 (DEFINE_DATABASE): Declare __nss_##arg##_database.
36299
2585d7b8
L
363002017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36301
36302 [BZ #18822]
36303 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
36304 libc_hidden_proto and libc_hidden_def.
36305
c8dfa99c
L
363062017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36307
36308 [BZ #18822]
36309 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
36310 Add libc_hidden_proto.
36311 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
36312 Add libc_hidden_def.
36313
7ed87317
L
363142017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36315
36316 [BZ #21974]
36317 * gmon/Makefile (routines): Remove bb_init_func and
36318 bb_exit_func.
36319 (elide-routines.os): Removed.
9476b904
L
36320 * gmon/bb_exit_func.c: Likewise.
36321 * gmon/bb_init_func.c: Likewise.
7ed87317
L
36322 * include/sys/gmon.h (__bb): Likewise.
36323 (__bb_init_func): Likewise.
36324 (__bb_exit_func): Likewise.
91695eb1 36325 * sysdeps/alpha/bb_init_func.S: Likewise.
7ed87317 36326
94e6ba15
L
363272017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36328
36329 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
36330 * include/setjmp.h (____longjmp_chk): Here. Add
36331 attribute_hidden.
36332
7550717e
L
363332017-08-19 H.J. Lu <hongjiu.lu@intel.com>
36334
36335 [BZ #18822]
36336 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
36337 attribute_hidden.
36338 (__strspn_sse2): Likewise.
36339
0bb2fabc
AZ
363402017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36341
c181840c
AZ
36342 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
36343 (close_not_cancel_no_status): Likewise.
36344 (__close_nocancel): New macro.
36345 (__close_nocancel_nostatus): Likewise.
36346 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
36347 macro.
36348 (close_not_cancel): Likewise.
36349 (close_not_cancel_no_status): Likewise.
36350 (__close_nocancel): New prototype.
36351 (__close_nocancel_nostatus): New function.
36352 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
36353 * catgets/open_catalog.c (__open_catalog): Replace
36354 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
36355 * gmon/gmon.c (write_gmon): Likewise.
36356 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
36357 * intl/loadmsgcat.c (close): Likewise.
36358 * io/ftw.c (open_dir_stream): Likewise.
36359 (ftw_startup): Likewise.
36360 * libio/fileops.c (_IO_file_open): Likewise.
36361 (_IO_file_close_mmap): Likewise.
36362 (_IO_file_close): Likewise.
36363 * libio/iopopen.c (_IO_dup2): Likewise.
36364 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36365 * locale/loadlocale.c (_nl_load_locale): Likewise.
36366 * login/utmp_file.c (pututline_file): Likewise.
36367 (endutent_file): Likewise.
36368 * misc/daemon.c (daemon): Likewise.
36369 * nscd/nscd_getai.c (__nscd_getai): Likewise.
36370 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
36371 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
36372 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
36373 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36374 * nscd/nscd_helper.c (open_socket): Likewise.
36375 (__nscd_open_socket): Likewise.
36376 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
36377 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
36378 (__nscd_innetgr): Likewise.
36379 * nss/nss_db/db-open.c (internal_setent): Likewise.
36380 * resolv/res-close.c (__res_iclose): Likewise.
36381 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
36382 * sysdeps/posix/closedir.c (__closedir): Likewise.
36383 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
36384 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36385 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
36386 (opendir_tail): Likewise.
36387 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36388 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
36389 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
36390 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
36391 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36392 (gethostid): Likewise.
36393 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36394 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36395 Likewise.
36396 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
36397 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
36398 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36399 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36400 Likewise.
36401 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
36402 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
36403 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36404 Likewise.
36405 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
36406 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36407 Likewise.
36408 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36409 Likewise.
36410 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
36411 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36412 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36413 __close_nocancel.
36414
0bb2fabc
AZ
36415 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
36416 (openat_not_cancel_3): Likewise.
36417 (openat64_not_cancel_3): Likewise).
36418 (openat_not_cancel_3): Likewise).
36419 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
36420 macro.
36421 (openat_not_cancel_3): Likewise.
36422 (openat64_not_cancel): Likewise.
36423 (openat64_not_cancel_3): Likewise.
36424 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
36425 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
36426 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
36427 __open{64}_nocancel.
36428 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
36429 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36430 * sysdeps/posix/opendir.c (__opendirat): Likewise.
36431
65a086db
L
364322017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36433
36434 [BZ #18822]
36435 * include/argz.h (__argz_create_sep): New function prototype.
36436 (__argz_append): Likewise.
36437 (__argz_add): Likewise.
36438 (__argz_add_sep): Likewise.
36439 (__argz_delete): Likewise.
36440 (__argz_insert): Likewise.
36441 (__argz_replace): Likewise.
36442 * string/argz.h (__argz_create_sep): Removed.
36443 (__argz_append): Likewise.
36444 (__argz_add): Likewise.
36445 (__argz_add_sep): Likewise.
36446 (__argz_delete): Likewise.
36447 (__argz_insert): Likewise.
36448 (__argz_replace): Likewise.
36449
62753d2c
L
364502017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36451
36452 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
36453 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
36454 (GNU_PROPERTY_STACK_SIZE): Likewie.
36455 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
36456 (GNU_PROPERTY_LOPROC): Likewise.
36457 (GNU_PROPERTY_HIPROC): Likewise.
36458 (GNU_PROPERTY_LOUSER): Likewise.
36459 (GNU_PROPERTY_HIUSER): Likewise.
36460 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
36461 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
36462 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
36463 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
36464 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
36465 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
36466 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
36467 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
36468 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
36469 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
36470 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
36471 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
36472 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
36473 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
36474 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
36475 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
36476 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
36477 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
36478 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
36479 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
36480 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
36481 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
36482 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
36483
6913ad65
GG
364842017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36485
36486 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
36487 in C++ mode.
36488
47a67213
GG
364892017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36490
36491 [BZ #21930]
36492 * math/math.h (isinf): Check if in C or C++ mode before using
36493 __builtin_types_compatible_p, since this is a C mode feature.
36494
a748eb31
AZ
364952017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36496
c647fb88
AZ
36497 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
36498 (__write_nocancel): New macro.
36499 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
36500 Rewrite as a function prototype.
36501 (write_not_cancel): Remove macro.
36502 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
36503 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
36504 (write_gmon): Likewise.
36505 * libio/fileops.c (_IO_new_file_write): Likewise.
36506 * login/utmp_file.c (pututline_file): Likewise.
36507 (updwtmp_file): Likewise.
36508 * stdio-common/psiginfo.c (psiginfo): Likewise.
36509 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36510 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36511 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36512 Likewise.
36513 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36514 Likewise.
36515
a748eb31
AZ
36516 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
36517 (__read_nocancel): New macro.
36518 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36519 __read_nocancel.
36520 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
36521 macro.
36522 (__read_nocancel): New prototype.
36523 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
36524 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
36525 with __read_nocancel.
36526 * intl/loadmsgcat.c (read): Likewise.
36527 * libio/fileops.c (_IO_file_read): Likewise.
36528 * locale/loadlocale.c (_nl_load_locale): Likewise.
36529 * login/utmp_file.c (getutent_r_file): Likewise.
36530 (internal_getut_r): Likewise.
36531 (getutline_r_file): Likewise.
36532 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
36533 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
36534 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36535 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36536 Likewise.
36537 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
36538 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36539 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36540 Likewise.
36541 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36542 Likewise.
36543 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36544 Likewise.
36545 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36546 Likewise.
36547 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36548
098b9dd4
L
365492017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36550
36551 [BZ #21966]
36552 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
36553 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
36554 usable.
36555
a3fe6a20
DD
365562017-08-17 DJ Delorie <dj@redhat.com>
36557
36558 * bug17079.c: Update to new test harness.
36559 * test-digits-dots.c: Likewise.
36560 * test-netdb.c: Likewise.
36561 * tst-field.c: Likewise.
36562 * tst-nss-getpwent.c: Likewise.
36563 * tst-nss-static.c: Likewise.
36564 * tst-nss-test1.c: Likewise.
36565 * tst-nss-test2.c: Likewise.
36566 * tst-nss-test3.c: Likewise.
36567 * tst-nss-test4.c: Likewise.
36568 * tst-nss-test5.c: Likewise.
36569
c2284574
AZ
365702017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36571
36572 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
36573 (open_not_cancel_2): Likewise.
36574 (open_nocancel): New macro.
36575 (open64_nocancel): Likewise.
36576 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
36577 (open_not_cancel_2): Likewise.
36578 (__open_nocancel): New prototype.
36579 (__open64_nocancel): Likewise.
36580 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36581 __open_nocancel.
36582 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
36583 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
36584 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
36585 with __open_nocancel.
36586 * csu/check_fds.c (check_one_fd): Likewise.
36587 * gmon/gmon.c (write_gmon): Likewise.
36588 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
36589 * intl/loadmsgcat.c (open): Likewise.
36590 * libio/fileops.c (_IO_file_open): Likewise.
36591 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36592 * locale/loadlocale.c (_nl_load_locale): Likewise.
36593 * login/utmp_file.c (setutent_file): Likewise.
36594 * misc/daemon.c (daemon): Likewise.
36595 * nss/nss_db/db-open.c (internal_setent): Likewise.
36596 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
36597 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
36598 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
36599 (__opendir): Likewise.
36600 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36601 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
36602 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36603 (gethostid): Likewise.
36604 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36605 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36606 Likewise.
36607 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
36608 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
36609 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36610 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36611 Likewise.
36612 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36613 Likewise.
36614 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36615 Likewise.
36616 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
36617 Likewise.
36618 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36619 Likewise.
36620 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36621 Likewise.
36622 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
36623 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36624
d4505b89
WD
366252017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
36626
36627 * benchtests/bench-skeleton.c (main): Add support for
36628 latency benchmarking.
36629 * benchtests/scripts/bench.py: Add support for latency benchmarking.
36630
34d6a3cb
L
366312017-08-17 H.J. Lu <hongjiu.lu@intel.com>
36632
36633 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
36634 the startup object.
36635
038d1caf
FW
366362017-08-17 Florian Weimer <fweimer@redhat.com>
36637
36638 * include/sys/socket.h (__opensock): Remove internal_function.
36639 * socket/opensock.c (__opensock): Likewise.
36640 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
36641
67f0aff0
JM
366422017-08-16 Joseph Myers <joseph@codesourcery.com>
36643
36644 [BZ #21944]
36645 * signal/bits/types/__sigval_t.h: New file.
36646 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
36647 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
36648 and define sigval_t using __sigval_t.
36649 * include/bits/types/__sigval_t.h: New file.
36650 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
36651 instead of <bits/types/__sigval_t.h>.
36652 (struct sigevent): Use __sigval_t instead of sigval_t.
36653 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
36654 instead of <bits/types/__sigval_t.h>.
36655 (siginfo_t): Use __sigval_t instead of sigval_t.
36656 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
36657 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
36658 (struct sigevent): Use __sigval_t instead of sigval_t.
36659 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
36660 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
36661 (siginfo_t): Use __sigval_t instead of sigval_t.
36662 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
36663
87e7bf4d
L
366642017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36665
36666 * NEWS: Remove "[Add new features here]" for 2.27.
36667
5047057f
JM
366682017-08-16 Joseph Myers <joseph@codesourcery.com>
36669
36670 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
36671 libc.so.
36672
20c7b195
L
366732017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36674
36675 * NEWS: Mention x86-64 FMA optimization.
36676
24a2e658
L
366772017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36678
36679 [BZ #21912]
36680 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36681 Add e_expf-fma.
36682 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
36683 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
36684 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
36685
eedca977
AS
366862017-08-16 Andreas Schwab <schwab@suse.de>
36687
403143e1
FW
36688 [BZ #16750]
36689 CVE-2009-5064
eedca977
AS
36690 * elf/ldd.bash.in: Never run file directly.
36691
f59f7adb
L
366922017-08-15 H.J. Lu <hongjiu.lu@intel.com>
36693
36694 [BZ #21955]
36695 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
36696 (L(SP_INF_0)): Likewise.
36697
6b11a6ad
FW
366982017-08-15 Florian Weimer <fweimer@redhat.com>
36699
36700 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
36701 run-built-tests.
36702
bbf5c438
FW
367032017-08-15 Florian Weimer <fweimer@redhat.com>
36704
36705 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
36706 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
36707 BROKEN_THREAD_SIGNALS code.
36708 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
36709 request_list): Remove caller_pid member used for
36710 BROKEN_THREAD_SIGNALS.
36711 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
36712 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
36713 Remove BROKEN_THREAD_SIGNALS support.
36714 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
36715 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
36716
6014c65d
FW
367172017-08-15 Florian Weimer <fweimer@redhat.com>
36718
36719 * gmon/Makefile (tests): Add tst-gmon.
36720 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
36721 Set.
36722 (tests-special): Add tst-gmon-prof.out.
36723 (tst-gmon.out): Depend on clean-tst-gmon-data.
36724 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
36725 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
36726 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
36727 startup object.
36728 * aclocal.m4 (GPROF): Set and substitute.
36729 * config.amke.in (GPROF): Set.
36730 * configure: Regenerate.
36731
ee72219a
GR
367322017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
36733
36734 * elf/elf.h A (NT_PPC_TAR): New macro.
36735 (NT_PPC_PPR): Likewise.
36736 (NT_PPC_DSCR): Likewise.
36737 (NT_PPC_EBB): Likewise.
36738 (NT_PPC_PMU): Likewise.
36739 (NT_PPC_TM_CGPR): Likewise.
36740 (NT_PPC_TM_CFPR): Likewise.
36741 (NT_PPC_TM_CVMX): Likewise.
36742 (NT_PPC_TM_CVSX): Likewise.
36743 (NT_PPC_TM_SPR): Likewise.
36744 (NT_PPC_TM_CTAR): Likewise.
36745 (NT_PPC_TM_CPPR): Likewise.
36746 (NT_PPC_TM_CDSCR): Likewise.
36747
4ebf934e
FW
367482017-08-15 Florian Weimer <fweimer@redhat.com>
36749
36750 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
36751 regparm (2) instead of internal_function.
36752 (_MCOUNT_DECL): Adjust.
36753
e9f57484
SL
367542017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
36755
36756 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
36757 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
36758
88ff4d55
JM
367592017-08-14 Joseph Myers <joseph@codesourcery.com>
36760
36761 * conform/data/sys/wait.h-data (si_value): Do not expect for
36762 XPG42.
36763
c88ffc23
FW
367642017-08-14 Florian Weimer <fweimer@redhat.com>
36765
36766 [BZ #21962]
36767 NSS: Create stubs for accidentally exported lookup functions.
36768 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
36769 Remove declaration.
36770 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
36771 (ether_hostton): Call __nss_ethers_lookup2 instead.
36772 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
36773 (ether_ntohost): Call __nss_ethers_lookup2 instead.
36774 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
36775 (setup): Call __nss_netgroup_lookup2 instead.
36776 * nss/Makefile (routines): Add compat-lookup.
36777 * nss/Versions (GLIBC_2.27): Add symbol version.
36778 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
36779 (DB_COMPAT_FCT): Remove.
36780 * nss/compat-lookup.c: New file.
36781 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
36782 from databases.def.
36783 * nss/service-lookup.c (NO_COMPAT): Remove definition.
36784 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
36785 (netname2user): Call __nss_publickey_lookup2 instead.
36786 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
36787 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
36788 instead.
36789
35a29136 367902017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1f14d0c3
AZ
36791 Sergei Trofimovich <slyfox@inbox.ru>
36792
36793 [BZ #21908]
36794 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
36795 Rename to MMAP2_PAGE_UNIT.
36796 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
36797 __OFF_T_MATCHES_OFF64_T is not defined.
36798 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
36799 uint64_t.
36800 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
36801 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
36802
fbdc1e3e
FW
368032017-08-14 Florian Weimer <fweimer@redhat.com>
36804
36805 i386: Do not set internal_function.
36806 * config.h.in (USE_REGPARMS, internal_function): Remove.
36807 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
36808 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
36809
b3f85fd2
FW
368102017-08-14 Florian Weimer <fweimer@redhat.com>
36811
36812 * elf/dl-init.c (_dl_init): Remove internal_function.
36813 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
36814 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
36815
630bf491
FW
368162017-08-14 Florian Weimer <fweimer@redhat.com>
36817
36818 * elf/rtld.c (_dl_start): Remove internal_function.
36819 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
36820 _dl_start.
36821
9fa7449b
FW
368222017-08-14 Florian Weimer <fweimer@redhat.com>
36823
36824 * elf/dl-fini.c (_dl_fini): Remove internal_function
36825 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
36826
73322d5f
L
368272017-08-14 H.J. Lu <hongjiu.lu@intel.com>
36828
d863cd71 36829 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
73322d5f
L
36830 (bit_cpu_SHSTK): Likewise.
36831 (index_cpu_IBT): Likewise.
36832 (index_cpu_SHSTK): Likewise.
36833 (reg_IBT): Likewise.
36834 (reg_SHSTK): Likewise.
36835 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
36836 Handle index_cpu_IBT and index_cpu_SHSTK.
36837
dbc303ef
MF
368382017-08-14 Mike FABIAN <mfabian@redhat.com>
36839
36840 [BZ #19982]
36841 * po/fr.po: Fix spelling mistake.
36842
3012cfb0
FW
368432017-08-13 Florian Weimer <fweimer@redhat.com>
36844
36845 * elf/dl-addr.c (_dl_addr): Remove internal_function.
36846 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
36847 (_dl_catch_error, _dl_receive_error): Likewise.
36848 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
36849 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
36850 (_dl_deallocate_tls): Likewise.
36851 * include/dlfcn.h (_dl_addr): Likewise.
36852 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
36853 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
36854 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
36855 Likewise.
36856
52bcdf26
FW
368572017-08-13 Florian Weimer <fweimer@redhat.com>
36858
36859 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
36860 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
36861 internal_function.
36862 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
36863
e1d2ae8d
FW
368642017-08-13 Florian Weimer <fweimer@redhat.com>
36865
36866 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
36867 internal_function.
36868 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
36869 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
36870 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
36871 internal_function from _dl_make_stack_executable_hook member.
36872 (_dl_make_stack_executable): Remove internal_function.
36873 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
36874 Likewise.
36875 * sysdeps/unix/sysv/linux/dl-execstack.c
36876 (_dl_make_stack_executable): Likewise.
36877
c4ce0382
FW
368782017-08-13 Florian Weimer <fweimer@redhat.com>
36879
36880 * sysdeps/unix/sysv/linux/netlinkaccess.h
36881 (__netlink_assert_response): Remove internal_function.
36882 * sysdeps/unix/sysv/linux/netlink_assert_response.c
36883 (__netlink_assert_response): Likewise.
36884
c4d767f7
FW
368852017-08-13 Florian Weimer <fweimer@redhat.com>
36886
36887 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
36888 internal_function.
36889 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
36890
b2297409
FW
368912017-08-13 Florian Weimer <fweimer@redhat.com>
36892
36893 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
36894 internal_function.
36895 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
36896 * inet/netgroup.h (__internal_setnetgrent)
36897 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
36898 * inet/getnetgrent_r.c (__internal_setnetgrent)
36899 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
36900 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
36901 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
36902 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
36903 * nss/nsswitch.h (db_lookup_function): Likewise.
36904
1b0bfc69
FW
369052017-08-13 Florian Weimer <fweimer@redhat.com>
36906
36907 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
36908 Remove internal_function.
36909 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
36910 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
36911 message argument on the stack.
36912 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
36913 Likeweise.
36914
a6bd8722
MF
369152017-08-12 Mike FABIAN <mfabian@redhat.com>
36916
36917 Adapt test case data to the changes in the thousands
36918 separators.
36919
36920 [BZ #20756]
36921 * localedata/tst-langinfo.sh: Adapt test case data.
36922 * stdlib/tst-strfmon_l.c: Likewise.
36923 * stdlib/tst-strtod4.c: Likewise.
36924 * stdlib/tst-strtod5i.c: Likewise.
36925
8b2c63e4
FW
369262017-08-11 Florian Weimer <fweimer@redhat.com>
36927
36928 [BZ #21242]
36929 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
36930 Suppress pedantic warning resulting from statement expression.
36931 (__ASSERT_FUNCTION): Add missing __extension__.
36932
61c98291
SP
369332017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
36934
86c6519e
SP
36935 * benchtests/bench-memmove-large.c: Print output in JSON
36936 format.
36937 * benchtests/bench-memmove.c: Likewise.
36938
61c98291
SP
36939 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
36940 * benchtests/bench-memchr.c (do_one_test): Likewise.
36941 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
36942 * benchtests/bench-memcpy.c (do_one_test): Likewise.
36943 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
36944 * benchtests/bench-memmove.c (do_one_test): Likewise.
36945 * benchtests/bench-memset-large.c (do_one_test): Likewise.
36946 * benchtests/bench-memset.c (do_one_test): Likewise.
36947 * benchtests/bench-string.h (test_init): Remove memsets.
36948
925733a9
RJ
369492017-08-10 Rical Jasan <ricaljasan@pacific.net>
36950
36951 * manual/lang.texi
36952 (Computing the Width of an Integer Data Type): Rename section to
36953 "Width of an Integer Type". Remove inaccurate statement regarding
36954 lack of C language facilities for determining width of integer
36955 types, and reorder content to improve flow and context of
36956 discussion.
36957
4fcdfbfc
RJ
369582017-08-10 Rical Jasan <ricaljasan@pacific.net>
36959
36960 * lang.texi (va_copy): Change standard from ISO to C99.
36961 (__va_copy): Add standard and header annotation.
36962 Update description for clarity of origins and current use.
36963
4d98ace9
GG
369642017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36965
36966 [BZ #21941]
36967 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
36968 xssqrtqp requires operands to be in Vector Registers
36969 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
36970 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
36971 (__ieee754_sqrtf128): Likewise.
36972
92236903
WD
369732017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
36974
36975 * sysdeps/aarch64/memcmp.S (memcmp):
36976 Rewrite of optimized memcmp.
36977
2449ae7b
FW
369782017-08-10 Florian Weimer <fweimer@redhat.com>
36979
36980 Introduce ld.so exceptions.
36981 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
36982 (_dl_exception_create, _dl_exception_create_format)
36983 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
36984 (_dl_catch_exception): Declare.
36985 (_dl_catch_error): Update comment.
36986 * elf/dl-error-skeleton.c (struct catch): Replace objname,
36987 errstring, malloced members with exception member.
36988 (_dl_out_of_memory): Remove.
36989 (fatal_error): New function, extracted from _dl_signal_error.
36990 (_dl_signal_exception, _dl_signal_cexception): New functions.
36991 (_dl_signal_error): Call _dl_exception_create to allocate an
36992 exception object.
36993 (_dl_catch_exception): New function, based on _dl_catch_error.
36994 (_dl_catch_error): Implement using _dl_catch_exception.
36995 * elf/dl-exception.c: New file.
36996 * elf/Makefile (dl-routines): Add dl-exception.
36997 (elide-routines.os): Likewise.
36998 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
36999 _dl_exception_create_format, _dl_exception_free.
37000 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
37001 _dl_signal_exception.
37002 * elf/dl-lookup.c (make_string): Remove.
37003 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
37004 _dl_signal_cexception, _dl_exception_free.
37005 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
37006 _dl_signal_exception.
37007 * elf/dl-sym.c (do_sym): Likewise.
37008 * elf/dl-version.c (make_string): Remove.
37009 (match_symbol): Use _dl_exception_create_format,
37010 _dl_signal_cexception, _dl_exception_free.
37011 (_dl_check_map_versions): Likewise.
37012 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
37013 _dl_catch_exception.
37014 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
37015 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
37016 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
37017 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
37018 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
37019 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
37020 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
37021 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
37022 Likewise.
37023 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
37024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
37025 (ld.so): Likewise.
37026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
37027 (ld.so): Likewise.
37028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
37029 Likewise.
37030 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
37031 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
37032 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
37033 Likewise.
37034 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
37035 Likewise.
37036 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
37037
f87cc2bf
FW
370382017-08-10 Florian Weimer <fweimer@redhat.com>
37039
37040 * inet/net-internal.h (__inet6_scopeid_pton): Remove
37041 attribute_hidden, internal_function.
37042 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
37043 internal_function.
37044
eac43cbb
FW
370452017-08-10 Florian Weimer <fweimer@redhat.com>
37046
37047 * malloc/malloc.c (get_max_fast): Reimplement as an inline
37048 function which calls __builtin_unreachable.
37049
bd80111e
MF
370502017-08-10 Mike FABIAN <mfabian@redhat.com>
37051
37052 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
37053 Indian monetary formatting
37054 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
37055 test cases.
37056
60e2846e
DL
370572017-08-09 Dmitry V. Levin <ldv@altlinux.org>
37058
68dc02d1
DL
37059 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
37060 Fix typo in comment.
37061
60e2846e
DL
37062 [BZ #21928]
37063 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
37064 PTRACE_SEIZE_DEVEL): Remove.
37065 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
37066 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
37067 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37068 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37069 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37070
3d452dab
JM
370712017-08-09 Joseph Myers <joseph@codesourcery.com>
37072
24d9f53a
JM
37073 * posix/bits/types.h (__qaddr_t): Remove.
37074
3d452dab
JM
37075 [BZ #21457]
37076 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
37077 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37078 __glibc_reserved1.
37079 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
37080 (ucontext_t): Use __ctx with uc_flags.
37081 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
37082 (__ctxt): Likewise.
37083 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37084 __glibc_reserved1.
37085 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
37086 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37087 __glibc_reserved1.
37088 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
37089 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37090 __glibc_reserved1.
37091 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
37092 macro.
37093 (ucontext_t): Use __ctx with uc_flags.
37094 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
37095 (ucontext_t): Use __ctx with uc_flags.
37096 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
37097 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
37098 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
37099 (ucontext_t): Use __ctx with uc_flags.
37100 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
37101 undefine further down.
37102 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37103 __glibc_reserved1.
37104 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
37105 undefine further down.
37106 (ucontext_t): Use __ctx with uc_flags.
37107 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
37108 undefine further down.
37109 (ucontext_t): Use __ctx with uc_flags.
37110 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
37111 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
37112 Rename uc_pad to __glibc_reserved1.
37113 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
37114 undefine further down.
37115 (ucontext_t): Use __ctx with uc_flags.
37116 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
37117 further down.
37118 (ucontext_t): Use __ctx with uc_flags.
37119 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
37120 __ctx with uc_flags.
37121 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
37122 (ucontext_t): Use __ctx with uc_flags.
37123 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
37124 __ctx with uc_flags.
37125
30161498
FW
371262017-08-09 Florian Weimer <fweimer@redhat.com>
37127
37128 [BZ #21932]
37129 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
37130 before early return.
37131
5797b410
AS
371322017-08-09 Andreas Schwab <schwab@suse.de>
37133
139237a4 37134 [BZ #21041]
5797b410
AS
37135 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
37136 renamed alias.
37137
139237a4 37138 [BZ #21041]
40c06a3d
AS
37139 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
37140 tst-compat-forwarder.
37141 (modules-names): Add tst-compat-forwarder-mod.
37142 ($(objpfx)tst-compat-forwarder): Depend on
37143 $(objpfx)tst-compat-forwarder-mod.so.
37144 * nptl/tst-compat-forwarder.c: New file.
37145 * nptl/tst-compat-forwarder-mod.c: New file.
37146
36ada5f6
SP
371472017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
37148
0e02b510
SP
37149 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
37150 comments.
37151
36ada5f6
SP
37152 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
37153 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
37154 memcpy_falkor.
37155 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
37156 Bump.
37157 (__libc_ifunc_impl_list): Add __memcpy_falkor.
37158 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
37159 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
37160 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
37161 Add falkor.
37162 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
37163 New macro.
37164
9995c839
AZ
371652017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37166
37167 [BZ #759]
37168 * manual/setjmp.texi (getcontex): Document uc_stack value
37169 compatibility differences.
37170
f17a4233
JM
371712017-08-08 Joseph Myers <joseph@codesourcery.com>
37172
37173 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
37174 (old_malloc_hook): Likewise.
37175 (old_memalign_hook): Likewise.
37176 (old_realloc_hook): Likewise.
37177 (struct hdr): Likewise.
37178 (flood): Likewise.
37179 (freehook): Likewise.
37180 (mallochook): Likewise.
37181 (memalignhook): Likewise.
37182 (reallochook): Likewise.
37183 (mprobe): Likewise.
37184 * malloc/mtrace.c (mallwatch): Likewise.
37185 (tr_old_free_hook): Likewise.
37186 (tr_old_malloc_hook): Likewise.
37187 (tr_old_realloc_hook): Likewise.
37188 (tr_old_memalign_hook): Likewise.
37189 (tr_where): Likewise.
37190 (lock_and_info): Likewise.
37191 (tr_freehook): Likewise.
37192 (tr_mallochook): Likewise.
37193 (tr_reallochook): Likewise.
37194 (tr_memalignhook): Likewise.
37195 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
37196 * misc/mmap.c (__mmap): Likewise.
37197 * misc/mmap64.c (__mmap64): Likewise.
37198 * misc/mprotect.c (__mprotect): Likewise.
37199 * misc/msync.c (msync): Likewise.
37200 * misc/munmap.c (__munmap): Likewise.
37201 * posix/posix_madvise.c (posix_madvise): Likewise.
37202 * socket/send.c (__send): Likewise.
37203 * socket/sendto.c (__sendto): Likewise.
37204 * socket/setsockopt.c (__setsockopt): Likewise.
37205 * string/memcmp.c (__ptr_t): Remove macro.
37206 (MEMCMP): Use void * instead of ptr_t.
37207 * string/memrchr.c (__ptr_t): Remove macro.
37208 (__memrchr): Use void * instead of ptr_t.
37209 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
37210 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
37211 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
37212 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
37213 * sysdeps/mach/msync.c (msync): Likewise.
37214 * sysdeps/mach/munmap.c (__munmap): Likewise.
37215 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
37216 Likewise.
37217 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
37218 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
37219 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
37220 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
37221 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
37222 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
37223 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
37224 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
37225 Likewise.
37226 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
37227 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
37228 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
37229 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
37230 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
37231 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
37232 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
37233 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
37234 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
37235 Likewise.
37236 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
37237 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
37238 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
37239 (MEMCMP): Use void * instead of ptr_t.
37240 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
37241 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
37242
0df595b2
FW
372432017-08-08 Florian Weimer <fweimer@redhat.com>
37244
37245 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
37246 return statement.
37247
086df229
L
372482017-08-08 H.J. Lu <hongjiu.lu@intel.com>
37249
37250 [BZ #21913]
37251 * csu/libc-tls.c: Include <startup.h> first.
37252 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
37253 * elf/dl-tunables.c: Include <startup.h> first.
37254 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
37255 * sysdeps/generic/startup.h: New file.
37256 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
37257 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
37258 (I386_USE_SYSENTER): New. Defined to 0.
37259
fc5ad702
AS
372602017-08-08 Andreas Schwab <schwab@suse.de>
37261
37262 [BZ #21041]
37263 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
37264 * nptl/pt-system.c (system): Likewise.
37265
852d6312
AZ
372662017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37267
37268 [BZ #21780]
37269 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
37270 EOPNOTSUPP.
37271 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
37272 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
37273 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
37274 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
37275 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
37276 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
37277 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
37278
8b164787
JM
372792017-08-07 Joseph Myers <joseph@codesourcery.com>
37280
cd65836b
JM
37281 [BZ #21899]
37282 * bits/sigaction.h (struct sigaction): Define sa_handler and
37283 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
37284 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37285 [__USE_XOPEN_EXTENDED].
37286 (SA_RESTART): Likewise.
37287 (SA_NODEFER): Likewise.
37288 (SA_RESETHAND): Likewise.
37289 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
37290 (struct sigaction): Define sa_handler and sa_sigaction using union
37291 also for [__USE_XOPEN_EXTENDED].
37292 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37293 [__USE_XOPEN_EXTENDED].
37294 (SA_RESTART): Likewise.
37295 (SA_NODEFER): Likewise.
37296 (SA_RESETHAND): Likewise.
37297 * sysdeps/unix/sysv/linux/bits/sigaction.h
37298 (struct sigaction): Define sa_handler and sa_sigaction using union
37299 also for [__USE_XOPEN_EXTENDED].
37300 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37301 [__USE_XOPEN_EXTENDED].
37302 (SA_RESTART): Likewise.
37303 (SA_NODEFER): Likewise.
37304 (SA_RESETHAND): Likewise.
37305 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
37306 (struct sigaction): Define sa_handler and sa_sigaction using union
37307 also for [__USE_XOPEN_EXTENDED].
37308 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37309 [__USE_XOPEN_EXTENDED].
37310 (SA_RESTART): Likewise.
37311 (SA_NODEFER): Likewise.
37312 (SA_RESETHAND): Likewise.
37313 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
37314 (struct sigaction): Define sa_handler and sa_sigaction using union
37315 also for [__USE_XOPEN_EXTENDED].
37316 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37317 [__USE_XOPEN_EXTENDED].
37318 (SA_RESTART): Likewise.
37319 (SA_NODEFER): Likewise.
37320 (SA_RESETHAND): Likewise.
37321 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
37322 (struct sigaction): Define sa_handler and sa_sigaction using union
37323 also for [__USE_XOPEN_EXTENDED].
37324 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37325 [__USE_XOPEN_EXTENDED].
37326 (SA_RESTART): Likewise.
37327 (SA_NODEFER): Likewise.
37328 (SA_RESETHAND): Likewise.
37329 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
37330 (struct sigaction): Define sa_handler and sa_sigaction using union
37331 also for [__USE_XOPEN_EXTENDED].
37332 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37333 [__USE_XOPEN_EXTENDED].
37334 (SA_RESTART): Likewise.
37335 (SA_NODEFER): Likewise.
37336 (SA_RESETHAND): Likewise.
37337 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
37338 (struct sigaction): Define sa_handler and sa_sigaction using union
37339 also for [__USE_XOPEN_EXTENDED].
37340 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37341 [__USE_XOPEN_EXTENDED].
37342 (SA_RESTART): Likewise.
37343 (SA_NODEFER): Likewise. Define directly rather than as alias.
37344 (SA_RESETHAND): Likewise.
37345 (SA_INTERRUPT): Define only for [__USE_MISC].
37346 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
37347 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
37348 [__USE_MISC].
37349 (SA_STACK): Define only for [__USE_MISC].
37350 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
37351 (struct sigaction): Define sa_handler and sa_sigaction using union
37352 also for [__USE_XOPEN_EXTENDED].
37353 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37354 [__USE_XOPEN_EXTENDED].
37355 (SA_RESTART): Likewise.
37356 (SA_NODEFER): Likewise.
37357 (SA_RESETHAND): Likewise.
37358 (SA_NOPTRACE): Define only for [__USE_MISC].
37359
d9fee042
JM
37360 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
37361 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
37362 (struct catalog_info): Likewise.
37363 * inet/htontest.c (lo): Likewise.
37364 (foo): Likewise.
37365 * inet/inet_lnaof.c (inet_lnaof): Likewise.
37366 * inet/inet_net.c (inet_network): Likewise.
37367 * inet/inet_netof.c (inet_netof): Likewise.
37368 * inet/rcmd.c (__ivaliduser): Likewise.
37369 (iruserok): Likewise.
37370 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
37371 * locale/programs/locale-spec.c (locale_special): Likewise.
37372 * nis/nis_findserv.c (struct findserv_req): Likewise.
37373 (__nis_findfastest_with_timeout): Likewise.
37374 * nss/test-netdb.c (test_network): Likewise.
37375 * resolv/inet_neta.c (inet_neta): Likewise.
37376 * resolv/ns_date.c (ns_datetosecs): Likewise.
37377 (SECS_PER_DAY): Likewise.
37378 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
37379 Likewise.
37380 * resolv/res_comp.c (__putlong): Likewise.
37381 (__putshort): Likewise.
37382 (_getlong): Likewise.
37383 (_getshort): Likewise.
37384 * resolv/res_debug.c (p_time): Likewise.
37385 (precsize_ntoa): Likewise.
37386 (precsize_aton): Likewise.
37387 (latlon2ul): Likewise.
37388 (loc_aton): Likewise.
37389 (loc_ntoa): Likewise.
37390 * resolv/res_hconf.c (struct netaddr): Likewise.
37391 (_res_hconf_reorder_addrs): Likewise.
37392 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
37393 (clnttcp_control): Likewise.
37394 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37395 (clntudp_control): Likewise.
37396 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
37397 (clntunix_control): Likewise.
37398 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
37399 * sunrpc/rpc/auth.h (union des_block): Likewise.
37400 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
37401 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
37402 (xdrrec_create): Likewise.
37403 (xdrrec_endofrecord): Likewise.
37404 (flush_out): Likewise.
37405 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
37406 (xdrstdio_putlong): Likewise.
37407 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
37408 Likewise.
37409
8b164787
JM
37410 * misc/sys/cdefs.h (__long_double_t): Remove.
37411 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
37412 instead of __long_double_t,
37413 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
37414
7ee38e60
SP
374152017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
37416
dd3e86ad
SP
37417 * benchtests/scripts/compare_strings.py: Avoid display error when
37418 running on a text terminal.
37419
b115e819
SP
37420 * benchtests/scripts/compare_strings.py (main): Add an
37421 optional -base option.
37422 (process_results): New argument base_func.
37423
7ee38e60
SP
37424 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
37425 hardcoding memcpy.
37426 * benchtests/bench-memcpy-large.c (test_name): Likewise.
37427 * benchtests/bench-memcpy-random.c (test_name): Likewise.
37428
d5afb385
AS
374292017-08-07 Andreas Schwab <schwab@suse.de>
37430
37431 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
37432 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
37433 * intl/Makefile ($(objpfx)tst-gettext.out)
37434 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
37435 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
37436 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
37437 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
37438 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
37439 * posix/Makefile ($(objpfx)globtest.out)
37440 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
37441 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
37442 ($(objpfx)tst-printf.out): Likewise.
37443 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
37444 ($(objpfx)tst-setcontext3.out): Likewise.
37445
57a72fa3
L
374462017-08-07 H.J. Lu <hongjiu.lu@intel.com>
37447
37448 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37449 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
37450 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
37451 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
37452 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
37453 and mptan-fma.
37454 (CFLAGS-doasin-fma.c): New.
37455 (CFLAGS-dosincos-fma.c): Likewise.
37456 (CFLAGS-e_asin-fma.c): Likewise.
37457 (CFLAGS-e_atan2-fma.c): Likewise.
37458 (CFLAGS-e_exp-fma.c): Likewise.
37459 (CFLAGS-e_log-fma.c): Likewise.
37460 (CFLAGS-e_pow-fma.c): Likewise.
37461 (CFLAGS-halfulp-fma.c): Likewise.
37462 (CFLAGS-mpa-fma.c): Likewise.
37463 (CFLAGS-mpatan-fma.c): Likewise.
37464 (CFLAGS-mpatan2-fma.c): Likewise.
37465 (CFLAGS-mpexp-fma.c): Likewise.
37466 (CFLAGS-mplog-fma.c): Likewise.
37467 (CFLAGS-mpsqrt-fma.c): Likewise.
37468 (CFLAGS-mptan-fma.c): Likewise.
37469 (CFLAGS-s_atan-fma.c): Likewise.
37470 (CFLAGS-sincos32-fma.c): Likewise.
37471 (CFLAGS-slowexp-fma.c): Likewise.
37472 (CFLAGS-slowpow-fma.c): Likewise.
37473 (CFLAGS-s_sin-fma.c): Likewise.
37474 (CFLAGS-s_tan-fma.c): Likewise.
37475 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
37476 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
37477 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
37478 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
37479 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
37480 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
37481 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
37482 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
37483 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
37484 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
37485 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
37486 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
37487 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
37488 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
37489 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
37490 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
37491 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
37492 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
37493 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
37494 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
37495 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
37496 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
37497 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
37498 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
37499 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37500 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37501 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37502 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
37503 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37504 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37505 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37506
219dd320
JM
375072017-08-04 Joseph Myers <joseph@codesourcery.com>
37508
37509 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
37510 (min_of_type_f): New macro.
37511 (min_of_type_): Likewise.
37512 (min_of_type_l): Likewise.
37513 (min_of_type_f128): Likewise.
37514 (min_of_type): Define using __MATH_TG and taking an expression
37515 argument.
37516 (math_check_force_underflow): Pass expression instead of type to
37517 min_of_type.
37518 (math_check_force_underflow_nonneg): Likewise.
37519
64d4dea6
L
375202017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37521
37522 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
37523 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
37524 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
37525
973da22a
L
375262017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37527
37528 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37529 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
37530 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
37531 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
37532 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
37533 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
37534 memcpy_chk-nonshared, mempcpy_chk-nonshared,
37535 memmove_chk-nonshared and memset_chk-nonshared
37536 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
37537 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
37538 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
37539 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
37540 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
37541 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
37542 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
37543 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
37544 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
37545 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
37546 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
37547 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
37548 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
37549 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
37550 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
37551 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
37552 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
37553 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
37554 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
37555 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
37556 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
37557 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
37558 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
37559 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
37560 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
37561 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
37562 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
37563 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
37564 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
37565 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
37566 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
37567 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
37568 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
37569 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
37570 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
37571 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
37572 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
37573 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
37574 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
37575 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
37576 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
37577 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
37578 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
37579 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
37580 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
37581 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
37582 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
37583 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
37584 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
37585 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
37586 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
37587 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
37588 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
37589 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
37590 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
37591 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
37592 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
37593 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
37594 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
37595 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
37596 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
37597 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
37598 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
37599 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
37600 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
37601 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
37602 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
37603 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
37604 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
37605 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
37606 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
37607 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37608 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37609 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37610 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37611 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37612 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37613 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37614 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37615 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37616 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37617 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37618 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37619 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37620 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37621 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37622 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37623 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37624 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37625 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37626 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37627 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37628 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37629 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37630 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37631 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37632 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37633 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37634 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37635 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37636 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37637 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37638 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37639 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37640 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37641 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37642 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37643 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37644
8537e0f6
L
376452017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37646
37647 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
37648 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
37649 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
37650 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
37651 svml_d_log2_core-sse2, svml_d_log4_core-sse,
37652 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
37653 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
37654 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
37655 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
37656 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
37657 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
37658 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
37659 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
37660 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
37661 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
37662 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
37663 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
37664 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
37665 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
37666 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
37667 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
37668 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
37669 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
37670 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
37671 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
37672 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
37673 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
37674 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
37675 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
37676 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
37677 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
37678 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
37679 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
37680 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
37681 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
37682 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
37683 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
37684 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
37685 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
37686 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
37687 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
37688 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
37689 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
37690 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
37691 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
37692 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
37693 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
37694 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
37695 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
37696 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
37697 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
37698 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
37699 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
37700 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
37701 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
37702 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
37703 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
37704 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
37705 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
37706 ...
37707 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
37708 Don't include <sysdep.h> nor <init-arch.h>.
37709 (_ZGVbN2v_cos): Removed.
37710 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
37711 ...
37712 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
37713 Don't include <sysdep.h> nor <init-arch.h>.
37714 (_ZGVdN4v_cos): Removed.
37715 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
37716 ...
37717 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
37718 Don't include <sysdep.h> nor <init-arch.h>.
37719 (_ZGVeN8v_cos): Removed.
37720 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
37721 ...
37722 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
37723 Don't include <sysdep.h> nor <init-arch.h>.
37724 (_ZGVbN2v_exp): Removed.
37725 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
37726 ...
37727 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
37728 Don't include <sysdep.h> nor <init-arch.h>.
37729 (_ZGVdN4v_exp): Removed.
37730 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
37731 ...
37732 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
37733 Don't include <sysdep.h> nor <init-arch.h>.
37734 (_ZGVeN8v_exp): Removed.
37735 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
37736 ...
37737 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
37738 Don't include <sysdep.h> nor <init-arch.h>.
37739 (_ZGVbN2v_log): Removed.
37740 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
37741 ...
37742 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
37743 Don't include <sysdep.h> nor <init-arch.h>.
37744 (_ZGVdN4v_log): Removed.
37745 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
37746 ...
37747 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
37748 Don't include <sysdep.h> nor <init-arch.h>.
37749 (_ZGVeN8v_log): Removed.
37750 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
37751 ...
37752 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
37753 Don't include <sysdep.h> nor <init-arch.h>.
37754 (_ZGVbN2vv_pow): Removed.
37755 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
37756 ...
37757 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
37758 Don't include <sysdep.h> nor <init-arch.h>.
37759 (_ZGVdN4vv_pow): Removed.
37760 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
37761 ...
37762 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
37763 Don't include <sysdep.h> nor <init-arch.h>.
37764 (_ZGVeN8vv_pow): Removed.
37765 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
37766 ...
37767 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
37768 Don't include <sysdep.h> nor <init-arch.h>.
37769 (_ZGVbN2v_sin): Removed.
37770 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
37771 ...
37772 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
37773 Don't include <sysdep.h> nor <init-arch.h>.
37774 (_ZGVbN4v_sin): Removed.
37775 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
37776 ...
37777 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
37778 Don't include <sysdep.h> nor <init-arch.h>.
37779 (_ZGVbN8v_sin): Removed.
37780 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
37781 ...
37782 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
37783 Don't include <sysdep.h> nor <init-arch.h>.
37784 (_ZGVbN2vvv_sincos): Removed.
37785 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
37786 ...
37787 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
37788 Don't include <sysdep.h> nor <init-arch.h>.
37789 (_ZGVdN4vvv_sincos): Removed.
37790 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
37791 ...
37792 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
37793 Don't include <sysdep.h> nor <init-arch.h>.
37794 (_ZGVeN8vvv_sincos): Removed.
37795 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
37796 ...
37797 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
37798 Don't include <sysdep.h> nor <init-arch.h>.
37799 (_ZGVeN16v_cosf): Removed.
37800 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
37801 ...
37802 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
37803 Don't include <sysdep.h> nor <init-arch.h>.
37804 (_ZGVbN4v_cosf): Removed.
37805 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
37806 ...
37807 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
37808 Don't include <sysdep.h> nor <init-arch.h>.
37809 (_ZGVdN8v_cosf): Removed.
37810 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
37811 ...
37812 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
37813 Don't include <sysdep.h> nor <init-arch.h>.
37814 (_ZGVeN16v_expf): Removed.
37815 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
37816 ...
37817 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
37818 Don't include <sysdep.h> nor <init-arch.h>.
37819 (_ZGVbN4v_expf): Removed.
37820 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
37821 ...
37822 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
37823 Don't include <sysdep.h> nor <init-arch.h>.
37824 (_ZGVdN8v_expf): Removed.
37825 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
37826 ...
37827 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
37828 Don't include <sysdep.h> nor <init-arch.h>.
37829 (_ZGVeN16v_logf): Removed.
37830 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
37831 ...
37832 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
37833 Don't include <sysdep.h> nor <init-arch.h>.
37834 (_ZGVbN4v_logf): Removed.
37835 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
37836 ...
37837 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
37838 Don't include <sysdep.h> nor <init-arch.h>.
37839 (_ZGVdN8v_logf): Removed.
37840 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
37841 ...
37842 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
37843 Don't include <sysdep.h> nor <init-arch.h>.
37844 (_ZGVeN16vv_powf): Removed.
37845 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
37846 ...
37847 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
37848 Don't include <sysdep.h> nor <init-arch.h>.
37849 (_ZGVbN4vv_powf): Removed.
37850 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
37851 ...
37852 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
37853 Don't include <sysdep.h> nor <init-arch.h>.
37854 (_ZGVdN8vv_powf): Removed.
37855 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
37856 ...
37857 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
37858 Don't include <sysdep.h> nor <init-arch.h>.
37859 (_ZGVeN16vvv_sincosf): Removed.
37860 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
37861 ...
37862 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
37863 Don't include <sysdep.h> nor <init-arch.h>.
37864 (_ZGVbN4vvv_sincosf): Removed.
37865 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
37866 ...
37867 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
37868 Don't include <sysdep.h> nor <init-arch.h>.
37869 (_ZGVdN8vvv_sincosf): Removed.
37870 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
37871 ...
37872 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
37873 Don't include <sysdep.h> nor <init-arch.h>.
37874 (_ZGVeN16v_sinf): Removed.
37875 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
37876 ...
37877 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
37878 Don't include <sysdep.h> nor <init-arch.h>.
37879 (_ZGVbN4v_sinf): Removed.
37880 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
37881 ...
37882 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
37883 Don't include <sysdep.h> nor <init-arch.h>.
37884 (_ZGVdN8v_sinf): Removed.
37885
10a87ca4
L
378862017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37887
37888 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37889 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
37890 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
37891 s_rint-sse4_1 and s_rintf-sse4_1.
37892 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
37893 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
37894 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
37895 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
37896 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
37897 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
37898 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
37899 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
37900 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
37901 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
37902 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
37903 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37904 (__ceil): Removed.
37905 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
37906 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
37907 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37908 (__ceilf): Removed.
37909 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
37910 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
37911 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37912 (__floor): Removed.
37913 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
37914 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
37915 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37916 (__floorf): Removed.
37917 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
37918 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
37919 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37920 (__nearbyint): Removed.
37921 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
37922 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
37923 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37924 (__nearbyintf): Removed.
37925 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
37926 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
37927 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37928 (__rint): Removed.
37929 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
37930 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
37931 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37932 (__rintf): Removed.
37933
1e8e527d
L
379342017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37935
37936 * sysdeps/i386/start.S (_start): Check Check PIC instead of
37937 SHARED. Avoid dynamic relocation against main in static PIE.
37938
e13daad7
L
379392017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37940
37941 [BZ #21815]
37942 * elf/Makefile (CFLAGS-tst-prelink.c): New.
37943 (LDFLAGS-tst-prelink): Likewise.
37944
627c69c8
L
379452017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37946
37947 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
37948 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
37949 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
37950 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
37951 (INTERNAL_SYSCALL_NCS): Likewise.
37952 (LOADARGS_1): Likewise.
37953 (LOADARGS_5): Likewise.
37954 (RESTOREARGS_1): Likewise.
37955 (RESTOREARGS_5): Likewise.
37956
fc11ff8d
L
379572017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37958
37959 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
37960 (MEMPCPY_SYMBOL): Likewise.
37961 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
37962 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
37963 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
37964 in libc.a.
37965 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37966 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
37967 Likewise.
37968 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
37969 (__hidden_ver1): Don't use in libc.a.
37970 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
37971 (__mempcpy): Don't create a weak alias in libc.a.
37972 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
37973 libc.a.
37974 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
37975 (__hidden_ver1): Don't use in libc.a.
37976
19f1a11e
L
379772017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37978
37979 * config.make.in (have-insert): New.
37980 * configure.ac (libc_cv_insert): New. Set to yes if linker
37981 supports INSERT in linker script.
37982 (AC_SUBST(libc_cv_insert): New.
37983 * configure: Regenerated.
37984 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
37985 if $(have-insert) == yes.
37986
3093fd5e
L
379872017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37988
37989 * elf/Makefile (tests): Add vismain only if
37990 $(have-protected-data) == yes.
37991 (tests-pie): Likewise.
37992
d2cf37c0
L
379932017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37994
37995 [BZ #21871]
37996 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
37997 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
37998
c8a0e6ec
L
379992017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38000
38001 [BZ #21790]
38002 * sysdeps/i386/i586/memset.S
38003 (__memset_zero_constant_len_parameter): Removed.
38004 * sysdeps/i386/i686/memset.S
38005 (__memset_zero_constant_len_parameter): Likewise.
38006 * sysdeps/i386/i686/multiarch/memset_chk.S
38007 (__memset_zero_constant_len_parameter): Likewise.
38008 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
38009 Likewise.
38010
2b34e271
AJ
380112017-08-03 Aurelien Jarno <aurelien@aurel32.net>
38012
38013 * stdlib/getentropy.c (getentropy): Change return type to int.
38014
144bdab0
AJ
380152017-08-03 Aurelien Jarno <aurelien@aurel32.net>
38016
38017 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
38018
24ab7723
JM
380192017-08-03 Joseph Myers <joseph@codesourcery.com>
38020
38021 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
38022 u_intN_t.
38023 * math/s_nexttowardf.c (__nexttowardf): Likewise.
38024 * sysdeps/generic/math_private.h (ieee_double_shape_type):
38025 Likewise.
38026 (ieee_float_shape_type): Likewise.
38027 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
38028 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
38029 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
38030 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38031 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
38032 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
38033 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
38034 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
38035 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
38036 Likewise.
38037 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
38038 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
38039 (__ieee754_yn): Likewise.
38040 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
38041 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
38042 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
38043 Likewise.
38044 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
38045 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
38046 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
38047 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
38048 (__erfc): Likewise.
38049 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
38050 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
38051 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
38052 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
38053 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
38054 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
38055 Likewise.
38056 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
38057 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
38058 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
38059 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
38060 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
38061 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
38062 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
38063 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
38064 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
38065 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
38066 (__issignaling): Likewise.
38067 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
38068 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
38069 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
38070 Likewise.
38071 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38072 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
38073 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
38074 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
38075 Likewise.
38076 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
38077 Likewise.
38078 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
38079 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
38080 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
38081 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
38082 (__erfcf): Likewise.
38083 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
38084 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
38085 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
38086 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
38087 Likewise.
38088 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
38089 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
38090 Likewise.
38091 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
38092 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
38093 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
38094 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
38095 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
38096 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
38097 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
38098 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
38099 Likewise.
38100 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
38101 Likewise.
38102 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
38103 Likewise.
38104 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
38105 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
38106 Likewise.
38107 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
38108 Likewise.
38109 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
38110 (__ieee754_ynl): Likewise.
38111 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
38112 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
38113 Likewise.
38114 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
38115 Likewise.
38116 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
38117 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
38118 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38119 Likewise.
38120 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
38121 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
38122 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
38123 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
38124 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
38125 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
38126 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
38127 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
38128 Likewise.
38129 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
38130 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
38131 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
38132 Likewise.
38133 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
38134 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
38135 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
38136 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
38137 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
38138 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
38139 Likewise.
38140 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
38141 Likewise.
38142 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38143 Likewise.
38144 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38145 Likewise.
38146 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
38147 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
38148 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38149 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
38150 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
38151 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
38152 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
38153 Likewise.
38154 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
38155 Likewise.
38156 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
38157 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38158 Likewise.
38159 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
38160 (__ieee754_remainderl): Likewise.
38161 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38162 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38163 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
38164 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
38165 Likewise.
38166 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
38167 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38168 Likewise.
38169 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38170 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
38171 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
38172 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
38173 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
38174 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
38175 Likewise.
38176 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
38177 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
38178 (__ieee754_y0l): Likewise.
38179 (pzero): Likewise.
38180 (qzero): Likewise.
38181 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38182 (__ieee754_y1l): Likewise.
38183 (pone): Likewise.
38184 (qone): Likewise.
38185 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
38186 (__ieee754_ynl): Likewise.
38187 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
38188 (__ieee754_lgammal_r): Likewise.
38189 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
38190 Likewise.
38191 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
38192 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
38193 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
38194 (__erfcl): Likewise.
38195 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
38196 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
38197 Likewise.
38198 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
38199 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
38200 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
38201 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
38202 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
38203 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38204 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38205 Likewise.
38206 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
38207 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
38208 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
38209 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
38210 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38211 Likewise.
38212 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
38213 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
38214 Likewise.
38215 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
38216 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
38217 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
38218 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
38219 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
38220
964263bb
FW
382212017-08-03 Florian Weimer <fweimer@redhat.com>
38222
38223 [BZ #21885]
38224 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
38225 on memory allocation failure.
38226
e98c925f
AM
382272017-08-03 Alan Modra <amodra@gmail.com>
38228
38229 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
38230 tst-tlsopt-powerpc.c with function name change and no test harness.
38231 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
38232 Call tls_get_addr_opt_test.
38233 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
38234 (modules-names): Add mod-tlsopt-powerpc.
38235 (mod-tlsopt-powerpc.so-no-z-defs): Define.
38236 (tst-tlsopt-powerpc): Depend on .so.
38237 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
38238 define. Expand use in TLS_GD and TLS_LD.
38239
8ee1abdb
ST
382402017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
38241
38242 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
38243 function.
3da5756e 38244 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8ee1abdb 38245
42df8d59
JM
382462017-08-02 Joseph Myers <joseph@codesourcery.com>
38247
38248 [BZ #21686]
38249 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
38250 comparing size with that of double.
38251 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
38252 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
38253 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
38254 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
38255 (__TGMATH_BINARY_REAL_IMAG): Likewise.
38256 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
38257 unsigned __int128 types.
38258
b7f95f49
SE
382592017-08-02 Steve Ellcey <sellcey@cavium.com>
38260
38261 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
38262 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
38263 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
38264 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
38265 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
38266
5b736bc9
L
382672017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38268
38269 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
38270
dfc93c41
L
382712017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38272
38273 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
38274 of SHARED.
38275 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
38276 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38277 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38278 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38279 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38280 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38281 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38282
2fee621d
JM
382832017-08-02 Joseph Myers <joseph@codesourcery.com>
38284
38285 [BZ #21685]
38286 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
38287 bit-field expressions passed to sizeof or typeof.
38288 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
38289 (__TGMATH_F128): Likewise.
38290 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
38291 (__TGMATH_CF128): Likewise.
38292 (__TGMATH_UNARY_REAL_ONLY): Likewise.
38293 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
38294 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
38295 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
38296 (__TGMATH_BINARY_REAL_ONLY): Likewise.
38297 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
38298 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
38299 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
38300 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
38301 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
38302 (__TGMATH_UNARY_REAL_IMAG): Likewise.
38303 (__TGMATH_UNARY_IMAG): Likewise.
38304 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
38305 (__TGMATH_BINARY_REAL_IMAG): Likewise.
38306 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
38307 type.
38308 (define_vars_for_type): Handle bit_field type specially.
38309 (Tests.__init__): Declare structure with bit-field element.
38310
b358255f
L
383112017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38312
38313 [BZ #21791]
38314 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
38315 (MEMCPY_CHK): Define only if SHARED is defined.
38316 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
38317 Likewise.
38318 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
38319 Likewise.
edf66db1
SP
38320
38321See ChangeLog.18 for earlier changes.