1 2019-07-12 Mike Crowe <mac@mcrowe.com>
3 nptl: Rename lll_timedlock to lll_clocklock and add clockid
4 parameter to indicate the clock that the abstime parameter should
5 be measured against in preparation for adding
6 pthread_mutex_clocklock.
7 * sysdeps/nptl/lowlevellock.h (lll_clocklock): Rename from
8 lll_timedlock and add clockid parameter. (__lll_clocklock): Rename
9 from __lll_timedlock and add clockid parameter.
10 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_clocklock):
12 * nptl/lll_timedlock_wait.c (__lll_clocklock_wait): Rename from
13 __lll_timedlock_wait and add clockid parameter. Use __clock_gettime
14 rather than __gettimeofday so that clockid can be used. This means
15 that conversion from struct timeval is no longer required.
16 * sysdeps/sparc/sparc32/lowlevellock.c (lll_clocklock_wait):
18 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: Update comment to
19 refer to __lll_clocklock_wait rather than __lll_timedlock_wait.
20 * nptl/pthread_mutex_timedlock.c (lll_clocklock_elision): Rename
21 from lll_timedlock_elision, add clockid parameter and use
22 meaningful names for other parameters. (__pthread_mutex_timedlock):
23 Pass CLOCK_REALTIME where necessary to lll_clocklock and
24 lll_clocklock_elision.
25 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
26 (lll_clocklock_elision): Rename from lll_timedlock_elision and add
27 clockid parameter. (__lll_clocklock_elision): Rename from
28 __lll_timedlock_elision and add clockid parameter.
29 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: Likewise.
31 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c
32 (__lll_lock_elision): Call __lll_clocklock_elision rather than
33 __lll_timedlock_elision. (EXTRAARG): Add clockid parameter.
35 * sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
36 * sysdeps/unix/sysv/linux/x86/elision-timed.c: Likewise.
38 nptl: Add POSIX-proposed pthread_rwlock_clockrdlock &
39 pthread_rwlock_clockwrlock which behave like
40 pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock
41 respectively, except they always measure abstime against the
42 supplied clockid. The functions currently support CLOCK_REALTIME
43 and CLOCK_MONOTONIC and return EINVAL if any other clock is
45 * sysdeps/nptl/pthread.h: Add pthread_rwlock_clockrdlock and
46 pthread_wrlock_clockwrlock.
47 * nptl/Makefile: Build pthread_rwlock_clockrdlock.c and
48 pthread_rwlock_clockwrlock.c.
49 * nptl/pthread_rwlock_clockrdlock.c: Implement
50 pthread_rwlock_clockrdlock.
51 * nptl/pthread_rwlock_clockwrlock.c: Implement
52 pthread_rwlock_clockwrlock.
53 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Add
54 clockid parameter and verify that it indicates a supported clock on
55 entry so that we fail even if it doesn't end up being used. Pass
56 that clock on to futex_abstimed_wait when necessary.
57 (__pthread_rwlock_wrlock_full): Likewise.
58 * nptl/pthread_rwlock_rdlock.c: (__pthread_rwlock_rdlock): Pass
59 CLOCK_REALTIME to __pthread_rwlock_rdlock_full even though it won't
60 be used because there's no timeout.
61 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Pass
62 CLOCK_REALTIME to __pthread_rwlock_wrlock_full even though it won't
63 be used because there is no timeout.
64 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
65 Pass CLOCK_REALTIME to __pthread_rwlock_rdlock_full since abstime
67 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
68 Pass CLOCK_REALTIME to __pthread_rwlock_wrlock_full since abstime
70 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
71 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
72 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
73 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
74 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
75 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
76 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
77 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
78 (GLIBC_2.30): Likewise.
79 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
80 (GLIBC_2.30): Likewise.
81 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
82 (GLIBC_2.30): Likewise.
83 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
84 (GLIBC_2.30): Likewise.
85 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
86 (GLIBC_2.30): Likewise.
87 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
88 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
89 (GLIBC_2.30): Likewise.
90 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
91 (GLIBC_2.30): Likewise.
92 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
93 (GLIBC_2.30): Likewise.
94 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
95 (GLIBC_2.30): Likewise.
96 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
97 (GLIBC_2.30): Likewise.
98 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
99 (GLIBC_2.30): Likewise.
100 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
101 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
102 (GLIBC_2.30): Likewise.
103 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
104 (GLIBC_2.30): Likewise.
105 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
106 (GLIBC_2.30): Likewise.
107 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
108 (GLIBC_2.30): Likewise.
109 * nptl/tst-abstime.c (th): Add pthread_rwlock_clockrdlock and
110 pthread_rwlock_clockwrlock timeout tests to match the existing
111 pthread_rwlock_timedrdloock and pthread_rwlock_timedwrlock tests.
112 * nptl/tst-rwlock14.c (do_test): Likewise.
113 * nptl/tst-rwlock6.c Invent verbose_printf macro, and use for
114 ancillary output throughout. (tf): Accept thread_args structure so
115 that rwlock, a clockid and function name can be passed to the
116 thread. (do_test_clock): Rename from do_test. Accept clockid
117 parameter to specify test clock. Use the magic clockid value of
118 CLOCK_USE_TIMEDLOCK to indicate that pthread_rwlock_timedrdlock and
119 pthread_rwlock_timedwrlock should be tested, otherwise pass the
120 specified clockid to pthread_rwlock_clockrdlock and
121 pthread_rwlock_clockwrlock. Use xpthread_create and xpthread_join.
122 (do_test): Call do_test_clock to test each clockid in turn.
123 * nptl/tst-rwlock7.c: Likewise.
124 * nptl/tst-rwlock9.c (writer_thread, reader_thread): Accept
125 thread_args structure so that the (now int) thread number, the
126 clockid and the function name can be passed to the thread.
127 (do_test_clock): Renamed from do_test. Pass the necessary
128 thread_args when creating the reader and writer threads. Use
129 xpthread_create and xpthread_join.
130 (do_test): Call do_test_clock to test each clockid in turn.
131 * manual/threads.texi: Add documentation for
132 pthread_rwlock_clockrdlock and pthread_rwlock_clockwrclock.
134 nptl: pthread_rwlock: Move timeout validation into _full functions
135 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full):
136 Check validity of abstime parameter.
137 (__pthread_rwlock_rwlock_full): Likewise.
138 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
139 Remove check for validity of abstime parameter.
140 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
143 nptl: Add POSIX-proposed pthread_cond_clockwait which behaves just
144 like pthread_cond_timedwait except it always measures abstime
145 against the supplied clockid.
146 * nptl/Makefile: Add tst-cond26 and tst-cond27
147 * nptl/Versions (GLIBC_2.30): Add pthread_cond_clockwait
148 * sysdeps/nptl/pthread.h: Likewise
149 * nptl/forward.c: Add __pthread_cond_clockwait
150 * nptl/forward.c: Likewise
151 * nptl/pthreadP.h: Likewise
152 * sysdeps/nptl/pthread-functions.h: Likewise
153 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Add
154 clockid parameter and comment describing why we don't need to check
155 its value. Use that value when calling
156 futex_abstimed_wait_cancelable rather than reading the clock from
157 the flags. (__pthread_cond_wait): Pass unused clockid parameter.
158 (__pthread_cond_timedwait): Read clock from flags and pass it to
159 __pthread_cond_wait_common. (__pthread_cond_clockwait): Add new
160 function with weak alias from pthread_cond_clockwait.
161 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
162 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
163 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
164 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
165 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
166 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
167 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
168 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
169 (GLIBC_2.30): Likewise.
170 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
171 (GLIBC_2.30): Likewise.
172 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
173 (GLIBC_2.30): Likewise.
174 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
175 (GLIBC_2.30): Likewise.
176 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
177 (GLIBC_2.30): Likewise.
178 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
180 (GLIBC_2.30): Likewise.
181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
182 (GLIBC_2.30): Likewise.
183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
184 (GLIBC_2.30): Likewise.
185 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
186 (GLIBC_2.30): Likewise.
187 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
188 (GLIBC_2.30): Likewise.
189 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
190 (GLIBC_2.30): Likewise.
191 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
192 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
193 (GLIBC_2.30): Likewise.
194 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
195 (GLIBC_2.30): Likewise.
196 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
197 (GLIBC_2.30): Likewise.
198 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
199 (GLIBC_2.30): Likewise.
200 * nptl/tst-cond11.c (run_test): Support testing
201 pthread_cond_clockwait too by using a special magic
202 CLOCK_USE_ATTR_CLOCK value to determine whether to call
203 pthread_cond_timedwait or pthread_cond_clockwait. (do_test): Pass
204 CLOCK_USE_ATTR_CLOCK for existing tests, and add new tests using
205 all combinations of CLOCK_MONOTONIC and CLOCK_REALTIME.
206 * ntpl/tst-cond26.c: New test for passing unsupported and invalid
207 clocks to pthread_cond_clockwait.
208 * nptl/tst-cond27.c: Add test similar to tst-cond5.c, but using
209 struct timespec and pthread_cond_clockwait.
210 * manual/threads.texi: Document pthread_cond_clockwait.
212 nptl: Add POSIX-proposed sem_clockwait which behaves just like
213 sem_timedwait, but measures abstime against the specified clock.
214 * nptl/sem_waitcommon.c (do_futex_wait, __new_sem_wait_slow): Add
215 clockid parameters to indicate the clock which abstime should be
217 * nptl/sem_timedwait.c (sem_timedwait), nptl/sem_wait.c
218 (__new_sem_wait): Pass CLOCK_REALTIME as clockid to
220 * nptl/sem_clockwait.c: New file to implement sem_clockwait based
222 * nptl/Makefile: Add sem_clockwait.c source file. Add CFLAGS for
223 sem_clockwait.c to match those used for sem_timedwait.c.
224 * sysdeps/pthread/semaphore.h: Add sem_clockwait.
225 * nptl/Versions (GLIBC_2.30): Likewise.
226 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
227 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
228 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
229 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
230 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
231 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
232 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
233 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
234 (GLIBC_2.30): Likewise.
235 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
236 (GLIBC_2.30): Likewise.
237 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
238 (GLIBC_2.30): Likewise.
239 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
240 (GLIBC_2.30): Likewise.
241 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
242 (GLIBC_2.30): Likewise.
243 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
245 (GLIBC_2.30): Likewise.
246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
247 (GLIBC_2.30): Likewise.
248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
249 (GLIBC_2.30): Likewise.
250 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
251 (GLIBC_2.30): Likewise.
252 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
253 (GLIBC_2.30): Likewise.
254 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
255 (GLIBC_2.30): Likewise.
256 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
257 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
258 (GLIBC_2.30): Likewise.
259 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
260 (GLIBC_2.30): Likewise.
261 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
262 (GLIBC_2.30): Likewise.
263 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
264 (GLIBC_2.30): Likewise.
265 * nptl/tst-sem17.c: Add new test for passing invalid clock to
267 * nptl/tst-sem13.c, nptl/tst-sem5.c: Modify existing sem_timedwait
268 tests to also test sem_clockwait.
269 * manual/threads.texi: Document sem_clockwait.
271 nptl: Add clockid parameter to futex timed wait calls
272 * sysdeps/nptl/lowlevellock-futex.h,
273 sysdeps/unix/sysv/linux/lowlevellock-futex.h: Replace
274 lll_futex_timed_wait_bitset with lll_futex_clock_wait_bitset that
275 takes a clockid rather than a special clockbit.
276 * sysdeps/nptl/lowlevellock-futex.h: Add
277 lll_futex_supported_clockid so that client functions can check
278 whether their clockid parameter is valid even if they don't
279 ultimately end up calling lll_futex_clock_wait_bitset.
280 * sysdeps/nptl/futex-internal.h,
281 sysdeps/unix/sysv/linux/futex-internal.h
282 (futex_abstimed_wait, futex_abstimed_wait_cancelable): Add
283 clockid_t parameter to indicate which clock the absolute time
284 passed should be measured against. Pass that clockid onto
285 lll_futex_clock_wait_bitset. Add invalid clock as reason for
287 * sysdeps/nptl/futex-internal.h,
288 sysdeps/unix/sysv/linux/futex-internal.h: Introduce
289 futex_abstimed_supported_clockid so that client functions can check
290 whether their clockid parameter is valid even if they don't
291 ultimately end up calling futex_abstimed_wait.
292 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Remove
293 code to calculate relative timeout for
294 __PTHREAD_COND_CLOCK_MONOTONIC_MASK and just pass CLOCK_MONOTONIC
295 or CLOCK_REALTIME as required to futex_abstimed_wait_cancelable.
296 * nptl/pthread_rwlock_common (__pthread_rwlock_rdlock_full)
297 (__pthread_wrlock_full), nptl/sem_waitcommon (do_futex_wait): Pass
298 additional CLOCK_REALTIME to futex_abstimed_wait_cancelable.
299 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
300 Switch to lll_futex_clock_wait_bitset and pass CLOCK_REALTIME
302 2019-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
305 * posix/tst-mmap-offset.c: Mention BZ #24699.
306 (do_test_bz21270): Rename to do_test_large_offset and use
307 mmap64_maximum_offset to check for maximum expected offset value.
308 * sysdeps/generic/mmap_info.h: New file.
309 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
310 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
313 2019-07-10 DJ Delorie <dj@redhat.com>
314 Sergei Trofimovich <slyfox@inbox.ru>
318 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
320 * nss/tst-nss-db-endgrent.c: New.
321 * nss/tst-nss-db-endgrent.root: New.
322 * nss/tst-nss-db-endpwent.c: New.
323 * nss/tst-nss-db-endpwent.root: New.
324 * nss/Makefile: Add new tests.
325 * support/links-dso-program-c.c: Add selinux dependency.
326 * support/links-dso-program.cc: Add selinux dependency.
327 * support/Makefile: Build those with -lselinux if enabled.
329 2019-07-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
331 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove the
332 DT_AARCH64_VARIANT_PCS check.
333 (elf_machine_lazy_rel): Use l_info[DT_AARCH64 (VARIANT_PCS)].
334 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Remove
337 2019-07-10 Andreas Schwab <schwab@suse.de>
340 * malloc/malloc.h (__malloc_check_init): Don't declare.
341 * include/malloc.h (__malloc_check_init): Likewise.
342 * malloc/malloc-internal.h (__malloc_check_init): Declare it here.
343 * manual/memory.texi (__malloc_check_init): Don't mention it.
345 2019-07-10 Mao Han <han_mao@c-sky.com>
347 * locale/Makefile: Fix tst-locale-locpath arguments passing.
349 2019-07-09 Paul A. Clarke <pc@us.ibm.com>
351 * sysdeps/powerpc/fpu/fenv_libc.h (_FPU_GET_RC): Protect use of
352 __builtin_cpu_supports with __BUILTIN_CPU_SUPPORTS__.
354 2019-07-08 DJ Delorie <dj@redhat.com>
357 * io/ftw.c (process_entry): Fill in statbuf for dangling links.
358 * io/tst-ftw-lnk.c: New test.
359 * io/Makefile: Run it.
361 2019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
363 * sysdeps/powerpc/power7/fpu/s_logb.c: Move to ...
364 * sysdeps/powerpc/fpu/s_logb.c: ... here. Use inline FP constants.
365 * sysdeps/powerpc/power7/fpu/s_logbf.c: Move to ...
366 * sysdeps/powerpc/fpu/s_logbf.c: ... here. Use inline FP constants.
367 * sysdeps/powerpc/power7/fpu/s_logbl.c: Move to ...
368 * sysdeps/powerpc/fpu/s_logbl.c: ... here. Use inline FP constants.
369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c:
370 Adjust implementation path.
371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c:
372 Adjust implementation path.
373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-power7.c:
374 Adjust implementation path.
375 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
376 (libm-sysdep_routines): Add s_log* objects.
377 (CFLAGS-s_logbf-power7.c, CFLAGS-s_logbl-power7.c,
378 CFLAGS-s_logb-power7.c): New fule.
379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: Move
381 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-power7.c:
383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: Move
385 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-ppc64.c:
387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Move to ...
388 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb.c: ... here.
389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: Move
391 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-power7.c:
393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: Move
395 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-ppc64.c:
397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Move to ...
398 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf.c: ... here.
399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: Move
401 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-power7.c:
403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: Move
405 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-ppc64.c:
407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: Move to ...
408 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl.c: ... here.
409 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Remove file.
410 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Remove file.
411 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
412 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
414 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ...
415 * sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for
416 powerpc32 integer 0 converting to -0.
418 * benchtests/Makefile (bench-math): Add logb.
419 * benchtests/logb-inputs: New file.
420 * benchtests/logbf-inputs: New file.
422 * sysdeps/powerpc/power5+/fpu/s_modf.c: Move to ...
423 * sysdeps/powerpc/fpu/s_modf.c: ... here. Add ISA 2.07 optimization.
424 * sysdeps/powerpc/power5+/fpu/s_modff.c: Move to ...
425 * sysdeps/powerpc/fpu/s_modff.c: ... here. Add ISA 2.07 optimization.
426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
430 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile (sysdep_calls,
431 sysdep_routines): Add s_modf* objects.
432 (CFLAGS-s_modf-power5+.c, CFLAGS-s_modff-power5+.c,
433 CFLAGS-s_modf-ppc64.c, CFLAGS-s_modff-ppc64.c): New rule.
434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Move
436 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c:
438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Movo
440 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c: Move
442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Move to ...
443 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf.c: ... here.
444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: Move
446 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-power5+.c:
448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: Move to ...
449 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-ppc64.c:
451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Move to ...
452 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff.c: ... here.
454 * sysdeps/powerpc/fpu/e_hypot.c (two60, two500, two600, two1022,
455 twoM500, twoM600, two60factor, pdnum): Remove.
456 (TEST_INFO_NAN, GET_TW0_HIGH_WORD): Remove macro.
457 (__ieee754_hypot): Replace static variables with inline definition,
458 remove ununsed branches.
459 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
460 (libm-sysdep_routines): Remove e_hypot-* objects.
461 (CFLAGS-e_hypot-power7.c, CFLAGS-e_hypotf-power7.c): Remove rule.
462 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: Remove
464 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: Likewise.
465 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: Likewise.
466 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: Likewise.
467 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: Likewise.
468 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: Likewise.
470 * benchtests/Makefile (bench-math): Add hypot.
471 * benchtests/hypot-inputs: New file.
473 2019-07-08 Vincent Chen <vincentc@andestech.com>
475 * sysdeps/unix/sysv/linux/dl-vdso.h
476 (VDSO_NAME_LINUX_4, VDSO_HASH_LINUX_4): New defines.
478 2019-07-04 Andreas Schwab <schwab@suse.de>
481 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Define.
483 2019-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
485 * sysdeps/aarch64/Makefile: Install sys/ifunc.h and add tests.
486 * sysdeps/aarch64/dl-irel.h (elf_ifunc_invoke): Update to new ABI.
487 * sysdeps/aarch64/sys/ifunc.h: New file.
488 * sysdeps/aarch64/tst-ifunc-arg-1.c: New file.
489 * sysdeps/aarch64/tst-ifunc-arg-2.c: New file.
491 2019-07-01 Florian Weimer <fweimer@redhat.com>
494 * nptl/Versions (libpthread): Remove __fork from GLIBC_2.0.
495 Replace __vfork with __libpthread_version_placeholder for
497 (libc): Remove __libc_vfork from GLIBC_PRIVATE.
498 * nptl/Makefile (libpthread-routines): Remove pt-vfork. Add
500 * nptl/pt-vfork.c: Remove file.
501 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: Likewise.
502 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Likewise.
503 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
504 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
505 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: Likewise.
506 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: Likewise.
507 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Likewise.
508 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: Likewise.
509 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: Likewise.
510 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
511 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: Likewise.
512 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Likewise.
513 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: Likewise.
514 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
515 Remove vfork, __vfork.
516 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
518 (GLIBC_2.1.2): Replace __vfork with
519 __libpthread_version_placeholder.
520 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
521 Remove vfork, __vfork.
522 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
524 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
526 (GLIBC_2.1.2): Replace __vfork with
527 __libpthread_version_placeholder.
528 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
530 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
531 (GLIBC_2.4): Remove vfork, __vfork.
532 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
533 (GLIBC_2.0): Remove vfork.
534 (GLIBC_2.1.2): Replace __vfork with
535 __libpthread_version_placeholder.
536 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
537 (GLIBC_2.18): Remove vfork, __vfork.
538 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
539 (GLIBC_2.0): Remove vfork.
540 (GLIBC_2.2): Remove __vfork.
541 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist:
542 (GLIBC_2.2): Remove vfork, __vfork.
543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
544 (GLIBC_2.0): Remove vfork.
545 (GLIBC_2.1.2): Replace __vfork with
546 __libpthread_version_placeholder.
547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
548 (GLIBC_2.3): Remove vfork, __vfork.
549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
550 (GLIBC_2.17): Likewise.
551 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
552 (GLIBC_2.0): Remove vfork.
553 (GLIBC_2.1.2): Replace __vfork with
554 __libpthread_version_placeholder.
555 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
556 (GLIBC_2.2): Remove vfork, __vfork.
557 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
559 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
560 (GLIBC_2.0): Remove vfork.
561 (GLIBC_2.1.2): Replace __vfork with
562 __libpthread_version_placeholder.
563 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
564 (GLIBC_2.2): Remove vfork, __vfork.
565 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
566 (GLIBC_2.2.5): Likewise.
567 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
568 (GLIBC_2.16): Likewise.
569 * sysdeps/unix/sysv/linux/hppa/localplt.data (libpthread.so):
570 Remove __errno_location.
572 2019-07-02 Florian Weimer <fweimer@redhat.com>
575 * malloc/Depend: Add nptl and htl, due to potential indirect
576 libpthread dependency of memusagestat.
578 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
580 * resolv/res_send.c (__res_context_send): Disable maybe-uninitialized
583 2019-07-01 Florian Weimer <fweimer@redhat.com>
585 * scripts/build-many-glibcs.py (Context.add_all_configs): Add v4t
586 variant for arm-linux-gnueabi.
588 2019-07-01 H.J. Lu <hongjiu.lu@intel.com>
591 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
593 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
594 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
595 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
596 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
597 and tst-cet-legacy-mod-6c.
598 (CFLAGS-tst-cet-legacy-5a.c): New.
599 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
600 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
601 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
602 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
603 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
604 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
605 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
606 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
607 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
608 ($(objpfx)tst-cet-legacy-5a): Likewise.
609 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
610 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
611 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
612 ($(objpfx)tst-cet-legacy-5b): Likewise.
613 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
614 (tst-cet-legacy-5b-ENV): Likewise.
615 ($(objpfx)tst-cet-legacy-6a): Likewise.
616 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
617 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
618 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
619 ($(objpfx)tst-cet-legacy-6b): Likewise.
620 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
621 (tst-cet-legacy-6b-ENV): Likewise.
622 * sysdeps/x86/tst-cet-legacy-5.c: New file.
623 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
624 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
625 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
626 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
627 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
628 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
629 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
630 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
631 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
632 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
633 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
634 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
635 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
637 2019-06-30 Paul A. Clarke <pc@us.ibm.com>
639 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
640 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
641 (__fegetround_ISA300) New.
642 (__fegetround_ISA2) New.
643 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
644 (_FPU_MFFS): Move implementation...
646 (_FPU_MFFSL): Move implementation....
647 (_FPU_GET_RC_ISA300): Here. New.
648 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
649 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
650 (fegetenv_status): New.
651 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
652 instead of fegetenv_register().
653 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
655 2019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
657 * benchtests/bench-math-inlines.c: Increase iterations.
658 * benchtests/bench-memcmp.c: Likewise.
659 * benchtests/bench-rawmemchr.c: Likewise.
660 * benchtests/bench-strcmp.c: Likewise.
661 * benchtests/bench-strcpy_chk.c: Likewise.
662 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
663 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
664 (INNER_LOOP_ITERS_SMALL): Likewise.
665 * benchtests/bench-strncat.c: Increase iterations.
666 * benchtests/bench-strncmp.c: Increase iterations.
667 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
668 * benchtests/bench-strrchr.c: Increase iterations.
669 * benchtests/bench-strstr.c: Keep iterations unchanged.
670 * benchtests/bench-strtod.c: Increase iterations.
672 2019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
674 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
675 with INNER_LOOP_ITERS_LARGE.
676 * benchtests/bench-memchr.c: Likewise.
677 * benchtests/bench-rawmemchr.c: Likewise.
678 * benchtests/bench-strcat.c: Likewise.
679 * benchtests/bench-strchr.c: Likewise.
680 * benchtests/bench-string.h: Likewise.
681 * benchtests/bench-strlen.c: Likewise.
682 * benchtests/bench-strncpy.c: Likewise.
683 * benchtests/bench-strnlen.c: Likewise.
685 2019-06-28 Florian Weimer <fweimer@redhat.com>
687 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
688 Use mmap instead of malloc. malloc with M_PERTURB writes to the
689 entire allocated memory range.
691 2019-06-28 Tobias Klauser <tklauser@distanz.ch>
693 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
694 (prepare_version_base): New helper inline function.
695 (prepare_version): New macro replacing PREPARE_VERSION.
696 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
698 2019-06-28 Florian Weimer <fweimer@redhat.com>
701 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
702 mismatch in a versioned symbol reference.
703 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
704 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
705 tst-sonamemove-dlopen.
706 (module-names): Add tst-sonamemove-linkmod1,
707 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
708 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
709 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
710 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
711 (tst-sonamemove-runmod1.so): Link against
712 tst-sonamemove-runmod2.so.
713 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
714 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
715 tst-sonamemove-runmod2.so.
716 (tst-sonamemove-dlopen): Link with -ldl.
717 (tst-sonamemove-dlopen.out): Likewise.
718 * elf/tst-sonamemove-link.c: New file.
719 * elf/tst-sonamemove-dlopen.c: Likewise.
720 * elf/tst-sonamemove-linkmod1.c: Likewise.
721 * elf/tst-sonamemove-linkmod1.map: Likewise.
722 * elf/tst-sonamemove-runmod1.c: Likewise.
723 * elf/tst-sonamemove-runmod1.map: Likewise.
724 * elf/tst-sonamemove-runmod2.c: Likewise.
725 * elf/tst-sonamemove-runmod2.map: Likewise.
727 2019-06-28 Florian Weimer <fweimer@redhat.com>
729 * support/xdlfcn.h (xdlvsym): Declare function.
730 * support/xdlfcn.c (xdlvsym): Define funciton.
732 2019-06-28 Florian Weimer <fweimer@redhat.com>
735 io: Remove the copy_file_range emulation.
736 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
737 not define and call copy_file_range_compat.
738 * io/Makefile (tests-static, tests-internal): Do not add
739 tst-copy_file_range-compat.
740 * io/copy_file_range-compat.c: Remove file.
741 * io/copy_file_range.c (copy_file_range): Define as stub.
742 * io/tst-copy_file_range-compat.c: Remove file.
743 * io/tst-copy_file_range.c (xdevfile): Remove variable.
744 (typical_sizes): Update comment. Remove 16K sizes.
745 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
747 (find_maximum_offset, pipe_as_source, pipe_as_destination)
748 (delayed_write_failure_beginning, delayed_write_failure_end)
749 (cross_device_failure, enospc_failure_1, enospc_failure)
750 (oappend_failure): Remove functions.
751 (tests): Adjust test case list.
752 (do_test): Remove file system search code. Check for ENOSYS from
753 copy_file_range. Do not free xdevfile.
754 * manual/llio.texi (Copying File Data): Document ENOSYS error from
755 copy_file_range. Do not document the EXDEV error, which future
756 kernels may not report. Update the wording to reflect that
757 further errors are possible.
758 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
759 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
761 * sysdeps/unix/sysv/linux/arm/kernel-features.h
762 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
764 * sysdeps/unix/sysv/linux/kernel-features.h
765 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
767 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
768 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
770 * sysdeps/unix/sysv/linux/sh/kernel-features.h
771 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
774 2019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
776 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
777 used as a mask for the mode argument of __vfprintf_internal.
778 * stdio-common/printf-parse.h (printf_arg): New union member:
780 * stdio-common/vfprintf-internal.c
781 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
782 (PARSE_FLOAT_VA_ARG): Likewise.
783 (SETUP_FLOAT128_INFO): Likewise.
784 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
786 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
787 floating-point value to the new union member, pa_float128.
788 (printf_positional): Zero-initialize args_value[cnt] with memset.
790 2019-06-27 Florian Weimer <fweimer@redhat.com>
793 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
794 buffer size if necessary.
795 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
797 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
799 (large_buffer_checks): Likewise.
800 (do_test): Call large_buffer_checks.
802 2019-06-26 H.J. Lu <hongjiu.lu@intel.com>
804 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
805 * sysdeps/x86/dl-lookupcfg.h: Here.
806 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
808 2019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
810 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
811 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
812 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
814 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
815 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
816 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
817 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
818 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
820 * sysdeps/powerpc/powerpc32/fpu/Makefile
821 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
822 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
823 and fctidz optimization.
824 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
825 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
827 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
828 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
829 CFLAGS-s_lround-power5+.c): New rule.
830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
850 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
851 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
852 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
853 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
854 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
855 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
856 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
858 2019-06-26 Vincent Chen <vincentc@andestech.com>
860 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
861 specific system calls, fp_udfiex_crtl and udftrap.
863 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
865 * nptl/tst-eintr1.c (tf1): Add return statement.
866 (do_test): Remove unused th variable.
868 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
870 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
871 Return error if get_character fails.
873 2019-06-25 Stefan Liebler <stli@linux.ibm.com>
875 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
877 2019-06-24 Rafal Luzynski <digitalfreak@lingonborough.com>
880 * localedata/locales/szl_PL (day): Use the correct Unicode
881 sequences instead of non-ASCII characters.
883 2019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
886 * localedata/locales/szl_PL (abday): Spelling corrections.
890 (alt_mon): This, then apply spelling corrections.
891 (mon): New entry, month names in the genitive case.
893 2019-06-21 Rafal Luzynski <digitalfreak@lingonborough.com>
896 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
897 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
898 (thousands_sep): Likewise.
899 (grouping): Set to 3;3.
901 2019-06-21 Tobias Klauser <tklauser@distanz.ch>
903 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
904 PREPARE_VERSION_KNOWN.
905 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
906 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
908 (VDSO_HASH_LINUX_2_6_39): Likewise.
909 (VDSO_NAME_LINUX_4_9): Likewise.
910 (VDSO_HASH_LINUX_4_9): Likewise.
911 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
912 * sysdeps/unix/sysv/linux/powerpc/init-first.c
913 (_libc_vdso_platform_setup): Likewise.
914 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
915 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
917 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
920 2019-06-20 Mike Crowe <mac@mcrowe.com>
922 * nptl/eintr.c: Use libsupport.
923 * nptl/tst-eintr1.c: Likewise.
924 * nptl/tst-eintr2.c: Likewise.
925 * nptl/tst-eintr3.c: Likewise.
926 * nptl/tst-eintr4.c: Likewise.
927 * nptl/tst-eintr5.c: Likewise.
928 * nptl/tst-mutex-errorcheck.c: Likewise.
929 * nptl/tst-mutex5.c: Likewise.
931 * support/test-driver.h: Add verbose_printf macro.
933 * support/xtime.h: Add xclock_now() helper function.
935 2019-06-20 Dmitry V. Levin <ldv@altlinux.org>
936 Florian Weimer <fweimer@redhat.com>
939 * libio/genops.c (_IO_unbuffer_all)
940 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
941 buffers and access _IO_FILE_complete members of legacy libio streams.
942 * libio/tst-bz24228.c: New file.
943 * libio/tst-bz24228.map: Likewise.
944 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
945 [build-shared] (generated): Add tst-bz24228.mtrace and
947 [run-built-tests && build-shared] (tests-special): Add
948 $(objpfx)tst-bz24228-mem.out.
949 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
950 ($(objpfx)tst-bz24228-mem.out): New rule.
952 2019-06-19 Paul A. Clarke <pc@us.ibm.com>
954 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
955 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
956 (__FPU_MFFSL): Likewise.
957 (_FPU_SETCW): Likewise.
959 2019-06-19 Stan Shebs <stanshebs@google.com>
960 Raoni Fassina Firmino <raoni@linux.ibm.com>
963 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
964 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
965 static-linking version.
966 * sysdeps/unix/sysv/linux/powerpc/Makefile
967 (tests-static): Add test-gettimebasefreq-static.
969 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
972 2019-06-19 Rafal Luzynski <digitalfreak@lingonborough.com>
975 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
976 between the currency symbol and the minus sign).
977 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
979 2019-06-19 Stefan Liebler <stli@linux.ibm.com>
982 * string/test-strcasestr.c (check_result): Add NULL check.
983 * nss/tst-field.c (check_rewrite): Likewise.
984 * benchtests/bench-strstr.c (do_one_test): Likewise.
985 * string/test-strstr.c (check_result): Likewise.
986 * argp/argp-test.c (popt): Increase size of buf to 12.
987 * benchtests/bench-malloc-simple.c (bench):
988 Do not initialize tests array out of bounds.
990 2019-06-19 Florian Weimer <fweimer@redhat.com>
993 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
996 2019-06-18 Florian Weimer <fweimer@redhat.com>
999 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
1000 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
1001 fail when called from dlopen.
1002 * elf/Makefile [have-fpie && build-shared] (tests): Add
1004 (tst-dlopen-pie): Link with -ldl.
1005 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
1006 * elf/tst-dlopen-pie.c (do_test): New file.
1008 2019-06-17 Rafal Luzynski <digitalfreak@lingonborough.com>
1011 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
1012 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
1013 between the currency symbol and the minus sign).
1014 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
1015 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
1017 2019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1019 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
1020 sysdep-rtld-routines): Remove rules.
1021 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
1022 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
1023 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
1024 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
1025 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
1026 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
1027 vDSO path for SHARED.
1028 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
1029 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
1030 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1031 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
1032 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
1033 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
1035 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1036 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
1037 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
1038 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
1039 CFLAGS-s_llround-power5+.c): New rule.
1040 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
1042 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
1044 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
1046 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
1048 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
1050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
1051 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
1052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
1053 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
1054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
1055 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
1056 * sysdeps/powerpc/powerpc64/fpu/Makefile
1057 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
1058 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1059 (libm-sysdep_routines): Remove s_llround-* objects.
1060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
1062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
1064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
1066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
1068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
1070 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1071 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1072 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
1073 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
1074 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
1075 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
1076 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
1077 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
1078 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1079 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
1080 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1081 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
1082 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1083 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
1085 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
1086 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
1087 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
1088 * sysdeps/powerpc/powerpc32/fpu/Makefile
1089 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
1090 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
1092 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
1093 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
1094 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
1095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1096 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
1097 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
1098 CFLAGS-s_lrint-ppc32.c): New rule.
1099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1109 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1110 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1111 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1112 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
1115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
1117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
1119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
1121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
1124 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1125 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
1127 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
1128 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
1130 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
1132 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
1134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
1135 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
1136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
1137 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
1138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
1139 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
1140 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
1141 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
1142 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1143 (libm-sysdep_routines): Remove s_llrint-* objects.
1144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
1146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
1148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
1149 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
1150 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
1151 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
1152 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
1153 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
1154 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1155 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
1156 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1157 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
1159 2019-06-14 Florian Weimer <fweimer@redhat.com>
1161 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
1162 argument to __glibc_has_include to inhibit macro expansion.
1164 2019-06-14 Florian Weimer <fweimer@redhat.com>
1166 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
1167 function-like macro, so that __has_include can inhibit expansion
1170 2019-06-13 Joseph Myers <joseph@codesourcery.com>
1172 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
1175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1176 Allow memset in libc.so.
1178 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1180 * sysdeps/aarch64/dl-dtprocnum.h: New file.
1181 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
1182 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
1183 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
1184 symbols at load time.
1185 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
1187 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1189 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
1190 (DT_AARCH64_VARIANT_PCS): Define.
1192 2019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1195 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
1197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
1201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
1202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
1205 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1206 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
1207 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
1208 Remove s_finite* objects.
1209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
1210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
1211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
1212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
1214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
1215 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1216 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
1217 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1218 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
1220 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
1221 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
1223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1224 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
1226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
1228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
1230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
1231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
1234 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1235 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
1236 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
1237 Remove s_isinf* and s_isinf* objects.
1238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
1239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
1240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
1241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
1243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
1244 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1245 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
1246 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1247 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
1249 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
1250 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
1252 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
1253 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
1254 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1256 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
1258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
1260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
1262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
1264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
1266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
1267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
1269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
1272 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1273 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
1274 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1275 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
1276 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1277 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
1278 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
1279 Remove s_isnan-* and s_isnanf-* objects.
1280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
1281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
1282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
1284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
1285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
1286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
1287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
1289 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1290 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1291 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1292 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1293 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1294 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
1295 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1296 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
1298 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
1299 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
1301 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
1302 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
1303 CFLAGS-bench-isfinite.c): New rule.
1304 * benchtests/isnan-input: New file.
1305 * benchtests/isinf-input: New file.
1306 * benchtests/isfinite-input: New file.
1308 * sysdeps/powerpc/fpu/s_copysign.c: New file.
1309 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
1310 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
1311 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
1312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1313 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
1315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
1321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
1323 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
1324 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
1325 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
1326 Remove s_copysign-power6 s_copysign-ppc64.
1327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
1329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
1331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
1332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
1333 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1334 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
1335 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1336 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
1338 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
1339 round_to_integer_float, round_mode): Add RINT handling.
1340 (reset_fenv_mode): New symbol.
1341 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
1342 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
1343 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
1344 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1345 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1346 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1348 2019-06-12 Florian Weimer <fweimer@redhat.com>
1351 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
1352 * libio/freopen.c (freopen): Use it.
1354 2019-06-12 Florian Weimer <fweimer@redhat.com>
1356 Linux: Deprecate sysctl.
1357 * include/sysctl.h (__sysctl): Remove declaration.
1358 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
1360 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
1361 (sysctl): Add deprecation attribute.
1362 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
1363 directly, to avoid the deprecation warning. Do not include
1365 (__sysctl): Remove hidden alias.
1367 2019-06-12 Florian Weimer <fweimer@redhat.com>
1369 Linux: Use kernel headers for statx definitions if available.
1370 * include/bits/statx-generic.h: New file.
1371 * include/bits/types/struct_statx.h: Likewise.
1372 * include/bits/types/struct_statx_timestamp.h: Likewise.
1373 * io/Makefile (headers): Add bits/statx-generic.h.
1374 * io/bits/statx-generic.h: New file. Partly copied from
1376 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
1377 define original_statx.
1378 * io/bits/types/struct_statx.h: Likewise.
1379 * io/bits/types/struct_statx_timestamp.h: Likewise.
1380 (statx_generic): Use original_statx.
1381 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
1382 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
1384 2019-06-12 Florian Weimer <fweimer@redhat.com>
1386 * misc/sys/cdefs.h (__glibc_has_include): Define.
1388 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
1390 * string/memmem.c (__memmem): Rewrite to improve performance.
1392 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
1394 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
1396 (two_way_long_needle): Block inlining.
1397 * string/strstr.c (strstr2): Add new function.
1398 (strstr3): Likewise.
1399 (STRSTR): Completely rewrite strstr to improve performance.
1401 2019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
1403 * benchtests/bench-strstr.c (test_hard_needle): New function.
1405 2019-06-10 Joseph Myers <joseph@codesourcery.com>
1407 * malloc/tst-calloc.c: Include <libc-diag.h>.
1408 (null_test): Ignore -Wunused-result around calls to calloc.
1409 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
1410 (do_test): Ignore -Wunused-result around call to malloc.
1412 2019-06-07 Florian Weimer <fweimer@redhat.com>
1414 Linux: Add getdents64 system call.
1415 * include/dirnent.h (getdents): Add comment and change buffer
1416 argument type to void *.
1417 (getdents64): Likewise. Add hidden prototype.
1418 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
1420 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
1422 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
1423 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
1424 argument type to void *.
1425 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
1426 Add hidden definition and getdents64 alias.
1427 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
1429 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
1430 * manual/filesys.texi (Accessing Directories): Add Low-level
1431 Directory Access node reference.
1432 (Opening a Directory): Cross-reference it.
1433 (Low-level Directory Access): New node.
1434 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
1436 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1438 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1439 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
1441 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
1443 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
1445 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
1447 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1449 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1451 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1453 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1454 (GLIBC_2.30): Likewise.
1455 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1456 (GLIBC_2.30): Likewise.
1457 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1458 (GLIBC_2.30): Likewise.
1459 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1460 (GLIBC_2.30): Likewise.
1461 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1464 (GLIBC_2.30): Likewise.
1465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1466 (GLIBC_2.30): Likewise.
1467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1468 (GLIBC_2.30): Likewise.
1469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1470 (GLIBC_2.30): Likewise.
1471 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1473 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1475 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1477 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1478 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1480 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1482 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1484 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1487 2019-06-06 Paul A. Clarke <pc@us.ibm.com>
1489 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
1493 (_FPU_GETCW): Use __FPU_MFFS().
1494 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
1496 2019-06-06 Florian Weimer <fweimer@redhat.com>
1498 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
1499 internal GCC preprocessor identifier __has_include__.
1501 2019-06-05 Paul A. Clarke <pc@us.ibm.com>
1503 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
1504 with call to equivalent function.
1506 2019-06-04 Florian Weimer <fweimer@redhat.com>
1508 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
1509 (do_release_shlib): Adjust for __twalk_r.
1510 (__gconv_release_shlib): Call __twalk_r.
1512 2019-06-04 Andreas Schwab <schwab@suse.de>
1515 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
1516 no irreversible characters occurred.
1517 * iconv/gconv_simple.c (internal_ucs4_loop)
1518 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
1519 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
1520 (ucs4_internal_loop_single, internal_ucs4le_loop)
1521 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
1522 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
1523 (ucs4le_internal_loop_single): Add const to outend.
1524 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
1525 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
1526 * iconv/Makefile (tests): Add tst-iconv7.
1527 * iconv/tst-iconv7.c: New file.
1529 2019-06-03 Joseph Myers <joseph@codesourcery.com>
1531 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
1533 2019-06-01 Florian Weimer <fweimer@redhat.com>
1535 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
1536 * sysdeps/unix/sysv/linux/arm/Makefile
1537 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
1538 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
1539 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
1540 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
1541 compatibility symbols.
1543 2019-05-31 Florian Weimer <fweimer@redhat.com>
1545 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
1546 system calls for the arm architecture: breakpoint, get_tls,
1547 set_tls, usr26, usr32.
1549 2019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
1551 * sysdeps/powerpc/Makefile
1552 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
1553 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
1554 Declare '.machine power7' to get support for ldbrx.
1555 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
1556 directive based on the directory of the file.
1557 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1558 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
1559 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
1560 '.machine' directive.
1561 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
1562 (VADDUQM_V7_V8): Remove.
1563 (__STRCASECMP): Replace macros with actual instructions.
1564 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
1565 '.machine' directive.
1566 (VCLZD_V8_v7): Remove.
1567 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
1569 2019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1571 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
1573 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
1575 2019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1577 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
1579 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
1580 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
1581 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
1582 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
1583 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
1584 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1586 2019-05-28 mansayk <6688000@gmail.com>
1589 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
1591 2019-05-28 mansayk <6688000@gmail.com>
1594 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
1595 (abmon): Likewise, but remove the trailing dots.
1597 2019-05-28 Joseph Myers <joseph@codesourcery.com>
1599 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
1601 2019-05-27 Florian Weimer <fweimer@redhat.com>
1603 * nptl/nptl-init.c: Add comment.
1605 2019-05-24 Florian Weimer <fweimer@redhat.com>
1607 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
1608 struct in_addr/struct in6_addr alignment.
1610 2019-05-23 Joseph Myers <joseph@codesourcery.com>
1612 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1613 (F_SEAL_FUTURE_WRITE): New macro.
1615 2019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
1617 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
1618 * elf/tst-ldconfig-bad-aux-cache.c: New file.
1619 * elf/tst-ldconfig_aux-cache.root: New directory.
1620 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
1621 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
1622 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
1624 2019-05-22 Zack Weinberg <zackw@panix.com>
1626 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
1628 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
1629 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
1631 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
1632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
1633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
1636 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
1637 Issue an #error if used with a compiler in SPE-float mode.
1638 * sysdeps/powerpc/powerpc32/__longjmp_common.S
1639 * sysdeps/powerpc/powerpc32/setjmp_common.S
1640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
1642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
1643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
1644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1646 Remove code to preserve SPE register state.
1648 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1649 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
1650 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
1651 Remove __SPE__ ifndefs.
1653 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
1655 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
1656 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
1657 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
1658 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
1659 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
1660 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
1661 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
1662 (INNER_LOOP_ITERS_MEDIUM): New define.
1663 (INNER_LOOP_ITERS_SMALL): New define.
1664 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
1665 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
1666 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
1667 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
1668 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
1670 2019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
1672 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
1674 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
1675 (SEMTIMEDOP_IPC_ARGS): Likewise.
1677 2019-05-21 Florian Weimer <fweimer@redhat.com>
1680 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
1681 before updating __counter field and release it afterwards. Add
1683 * iconv/gconv.h (struct __gconv_step): Mention synchronization
1684 requirement for __counter member.
1686 2019-05-21 Florian Weimer <fweimer@redhat.com>
1689 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
1690 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
1691 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
1692 instead of __gconv_release_step.
1693 * libio/Makefile (tests): Add tst-wfile-gconv.
1694 (tests-container): Add tst-wfile-ascii.
1695 (tst-wfile-gconv-ENV): Enable mtrace.
1696 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
1697 (tests-special): Add tst-wfile-gconv-mem.out.
1698 (tst-wfile-gconv.out): Depend on locales.
1699 (tst-wfile-gconv-mem.out): Add mtrace rule.
1700 * libio/tst-wfile-ascii.c: New file.
1701 * libio/tst-wfile-gconv.c: Likewise.
1703 2019-05-20 Florian Weimer <fweimer@redhat.com>
1706 libio: Remove codecvt vtable.
1707 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
1709 * libio/iofgetpos.c (_IO_new_fgetpos): Call
1710 __libio_codecvt_encoding.
1711 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
1712 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
1713 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
1714 * libio/iofwide.c (__libio_codecvt): Remove variable.
1715 (_IO_fwide): Do not copy __libio_codecvt.
1716 (__libio_codecvt_out): Rename from do_out and export.
1717 (do_unshift): Remove function.
1718 (__libio_codecvt_in): Rename from do_in and export.
1719 (__libio_codecvt_encoding): Rename from do_encoding and export.
1720 (do_always_noconv): Remove function.
1721 (__libio_codecvt_length): Rename from do_length and export.
1722 (do_max_length): Remove function.
1723 * libio/libio.h (enum __codecvt_result): Remove definition; moved
1725 (struct _IO_codecvt): Remove fields __codecvt_destr,
1726 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
1727 __codecvt_do_encoding, __codecvt_do_always_noconv,
1728 __codecvt_do_length, __codecvt_do_max_length.
1729 * libio/libioP.h (enum __codecvt_result): Define; moved from
1731 (__libio_codecvt_out, __libio_codecvt_in)
1732 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
1734 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
1735 (_IO_wfile_underflow): Call __libio_codecvt_in.
1736 (_IO_wfile_underflow): Likewise.
1737 (_IO_wfile_underflow_mmap): Likewise.
1738 (_IO_wfile_sync): Call __libio_codecvt_encoding,
1739 __libio_codecvt_length.
1740 (adjust_wide_data): Call __libio_codecvt_encoding,
1742 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
1743 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
1744 __libio_codecvt_length.
1746 2019-05-20 Florian Weimer <fweimer@redhat.com>
1748 * support/support.h (support_sbindir_prefix): Declare.
1749 (support_install_rootsbindir): Update comment.
1750 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
1751 * support/support_paths.c (support_sbindir_prefix): Define.
1753 2019-05-20 Mike Crowe <mac@mcrowe.com>
1755 * support/timespec.c: Add backslash to correct newline in failure
1758 * support/timespec.h: Correct confusing comment.
1760 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1762 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
1764 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
1765 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
1766 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
1767 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
1770 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
1773 2019-05-20 Joseph Myers <joseph@codesourcery.com>
1775 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
1776 (NT_ARM_PACG_KEYS): Likewise.
1778 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
1780 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
1781 (tcache_put): Remove redundant assert.
1782 (tcache_get): Remove redundant asserts.
1783 (__libc_malloc): Check tcache count is not zero.
1784 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
1786 2019-05-17 Florian Weimer <fweimer@redhat.com>
1788 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
1790 2019-05-16 Joseph Myers <joseph@codesourcery.com>
1792 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1793 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
1795 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
1797 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1798 (__ASSUME_STATX): Likewise.
1800 2019-05-16 Florian Weimer <fweimer@redhat.com>
1802 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
1804 (LINE_PARSER): Do not map IPv4 addresses.
1805 (internal_nis_gethostent_r): Remove flags argument. Adjust call
1807 (_nss_nis_gethostent_r): Always pass AF_INET to
1808 internal_nis_gethostent_r.
1809 (internal_gethostbyname2_r): Remove flags argument. Adjust call
1811 (_nss_nis_gethostbyname2_r): Adjust call to
1812 internal_nis_gethostent_r.
1813 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
1814 call to internal_nis_gethostent_r.
1815 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
1817 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
1818 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
1819 Remove flags argument. Do not map IPv4 addresses.
1820 (internal_nisplus_gethostent_r): Adjust call to
1821 _nss_nisplus_parse_hostent.
1822 (internal_gethostbyname2_r): Remove flags argument. Adjust call
1823 to _nss_nisplus_parse_hostent.
1824 (_nss_nisplus_gethostbyname2_r): Adjust call to
1825 internal_gethostbyname2_r.
1826 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
1827 Adjust call to internal_gethostbyname2_r.
1828 (_nss_nisplus_gethostbyaddr_r): Adjust call to
1829 _nss_nisplus_parse_hostent.
1830 (_nss_nisplus_gethostbyname4_r): Adjust call to
1831 internal_gethostbyname2_r.
1833 2019-05-16 Florian Weimer <fweimer@redhat.com>
1835 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
1837 (LINE_PARSER): Remove address mapping.
1838 (EXTRA_ARGS_VALUE): Remove flags argument.
1839 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
1840 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
1841 gethostbyname3_multi.
1842 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
1843 _nss_files_gethostbyname3_r.
1844 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
1846 2019-05-16 Florian Weimer <fweimer@redhat.com>
1848 * support/support_test_compare_blob.c (report_blob): Report
1849 incorrect NULL blobs.
1851 2019-05-15 Mark Wielaard <mark@klomp.org>
1854 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
1855 __libc_once_get (once) and static_buf == NULL.
1856 (__dlerror): Check we have a valid key, set result to static_buf
1859 2019-05-15 Andreas Schwab <schwab@suse.de>
1862 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
1863 __codecvt_do_length.
1864 * libio/Makefile (tests): Add tst-wfile-sync.
1865 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
1866 * libio/tst-wfile-sync.c: New file.
1867 * libio/tst-wfile-sync.input: New file.
1869 2019-05-15 Florian Weimer <fweimer@redhat.com>
1871 nss: Turn __nss_database_lookup into a compatibility symbol.
1872 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
1873 __nss_database_lookup.
1874 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
1875 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
1876 __nss_database_lookup.
1877 (__nss_next): Move to …
1878 * nss/compat-lookup.c (nss_next): … here. Change it to fail
1880 (__nss_database_lookup): New function.
1881 * nss/Versions (GLIBC_2.0): Update comment.
1882 (GLIBC_PRIVATE): Export __nss_database_lookup2.
1883 * grp/initgroups.c (internal_getgrouplist): Call
1884 __nss_database_lookup2 instead of __nss_database_lookup.
1885 * nscd/aicache.c (addhstaiX): Likewise.
1886 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1887 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
1888 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
1889 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
1890 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
1892 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
1893 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
1894 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1896 2019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
1898 * support/support.h (support_install_rootsbindir): New variable.
1899 * support/support_paths.c: Likewise.
1900 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
1902 2019-05-15 Florian Weimer <fweimer@redhat.com>
1904 * iconv/gconv.h (__gconv_transliterate): Move declaration …
1905 * iconv/gconv_int.h (__gconv_transliterate): … here.
1906 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
1907 * iconv/skeleton.c: Likewise.
1909 2019-05-14 Florian Weimer <fweimer@redhat.com>
1911 Linux: Add the tgkill function.
1912 * bits/signal_ext.h: New file.
1913 * manual/signal.texi (Signaling Another Process): Document tgkill.
1914 * signal/Makefile (headers): Add bits/signal_ext.h.
1915 * signal/signal.h: Include <bits/signal_ext.h>.
1916 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
1917 (tst-tgkill): Link with libpthread.
1918 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
1919 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
1920 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
1921 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
1923 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1924 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1925 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
1926 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1927 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1928 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1929 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1930 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1931 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1932 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1933 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
1935 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1936 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1937 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
1944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
1946 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
1947 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1948 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1949 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1950 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1951 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1952 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1953 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1955 2019-05-14 Carlos O'Donell <carlos@redhat.com>
1957 * manual/search.texi (Tree Search Function): Adjust twalk_r
1960 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1963 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
1966 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
1967 * support/support.h (support_bindir_prefix): New variable.
1968 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
1970 * config.make.in (bindir): New variable.
1972 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
1973 (lll_trylock): Call __lll_trylock.
1974 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
1975 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
1976 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
1977 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1978 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
1979 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
1980 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1981 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1982 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
1983 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
1984 lowlevellock-futex.h.
1986 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
1987 initialization for LLL_LOCK_INITIALIZER different than 0.
1988 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
1989 Assume LLL_LOCK_INITIALIZER being 0.
1990 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
1991 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
1993 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
1994 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
1996 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
1997 Optimize futex call and add systemtap probe.
1999 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
2000 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
2001 __libc_disable_asynccancel, __librt_enable_asynccancel,
2002 __libc_disable_asynccancel, __librt_enable_asynccancel,
2003 __librt_disable_asynccancel): Move to ...
2004 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
2005 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
2006 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
2007 * sysdeps/generic/single-thread.h: New file.
2008 * sysdeps/unix/sysdep.h: Include single-thread.h.
2009 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
2010 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2012 2019-05-08 Mike FABIAN <mfabian@redhat.com>
2015 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
2016 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
2018 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
2019 * localedata/unicode-gen/PropList.txt: Likewise.
2020 * localedata/unicode-gen/UnicodeData.txt: Likewise.
2021 * localedata/charmaps/UTF-8: Regenerate.
2022 * localedata/locales/i18n_ctype: Likewise.
2023 * localedata/locales/tr_TR: Likewise.
2024 * localedata/locales/translit_circle: Likewise.
2025 * localedata/locales/translit_cjk_compat: Likewise.
2026 * localedata/locales/translit_combining: Likewise.
2027 * localedata/locales/translit_compat: Likewise.
2028 * localedata/locales/translit_font: Likewise.
2029 * localedata/locales/translit_fraction: Likewise.
2031 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
2034 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
2035 (do_set_tcache_count): Only update if count is small enough.
2036 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
2038 2019-05-10 Florian Weimer <fweimer@redhat.com>
2040 * nptl/sem_close.c (struct walk_closure): Define.
2041 (walker): Adjust for __twalk_r.
2042 (sem_close): Call __twalk_r.
2044 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2046 * support/timespec.c (test_timespec_before_impl,
2047 test_timespec_equal_or_after_impl): print timespec member as intmax_t
2050 2019-05-09 Mike Crowe <mac@mcrowe.com>
2052 * nptl/tst-abstime.c: Use libsupport.
2054 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
2055 small bug where only tv.tv_usec was checked which could cause an
2056 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
2059 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
2062 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
2063 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
2065 * nptl/tst-cond11.c: Use libsupport.
2067 * support/timespec.h: New file. Provide timespec helper functions
2068 along with macros in the style of those in check.h.
2069 * support/timespec.c: New file. Implement check functions declared
2070 in support/timespec.h.
2071 * support/timespec-add.c: New file from gnulib containing
2072 timespec_add implementation that handles overflow.
2073 * support/timespec-sub.c: New file from gnulib containing
2074 timespec_sub implementation that handles overflow.
2075 * support/README: Mention timespec.h.
2077 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2080 * nptl/Makefile: Move tst-eintr1 to xtests.
2082 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2084 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
2086 (round_mode): Add definition for TRUNC.
2087 * sysdeps/powerpc/fpu/s_trunc.c: New file.
2088 * sysdeps/powerpc/fpu/s_truncf.c: New file.
2089 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
2090 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2091 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
2093 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
2095 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
2097 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2099 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
2101 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
2103 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
2105 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
2107 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
2108 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
2109 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
2110 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
2111 s_truncf-power5+, and s_truncf-ppc64.
2112 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
2113 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
2115 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
2116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
2117 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
2118 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
2120 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
2122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
2123 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
2124 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2125 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
2126 s_truncf-power5+, and s_truncf-ppc64.
2127 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
2129 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
2130 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
2132 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
2133 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2134 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2135 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
2136 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
2138 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
2140 (round_mode): Add definition for ROUND.
2141 (round_to_integer_float): Likewise.
2142 * sysdeps/powerpc/fpu/s_round.c: New file.
2143 * sysdeps/powerpc/fpu/s_roundf.c: New file.
2144 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
2145 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2146 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
2148 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
2150 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
2152 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2154 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
2156 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
2158 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
2160 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
2162 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
2163 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
2164 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
2165 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
2166 s_roundf-power5+, and s_roundf-ppc64.
2167 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
2168 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
2170 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
2171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
2172 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
2173 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
2175 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
2177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
2178 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
2179 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2180 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
2181 s_roundf-power5+, and s_roundf-ppc64.
2182 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
2184 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
2185 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
2187 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
2188 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2189 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2190 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
2191 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
2193 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
2195 (round_mode): Add definition for FLOOR.
2196 * sysdeps/powerpc/fpu/s_floor.c: New file.
2197 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
2198 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
2199 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
2204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
2210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
2212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
2214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
2216 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
2217 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
2218 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2219 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
2220 s_floorf-power5+, and s_floorf-ppc64.
2221 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
2222 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
2224 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
2225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
2226 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
2227 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
2229 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
2231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
2232 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
2233 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2234 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
2235 s_floorf-power5+, and s_floorf-ppc64.
2236 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
2238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
2240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
2242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
2244 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2245 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2246 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
2247 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
2249 2019-05-08 Mike Crowe <mac@mcrowe.com>
2251 * support/xclock_gettime.c (xclock_gettime): New file. Provide
2252 clock_gettime wrapper for use in tests that fails the test rather
2253 than returning failure.
2255 * support/xtime.h: New file to declare xclock_gettime.
2257 * support/Makefile: Add xclock_gettime.c.
2259 * support/README: Mention xtime.h.
2261 2019-05-08 Florian Weimer <fweimer@redhat.com>
2263 malloc/tst-mallocfork2: Use process-shared barriers.
2264 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
2265 (signal_count, sigusr1_sender_pid): Remove.
2266 (iterations): Define constant.
2267 (shared): New variable.
2268 (sigusr1_received): Update comment.
2269 (sigusr1_handler): Do not send SIGSTOP to the sender process.
2270 (signal_sender): Optional use barriers to avoid sending signals
2271 during irrelevant times.
2272 (do_it): Initialize variable shared. Use xfork for error
2273 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
2274 the iteration count, independent of signal delivery. Check for
2275 deadlocks in fork. Introduce barriers for reducing signal
2276 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
2277 replaced by the barriers. Count signals during fork/free/malloc
2279 * malloc/Makefile (tst-mallocfork): Link with libpthread.
2281 2019-05-07 Joseph Myers <joseph@codesourcery.com>
2283 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2285 (clock_adjtime64) New syscall.
2286 (clock_getres_time64) Likewise.
2287 (clock_gettime64) Likewise.
2288 (clock_nanosleep_time64) Likewise.
2289 (clock_settime64) Likewise.
2290 (futex_time64) Likewise.
2291 (io_pgetevents_time64) Likewise.
2292 (io_uring_enter) Likewise.
2293 (io_uring_register) Likewise.
2294 (io_uring_setup) Likewise.
2295 (mq_timedreceive_time64) Likewise.
2296 (mq_timedsend_time64) Likewise.
2297 (pidfd_send_signal) Likewise.
2298 (ppoll_time64) Likewise.
2299 (pselect6_time64) Likewise.
2300 (recvmmsg_time64) Likewise.
2301 (rt_sigtimedwait_time64) Likewise.
2302 (sched_rr_get_interval_time64) Likewise.
2303 (semtimedop_time64) Likewise.
2304 (timer_gettime64) Likewise.
2305 (timer_settime64) Likewise.
2306 (timerfd_gettime64) Likewise.
2307 (timerfd_settime64) Likewise.
2308 (utimensat_time64) Likewise.
2310 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
2311 version to 9 branch.
2313 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
2315 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
2316 __memmove_thunderx2 to the list of implementations
2317 * sysdeps/aarch64/multiarch/memmove.c: Likewise
2318 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
2319 (__memmove_thunderx2): Rewritten using SIMD ld/st
2320 (__memcpy_thunderx2): Fixed handling overlapping cases.
2321 Used ldp/stp instead of ldr/str if possible. Made loops
2324 2019-05-03 Florian Weimer <fweimer@redhat.com>
2326 * misc/tst-tsearch.c (walk_tree): Add more error checking.
2328 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2331 * elf/tst-pldd.c (in_str_list): New function.
2332 (do_test): Add default names for ld and libc as one option.
2334 2019-05-02 Florian Weimer <fweimer@redhat.com>
2336 misc: Add twalk_r function.
2337 * include/search.h (__twalk_r): Declare.
2338 * manual/examples/twalk.c: New file.
2339 * manual/search.texi (Tree Search Function): Document twalk_r.
2340 * misc/Versions (2.30): Export twalk_r.
2341 (GLIBC_PRIVATE): Export __twalk_r.
2342 * misc/search.h [__USE_GNU] (twalk_r): Declare.
2343 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
2344 (twalk_r): Add weak alias.
2345 * misc/tst-tsearch.c (struct walk_trace_element): Define.
2346 (walk_trace): New variable.
2347 (struct twalk_with_twalk_r_closure): Define.
2348 (twalk_with_twalk_r_action): New function.
2349 (twalk_with_twalk_r): Likewise.
2350 (walk_action): Call walk_trace_add.
2351 (walk_tree_with): Rename from walk_tree. Add walk argument.
2352 (walk_tree): New function.
2353 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
2354 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
2356 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
2358 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
2359 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
2360 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
2361 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
2362 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
2363 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
2365 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
2367 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
2369 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2370 (GLIBC_2.30): Likewise.
2371 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2372 (GLIBC_2.30): Likewise.
2373 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2374 (GLIBC_2.30): Likewise.
2375 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2376 (GLIBC_2.30): Likewise.
2377 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
2379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2380 (GLIBC_2.30): Likewise.
2381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2382 (GLIBC_2.30): Likewise.
2383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
2384 (GLIBC_2.30): Likewise.
2385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
2386 (GLIBC_2.30): Likewise.
2387 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
2389 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
2391 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
2393 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
2394 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
2396 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
2398 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
2400 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
2403 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
2405 Make mktime etc. compatible with __time64_t
2406 Keep these functions compatible with Gnulib while adding
2407 __time64_t support. The basic idea is to move private API
2408 declarations from include/time.h to time/mktime-internal.h, since
2409 the former file cannot easily be shared with Gnulib whereas the
2411 Also, do some other minor cleanup while in the neighborhood.
2412 * include/time.h: Include stdbool.h, time/mktime-internal.h.
2413 (__mktime_internal): Move this prototype to time/mktime-internal.h,
2414 since Gnulib needs it.
2415 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
2416 Move these macros to time/mktime-internal.h, since Gnulib needs them.
2417 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
2418 (in_time_t_range): New static function.
2419 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
2420 so that glibc users are not tempted to use __time64_t.
2421 * time/mktime-internal.h: Rewrite so that it does both glibc
2422 and Gnulib work. Include time.h if not _LIBC.
2423 (mktime_offset_t) [!_LIBC]: Define for gnulib.
2424 (__time64_t): New type or macro, moved here from
2426 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
2427 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
2428 from include/time.h.
2429 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
2430 New macros, taken from GNulib.
2431 (__mktime_internal): New prototype, moved here from include/time.h.
2432 * time/mktime.c (mktime_min, mktime_max, convert_time)
2433 (ranged_convert, __mktime_internal, __mktime64):
2434 * time/timegm.c (__timegm64):
2435 Use __time64_t, not time_t.
2436 * time/mktime.c: Stop worrying about whether time_t is floating-point.
2437 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
2439 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
2440 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
2441 for libc_hidden_def.
2443 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
2445 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
2447 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
2450 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
2451 from `-Wmaybe-uninitialized'.
2452 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
2454 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2456 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
2458 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
2459 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
2460 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
2461 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
2462 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
2463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2464 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
2465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
2469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
2473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
2475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
2477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
2479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
2481 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
2482 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
2483 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
2484 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
2486 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
2488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
2489 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
2490 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
2492 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
2494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
2495 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
2497 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2498 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
2499 s_ceilf-power5+, and s_ceilf-ppc64.
2500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
2502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
2503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
2504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
2505 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
2506 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
2507 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
2508 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
2510 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
2511 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
2512 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
2514 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
2516 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
2517 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
2518 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
2519 (sem_getvalue): Likewise.
2521 2019-04-26 Florian Weimer <fweimer@redhat.com>
2523 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
2524 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
2526 2019-04-26 Florian Weimer <fweimer@redhat.com>
2528 Makeconfig: Move -Wl,-rpath-link options before library references.
2529 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
2530 (link-libc): Remove $(link-libc-rpath-link).
2532 2019-04-25 Florian Weimer <fweimer@redhat.com>
2534 * Makeconfig (+link-pie-before-libc): Remove $(CC).
2535 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
2536 (+link-static-before-libc): Remove $(CC).
2537 (+link-static, +link-static-tests): Add $(CC).
2538 (+link-before-libc): Remove $(CC).
2539 (+link, +link-pie, +link-pie-printers): Add $(CC).
2541 2019-04-26 Florian Weimer <fweimer@redhat.com>
2543 * Makeconfig (+link-pie-before-libc): Remove $(CC).
2544 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
2545 (+link-static-before-libc): Remove $(CC).
2546 (+link-static, +link-static-tests): Add $(CC).
2547 (+link-before-libc): Remove $(CC).
2548 (+link, +link-pie, +link-pie-printers): Add $(CC).
2550 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
2553 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
2555 2019-04-25 Florian Weimer <fweimer@redhat.com>
2557 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
2558 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
2559 (bench-link-targets): New variable.
2560 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
2562 2019-04-25 Florian Weimer <fweimer@redhat.com>
2564 Also enable BIND_NOW for programs if --enable-bind-now.
2565 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
2566 (+link-pie): Use $(link-extra-flags).
2567 (+link-static): Likewise.
2568 [! $(build-pie-default)] (+link): Likewise.
2569 * manual/install.texi (Configuring and compiling): Update
2570 --enable-bind-now description.
2571 * INSTALL: Regenerated.
2573 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
2575 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
2576 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
2578 2019-04-24 Mike Frysinger <vapier@gentoo.org>
2581 * malloc/Makefile (others): Add memusagestat.
2582 ($(objpfx)memusagestat): Delete rule.
2583 (LDLIBS-memusagestat): New variable.
2585 2019-04-24 Florian Weimer <fweimer@redhat.com>
2587 * locale/Makefile (tests-special): Guard setting by
2588 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
2589 to run while cross-compiling.
2591 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2594 * elf/Makefile (tests-container): Add tst-pldd.
2595 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
2596 (E(find_maps)): Avoid use alloca, use default read file operations
2597 instead of explicit LFS names, and fix infinite loop.
2598 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
2599 (get_process_info): Use _Static_assert instead of assert, use default
2600 directory operations instead of explicit LFS names, and free some
2602 * elf/tst-pldd.c: New file.
2604 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
2606 * malloc/arena.c (do_set_mallopt_check): Removed.
2608 2019-04-23 Florian Weimer <fweimer@redhat.com>
2610 locale: Add LOCPATH diagnostics to the locale program.
2611 * locale/programs/locale.c (setlocale_failed): New variable.
2612 (try_setlocale): New function.
2613 (quote_string): Likewise.
2614 (setlocale_diagnostics): Likewise.
2615 (main): Call try_setlocale instead of setlocale. Call
2616 setlocale_diagnostics.
2617 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
2618 (tst-locale-locpath.out): New target.
2619 * locale/tst-locale-locpath.sh: New file.
2621 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2623 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
2626 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2629 * malloc/hooks.c (malloc_check, realloc_check): Use
2630 __builtin_add_overflow on overflow check and adapt to
2631 checked_request2size change.
2632 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
2633 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
2634 allocation size to PTRDIFF_MAX.
2635 (REQUEST_OUT_OF_RANGE): Remove macro.
2636 (checked_request2size): Change to inline function and limit maximum
2637 requested size to PTRDIFF_MAX.
2638 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
2639 maximum allocation size to PTRDIFF_MAX.
2640 (_mid_memalign): Use _int_memalign call for overflow check.
2641 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
2642 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
2643 limit maximum requested size to PTRDIFF_MAX.
2644 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
2645 valloc, pvalloc): Add __attribute_alloc_size__.
2646 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
2647 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
2648 larger than PTRDIFF_MAX.
2649 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
2650 around tests of malloc with negative sizes.
2651 * malloc/tst-posix_memalign.c (do_test): Likewise.
2652 * malloc/tst-pvalloc.c (do_test): Likewise.
2653 * malloc/tst-valloc.c (do_test): Likewise.
2654 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
2655 with resulting size allocation larger than PTRDIFF_MAX with
2656 reallocarray_nowarn.
2657 (reallocarray_nowarn): New function.
2658 * NEWS: Mention the malloc function semantic change.
2660 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2662 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
2663 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
2665 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
2666 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
2667 * sysdeps/powerpc/fpu/s_fma.c: New file.
2668 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
2670 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
2671 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
2673 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
2674 the magic flag store.
2675 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
2677 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
2679 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
2680 Remove rt_sigreturn call.
2682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2683 Remove rt_sigreturn call.
2684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
2687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2689 * support/Makefile (libsupport-routines): Add support_subprocess,
2690 xposix_spawn, xposix_spawn_file_actions_addclose, and
2691 xposix_spawn_file_actions_adddup2.
2692 (tst-support_capture_subprocess-ARGS): New rule.
2693 * support/capture_subprocess.h (support_capture_subprogram): New
2695 * support/support_capture_subprocess.c (support_capture_subprocess):
2696 Refactor to use support_subprocess and support_capture_poll.
2697 (support_capture_subprogram): New function.
2698 * support/tst-support_capture_subprocess.c (write_mode_to_str,
2699 str_to_write_mode, test_common, parse_int, handle_restart,
2700 do_subprocess, do_subprogram, do_multiple_tests): New functions.
2701 (do_test): Add support_capture_subprogram tests.
2702 * support/subprocess.h: New file.
2703 * support/support_subprocess.c: Likewise.
2704 * support/xposix_spawn.c: Likewise.
2705 * support/xposix_spawn_file_actions_addclose.c: Likewise.
2706 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
2707 * support/xspawn.h: Likewise.
2709 2019-04-17 Mike Gerow <gerow@google.com>
2711 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
2714 2019-04-11 Florian Weimer <fweimer@redhat.com>
2716 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
2717 domain with empty string.
2718 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2720 2019-04-11 Florian Weimer <fweimer@redhat.com>
2722 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
2724 (alloc_buffer_next): Change return type to non-const. Update
2727 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
2729 * manual/time.texi (Formatting Calendar Time): Add missing percent
2730 sign to conversion specifier.
2732 2019-04-09 Carlos O'Donell <carlos@redhat.com>
2733 Kwok Cheung Yeung <kcy@codesourcery.com>
2736 * malloc/mtrace.c: Define prototypes for all hooks.
2737 (set_default_hooks): New function.
2738 (set_trace_hooks): Likewise.
2739 (save_default_hooks): Likewise.
2740 (tr_freehook): Use new s*_hooks functions.
2741 (tr_mallochook): Likewise.
2742 (tr_reallochook): Likewise.
2743 (tr_memalignhook): Likewise.
2745 (muntrace): Likewise.
2747 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2749 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
2750 (generic_stpcpy): New function.
2751 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
2752 (generic_stpncpy): New function.
2753 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
2754 (generic_strcat): New function.
2755 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
2756 (generic_strcpy): New function.
2757 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
2758 (STUPID_STRNCAT): Remove function.
2759 (generic_strncat): New function.
2760 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
2761 (STUPID_STRNCPY): Remove function.
2762 (generic_strncpy): New function.
2763 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
2764 (generic_strnlen): New function.
2765 (memchr_strnlen): New function.
2766 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
2767 (memchr_strlen): Likewise.
2769 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2771 * benchtests/bench-strstr.c (input): Add realistic input text.
2772 (stupid_strstr): Remove function.
2773 (basic_strstr): Add function.
2774 (twoway_strstr): Add function.
2775 (do_one_test): Add result checking.
2776 (do_test): Use new input text. Remove accidental early matches.
2777 (test_main): Improve range of tests, reduce unaligned cases.
2779 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2781 * benchtests/bench-memmem.c (simple_memmem): Remove function.
2782 (basic_memmem): Add function.
2783 (twoway_memmem): Add function.
2785 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2787 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
2788 * benchtests/bench-malloc-thread.c: Likewise.
2789 * benchtests/bench-skeleton.c: Likewise.
2790 * benchtests/bench-strtod.c: Likewise.
2791 * benchtests/bench-timing.h: Likewise.
2793 2019-04-08 Florian Weimer <fweimer@redhat.com>
2795 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
2797 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
2798 RES_INSECURE2 security checks.
2799 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
2800 RES_INSECURE2 handling.
2802 2019-04-08 Florian Weimer <fweimer@redhat.com>
2804 resolv: Remove support for RES_USE_INET6 and the inet6 option.
2805 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
2806 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
2808 * resolv/Makefile (tests): Remove tst-res_use_inet6.
2809 (tests-internal): Update justification for tst-resolv-res_init,
2810 tst-resolv-res_init-thread.
2811 (tst-res_use_inet6): Remove target.
2812 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
2813 * resolv/res_debug.c (p_option): Remove "inet6" support.
2814 * resolv/res_init.c (res_setoptions): Likewise.
2815 * resolv/res_use_inet6.h: Remove file.
2816 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
2818 (res_use_inet6): Always return false.
2819 * resolv/resolv.h (RES_USE_INET6): Remove definition.
2820 * resolv/resolv_context.h: Adjust file comment.
2821 (struct resolv_context): Update comment on __next field.
2822 (__resolv_context_put): Update comment.
2823 * resolv/tst-res_use_inet6.c: Remove file.
2824 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
2826 (test_cases): Adjust test case.
2827 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
2828 (thread_byname2_af_inet6): Use old byname_inet6 code.
2829 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
2830 (gai): Remove do_inet6 argument.
2831 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
2832 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
2833 (thread_gai_unspec_inet6): Remove functions.
2834 (do_test): Adjust thread_funcs.
2835 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
2837 (gaih_inet): Do not disable RES_USE_INET6 flag.
2839 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
2841 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
2842 and remove redundant code.
2844 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2846 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
2848 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
2849 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
2851 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
2853 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
2855 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
2856 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
2857 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
2858 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
2859 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
2860 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
2861 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2862 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
2864 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
2865 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
2866 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2867 Remove wcsrchr optimizations.
2868 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2870 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
2873 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
2875 * sysdeps/powerpc/power6/wcschr.c: Remove file.
2876 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
2878 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
2880 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
2882 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
2883 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
2884 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
2885 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
2886 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2887 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
2888 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2889 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
2891 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
2892 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
2893 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2894 Remove wcschr optimizations.
2895 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2897 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
2900 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
2902 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
2903 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
2905 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
2907 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
2909 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
2910 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
2911 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
2912 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
2913 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2914 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
2915 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2916 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
2918 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
2919 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
2920 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2921 Remove wcscpy optimizations.
2922 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2924 * include/loop_unroll.h: New file.
2925 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
2926 besides generic implementation.
2928 2019-04-03 DJ Delorie <dj@redhat.com>
2930 * time/tst-strftime3.c (tm_to_printed): Disable warning about
2931 snprintf truncating output.
2933 2019-04-02 DJ Delorie <dj@redhat.com>
2935 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
2938 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2941 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
2943 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
2944 (mkreftable): Add rules for the new Japanese era and the new dates.
2946 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2947 Rafal Luzynski <digitalfreak@lingonborough.com>
2949 * time/tst-strftime2.c (date_t): Explicitly define the type.
2950 (dates): Use natural month and year numbers to express a date.
2951 (is_before): New function to compare dates.
2952 (mkreftable): Minor improvements to simplify maintenance.
2953 (do_test): Reflect the changes in dates array.
2956 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
2957 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
2958 * time/tst-strftime2.c (locales): Likewise.
2959 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
2960 2010-04-01, and 2011-04-01.
2961 (mkreftable): Add rules for the new locales and the new dates.
2963 2019-04-01 Carlos O'Donell <carlos@redhat.com>
2965 * localedata/locales/ja_JP: Add comments to era entries.
2967 2019-04-01 DJ Delorie <dj@redhat.com>
2970 * time/strptime_l.c (%Ey): Fix fencepost error.
2971 * time/tst-strftime3.c: New.
2972 * time/Makefile (tests): Add tst-strftime3.
2974 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
2976 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
2977 conditional branch to DIVBYZERO. Fix unwind info.
2978 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
2979 excb after conditional branch to $powerof2. Add missing unop
2980 instructions and .align directives and reorder instructions to
2983 2019-04-01 Richard Henderson <rth@twiddle.net>
2985 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
2987 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
2990 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
2992 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
2993 $libc_cv_riscv_float_abi in `test' invocation.
2994 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
2996 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
2998 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
3000 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
3002 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
3003 (_GET_SI_FPSCR): Likewise.
3004 (_SET_SI_FPSCR): Likewise.
3006 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3008 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
3010 (signbit): Use builtin for clang 3.3.
3011 (isinf): Use builtin for clang 3.7.
3013 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3015 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
3017 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
3019 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
3022 2019-03-25 Mike Crowe <mac@mcrowe.com>
3024 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
3025 pthread_rwlock_timedrdlock with calls to
3026 pthread_rwlock_timedwrlock to ensure that the latter is tested
3027 too. Use new function name in diagnostic messages too.
3029 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
3030 (do_test) Use libsupport test macros rather than hand-coded
3031 conditionals and error messages. Ensure that sem_init returns zero
3032 rather than not -1. Use <support/test-driver.c> rather than
3035 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
3036 test macros rather than hand-coded conditionals and error messages.
3037 Use <support/test-driver.c> rather than test-skeleton.c.
3039 2019-03-25 Joseph Myers <joseph@codesourcery.com>
3041 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
3043 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
3044 (NT_MIPS_MSA): Likewise.
3046 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3048 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
3049 * benchtests/README: Update description.
3050 * benchtests/bench-timing.h: Default to hp-timing.
3051 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
3052 HP_TIMING_PRINT): Remove.
3053 (HP_TIMING_NOW): Add generic implementation.
3054 (hp_timing_t): Change to uint64_t.
3056 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
3058 * nptl/descr.h: Likewise.
3059 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
3060 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
3061 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
3062 Abstract hp-timing usage with RTLD_* macros.
3063 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
3064 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
3065 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
3066 HP_TIMING_NONAVAIL): Likewise.
3067 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
3069 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
3070 HP_SMALL_TIMING_AVAIL): Likewise.
3071 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
3072 HP_SMALL_TIMING_AVAIL): Likewise.
3073 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
3074 HP_SMALL_TIMING_AVAIL): Likewise.
3075 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
3076 HP_SMALL_TIMING_AVAIL): Likewise.
3077 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
3079 * sysdeps/generic/hp-timing-common.h: Update comment with
3080 HP_TIMING_AVAIL removal.
3082 * include/random-bits.h: New file.
3083 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
3084 (__res_context_mkquery): Remove usage hp-timing usage and replace with
3086 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
3087 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
3090 * include/libc-internal.h (__get_clockfreq): Remove prototype.
3091 * rt/Makefile (clock-routines): Remove get_clockfreq.
3092 * rt/get_clockfreq.c: Remove file.
3093 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
3094 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
3095 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
3096 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
3097 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
3099 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
3100 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
3101 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
3102 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
3103 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
3105 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
3106 pthread_clock_settime.
3107 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
3108 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
3109 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
3110 * elf/rtld.c (_dl_start_final): Likewise.
3111 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
3112 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
3114 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
3115 (_dl_cpuclock_offset): Remove.
3116 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
3117 cpuclock_offset_ununsed.
3118 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
3119 cpuclock_offset set.
3120 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
3121 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
3122 * nptl/pthread_clock_gettime.c: Remove file.
3123 * nptl/pthread_clock_settime.c: Likewise.
3124 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
3125 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
3126 and CLOCK_PROCESS_CPUTIME_ID support.
3127 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
3128 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
3129 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
3130 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
3131 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
3133 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
3135 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
3137 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
3138 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
3139 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
3141 * sysdeps/s390/memmem-arch13.S: New file.
3142 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
3143 if it is only used as fallback.
3144 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
3145 * sysdeps/s390/multiarch/ifunc-impl-list.c
3146 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
3148 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
3150 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
3151 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
3152 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
3154 * sysdeps/s390/multiarch/ifunc-impl-list.c
3155 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
3156 * sysdeps/s390/strstr-arch13.S: New file.
3157 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
3158 if it is only used as fallback.
3159 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
3161 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
3163 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
3164 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
3165 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
3166 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
3168 * sysdeps/s390/multiarch/ifunc-impl-list.c
3169 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
3170 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
3171 S390_IS_ARCH13_MIE3): New defines.
3173 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
3175 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
3176 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
3177 * sysdeps/s390/configure.ac: Add checks for arch13 support.
3178 * sysdeps/s390/configure: Regenerated.
3180 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
3182 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
3183 Add vxe2, vxp, dflt, sort flags.
3184 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
3185 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
3187 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
3188 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
3189 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
3190 HWCAP_S390_DFLT): Define.
3192 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3195 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
3196 of compiler warning.
3197 * locale/programs/ld-collate.c (collate_output): Likewise.
3199 2019-03-21 DJ Delorie <dj@redhat.com>
3202 * iconv/iconvconfig.c (write_output): Replace floating point math
3203 with integer math to avoid imprecise results.
3204 * locale/programs/ld-collate.c (collate_output): Likewise.
3206 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
3208 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
3209 Add HWCAP_S390_VX and HWCAP_S390_VXE.
3211 2019-03-20 mansayk <6688000@gmail.com>
3214 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
3215 (abday): Likewise, but remove the trailing dots.
3217 2019-03-19 Joseph Myers <joseph@codesourcery.com>
3219 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
3221 (HWCAP_PACA): Likewise.
3222 (HWCAP_PACG): Likewise.
3223 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
3225 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
3227 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3229 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
3232 2019-03-15 Joseph Myers <joseph@codesourcery.com>
3234 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3236 (old_getpagesize): New syscall.
3238 2019-03-15 Felix Yan <felixonmars@archlinux.org>
3241 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
3242 * localedata/locales/cmn_TW (era): Likewise.
3243 * localedata/locales/hak_TW (era): Likewise.
3244 * localedata/locales/lzh_TW (era): Likewise.
3245 * localedata/locales/nan_TW (era): Likewise.
3247 2019-03-14 Adam Maris <amaris@redhat.com>
3249 * malloc/malloc.c (_int_malloc): Check for large bin list
3250 corruption when inserting unsorted chunk.
3252 2019-03-14 Florian Weimer <fweimer@redhat.com>
3254 Remove obsolete, never-implemented XSI STREAMS declarations.
3255 * manual/terminal.texi (Allocation): Remove portability note and
3257 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
3259 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
3260 * sysdeps/unix/inet/Subdirs (streams): Remove.
3261 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
3262 (conformtest-headers-UNIX98): Likewise.
3263 (conformtest-headers-XOPEN2K): Likewise.
3264 (conformtest-headers-POSIX2008): Likewise.
3265 * posix/compat-streams.c: New file.
3266 * posix/Makefile (routines): Add it.
3267 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
3268 getpmsg, isastream, putmsg, putpmsg.
3269 (GLIBC_2.30): New section.
3270 * bits/stropts.h: Remove file.
3271 * bits/xtitypes.h: Likewise.
3272 * conform/data/stropts.h-data: Likewise.
3273 * include/stropts.h: Likewise.
3274 * include/sys/stropts.h: Likewise.
3275 * include/xtitypes.h: Likewise.
3276 * streams/Makefile: Likewise.
3277 * streams/fattach.c: Likewise.
3278 * streams/fdetach.c: Likewise.
3279 * streams/getmsg.c: Likewise.
3280 * streams/getpmsg.c: Likewise.
3281 * streams/isastream.c: Likewise.
3282 * streams/putmsg.c: Likewise.
3283 * streams/putpmsg.c: Likewise.
3284 * streams/stropts.h: Likewise.
3285 * streams/sys/stropts.h: Likewise.
3286 * sysdeps/ia64/bits/xtitypes.h: Likewise.
3287 * sysdeps/s390/bits/xtitypes.h: Likewise.
3288 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
3289 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
3290 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
3291 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
3292 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
3293 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
3294 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
3295 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
3296 * sysdeps/x86/bits/xtitypes.h: Likewise.
3298 2019-03-14 Florian Weimer <fweimer@redhat.com>
3300 * nss/tst-nss-files-alias-truncated.c (do_test): Load
3302 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
3303 but not with libnss_files.
3304 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
3306 2019-03-14 Zack Weinberg <zackw@panix.com>
3308 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
3309 Specify encoding="utf-8" when opening headers to check.
3311 2019-03-13 Joseph Myers <joseph@codesourcery.com>
3313 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3315 (Context.checkout_tar): Handle variable major version for Linux
3318 2019-03-13 Florian Weimer <fweimer@redhat.com>
3321 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
3323 2019-03-13 Zack Weinberg <zackw@panix.com>
3325 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
3327 * include/inttypes.h: Adjust to match.
3328 * include/stdint.h: New wrapper.
3330 2019-03-13 Zack Weinberg <zackw@panix.com>
3332 * scripts/check-obsolete-constructs.py: New test script.
3333 * scripts/check-installed-headers.sh: Remove tests for
3334 obsolete typedefs, superseded by check-obsolete-constructs.py.
3335 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
3336 as a special test. Update commentary.
3337 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
3338 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
3340 * posix/sys/types.h (__u_intN_t): Remove.
3341 (u_int8_t): Typedef using __uint8_t.
3342 (u_int16_t): Typedef using __uint16_t.
3343 (u_int32_t): Typedef using __uint32_t.
3344 (u_int64_t): Typedef using __uint64_t.
3346 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
3348 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
3350 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
3351 Ignore types other than AT_HWCAP.
3352 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
3353 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
3355 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
3356 in the case of falling back to generic output mechanism.
3357 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
3360 2019-03-12 Florian Weimer <fweimer@redhat.com>
3362 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
3364 2019-03-12 Florian Weimer <fweimer@redhat.com>
3367 resolv: Enable full ICMP errors for UDP DNS sockets
3368 * resolv/res_enable_icmp.c: New file.
3369 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
3370 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
3371 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
3374 2019-03-11 Mao Han <han_mao@c-sky.com>
3376 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
3377 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
3379 2019-03-11 Mao Han <han_mao@c-sky.com>
3381 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
3382 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
3383 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
3385 2019-03-11 Mao Han <han_mao@c-sky.com>
3387 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
3389 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
3392 2019-03-11 Mao Han <han_mao@c-sky.com>
3394 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
3395 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
3398 2019-03-08 Mike FABIAN <mfabian@redhat.com>
3401 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
3402 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
3404 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
3405 * localedata/unicode-gen/PropList.txt: Likewise.
3406 * localedata/unicode-gen/UnicodeData.txt: Likewise.
3407 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
3408 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
3409 * localedata/charmaps/UTF-8: Regenerate.
3410 * localedata/locales/i18n_ctype: Likewise.
3411 * localedata/locales/tr_TR: Likewise.
3412 * localedata/locales/translit_circle: Likewise.
3413 * localedata/locales/translit_cjk_compat: Likewise.
3414 * localedata/locales/translit_combining: Likewise.
3415 * localedata/locales/translit_compat: Likewise.
3416 * localedata/locales/translit_font: Likewise.
3417 * localedata/locales/translit_fraction: Likewise.
3419 2019-03-07 Joseph Myers <joseph@codesourcery.com>
3421 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
3422 than after operators.
3423 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
3424 (setitimer_locked): Likewise.
3425 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
3426 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3427 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
3428 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
3429 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
3430 (PPC_CPU_SUPPORTED): Likewise.
3431 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
3432 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
3433 (stat_overflow): Likewise.
3434 (statfs_overflow): Likewise.
3435 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
3436 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
3437 (eq_ttyname_r): Likewise.
3438 (run_chroot_tests): Likewise.
3440 2019-03-07 Florian Weimer <fweimer@redhat.com>
3442 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
3445 2019-03-07 Martin Liska <mliska@suse.cz>
3447 * math/Makefile: Change location where math-vector-fortran.h is
3449 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
3450 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
3451 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
3452 * scripts/check-installed-headers.sh: Skip Fortran header files.
3453 * scripts/check-wrapper-headers.py: Likewise.
3455 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3457 * nptl/nptl-init.c (__have_futex_clock_realtime,
3458 __have_futex_clock_realtime): Remove definition.
3459 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
3460 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
3461 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
3462 __ASSUME_FUTEX_CLOCK_REALTIME support.
3463 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
3464 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3465 * sysdeps/unix/sysv/linux/kernel-features.h
3466 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
3467 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
3470 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3472 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
3473 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
3474 __GI___wcscpy and wcscpy.
3476 2019-03-04 Florian Weimer <fweimer@redhat.com>
3478 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
3480 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
3483 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
3485 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
3486 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3488 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
3491 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
3492 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
3494 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3496 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
3498 (do_test): Likewise.
3499 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
3500 (do_test_call_varg): Likewise.
3501 (do_test_call_rarg): Likewise.
3502 * sysdeps/ieee754/ldbl-opt/Makefile
3503 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
3505 ($(objpfx)tst-nldbl-warn.c): New rule.
3506 ($(objpfx)tst-nldbl-error.c): Likewise.
3507 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
3510 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3513 * include/bits/error-ldbl.h: New file.
3514 * include/error.h: Include stdarg.h. Declare internal functions
3515 __error_internal and __error_at_line_internal.
3516 * misc/Makefile (headers): Add bits/error-ldbl.h.
3517 * misc/bits/error-ldbl.h: New file.
3518 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
3519 avoid the inclusion of bits/error.h.
3520 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
3521 and __nldbl_error_at_line.
3522 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
3523 (__nldbl_error, __ndlbl_error_at_line): New functions.
3524 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
3525 Redirect error and error_at_line.
3526 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
3527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3535 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3536 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3537 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3539 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3542 * include/bits/err-ldbl.h: New file.
3543 * include/err.h: Add prototypes for the internal functions:
3544 __vwarnx_internal and __vwarn_internal.
3545 * misc/Makefile (headers): Add bits/err-ldbl.h.
3546 * misc/bits/err-ldbl.h: New file.
3547 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
3548 defined, i.e.: when -mlong-double-64 is in use.
3549 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
3550 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
3551 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
3552 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
3553 (VA_CALL): New macro.
3554 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
3555 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
3557 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
3558 declare prototypes for the new functions.
3559 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
3560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3568 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3569 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3570 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3572 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3574 * sysdeps/ieee754/ldbl-opt/Makefile
3575 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
3576 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
3577 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
3579 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3582 * argp/Makefile (headers): Add bits/argp-ldbl.h.
3583 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
3584 * argp/bits/argp-ldbl.h: New file.
3585 * include/argp.h: Include stdarg.h. Add prototypes for internal
3586 functions: __argp_error_internal and __argp_failure_internal.
3587 * include/bits/argp-ldbl.h: New file.
3588 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
3589 __nldbl_argp_error and __nldbl_argp_failure.
3590 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
3591 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
3592 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
3593 Redirect argp_error and argp_failure calls.
3594 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
3595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3603 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3604 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3605 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3607 2019-03-01 Florian Weimer <fweimer@redhat.com>
3610 * elf/tst-big-note-lib.S: Create a syntactically valid note.
3611 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
3612 code, to avoid creating an ABI tag note.
3613 (modules-names-nobuild): Add tst-big-note-lib.
3615 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
3617 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
3618 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
3620 2019-03-01 Florian Weimer <fweimer@redhat.com>
3623 * sysdeps/unix/sysv/linux/netlink_assert_response.c
3624 (__netlink_assert_response): Add additional missing newlines.
3626 2019-02-28 Joseph Myers <joseph@codesourcery.com>
3628 * sysdeps/powerpc/powerpc32/dl-machine.c
3629 (__elf_machine_fixup_plt): Use space before '('.
3630 (__process_machine_rela): Likewise.
3631 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
3633 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
3635 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
3637 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
3638 (pattern): Likewise.
3640 (check_result): Likewise.
3641 (check_excepts): Likewise.
3642 (check_op): Likewise.
3643 (fail_xr): Likewise.
3644 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
3645 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
3647 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
3650 (__makecontext): Likewise.
3651 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
3654 2019-02-28 Florian Weimer <fweimer@redhat.com>
3657 elf: Add test with a local IFUNC resolver.
3658 * elf/ifuncmain9.c: New file.
3659 * elf/ifuncmain9pic.c: Likewise.
3660 * elf/ifuncmain9picstatic.c: Likewise.
3661 * elf/ifuncmain9pie.c: Likewise.
3662 * elf/ifuncmain9static.c: Likewise.
3663 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
3664 ifuncmain9static, ifuncmain9picstatic.
3665 * elf/Makefile [multi-arch && build-shared] (tests-internal):
3666 Add ifuncmain9, ifuncmain9pic.
3667 * elf/Makefile [multi-arch && build-shared && have-fpie]
3668 (ifunc-pie-tests): Add ifuncmain9pie.
3669 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
3670 (CFLAGS-ifuncmain9picstatic.c): Likewise.
3671 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
3673 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
3675 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
3676 * configure: Regenerated.
3677 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
3679 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3681 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
3682 symbol as __wcspcy instead of wcscpy.
3684 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3686 * include/stdio.h (__renameat2): New hidden prototype.
3687 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
3688 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
3689 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
3690 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
3692 2019-02-27 Joseph Myers <joseph@codesourcery.com>
3694 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
3697 * benchtests/bench-strcpy.c (do_test): Use space before '('.
3698 * benchtests/bench-string.h (cmdline_process_function): Likewise.
3699 * benchtests/bench-strlen.c (do_test): Likewise.
3700 (test_main): Likewise.
3701 * catgets/gencat.c (read_old): Likewise.
3702 * elf/cache.c (load_aux_cache): Likewise.
3703 * iconvdata/bug-iconv8.c (do_test): Likewise.
3704 * math/test-tgmath-ret.c (do_test): Likewise.
3705 * nis/nis_call.c (rec_dirsearch): Likewise.
3706 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3707 * nptl/tst-audit-threads.c (do_test): Likewise.
3708 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
3709 * nss/nss_test1.c (init): Likewise.
3710 * nss/test-netdb.c (test_hosts): Likewise.
3711 * posix/execvpe.c (maybe_script_execute): Likewise.
3712 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
3713 * stdio-common/tst-printf.c (do_test): Likewise.
3714 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
3715 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
3716 * stdlib/qsort.c (STACK_SIZE): Likewise.
3717 * stdlib/test-canon.c (do_test): Likewise.
3718 * stdlib/tst-swapcontext1.c (do_test): Likewise.
3719 * string/memcmp.c (OPSIZ): Likewise.
3720 * string/test-strcpy.c (do_test): Likewise.
3721 (do_random_tests): Likewise.
3722 * string/test-strlen.c (do_test): Likewise.
3723 (test_main): Likewise.
3724 * string/test-strrchr.c (do_test): Likewise.
3725 (do_random_tests): Likewise.
3726 * string/tester.c (test_memrchr): Likewise.
3727 (test_memchr): Likewise.
3728 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
3729 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
3730 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
3731 (read_encoded_value_with_base): Likewise.
3732 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
3733 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
3734 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
3735 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
3736 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
3737 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
3739 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
3741 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
3742 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
3743 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
3745 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
3747 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
3749 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
3751 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
3752 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
3753 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3754 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
3755 * time/test_time.c (main): Likewise.
3757 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3759 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
3761 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
3764 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
3767 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
3769 * include/wchar.h (__wcscpy): New prototype.
3770 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
3771 (__wcscpy): Route internal symbol to generic implementation.
3772 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
3773 Add internal __wcscpy alias.
3774 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
3775 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
3776 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
3777 * wcsmbs/wcscpy.c (wcscpy): Add
3778 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
3779 use generic implementation.
3780 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
3782 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
3785 * sysdeps/m68k/wcpcpy.c: Remove file.
3786 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
3788 2019-02-26 Joseph Myers <joseph@codesourcery.com>
3790 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
3791 than after operators.
3792 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
3793 * sysdeps/mach/hurd/getcwd.c
3794 (__hurd_canonicalize_directory_name_internal): Likewise.
3795 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
3796 (pthread_mutex_consistent): Likewise.
3797 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
3799 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
3800 (__pthread_mutex_transfer_np): Likewise.
3801 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
3802 (__pthread_mutex_unlock): Likewise.
3803 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
3804 (mtx_owned_p): Likewise.
3805 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
3806 (pthread_mutexattr_getrobust): Likewise.
3807 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
3808 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
3810 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
3811 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
3812 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
3813 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
3814 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
3815 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3816 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
3818 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
3820 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
3821 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
3822 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
3823 (____longjmp_chk): Likewise.
3824 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
3826 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
3827 (INTERNAL_SYSCALL): Likewise.
3828 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3829 (INTERNAL_SYSCALL): Likewise.
3830 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3831 (__get_clockfreq_via_cpuinfo): Likewise.
3833 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
3835 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
3836 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
3837 (WORD_COPY_BWD): Likewise.
3838 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
3839 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3841 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
3842 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
3844 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
3846 2019-02-25 Joseph Myers <joseph@codesourcery.com>
3848 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
3849 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
3850 rather than after operators.
3851 * elf/cache.c (print_cache): Likewise.
3852 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
3853 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
3854 * hurd/hurdinit.c (_hurd_setproc): Likewise.
3855 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
3856 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
3857 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
3858 (reauth_proc): Likewise.
3859 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
3860 (__file_name_split_at): Likewise.
3861 (__directory_name_split_at): Likewise.
3862 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
3863 * hurd/port2fd.c (_hurd_port2fd): Likewise.
3864 * iconv/gconv_dl.c (do_print): Likewise.
3865 * inet/netinet/in.h (struct sockaddr_in): Likewise.
3866 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
3867 * locale/setlocale.c (new_composite_name): Likewise.
3868 * malloc/memusagestat.c (main): Likewise.
3869 * misc/fstab.c (fstab_convert): Likewise.
3870 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
3872 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
3873 (getgrent_next_file): Likewise.
3874 (internal_getgrnam_r): Likewise.
3875 (internal_getgrgid_r): Likewise.
3876 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
3878 (internal_getgrent_r): Likewise.
3879 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
3880 (getpwent_next_nss): Likewise.
3881 (getpwent_next_file): Likewise.
3882 (internal_getpwnam_r): Likewise.
3883 (internal_getpwuid_r): Likewise.
3884 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
3886 (getspent_next_nss): Likewise.
3887 (internal_getspnam_r): Likewise.
3888 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
3889 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
3890 * string/strchr.c (STRCHR): Likewise.
3891 * string/strchrnul.c (STRCHRNUL): Likewise.
3892 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
3893 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3894 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
3895 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
3896 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
3898 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
3899 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
3900 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
3901 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
3902 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
3903 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
3904 (open_file): Likewise.
3905 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
3906 (pthread_mutexattr_setprotocol): Likewise.
3907 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
3908 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
3909 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
3910 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
3911 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
3913 (elf_machine_rela): Likewise.
3914 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3915 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3916 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
3917 * sysdeps/posix/rename.c (rename): Likewise.
3918 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
3919 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
3920 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
3921 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
3922 * sysdeps/unix/grantpt.c (grantpt): Likewise.
3923 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
3924 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
3926 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
3928 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
3929 * time/tzfile.c (__tzfile_compute): Likewise.
3931 2019-02-22 Joseph Myers <joseph@codesourcery.com>
3933 * benchtests/bench-memmem.c (simple_memmem): Break lines before
3934 rather than after operators.
3935 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
3936 * crypt/md5.c (md5_finish_ctx): Likewise.
3937 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
3938 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
3939 * elf/cache.c (load_aux_cache): Likewise.
3940 * elf/dl-load.c (open_verify): Likewise.
3941 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
3942 * elf/readelflib.c (process_elf_file): Likewise.
3943 * elf/rtld.c (dl_main): Likewise.
3944 * elf/sprof.c (generate_call_graph): Likewise.
3945 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
3946 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
3947 * hurd/dtable.c (reauth_dtable): Likewise.
3948 * hurd/getdport.c (__getdport): Likewise.
3949 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
3950 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
3951 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
3953 * hurd/hurdioctl.c (fioctl): Likewise.
3954 * hurd/hurdselect.c (_hurd_select): Likewise.
3955 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
3956 (STOPSIGS): Likewise.
3957 * hurd/hurdstartup.c (_hurd_startup): Likewise.
3958 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
3959 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
3960 * hurd/msgportdemux.c (msgport_server): Likewise.
3961 * hurd/setauth.c (_hurd_setauth): Likewise.
3962 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
3963 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
3964 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
3965 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
3966 * login/tst-utmp.c (do_check): Likewise.
3967 (simulate_login): Likewise.
3968 * mach/lowlevellock.h (lll_lock): Likewise.
3969 (lll_trylock): Likewise.
3970 * math/test-fenv.c (ALL_EXC): Likewise.
3971 * math/test-fenvinline.c (ALL_EXC): Likewise.
3972 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
3973 * nis/nis_call.c (__do_niscall3): Likewise.
3974 * nis/nis_callback.c (cb_prog_1): Likewise.
3975 * nis/nis_defaults.c (searchaccess): Likewise.
3976 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3977 * nis/nis_ismember.c (internal_ismember): Likewise.
3978 * nis/nis_local_names.c (nis_local_principal): Likewise.
3979 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
3980 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
3982 * nis/ypclnt.c (yp_match): Likewise.
3983 (yp_first): Likewise.
3984 (yp_next): Likewise.
3985 (yp_master): Likewise.
3986 (yp_order): Likewise.
3987 * nscd/hstcache.c (cache_addhst): Likewise.
3988 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3989 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
3990 (internal_getpwuid_r): Likewise.
3991 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
3992 * posix/glob.h (__GLOB_FLAGS): Likewise.
3993 * posix/regcomp.c (peek_token): Likewise.
3994 (peek_token_bracket): Likewise.
3995 (parse_expression): Likewise.
3996 * posix/regexec.c (sift_states_iter_mb): Likewise.
3997 (check_node_accept_bytes): Likewise.
3998 * posix/tst-spawn3.c (do_test): Likewise.
3999 * posix/wordexp-test.c (testit): Likewise.
4000 * posix/wordexp.c (parse_tilde): Likewise.
4001 (exec_comm): Likewise.
4002 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
4003 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
4004 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
4005 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
4006 * stdio-common/tst-fileno.c (do_test): Likewise.
4007 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
4008 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
4009 * stdlib/strtod_l.c (round_and_return): Likewise.
4010 (____STRTOF_INTERNAL): Likewise.
4011 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
4012 * string/strcspn.c (STRCSPN): Likewise.
4013 * string/test-memmem.c (simple_memmem): Likewise.
4014 * termios/tcsetattr.c (tcsetattr): Likewise.
4015 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
4016 * time/asctime.c (asctime_internal): Likewise.
4017 * time/strptime_l.c (__strptime_internal): Likewise.
4018 * time/sys/time.h (timercmp): Likewise.
4019 * time/tzfile.c (__tzfile_compute): Likewise.
4021 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
4024 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
4026 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4028 * argp/argp-help.c (__argp_error_internal): New function,
4029 renamed from __argp_error, but that takes a 'mode_flags'
4030 parameter to control the format of long double parameters.
4031 (__argp_error): Converted into a call __argp_error_internal.
4032 (__argp_failure_internal): New function, renamed from
4033 __argp_failure, but that takes a 'mode_flags' parameter.
4034 (__argp_failure): Converted into a call __argp_failure_internal.
4035 * misc/err.c (__vwarnx_internal): New function, renamed from
4036 vwarnx, but that takes a 'mode_flags' parameter.
4037 (vwarnx): Converted into a call to __vwarnx_internal.
4038 (__vwarn_internal): New function, renamed from vwarn, but that
4039 takes a 'mode_flags' parameter.
4040 (vwarn): Converted into a call to __vwarn_internal.
4041 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
4042 call to __vfxprintf with 'mode_flags'.
4043 (__error_internal): New function, renamed from error, but that
4044 takes a 'mode_flags' parameter.
4045 (error): Converted into a call to __error_internal.
4046 (__error_at_line_internal): New function, renamed from
4047 error_at_line, but that takes a 'mode_flags' parameter.
4048 (error_at_line): Converted into a call to
4049 __error_at_line_internal.
4050 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
4051 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
4054 2019-02-20 Martin Liska <mliska@suse.cz>
4056 * math/Makefile: Install math-vector-fortran.h.
4057 * bits/math-vector-fortran.h: New file.
4058 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
4060 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4062 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
4063 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
4065 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
4067 * nptl/pthread_mutex_trylock.c: Fix comment.
4069 2019-02-19 Carlos O'Donell <carlos@redhat.com>
4071 * nptl/pthread_tryjoin.c: Fix comment.
4073 2019-02-18 Joseph Myers <joseph@codesourcery.com>
4076 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
4077 after R_SPARC_H34 case.
4079 2019-02-18 Florian Weimer <fweimer@redhat.com>
4081 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
4082 (getanswer): Do not call Dprintf.
4083 (res_gethostbyname2_context): Likewise.
4084 (res_gethostbyaddr_context): Likewise.
4086 2019-02-18 Florian Weimer <fweimer@redhat.com>
4088 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
4090 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
4092 * libio/stdfiles.c: Update comment.
4093 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
4094 set _IO_stdin, _IO_stdout, _IO_stderr.
4095 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
4096 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
4098 (_IO_deallocate_file): New inline function.
4099 * libio/iolibio.h (_IO_vprintf): Remove definition.
4100 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
4101 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
4102 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
4104 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
4105 __builtin_expect. Use _IO_legacy_file.
4107 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
4109 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
4110 Initialize ctid with a known value and remove update of ctid
4112 (wait_tid): Adjust arguments and call futex_wait with ctid_val
4113 as assumed current value of ctid_ptr.
4115 2019-02-16 Florian Weimer <fweimer@redhat.com>
4117 Check that non-sysdeps headers have wrapper headers.
4118 * scripts/check-wrapper-headers.py: New file.
4119 * Makefile (tests-special): Add check-wrapper-headers.out.
4120 (check-wrapper-headers.out): New target.
4121 * Rules (tests-special): Add check-wrapper-headers.out.
4122 (check-wrapper-headers.out): New target.
4124 2019-02-16 Florian Weimer <fweimer@redhat.com>
4126 Add missing header wrappers under include/.
4127 * include/ar.h: New file.
4128 * include/bits/mqueue2.h: Likewise.
4129 * include/bits/stdio.h: Likewise.
4130 * include/bits/stdio2.h: Likewise.
4131 * include/fstab.h: Likewise.
4132 * include/fts.h: Likewise.
4133 * include/lastlog.h: Likewise.
4134 * include/netinet/icmp6.h: Likewise.
4135 * include/netinet/igmp.h: Likewise.
4136 * include/netinet/ip6.h: Likewise.
4137 * include/re_comp.h: Likewise.
4138 * include/regexp.h: Likewise.
4139 * include/rpcsvc/bootparam.h: Likewise.
4140 * include/rpcsvc/yp_prot.h: Likewise.
4141 * include/sys/random.h: Likewise.
4142 * include/sys/stropts.h: Likewise.
4143 * include/sys/ttychars.h: Likewise.
4144 * include/sys/vfs.h: Likewise.
4145 * include/wait.h: Likewise.
4147 2019-02-16 Florian Weimer <fweimer@redhat.com>
4149 * nptl_db/proc_service.h: Move to ...
4150 * sysdeps/nptl/proc_service.h: ... here.
4151 * nptl_db/thread_db.h: Move to ...
4152 * sysdeps/nptl/thread_db.h: ... here.
4153 * nptl/descr.h: Include <thread_db.h>.
4155 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4157 * io/Makefile (tests): Add tst-lockf.
4158 * io/lockf.c (lockf): Use __fcntl and only define for
4159 !__OFF_T_MATCHES_OFF64_T.
4160 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
4161 __OFF_T_MATCHES_OFF64_T case.
4162 * io/tst-lockf.c: New file.
4163 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
4164 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
4165 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
4166 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
4167 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
4168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
4169 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
4170 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
4171 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
4173 2019-02-15 Florian Weimer <fweimer@redhat.com>
4176 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
4177 pd->result after the thread descriptor has been freed.
4179 2019-02-15 Joseph Myers <joseph@codesourcery.com>
4181 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
4182 from function return type.
4184 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
4186 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4188 * scripts/test_printers_common.py: Set TERM to a known harmless
4191 2019-02-14 Joseph Myers <joseph@codesourcery.com>
4193 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
4194 (xdr_u_int): Likewise.
4195 (xdr_enum): Likewise.
4196 (xdr_bytes): Reword fall-through comment.
4197 (xdr_string): Likewise.
4199 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4202 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
4203 (tests): Add tst-join8 tst-join9.
4204 * nptl/lll_timedwait_tid.c: Remove file.
4205 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
4206 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
4207 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
4208 * nptl/pthread_join_common.c (timedwait_tid): New function.
4209 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
4211 * nptl/tst-join5.c (thread_join): New function.
4212 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
4214 * nptl/tst-join8.c: New file.
4215 * nptl/tst-join9.c: Likewise.
4216 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
4217 lll_futex_timed_wait_cancel): Add generic macros.
4218 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
4220 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4221 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4222 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4223 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
4225 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
4227 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4228 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
4229 (lll_futex_timed_wait_cancel): New macro.
4231 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
4233 * benchtests/Makefile: Add malloc-simple benchmark.
4234 * benchtests/bench-malloc-simple.c: New benchmark.
4236 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
4238 * benchtests/bench-memmove.c (do_one_test): Remove unused
4241 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
4245 2019-01-13 Jim Wilson <jimw@sifive.com>
4248 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
4249 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
4251 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
4253 * nptl/Makefile (tests): Add tst-unwind-thread.
4254 (CFLAGS-tst-unwind-thread.c): Define.
4255 * nptl/tst-unwind-thread.c: New file.
4256 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
4259 2019-02-13 Joseph Myers <joseph@codesourcery.com>
4261 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
4263 * nis/nis_call.c (__do_niscall3): Likewise.
4265 * catgets/gencat.c (normalize_line): Use braces around empty
4267 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
4268 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
4269 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
4270 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
4271 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
4272 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
4273 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
4276 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
4279 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
4281 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
4282 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
4283 * benchtests/bench-strchr.c (stupid_strchr): Remove.
4284 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
4285 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
4286 * benchtests/bench-strlen.c (builtin_strlen): Remove.
4287 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
4288 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
4289 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
4290 * benchtests/bench-strspn.c (stupid_strspn): Remove.
4291 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
4292 * benchtests/bench-bcopy.c: Delete file.
4293 * benchtests/bench-bzero.c: Likewise.
4294 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
4295 (simple_memccpy): Remove.
4296 (generic_memccpy): Add function.
4297 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
4298 * benchtests/bench-memmove.c (simple_bcopy): Remove.
4299 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
4300 (generic_mempcpy): Add new function.
4301 * benchtests/bench-memset.c (simple_bzero): Remove.
4302 (builtin_bzero): Remove.
4303 (builtin_memset): Remove.
4304 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
4305 (generic_rawmemchr): Add new function.
4307 2019-02-12 Florian Weimer <fweimer@redhat.com>
4309 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
4311 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4314 * elf/Makefile (tests): Add tst-audit13.
4315 (modules-names): Add tst-audit13mod1.
4316 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
4318 * elf/tst-audit13.c: New file.
4319 * elf/tst-audit13mod1.c: Likewise.
4321 2019-02-12 Florian Weimer <fweimer@redhat.com>
4324 * elf/rtld.c (unload_audit_module): New function.
4325 (report_audit_module_load_error): Likewise.
4326 (load_audit_module): Likewise. Extracted from dl_main. Call
4327 _dl_close if the laversion symbol cannot be found. Use early
4328 returns for error handling. Add malloc error check. Check for a
4329 zero return value from la_version. Remove spurious comment about
4330 static TLS initialization. Remove useless casts.
4331 (notify_audit_modules_of_loaded_object): New function. Extracted
4333 (load_audit_module): Likewise.
4334 (dl_main): Call load_audit_modules.
4336 2019-02-12 Joseph Myers <joseph@codesourcery.com>
4338 * elf/dl-exception.c (_dl_exception_create_format): Add
4339 fall-through comments.
4340 * elf/ldconfig.c (parse_conf_include): Likewise.
4341 * elf/rtld.c (print_statistics): Likewise.
4342 * locale/programs/charmap.c (parse_charmap): Likewise.
4343 * misc/mntent_r.c (__getmntent_r): Likewise.
4344 * posix/wordexp.c (parse_arith): Likewise.
4345 (parse_backtick): Likewise.
4346 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
4347 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
4348 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4350 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
4352 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
4353 Use float instead of double.
4355 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
4357 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
4359 2019-02-08 Joseph Myers <joseph@codesourcery.com>
4361 * sysdeps/powerpc/bits/mathinline.h: Remove.
4363 2019-02-08 Florian Weimer <fweimer@redhat.com>
4365 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
4366 * math/bits/math-finite.h: Move to ...
4367 * bits/math-finite.h: ... here.
4369 2019-02-08 Florian Weimer <fweimer@redhat.com>
4371 * sysdeps/generic/bits/unistd_ext.h: Move to ...
4372 * bits/unistd_ext.h: here.
4374 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
4377 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
4378 * nss/tst-nss-files-hosts-long.c: New file.
4379 * nss/tst-nss-files-hosts-long.root: New directory.
4380 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
4381 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
4383 2019-02-08 Florian Weimer <fweimer@redhat.com>
4385 * include/bits/unistd_ext.h: Remove file.
4386 * posix/bits/unistd_ext.h: Move to ...
4387 * sysdeps/generic/bits/unistd_ext.h: ... here.
4389 2019-02-08 Florian Weimer <fweimer@redhat.com>
4391 * include/bits/unistd_ext.h: New file.
4393 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
4395 * time/tst-strftime2.c: Use array_length macros instead of magic
4398 2019-02-08 Florian Weimer <fweimer@redhat.com>
4401 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
4403 * nptl/register-atfork.c (__run_fork_handlers): Only perform
4404 locking if the new do_locking argument is true.
4405 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
4406 __run_fork_handlers.
4408 2019-02-08 Florian Weimer <fweimer@redhat.com>
4411 Linux: Add gettid system call wrapper.
4412 * posix/Makefile (headers): Add bits/unistd_ext.h.
4413 * posix/bits/unistd_ext.h: New file.
4414 * posix/unistd.h: Include it.
4415 * manual/process.texi (Process Identification): Document gettid.
4416 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
4417 tst-gettid, tst-gettid-kill.
4418 (tst-gettid): Link with $(shared-thread-library).
4419 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
4420 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
4421 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
4422 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
4423 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
4424 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
4426 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
4428 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
4429 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
4431 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
4433 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
4435 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
4437 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
4439 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
4441 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
4443 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4444 (GLIBC_2.30): Likewise.
4445 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4446 (GLIBC_2.30): Likewise.
4447 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4448 (GLIBC_2.30): Likewise.
4449 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4450 (GLIBC_2.30): Likewise.
4451 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
4453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4454 (GLIBC_2.30): Likewise.
4455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4456 (GLIBC_2.30): Likewise.
4457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
4458 (GLIBC_2.30): Likewise.
4459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
4460 (GLIBC_2.30): Likewise.
4461 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
4463 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
4465 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
4467 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
4468 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
4470 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
4472 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
4474 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
4476 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
4478 2019-02-08 Florian Weimer <fweimer@redhat.com>
4480 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
4481 compatibility symbols.
4483 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
4486 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4487 Add compiler barriers and comments.
4489 2019-02-07 Florian Weimer <fweimer@redhat.com>
4491 * include/array_length.h (array_length): Do not use a statement
4492 expression and _Static_assert, so that array_length can be used at
4493 file scope and as a constant expression.
4495 2019-02-07 Florian Weimer <fweimer@redhat.com>
4497 * support/xdlfcn.h (xdlmopen): Declare.
4498 * support/xdlmopen.c: New file.
4499 * support/Makefile (libsupport-routines): Add xdlmopen.
4501 2019-02-06 Joseph Myers <joseph@codesourcery.com>
4503 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
4504 before return type, without separate inline.
4505 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
4506 * elf/dl-tunables.h (tunable_is_name): Likewise.
4507 * malloc/malloc.c (do_set_trim_threshold): Likewise.
4508 (do_set_top_pad): Likewise.
4509 (do_set_mmap_threshold): Likewise.
4510 (do_set_mmaps_max): Likewise.
4511 (do_set_mallopt_check): Likewise.
4512 (do_set_perturb_byte): Likewise.
4513 (do_set_arena_test): Likewise.
4514 (do_set_arena_max): Likewise.
4515 (do_set_tcache_max): Likewise.
4516 (do_set_tcache_count): Likewise.
4517 (do_set_tcache_unsorted_limit): Likewise.
4518 * nis/nis_subr.c (count_dots): Likewise.
4519 * nptl/allocatestack.c (advise_stack_range): Likewise.
4520 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
4522 (reduce_sincos): Likewise.
4523 (do_sincos): Likewise.
4524 * sysdeps/unix/sysv/linux/x86/elision-conf.c
4525 (do_set_elision_enable): Likewise.
4526 (TUNABLE_CALLBACK_FNDECL): Likewise.
4528 2019-02-06 Florian Weimer <fweimer@redhat.com>
4530 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
4531 (xdlsym): Use dlerror to detect a NULL symbol.
4533 2019-02-06 Florian Weimer <fweimer@redhat.com>
4535 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
4537 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4539 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
4541 * libio/tst-bz24153.c (wide): Use wide char format specifier.
4543 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
4545 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
4546 __wmemcmp and weak alias to wmemcmp.
4548 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
4551 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
4552 TLS_TCB_AT_TP tls variant.
4553 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
4554 Add alignment checks.
4555 * support/Makefile (libsupport-routines): Add xposix_memalign and
4557 * support/support.h: Add xposix_memalign.
4558 * support/xthread.h: Add xpthread_attr_setstack.
4559 * support/xposix_memalign.c: New File.
4560 * support/xpthread_attr_setstack.c: Likewise.
4562 2019-02-05 Florian Weimer <fweimer@redhat.com>
4565 arm: Use "nr" constraint for Systemtap probes, to avoid the
4566 compiler using memory operands for constants, due to the "o"
4567 alternative in the default "nor" constraint.
4568 * include/stap-probe.h [USE_STAP_PROBE]: Include
4569 <stap-probe-machine.h>
4570 * sysdeps/generic/stap-probe-machine.h: New file.
4571 * sysdeps/arm/stap-probe-machine.h: Likewise.
4573 2019-02-04 Joseph Myers <joseph@codesourcery.com>
4575 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
4576 with 0, not tcache->entries[tc_idx].
4578 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
4581 2019-02-04 Andreas Schwab <schwab@suse.de>
4585 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
4586 looking up collating elements match against (wide) character
4587 sequence instead of name. Correct alignment adjustment.
4588 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
4589 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
4590 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
4591 (LOCALES): Add cs_CZ.ISO-8859-2.
4592 * posix/tst-fnmatch4.c: New file.
4593 * posix/tst-fnmatch5.c: New file.
4594 * include/wchar.h (__wmemcmp): Declare.
4595 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
4596 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
4597 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
4598 * sysdeps/s390/wmemcmp.c: Likewise.
4600 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
4604 * NEWS: Updated for CVE-2019-7309.
4605 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
4606 upper 32 bits of RDX register for x32. Use unsigned Jcc
4607 instructions, instead of signed.
4608 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
4609 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
4611 2019-02-04 Florian Weimer <fweimer@redhat.com>
4613 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
4614 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
4615 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
4617 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
4618 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
4619 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
4620 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
4622 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
4624 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
4626 (posix_spawn_file_actions_addopen): Likewise.
4627 (posix_spawn_file_actions_addclose): Likewise.
4628 (posix_spawn_file_actions_adddup2): Likewise.
4629 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
4631 (posix_spawn_file_actions_addfchdir_np): Likewise.
4633 2019-02-04 David Newall <glibc@davidnewall.com>
4635 elf: Implement --preload option for the dynamic linker.
4636 * elf/rtld.c (preloadarg): New variable.
4637 (handle_preload_list): Pass through “where” argument to
4639 (dl_main): Handle "--preload" and add second call to
4640 handle_preload_list.
4641 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
4642 (tst-rtld-preload-OBJS): Set variable.
4643 (tst-rtld-preload.out): New target.
4644 * elf/tst-rtld-preload.sh: New file.
4646 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
4648 * Makefile (testrun.sh): Exit in case of incorrect argument.
4650 2019-02-04 Florian Weimer <fweimer@redhat.com>
4652 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
4655 2019-02-03 Florian Weimer <fweimer@redhat.com>
4657 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
4658 implicit overflow checks.
4660 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
4662 * stdlib/isomac.c: Include <unistd.h>.
4664 2019-02-03 Florian Weimer <fweimer@redhat.com>
4666 * include/time.h (__tzfile_default): Use int, not long int, for
4668 * time/tzfile.c (struct ttinfo): Change type of the offset member
4670 (__tzfile_read): Remove useless cast.
4671 (__tzfile_default): Adjust prototype.
4672 * time/tzset.c (tz_rule): Change type of the offset member to int.
4673 (parse_offset): Change the type of the sign variable to int.
4675 2019-02-03 Florian Weimer <fweimer@redhat.com>
4678 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
4679 * libio/getchar.c (getchar): Likewise.
4680 * libio/getchar_u.c (getchar_unlocked): Likewise.
4681 * libio/getwchar.c (getwchar): Likewise.
4682 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4683 * libio/iogets.c (_IO_gets): Likewise.
4684 * libio/vscanf.c (_IO_vscanf): Likewise.
4685 * libio/vwscanf.c (__vwscanf): Likewise.
4686 * libio/tst-bz24153.c: New file.
4687 * libio/Makefile (tests): Add it.
4689 2019-02-02 Florian Weimer <fweimer@redhat.com>
4692 * manual/resource.texi (Basic Scheduling Functions): Add
4693 portability note. Change process to task throughout the section.
4694 Remove incorrect comment about sched_yield as it affects
4695 tasks/threads, not entire processes.
4696 * sysdeps/unix/sysv/linux/bits/posix_opt.h
4697 (_POSIX_PRIORITY_SCHEDULING): Update comment.
4699 2019-02-01 Joseph Myers <joseph@codesourcery.com>
4701 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
4702 * configure: Regenerated.
4703 * manual/install.texi (Tools for Compilation): Update minimum GCC
4705 * INSTALL: Regenerated.
4707 2019-02-01 Florian Weimer <fweimer@redhat.com>
4709 * support/support_test_compare_string.c
4710 (support_test_compare_string): Use "string" in error message.
4711 * support/tst-test_compare_string.c (do_test): Adjust.
4713 2019-02-01 Florian Weimer <fweimer@redhat.com>
4715 * support/support_format_address_family.c
4716 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
4718 2019-02-01 Florian Weimer <fweimer@redhat.com>
4720 * manual/socket.texi (Internet Address Formats): Clarify the byte
4721 order of struct sockaddr_in, struct sockaddr_in6. Document
4722 sin6_flowinfo and sin6_scope_id.
4724 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
4726 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
4727 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
4728 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
4729 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
4730 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
4731 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
4733 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4735 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
4736 [!MEMCHR](MEMCHR): Set to __memchr.
4737 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
4738 Add memchr_generic and memchr_nosimd.
4739 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
4740 (__libc_ifunc_impl_list): Add memchr ifuncs.
4741 * sysdeps/aarch64/multiarch/memchr.c: New file.
4742 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
4743 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
4745 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4747 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
4749 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
4750 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
4751 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
4752 Add IS_EMAG check for ifunc dispatch.
4753 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
4754 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
4756 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4758 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
4759 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
4761 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
4764 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
4766 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
4768 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
4770 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
4771 syscall-template file.
4773 2019-01-31 Carlos O'Donell <carlos@redhat.com>
4774 Torvald Riegel <triegel@redhat.com>
4775 Rik Prohaska <prohaska7@gmail.com>
4778 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
4779 tst-rwlock-trywrlock-stall.
4780 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4781 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
4782 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
4783 Set __wrphase_fute to 1 only if we started the write phase.
4784 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
4785 * nptl/tst-rwlock-trywrlock-stall.c: New file.
4786 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
4787 * support/xpthread_rwlock_destroy.c: New file.
4788 * support/xthread.h: Declare xpthread_rwlock_destroy.
4790 2019-02-01 Joseph Myers <joseph@codesourcery.com>
4792 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
4795 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
4798 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
4799 * libio/fileops.c (_IO_new_file_underflow): Likewise
4800 * libio/wfileops.c (_IO_wfile_underflow): Likewise
4801 * libio/putchar.c (putchar): Likewise.
4802 * libio/putchar_u.c (putchar_unlocked): Likewise.
4803 * libio/putwchar.c (putchar): Likewise.
4804 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
4805 * libio/tst-bz24051.c: New test.
4806 * libio/Makefile (tests): Add tst-bz24051
4808 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
4811 regex: fix read overrun [BZ #24114]
4812 Problem found by AddressSanitizer, reported by Hongxu Chen in:
4813 https://debbugs.gnu.org/34140
4814 * posix/regexec.c (proceed_next_node):
4815 Do not read past end of input buffer.
4817 2019-01-31 Florian Weimer <fweimer@redhat.com>
4820 * nss/nss_files/files-alias.c (get_next_alias): Handle
4821 continuation line without newline at the end.
4822 * nss/tst-nss-files-alias-truncated.c: New file.
4823 * nss/Makefile [$(build-shared)] (tests): Add
4824 tst-nss-files-alias-truncated.
4825 (tst-nss-files-alias-truncated): Link with libnss_files.so.
4826 * support/namespace.h (struct support_chroot_configuration): Add
4828 (struct support_chroot): Add path_aliases member.
4829 * support/support_chroot.c (support_chroot_create): Handle
4831 (support_chroot_free): Free path_aliases.
4833 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
4835 * version.h (RELEASE): Set to "development".
4836 (VERSION): Set to "2.29.9000".
4837 * NEWS: Add section for 2.30.
4839 * version.h (RELEASE): Set to "stable".
4840 (VERSION): Set to "2.29".
4841 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
4843 * NEWS: Add the list of bugs fixed in 2.29.
4844 * manual/contrib.texi: Update contributors list with some more
4846 * manual/install.texi: Update latest versions of packages
4848 * INSTALL: Regenerated.
4850 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
4852 * po/be.po: Update translations.
4853 * po/bg.po: Likewise.
4854 * po/ca.po: Likewise.
4855 * po/cs.po: Likewise.
4856 * po/da.po: Likewise.
4857 * po/de.po: Likewise.
4858 * po/el.po: Likewise.
4859 * po/eo.po: Likewise.
4860 * po/es.po: Likewise.
4861 * po/fi.po: Likewise.
4862 * po/fr.po: Likewise.
4863 * po/gl.po: Likewise.
4864 * po/hr.po: Likewise.
4865 * po/hu.po: Likewise.
4866 * po/ia.po: Likewise.
4867 * po/id.po: Likewise.
4868 * po/it.po: Likewise.
4869 * po/ja.po: Likewise.
4870 * po/ko.po: Likewise.
4871 * po/lt.po: Likewise.
4872 * po/nb.po: Likewise.
4873 * po/nl.po: Likewise.
4874 * po/pl.po: Likewise.
4875 * po/pt_BR.po: Likewise.
4876 * po/ru.po: Likewise.
4877 * po/rw.po: Likewise.
4878 * po/sk.po: Likewise.
4879 * po/sl.po: Likewise.
4880 * po/sv.po: Likewise.
4881 * po/tr.po: Likewise.
4882 * po/uk.po: Likewise.
4883 * po/vi.po: Likewise.
4884 * po/zh_CN.po: Likewise.
4885 * po/zh_TW.po: Likewise.
4887 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
4890 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
4891 of $f3 register on $y_is_neg path.
4893 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
4896 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
4897 sigaltstack.ss_flags.
4899 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
4902 * manual/time.texi (strftime): Document "%Ey".
4903 * time/strftime_l.c (__strftime_internal): Set the default width
4904 padding with zero of "%Ey" to 2.
4907 * manual/time.texi (strftime): Document "%EC" and "%EY".
4908 * time/Makefile (tests): Add tst-strftime2.
4909 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
4910 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
4911 override padding for "%Ey".
4912 If an optional flag ('_' or '-') is specified to "%EY", interpret the
4913 "%Ey" in the subformat as if decorated with that flag.
4914 * time/tst-strftime2.c: New file.
4916 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4918 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
4922 * elf/Makefile (tests): Add tst-audit13.
4923 (modules-names): Add tst-audit13mod1.
4924 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
4926 * elf/rtld.c (dl_main): Handle invalid audit module version.
4927 * elf/tst-audit13.c: New file.
4928 * elf/tst-audit13mod1.c: Likewise.
4930 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
4932 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
4933 returned by __hurd_at_flags.
4934 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
4935 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
4936 directly instead of __hurd_file_name_lookup.
4938 2019-01-21 Joseph Myers <joseph@codesourcery.com>
4940 * scripts/build-many-glibcs.py (Context.checkout): Default
4941 binutils version to 2.32 branch.
4943 2019-01-21 Florian Weimer <fweimer@redhat.com>
4947 resolv: Reject trailing characters in host names
4948 * include/arpa/inet.h (__inet_aton_exact): Declare.
4949 (inet_aton): Remove hidden prototype. No longer used internally.
4950 * nscd/gai.c (__inet_aton): Do not define.
4951 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
4952 * nss/digits_dots.c (__inet_aton): Likewise.
4953 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
4954 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
4955 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
4956 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
4957 (tst-resolv-trailing): Likewise.
4958 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
4960 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
4961 Make static. Add endp parameter.
4962 (__inet_aton_exact): New function.
4963 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
4964 (__inet_addr): Call inet_aton_end.
4965 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
4966 not just IPv6. Call __inet_aton_exact.
4967 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
4968 (tests): Make const. Add additional test cases with trailing
4970 (do_test): Use array_length.
4971 * resolv/tst-inet_aton_exact.c: New file.
4972 * resolv/tst-resolv-trailing.c: Likewise.
4973 * resolv/tst-resolv-nondecimal.c: Likewise.
4974 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
4976 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4980 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
4981 Clear the upper 32 bits of RSI register.
4982 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
4983 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
4984 and tst-size_t-wcsnlen.
4985 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
4986 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
4988 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4992 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
4993 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4994 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4995 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
4996 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
4998 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5002 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
5003 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5004 * sysdeps/x86_64/strcmp.S: Likewise.
5005 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
5006 tst-size_t-strncmp and tst-size_t-wcsncmp.
5007 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
5008 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
5009 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
5011 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5015 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
5016 RDX_LP for length. Clear the upper 32 bits of RDX register.
5017 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
5018 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
5019 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
5020 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
5022 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5026 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
5027 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
5028 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
5029 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
5031 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5035 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
5036 length. Clear the upper 32 bits of RDX register.
5037 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5038 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
5040 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
5042 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
5044 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
5046 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5050 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
5051 length. Clear the upper 32 bits of RDX register.
5052 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5053 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5054 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
5056 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
5057 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
5059 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5063 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
5064 upper 32 bits of RDX register.
5065 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
5066 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
5068 * sysdeps/x86_64/x32/test-size_t.h: New file.
5069 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
5070 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
5072 2019-01-18 Florian Weimer <fweimer@redhat.com>
5075 resolv: Do not send queries for non-host-names in nss_dns.
5076 * resolv/nss_dns/dns-host.c (check_name): New function.
5077 (_nss_dns_gethostbyname2_r): Use it.
5078 (_nss_dns_gethostbyname_r): Likewise.
5079 (_nss_dns_gethostbyname4_r): Likewise.
5081 2019-01-21 Florian Weimer <fweimer@redhat.com>
5083 * resolv/inet_addr.c: Reformat to GNU style.
5084 (__inet_addr, __inet_aton): Update comment.
5086 2019-01-18 Florian Weimer <fweimer@redhat.com>
5088 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
5089 ("malloc: Use current (C11-style) atomics for fastbin access").
5090 This commit introduces a substantial performance regression on
5092 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
5093 (REMOVE_FB): Define.
5094 (_int_malloc): Use it and reindent.
5095 (_int_free): Use CAS loop with
5096 catomic_compare_and_exchange_val_rel.
5097 (malloc_consolidate): Use atomic_exchange_acq.
5100 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
5102 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
5104 (LDFLAGS-tst-minsigstksz-2): Likewise.
5105 (LDFLAGS-tst-minsigstksz-3): Likewise.
5106 (LDFLAGS-tst-minsigstksz-3a): Likewise.
5107 (LDFLAGS-tst-minsigstksz-4): Likewise.
5109 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
5111 * manual/time.texi (strftime): Fix the wording to "alternative" rather
5114 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
5116 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
5118 2019-01-16 Zack Weinberg <zackw@panix.com>
5120 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
5121 (xget_sigstack_location): New test support functions.
5122 * support/xsigstack.c: New file, implementing them.
5123 * support/tst-xsigstack.c: New test for them.
5124 * support/Makefile: Update.
5126 * signal/tst-minsigstksz-1.c
5127 * signal/tst-minsigstksz-2.c
5128 * signal/tst-minsigstksz-3.c
5129 * signal/tst-minsigstksz-3a.c
5130 * signal/tst-minsigstksz-4.c: New tests.
5131 * signal/Makefile: Run them.
5133 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
5135 * po/libc.pot: Regenerate.
5137 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5139 * math/libm-test-fma.inc (fma_test_data): Set
5140 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
5142 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
5144 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
5145 (do_test): Changed __vector __int128_t to __vector unsigned int.
5147 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5149 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5150 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
5151 stpcpy-avx2 and stpncpy-avx2.
5152 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
5153 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
5154 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
5156 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
5157 ifunc-strcpy.h}: rename header for a more generic name.
5158 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
5159 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
5160 AVX unaligned load is fast and vzeroupper is preferred.
5161 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
5162 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
5163 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
5164 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
5165 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
5166 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
5168 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
5170 * argp/argp-help.c: Fix typo in comment.
5171 * misc/sys/cdefs.h: Likewise.
5172 * posix/regexec.c (sift_states_iter_mb): Likewise.
5173 * socket/sockatmark.c: Likewise.
5174 * socket/sys/socket.h: Likewise.
5175 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
5176 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
5177 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
5178 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5179 * sysdeps/unix/sockatmark.c: Likewise.
5180 * time/strptime_l.c: Likewise.
5182 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
5184 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
5185 missing space after the cast of "_NL_CURRENT".
5187 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
5189 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
5190 ifdef to fix read of VSCR.
5191 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
5192 tst-ucontext-ppc64-vscr.c to test list.
5193 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
5195 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
5197 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
5200 2019-01-09 Jim Wilson <jimw@sifive.com>
5202 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
5204 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
5206 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
5207 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
5208 __memcpy_falkor for ares.
5209 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
5211 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
5214 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
5217 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
5218 4_FP_W_TYPEs are used for IEEE quad precision.
5219 * soft-fp/extendhftf2.c: Likewise.
5220 * soft-fp/extendsftf2.c: Likewise.
5221 * soft-fp/extendxftf2.c: Likewise.
5222 * soft-fp/trunctfdf2.c: Likewise.
5223 * soft-fp/trunctfhf2.c: Likewise.
5224 * soft-fp/trunctfsf2.c: Likewise.
5225 * soft-fp/trunctfxf2.c: Likewise.
5226 * sysdeps/alpha/ots_cvttx.c: Likewise.
5227 * sysdeps/alpha/ots_cvtxt.c: Likewise.
5228 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
5229 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
5230 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
5231 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
5232 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
5233 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
5234 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
5235 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
5236 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
5237 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
5238 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
5239 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
5240 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
5241 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
5242 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
5243 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
5245 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
5248 * Makeconfig: Build libm with -fno-math-errno but build the remaining
5249 code with -fmath-errno.
5250 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
5251 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
5252 * string/test-strerror-errno.c: New file.
5254 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
5257 * localedata/locales/en_US (date_fmt): Add, set to
5258 "%a %d %b %Y %r %Z".
5260 2019-01-07 Florian Weimer <fweimer@redhat.com>
5263 * manual/arith.texi (Math Error Reporting): Use @code{errno}
5264 instead of @var{errno}.
5265 (Parsing of Integers): Likewise.
5266 (Parsing of Floats): Likewise.
5267 * manual/filesys.texi (Working with Directory Trees): Likewise.
5268 (Temporary Files): Likewise.
5269 * manual/job.texi (Terminal Access Functions): Likewise.
5270 * manual/llio.texi (Synchronizing I/O): Likewise.
5271 * manual/math.texi (SVID Random): Likewise.
5272 * manual/message.texi (The catgets Functions): Likewise.
5273 (Translation with gettext): Likewise.
5274 (Locating gettext catalog): Likewise.
5275 (Charset conversion in gettext): Likewise.
5276 * manual/nss.texi (NSS Module Function Internals): Likewise.
5277 * manual/search.texi (Hash Search Function): Likewise.
5278 * manual/setjmp.texi (System V contexts): Likewise.
5279 * manual/time.texi (Sleeping): Likewise.
5280 * manual/users.texi (Lookup User): Likewise.
5281 (Lookup Group): Likewise.
5283 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5285 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
5288 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
5291 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
5292 __builtin_unreachable for default case in switch.
5293 (__ieee754_yn): Likewise.
5294 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5295 (__ieee754_ynl): Likewise.
5296 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5297 (__ieee754_ynl): Likewise.
5298 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5299 (__ieee754_ynl): Likewise.
5301 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
5303 * manual/maint.texi: Use @{ and @}.
5305 2019-01-04 Florian Weimer <fweimer@redhat.com>
5307 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
5309 (do_in_chroot_1): Call it.
5311 Improve error reporting in case it is not possible to create a
5312 collision for the PTY name required by the test.
5314 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5316 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
5317 lll_wait_tid with timeout.
5318 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
5319 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
5320 futex_reltimed_wait_cancelable for cancelabla mode.
5321 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
5322 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
5324 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
5325 * sysdeps/posix/waitid.c (__sigwait): Likewise.
5326 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
5327 SYSCALL_CANCEL_NCS): New macro.
5328 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
5329 (lll_timedwait_tid): Remove macro.
5330 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
5332 (lll_timedwait_tid): Likewise.
5333 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
5335 (lll_timedwait_tid): Likewise.
5336 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
5338 (lll_timedwait_tid): Likewise.
5339 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
5340 Use INTERNAL_SYSCALL_CANCEL.
5341 * sysdeps/unix/sysv/linux/futex-internal.h
5342 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
5343 instead of __pthread_{enable,disable}_asynccancel.
5344 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
5345 (lll_futex_wait_cancel): New macro.
5347 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
5348 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
5350 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
5351 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
5353 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
5354 in backtrace analysis.
5355 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
5357 (tf_send): Likewise.
5359 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
5360 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
5361 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
5362 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
5363 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
5364 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
5365 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
5366 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
5367 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
5368 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
5369 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
5370 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
5372 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
5373 tst-cancel-wrappers.sh.
5374 (generated): Remove tst-cancel-wrappers.out.
5375 (tst-cancel-wrappers.out): Remove rule.
5376 * nptl/tst-cancel-wrappers.sh: Remove file.
5378 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
5380 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
5381 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
5384 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5387 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
5388 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
5389 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
5390 close-on-exec reset for adddup2 file action.
5391 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
5393 2019-01-03 Zack Weinberg <zackw@panix.com>
5395 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
5396 parameter. Only use deprecated scanf when __USE_GNU is defined
5397 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
5398 than 201103L, whichever is relevant for the language being compiled.
5400 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
5401 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
5402 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
5403 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
5404 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
5408 * libio/iovswscanf.c
5413 * stdio-common/fscanf.c
5414 * stdio-common/scanf.c
5415 * stdio-common/vfscanf.c
5416 * stdio-common/vfwscanf.c
5417 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5418 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
5419 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
5420 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
5421 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
5422 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
5423 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
5424 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
5425 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
5426 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
5427 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
5428 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
5429 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
5430 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
5431 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
5433 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
5434 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
5435 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
5437 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
5438 with a preprocessor macro.
5440 * stdio-common/bug21.c, stdio-common/scanf14.c:
5441 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
5442 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
5443 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
5444 to xscanf, xfscanf, xsscanf.
5446 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
5447 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
5448 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
5449 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
5451 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
5452 override feature selection macros or provide definitions of u_char etc.
5453 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
5454 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
5455 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
5458 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5460 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5461 bits/termios-misc.h.
5462 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
5463 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5464 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5465 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5466 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
5467 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
5469 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
5470 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
5471 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
5472 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
5473 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
5474 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
5476 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
5477 (sysdep_headers): Add termios-misc.h.
5479 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
5480 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5481 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5483 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5485 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
5486 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
5487 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
5488 TCSAFLUSH): Move to termios-tcflow.h.
5489 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5490 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5491 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5492 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5494 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5496 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
5497 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
5498 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
5499 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
5500 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
5501 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
5502 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
5503 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
5505 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5506 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5507 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5508 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5510 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5512 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
5513 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
5514 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
5515 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
5516 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
5518 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5519 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5520 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5521 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5524 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5526 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
5527 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
5528 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
5529 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
5530 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
5531 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
5532 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
5533 __MAX_BAUD): Move to termios-baud.h.
5534 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
5535 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
5536 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5537 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5538 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5540 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
5542 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
5543 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
5544 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
5545 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
5546 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
5547 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
5549 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
5550 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
5552 [USE_MISC] (XTABS): Likewise.
5553 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5554 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5555 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5556 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
5558 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
5560 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
5561 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
5562 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
5563 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
5564 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
5565 IUTF8): Move to termios-c_iflag.h.
5566 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5567 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5568 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5569 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5571 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
5573 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
5574 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
5575 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
5576 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
5577 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
5578 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
5579 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
5580 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
5581 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5582 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5583 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5584 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5586 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
5587 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
5588 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
5589 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
5590 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5592 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
5594 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
5596 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
5598 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
5600 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
5602 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
5603 _HAVE_C_OSPEED): Define.
5604 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
5605 _HAVE_C_OSPEED): Likewise.
5606 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
5607 _HAVE_C_OSPEED): Likewise.
5608 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
5609 (cfsetospeed): Check for define value instead of existence.
5610 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
5611 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
5612 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
5613 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
5614 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
5617 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
5619 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
5620 (TIOCSER_TEMT): Likewise.
5621 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
5622 (TEOCSER_TEMT): Likewise.
5624 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
5627 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
5629 2019-01-02 Joseph Myers <joseph@codesourcery.com>
5631 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
5633 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5635 * sysdeps/htl/pt-barrierattr-setpshared.c
5636 (pthread_barrierattr_setpshared): Add stub warning.
5637 * sysdeps/htl/pt-condattr-setpshared.c
5638 (pthread_condattr_setpshared): Likewise.
5639 * sysdeps/htl/pt-mutexattr-setpshared.c
5640 (pthread_mutexattr_setpshared): Likewise.
5641 * sysdeps/htl/pt-rwlockattr-setpshared.c
5642 (pthread_rwlockattr_setpshared): Likewise.
5643 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
5644 (pthread_mutexattr_setpshared): Likewise.
5646 2019-01-02 Joseph Myers <joseph@codesourcery.com>
5648 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
5649 constants to match with Linux 4.20.
5651 * sysdeps/mips/mips32/libm-test-ulps: Update.
5652 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5654 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
5657 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
5658 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
5659 than __typeof (...) for the a_ptr variable.
5661 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5663 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
5664 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
5665 * libio/Makefile (tests): Add tst-sprintf-ub and
5667 (CFLAGS-tst-sprintf-ub.c): New variable.
5668 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
5669 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
5670 destination buffer and check for overflows in fortified mode.
5671 * libio/libioP.h (PRINTF_CHK): New macro.
5672 * libio/tst-sprintf-chk-ub.c: New file.
5673 * libio/tst-sprintf-ub.c: Likewise.
5675 2019-01-02 Florian Weimer <fweimer@redhat.com>
5678 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
5681 2019-01-02 Florian Weimer <fweimer@redhat.com>
5683 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
5685 2019-01-01 Joseph Myers <joseph@codesourcery.com>
5687 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
5690 * sysdeps/unix/sysv/linux/netpacket/packet.h
5691 (PACKET_IGNORE_OUTGOING): New macro.
5693 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
5696 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5698 (riscv_flush_icache): New syscall.
5700 * manual/texinfo.tex: Update to version 2018-12-28.17 with
5701 trailing whitespace removed.
5702 * scripts/config.guess: Update to version 2019-01-01.
5703 * scripts/config.sub: Update to version 2019-01-01.
5704 * scripts/move-if-change: Update from gnulib.
5706 * NEWS: Update copyright dates.
5707 * catgets/gencat.c (print_version): Likewise.
5708 * csu/version.c (banner): Likewise.
5709 * debug/catchsegv.sh: Likewise.
5710 * debug/pcprofiledump.c (print_version): Likewise.
5711 * debug/xtrace.sh (do_version): Likewise.
5712 * elf/ldconfig.c (print_version): Likewise.
5713 * elf/ldd.bash.in: Likewise.
5714 * elf/pldd.c (print_version): Likewise.
5715 * elf/sotruss.sh: Likewise.
5716 * elf/sprof.c (print_version): Likewise.
5717 * iconv/iconv_prog.c (print_version): Likewise.
5718 * iconv/iconvconfig.c (print_version): Likewise.
5719 * locale/programs/locale.c (print_version): Likewise.
5720 * locale/programs/localedef.c (print_version): Likewise.
5721 * login/programs/pt_chown.c (print_version): Likewise.
5722 * malloc/memusage.sh (do_version): Likewise.
5723 * malloc/memusagestat.c (print_version): Likewise.
5724 * malloc/mtrace.pl: Likewise.
5725 * manual/libc.texinfo: Likewise.
5726 * nptl/version.c (banner): Likewise.
5727 * nscd/nscd.c (print_version): Likewise.
5728 * nss/getent.c (print_version): Likewise.
5729 * nss/makedb.c (print_version): Likewise.
5730 * posix/getconf.c (main): Likewise.
5731 * scripts/test-installation.pl: Likewise.
5732 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5734 * All files with FSF copyright notices: Update copyright dates
5735 using scripts/update-copyrights.
5736 * locale/programs/charmap-kw.h: Regenerated.
5737 * locale/programs/locfile-kw.h: Likewise.
5739 2018-12-31 Joseph Myers <joseph@codesourcery.com>
5741 * timezone/zdump.c: Update from tzcode 2018i.
5742 * timezone/zic.c: Likewise.
5744 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
5746 regex: improve Gnulib port to AIX
5747 From the glibc point of view, this removes duplicate macro
5748 definitions and is obviously safe.
5749 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
5750 * posix/regex_internal.h:
5751 (__attribute__, __attribute_warn_unused_result__):
5752 Remove; already defined elsewhere.
5754 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
5757 * malloc/malloc.c (_int_realloc): Always call memcpy for the
5758 copying operation. (ncopies had the wrong type, resulting in an
5759 integer wraparound and too few elements being copied.)
5761 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
5764 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
5765 <asm/syscalls.h> exists with __has_include__ before including it.
5767 2018-12-31 Joseph Myers <joseph@codesourcery.com>
5769 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5772 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
5774 * hurd/lookup-retry: Include <unistd.h>.
5775 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
5776 Release it on return. Handle "pid" magical lookup retry.
5778 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
5781 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
5782 (t_fmt_ampm): Likewise.
5783 * localedata/locales/aa_ER (t_fmt): Likewise.
5784 (t_fmt_ampm): Likewise.
5785 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
5786 (t_fmt_ampm): Likewise.
5787 * localedata/locales/aa_ET (t_fmt): Likewise.
5788 (t_fmt_ampm): Likewise.
5789 * localedata/locales/am_ET (t_fmt): Likewise.
5790 (t_fmt_ampm): Likewise.
5791 * localedata/locales/byn_ER (t_fmt): Likewise.
5792 (t_fmt_ampm): Likewise.
5793 * localedata/locales/om_ET (t_fmt): Likewise.
5794 (t_fmt_ampm): Likewise.
5795 * localedata/locales/sid_ET (t_fmt): Likewise.
5796 (t_fmt_ampm): Likewise.
5797 * localedata/locales/so_DJ (t_fmt): Likewise.
5798 (t_fmt_ampm): Likewise.
5799 * localedata/locales/so_ET (t_fmt): Likewise.
5800 (t_fmt_ampm): Likewise.
5801 * localedata/locales/so_SO (t_fmt): Likewise.
5802 (t_fmt_ampm): Likewise.
5803 * localedata/locales/ti_ER (t_fmt): Likewise.
5804 (t_fmt_ampm): Likewise.
5805 * localedata/locales/ti_ET (t_fmt): Likewise.
5806 (t_fmt_ampm): Likewise.
5807 * localedata/locales/tig_ER (t_fmt): Likewise.
5808 (t_fmt_ampm): Likewise.
5809 * localedata/locales/wal_ET (t_fmt): Likewise.
5810 (t_fmt_ampm): Likewise.
5812 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
5813 * localedata/locales/ar_IN (t_fmt): Likewise.
5814 * localedata/locales/bhb_IN (t_fmt): Likewise.
5815 * localedata/locales/bho_IN (t_fmt): Likewise.
5816 * localedata/locales/bi_VU (t_fmt): Likewise.
5817 * localedata/locales/bn_BD (t_fmt): Likewise.
5818 * localedata/locales/bn_IN (t_fmt): Likewise.
5819 * localedata/locales/brx_IN (t_fmt): Likewise.
5820 * localedata/locales/doi_IN (t_fmt): Likewise.
5821 * localedata/locales/en_HK (t_fmt): Likewise.
5822 (t_fmt_ampm): Likewise.
5823 * localedata/locales/en_IN (t_fmt): Likewise.
5824 * localedata/locales/en_PH (t_fmt): Likewise.
5825 * localedata/locales/gu_IN (t_fmt): Likewise.
5826 * localedata/locales/hi_IN (t_fmt): Likewise.
5827 * localedata/locales/hif_FJ (t_fmt): Likewise.
5828 * localedata/locales/hne_IN (t_fmt): Likewise.
5829 * localedata/locales/kn_IN (t_fmt): Likewise.
5830 * localedata/locales/kok_IN (t_fmt): Likewise.
5831 * localedata/locales/ks_IN (t_fmt): Likewise.
5832 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
5833 * localedata/locales/mag_IN (t_fmt): Likewise.
5834 * localedata/locales/mai_IN (t_fmt): Likewise.
5835 * localedata/locales/mjw_IN (t_fmt): Likewise.
5836 * localedata/locales/ml_IN (t_fmt): Likewise.
5837 * localedata/locales/mni_IN (t_fmt): Likewise.
5838 * localedata/locales/mr_IN (t_fmt): Likewise.
5839 * localedata/locales/ms_MY (t_fmt): Likewise.
5840 * localedata/locales/pa_IN (t_fmt): Likewise.
5841 * localedata/locales/raj_IN (t_fmt): Likewise.
5842 * localedata/locales/sa_IN (t_fmt): Likewise.
5843 * localedata/locales/sat_IN (t_fmt): Likewise.
5844 * localedata/locales/sd_IN (t_fmt): Likewise.
5845 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
5846 * localedata/locales/tcy_IN (t_fmt): Likewise.
5847 * localedata/locales/the_NP (t_fmt): Likewise.
5848 * localedata/locales/to_TO (t_fmt): Likewise.
5849 * localedata/locales/ur_IN (t_fmt): Likewise.
5851 * localedata/locales/hif_FJ (d_t_fmt): Set to
5852 "%A %d %b %Y %I:%M:%S %p".
5853 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
5855 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
5856 * localedata/locales/ar_BH (t_fmt): Likewise.
5857 * localedata/locales/ar_DZ (t_fmt): Likewise.
5858 * localedata/locales/ar_EG (t_fmt): Likewise.
5859 * localedata/locales/ar_IQ (t_fmt): Likewise.
5860 * localedata/locales/ar_JO (t_fmt): Likewise.
5861 * localedata/locales/ar_KW (t_fmt): Likewise.
5862 * localedata/locales/ar_LB (t_fmt): Likewise.
5863 * localedata/locales/ar_LY (t_fmt): Likewise.
5864 * localedata/locales/ar_OM (t_fmt): Likewise.
5865 * localedata/locales/ar_QA (t_fmt): Likewise.
5866 * localedata/locales/ar_SD (t_fmt): Likewise.
5867 * localedata/locales/ar_SS (t_fmt): Likewise.
5868 * localedata/locales/ar_SY (t_fmt): Likewise.
5869 * localedata/locales/ar_TN (t_fmt): Likewise.
5870 * localedata/locales/ar_YE (t_fmt): Likewise.
5872 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
5873 (t_fmt_ampm): Likewise.
5874 * localedata/locales/gez_ET (t_fmt): Likewise.
5875 (t_fmt_ampm): Likewise.
5877 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
5878 (t_fmt_ampm): Likewise.
5879 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
5881 * localedata/locales/zh_HK (t_fmt):
5882 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
5884 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
5885 because this locale does not use the 12-hour clock.
5886 (t_fmt): Set to "%Z %H:%M:%S".
5887 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
5889 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
5890 because this locale does not use the 12-hour clock.
5891 (t_fmt): Set to "%H:%M:%S %Z".
5892 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
5894 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
5895 because this locale does not use the 12-hour clock.
5896 (t_fmt): Set to "%T".
5897 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
5898 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
5900 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
5901 because this locale does not use the 12-hour clock.
5902 (t_fmt): Set to "%H:%M:%S %Z".
5903 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
5905 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
5906 because this locale does not use the 12-hour clock.
5907 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
5908 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
5910 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
5914 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
5915 (t_fmt_ampm): Likewise.
5916 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
5917 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
5918 (d_fmt): Set to "%-d.%-m.%y".
5920 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5922 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
5923 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
5924 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
5926 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
5927 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
5928 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
5930 * support/blob_repeat.c (check_mul_overflow_size_t,
5931 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
5933 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
5935 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
5937 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
5939 regex: simplify Gnulib port
5940 This simplifies the code, by removing stuff intended for porting
5941 to Gnulib but no longer needed there.
5942 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
5943 uses of libc_hidden_def, weak_alias.
5944 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
5945 _Restrict_ except for public-facing headers.
5946 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
5947 Remove; already defined elsewhere.
5948 * posix/regex.c, posix/regex_internal.h:
5949 Use __GNUC_PREREQ instead of rolling our own.
5950 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
5952 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
5954 * benchtests/bench-strlen.c (generic_strlen): New function.
5955 (memchr_strlen): New function.
5957 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
5959 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
5960 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
5961 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
5963 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
5965 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5967 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
5969 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
5970 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
5971 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
5972 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
5973 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
5974 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
5975 <sysdeps/ieee754/flt-32/s_sincosf.c>.
5977 2018-12-21 Joseph Myers <joseph@codesourcery.com>
5980 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
5981 PLT reference in libc.so.
5982 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
5983 _Q_lltoq and _Q_qtod PLT references in libc.so.
5985 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
5987 * benchtests/bench-memchr.c: Cleanup defines.
5988 * benchtests/bench-memcmp.c: Likewise.
5989 * benchtests/bench-memset.c: Likewise.
5990 * benchtests/bench-memset-large.c: Likewise.
5991 * benchtests/bench-memset-walk.c: Likewise.
5992 * benchtests/bench-stpcpy.c: Likewise.
5993 * benchtests/bench-stpncpy.c: Likewise.
5994 * benchtests/bench-strcat.c: Likewise.
5995 * benchtests/bench-strchr.c: Likewise.
5996 * benchtests/bench-strcmp.c: Likewise.
5997 * benchtests/bench-strcpy.c: Likewise.
5998 * benchtests/bench-strcspn.c: Likewise.
5999 * benchtests/bench-string.h: Likewise.
6000 * benchtests/bench-strlen.c: Likewise.
6001 * benchtests/bench-strncat.c: Likewise.
6002 * benchtests/bench-strncmp.c: Likewise.
6003 * benchtests/bench-strncpy.c: Likewise.
6004 * benchtests/bench-strnlen.c: Likewise.
6005 * benchtests/bench-strpbrk.c: Likewise.
6006 * benchtests/bench-strrchr.c: Likewise.
6007 * benchtests/bench-strspn.c: Likewise.
6009 2018-12-21 Joseph Myers <joseph@codesourcery.com>
6011 * stdlib/longlong.h: Update from GCC.
6014 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
6015 * configure: Regenerated.
6016 * manual/install.texi (Tools for Compilation): Update minimum GCC
6018 * INSTALL: Regenerated.
6020 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
6022 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
6024 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
6026 * malloc/malloc.c (mremap_chunk): Additional checks.
6028 2018-12-21 Mao Han <han_mao@c-sky.com>
6030 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
6031 * scripts/build-many-glibcs.py: Add C-SKY targets.
6032 * sysdeps/csky/Implies: New file.
6033 * sysdeps/csky/Makefile: Likewise.
6034 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
6035 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
6036 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
6037 * sysdeps/csky/abiv2/memcmp.S: Likewise.
6038 * sysdeps/csky/abiv2/memcpy.S: Likewise.
6039 * sysdeps/csky/abiv2/memmove.S: Likewise.
6040 * sysdeps/csky/abiv2/memset.S: Likewise.
6041 * sysdeps/csky/abiv2/setjmp.S: Likewise.
6042 * sysdeps/csky/abiv2/start.S: Likewise.
6043 * sysdeps/csky/abiv2/strcmp.S: Likewise.
6044 * sysdeps/csky/abiv2/strcpy.S: Likewise.
6045 * sysdeps/csky/abiv2/strlen.S: Likewise.
6046 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
6047 * sysdeps/csky/abort-instr.h: Likewise.
6048 * sysdeps/csky/atomic-machine.h: Likewise.
6049 * sysdeps/csky/bits/endian.h: Likewise.
6050 * sysdeps/csky/bits/fenv.h: Likewise.
6051 * sysdeps/csky/bits/link.h: Likewise.
6052 * sysdeps/csky/bits/setjmp.h: Likewise.
6053 * sysdeps/csky/bsd-_setjmp.S: Likewise.
6054 * sysdeps/csky/bsd-setjmp.S: Likewise.
6055 * sysdeps/csky/configure: Likewise.
6056 * sysdeps/csky/configure.ac: Likewise.
6057 * sysdeps/csky/dl-machine.h: Likewise.
6058 * sysdeps/csky/dl-procinfo.c: Likewise.
6059 * sysdeps/csky/dl-procinfo.h: Likewise.
6060 * sysdeps/csky/dl-sysdep.h: Likewise.
6061 * sysdeps/csky/dl-tls.h: Likewise.
6062 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
6063 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
6064 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
6065 * sysdeps/csky/fpu/fegetenv.c: Likewise.
6066 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
6067 * sysdeps/csky/fpu/fegetmode.c: Likewise.
6068 * sysdeps/csky/fpu/fegetround.c: Likewise.
6069 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
6070 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
6071 * sysdeps/csky/fpu/fenv_private.h: Likewise.
6072 * sysdeps/csky/fpu/fesetenv.c: Likewise.
6073 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
6074 * sysdeps/csky/fpu/fesetmode.c: Likewise.
6075 * sysdeps/csky/fpu/fesetround.c: Likewise.
6076 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
6077 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
6078 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
6079 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
6080 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
6081 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
6082 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
6083 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
6084 * sysdeps/csky/fpu_control.h: Likewise.
6085 * sysdeps/csky/gccframe.h: Likewise.
6086 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
6087 * sysdeps/csky/ldsodefs.h: Likewise.
6088 * sysdeps/csky/libc-tls.c: Likewise.
6089 * sysdeps/csky/linkmap.h: Likewise.
6090 * sysdeps/csky/machine-gmon.h: Likewise.
6091 * sysdeps/csky/memusage.h: Likewise.
6092 * sysdeps/csky/nofpu/Implies: Likewise.
6093 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
6094 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
6095 * sysdeps/csky/nptl/Makefile: Likewise.
6096 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
6097 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
6098 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
6099 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
6100 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
6101 * sysdeps/csky/nptl/tls.h: Likewise.
6102 * sysdeps/csky/preconfigure: Likewise.
6103 * sysdeps/csky/sfp-machine.h: Likewise.
6104 * sysdeps/csky/sotruss-lib.c: Likewise.
6105 * sysdeps/csky/stackinfo.h: Likewise.
6106 * sysdeps/csky/sysdep.h: Likewise.
6107 * sysdeps/csky/tininess.h: Likewise.
6108 * sysdeps/csky/tst-audit.h: Likewise.
6109 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
6110 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
6111 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
6112 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
6113 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
6114 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
6115 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
6116 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
6117 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
6118 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
6119 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
6120 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
6121 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
6122 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
6123 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
6124 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
6125 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
6126 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
6127 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
6128 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
6129 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
6130 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
6131 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
6132 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
6133 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
6134 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
6135 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
6136 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
6137 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
6138 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
6139 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
6140 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
6141 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
6142 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
6143 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
6144 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
6145 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
6146 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
6147 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
6148 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
6149 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
6150 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
6151 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
6152 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
6154 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
6156 * include/time.h (__difftime64): Add.
6157 * time/difftime.c (subtract): convert to 64-bit time.
6158 * time/difftime.c (__difftime64): Add.
6159 * time/difftime.c (__difftime): Wrap around __difftime64.
6161 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
6163 * manual/examples/add.c: Remove redundant "if not".
6164 * manual/examples/argp-ex1.c: Likewise.
6165 * manual/examples/argp-ex2.c: Likewise.
6166 * manual/examples/argp-ex3.c: Likewise.
6167 * manual/examples/argp-ex4.c: Likewise.
6168 * manual/examples/atexit.c: Likewise.
6169 * manual/examples/db.c: Likewise.
6170 * manual/examples/dir.c: Likewise.
6171 * manual/examples/dir2.c: Likewise.
6172 * manual/examples/execinfo.c: Likewise.
6173 * manual/examples/filecli.c: Likewise.
6174 * manual/examples/filesrv.c: Likewise.
6175 * manual/examples/fmtmsgexpl.c: Likewise.
6176 * manual/examples/genpass.c: Likewise.
6177 * manual/examples/inetcli.c: Likewise.
6178 * manual/examples/inetsrv.c: Likewise.
6179 * manual/examples/isockad.c: Likewise.
6180 * manual/examples/longopt.c: Likewise.
6181 * manual/examples/memopen.c: Likewise.
6182 * manual/examples/memstrm.c: Likewise.
6183 * manual/examples/mkdirent.c: Likewise.
6184 * manual/examples/mkfsock.c: Likewise.
6185 * manual/examples/mkisock.c: Likewise.
6186 * manual/examples/mygetpass.c: Likewise.
6187 * manual/examples/pipe.c: Likewise.
6188 * manual/examples/popen.c: Likewise.
6189 * manual/examples/rprintf.c: Likewise.
6190 * manual/examples/search.c: Likewise.
6191 * manual/examples/select.c: Likewise.
6192 * manual/examples/setjmp.c: Likewise.
6193 * manual/examples/sigh1.c: Likewise.
6194 * manual/examples/sigusr.c: Likewise.
6195 * manual/examples/stpcpy.c: Likewise.
6196 * manual/examples/strdupa.c: Likewise.
6197 * manual/examples/strftim.c: Likewise.
6198 * manual/examples/subopt.c: Likewise.
6199 * manual/examples/swapcontext.c: Likewise.
6200 * manual/examples/termios.c: Likewise.
6201 * manual/examples/testopt.c: Likewise.
6202 * manual/examples/testpass.c: Likewise.
6203 * manual/examples/timeval_subtract.c: Likewise.
6205 2018-12-19 Joseph Myers <joseph@codesourcery.com>
6207 * sysdeps/x86/fpu/math_private.h: New file.
6208 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
6210 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
6215 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6217 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
6218 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
6219 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
6220 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
6222 (_dl_show_auxv): Give a special treatment to
6223 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
6224 and AT_L3_CACHEGEOMETRY.
6225 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
6226 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
6227 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
6228 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
6230 2018-12-19 Andreas Schwab <schwab@suse.de>
6232 * nscd/connections.c (check_use): Don't abort on invalid len.
6234 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
6236 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
6237 values in the 64bit value cases.
6239 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
6245 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
6251 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
6254 (__gmtime64_r): Add.
6256 (__gmtime64_r): Add.
6257 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
6263 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
6266 (__localtime64_r): Add.
6268 (__localtime64_r): Add.
6269 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
6271 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6273 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
6274 kernel_sigction definition.
6276 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
6278 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
6280 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
6281 __syscall_rt_sigaction.
6282 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
6283 (kernel_sigaction): Use Linux generic defintion.
6285 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
6286 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
6287 (__syscall_rt_sigaction): Remove implementation.
6288 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
6290 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
6291 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
6292 INTERNAL_SYSCALL): Remove definitions.
6293 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
6294 action and signal set size.
6295 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
6296 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
6298 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6299 James Clarke <jrtc27@jrtc27.com>
6302 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
6303 Define if SA_RESTORER is defined.
6304 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
6305 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
6307 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
6308 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
6310 (HAS_SA_RESTORER): Define.
6311 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
6312 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
6313 (HAS_SA_RESTORER): Define.
6314 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
6315 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
6316 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
6317 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
6318 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6320 2018-12-18 Joseph Myers <joseph@codesourcery.com>
6322 * sysdeps/unix/sysv/linux/kernel-features.h
6323 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
6324 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6325 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
6326 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6327 (__ASSUME_ST_INO_64_BIT): Likewise.
6328 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
6329 <kernel-features.h>.
6330 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
6331 Remove conditional code.
6332 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6333 <kernel-features.h>.
6334 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
6335 Remove conditional code.
6336 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
6337 <kernel-features.h>.
6338 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
6339 Remove conditional code.
6340 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
6341 <kernel-features.h>.
6342 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
6343 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
6345 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6347 * sysdeps/s390/multiarch/ifunc-resolve.h
6348 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
6349 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
6350 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
6351 Delete macro definition.
6352 (s390_libc_ifunc_init): Rename to
6353 s390_libc_ifunc_expr_stfle_init.
6354 * sysdeps/s390/bzero: Use
6355 s390_libc_ifunc_expr_stfle_init instead of
6356 s390_libc_ifunc_init.
6357 * sysdeps/s390/memcmp.c: Likewise.
6358 * sysdeps/s390/memcpy.c: Likewise.
6359 * sysdeps/s390/mempcpy.c: Likewise.
6360 * sysdeps/s390/memset.c: Likewise.
6362 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6364 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
6365 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
6367 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6369 * sysdeps/s390/multiarch/Makefile
6370 (sysdep_routines): Remove wmemcmp variants.
6371 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
6372 * sysdeps/s390/multiarch/ifunc-impl-list.c
6373 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
6374 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
6375 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
6376 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
6377 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
6378 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
6379 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
6380 * sysdeps/s390/ifunc-wmemcmp.h: New file.
6382 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6384 * sysdeps/s390/multiarch/Makefile
6385 (sysdep_routines): Remove wmemset variants.
6386 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
6387 * sysdeps/s390/multiarch/ifunc-impl-list.c
6388 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
6389 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
6390 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
6391 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
6392 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
6393 * sysdeps/s390/multiarch/wmemset.c: Move to ...
6394 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
6395 * sysdeps/s390/ifunc-wmemset.h: New file.
6397 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6399 * sysdeps/s390/multiarch/Makefile
6400 (sysdep_routines): Remove wmemchr variants.
6401 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
6402 * sysdeps/s390/multiarch/ifunc-impl-list.c
6403 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
6404 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
6405 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
6406 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
6407 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
6408 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
6409 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
6410 * sysdeps/s390/ifunc-wmemchr.h: New file.
6412 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6414 * sysdeps/s390/multiarch/Makefile
6415 (sysdep_routines): Remove wcscspn variants.
6416 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
6417 * sysdeps/s390/multiarch/ifunc-impl-list.c
6418 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
6419 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
6420 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
6421 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
6422 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
6423 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
6424 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
6425 * sysdeps/s390/ifunc-wcscspn.h: New file.
6427 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6429 * sysdeps/s390/multiarch/Makefile
6430 (sysdep_routines): Remove wcspbrk variants.
6431 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
6432 * sysdeps/s390/multiarch/ifunc-impl-list.c
6433 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
6434 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
6435 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
6436 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
6437 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
6438 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
6439 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
6440 * sysdeps/s390/ifunc-wcspbrk.h: New file.
6442 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6444 * sysdeps/s390/multiarch/Makefile
6445 (sysdep_routines): Remove wcsspn variants.
6446 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
6447 * sysdeps/s390/multiarch/ifunc-impl-list.c
6448 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
6449 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
6450 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
6451 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
6452 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
6453 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
6454 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
6455 * sysdeps/s390/ifunc-wcsspn.h: New file.
6457 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6459 * sysdeps/s390/multiarch/Makefile
6460 (sysdep_routines): Remove wcsrchr variants.
6461 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
6462 * sysdeps/s390/multiarch/ifunc-impl-list.c
6463 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
6464 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
6465 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
6466 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
6467 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
6468 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
6469 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
6470 * sysdeps/s390/ifunc-wcsrchr.h: New file.
6472 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6474 * sysdeps/s390/multiarch/Makefile
6475 (sysdep_routines): Remove wcschrnul variants.
6476 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
6477 * sysdeps/s390/multiarch/ifunc-impl-list.c
6478 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
6479 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
6480 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
6481 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
6482 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
6483 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
6484 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
6485 * sysdeps/s390/ifunc-wcschrnul.h: New file.
6487 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6489 * sysdeps/s390/multiarch/Makefile
6490 (sysdep_routines): Remove wcschr variants.
6491 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
6492 * sysdeps/s390/multiarch/ifunc-impl-list.c
6493 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
6494 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
6495 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
6496 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
6497 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
6498 * sysdeps/s390/multiarch/wcschr.c: Move to ...
6499 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
6500 * sysdeps/s390/ifunc-wcschr.h: New file.
6502 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6504 * sysdeps/s390/multiarch/Makefile
6505 (sysdep_routines): Remove wcsncmp variants.
6506 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
6507 * sysdeps/s390/multiarch/ifunc-impl-list.c
6508 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
6509 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
6510 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
6511 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
6512 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
6513 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
6514 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
6515 * sysdeps/s390/ifunc-wcsncmp.h: New file.
6517 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6519 * sysdeps/s390/multiarch/Makefile
6520 (sysdep_routines): Remove wcscmp variants.
6521 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
6522 * sysdeps/s390/multiarch/ifunc-impl-list.c
6523 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
6524 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
6525 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
6526 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
6527 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
6528 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
6529 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
6530 * sysdeps/s390/ifunc-wcscmp.h: New file.
6532 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6534 * sysdeps/s390/multiarch/Makefile
6535 (sysdep_routines): Remove wcsncat variants.
6536 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
6537 * sysdeps/s390/multiarch/ifunc-impl-list.c
6538 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
6539 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
6540 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
6541 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
6542 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
6543 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
6544 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
6545 * sysdeps/s390/ifunc-wcsncat.h: New file.
6547 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6549 * sysdeps/s390/multiarch/Makefile
6550 (sysdep_routines): Remove wcscat variants.
6551 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
6552 * sysdeps/s390/multiarch/ifunc-impl-list.c
6553 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
6554 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
6555 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
6556 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
6557 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
6558 * sysdeps/s390/multiarch/wcscat.c: Move to ...
6559 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
6560 * sysdeps/s390/ifunc-wcscat.h: New file.
6562 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6564 * sysdeps/s390/multiarch/Makefile
6565 (sysdep_routines): Remove wcpncpy variants.
6566 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
6567 * sysdeps/s390/multiarch/ifunc-impl-list.c
6568 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
6569 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
6570 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
6571 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
6572 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
6573 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
6574 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
6575 * sysdeps/s390/ifunc-wcpncpy.h: New file.
6577 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6579 * sysdeps/s390/multiarch/Makefile
6580 (sysdep_routines): Remove wcsncpy variants.
6581 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
6582 * sysdeps/s390/multiarch/ifunc-impl-list.c
6583 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
6584 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
6585 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
6586 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
6587 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
6588 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
6589 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
6590 * sysdeps/s390/ifunc-wcsncpy.h: New file.
6592 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6594 * sysdeps/s390/multiarch/Makefile
6595 (sysdep_routines): Remove wcpcpy variants.
6596 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
6597 * sysdeps/s390/multiarch/ifunc-impl-list.c
6598 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
6599 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
6600 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
6601 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
6602 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
6603 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
6604 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
6605 * sysdeps/s390/ifunc-wcpcpy.h: New file.
6607 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6609 * sysdeps/s390/multiarch/Makefile
6610 (sysdep_routines): Remove wcscpy variants.
6611 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
6612 * sysdeps/s390/multiarch/ifunc-impl-list.c
6613 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
6614 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
6615 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
6616 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
6617 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
6618 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
6619 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
6620 * sysdeps/s390/ifunc-wcscpy.h: New file.
6622 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6624 * sysdeps/s390/multiarch/Makefile
6625 (sysdep_routines): Remove wcsnlen variants.
6626 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
6627 * sysdeps/s390/multiarch/ifunc-impl-list.c
6628 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
6629 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
6630 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
6631 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
6632 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
6633 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
6634 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
6635 * sysdeps/s390/ifunc-wcsnlen.h: New file.
6637 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6639 * sysdeps/s390/multiarch/Makefile
6640 (sysdep_routines): Remove wcslen variants.
6641 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
6642 * sysdeps/s390/multiarch/ifunc-impl-list.c
6643 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
6644 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
6645 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
6646 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
6647 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
6648 * sysdeps/s390/multiarch/wcslen.c: Move to ...
6649 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
6650 * sysdeps/s390/ifunc-wcslen.h: New file.
6652 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6654 * sysdeps/s390/multiarch/Makefile
6655 (sysdep_routines): Remove memrchr variants.
6656 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
6657 * sysdeps/s390/multiarch/ifunc-impl-list.c
6658 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
6659 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
6660 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
6661 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
6662 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
6663 * sysdeps/s390/multiarch/memrchr.c: Move to ...
6664 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
6665 * sysdeps/s390/ifunc-memrchr.h: New file.
6667 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6669 * sysdeps/s390/multiarch/Makefile
6670 (sysdep_routines): Remove memccpy variants.
6671 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
6672 * sysdeps/s390/multiarch/ifunc-impl-list.c
6673 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
6674 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
6675 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
6676 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
6677 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
6678 * sysdeps/s390/multiarch/memccpy.c: Move to ...
6679 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
6680 * sysdeps/s390/ifunc-memccpy.h: New file.
6682 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6684 * sysdeps/s390/multiarch/Makefile
6685 (sysdep_routines): Remove rawmemchr variants.
6686 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
6687 * sysdeps/s390/multiarch/ifunc-impl-list.c
6688 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
6689 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
6690 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
6691 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
6692 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
6693 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
6694 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
6695 * sysdeps/s390/ifunc-rawmemchr.h: New file.
6697 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6699 * sysdeps/s390/multiarch/Makefile
6700 (sysdep_routines): Remove memchr variants.
6701 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
6702 * sysdeps/s390/multiarch/ifunc-impl-list.c
6703 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
6704 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
6705 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
6706 * sysdeps/s390/multiarch/memchr.c: Move to ...
6707 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
6708 * sysdeps/s390/ifunc-memchr.h: New file.
6709 * sysdeps/s390/s390-64/memchr.S: Move to ...
6710 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
6711 for 31/64bit and ifunc handling.
6712 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
6713 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
6714 * sysdeps/s390/s390-32/memchr.S: Likewise.
6716 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6718 * sysdeps/s390/multiarch/Makefile
6719 (sysdep_routines): Remove strcspn variants.
6720 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
6721 * sysdeps/s390/multiarch/ifunc-impl-list.c
6722 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
6723 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
6724 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
6725 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
6726 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
6727 * sysdeps/s390/multiarch/strcspn.c: Move to ...
6728 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
6729 * sysdeps/s390/ifunc-strcspn.h: New file.
6731 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6733 * sysdeps/s390/multiarch/Makefile
6734 (sysdep_routines): Remove strpbrk variants.
6735 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
6736 * sysdeps/s390/multiarch/ifunc-impl-list.c
6737 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
6738 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
6739 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
6740 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
6741 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
6742 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
6743 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
6744 * sysdeps/s390/ifunc-strpbrk.h: New file.
6746 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6748 * sysdeps/s390/multiarch/Makefile
6749 (sysdep_routines): Remove strspn variants.
6750 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
6751 * sysdeps/s390/multiarch/ifunc-impl-list.c
6752 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
6753 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
6754 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
6755 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
6756 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
6757 * sysdeps/s390/multiarch/strspn.c: Move to ...
6758 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
6759 * sysdeps/s390/ifunc-strspn.h: New file.
6761 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6763 * sysdeps/s390/multiarch/Makefile
6764 (sysdep_routines): Remove strrchr variants.
6765 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
6766 * sysdeps/s390/multiarch/ifunc-impl-list.c
6767 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
6768 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
6769 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
6770 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
6771 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
6772 * sysdeps/s390/multiarch/strrchr.c: Move to ...
6773 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
6774 * sysdeps/s390/ifunc-strrchr.h: New file.
6776 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6778 * sysdeps/s390/multiarch/Makefile
6779 (sysdep_routines): Remove strchrnul variants.
6780 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
6781 * sysdeps/s390/multiarch/ifunc-impl-list.c
6782 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
6783 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
6784 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
6785 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
6786 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
6787 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
6788 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
6789 * sysdeps/s390/ifunc-strchrnul.h: New file.
6791 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6793 * sysdeps/s390/multiarch/Makefile
6794 (sysdep_routines): Remove strchr variants.
6795 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
6796 * sysdeps/s390/multiarch/ifunc-impl-list.c
6797 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
6798 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
6799 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
6800 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
6801 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
6802 * sysdeps/s390/multiarch/strchr.c: Move to ...
6803 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
6804 * sysdeps/s390/ifunc-strchr.h: New file.
6806 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6808 * sysdeps/s390/multiarch/Makefile
6809 (sysdep_routines): Remove strncmp variants.
6810 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
6811 * sysdeps/s390/multiarch/ifunc-impl-list.c
6812 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
6813 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
6814 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
6815 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
6816 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
6817 * sysdeps/s390/multiarch/strncmp.c: Move to ...
6818 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
6819 * sysdeps/s390/ifunc-strncmp.h: New file.
6821 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6823 * sysdeps/s390/multiarch/Makefile
6824 (sysdep_routines): Remove strcmp variants.
6825 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
6826 * sysdeps/s390/multiarch/ifunc-impl-list.c
6827 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
6828 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
6829 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
6830 * sysdeps/s390/multiarch/strcmp.c: Move to ...
6831 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
6832 * sysdeps/s390/ifunc-strcmp.h: New file.
6833 * sysdeps/s390/s390-64/strcmp.S: Move to ...
6834 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
6835 for 31/64bit and ifunc handling.
6836 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
6837 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
6838 * sysdeps/s390/s390-32/strcmp.S: Likewise.
6840 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6842 * sysdeps/s390/multiarch/Makefile
6843 (sysdep_routines): Remove strncat variants.
6844 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
6845 * sysdeps/s390/multiarch/ifunc-impl-list.c
6846 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
6847 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
6848 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
6849 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
6850 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
6851 * sysdeps/s390/multiarch/strncat.c: Move to ...
6852 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
6853 * sysdeps/s390/ifunc-strncat.h: New file.
6855 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6857 * sysdeps/s390/multiarch/Makefile
6858 (sysdep_routines): Remove strcat variants.
6859 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
6860 * sysdeps/s390/multiarch/ifunc-impl-list.c
6861 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
6862 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
6863 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
6864 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
6865 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
6866 * sysdeps/s390/multiarch/strcat.c: Move to ...
6867 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
6868 * sysdeps/s390/ifunc-strcat.h: New file.
6870 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6872 * sysdeps/s390/multiarch/Makefile
6873 (sysdep_routines): Remove stpncpy variants.
6874 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
6875 * sysdeps/s390/multiarch/ifunc-impl-list.c
6876 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
6877 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
6878 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
6879 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
6880 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
6881 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
6882 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
6883 * sysdeps/s390/ifunc-stpncpy.h: New file.
6885 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6887 * sysdeps/s390/multiarch/Makefile
6888 (sysdep_routines): Remove strncpy variants.
6889 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
6890 * sysdeps/s390/multiarch/ifunc-impl-list.c
6891 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
6892 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
6893 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
6894 * sysdeps/s390/multiarch/strncpy.c: Move to ...
6895 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
6896 * sysdeps/s390/ifunc-strncpy.h: New file.
6897 * sysdeps/s390/s390-64/strncpy.S: Move to ...
6898 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
6899 and adjust ifunc handling.
6900 * sysdeps/s390/s390-32/strncpy.S: Move to ...
6901 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
6902 and adjust ifunc handling.
6903 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
6904 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
6906 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6908 * sysdeps/s390/multiarch/Makefile
6909 (sysdep_routines): Remove stpcpy variants.
6910 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
6911 * sysdeps/s390/multiarch/ifunc-impl-list.c
6912 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
6913 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
6914 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
6915 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
6916 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
6917 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
6918 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
6919 * sysdeps/s390/ifunc-stpcpy.h: New file.
6921 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6923 * sysdeps/s390/multiarch/Makefile
6924 (sysdep_routines): Remove strcpy variants.
6925 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
6926 * sysdeps/s390/multiarch/ifunc-impl-list.c
6927 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
6928 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
6929 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
6930 * sysdeps/s390/multiarch/strcpy.c: Move to ...
6931 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
6932 * sysdeps/s390/ifunc-strcpy.h: New file.
6933 * sysdeps/s390/s390-64/strcpy.S: Move to ...
6934 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
6935 for 31/64bit and ifunc handling.
6936 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
6937 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
6938 * sysdeps/s390/s390-32/strcpy.S: Likewise.
6940 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6942 * sysdeps/s390/multiarch/Makefile
6943 (sysdep_routines): Remove strnlen variants.
6944 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
6945 * sysdeps/s390/multiarch/ifunc-impl-list.c
6946 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
6947 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
6948 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
6949 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
6950 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
6951 * sysdeps/s390/multiarch/strnlen.c: Move to ...
6952 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
6953 * sysdeps/s390/ifunc-strnlen.h: New file.
6955 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6957 * sysdeps/s390/multiarch/Makefile
6958 (sysdep_routines): Remove strlen variants.
6959 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
6960 * sysdeps/s390/multiarch/ifunc-impl-list.c
6961 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
6962 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
6963 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
6964 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
6965 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
6966 * sysdeps/s390/multiarch/strlen.c: Move to ...
6967 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
6968 * sysdeps/s390/ifunc-strlen.h: New file.
6970 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6972 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
6973 * sysdeps/s390/multiarch/ifunc-impl-list.c
6974 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
6975 * sysdeps/s390/ifunc-memmem.h: New file.
6976 * sysdeps/s390/memmem.c: Likewise.
6977 * sysdeps/s390/memmem-c.c: Likewise.
6978 * sysdeps/s390/memmem-vx.c: Likewise.
6980 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6982 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
6983 * sysdeps/s390/multiarch/ifunc-impl-list.c
6984 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
6985 * sysdeps/s390/ifunc-strstr.h: New file.
6986 * sysdeps/s390/strstr.c: Likewise.
6987 * sysdeps/s390/strstr-c.c: Likewise.
6988 * sysdeps/s390/strstr-vx.c: Likewise.
6990 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6992 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
6993 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
6994 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
6995 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
6997 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
6998 * sysdeps/s390/memmove-c.c: New file.
6999 * sysdeps/s390/memmove.c: Likewise.
7000 * sysdeps/s390/multiarch/ifunc-impl-list.c
7001 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
7003 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7005 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
7006 * sysdeps/s390/configure.ac: Add check for z13 support.
7007 * sysdeps/s390/configure: Regenerated.
7009 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7011 * sysdeps/s390/memcopy.h: New file.
7013 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7015 * sysdeps/s390/s390-32/bcopy.S: Remove.
7016 * sysdeps/s390/s390-64/bcopy.S: Likewise.
7018 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7020 * sysdeps/s390/ifunc-memcpy.h: New File.
7021 * sysdeps/s390/memcpy.S: Move to ...
7022 * sysdeps/s390/memcpy-z900.S ... here.
7023 Move implementations from memcpy-s390x.s to here.
7024 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
7025 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
7026 Remove memcpy/mempcpy variants.
7027 * sysdeps/s390/Makefile (sysdep_routines):
7028 Add memcpy/mempcpy variants.
7029 * sysdeps/s390/multiarch/ifunc-impl-list.c
7030 (__libc_ifunc_impl_list): Adjust ifunc variants for
7032 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
7034 * sysdeps/s390/memcpy.c: ... here.
7035 Adjust ifunc variants for memcpy.
7036 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
7037 * sysdeps/s390/mempcpy.c: ... here.
7038 Adjust ifunc variants for mempcpy.
7039 * sysdeps/s390/mempcpy.S: Delete file.
7041 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7043 * sysdeps/s390/s390-64/memcpy.S: Move to ...
7044 * sysdeps/s390/memcpy.S: ... here.
7045 Adjust to be usable for 31/64bit.
7046 * sysdeps/s390/s390-32/memcpy.S: Delete File.
7047 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
7048 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
7049 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
7050 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
7051 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
7052 Adjust to be usable for 31/64bit.
7053 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
7054 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
7055 * sysdeps/s390/multiarch/memcpy.c: ... here.
7056 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
7058 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7060 * sysdeps/s390/ifunc-memcmp.h: New File.
7061 * sysdeps/s390/memcmp.S: Move to ...
7062 * sysdeps/s390/memcmp-z900.S ... here.
7063 Move implementations from memcmp-s390x.s to here.
7064 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
7065 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
7066 Remove memcmp variants.
7067 * sysdeps/s390/Makefile (sysdep_routines):
7068 Add memcmp variants.
7069 * sysdeps/s390/multiarch/ifunc-impl-list.c
7070 (__libc_ifunc_impl_list): Adjust ifunc variants for
7072 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
7074 * sysdeps/s390/memcmp.c: ... here.
7075 Adjust ifunc variants for memcmp.
7077 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7079 * sysdeps/s390/s390-64/memcmp.S: Move to ...
7080 * sysdeps/s390/memcmp.S: ... here.
7081 Adjust to be usable for 31/64bit.
7082 * sysdeps/s390/s390-32/memcmp.S: Delete File.
7083 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
7084 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
7086 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
7087 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
7088 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
7089 Adjust to be usable for 31/64bit.
7090 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
7091 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
7092 * sysdeps/s390/multiarch/memcmp.c: ... here.
7093 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
7095 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7097 * sysdeps/s390/s390-32/bzero.S: Delete file.
7098 * sysdeps/s390/s390-64/bzero.S: Likewise.
7099 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
7100 * sysdeps/s390/bzero.c: New file.
7101 * sysdeps/s390/memset-z900.S: Add bzero entry points.
7102 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
7103 * sysdeps/s390/multiarch/ifunc-impl-list.c
7104 (__libc_ifunc_impl_list): Add bzero ifunc variants.
7106 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7108 * sysdeps/s390/ifunc-memset.h: New File.
7109 * sysdeps/s390/memset.S: Move to ...
7110 * sysdeps/s390/memset-z900.S ... here.
7111 Move implementations from memset-s390x.s to here.
7112 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
7113 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
7114 Remove memset variants.
7115 * sysdeps/s390/Makefile (sysdep_routines):
7116 Add memset variants.
7117 * sysdeps/s390/multiarch/ifunc-impl-list.c
7118 (__libc_ifunc_impl_list): Adjust ifunc variants for
7120 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
7122 * sysdeps/s390/memset.c: ... here.
7123 Adjust ifunc variants for memset.
7125 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7127 * sysdeps/s390/s390-64/memset.S: Move to ...
7128 * sysdeps/s390/memset.S: ... here.
7129 Adjust to be usable for 31/64bit.
7130 * sysdeps/s390/s390-32/memset.S: Delete File.
7131 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
7132 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
7134 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
7135 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
7136 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
7137 Adjust to be usable for 31/64bit.
7138 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
7139 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
7140 * sysdeps/s390/multiarch/memset.c: ... here.
7141 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
7143 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7145 * sysdeps/s390/multiarch/ifunc-resolve.h
7146 (s390_libc_ifunc_init, s390_libc_ifunc,
7147 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
7149 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7151 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
7152 * sysdeps/s390/configure.ac: Add check for z10 support.
7153 * sysdeps/s390/configure: Regenerated.
7155 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
7157 * sysdeps/i386/atomic-machine.h: Merged with ...
7158 * sysdeps/x86_64/atomic-machine.h: To ...
7159 * sysdeps/x86/atomic-machine.h: This. New file.
7161 2018-12-18 Florian Weimer <fweimer@redhat.com>
7163 Rewrite locale/gen-translit.pl in Python.
7164 * locale/Makefile (generated): Add C-translit.h.
7165 (before-compile): Add $(objpfx)C-translit.h.
7166 (C-translit.h): Move to $(objpfx). Create target directory.
7167 Build using Python script.
7168 * locale/gen-translit.py: New file.
7169 * locale/gen-translit.pl: Remove file.
7170 * locale/C-translit.h.in: Change comment character to '#' for
7171 easier parsing without a C preprocessor.
7172 * locale/C-translit.h: Remove generated file.
7173 * manual/install.texi (Tools for Compilation): Do not mention
7175 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
7176 Remove locale/C-translit.h.
7177 * scripts/update-copyrights: Likewise.
7178 * INSTALL: Regenerate.
7180 2018-12-18 Florian Weimer <fweimer@redhat.com>
7183 * localedata/locales/bi_VU: Remove executable bit from file.
7185 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
7188 (__localtime64): Add.
7189 * manual/maint.texi: Document Y2038 symbol handling.
7191 (__localtime64): Add.
7192 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
7194 2018-12-17 Joseph Myers <joseph@codesourcery.com>
7196 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
7199 * scripts/glibcextract.py (compare_macro_consts): Take parameters
7200 to allow extra macros from first or second sources.
7201 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
7202 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7203 (tests-special): Add $(objpfx)tst-mman-consts.out.
7204 ($(objpfx)tst-mman-consts.out): New makefile target.
7206 2018-12-17 Mao Han <han_mao@c-sky.com>
7208 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
7209 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
7210 without stat64 system call support.
7211 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
7212 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
7213 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
7214 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
7215 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
7216 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
7217 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
7218 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
7219 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
7220 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
7221 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
7223 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
7225 regex: fix storage-exhaustion error
7227 * posix/regexec.c (get_subexp):
7228 Do not continue if storage is exhausted.
7230 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
7232 regex: fix heap-use-after-free error
7234 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
7235 https://debbugs.gnu.org/32592
7236 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
7237 call extend_buffers which reallocates the re_string_t internal buffer.
7238 Local variable 'buf' was not updated in such case, resulting in
7240 * posix/regexec.c (get_subexp): Update 'buf' after call to
7243 2018-12-15 Florian Weimer <fweimer@redhat.com>
7245 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
7246 (minimum_stride_size): Use it.
7247 (support_blob_repeat_allocate): Likewise.
7249 2018-12-14 Joseph Myers <joseph@codesourcery.com>
7251 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
7256 2018-12-14 Florian Weimer <fweimer@redhat.com>
7258 * manual/process.texi (Process Creation Concepts): Remove
7259 documentation of process (ID) lifetime. List more process
7260 creation functions. Reference Process Identification section.
7261 (Process Identification): Add information about process ID
7262 lifetime. Describe Linux thread/task IDs.
7263 * manual/signal.texi (Signaling Another Process): Mention that the
7264 signal is always sent to the process.
7266 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7268 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
7269 and tst-ldbl-efgcvt.
7270 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
7271 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
7272 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
7273 (fcvt_tests, output_error, output_r_error, do_test): Use the
7274 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
7275 select the type of floating-point variables and arguments; to
7276 produce extra tests for double and conversion specifiers for
7277 printf; and to set the names of called functions.
7278 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
7279 in tst-efgcvt-template.c.
7280 * misc/tst-ldbl-efgcvt.c: Likewise.
7282 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
7284 * nss/Makefile (tst-nss-test3.out): New rule.
7286 2018-12-13 Joseph Myers <joseph@codesourcery.com>
7288 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
7291 2018-12-13 fanjinke <fanjinke@hygon.cn>
7293 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
7296 2018-12-13 Andreas Schwab <schwab@suse.de>
7299 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
7300 (__pthread_rwlock_rdlock_full): Update expected value for
7301 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
7302 * nptl/tst-rwlock-pwn.c: New file.
7303 * nptl/Makefile (tests): Add tst-rwlock-pwn.
7305 2018-12-12 Joseph Myers <joseph@codesourcery.com>
7307 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
7310 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7312 * benchtests/scripts/compare_bench.py (do_compare): write to
7313 stderr in casestat is not present.
7314 * benchtests/scripts/compare_bench.py (plot_graphs): write to
7315 stderr in case timings field is not present. Also string showing
7316 the output filename goes into the stderr.
7318 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7320 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
7321 and ZeroDivisorError exceptions.
7322 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
7323 argument to loop through user provided statistics.
7324 * benchtests/scripts/compare_bench.py (main): Include the --stats
7327 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7329 * benchtests/scripts/compare_bench.py (compare_runs): Continue
7332 2018-12-12 Florian Weimer <fweimer@redhat.com>
7334 * sysdeps/posix/timespec_get.c: Add missing “any later version”
7335 clause to copyright header.
7337 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7340 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
7341 registers saved in the stack frame.
7342 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
7343 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
7345 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7347 * include/bits/monetary-ldbl.h: New file.
7348 * include/bits/printf-ldbl.h: Likewise.
7349 * include/bits/stdio-ldbl.h: Likewise.
7350 * include/bits/stdlib-ldbl.h: Likewise.
7351 * include/bits/syslog-ldbl.h: Likewise.
7352 * include/bits/wchar-ldbl.h: Likewise.
7354 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7356 * libio/libio.h: Remove redirection for _IO_vfprintf.
7358 2018-12-11 Andreas Schwab <schwab@suse.de>
7360 * Makerules: Remove all references to abilist-pattern.
7361 (update-all-abi): Simplify find expression.
7363 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
7366 * math/auto-libm-test-in: Add new test case.
7367 * math/auto-libm-test-out-pow: Regenerated.
7368 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
7370 2018-12-10 DJ Delorie <dj@redhat.com>
7373 * support/test-container.c: Move postclean step to before we
7376 2018-12-10 Joseph Myers <joseph@codesourcery.com>
7378 * scripts/gen-as-const.py (main): Handle --python option.
7379 * scripts/gen-py-const.awk: Remove.
7380 * Makerules (py-const-script): Use gen-as-const.py.
7381 ($(py-const)): Likewise.
7382 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
7383 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
7384 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
7385 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
7386 ~PTHREAD_MUTEX_NO_ELISION_NP.
7387 * manual/README.pretty-printers: Update reference to
7390 * scripts/glibcextract.py: New file.
7391 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
7392 or tempfile. Import glibcexctract.
7393 (compute_c_consts): Remove. Moved to glibcextract.py.
7394 (gen_test): Update reference to compute_c_consts.
7396 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
7397 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
7398 * sysdeps/unix/sysv/linux/Makefile
7399 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
7400 Redirect stderr as well as stdout.
7402 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
7405 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
7406 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
7407 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
7408 ALWAYS_USE_VSYSCALL.
7409 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
7410 ALWAYS_USE_VSYSCALL.
7411 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
7412 ALWAYS_USE_VSYSCALL.
7414 2018-12-10 Florian Weimer <fweimer@redhat.com>
7417 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
7418 offset instead of count for clarity. Fix typo in comment.
7419 (__old_getdents64): Keep track of previous offset. Use it to call
7421 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
7422 that d_off is never zero.
7424 2018-12-10 Andreas Schwab <schwab@suse.de>
7426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
7427 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
7428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
7429 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
7430 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
7432 2018-12-10 Joseph Myers <joseph@codesourcery.com>
7434 * timezone/private.h: Update from tzcode 2018g.
7435 * timezone/tzfile.h: Likewise.
7436 * timezone/tzselect.ksh: Likewise.
7437 * timezone/zdump.c: Likewise.
7438 * timezone/zic.c: Likewise.
7440 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7443 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
7444 (do_test): Adjust buffer size and fix format.
7446 2018-12-07 DJ Delorie <dj@redhat.com>
7449 * malloc/tst-tcfree3.c: New.
7450 * malloc/Makefile: Add it.
7452 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
7454 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
7456 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7458 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
7459 used as a mask for the mode argument of __vfscanf_internal and
7460 __vfwscanf_internal.
7461 * stdio-common/vfscanf-internal.c
7462 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
7463 (__strtof128_internal): Define to __wcstof128_internal.
7464 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
7465 __strtof128_internal or __wcstof128_internal when the format of
7466 long double is the same as _Float128.
7468 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
7470 * include/unistd.h (__confstr): Add prototype and hidden prototype.
7471 * posix/confstr.c (confstr): Rename to __confstr.
7472 (__confstr): Add hidden def.
7473 (confstr): Add weak alias for __confstr.
7474 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
7477 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
7479 * NEWS: Mention getcpu.
7480 * include/sched.h (__getcpu): New libc_hidden_proto.
7481 * manual/resource.texi: Document getcpu.
7482 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
7483 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
7484 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
7485 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7486 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7487 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7488 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7489 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7490 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7491 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7492 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7493 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7494 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
7496 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7497 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7498 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
7505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
7507 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
7508 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7509 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7510 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7511 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7512 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7513 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7514 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7515 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
7516 * sysdeps/unix/sysv/linux/getcpu.c: New file.
7517 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
7520 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
7522 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
7524 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
7526 2018-12-07 Florian Weimer <fweimer@redhat.com>
7529 * posix/Makefile (routines): Add spawn_faction_addfchdir.
7530 * posix/Versions (GLIBC_2.29): Export
7531 posix_spawn_file_actions_addfchdir_np.
7532 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
7533 * posix/spawn_faction_destroy.c
7534 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
7535 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
7536 and the field action.fchdir_action.
7537 * posix/tst-spawn-chdir.c (add_chdir): New function.
7538 (do_test): Add do_fchdir loop. Call add_chdir.
7539 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
7540 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
7541 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
7542 posix_spawn_file_actions_addfchdir_np.
7543 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
7545 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
7547 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
7548 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
7550 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
7552 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
7554 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
7556 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
7558 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
7560 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7561 (GLIBC_2.29): Likewise.
7562 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7563 (GLIBC_2.29): Likewise.
7564 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7565 (GLIBC_2.29): Likewise.
7566 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7567 (GLIBC_2.29): Likewise.
7568 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
7570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7571 (GLIBC_2.29): Likewise.
7572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7573 (GLIBC_2.29): Likewise.
7574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7575 (GLIBC_2.29): Likewise.
7576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7577 (GLIBC_2.29): Likewise.
7578 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
7580 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
7582 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
7584 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
7585 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
7587 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
7589 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
7591 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
7594 2018-12-06 Joseph Myers <joseph@codesourcery.com>
7596 * manual/texinfo.tex: Update to version 2018-09-21.20 with
7597 trailing whitespace removed.
7598 * scripts/config.guess: Update to version 2018-11-28.
7599 * scripts/config.sub: Update to version 2018-11-28.
7600 * scripts/install-sh: Update to version 2018-03-11.20.
7601 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
7602 * scripts/move-if-change: Update to version 2018-03-07 03:47.
7604 2018-12-07 Florian Weimer <fweimer@redhat.com>
7608 * inet/tst-if_index-long.c: New file.
7609 * inet/Makefile (tests): Add tst-if_index-long.
7611 2018-12-07 Florian Weimer <fweimer@redhat.com>
7613 * support/check.h (support_record_failure_is_failed): Declare.
7614 * support/descriptors.h: New file.
7615 * support/support_descriptors.c: Likewise.
7616 * support/tst-support_descriptors.c: Likewise.
7617 * support/support_record_failure.c
7618 (support_record_failure_is_failed): New function.
7619 * support/Makefile (libsupport-routines): Add support_descriptors.
7620 (tests): Add tst-support_descriptors.
7622 2018-12-05 Zack Weinberg <zackw@panix.com>
7623 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7625 * stdio-common/vfprintf-internal.c
7626 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
7627 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
7628 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
7629 and __no_long_double.
7630 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
7631 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
7632 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
7633 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
7634 and __nldbl_*syslog* functions.
7635 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
7636 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
7637 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
7638 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
7639 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
7640 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
7641 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
7642 (__nldbl_vwprintf, __nldbl_wprintf):
7643 Directly call the appropriate __v*printf_internal routine, passing
7644 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
7646 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
7647 (__nldbl___printf_chk, __nldbl___snprintf_chk)
7648 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
7649 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
7650 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
7651 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
7652 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
7653 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
7654 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
7655 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
7656 Likewise, and also pass PRINTF_FORTIFY when appropriate.
7657 (__nldbl_syslog, __nldbl_vsyslog):
7658 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
7659 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
7661 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
7664 2018-12-05 Zack Weinberg <zackw@panix.com>
7665 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7668 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
7669 Moved here from debug/vsprintf_chk.c.
7670 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
7671 and completion logic for the strfile to match exactly what
7672 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
7673 _IO_str_init_static_internal instead of maxlen-1.
7674 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
7675 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
7676 __vsprintf_internal.
7678 * debug/vsprintf_chk.c (__vsprintf_chk)
7679 * debug/sprintf_chk.c (__sprintf_chk):
7680 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
7681 'flags' argument is positive, and slen as maxlen. No need to lock
7682 the FILE and/or construct a temporary FILE. Minimize and normalize
7683 header inclusions and variable names. Do not libc_hidden_def anything.
7685 * debug/asprintf_chk.c (__asprintf_chk)
7686 * debug/dprintf_chk.c (__dprintf_chk)
7687 * debug/fprintf_chk.c (__fprintf_chk)
7688 * debug/fwprintf_chk.c (__fwprintf_chk)
7689 * debug/printf_chk.c (__printf_chk)
7690 * debug/snprintf_chk.c (__snprintf_chk)
7691 * debug/swprintf_chk.c (__swprintf_chk)
7692 * debug/vasprintf_chk.c (__vasprintf_chk)
7693 * debug/vdprintf_chk.c (__vdprintf_chk)
7694 * debug/vfprintf_chk.c (__vfprintf_chk)
7695 * debug/vfwprintf_chk.c (__vfwprintf_chk)
7696 * debug/vprintf_chk.c (__vprintf_chk)
7697 * debug/vsnprintf_chk.c (__vsnprintf_chk)
7698 * debug/vswprintf_chk.c (__vswprintf_chk)
7699 * debug/vwprintf_chk.c (__vwprintf_chk)
7700 * debug/wprintf_chk.c (__wprintf_chk):
7701 Directly call the corresponding vxxprintf_internal function, passing
7702 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
7703 the FILE and/or construct a temporary FILE. Minimize and normalize
7704 header inclusions and variable names. Do not libc_hidden_def anything.
7706 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
7707 __obstack_vprintf_internal.
7708 (__obstack_vprintf_chk): Convert into a wrapper that calls
7709 __obstack_vprintf_internal (these two functions already had the
7710 same code) and move to new file...
7711 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
7713 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
7714 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
7715 * debug/Makefile (routines): Add vobprintf_chk.
7717 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7718 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
7719 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
7720 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
7721 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
7722 (__nldbl___obstack_vfprintf_chk):
7723 Directly call the corresponding vxxprintf_internal function,
7724 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
7725 duplicate comparison of slen with 0 or maxlen from the corresponding
7726 non-__nldbl function.
7728 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
7729 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
7730 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
7731 Remove libc_hidden_proto.
7733 * stdio-common/vfprintf-internal.c
7734 (__vfprintf_internal, __vfwprintf_internal):
7735 Do not check _IO_FLAGS2_FORTIFY.
7736 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
7737 * libio/libioP.h: Update prototype of __vsprintf_internal and add
7738 a comment explaining why it has the maxlen argument.
7739 (_IO_acquire_lock_clear_flags2_fct): Remove.
7740 (_IO_acquire_lock_clear_flags2): Remove.
7741 (_IO_release_lock): Remove conditional statement which will
7743 (_IO_acquire_lock): Remove variable which is now unused.
7744 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
7745 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
7747 * stdio-common/Makefile (tests): Add tst-bz11319 and
7748 tst-bz11319-fortify2.
7749 (CFLAGS-tst-bz11319-fortify2.c): New macro.
7750 * stdio-common/tst-bz11319-fortify2.c: New file.
7751 * stdio-common/tst-bz11319.c: Likewise.
7753 2018-12-05 Zack Weinberg <zackw@panix.com>
7754 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7756 * misc/syslog.c: Include libioP.h, not iolibio.h.
7757 (__vsyslog_internal): New function with the former body of
7758 __vsyslog_chk; takes mode_flags argument same as
7759 __v*printf_internal. Call __vfprintf_internal directly.
7761 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
7762 Remove libc_hidden_def.
7763 (__syslog, __syslog_chk): Use __vsyslog_internal.
7764 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
7766 * include/sys/syslog.h: Add multiple inclusion guard.
7767 Add prototype for __vsyslog_internal.
7768 Remove declaration and libc_hidden_proto for __vsyslog_chk.
7770 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
7771 Use __vsyslog_internal.
7773 2018-12-05 Zack Weinberg <zackw@panix.com>
7774 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7776 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
7777 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
7778 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
7780 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
7781 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
7783 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
7784 Include wctype.h here if COMPILE_WPRINTF is defined.
7785 Define __vfprintf_internal or __vfwprintf_internal, depending
7787 Temporarily, on entry to this function, update mode_flags
7788 according to the environmental settings corresponding to
7789 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
7790 Throughout, check mode_flags instead of __ldbl_is_dbl and
7791 _IO_FLAGS2_FORTIFY on the destination FILE.
7792 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
7793 Include vfprintf-internal.c. Don't include wctype.h.
7794 * stdio-common/vfprintf.c: New file. Just define __vfprintf
7795 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
7797 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
7798 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
7800 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
7802 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
7803 and add mode_flags argument; use __vfprintf_internal.
7804 (__vdprintf): New function. Alias vdprintf to this.
7805 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
7806 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
7807 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
7808 (__obstack_printf): Use __obstack_printf_internal.
7809 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
7810 public aliases __vsnprintf and vsnprintf.
7811 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
7813 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
7814 public aliases _IO_vsprintf and vsprintf.
7815 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
7816 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
7817 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
7818 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
7819 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
7821 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
7822 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
7823 * stdio-common/fprintf.c, stdio-common/fxprintf.c
7824 * stdio-common/printf.c: Use __vfprintf_internal.
7826 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
7827 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
7828 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
7830 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
7831 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
7832 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
7833 __vfwprintf_internal.
7835 * libio/libio.h: Remove libc_hidden_proto and declaration for
7837 Remove declaration of _IO_vfwprintf.
7838 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
7840 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
7842 * include/stdio.h: Add prototype for __vasprintf.
7843 (__vsnprintf): Remove declaration, because there are no more
7845 * include/wchar.h (__vfwprintf, __vswprintf): Remove
7846 declaration, because there are no more internal calls.
7848 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
7849 __vsnprintf_internal, instead of _IO_vsnprintf.
7850 * argp/argp-help.c (__argp_error, __argp_failure): Use
7851 __vasprintf_internal, instead of _IO_vasprintf.
7852 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
7853 redefine, because there are no more internal calls.
7855 2018-12-05 Zack Weinberg <zackw@panix.com>
7856 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7858 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
7859 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
7860 Include libio/strfile.h instead of libioP.h.
7861 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
7862 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
7863 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
7864 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
7865 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
7866 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
7867 necessary. Do not set __no_long_double. Normalize variable names.
7868 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
7869 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
7870 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
7871 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
7872 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
7873 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
7874 Call __vfscanf_internal / __vfwscanf_internal directly, passing
7875 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
7876 Do not set __no_long_double. Normalize variable names.
7878 2018-12-05 Zack Weinberg <zackw@panix.com>
7879 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7881 * stdio-common/isoc99_scanf.c
7882 * stdio-common/isoc99_fscanf.c
7883 * stdio-common/isoc99_sscanf.c
7884 * stdio-common/isoc99_vscanf.c
7885 * stdio-common/isoc99_vfscanf.c
7886 * stdio-common/isoc99_vsscanf.c
7887 * wcsmbs/isoc99_wscanf.c
7888 * wcsmbs/isoc99_fwscanf.c
7889 * wcsmbs/isoc99_swscanf.c
7890 * wcsmbs/isoc99_vwscanf.c
7891 * wcsmbs/isoc99_vfwscanf.c
7892 * wcsmbs/isoc99_vswscanf.c:
7893 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
7894 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
7895 No need to lock and unlock the FILE passed to that function.
7897 * stdio-common/vfscanf-internal.c
7898 (__vfscanf_internal, __vfwscanf_internal):
7899 Don't look at _IO_FLAGS2_SCANF_STD.
7900 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
7901 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
7902 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
7904 2018-12-05 Zack Weinberg <zackw@panix.com>
7905 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7907 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
7908 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
7909 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
7910 * libio/strfile.h: Add multiple inclusion guard.
7911 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
7913 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
7914 consistency with the other version of this file.
7915 (ldbl_compat_symbol): New macro.
7916 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
7919 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
7920 Define __vfscanf_internal or __vfwscanf_internal, depending on
7921 COMPILE_WSCANF; don't define any other public symbols.
7922 Remove errval and code to set errp.
7923 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
7924 as the mode_flags argument.
7925 (encode_error, conv_error, input_error): Don't set errval.
7926 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
7927 Include vfscanf-internal.c.
7928 * stdio-common/vfscanf.c: New file defining the public entry
7929 point vfscanf, which calls __vfscanf_internal.
7930 * stdio-common/vfwscanf.c: New file defining the public entry
7931 point vfwscanf, which calls __vfwscanf_internal.
7933 * stdio-common/iovfscanf.c: New file.
7934 * stdio-common/iovfwscanf.c: Likewise.
7936 * stdio-common/Makefile (routines): Add vfscanf-internal,
7937 vfwscanf-internal, iovfscanf, iovfwscanf.
7938 * stdio-common/Versions: Mention GLIBC_2.29, so that
7939 it can be used in SHLIB_COMPAT expressions.
7940 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
7941 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
7942 Call __vfscanf_internal, instead of _IO_vfscanf.
7943 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
7945 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
7948 * libio/iovsscanf.c: Clean up includes, when possible. Use
7949 _IO_strfile_read or _IO_strfile_readw, when needed. Call
7950 __vfscanf_internal or __vfwscanf_internal directly.
7951 * libio/iovswscanf.c: Likewise.
7952 * libio/swscanf.c: Likewise.
7953 * libio/vscanf.c: Likewise.
7954 * libio/vwscanf.c: Likewise.
7955 * libio/wscanf.c: Likewise.
7956 * stdio-common/isoc99_fscanf.c: Likewise.
7957 * stdio-common/isoc99_scanf.c: Likewise.
7958 * stdio-common/isoc99_sscanf.c: Likewise.
7959 * stdio-common/isoc99_vfscanf.c: Likewise.
7960 * stdio-common/isoc99_vscanf.c: Likewise.
7961 * stdio-common/isoc99_vsscanf.c: Likewise.
7962 * stdio-common/scanf.c: Likewise.
7963 * stdio-common/sscanf.c: Likewise.
7964 * wcsmbs/isoc99_fwscanf.c: Likewise.
7965 * wcsmbs/isoc99_swscanf.c: Likewise.
7966 * wcsmbs/isoc99_vfwscanf.c: Likewise.
7967 * wcsmbs/isoc99_vswscanf.c: Likewise.
7968 * wcsmbs/isoc99_vwscanf.c: Likewise.
7969 * wcsmbs/isoc99_wscanf.c: Likewise.
7971 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
7974 (__tz_compute): Replace time_t with __time64_t.
7975 (__tz_convert): Replace time_t* with __time64_t.
7976 (__offtime): Replace time_t* with __time64_t.
7978 (__gmtime_r): Adjust call to __tz_convert.
7981 (__localtime_r): Likewise.
7982 (localtime): Likewise.
7983 * time/offtime.c: Replace time_t with __time64_t.
7984 * time/tzset.c: Likewise.
7986 2018-12-04 Joseph Myers <joseph@codesourcery.com>
7988 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
7989 dynamic linker unless [$(run-built-tests) = yes].
7991 2018-12-03 DJ Delorie <dj@delorie.com>
7993 * support/test-container.c (check_for_unshare_hints): New.
7994 (main): Call it if unshare fails. Add support for "su" scriptlet
7997 2018-12-03 Joseph Myers <joseph@codesourcery.com>
7999 * scripts/gen-as-const.py (compute_c_consts): Take an argument
8000 'START' to indicate that start text should be output.
8001 (gen_test): Likewise.
8002 (main): Generate 'START' for first symbol or '--' line, or at end
8003 of input if not previously generated.
8005 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
8008 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
8009 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
8010 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
8011 ALWAYS_USE_VSYSCALL.
8013 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8016 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
8019 2018-12-03 Carlos O'Donell <carlos@redhat.com>
8022 * locale/programs/localedef.c: Declare boolean hard_links default true.
8023 (options): Add --no-hard-links option.
8024 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
8025 * locale/programs/localedef.h: Declare prototype for hard_links.
8026 * locale/programs/locfile.c (write_locale_data): Don't use hard
8027 links if hard_links is false.
8029 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
8031 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
8033 (__cache_sysconf): Likewise.
8034 (init_cacheinfo): Likewise.
8035 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
8036 populate COMMON_CPUID_INDEX_80000007 and
8037 COMMON_CPUID_INDEX_80000008.
8038 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
8039 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
8040 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
8041 (init_cpu_features): Use _Static_assert on
8042 index_arch_Fast_Unaligned_Load.
8043 __get_cpuid_registers and __get_arch_feature. Updated for
8044 cpu_features_basic. Set stepping in cpu_features.
8045 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
8046 (FEATURE_INDEX_2): New.
8047 (FEATURE_INDEX_MAX): Changed to enum.
8048 (COMMON_CPUID_INDEX_D_ECX_1): New.
8049 (COMMON_CPUID_INDEX_80000007): Likewise.
8050 (COMMON_CPUID_INDEX_80000008): Likewise.
8051 (cpuid_registers): Likewise.
8052 (cpu_features_basic): Likewise.
8053 (CPU_FEATURE_USABLE): Likewise.
8054 (bit_arch_XXX_Usable): Likewise.
8055 (cpu_features): Use cpuid_registers and cpu_features_basic.
8056 (bit_arch_XXX): Reweritten.
8057 (bit_cpu_XXX): Likewise.
8058 (index_cpu_XXX): Likewise.
8059 (reg_XXX): Likewise.
8060 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
8062 (CHECK_CPU_FEATURE): New.
8063 (CHECK_CPU_FEATURE_USABLE): Likewise.
8064 (cpu_kinds): Likewise.
8065 (do_test): Print vendor, family, model and stepping. Check
8066 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
8067 (TEST_FUNCTION): Removed.
8068 Include <support/test-driver.c> instead of
8069 "../../test-skeleton.c".
8070 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
8071 Check POPCNT instead of POPCOUNT.
8072 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
8074 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
8076 * scripts/gen-as-const.py (main): Avoid emitting empty line when
8077 there is no element in `consts'.
8079 2018-12-01 Florian Weimer <fweimer@redhat.com>
8081 * support/support_capture_subprocess.c
8082 (support_capture_subprocess): Check that pipe descriptors have
8083 expected values. Close original pipe descriptors in subprocess.
8085 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
8088 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
8089 attr with __pthread_default_barrierattr.
8090 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
8091 attr with __pthread_default_condattr.
8092 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
8093 attr with __pthread_default_mutexattr.
8094 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
8095 attr with __pthread_default_rwlockattr.
8097 2018-12-01 Kemi Wang <kemi.wang@intel.com>
8099 * manual/tunables.texi (POSIX Thread Tunables): New node.
8100 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
8101 * nptl/nptl-init.c: Include pthread_mutex_conf.h
8102 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
8103 __pthread_tunables_init.
8104 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
8105 (max_adaptive_count): Define.
8106 * nptl/pthread_mutex_conf.c: New file.
8107 * nptl/pthread_mutex_conf.h: New file.
8108 * sysdeps/generic/adaptive_spin_count.h: New file.
8109 * sysdeps/nptl/dl-tunables.list: New file.
8110 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
8111 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
8112 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
8115 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
8118 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
8119 * stdlib/on_exit.c (__on_exit): Likewise.
8120 * stdlib/Makefile (tests): Add tst-bz20544.
8121 * stdlib/tst-bz20544.c: New test.
8123 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
8126 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
8127 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
8130 2018-11-30 Florian Weimer <fweimer@redhat.com>
8132 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
8133 Extend error logging.
8134 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
8137 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8139 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
8140 __sigismember instead of sigismember.
8141 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
8142 cancel_handler): New definitions.
8143 (do_system): Use posix_spawn instead of fork and execl and remove
8145 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
8146 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
8147 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
8148 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
8149 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
8150 * sysdeps/unix/sysv/linux/system.c: Likewise.
8154 * NEWS: Add new semantic for atfork with popen and system.
8155 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
8158 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8161 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
8162 modification order when accessing reloc_result->addr.
8163 * include/link.h (reloc_result): Add field init.
8164 * nptl/Makefile (tests): Add tst-audit-threads.
8165 (modules-names): Add tst-audit-threads-mod1 and
8166 tst-audit-threads-mod2.
8167 Add rules to build tst-audit-threads.
8168 * nptl/tst-audit-threads-mod1.c: New file.
8169 * nptl/tst-audit-threads-mod2.c: Likewise.
8170 * nptl/tst-audit-threads.c: Likewise.
8171 * nptl/tst-audit-threads.h: Likewise.
8173 2018-11-30 Joseph Myers <joseph@codesourcery.com>
8175 * scripts/gen-as-const.py: New file.
8176 * scripts/gen-as-const.awk: Remove.
8177 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
8179 ($(objpfx)test-as-const-%.c): Likewise.
8181 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
8183 * elf/dl-exception.c: Include <_itoa.h>.
8185 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
8187 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
8188 returned by __f_setlk.
8190 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
8191 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8193 * elf/Makefile (tests-internal): Add tst-create_format1.
8194 * elf/dl-exception.c (_dl_exception_create_format): Support
8196 * elf/tst-create_format1.c: New file.
8198 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
8200 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
8201 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
8203 * argp/argp-help.c (__argp_failure): Likewise.
8205 2018-11-29 Mao Han <han_mao@c-sky.com>
8207 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
8208 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
8209 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
8210 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
8211 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
8212 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
8213 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
8214 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
8215 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
8216 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
8217 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
8218 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
8219 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
8220 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
8221 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
8222 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
8223 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
8224 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
8225 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
8226 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
8227 (R_CKCORE_TLS_TPOFF32): New defines.
8229 2018-11-29 Florian Weimer <fweimer@redhat.com>
8231 * posix/Makefile (before-compile): Remove testcases.h and
8233 (generated): Add testcases.h and ptestcases.h.
8234 (testcases.h, ptestcases.h): Move to $(objpfx).
8235 (runtests.o): Add dependency on testcases.h.
8236 (runptests.o): Add dependency on ptestcases.h.
8237 * posix/testcases.h, posix/ptestcases.h: Remove files.
8238 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
8239 not touch posix/testcases.h and posix/ptestcases.h.
8241 2018-11-28 Florian Weimer <fweimer@redhat.com>
8243 support: Add signal support to support_capture_subprocess_check.
8244 * support/capture_subprocess.h (support_capture_subprocess_check):
8245 Adjust comment and rename parameter.
8246 * support/support_capture_subprocess_check.c
8247 (print_actual_status): New function.
8248 (support_capture_subprocess_check): Support negative
8249 status_or_signal. Call print_actual_status.
8250 * support/tst-support_capture_subprocess.c (do_test): Call
8251 support_capture_subprocess_check.
8252 * libio/tst-vtables-common.c (termination_status)
8253 (init_termination_status): Remove.
8254 (check_for_termination): Adjust support_capture_subprocess_check
8256 (do_test): Remove call to init_termination_status.
8258 2018-11-28 Joseph Myers <joseph@codesourcery.com>
8260 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
8261 source directory instead of a copy.
8262 (CommandList.create_copy_dir): Remove.
8264 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
8266 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8268 2018-11-28 Florian Weimer <fweimer@redhat.com>
8270 * support/support.h (support_quote_string): Do not use str
8273 2018-11-27 Joseph Myers <joseph@codesourcery.com>
8275 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
8276 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
8278 2018-11-27 Florian Weimer <fweimer@redhat.com>
8280 * support/support.h (support_quote_string): Declare.
8281 * support/support_quote_string.c: New file.
8282 * support/tst-support_quote_string.c: Likewise.
8283 * support/Makefile (libsupport-routines): Add
8284 support_quote_string.
8285 (tests): Add tst-support_quote_string.
8287 2018-11-27 Florian Weimer <fweimer@redhat.com>
8291 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
8292 descriptor leak in case of ENODEV error.
8294 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
8297 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
8298 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
8299 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
8301 2018-11-26 Carlos O'Donell <carlos@redhat.com>
8303 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
8304 Error for unknown lines.
8306 2018-11-26 Joseph Myers <joseph@codesourcery.com>
8308 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
8309 Touch additional files.
8311 2018-11-26 Florian Weimer <fweimer@redhat.com>
8314 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
8317 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
8320 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
8321 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
8322 SHARED. Include sysdep.h.
8323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
8324 ALWAYS_USE_VSYSCALL.
8325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
8326 ALWAYS_USE_VSYSCALL.
8328 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
8331 * nptl/Makefile (tests-static): Add tst-cond11-static.
8333 * nptl/tst-cond11-static.c: New File.
8334 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
8335 tst-affinity-static.
8337 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
8339 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
8340 (USE_VSYSCALL): Likewise.
8341 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
8342 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
8344 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
8346 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
8349 2018-11-23 Joseph Myers <joseph@codesourcery.com>
8352 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8353 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
8356 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
8358 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
8359 (tst-cet-legacy-1a-ARGS): New.
8360 ($(objpfx)tst-cet-legacy-1a): New target.
8361 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
8363 2018-11-22 Joseph Myers <joseph@codesourcery.com>
8365 * conform/conformtest.py (CompileSubTest.__init__): Set
8366 self.run_early to False.
8367 (ExecuteSubTest.__init__): Likewise.
8368 (HeaderTests.run): Try running all non-optional, non-XFAILed
8369 compilation tests in a single execution of the compiler.
8371 * conform/conformtest.py (CompileSubTest): New class.
8372 (ExecuteSubTest): Likewise.
8373 (ElementTest.run): Rename to gen_subtests. Append tests to
8374 self.subtests instead of running them.
8375 (ConstantTest.run): Likewise.
8376 (SymbolTest.run): Likewise.
8377 (TypeTest.run): Likewise.
8378 (TagTest.run): Likewise.
8379 (FunctionTest.run): Likewise.
8380 (VariableTest.run): Likewise.
8381 (MacroFunctionTest.run): Likewise.
8382 (MacroStrTest.run): Likewise.
8383 (HeaderTests.handle_test_line): Generate subtests for tests.
8384 (HeaderTests.run): Run subtests for tests.
8386 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8388 * math/Versions (GLIBC_2.29): Add pow.
8389 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
8391 * math/w_pow.c: New file.
8392 * sysdeps/i386/fpu/w_pow.c: New file.
8393 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
8394 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
8395 and add necessary aliases.
8396 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
8397 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
8398 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8399 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8400 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8401 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8402 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8403 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8404 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8405 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8406 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8407 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8408 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8409 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8410 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8415 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8416 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8417 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8418 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8419 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8420 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8421 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8422 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
8424 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
8425 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
8426 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
8428 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8430 * math/Versions (GLIBC_2.29): Add log2.
8431 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
8433 * math/w_log2.c: New file.
8434 * sysdeps/i386/fpu/w_log2.c: New file.
8435 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
8436 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
8437 and add necessary aliases.
8438 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
8439 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
8440 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8441 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8442 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8443 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8444 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8445 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8446 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8447 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8448 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8449 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8450 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8451 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8452 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8457 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8458 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8459 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8460 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8461 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8462 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8463 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8465 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8467 * math/Versions (GLIBC_2.29): Add log.
8468 * math/w_log_compat.c (__log_compat): Change to versioned compat
8470 * math/w_log.c: New file.
8471 * sysdeps/i386/fpu/w_log.c: New file.
8472 * sysdeps/ia64/fpu/e_log.S: Update.
8473 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
8474 and add necessary aliases.
8475 * sysdeps/ieee754/dbl-64/w_log.c: New file.
8476 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
8477 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8478 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8479 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8480 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8481 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8482 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8483 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8484 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8485 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8486 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8487 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8488 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8489 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8494 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8495 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8496 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8497 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8498 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8499 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8500 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8501 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
8503 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
8504 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
8505 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
8506 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
8508 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8510 * math/Versions (GLIBC_2.29): Add exp and exp2.
8511 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
8512 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
8513 * math/w_exp_compat.c (__exp_compat): Likewise.
8514 * math/w_exp.c: New file.
8515 * math/w_exp2.c: New file.
8516 * sysdeps/i386/fpu/w_exp.c: New file.
8517 * sysdeps/i386/fpu/w_exp2.c: New file.
8518 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
8519 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
8520 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
8521 and add necessary aliases.
8522 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
8523 and add necessary aliases.
8524 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
8525 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
8526 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
8527 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
8528 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8529 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8530 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8531 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8532 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8533 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8534 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8535 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8536 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8537 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8538 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8539 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8540 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8545 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8546 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8547 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8548 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8549 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8550 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8551 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8552 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
8553 (__ieee754_exp): Rename to __exp.
8554 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
8555 (__ieee754_exp): Rename to __exp.
8556 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
8557 (__ieee754_exp): Rename to __exp.
8558 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
8560 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
8562 2018-11-20 DJ Delorie <dj@redhat.com>
8564 * malloc/malloc.c (tcache_entry): Add key field.
8565 (tcache_put): Set it.
8566 (tcache_get): Likewise.
8567 (_int_free): Check for double free in tcache.
8568 * malloc/tst-tcfree1.c: New.
8569 * malloc/tst-tcfree2.c: New.
8570 * malloc/Makefile: Run the new tests.
8571 * manual/probes.texi: Document memory_tcache_double_free probe.
8573 * dlfcn/dlerror.c (check_free): Prevent double frees.
8575 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
8577 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
8579 2018-11-20 Joseph Myers <joseph@codesourcery.com>
8581 * conform/conformtest.py (ElementTest.run): Use unique identifiers
8582 in tests. Use names for format arguments.
8583 (ConstantTest.run): Likewise.
8584 (SymbolTest.run): Likewise.
8585 (TypeTest.run): Likewise.
8586 (TagTest.run): Likewise.
8587 (FunctionTest.run): Likewise.
8588 (VariableTest.run): Likewise.
8589 (MacroFunctionTest.run): Likewise.
8590 (MacroStrTest.run): Likewise.
8591 (HeaderTests.__init__): Set self.num_tests.
8592 (HeaderTests.handle_test_line): Set test.num. Increment
8595 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
8597 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
8598 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
8601 2018-11-19 Mao Han <han_mao@c-sky.com>
8603 * scripts/config.guess: Update to version 2018-08-29.
8604 * scripts/config.sub: Update to version 2018-08-29.
8606 2018-11-19 Florian Weimer <fweimer@redhat.com>
8608 support: Print timestamps in timeout handler.
8609 * support/support_test_main.c (print_timestamp): New function.
8610 (signal_handler): Use it to print the termination time and the
8611 time of the last write to standard output.
8613 2018-11-16 Zack Weinberg <zackw@panix.com>
8614 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8616 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
8617 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
8619 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
8620 and add flags argument. Check flags instead of __ldbl_is_dbl when
8621 deciding whether to set is_long_double.
8622 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
8623 passing zero for flags argument.
8624 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
8626 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
8627 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
8628 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
8629 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
8630 variable names. Remove libc_hidden_def/libc_hidden_proto from
8631 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
8632 longer called from within the library.
8633 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
8634 for __nldbl___vstrfmon_l, declare it explicitly.
8636 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
8638 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
8640 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
8642 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
8643 F_SETLK64, F_SETLKW64, respectively.
8644 * sysdeps/mach/hurd/f_setlk.c: New file.
8645 * sysdeps/mach/hurd/f_setlk.h: New file.
8646 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
8648 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
8649 (__libc_fcntl): Move non-flock operations to...
8650 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
8651 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
8653 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
8655 mktime: DEBUG_MKTIME cleanup
8656 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
8657 And it’s no longer needed now that glibc and Gnulib both have
8658 their own testing mechanisms for mktime.
8659 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
8661 mktime: fix non-EOVERFLOW errno handling
8663 mktime was not properly reporting failures when the underlying
8664 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
8665 them like EOVERFLOW failures, and set errno to EOVERFLOW.
8666 The problem could happen on non-glibc platforms, with Gnulib.
8667 * time/mktime.c (guess_time_tm): Remove, replacing with ...
8668 (tm_diff): ... this simpler function, which does not change errno.
8669 All callers changed to deal with errno themselves.
8670 (ranged_convert, __mktime_internal): Return failure immediately if
8671 the underlying function reports any failure other than EOVERFLOW.
8672 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
8675 mktime: fix bug with Y2038 DST transition
8677 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
8678 mishandle a DST transition that jumps over the Y2038 boundary.
8679 No such DST transitions are known so this is only a theoretical
8680 bug, but we might as well do things right.
8682 mktime: make more room for overflow
8684 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
8685 This is so that we can add tm_diff results to a previous guess,
8686 which will be useful in a later patch.
8688 mktime: simplify offset guess
8690 * time/mktime.c (__mktime_internal): Omit excess precision.
8692 mktime: new test for mktime failure
8694 Based on a test suggested by Albert Aribaud in:
8695 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
8696 * time/Makefile (tests): Add bug-mktime4.
8697 * time/bug-mktime4.c: New file.
8699 mktime: fix EOVERFLOW bug
8701 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
8702 Include libc-config.h, not config.h, for __set_errno.
8703 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
8705 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
8707 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
8708 __attribute_copy__ to copy attributes from name. Drop static qualifier
8709 to avoid warnings about leaf attribute not having effect on static
8712 2018-11-13 Florian Weimer <fweimer@redhat.com>
8714 * malloc/malloc.c (fastbin_push_entry): New function.
8715 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
8716 (REMOVE_FB): Remove macro.
8717 (_int_malloc): Use fastbin_pop_entry and reindent.
8718 (_int_free): Use fastbin_push_entry.
8719 (malloc_consolidate): Use atomic_exchange_acquire.
8721 2018-11-13 Joseph Myers <joseph@codesourcery.com>
8723 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
8724 alias attribute, not with strong_alias.
8726 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
8727 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
8728 with additional parameter thread.
8729 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
8730 in terms of __hidden_ver2.
8731 (hidden_tls_def): New macro.
8732 (libc_hidden_tls_def): Likewise.
8733 (rtld_hidden_tls_def): Likewise.
8734 (libm_hidden_tls_def): Likewise.
8735 (libmvec_hidden_tls_def): Likewise.
8736 (libresolv_hidden_tls_def): Likewise.
8737 (librt_hidden_tls_def): Likewise.
8738 (libdl_hidden_tls_def): Likewise.
8739 (libnss_files_hidden_tls_def): Likewise.
8740 (libnsl_hidden_tls_def): Likewise.
8741 (libnss_nisplus_hidden_tls_def): Likewise.
8742 (libutil_hidden_tls_def): Likewise.
8743 (libutil_hidden_tls_def): Likweise.
8744 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
8745 libc_hidden_tls_def.
8746 (__sim_disabled_exceptions_thread): Likewise.
8747 (__sim_round_mode_thread): Likewise.
8749 * sysdeps/sparc/sparc-ifunc.h [SHARED]
8750 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
8751 copy attributes from name.
8753 2018-11-12 Joseph Myers <joseph@codesourcery.com>
8755 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
8756 Use __attribute_copy__ to copy attributes from name.
8758 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
8759 with __hidden_ver1 call.
8760 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
8761 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
8762 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
8763 (__cosf): Do not declare here.
8764 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
8765 (__sincosf): Do not declare here.
8766 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
8767 (__sinf): Do not declare here.
8769 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
8770 (__BIG_ENDIAN): Likewise.
8771 (__BYTE_ORDER): Likewise.
8772 (strong_alias): Likewise.
8773 (_strong_alias): Likewise.
8775 2018-11-12 Florian Weimer <fweimer@redhat.com>
8777 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
8778 function. Move after the definition of in_smallbin_range. Do not
8779 use __builtin_expect for paths that lead to a noreturn function.
8780 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
8781 because it is unclear whether this is in fact an unlikely
8783 (_int_malloc, _int_free): Adjust.
8784 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
8786 * malloc/arena.c (heap_trim): Likewise.
8788 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8790 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
8791 it, free it if needed.
8792 (reauthenticate): Test and use ccwdir.
8793 (child_init_port): In non-resetids case, test and use ccwdir.
8794 (child_chdir): New nested function to set ccwdir.
8795 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
8796 * hurd/hurd/port.h (_hurd_port_move): New function.
8797 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
8798 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
8799 * hurd/Versions (_hurd_port_move): Export function.
8800 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
8802 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
8803 of dtablesize for allocating dtable_cloexec.
8805 2018-11-09 Martin Sebor <msebor@redhat.com>
8807 * include/libc-symbols.h (__attribute_copy__): Define macro unless
8808 it's already defined.
8809 (_strong_alias): Use __attribute_copy__.
8810 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
8811 * misc/sys/cdefs.h (__attribute_copy__): New macro.
8812 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
8813 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
8814 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
8815 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
8816 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
8817 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
8818 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
8819 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
8820 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
8821 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
8822 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
8823 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
8824 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
8825 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
8826 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
8827 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
8828 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
8830 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8832 * misc/tst-efgcvt.c: Include support/check.h and
8833 support/test-driver.c. Do not include test-skeleton.c.
8834 (error_count): Remove.
8835 (output_error): Replace increments to error_count with calls to
8836 support_record_failure.
8837 (output_r_error): Likewise.
8838 (special): Likewise.
8839 (do_test): Unconditionally return zero.
8840 (TEST_FUNCTION): Remove.
8842 2018-11-09 Joseph Myers <joseph@codesourcery.com>
8844 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
8846 ($(linknamespace-header-tests)): Likewise.
8848 * conform/conformtest.py: New file.
8849 * conform/conformtest.pl: Remove.
8850 * conform/GlibcConform.pm: Likewise.
8851 * conform/glibcconform.py (KEYWORDS_C90): New constant.
8852 (KEYWORDS_C99): Likewise.
8853 (KEYWORDS): Likewise.
8854 * conform/Makefile ($(conformtest-header-tests)): Use
8855 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
8856 option. Use --header instead of --headers.
8857 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
8859 * conform/data/spawn.h-data: Likewise.
8860 * conform/data/fcntl.h-data (openat): Add space after function
8862 * conform/data/wchar.h-data (wcscasecmp): Likewise.
8863 (wcscasecmp_l): Likewise.
8864 * conform/data/termios.h-data (c_cc): Add space after element
8867 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8869 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
8870 instead of manually comparing and reporting mismatching strings.
8871 * misc/tst-ldbl-error.c (do_one_test): Likewise.
8872 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
8874 2018-11-08 Joseph Myers <joseph@codesourcery.com>
8876 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
8877 __ASSUME_SOCKETCALL.
8878 * sysdeps/unix/sysv/linux/i386/kernel-features.h
8879 (__ASSUME_SOCKETCALL): Remove.
8880 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8881 (__ASSUME_SOCKETCALL): Likewise.
8882 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8883 (__ASSUME_SOCKETCALL): Likewise.
8884 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8885 (__ASSUME_SOCKETCALL): Likewise.
8886 * sysdeps/unix/sysv/linux/s390/kernel-features.h
8887 (__ASSUME_SOCKETCALL): Likewise.
8888 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8889 (__ASSUME_SOCKETCALL): Likewise.
8890 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8891 (__ASSUME_SOCKETCALL): Likewise.
8893 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
8896 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
8897 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
8898 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
8899 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
8900 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
8903 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
8906 * resolv/tst-resolv-network.c: Add test for getnetbyname.
8908 2018-11-07 Joseph Myers <joseph@codesourcery.com>
8911 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8912 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
8913 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8914 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
8916 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8918 * support/support_test_compare_string.c
8919 (support_test_compare_string): Fix printf format.
8921 2018-11-07 Florian Weimer <fweimer@redhat.com>
8923 Implement TEST_COMPARE_STRING.
8924 * support/check.h (TEST_COMPARE_STRING): Define.
8925 (support_test_compare_string): Declare.
8926 * support/Makefile (libsupport-routines): Add
8927 support_test_compare_string.
8928 (tests): Add tst-test_compare_string.
8929 * support/support_test_compare_string.c: New file.
8930 * support/tst-test_compare_string.c: Likewise.
8932 2018-11-07 Andreas Schwab <schwab@suse.de>
8935 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
8936 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
8939 2018-11-06 Joseph Myers <joseph@codesourcery.com>
8942 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8943 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
8944 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
8945 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
8948 2018-11-06 Florian Weimer <fweimer@redhat.com>
8951 * posix/Makefile (routines): Add spawn_faction_addchdir.
8952 (tests): Add tst-spawn-chdir.
8953 * posix/Versions (GLIBC_2.29): Add
8954 posix_spawn_file_actions_addchdir_np.
8955 * posix/spawn_faction_addchdir.c: New file.
8956 * posix/spawn_faction_destroy.c
8957 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
8958 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
8959 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
8961 * posix/tst-spawn-chdir.c: New file.
8962 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
8963 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
8964 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
8965 posix_spawn_file_actions_addchdir_np.
8966 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
8968 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
8970 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
8971 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
8973 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
8975 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
8977 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
8979 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
8981 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
8983 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8984 (GLIBC_2.29): Likewise.
8985 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8986 (GLIBC_2.29): Likewise.
8987 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8988 (GLIBC_2.29): Likewise.
8989 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8990 (GLIBC_2.29): Likewise.
8991 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
8993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8994 (GLIBC_2.29): Likewise.
8995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8996 (GLIBC_2.29): Likewise.
8997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8998 (GLIBC_2.29): Likewise.
8999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9000 (GLIBC_2.29): Likewise.
9001 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
9003 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
9005 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
9007 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
9008 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
9010 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
9012 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
9014 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
9017 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9019 * misc/Makefile (tests): Add tst-ldbl-error.
9020 * misc/tst-ldbl-error.c: New file.
9022 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9024 * misc/Makefile (tests): Add tst-ldbl-warn.
9025 * misc/tst-ldbl-warn.c: New file.
9027 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9029 * argp/Makefile (tests): Add tst-ldbl-argp.
9030 * argp/tst-ldbl-argp.c: New file.
9032 2018-11-05 Arjun Shankar <arjun@redhat.com>
9034 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
9035 __gconv_path_elem and call __gconv_get_path unconditionally.
9037 2018-11-05 Andreas Schwab <schwab@suse.de>
9040 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
9041 creating the first helper thread failed.
9043 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
9045 * sysdeps/mach/hurd/msync.c: New file.
9047 2018-11-02 Florian Weimer <fweimer@redhat.com>
9049 * support/shell-container.c (copy_func): Call
9050 support_copy_file_range instead of copy_file_range to support
9051 cross-device copies.
9053 2018-11-02 Florian Weimer <fweimer@redhat.com>
9055 * support/test-container.c: Include <libc-pointer-arith.h> for
9058 2018-11-01 Zong Li <zong@andestech.com>
9060 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
9061 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
9062 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
9063 (__FP_FRAC_SET_8): Add implementation for RV32 use.
9065 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
9066 variable to avoid overlap arguments.
9068 2018-11-01 Joseph Myers <joseph@codesourcery.com>
9070 * posix/bug-regex22.c (main): Use puts with distinct error
9071 messages for unexpected success of re_compile_pattern, not printf
9072 with NULL argument to %s.
9074 * stdio-common/bug22.c: Include <libc-diag.h>.
9075 (do_test): Disable -Wformat-overflow= warnings around fprintf
9076 calls outputting more than INT_MAX characters.
9077 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
9078 around printf call with NULL %s argument.
9081 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
9082 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
9084 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9085 (__ASSUME_RECVMSG_SYSCALL): Likewise.
9086 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9087 (__ASSUME_SENDTO_SYSCALL): Likewise.
9088 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9089 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
9091 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9092 (__ASSUME_CONNECT_SYSCALL): Likewise.
9093 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9094 (__ASSUME_RECVFROM_SYSCALL): Likewise.
9095 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
9097 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
9099 [__LINUX_KERNEL_VERSION >= 0x040400]
9100 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9101 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
9104 (setsockopt): Likewise.
9106 2018-11-01 Fredrik Noring <noring@nocrew.org>
9108 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
9109 with the ISA override.
9111 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
9113 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
9116 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
9118 * manual/errno.texi (EIEIO): Document how translators should
9119 translate the error message.
9120 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
9121 printing trailing whitespaces refused by git.
9122 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
9123 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
9124 * hurd/Makefile (user-interfaces): Add pci.
9126 2018-10-30 Joseph Myers <joseph@codesourcery.com>
9128 * conform/linknamespace.py: New file.
9129 * conform/linknamespace.pl: Remove file.
9130 * conform/Makefile ($(linknamespace-header-tests)): Use
9131 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
9134 2018-10-30 Florian Weimer <fweimer@redhat.com>
9136 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
9139 2018-10-30 Florian Weimer <fweimer@redhat.com>
9141 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
9143 2018-10-30 Florian Weimer <fweimer@redhat.com>
9145 * stdlib/tst-strtod-overflow.c (do_test): Switch to
9146 support_blob_repeat.
9148 2018-10-30 Florian Weimer <fweimer@redhat.com>
9150 Avoid spurious test failures in stdlib/test-bz22786.
9151 * support/Makefile (libsupport-routines): Add blob_repeat.
9152 (tests): Add tst-support_blob_repeat.
9153 * support/blob_repeat.h: New file.
9154 * support/blob_repeat.c: Likewise.
9155 * support/tst-support_blob_repeat.c: Likewise.
9156 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
9157 support_blob_repeat_allocate.
9159 2018-10-30 Andreas Schwab <schwab@suse.de>
9162 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
9163 Don't use tail call.
9164 * elf/tst-unwind-main.c: New file.
9165 * elf/Makefile (tests): Add tst-unwind-main.
9166 (CFLAGS-tst-unwind-main.c): Define.
9168 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
9171 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
9173 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
9175 2018-10-29 Joseph Myers <joseph@codesourcery.com>
9177 * conform/glibcconform.py: Do not import shutil.
9178 (list_exported_functions): Use tempfile.TemporaryDirectory instead
9181 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
9182 critic_missing for versions before 3.4.
9183 * configure: Regenerated.
9184 * manual/install.texi (Tools for Compilation): Document
9185 requirement for Python to build glibc.
9186 * INSTALL: Regenerated.
9187 * Rules [PYTHON]: Make code unconditional.
9188 * benchtests/Makefile [PYTHON]: Likewise.
9189 * conform/Makefile [PYTHON]: Likewise.
9190 * manual/Makefile [PYTHON]: Likewise.
9191 * math/Makefile [PYTHON]: Likewise.
9193 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
9195 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
9196 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
9197 answer to interrupt_operation, return EIEIO instead of EINTR.
9198 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
9199 _hurd_intr_rpc_msg_about_to global point to start of controlled
9200 assembly snippet. Make it check canceled flag.
9201 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
9202 the _hurd_intr_rpc_msg_about_to point.
9203 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
9204 issue, remove cancel flag check.
9206 2018-10-26 Joseph Myers <joseph@codesourcery.com>
9208 * scripts/build-many-glibcs.py: Remove compatibility for missing
9209 os.cpu_count and re.fullmatch.
9211 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
9214 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
9215 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
9216 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
9218 2018-10-25 Joseph Myers <joseph@codesourcery.com>
9220 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
9223 2018-10-25 Florian Weimer <fweimer@redhat.com>
9227 XFAIL siginfo_t si_band conform test on sparc64.
9228 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
9229 (__SI_BAND_TYPE): Only override long int default type on sparc64.
9230 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9231 (conformtest-xfail-conds): Add sparc64-linux.
9232 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
9234 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
9236 2018-10-25 Joseph Myers <joseph@codesourcery.com>
9238 * elf/elf.h (NT_MIPS_DSP): New macro.
9239 (NT_MIPS_FP_MODE): Likewise.
9241 2018-10-25 Zong Li <zong@andestech.com>
9243 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
9244 name by adding the file extension (.so).
9246 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
9248 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
9249 (test-xfail-ISO11/threads.h/linknamespace,
9250 test-xfail-ISO11/threads.h/conform): Add.
9252 2018-10-24 Joseph Myers <joseph@codesourcery.com>
9254 * math/gen-libm-test.py: Import os.
9255 (ALL_FLOATS_MANUAL): New constant.
9256 (ALL_FLOATS_SUFFIX): Likewise.
9257 (Ulps.all_functions): New function.
9258 (real_all_ulps): Likewise.
9259 (generate_err_table_sub): Likewise.
9260 (generate_err_table): Likewise.
9261 (main): Handle -s and -m options.
9262 * manual/libm-err-tab.pl: Remove.
9263 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
9264 instead of libm-err-tab.pl.
9265 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
9267 * manual/install.texi (Tools for Compilation): Document
9268 requirement for Python to build manual.
9269 * INSTALL: Regenerated.
9271 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
9273 * bits/time64.h: New file.
9274 * include/time.h: Replace internal_time_t with __time64_t.
9275 * posix/bits/types (__time64_t): Add.
9276 * stdlib/Makefile: Add bits/time64.h to includes.
9277 * time/tzfile.c: Replace internal_time_t with __time64_t.
9279 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9281 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
9282 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
9283 __posix_spawn_file_actions_init, __posix_spawnattr_init,
9284 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
9285 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
9287 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
9288 * posix/spawn_faction_addclose.c
9289 (__posix_spawn_file_actions_addclose): Add hidden definition.
9290 * posix/spawn_faction_adddup2.c
9291 (__posix_spawn_file_actions_adddup2): Likewise.
9292 * posix/spawn_faction_destroy.c
9293 (__posix_spawn_file_actions_destroy): Likewise.
9294 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
9296 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
9297 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
9298 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
9300 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
9301 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
9304 2018-10-24 Andreas Schwab <schwab@suse.de>
9307 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
9309 * elf/cache.c (print_cache): Likewise.
9311 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
9313 * bits/timesize.h: New file.
9314 * stdlib/Makefile (headers): Add bits/timesize.h.
9315 * sysdeps/unix/sysv/linux/bits/msq-pad.h
9316 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
9317 * sysdeps/unix/sysv/linux/bits/sem-pad.h
9318 (__SEM_PAD_AFTER_TIME): Likewise.
9319 * sysdeps/unix/sysv/linux/bits/shm-pad.h
9320 (__SHM_PAD_AFTER_TIME): Likewise.
9321 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
9322 (__MSQ_PAD_BEFORE_TIME): Likewise.
9323 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
9324 (__SEM_PAD_BEFORE_TIME): Likewise.
9325 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
9326 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
9327 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
9328 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
9329 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
9330 (__MSQ_PAD_BEFORE_TIME): Likewise.
9331 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
9332 (__SEM_PAD_BEFORE_TIME): Likewise.
9333 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
9334 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
9335 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
9336 (__MSQ_PAD_BEFORE_TIME): Likewise.
9337 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
9338 (__SEM_PAD_BEFORE_TIME): Likewise.
9339 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
9340 (__SHM_PAD_BEFORE_TIME): Likewise.
9341 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
9342 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
9343 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
9345 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
9347 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
9348 USE_RDTSCP is defined.
9349 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
9350 USE_RDTSCP is defined.
9352 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9354 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
9358 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
9359 independently of other flags.
9361 2018-10-23 Florian Weimer <fweimer@redhat.com>
9363 * time/tst-mktime2.c (N_STRINGS): Remove.
9364 (set_timezone): New function.
9365 (spring_forward_gap): Call it. Use FAIL_EXIT1.
9366 (mktime_test1): Report localtime failure and check errno value.
9368 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
9369 (do_test): Remove alarm call. Use set_timezone and array_length.
9371 2018-10-23 Andreas Schwab <schwab@suse.de>
9373 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
9374 (__start_context): Use END instead of PSEUDO_END.
9376 2018-10-22 Joseph Myers <joseph@codesourcery.com>
9378 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9381 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9385 * wcsmbs/c32rtomb.c: New file.
9386 * wcsmbs/mbrtoc32.c: Likewise.
9387 * wcsmbs/tst-c32-state.c: Likewise.
9388 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
9389 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
9390 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
9391 (tests): Add tst-c32-state.
9392 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
9395 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
9397 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
9398 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
9400 2018-10-19 Joseph Myers <joseph@codesourcery.com>
9403 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
9404 pair and return 0 in that case, and use saved character to
9405 interpret following character.
9406 * wcsmbs/tst-c16-surrogate.c: New file.
9407 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
9408 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
9409 Depend on $(gen-locales)
9411 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
9414 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
9415 (struct siginfo_t): Use correct type for si_band.
9417 2018-10-19 Florian Weimer <fweimer@redhat.com>
9420 * resource/bits/types/struct_rusage.h (struct rusage): Update
9421 comment on struct. Remove extraneous field comment.
9423 2018-10-18 David S. Miller <davem@davemloft.net>
9425 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
9426 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
9427 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
9428 sysdep_routines in subdir elf.
9429 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
9430 version for __vdso_clock_gettime.
9431 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
9433 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
9434 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
9436 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
9438 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
9440 * sysdeps/i386/init-arch.h: Removed.
9441 * sysdeps/i386/i586/init-arch.h: Likewise.
9442 * sysdeps/i386/i686/init-arch.h: Likewise.
9443 * sysdeps/i386/i686/hp-timing.h: Likewise.
9444 * sysdeps/x86_64/hp-timing.h: Likewise.
9445 * sysdeps/i386/isa.h: New file.
9446 * sysdeps/i386/i586/isa.h: Likewise.
9447 * sysdeps/i386/i686/isa.h: Likewise.
9448 * sysdeps/x86_64/isa.h: Likewise.
9449 * sysdeps/x86/hp-timing.h: New file.
9450 * sysdeps/x86/init-arch.h: Include <isa.h>.
9452 2018-10-17 Joseph Myers <joseph@codesourcery.com>
9454 * math/libm-test-pow.inc (pow_test_data): Do not allow
9455 divide-by-zero exception for pow(+/- 0, -Inf).
9457 2018-10-17 Zack Weinberg <zackw@panix.com>
9459 * manual/job.texi (Job Control is Optional): Remove node, as
9460 job control has not been optional in quite some time.
9461 (Job Control): Mention briefly that systems older than
9462 POSIX.1-2001 might not support job control.
9463 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
9464 defined on systems conforming to POSIX.1-2001.
9466 2018-10-17 Arjun Shankar <arjun@redhat.com>
9469 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
9471 * (__gconv_read_conf): Mark function static.
9472 * (once): New static variable.
9473 * (__gconv_load_conf): New function.
9474 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
9475 * iconv/gconv_db.c (once): Remove static variable.
9476 * (__gconv_compare_alias): Use __gconv_load_conf instead of
9478 * (__gconv_find_transform): Likewise.
9479 * iconv/tst-iconv-mt.c: New test.
9480 * iconv/Makefile: Add tst-iconv_mt.
9482 2018-10-17 Joseph Myers <joseph@codesourcery.com>
9484 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9486 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
9487 (shmatt_t): Define as __syscall_ulong_t.
9488 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
9489 and [__SHM_PAD_AFTER_TIME].
9490 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
9491 Define shm_segsz and associated padding based on
9492 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
9493 Use __syscall_ulong_t instead of unsigned long int.
9494 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
9496 [__USE_MISC] (struct shm_info): Likewise.
9497 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
9498 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
9499 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
9500 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
9501 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
9502 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
9503 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
9504 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
9505 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9506 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9507 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9509 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9511 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
9512 (SHMLBA): Remove macro.
9513 (__getpagesize): Remove function declaration.
9514 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
9516 (SHMLBA): Remove macro.
9517 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
9519 (SHMLBA): Remove macro.
9520 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
9522 (SHMLBA): Remove macro.
9523 (__getpagesize): Remove function declaration.
9524 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
9526 (SHMLBA): Remove macro.
9527 (__getshmlba): Remove function declaration.
9528 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
9529 (SHMLBA): Remove macro.
9530 (__getpagesize): Remove function declaration.
9531 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
9532 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
9533 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9534 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
9535 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
9536 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
9537 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
9538 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
9539 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
9540 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
9542 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
9545 * nptl/tst-mutex10.c: New File.
9546 * nptl/Makefile (tests): Add tst-mutex10.
9547 (tst-mutex10-ENV): New variable.
9548 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
9549 Ensure that elision path is used if elision is available.
9550 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
9552 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
9554 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
9555 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
9556 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
9557 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
9559 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
9560 (__pthread_mutex_cond_lock_adjust): Likewise.
9561 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
9563 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
9564 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
9565 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9566 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
9568 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
9569 Use atomic_load_relaxed and atomic_store_relaxed.
9570 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
9571 Use atomic_store_relaxed.
9573 2018-10-17 Andreas Schwab <schwab@suse.de>
9575 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
9576 * crypt/badsalttest.c (TIMEOUT): Likewise.
9577 * crypt/sha256c-test.c (TIMEOUT): Likewise.
9578 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
9579 * io/test-lfs.c (TIMEOUT): Likewise.
9580 * libio/tst-atime.c (TIMEOUT): Likewise.
9581 * localedata/tst-leaks.c (TIMEOUT): Likewise.
9582 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
9583 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
9584 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
9585 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
9586 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
9587 * nptl/tst-cond11.c (TIMEOUT): Likewise.
9588 * nptl/tst-cond14.c (TIMEOUT): Likewise.
9589 * nptl/tst-cond15.c (TIMEOUT): Likewise.
9590 * nptl/tst-cond24.c (TIMEOUT): Likewise.
9591 * nptl/tst-cond25.c (TIMEOUT): Likewise.
9592 * nptl/tst-kill2.c (TIMEOUT): Likewise.
9593 * nptl/tst-kill3.c (TIMEOUT): Likewise.
9594 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
9595 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
9596 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
9597 * nptl/tst-once2.c (TIMEOUT): Likewise.
9598 * nptl/tst-once3.c (TIMEOUT): Likewise.
9599 * nptl/tst-once4.c (TIMEOUT): Likewise.
9600 * nptl/tst-robust8.c (TIMEOUT): Likewise.
9601 * nptl/tst-robust9.c (TIMEOUT): Likewise.
9602 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
9603 * nptl/tst-sem14.c (TIMEOUT): Likewise.
9604 * nptl/tst-sem6.c (TIMEOUT): Likewise.
9605 * nptl/tst-signal3.c (TIMEOUT): Likewise.
9606 * nptl/tst-spin4.c (TIMEOUT): Likewise.
9607 * nptl/tst-tls3.c (TIMEOUT): Likewise.
9608 * nptl/tst-tls4.c (TIMEOUT): Likewise.
9609 * posix/tst-chmod.c (TIMEOUT): Likewise.
9610 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
9611 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
9612 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
9613 * posix/tst-regex2.c (TIMEOUT): Likewise.
9614 * posix/tst-waitid.c (TIMEOUT): Likewise.
9615 * rt/tst-aio.c (TIMEOUT): Likewise.
9616 * rt/tst-aio10.c (TIMEOUT): Likewise.
9617 * rt/tst-aio4.c (TIMEOUT): Likewise.
9618 * rt/tst-aio5.c (TIMEOUT): Likewise.
9619 * rt/tst-aio6.c (TIMEOUT): Likewise.
9620 * rt/tst-aio64.c (TIMEOUT): Likewise.
9621 * rt/tst-aio7.c (TIMEOUT): Likewise.
9622 * rt/tst-aio9.c (TIMEOUT): Likewise.
9623 * rt/tst-clock.c (TIMEOUT): Likewise.
9624 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
9625 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
9626 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
9627 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
9628 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
9629 * rt/tst-timer4.c (TIMEOUT): Likewise.
9630 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
9631 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
9632 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
9633 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
9634 * time/tst-ftime.c (TIMEOUT): Likewise.
9635 * timezone/tst-tzset.c (TIMEOUT): Likewise.
9637 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
9639 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
9640 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
9643 2018-10-15 Joseph Myers <joseph@codesourcery.com>
9645 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9647 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
9648 instead of <bits/wordsize.h>.
9649 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
9650 and [__SEM_PAD_AFTER_TIME].
9651 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
9652 __syscall_ulong_t instead of unsigned long int.
9653 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
9654 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
9655 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
9656 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
9657 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
9658 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
9659 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
9660 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
9661 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9662 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9663 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9665 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
9667 regex: simplify by using intprops.h
9669 * posix/regex_internal.h [_LIBC]: Include intprops.h.
9670 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
9671 intprops.h defines them.
9673 regex: __builtin_expect → __glibc_unlikely
9675 This refactoring was prompted by a problem when the regex code is
9676 used as part of Gnulib and when the builder’s compiler does not grok
9677 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
9678 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
9679 Although this refactoring does not fix the problem directly,
9680 we might as well have Gawk use the now-preferred glibc style for when
9681 __builtin_expect is unavailable.
9682 * posix/regex_internal.h (BE): Remove.
9683 All uses replaced by __glibc_unlikely or __glibc_likely.
9685 2018-10-11 Joseph Myers <joseph@codesourcery.com>
9687 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9689 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
9690 instead of <bits/wordsize.h>.
9691 (msgqnum_t): Define as __syscall_ulong_t.
9692 (msglen_t): Likewise.
9693 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
9694 and [__MSQ_PAD_AFTER_TIME].
9695 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
9696 __syscall_ulong_t instead of unsigned long int.
9697 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
9698 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
9699 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
9700 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
9701 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
9702 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
9703 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
9704 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
9705 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9706 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9707 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9709 2018-10-10 Joseph Myers <joseph@codesourcery.com>
9711 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
9712 (struct shmid_ds): Condition padding after time fields on
9714 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
9715 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
9716 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9718 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
9719 (struct semid_ds): Condition padding after time fields on
9721 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
9722 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
9723 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
9724 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9726 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
9727 (struct msqid_ds): Condition padding after time fields on
9729 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
9730 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
9731 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
9732 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9734 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
9736 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
9738 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
9740 * libio/tst-readline.c (TIMEOUT): Define.
9742 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
9744 mktime fix for Gnulib + coreutils
9746 This fix affects only Gnulib. Problem discovered when
9747 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
9749 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
9750 Do not define since it is not used. Defining an unused static
9751 function prompts a warning from GCC when Coreutils is configured
9752 with --enable-gcc-warnings.
9754 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9756 * benchtests/scripts/compare_bench.py (main): set float type on
9759 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
9762 * localedata/locales/kl_GL (mon): Update, the relative case.
9763 (alt_mon): Add, fill with month names in the nominative case.
9764 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
9765 (d_fmt): Set to "%b %d %Y".
9767 2018-10-04 Joseph Myers <joseph@codesourcery.com>
9769 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
9770 <bits/mman-linux.h>.
9771 (PROT_READ): Don't define here.
9772 (PROT_WRITE): Likewise.
9773 (PROT_EXEC): Likewise.
9774 (PROT_NONE): Likewise.
9775 (PROT_GROWSDOWN): Likewise.
9776 (PROT_GROWSUP): Likewise.
9777 (MAP_SHARED): Likewise.
9778 (MAP_PRIVATE): Likewise.
9779 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
9780 [__USE_MISC] (MAP_FILE): Likewise.
9781 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
9782 [__USE_MISC] (MAP_ANON): Likewise.
9783 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
9784 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
9785 (MCL_CURRENT): Likewise.
9786 (MCL_FUTURE): Likewise.
9787 (MCL_ONFAULT): Likewise.
9788 [__USE_MISC] (MADV_NORMAL): Likewise.
9789 [__USE_MISC] (MADV_RANDOM): Likewise.
9790 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
9791 [__USE_MISC] (MADV_WILLNEED): Likewise.
9792 [__USE_MISC] (MADV_DONTNEED): Likewise.
9793 [__USE_MISC] (MADV_FREE): Likewise.
9794 [__USE_MISC] (MADV_REMOVE): Likewise.
9795 [__USE_MISC] (MADV_DONTFORK): Likewise.
9796 [__USE_MISC] (MADV_DOFORK): Likewise.
9797 [__USE_MISC] (MADV_HWPOISON): Likewise.
9798 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
9799 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
9800 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
9801 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
9802 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
9803 (__MAP_ANONYMOUS): New macro.
9804 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
9805 <bits/mman-linux.h> inclusion.
9806 (MAP_FIXED): Likewise.
9807 (MS_SYNC): Likewise.
9808 (MS_ASYNC): Likewise.
9809 (MS_INVALIDATE): Likewise.
9810 [__USE_MISC] (MADV_MERGEABLE): Likewise.
9811 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
9812 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
9813 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
9814 [__USE_MISC] (MADV_DONTDUMP): Likewise.
9815 [__USE_MISC] (MADV_DODUMP): Likewise.
9816 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
9817 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
9820 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
9822 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
9823 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
9824 Add test-nldbl-redirect.
9825 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
9826 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
9827 $(objpfx)libnldbl_nonshared.a.
9829 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
9831 * support/support.h (support_objdir_elf_ldso): New variable.
9832 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
9833 * support/Makefile (CFLAGS-support_paths.c): Add definition
9834 for OBJDIR_ELF_LDSO_PATH.
9835 * support/test-container.c (main): Search for the ld.so
9836 which is also used by the testsuite.
9838 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
9841 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
9842 should be "sap" rather than "sab".
9843 (day): Fix spelling of Sunday, should be "sapaat" rather than
9846 2018-10-02 Joseph Myers <joseph@codesourcery.com>
9848 * math/libm-test-fma.inc (fma_test_data): Add more tests.
9850 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
9853 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
9854 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
9855 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
9857 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9859 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
9861 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
9863 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
9865 (CFLAGS-elision-unlock.c): Likewise.
9866 (CFLAGS-elision-timed.c): Likewise.
9867 (CFLAGS-elision-trylock.c): Likewise.
9868 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
9870 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9873 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
9874 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
9875 new fd_to_filename interface.
9876 * libio/freopen64.c (freopen64): Likewise.
9877 * libio/tst-memstream.h: New file.
9878 * libio/tst-memstream4.c: Likewise.
9879 * libio/tst-wmemstream4.c: Likewise.
9880 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
9881 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
9882 and remove internal dynamic allocation.
9884 2018-10-01 Joseph Myers <joseph@codesourcery.com>
9886 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
9887 (MREMAP_MAYMOVE): Do not define here.
9888 [__USE_GNU] (MREMAP_FIXED): Likewise.
9889 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
9890 (MREMAP_MAYMOVE): Define here instead.
9891 [__USE_GNU] (MREMAP_FIXED): Likewise.
9892 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
9893 (MREMAP_MAYMOVE): Remove.
9894 [__USE_GNU] (MREMAP_FIXED): Likewise.
9896 2018-09-28 Joseph Myers <joseph@codesourcery.com>
9898 * math/fromfp.h: Do not include <math_private.h>.
9899 * math/s_cacosh_template.c: Likewise.
9900 * math/s_casin_template.c: Likewise.
9901 * math/s_casinh_template.c: Likewise.
9902 * math/s_ccos_template.c: Likewise.
9903 * math/s_cproj_template.c: Likewise.
9904 * math/s_fdim_template.c: Likewise.
9905 * math/s_fmaxmag_template.c: Likewise.
9906 * math/s_fminmag_template.c: Likewise.
9907 * math/s_iseqsig_template.c: Likewise.
9908 * math/s_ldexp_template.c: Likewise.
9909 * math/s_nextdown_template.c: Likewise.
9910 * math/w_log1p_template.c: Likewise.
9911 * math/w_scalbln_template.c: Likewise.
9912 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
9913 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
9914 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
9915 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
9916 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
9917 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
9918 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
9919 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
9920 * sysdeps/i386/fpu/s_atanl.c: Likewise.
9921 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
9922 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
9923 * sysdeps/i386/fpu/s_fdim.c: Likewise.
9924 * sysdeps/i386/fpu/s_logbl.c: Likewise.
9925 * sysdeps/i386/fpu/s_rintl.c: Likewise.
9926 * sysdeps/i386/fpu/s_significandl.c: Likewise.
9927 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
9928 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
9929 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9930 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9931 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
9932 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9933 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9934 * sysdeps/ieee754/k_standardf.c: Likewise.
9935 * sysdeps/ieee754/k_standardl.c: Likewise.
9936 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9937 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
9938 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
9939 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
9940 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
9941 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
9942 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9943 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9944 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9945 * sysdeps/ieee754/s_signgam.c: Likewise.
9946 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
9947 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
9948 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
9949 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9950 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9951 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
9952 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9953 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
9954 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9955 * sysdeps/riscv/rvd/s_finite.c: Likewise.
9956 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
9957 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
9958 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
9959 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
9960 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
9961 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
9962 * sysdeps/riscv/rvf/fegetround.c: Likewise.
9963 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
9964 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
9965 * sysdeps/riscv/rvf/fesetround.c: Likewise.
9966 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
9967 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
9968 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
9969 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9970 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
9971 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9972 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
9973 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
9974 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
9975 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
9976 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
9977 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
9978 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
9979 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
9980 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9981 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9982 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
9984 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
9986 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
9989 * sysdeps/i386/dl-cet.c: Removed.
9990 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
9992 (_dl_runtime_profile_shstk): Likewise.
9993 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
9994 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
9996 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9999 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
10000 do_test_with_invalid_iov): New tests.
10001 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
10002 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
10003 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
10005 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
10006 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
10007 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
10009 2018-09-27 Joseph Myers <joseph@codesourcery.com>
10011 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10012 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
10013 (MATH_REDIRECT_BINARY_ARGS): New macro.
10014 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10015 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
10016 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
10018 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
10019 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10020 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
10021 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10022 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10023 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10024 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
10027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
10029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
10030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
10031 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
10032 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
10033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
10035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
10037 * sysdeps/generic/math_private_calls.h
10038 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
10039 Do not declare and define as an inline function.
10040 * math/divtc3.c (__divtc3): Use copysign functions instead of
10041 __copysign variants.
10042 * math/multc3.c (__multc3): Likewise.
10043 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
10044 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
10045 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10046 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
10048 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10049 (__ieee754_yn): Likewise.
10050 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10051 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
10052 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10053 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10054 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
10056 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
10057 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10059 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10061 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10063 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10064 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10066 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10067 (__ieee754_ynf): Likewise.
10068 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
10069 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10070 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
10071 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10073 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10074 (__ieee754_ynl): Likewise.
10075 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10076 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10077 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10079 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10080 (__ieee754_ynl): Likewise.
10081 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
10082 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10083 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10084 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10086 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10088 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
10089 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10090 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
10091 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
10092 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10094 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10095 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
10096 using MATH_REDIRECT.
10097 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
10099 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
10100 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10101 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10102 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
10103 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10104 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10105 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
10107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
10108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
10109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
10110 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
10111 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
10112 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10113 (round): Redirect to __round.
10114 (__roundl): Call round instead of __round.
10115 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
10117 [_ARCH_PWR5X] (__roundf): Likewise.
10118 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
10119 functions instead of __round variants.
10120 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
10121 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
10123 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
10125 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
10127 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
10128 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
10130 (__ieee754_expl): Call roundl instead of __roundl.
10132 2018-09-27 Andreas Schwab <schwab@suse.de>
10135 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
10136 (do_test): Make st1 static.
10138 2018-09-26 Andreas Schwab <schwab@suse.de>
10141 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
10142 * elf/Makefile (tests): Add tst-unwind-ctor.
10143 (modules-names): Add tst-unwind-ctor-lib.
10144 ($(objpfx)tst-unwind-ctor): Depend on
10145 $(objpfx)tst-unwind-ctor-lib.so.
10147 2018-09-26 Joseph Myers <joseph@codesourcery.com>
10149 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
10150 file. Most contents moved from ....
10151 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
10152 and include <bits/mman-map-flags-generic.h>.
10153 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10154 (sysdep_headers): Add bits/mman-map-flags-generic.h.
10155 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
10156 <bits/mman-map-flags-generic.h>.
10157 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
10158 macros defined in <bits/mman-map-flags-generic.h>.
10159 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
10160 <bits/mman-map-flags-generic.h>.
10161 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
10162 defined in <bits/mman-map-flags-generic.h>.
10164 2018-09-26 Andreas Schwab <schwab@suse.de>
10166 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
10169 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
10170 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10171 Fangrui Song <maskray@google.com>
10174 * config.make.in (have-textrel_ifunc): New define.
10175 * configure.ac: Add check if linker supports textrel relocation with
10177 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
10179 (CFLAGS-tst-ifunc-textrel.c): New rule.
10180 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
10181 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
10182 * elf/tst-ifunc-textrel.c: New file.
10184 2018-09-25 Joseph Myers <joseph@codesourcery.com>
10186 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
10187 <bits/procfs-prregset.h>.
10188 (prgregset_t): Define using __prgregset_t.
10189 (prfpregset_t): Define using __prfpregset_t.
10190 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10191 (sysdep_headers): Add bits/procfs-prregset.h.
10192 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
10193 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
10194 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
10195 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
10197 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
10198 <bits/procfs-id.h> and <bits/procfs-extra.h>.
10199 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
10201 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10202 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
10203 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
10204 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
10205 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
10206 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
10207 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
10208 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
10209 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
10210 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
10211 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
10212 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
10213 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
10214 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
10215 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
10216 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
10217 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
10218 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
10219 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
10220 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
10221 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
10222 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
10223 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
10224 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
10226 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
10227 AArch64 version. Include <bits/procfs.h>.
10228 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10229 (sysdep_headers): Add bits/procfs.h.
10230 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
10231 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
10232 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
10233 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
10234 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
10235 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
10236 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
10237 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
10238 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
10239 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
10240 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
10241 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
10242 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
10243 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
10244 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
10245 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
10246 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
10248 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10250 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
10253 2018-09-25 Arjun Shankar <arjun@redhat.com>
10255 * iconv/gconv_int.h (__gconv_path_elem): Remove.
10256 (__gconv_max_path_elem_len): Likewise.
10257 (__gconv_nmodules): Likewise.
10258 (__gconv_get_path): Likewise.
10259 (path_elem): Move to ...
10260 * iconv/gconv_conf.c: ... here.
10261 (__gconv_get_path): Mark function static.
10262 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
10263 * iconv/gconv_open.c: ... here.
10265 2018-09-24 Andreas Schwab <schwab@suse.de>
10267 * scripts/haveversions.awk: New file.
10268 * Makerules ($(common-objpfx)Versions.def)
10269 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
10270 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
10272 * Makeconfig ($(common-objpfx)Versions.def)
10273 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
10274 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
10276 ($(common-objpfx)Versions.mk): New rule. Include it.
10277 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
10278 Emit error if build-obsolete-nsl = yes.
10279 * manual/install.texi (Configuring and compiling): Describe
10280 --enable-obsolete-nsl as unavaiable after version 2.28.
10281 * INSTALL: Regenerate.
10283 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10285 * NEWS: Add note about new TLE support on powerpc64le.
10286 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
10287 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
10289 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
10290 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
10291 * sysdeps/powerpc/powerpc32/sysdep.h,
10292 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
10293 ABORT_TRANSACTION): Remove macros.
10294 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
10295 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
10296 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
10297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
10298 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10299 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
10301 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
10303 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
10306 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
10307 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
10308 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
10309 which is the same as in it_IT.
10310 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
10311 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
10313 2018-09-20 Joseph Myers <joseph@codesourcery.com>
10315 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10316 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
10317 using MATH_REDIRECT.
10318 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
10320 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
10321 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10322 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
10323 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10324 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10325 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
10327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
10328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
10329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
10330 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
10331 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
10332 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
10333 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
10334 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
10335 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
10336 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
10337 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10338 (ceil): Redirect to __ceil.
10339 (floor): Redirect to __floor.
10340 (trunc): Redirect to __trunc.
10341 (__truncl): Call trunc instead of __trunc.
10342 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
10344 [_ARCH_PWR5X] (__truncf): Likewise.
10345 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
10346 trunc functions instead of __trunc variants.
10347 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10349 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10351 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10353 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10356 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
10357 [__i586__ || __pentium__].
10358 [__i486__]: Handle explicitly.
10359 (HAS_CPUID): Define to 1 if above macros are undefined.
10360 (HAS_I586): Likewise.
10361 (HAS_I686): Likewise.
10363 2018-09-20 Florian Weimer <fweimer@redhat.com>
10365 * misc/tst-gethostid.c: New file.
10366 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
10367 (tst-gethostid): Link with -ldl.
10369 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
10371 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
10372 value from gethostbyname_r.
10374 2018-09-19 Carlos O'Donell <carlos@redhat.com>
10376 * stdlib/tst-setcontext9.c (f1): Rename to...
10378 (f1b): New function implementing lower half of f1 in alternate stack.
10380 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
10382 Fix mktime localtime offset confusion
10384 * include/time.h (__mktime_internal): The localtime offset is now
10385 of type long int instead of time_t. This is the longstanding type
10386 in glibc, and it is more than enough to represent difference
10387 between localtime and gmtime even if it is 32 bits and time_t is
10388 64. Changing it now will let us avoid an unnecessary change when
10389 time_t is widened to 64 bits on 32-bit platforms.
10390 * time/mktime-internal.h (mktime_offset_t): Now long int.
10392 Merge mktime, timegm from upstream Gnulib
10393 [BZ #23603][BZ #16346]
10394 This fixes some obscure problems with integer overflow.
10395 Although it looks scary, it is almost all a byte-for-byte copy
10396 from Gnulib, and the Gnulib code has been tested reasonably well.
10397 * include/intprops.h: New file, copied from Gnulib.
10398 * include/verify.h, time/mktime-internal.h:
10399 New tiny files, simplified from Gnulib.
10400 * time/mktime.c: Copy from Gnulib. This has the following changes:
10401 Do not include config.h if DEBUG_MKTIME is nonzero.
10402 Include stdbool.h, intprops.h, verify.h.
10403 Include string.h only if needed.
10404 Include stdlib.h on MS-Windows.
10405 Include mktime-internal.h.
10406 (DEBUG_MKTIME): Default to 0, and simplify later uses.
10407 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
10408 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
10409 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
10410 simplify later conditionals; default the others to zero. Use
10411 these conditionals to express only the code needed on the current
10412 platform. In uses of these conditionals, explicitly spell out how
10413 _LIBC affects things, so it’s easier to review from a glibc
10415 (WRAPV): Remove; no longer needed now that we have
10416 systematic overflow checking.
10417 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
10418 compartmentalize tzset issues. Move system-dependent tzsettish
10419 code here from mktime.
10420 (verify): Remove; now done by verify.h. All uses changed.
10421 (long_int): Use a more-conservative definition, to avoid
10423 (SHR): Remove, replacing with ...
10424 (shr): New function, which means we needn’t worry about side
10425 effects in args, and conversion analysis is simpler.
10426 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
10427 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
10428 (time_t_avg, time_t_add_ok): Remove.
10429 (mktime_min, mktime_max): New constants.
10430 (leapyear, isdst_differ): Use bool for booleans.
10431 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
10432 Use long_int, not time_t, for mktime differences.
10433 (long_int_avg): New function, replacing time_t_avg.
10434 INT_ADD_WRAPV replaces time_t_add_ok.
10435 (guess_time_tm): 6th arg is now long_int, not time_t const *.
10437 (convert_time): New function.
10438 (ranged_convert): Use it.
10439 (__mktime_internal): Last arg now points to mktime_offset_t, not
10440 time_t. All uses changed. This is a no-op on glibc, where
10441 mktime_offset_t is always time_t. Use int, not time_t, for UTC
10442 offset guess. Directly check for integer overflow instead of
10443 using a heuristic that works only 99.9...% of the time.
10444 Access *OFFSET only once, to avoid an unlikely race if the
10445 compiler delays a load and if this cascades into a signed integer
10447 (mktime): Move tzsettish code to my_tzset, and move
10448 localtime_offset to within mktime so that it doesn’t
10449 need a separate ifdef.
10450 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
10451 instead of localtime.
10452 * time/timegm.c: Copy from Gnulib. This has the following changes:
10453 Include mktime-internal.h.
10454 [!_LIBC]: Include config.h and time.h. Do not include
10455 timegm.h or time_r.h. Make __mktime_internal a macro,
10456 and include mktime-internal.h to get its declaration.
10457 (timegm): Temporary is now mktime_offset_t, not time_t.
10458 This affects only Gnulib.
10460 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
10463 * string/test-strstr.c (pr23637): New function.
10464 (test_main): Add tests with longer needles.
10465 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
10466 * string/strstr.c (AVAILABLE): Likewise.
10468 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
10470 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
10472 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
10474 * NEWS: Mention pow improvements.
10475 * math/Makefile (type-double-routines): Add e_pow_log_data.
10476 * sysdeps/generic/math_private.h (__exp1): Remove.
10477 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
10478 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
10479 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
10481 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
10482 (exp_inline): Remove.
10483 (__ieee754_exp): Only single double input is handled.
10484 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
10485 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
10486 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
10487 (__pow_log_data): Define.
10488 * sysdeps/ieee754/dbl-64/upow.h: Remove.
10489 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
10490 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
10491 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
10493 (CFLAGS-e_pow-fma4.c): Likewise.
10495 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
10497 Simplify tzfile fstat failure code
10499 * time/tzfile.c (__tzfile_read): Simplify slightly.
10501 Fix tzfile low-memory assertion failure
10503 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
10504 when registering time zone abbreviations.
10506 2018-09-18 Joseph Myers <joseph@codesourcery.com>
10508 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
10509 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
10510 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
10511 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
10512 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
10513 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
10514 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
10515 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10516 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10518 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
10520 (__ceill): Call ceil instead of __ceil.
10521 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
10523 (__floorl): Call floor instead of __floor.
10525 2018-09-17 Joseph Myers <joseph@codesourcery.com>
10527 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10528 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
10529 using MATH_REDIRECT.
10530 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
10532 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
10533 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10534 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10535 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
10536 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10537 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10538 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10539 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
10540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
10541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
10542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
10543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
10544 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
10545 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
10546 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
10547 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
10548 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
10549 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
10550 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
10552 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
10553 functions instead of __ceil variants.
10554 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
10555 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
10557 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
10559 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
10560 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
10562 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
10563 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10566 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
10568 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
10569 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
10570 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
10571 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
10572 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
10573 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
10574 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
10575 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
10576 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
10577 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
10578 (ILL_BADIADDR): Remove constant.
10579 (TRAP_BRANCH): Likewise.
10580 (TRAP_HWBKPT): Likewise.
10582 2018-09-14 Joseph Myers <joseph@codesourcery.com>
10585 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
10586 Remove [_MIPS_SIM = _ABIN32] conditional case.
10587 (struct elf_prpsinfo): Likewise.
10590 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
10591 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
10592 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
10594 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
10595 elf_prpsinfo): Likewise.
10596 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
10597 elf_prpsinfo): Likewise.
10598 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
10601 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10602 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
10603 using MATH_REDIRECT.
10604 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
10606 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
10607 * sysdeps/alpha/fpu/s_rint.c: Likewise.
10608 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
10609 * sysdeps/i386/fpu/s_rintl.c: Likewise.
10610 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10611 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10612 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
10613 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10614 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10615 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10616 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
10617 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
10618 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
10619 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
10620 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
10621 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10622 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10623 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
10624 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
10625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
10626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
10627 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
10628 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
10629 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
10630 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
10631 * sysdeps/x86_64/fpu/math_private.h: Remove file.
10632 * math/e_scalb.c (invalid_fn): Use rint functions instead of
10634 * math/e_scalbf.c (invalid_fn): Likewise.
10635 * math/e_scalbl.c (invalid_fn): Likewise.
10636 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
10638 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10640 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
10641 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
10642 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10644 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10646 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10648 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
10649 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
10651 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10652 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
10654 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10655 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
10656 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10657 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
10658 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10659 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
10660 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10661 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
10662 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10663 && !NO_MATH_REDIRECT] (floor): Likewise.
10664 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
10666 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
10667 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10668 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10669 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
10670 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10671 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10672 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10673 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
10674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
10675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
10676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
10677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
10678 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
10679 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
10680 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
10681 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
10682 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
10683 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
10684 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
10686 [_ARCH_PWR5X] (__floorf): Likewise.
10687 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
10689 [__SSE4_1__] (__floorf): Likewise.
10690 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
10691 instead of __floor variants.
10692 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
10693 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
10694 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
10695 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
10696 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
10697 * math/w_tgamma_compat.c (__tgamma): Likewise.
10698 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
10699 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
10700 * math/w_tgammal_compat.c (__tgammal): Likewise.
10701 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
10702 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
10704 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
10705 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
10706 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
10707 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10709 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
10710 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
10712 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
10713 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
10715 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10716 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
10718 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10719 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
10720 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
10721 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
10722 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
10723 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10725 2018-09-12 Joseph Myers <joseph@codesourcery.com>
10727 * elf/Makefile (modules-names-tests): New variable.
10729 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
10731 * NEWS: Mention log2 improvements.
10732 * math/Makefile (type-double-routines): Add e_log2_data.
10733 * sysdeps/i386/fpu/e_log2_data.c: New file.
10734 * sysdeps/ia64/fpu/e_log2_data.c: New file.
10735 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
10736 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
10737 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
10738 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
10739 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
10741 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
10743 * NEWS: Mention log improvement.
10744 * math/Makefile (type-double-routines): Add e_log_data.
10745 * sysdeps/i386/fpu/e_log_data.c: New file.
10746 * sysdeps/ia64/fpu/e_log_data.c: New file.
10747 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
10748 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
10749 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
10750 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
10751 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
10752 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
10754 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
10755 Xuepeng Guo <xuepeng.guo@intel.com>
10758 * sysdeps/i386/start.S: Include <sysdep.h>
10759 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
10760 enabled. Add cfi_undefined (eip).
10762 2018-09-11 Joseph Myers <joseph@codesourcery.com>
10764 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
10766 (EXTRACT_WORDS64): Likewise.
10767 (INSERT_WORDS64): Likewise.
10768 (GET_FLOAT_WORD): Likewise.
10769 (SET_FLOAT_WORD): Likewise.
10771 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
10773 (Config.build_gcc): Use --disable-libsanitizer for first GCC
10774 build, but not for second build if --full-gcc. Use
10775 --enable-languages=all for second build if --full-gcc.
10776 (get_parser): Add --full-gcc option.
10777 (main): Update call to Context.
10779 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
10782 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
10783 Single Quotation Mark).
10784 (thousands_sep): Likewise.
10785 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
10786 * localedata/locales/it_IT (thousands_sep): Use ".".
10787 (grouping): Use "3;3".
10789 2018-09-10 Joseph Myers <joseph@codesourcery.com>
10791 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
10792 x86_64 and i686 configs using --enable-obsolete-rpc
10793 --enable-obsolete-nsl.
10795 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
10797 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10799 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
10801 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
10802 Increment size of new_argv by one.
10804 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
10807 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
10808 * localedata/locales/ar_IN (d_fmt): Likewise.
10809 * localedata/locales/bhb_IN (d_fmt): Likewise.
10810 * localedata/locales/bho_IN (d_fmt): Likewise.
10811 * localedata/locales/bn_BD (d_fmt): Likewise.
10812 * localedata/locales/bn_IN (d_fmt): Likewise.
10813 * localedata/locales/doi_IN (d_fmt): Likewise.
10814 * localedata/locales/gu_IN (d_fmt): Likewise.
10815 * localedata/locales/hi_IN (d_fmt): Likewise.
10816 * localedata/locales/hne_IN (d_fmt): Likewise.
10817 * localedata/locales/kn_IN (d_fmt): Likewise.
10818 * localedata/locales/mag_IN (d_fmt): Likewise.
10819 * localedata/locales/mai_IN (d_fmt): Likewise.
10820 * localedata/locales/mjw_IN (d_fmt): Likewise.
10821 * localedata/locales/ml_IN (d_fmt): Likewise.
10822 * localedata/locales/mni_IN (d_fmt): Likewise.
10823 * localedata/locales/mr_IN (d_fmt): Likewise.
10824 * localedata/locales/pa_IN (d_fmt): Likewise.
10825 * localedata/locales/raj_IN (d_fmt): Likewise.
10826 * localedata/locales/sat_IN (d_fmt): Likewise.
10827 * localedata/locales/sd_IN (d_fmt): Likewise.
10828 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
10829 * localedata/locales/ta_IN (d_fmt): Likewise.
10830 * localedata/locales/ta_LK (d_fmt): Likewise.
10831 * localedata/locales/tcy_IN (d_fmt): Likewise.
10832 * localedata/locales/ur_IN (d_fmt): Likewise.
10834 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
10835 * localedata/locales/ks_IN (d_fmt): Likewise.
10836 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
10838 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
10839 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
10840 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
10841 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
10843 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
10845 * NEWS: Mention exp and exp2 improvements.
10846 * math/Makefile (libm-support): Remove t_exp.
10847 (type-double-routines): Add math_err and e_exp_data.
10848 * sysdeps/aarch64/libm-test-ulps: Update.
10849 * sysdeps/arm/libm-test-ulps: Update.
10850 * sysdeps/i386/fpu/e_exp_data.c: New file.
10851 * sysdeps/i386/fpu/math_err.c: New file.
10852 * sysdeps/i386/fpu/t_exp.c: Remove.
10853 * sysdeps/ia64/fpu/e_exp_data.c: New file.
10854 * sysdeps/ia64/fpu/math_err.c: New file.
10855 * sysdeps/ia64/fpu/t_exp.c: Remove.
10856 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
10857 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
10858 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
10859 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
10860 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
10861 * sysdeps/ieee754/dbl-64/math_config.h: New file.
10862 * sysdeps/ieee754/dbl-64/math_err.c: New file.
10863 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
10864 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
10865 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
10866 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
10867 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
10868 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
10869 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
10870 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10871 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10873 2018-09-05 Joseph Myers <joseph@codesourcery.com>
10875 * sysdeps/alpha/fpu/math_private.h: Remove.
10877 * sysdeps/generic/math_private.h
10878 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
10879 Move this inline function ....
10880 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
10881 * include/math.h [!_ISOMAC]: To here....
10883 2018-09-04 Joseph Myers <joseph@codesourcery.com>
10885 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
10887 [!FE_HAVE_ROUNDING_MODES]: And this code ....
10888 * include/fenv.h [!_ISOMAC]: ... to here.
10889 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
10890 (feraiseexcept): Likewise.
10891 * math/fromfp.h: Do not include <fenv_private.h>.
10892 * math/s_cexp_template.c: Likewise.
10893 * math/s_csin_template.c: Likewise.
10894 * math/s_csinh_template.c: Likewise.
10895 * math/s_ctan_template.c: Likewise.
10896 * math/s_ctanh_template.c: Likewise.
10897 * math/s_iseqsig_template.c: Likewise.
10898 * math/w_acos_compat.c: Likewise.
10899 * math/w_acosf_compat.c: Likewise.
10900 * math/w_acosl_compat.c: Likewise.
10901 * math/w_asin_compat.c: Likewise.
10902 * math/w_asinf_compat.c: Likewise.
10903 * math/w_asinl_compat.c: Likewise.
10904 * math/w_j0_compat.c: Likewise.
10905 * math/w_j0f_compat.c: Likewise.
10906 * math/w_j0l_compat.c: Likewise.
10907 * math/w_j1_compat.c: Likewise.
10908 * math/w_j1f_compat.c: Likewise.
10909 * math/w_j1l_compat.c: Likewise.
10910 * math/w_jn_compat.c: Likewise.
10911 * math/w_jnf_compat.c: Likewise.
10912 * math/w_log10_compat.c: Likewise.
10913 * math/w_log10f_compat.c: Likewise.
10914 * math/w_log10l_compat.c: Likewise.
10915 * math/w_log2_compat.c: Likewise.
10916 * math/w_log2f_compat.c: Likewise.
10917 * math/w_log2l_compat.c: Likewise.
10918 * math/w_log_compat.c: Likewise.
10919 * math/w_logf_compat.c: Likewise.
10920 * math/w_logl_compat.c: Likewise.
10921 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10922 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10923 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10924 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10925 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10926 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10927 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10928 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10929 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10930 * sysdeps/ieee754/k_standardl.c: Likewise.
10931 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10932 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10933 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10934 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10935 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10936 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10937 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10938 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10939 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10940 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10941 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10942 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10943 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10944 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10945 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10946 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10947 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10948 * math/w_ilogb_template.c: Include <fenv.h> instead of
10950 * math/w_llogb_template.c: Likewise.
10951 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10952 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10954 2018-09-03 Joseph Myers <joseph@codesourcery.com>
10956 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
10957 * math/fromfp.h: Include <fenv_private.h>.
10958 * math/math-narrow.h: Likewise.
10959 * math/s_cexp_template.c: Likewise.
10960 * math/s_csin_template.c: Likewise.
10961 * math/s_csinh_template.c: Likewise.
10962 * math/s_ctan_template.c: Likewise.
10963 * math/s_ctanh_template.c: Likewise.
10964 * math/s_iseqsig_template.c: Likewise.
10965 * math/w_acos_compat.c: Likewise.
10966 * math/w_acosf_compat.c: Likewise.
10967 * math/w_acosl_compat.c: Likewise.
10968 * math/w_asin_compat.c: Likewise.
10969 * math/w_asinf_compat.c: Likewise.
10970 * math/w_asinl_compat.c: Likewise.
10971 * math/w_ilogb_template.c: Likewise.
10972 * math/w_j0_compat.c: Likewise.
10973 * math/w_j0f_compat.c: Likewise.
10974 * math/w_j0l_compat.c: Likewise.
10975 * math/w_j1_compat.c: Likewise.
10976 * math/w_j1f_compat.c: Likewise.
10977 * math/w_j1l_compat.c: Likewise.
10978 * math/w_jn_compat.c: Likewise.
10979 * math/w_jnf_compat.c: Likewise.
10980 * math/w_llogb_template.c: Likewise.
10981 * math/w_log10_compat.c: Likewise.
10982 * math/w_log10f_compat.c: Likewise.
10983 * math/w_log10l_compat.c: Likewise.
10984 * math/w_log2_compat.c: Likewise.
10985 * math/w_log2f_compat.c: Likewise.
10986 * math/w_log2l_compat.c: Likewise.
10987 * math/w_log_compat.c: Likewise.
10988 * math/w_logf_compat.c: Likewise.
10989 * math/w_logl_compat.c: Likewise.
10990 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
10991 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
10992 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
10993 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
10994 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10995 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10996 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10997 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10998 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10999 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11000 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11001 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11002 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
11003 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
11004 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11005 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
11006 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11007 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11008 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11009 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11010 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11011 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11012 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11013 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11014 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11015 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11016 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11017 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
11018 * sysdeps/ieee754/float128/float128_private.h: Likewise.
11019 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11020 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11021 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11022 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
11023 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11024 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11025 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11026 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11027 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11028 * sysdeps/ieee754/k_standardl.c: Likewise.
11029 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11030 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11031 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11032 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11033 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11034 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
11035 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11036 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11037 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11038 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11039 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11040 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11041 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11042 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11043 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11044 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
11045 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11046 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
11047 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11048 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11049 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11050 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11051 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11052 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11053 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11054 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11055 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11056 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
11057 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
11058 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11059 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11060 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11061 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11062 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11063 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11064 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
11065 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11066 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11067 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
11068 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
11069 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
11070 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
11071 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
11072 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
11073 * sysdeps/riscv/rvd/s_finite.c: Likewise.
11074 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
11075 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
11076 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
11077 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
11078 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
11079 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
11080 * sysdeps/riscv/rvf/fegetround.c: Likewise.
11081 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
11082 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
11083 * sysdeps/riscv/rvf/fesetround.c: Likewise.
11084 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
11085 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
11086 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
11087 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
11088 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
11089 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
11090 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
11091 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
11092 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
11093 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
11094 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
11095 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
11096 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
11097 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
11098 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
11099 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
11101 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
11104 * include/stdio.h (__libc_fatal): Mention newline in comment.
11105 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
11106 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
11107 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11108 * nss/nsswitch.c (__nss_next2): Likewise.
11109 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
11110 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
11111 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
11112 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11113 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
11114 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
11115 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
11116 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
11117 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
11118 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
11119 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
11120 * sysdeps/unix/sysv/linux/netlink_assert_response.c
11121 (__netlink_assert_response): Likewise.
11123 2018-08-31 Joseph Myers <joseph@codesourcery.com>
11125 * conform/glibcconform.py: New file.
11126 * conform/list-header-symbols.py: Likewise.
11127 * conform/list-header-symbols.pl: Remove.
11128 * conform/Makefile (tests-special): Only add linknamespace tests
11130 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
11132 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
11135 * support/Makefile (libsupport-routines): Add
11136 support_copy_file_range and xcopy_file_range.
11137 * support/support.h: Include <sys/types.h>.
11138 (support_copy_file_range): New prototype.
11139 * support/support_copy_file_range.c: New file. Copied and
11140 modified from io/copy_file_range-compat.c.
11141 * support/test-container.c (copy_one_file): Call xcopy_file_rang
11142 instead of copy_file_range.
11143 * support/xcopy_file_range.c: New file.
11144 * support/xunistd.h (xcopy_file_range): New prototype.
11146 2018-08-30 Carlos O'Donell <carlos@redhat.com>
11148 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
11149 xpthread_create and xpthread_join.
11151 2018-08-30 Florian Weimer <fweimer@redhat.com>
11153 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
11155 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
11157 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
11160 2018-08-29 Joseph Myers <joseph@codesourcery.com>
11162 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
11163 and minus_oflow as non-finite.
11165 2018-08-28 Joseph Myers <joseph@codesourcery.com>
11167 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
11168 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
11169 moved to fenv_private.h except for ...
11170 (TOINT_INTRINSICS): Kept in math_private.h.
11171 (roundtoint): Likewise.
11172 (converttoint): Likewise.
11173 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
11174 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
11175 * sysdeps/arm/math_private.h: Remove.
11176 * sysdeps/generic/fenv_private.h: New file. Contents moved from
11178 * sysdeps/generic/math_private.h: ... this file. Include
11179 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
11180 Include <fenv_private.h>. Remove functions and macros moved to
11182 * sysdeps/i386/fpu/math_private.h: Remove.
11183 * sysdeps/mips/math_private.h: Move to ....
11184 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
11185 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
11186 [__mips_hard_float] conditional. Include next <fenv_private.h>.
11187 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
11188 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
11189 * sysdeps/powerpc/fpu/math_private.h: Do not include
11191 * sysdeps/riscv/rvf/math_private.h: Move to ....
11192 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
11193 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
11195 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
11196 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
11197 * sysdeps/sparc/fpu/math_private.h: Remove.
11198 * sysdeps/i386/fpu/fenv_private.h: Move to ....
11199 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
11200 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
11202 * sysdeps/x86_64/fpu/math_private.h: Do not include
11203 <sysdeps/i386/fpu/fenv_private.h>.
11205 2018-08-28 Florian Weimer <fweimer@redhat.com>
11208 * posix/tst-regcomp-truncated.c: New file.
11209 * posix/Makefile (tests): Add it.
11210 (tst-regcomp-truncated.out): Depend on generated locales.
11212 2018-08-28 Florian Weimer <fweimer@redhat.com>
11214 * support/test-container.c (main): Treat unshare failure with
11215 EPERM as an unsupported test.
11217 2018-08-28 Florian Weimer <fweimer@redhat.com>
11220 nscd: Fix use-after-free in addgetnetgrentX and its callers.
11221 * nscd/netgroupcache.c
11222 (addgetnetgrentX): Add tofreep parameter. Do not free
11223 heap-allocated buffer.
11224 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
11225 (addgetnetgrentX_ignore): New function.
11226 (addgetnetgrent): Call it.
11227 (readdgetnetgrent): Likewise.
11229 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11231 * string/memmem.c: Use memcmp for first match.
11233 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
11236 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
11238 2018-08-27 DJ Delorie <dj@redhat.com>
11240 * support/Makefile (others): Don't list programs explicitly as a
11241 dependency of "others".
11243 2018-08-27 Joseph Myers <joseph@codesourcery.com>
11245 * sysdeps/generic/math-tests-trap-force.h: New file.
11246 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
11247 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
11248 * sysdeps/powerpc/math-tests.h: Remove file.
11249 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
11251 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
11252 Torvald Riegel <triegel@redhat.com>
11255 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
11256 Update r to include the set wake-request flag if waiters are
11257 remaining after spinning.
11259 2018-08-27 Joseph Myers <joseph@codesourcery.com>
11261 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
11263 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
11266 regex: fix uninitialized memory access
11267 I introduced this bug into gnulib in commit
11268 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
11269 eventually it was merged into glibc. The bug was found by
11270 project-repo <bugs@feusi.co> and reported here:
11271 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
11272 Diagnosis and draft fix reported by Assaf Gordon here:
11273 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
11274 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
11275 * posix/regex_internal.c (build_wcs_upper_buffer):
11276 Fix bug when mbrtowc returns 0.
11278 2018-08-24 Carlos O'Donell <carlos@redhat.com>
11280 * po/be.po: Update translation.
11282 2018-08-24 DJ Delorie <dj@delorie.com>
11284 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
11287 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11290 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
11291 create temporary files in source tree.
11293 2018-08-24 Joseph Myers <joseph@codesourcery.com>
11295 * sysdeps/generic/math-tests-trap.h: New file.
11296 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
11297 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
11298 * sysdeps/aarch64/math-tests.h: Remove file.
11299 * sysdeps/arm/math-tests.h: Likewise.
11300 * sysdeps/riscv/math-tests.h: Likewise.
11301 * sysdeps/aarch64/math-tests-trap.h: New file.
11302 * sysdeps/arm/math-tests-trap.h: Likewise.
11303 * sysdeps/riscv/math-tests-trap.h: Likewise.
11305 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
11307 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
11308 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
11309 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
11310 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
11311 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
11312 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
11313 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11314 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
11315 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
11316 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11317 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11318 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11319 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11320 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
11321 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
11322 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
11323 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11324 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11326 2018-08-23 Joseph Myers <joseph@codesourcery.com>
11328 * sysdeps/generic/math-tests-exceptions.h: New file.
11329 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
11330 (EXCEPTION_TESTS_float): Do not define here.
11331 (EXCEPTION_TESTS_double): Likewise.
11332 (EXCEPTION_TESTS_long_double): Likewise.
11333 (EXCEPTION_TESTS_float128): Likewise.
11334 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
11336 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
11337 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
11338 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
11339 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
11340 * sysdeps/mips/math-tests.h: Likewise.
11341 * sysdeps/nios2/math-tests.h: Likewise.
11342 * sysdeps/riscv/math-tests.h [!__riscv_flen]
11343 (EXCEPTION_TESTS_float): Do not define here.
11344 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
11345 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
11346 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
11348 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
11350 * NEWS: Move optimized sinf entry to 2.29.
11352 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
11354 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
11356 2018-08-22 DJ Delorie <dj@redhat.com>
11358 * Makefile (testroot.pristine): New rules to initialize the
11359 test-in-container "testroot".
11360 * Makerules (all-testsuite): Add tests-container.
11361 * Rules (tests-expected): Add tests-container.
11362 (binaries-all-tests): Likewise.
11363 (tests-container): New, run these tests in the testroot container.
11364 * support/Makefile (others): Add *-container, support_paths.c,
11365 xmkdirp, and links-dso-program.
11366 * support/links-dso-program-c.c: New.
11367 * support/links-dso-program.cc: New.
11368 * support/test-container.c: New.
11369 * support/shell-container.c: New.
11370 * support/echo-container.c: New.
11371 * support/true-container.c: New.
11372 * support/xmkdirp.c: New.
11373 * support/xsymlink.c: New.
11374 * support/support_paths.c: New.
11375 * support/support.h: Add support paths prototypes.
11376 * support/xunistd.h: Add xmkdirp () and xsymlink ().
11378 * nss/tst-nss-test3.c: Convert to test-in-container.
11379 * nss/tst-nss-test3.root/: New.
11381 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
11383 regex: port Gnulib code to z/OS POSIX environment
11384 Problem reported by Arnold Robbins in:
11385 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
11386 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
11389 2018-08-22 Joseph Myers <joseph@codesourcery.com>
11391 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
11392 (ROUNDING_TESTS_double): Remove.
11393 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
11394 (ROUNDING_TESTS_double): Remove.
11395 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
11396 (ROUNDING_TESTS_double): Remove.
11397 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
11398 (ROUNDING_TESTS_float): Remove.
11399 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
11400 (ROUNDING_TESTS_float): Remove.
11401 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
11402 (ROUNDING_TESTS_float): Remove.
11403 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
11404 !TEST_MATHVEC here.
11405 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11406 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11408 * sysdeps/generic/math-tests-rounding.h: New file.
11409 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
11410 (ROUNDING_TESTS_float): Do not define here.
11411 (ROUNDING_TESTS_double): Likewise.
11412 (ROUNDING_TESTS_long_double): Likewise.
11413 (ROUNDING_TESTS_float128): Likewise.
11414 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
11415 (ROUNDING_TESTS_double): Undefine before defining.
11416 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
11417 (ROUNDING_TESTS_double): Undefine before defining.
11418 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
11419 (ROUNDING_TESTS_double): Undefine before defining.
11420 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
11421 (ROUNDING_TESTS_float): Undefine before defining.
11422 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
11423 (ROUNDING_TESTS_float): Undefine before defining.
11424 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
11425 (ROUNDING_TESTS_float): Undefine before defining.
11426 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
11427 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
11429 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
11430 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
11431 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
11432 * sysdeps/riscv/math-tests.h [!__riscv_flen]
11433 (ROUNDING_TESTS_float): Do not define here.
11434 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
11435 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
11436 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
11437 (ROUNDING_TESTS_float): Likewise.
11438 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
11439 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
11440 * sysdeps/mips/math-tests.h [__mips_soft_float]
11441 (ROUNDING_TESTS_float): Likewise.
11442 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
11443 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
11444 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
11445 (ROUNDING_TESTS_double): Likewise.
11446 (ROUNDING_TESTS_long_double): Likewise.
11448 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
11450 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
11451 (PF_XDP): New macro.
11452 (AF_XDP): New macro.
11453 (SOL_XDP): New macro.
11455 2018-08-21 Joseph Myers <joseph@codesourcery.com>
11457 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
11458 (TCP_INQ): Likewise.
11459 (TCP_CM_INQ): Likewise.
11460 (TCP_REPAIR_ON): Likewise.
11461 (TCP_REPAIR_OFF): Likewise.
11462 (TCP_REPAIR_OFF_NO_WP): Likewise.
11463 (struct tcp_zerocopy_receive): New type.
11465 2018-08-21 Florian Weimer <fweimer@redhat.com>
11467 * support/support.h (support_descriptor_supports_holes): Declare.
11468 * support/Makefile (libsupport-routines): Add
11469 support_descriptor_supports_holes.
11470 * support/support_descriptor_supports_holes.c: New file.
11471 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
11472 and stop testing if holes are not supported.
11473 * io/test-lfs.c (do_prepare): Likewise.
11474 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
11476 * timezone/tst-tzset.c (create_tz_file): Likewise.
11477 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
11479 (do_prepare): Set it.
11480 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
11482 2018-08-21 Florian Weimer <fweimer@redhat.com>
11485 * Makeconfig (+cflags): Do not sort (and deduplicate).
11487 2018-08-21 Florian Weimer <fweimer@redhat.com>
11489 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
11490 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
11492 2018-08-20 Florian Weimer <fweimer@redhat.com>
11494 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
11495 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
11497 2018-08-20 Joseph Myers <joseph@codesourcery.com>
11499 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
11500 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
11501 and ssi_arch members.
11503 * elf/elf.c (NT_VMCOREDD): New macro.
11504 (AT_MINSIGSTKSZ): Likewise.
11506 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11508 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
11509 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
11510 s_cosf-ppc64 and s_cosf-power8.
11511 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
11512 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11513 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11514 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
11516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
11517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
11518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
11519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
11520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
11521 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
11522 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
11524 2018-08-17 Florian Weimer <fweimer@redhat.com>
11526 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11528 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
11530 * malloc/malloc.c (_int_malloc): Additional binning code checks.
11532 2018-08-16 Florian Weimer <fweimer@redhat.com>
11534 * configure.ac: Add --with-nonshared-cflags option.
11535 * config.make.in (extra-nonshared-cflags): Set variable.
11536 * Makeconfig (CFLAGS-.oS): Use it.
11537 * manual/install.texi (Configuring and compiling): Document
11538 --with-nonshared-cflags.
11539 * configure: Regenerate.
11540 * INSTALL: Likewise.
11542 2018-08-16 Florian Weimer <fweimer@redhat.com>
11544 * Makeconfig (ASFLAGS): Always append required assembler flags.
11546 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
11548 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
11549 (malloc_consolidate): Likewise.
11551 2018-08-16 Pochang Chen <johnchen902@gmail.com>
11553 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
11555 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
11557 * benchtests/bench-strlen.c (do_test): Allocate buffers before
11560 * benchtests/bench-strlen.c: Print performance numbers in json.
11562 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11564 * sysdeps/powerpc/powerpc64/multiarch/Makefile
11565 (sysdep_routines): Build strcmp-power9 and strncmp-power9
11566 only for little endian.
11567 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11568 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
11569 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
11570 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
11571 Add check for little endian.
11572 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
11573 (__strcmp_power9): Add check for little endian.
11574 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
11575 Add check for little endian.
11576 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
11577 (__strncmp_power9): Add check for little endian.
11578 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
11579 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
11580 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
11581 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
11582 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
11584 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
11586 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
11587 [!STRLEN](STRLEN): Set to __strlen.
11588 * sysdeps/aarch64/multiarch/strlen.c: New file.
11589 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
11590 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
11591 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
11592 (__libc_ifunc_impl_list): Add strlen.
11593 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
11594 strlen_generic and strlen_asimd.
11596 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
11598 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
11599 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
11600 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
11602 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
11604 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
11606 2018-08-14 Florian Weimer <fweimer@redhat.com>
11609 * include/stdio.h (__vfxprintf): Declare.
11610 * stdio-common/fxprintf.c (__vfxprintf): New function.
11611 (__fxprintf): Call it.
11612 * misc/err.c (convert_and_print): Remove function.
11613 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
11614 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
11615 * misc/Makefile (tests): Add tst-warn-wide.
11616 * misc/tst-warn-wide.c: New file.
11618 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
11619 Szabolcs Nagy <szabolcs.nagy@arm.com>
11621 * NEWS: Mention sinf, cosf, sincosf.
11622 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
11623 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
11624 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
11625 constants rather than including generic sincosf.h.
11626 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
11627 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
11628 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
11629 (reduced_cos): Remove.
11630 (sinf_poly): New function.
11631 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
11633 2018-08-14 Florian Weimer <fweimer@redhat.com>
11637 * nss/nss_files/files-alias.c (get_next_alias): During :include:
11638 processing, bail out if no room, and close the stream before
11640 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
11641 (tst-nss-files-alias-leak): Link with libdl.
11642 (tst-nss-files-alias-leak.out): Depend on nss_files.
11644 * nss/tst-nss-files-alias-leak.c: New file.
11646 2018-08-14 Florian Weimer <fweimer@redhat.com>
11648 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
11649 server_user, stat_user.
11651 2018-08-13 Joseph Myers <joseph@codesourcery.com>
11653 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11655 (io_pgetevents): New syscall.
11658 * manual/install.texi (Configuring and compiling): Do not list
11659 tools used for testing pretty printers here.
11660 (Tools for Compilation): List Python, PExpect and GDB here.
11661 Update descriptions of uses of Perl and Python.
11662 * INSTALL: Regenerate.
11664 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11667 2018-08-13 Florian Weimer <fweimer@redhat.com>
11669 * misc/error.c (error): Add missing va_end call.
11670 (error_at_line): Likewise.
11672 2018-08-13 Florian Weimer <fweimer@redhat.com>
11674 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
11676 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
11678 * benchtests/scripts/benchout.schema.json (properties): Add
11681 * benchtests/bench-skeleton.c (main): Add duration and
11682 iterations attributes.
11684 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
11686 regex: Gnulib unibyte RRI uses bytes not chars
11687 Adjust the non-glibc code to agree with what Gawk needs for
11688 rational range interpretation (RRI) for regular expression ranges.
11689 In unibyte locales, Gawk wants ranges to use the underlying byte
11690 rather than the character code point. This change does not affect
11692 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
11693 In unibyte locales, use the byte value rather than
11694 running it through btowc.
11696 2018-08-10 Joseph Myers <joseph@codesourcery.com>
11698 * sysdeps/generic/math-tests-snan.h: New file.
11699 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
11700 (SNAN_TESTS_float): Do not define here.
11701 (SNAN_TESTS_double): Likewise.
11702 (SNAN_TESTS_long_double): Likewise.
11703 (SNAN_TESTS_float128): Likewise.
11704 * sysdeps/i386/fpu/math-tests-snan.h: New file.
11705 * sysdeps/i386/fpu/math-tests.h: Remove file.
11706 * sysdeps/ia64/math-tests-snan.h: New file.
11707 * sysdeps/ia64/math-tests.h: Remove file.
11708 * sysdeps/x86/math-tests.h: Likewise.
11709 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
11711 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
11712 Szabolcs Nagy <szabolcs.nagy@arm.com>
11714 * math/Makefile: Add s_sincosf_data.c.
11715 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
11716 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
11717 (sincosf_poly): Likewise.
11718 (reduce_small): Likewise.
11719 (reduce_large): Likewise.
11720 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
11721 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
11722 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
11723 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
11725 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
11726 Szabolcs Nagy <szabolcs.nagy@arm.com>
11728 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
11729 (converttoint): Use lround.
11730 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
11731 document the semantics when TOINT_INTRINSICS is set.
11732 (converttoint): Likewise.
11733 (TOINT_RINT): Remove.
11734 (TOINT_SHIFT): Remove.
11735 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
11738 2018-08-10 Florian Weimer <fweimer@redhat.com>
11741 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
11743 (__old_getdents64): Use getdents64. Convert entries without
11745 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
11746 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
11747 tst-readdir64-compat.
11749 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11751 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
11754 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11756 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
11757 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
11758 code to s390x-mcount.h and #include it.
11759 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
11760 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
11763 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11765 * stdlib/Versions: Remove __fentry__.
11766 * sysdeps/i386/Versions: Add __fentry__.
11767 * sysdeps/x86_64/Versions: Add __fentry__.
11769 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11771 * sysdeps/s390/Makefile: Register the new tests.
11772 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
11773 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
11774 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
11775 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
11776 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
11777 * sysdeps/s390/tst-dl-runtime.c: New file.
11779 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11781 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
11784 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11786 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
11789 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11791 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
11794 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11796 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
11799 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11801 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
11802 Use symbolic offsets for stack variables.
11804 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11806 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
11807 Use symbolic offsets for stack variables.
11809 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11811 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
11812 Use symbolic offsets for stack variables.
11814 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11816 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
11817 Use symbolic offsets for stack variables.
11819 2018-08-09 Joseph Myers <joseph@codesourcery.com>
11821 * math/gen-libm-test.py: New file.
11822 * math/gen-libm-test.pl: Remove.
11823 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
11824 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
11826 ($(libm-test-c-noauto-obj)): Likewise.
11827 ($(libm-test-c-auto-obj)): Likewise.
11828 ($(libm-test-c-narrow-obj)): Likewise.
11829 (regen-ulps): Likewise.
11830 * math/README.libm-test: Update references to gen-libm-test.pl.
11831 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
11832 referencing gen-libm-test.pl.
11833 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
11834 * math/libm-test-support.c: Likewise.
11835 * math/libm-test-support.h: Likewise.
11836 * sysdeps/generic/libm-test-ulps: Likewise.
11838 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
11840 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
11843 2018-08-08 Joseph Myers <joseph@codesourcery.com>
11845 * math/libm-test-nextdown.inc (do_test): Move comment to ....
11846 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
11848 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
11850 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
11852 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
11853 __pthread_setspecific): Add hidden proto.
11854 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
11855 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
11857 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
11859 * benchtests/bench-string.h (buf1_size, buf2_size): New
11861 (init_sizes): New function.
11862 (test_init): Use it.
11863 (alloc_buf, exit_error): New functions.
11864 (alloc_bufs): Use ALLOC_BUF.
11865 (realloc_bufs): Remove.
11866 * benchtests/bench-memcmp.c (do_test): Adjust.
11867 * benchtests/bench-memset-large.c (do_test): Likewise.
11868 * benchtests/bench-memset-walk.c (do_test): Likewise.
11869 * benchtests/bench-memset.c (do_test): Likewise.
11870 * benchtests/bench-strncmp.c (do_test): Likewise.
11872 2018-08-06 Andreas Schwab <schwab@suse.de>
11874 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
11875 of CONST_THREAD_AREA.
11877 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
11879 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
11880 (STATE_SAVE_MASK): Likewise.
11881 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
11882 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
11883 (STATE_SAVE_MASK): Likewise.
11884 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
11885 instead of <cpu-features.h>.
11887 2018-08-03 DJ Delorie <dj@redhat.com>
11889 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
11890 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
11892 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
11894 2018-08-03 Joseph Myers <joseph@codesourcery.com>
11896 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
11897 after TEST_* calls.
11898 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
11899 * math/libm-test-logb.inc (logb_test_data): Likewise.
11901 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
11903 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
11904 * string/strstr.c (AVAILABLE): Likewise.
11906 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
11908 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
11910 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
11911 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
11912 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
11914 2018-08-03 Carlos O'Donell <carlos@redhat.com>
11916 * po/be.po: Update translation.
11918 * po/be.po: Update translation.
11920 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
11922 * sysdeps/x86/cpu-features-offsets.sym
11923 (rtld_global_ro_offsetof): Removed.
11924 (CPU_FEATURES_SIZE): Likewise.
11925 (CPUID_OFFSET): Likewise.
11926 (CPUID_SIZE): Likewise.
11927 (CPUID_EAX_OFFSET): Likewise.
11928 (CPUID_EBX_OFFSET): Likewise.
11929 (CPUID_ECX_OFFSET): Likewise.
11930 (CPUID_EDX_OFFSET): Likewise.
11931 (FAMILY_OFFSET): Likewise.
11932 (MODEL_OFFSET): Likewise.
11933 (FEATURE_OFFSET): Likewise.
11934 (FEATURE_SIZ): Likewise.
11935 (COMMON_CPUID_INDEX_1): Likewise.
11936 (COMMON_CPUID_INDEX_7): Likewise.
11937 (FEATURE_INDEX_1): Likewise.
11938 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
11940 2018-08-02 Carlos O'Donell <carlos@redhat.com>
11942 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
11943 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
11944 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
11945 (install-locales): Depend on install-locale-archive.
11946 (install-locale-archive): Define.
11947 (install-locale-files): Define.
11948 (build-one-locale): Define macro.
11949 * manual/install.texi (Running make install): Document.
11950 * manual/INSTALL: Regenerate.
11952 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
11954 * benchtests/scripts/compare_strings.py: Import traceback.
11955 (parse_file): Pretty-print error.
11957 * NEWS: Mention the change.
11958 * elf/dl-tunables.list: Rename tune namespace to cpu.
11959 * sysdeps/powerpc/dl-tunables.list: Likewise.
11960 * sysdeps/x86/dl-tunables.list: Likewise.
11961 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
11963 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
11964 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
11965 * manual/README.tunables: Likewise.
11966 * manual/tunables.texi: Likewise.
11967 * sysdeps/powerpc/cpu-features.c: Likewise.
11968 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
11969 (init_cpu_features): Likewise.
11970 * sysdeps/x86/cpu-features.c: Likewise.
11971 * sysdeps/x86/cpu-features.h: Likewise.
11972 * sysdeps/x86/cpu-tunables.c: Likewise.
11973 * sysdeps/x86_64/Makefile: Likewise.
11974 * sysdeps/x86/dl-cet.c: Likewise.
11976 2018-08-02 Joseph Myers <joseph@codesourcery.com>
11979 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
11980 [__mips_hard_float].
11981 (FE_UNDERFLOW): Likewise.
11982 (FE_OVERFLOW): Likewise.
11983 (FE_DIVBYZERO): Likewise.
11984 (FE_INVALID): Likewise.
11985 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
11986 (FE_TOWARDZERO): Define only if [__mips_hard_float].
11987 (FE_UPWARD): Likewise.
11988 (FE_DOWNWARD): Likewise.
11989 (__FE_UNDEFINED): Define if [!__mips_hard_float]
11990 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
11991 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
11992 [__mips_hard_float].
11993 (FP_ROUNDMODE): Likewise.
11994 (FP_RND_NEAREST): Likewise.
11995 (FP_RND_ZERO): Likewise.
11996 (FP_RND_PINF): Likewise.
11997 (FP_RND_MINF): Likewise.
11998 (FP_EX_INVALID): Likewise.
11999 (FP_EX_OVERFLOW): Likewise.
12000 (FP_EX_UNDERFLOW): Likewise.
12001 (FP_EX_DIVZERO): Likewise.
12002 (FP_EX_INEXACT): Likewise.
12003 (FP_INIT_ROUNDMODE): Likewise.
12004 * sysdeps/mips/nofpu/fesetenv.c: New file.
12005 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
12007 2018-08-01 Joseph Myers <joseph@codesourcery.com>
12009 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
12010 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
12011 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
12012 conditional on [FE_UPWARD].
12014 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
12016 regex: fix memory leak in Gnulib
12017 Problem and fix reported by Assaf Gordon in:
12018 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
12019 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
12020 range_ends members too, as they are defined in 'struct
12021 re_charset_t' even if not _LIBC. This affects only Gnulib.
12023 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
12025 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
12027 (get_common_indices): This.
12028 (init_cpu_features): Updated.
12030 2018-08-01 Joseph Myers <joseph@codesourcery.com>
12032 * sysdeps/generic/math-tests-snan-payload.h: New file.
12033 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
12034 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
12035 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
12036 * sysdeps/generic/math-tests.h: Include
12037 <math-tests-snan-payload.h>.
12038 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
12039 * sysdeps/hppa/math-tests.h: Remove file.
12040 * sysdeps/mips/math-tests.h [!__mips_nan2008]
12041 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
12042 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
12045 * sysdeps/generic/math-tests-snan-cast.h: New file.
12046 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
12047 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
12048 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
12049 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
12051 2018-08-01 Carlos O'Donel <carlos@redhat.com>
12053 * version.h (RELEASE): Set to "development".
12054 (VERSION): Set to "2.28.9000".
12055 * NEWS (2.29): New section.
12057 * version.h (RELEASE): Set to "stable".
12058 (VERSION): Set to "2.28".
12059 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
12060 * NEWS: Add the list of bugs fixed in 2.28.
12062 * po/ca.po: Update to latest version.
12063 * po/cs.po: Likewise
12064 * po/da.po: Likewise
12065 * po/el.po: Likewise
12066 * po/eo.po: Likewise
12067 * po/es.po: Likewise
12068 * po/fi.po: Likewise
12069 * po/fr.po: Likewise
12070 * po/gl.po: Likewise
12071 * po/hu.po: Likewise
12072 * po/ia.po: Likewise
12073 * po/id.po: Likewise
12074 * po/it.po: Likewise
12075 * po/ja.po: Likewise
12076 * po/ko.po: Likewise
12077 * po/lt.po: Likewise
12078 * po/nb.po: Likewise
12079 * po/nl.po: Likewise
12080 * po/pt_BR.po: Likewise
12081 * po/ru.po: Likewise
12082 * po/rw.po: Likewise
12083 * po/sk.po: Likewise
12084 * po/sl.po: Likewise
12085 * po/tr.po: Likewise
12086 * po/zh_CN.po: Likewise
12087 * po/zh_TW.po: Likewise
12089 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
12091 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
12093 (init): ... before initializing libpthread.
12095 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
12096 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
12097 (__mach_setup_tls): ... new function.
12098 (mach_setup_tls): New alias.
12099 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
12100 __mach_setup_thread.
12101 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
12102 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
12103 * mach/Versions [libc] (mach_setup_tls): Add symbol.
12104 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
12106 2018-07-31 Carlos O'Donell <carlos@redhat.com>
12108 * manual/install.texi: Update versions.
12109 * INSTALL: Regenerate.
12111 * manual/contrib.texi (Contributors): Update contributions.
12113 2018-07-31 Carlos O'Donell <carlos@redhat.com>
12115 * po/be.po: Update translations.
12117 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12119 * sysdeps/sh/libm-test-ulps: Update.
12121 2018-07-30 Carlos O'Donell <carlos@redhat.com>
12123 * po/bg.po: Update translations.
12124 * po/de.po: Likewise.
12125 * po/hr.po: Likewise.
12126 * po/pt_BR.po: Likewise.
12127 * po/sv.po: Likewise.
12128 * po/vi.po: Likewise.
12130 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
12133 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
12134 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
12135 (CFLAGS-tst-cet-property-1.o): New.
12136 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
12137 ($(objpfx)tst-cet-property-2): Likewise.
12138 ($(objpfx)tst-cet-property-2.out): Likewise.
12139 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
12140 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
12141 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
12142 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
12143 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
12145 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
12148 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
12150 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
12152 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
12153 __sbrk): Do not set attribute_hidden.
12154 * sysdeps/mach/hurd/not-errno.h: New file.
12155 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
12156 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
12158 2018-07-27 Carlos O'Donell <carlos@redhat.com>
12160 * po/uk.po: Update translations.
12161 * po/cs.po: Likewise.
12162 * po/pl.po: Likewise.
12164 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
12166 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
12167 parse beyond the note end.
12169 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12171 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
12172 kernel does not support OFD locks.
12173 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
12175 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
12177 * sysdeps/mach/hurd/Versions (libc): Make __access and
12178 __access_noerrno external so they can override the ld symbols.
12179 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
12180 __writev, __open64, __access_noerrno extern so they can be overrided.
12181 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
12182 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
12184 2018-07-26 Carlos O'Donell <carlos@redhat.com>
12186 * po/libc.pot: Regenerate.
12188 2018-07-26 Joseph Myers <joseph@codesourcery.com>
12190 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
12192 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
12195 * sysdeps/x86/cpu-features.c (get_extended_indices): New
12197 (init_cpu_features): Call get_extended_indices for both Intel
12199 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
12200 Remove "for AMD" comment.
12202 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
12205 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
12206 COMMON_CPUID_INDEX_80000001.
12208 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
12210 * string/tst-xbzero-opt.c (use_test_buffer): New function.
12211 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
12213 2018-07-26 Florian Weimer <fweimer@redhat.com>
12215 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
12216 aliases for symbols not in the implementation namespace.
12218 2018-07-25 Carlos O'Donell <carlos@redhat.com>
12221 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
12222 lowercase in LATIN script.
12223 * localedata/Makefile (test-input): Add en_US.UTF-8.
12224 * localedata/en_US.UTF-8.in: New file.
12225 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
12226 and restore old tests.
12227 * posix/tst-regexloc.c (do_test): Add back range expression test.
12229 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12231 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
12233 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12235 * nptl/threads.h: Move to ...
12236 * sysdeps/nptl/threads.h: ... here.
12237 * sysdeps/hurd/stdc-predef.h: New file.
12239 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12241 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
12242 tst-cet-setcontext-1 if CET is enabled.
12243 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
12244 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
12246 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12248 * include/threads.h: Move to ...
12249 * sysdeps/nptl/threads.h: ... here.
12250 * sysdeps/htl/threads.h: New file.
12251 * conform/Makefile (linknamespace-libs-ISO11): Use
12252 static-thread-library instead of linking libpthread.
12253 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
12255 2018-07-25 Florian Weimer <fweimer@redhat.com>
12257 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
12258 nanoseconds into seconds.
12259 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
12260 (do_test): Likewise.
12261 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
12262 (do_test): Likewise. Avoid nanosecond overflow and spurious
12263 timeouts due to system load.
12264 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
12265 (child_wait): Increment it.
12266 (do_test): Wait as long as necessary until all expected threads
12269 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
12270 H.J. Lu <hongjiu.lu@intel.com>
12272 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
12274 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
12275 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
12276 (__push___start_context): New.
12277 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
12279 (__getcontext): Record the current shadow stack base. Save the
12280 caller's shadow stack pointer and base.
12281 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
12282 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
12283 (__push___start_context): New prototype.
12284 (__makecontext): Call __push___start_context to allocate a new
12285 shadow stack, push __start_context onto the new stack as well
12286 as the new shadow stack.
12287 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
12289 (__setcontext): Restore the target shadow stack.
12290 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
12292 (__swapcontext): Record the current shadow stack base. Save
12293 the caller's shadow stack pointer and base. Restore the target
12295 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
12296 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
12297 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
12299 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12301 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
12302 tst-setcontext8 and tst-setcontext9.
12303 * stdlib/tst-setcontext6.c: New file.
12304 * stdlib/tst-setcontext7.c: Likewise.
12305 * stdlib/tst-setcontext8.c: Likewise.
12306 * stdlib/tst-setcontext9.c: Likewise.
12308 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12310 * stdlib/Makefile ((tests): Add tst-setcontext5.
12311 * stdlib/tst-setcontext5.c: New file.
12313 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12315 * stdlib/Makefile (tests): Add tst-setcontext4.
12316 * stdlib/tst-setcontext4.c: New file.
12318 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12320 * stdlib/Makefile (tests): Add tst-swapcontext1.
12321 * stdlib/tst-swapcontext1.c: New test.
12323 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12325 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
12326 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
12327 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
12328 and tst-cet-legacy-4c.
12329 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
12330 and tst-cet-legacy-mod-4.
12331 (CFLAGS-tst-cet-legacy-2.c): New.
12332 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
12333 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
12334 (CFLAGS-tst-cet-legacy-3.c): Likewise.
12335 (CFLAGS-tst-cet-legacy-4.c): Likewise.
12336 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
12337 ($(objpfx)tst-cet-legacy-1): Likewise.
12338 ($(objpfx)tst-cet-legacy-2): Likewise.
12339 ($(objpfx)tst-cet-legacy-2.out): Likewise.
12340 ($(objpfx)tst-cet-legacy-2a): Likewise.
12341 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
12342 ($(objpfx)tst-cet-legacy-4): Likewise.
12343 ($(objpfx)tst-cet-legacy-4.out): Likewise.
12344 ($(objpfx)tst-cet-legacy-4a): Likewise.
12345 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
12346 (tst-cet-legacy-4a-ENV): Likewise.
12347 ($(objpfx)tst-cet-legacy-4b): Likewise.
12348 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
12349 (tst-cet-legacy-4b-ENV): Likewise.
12350 ($(objpfx)tst-cet-legacy-4c): Likewise.
12351 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
12352 (tst-cet-legacy-4c-ENV): Likewise.
12353 * sysdeps/x86/tst-cet-legacy-1.c: New file.
12354 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
12355 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
12356 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
12357 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
12358 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
12359 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
12360 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
12361 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
12362 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
12363 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
12365 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12367 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
12368 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
12370 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
12371 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
12374 2018-07-25 Andreas Schwab <schwab@suse.de>
12377 * locale/weightwc.h (findidx): Handle the case where usrc is a
12378 prefix of cp but one character too short.
12380 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12382 * NEWS: Add ISO C threads addition.
12384 2018-07-24 Florian Weimer <fweimer@redhat.com>
12386 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12387 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
12388 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
12391 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12393 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
12394 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
12395 <sys/prctl.h> and <asm/prctl.h>.
12396 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
12397 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
12399 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
12400 ARCH_CET_LEGACY_BITMAP.
12401 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
12402 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
12403 * sysdeps/x86/libc-start.c: Include <startup.h>.
12405 2018-07-24 Florian Weimer <fweimer@redhat.com>
12407 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
12408 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
12410 2018-07-24 Rical Jasan <rj@2c3t.io>
12411 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12412 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
12415 * manual/debug.texi: Update adjacent chapter name.
12416 * manual/probes.texi: Likewise.
12417 * manual/threads.texi (ISO C Threads): New section.
12418 (POSIX Threads): Convert to a section.
12420 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12421 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
12424 * nptl/Makefile (tests): Add new test files.
12425 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
12426 * nptl/tst-cnd-basic.c: Likewise.
12427 * nptl/tst-cnd-broadcast.c: Likewise.
12428 * nptl/tst-cnd-timedwait.c: Likewise.
12429 * nptl/tst-mtx-basic.c: Likewise.
12430 * nptl/tst-mtx-recursive.c: Likewise.
12431 * nptl/tst-mtx-timedlock.c: Likewise.
12432 * nptl/tst-mtx-trylock.c: Likewise.
12433 * nptl/tst-thrd-basic.c: Likewise.
12434 * nptl/tst-thrd-detach.c: Likewise.
12435 * nptl/tst-thrd-sleep.c: Likewise.
12436 * nptl/tst-tss-basic.c: Likewise.
12438 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12441 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
12442 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
12444 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12445 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12446 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12447 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12448 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12449 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12450 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12451 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12452 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12453 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12454 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12455 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
12462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12463 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12464 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12465 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12466 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12467 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12468 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12469 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12470 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12471 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
12472 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
12473 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
12474 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
12475 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
12477 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
12478 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
12479 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
12480 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
12481 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
12482 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
12483 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
12484 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
12485 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
12486 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
12487 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
12488 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
12490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
12491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12495 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
12496 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
12497 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
12498 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
12499 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
12500 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
12501 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
12502 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
12505 * conform/data/threads.h-data (thread_local): New macro.
12506 (TSS_DTOR_ITERATIONS): Likewise.
12508 (tss_dtor_t): Likewise.
12509 (tss_create): New function.
12510 (tss_get): Likewise.
12511 (tss_set): Likewise.
12512 (tss_delete): Likewise.
12513 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
12514 tss_get, and tss_set objects.
12515 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
12516 * nptl/tss_create.c: New file.
12517 * nptl/tss_delete.c: Likewise.
12518 * nptl/tss_get.c: Likewise.
12519 * nptl/tss_set.c: Likewise.
12520 * sysdeps/nptl/threads.h (thread_local): New define.
12521 (TSS_DTOR_ITERATIONS): Likewise.
12522 (tss_t): New typedef.
12523 (tss_dtor_t): Likewise.
12524 (tss_create): New prototype.
12525 (tss_get): Likewise.
12526 (tss_set): Likewise.
12527 (tss_delete): Likewise.
12530 * conform/data/threads.h-data (cnd_t): New type.
12531 (cnd_init): New function.
12532 (cnd_signal): Likewise.
12533 (cnd_broadcast): Likewise.
12534 (cnd_wait): Likewise.
12535 (cnd_timedwait): Likewise.
12536 (cnd_destroy): Likewise.
12537 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
12538 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
12540 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
12541 * nptl/cnd_broadcast.c: New file.
12542 * nptl/cnd_destroy.c: Likewise.
12543 * nptl/cnd_init.c: Likewise.
12544 * nptl/cnd_signal.c: Likewise.
12545 * nptl/cnd_timedwait.c: Likewise.
12546 * nptl/cnd_wait.c: Likewise.
12547 * sysdeps/nptl/threads.h (cnd_t): New type.
12548 (cnd_init): New prototype.
12549 (cnd_signa): Likewise.
12550 (cnd_broadcast): Likewise.
12551 (cnd_wait): Likewise.
12552 (cnd_timedwait): Likewise.
12553 (cnd_destroy): Likewise.
12556 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
12557 (once_flag): New type.
12558 (call_once): New function.
12559 * nptl/Makefile (libpthread-routines): Add call_once object.
12560 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
12561 * nptl/call_once.c: New file.
12562 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
12563 (once_flag): New type.
12564 (call_once): New prototype.
12567 * conform/data/threads.h-data (mtx_plain): New constant.
12568 (mtx_recursive): Likewise.
12569 (mtx_timed): Likewise.
12571 (mtx_init): New function.
12572 (mtx_lock): Likewise.
12573 (mtx_timedlock): Likewise.
12574 (mtx_trylock): Likewise.
12575 (mtx_unlock): Likewise.
12576 (mtx_destroy): Likewise.
12577 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
12578 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
12579 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
12580 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
12581 * nptl/mtx_destroy.c: New file.
12582 * nptl/mtx_init.c: Likewise.
12583 * nptl/mtx_lock.c: Likewise.
12584 * nptl/mtx_timedlock.c: Likewise.
12585 * nptl/mtx_trylock.c: Likewise.
12586 * nptl/mtx_unlock.c: Likewise.
12587 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
12588 (mtx_recursive): Likewise.
12589 (mtx_timed): Likewise.
12591 (mtx_init): New prototype.
12592 (mtx_lock): Likewise.
12593 (mtx_timedlock): Likewise.
12594 (mtx_trylock): Likewise.
12595 (mtx_unlock): Likewise.
12596 (mtx_destroy): Likewise.
12599 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
12600 (linknamespace-libs-ISO11): Add libpthread.a.
12601 * conform/data/threads.h-data: New file: add C11 thrd_* types and
12603 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
12604 * nptl/Makefile (headers): Add threads.h.
12605 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
12606 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
12608 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
12609 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
12610 thrd_join, thrd_sleep, and thrd_yield symbols.
12611 * nptl/descr.h (struct pthread): Add c11 field.
12612 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
12613 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
12614 routine with expected function prototype.
12615 (__pthread_create_2_1): Add C11 threads check based on attribute
12617 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
12618 * nptl/thrd_create.c: New file.
12619 * nptl/thrd_current.c: Likewise.
12620 * nptl/thrd_detach.c: Likewise.
12621 * nptl/thrd_equal.c: Likewise.
12622 * nptl/thrd_exit.c: Likewise.
12623 * nptl/thrd_join.c: Likewise.
12624 * nptl/thrd_priv.h: Likewise.
12625 * nptl/thrd_sleep.c: Likewise.
12626 * nptl/thrd_yield.c: Likewise.
12627 * include/threads.h: Likewise.
12629 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12631 * bits/indirect-return.h: New file.
12632 * misc/sys/cdefs.h (__glibc_has_attribute): New.
12633 * sysdeps/x86/bits/indirect-return.h: Likewise.
12634 * stdlib/Makefile (headers): Add bits/indirect-return.h.
12635 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
12636 (swapcontext): Add __INDIRECT_RETURN.
12637 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
12638 (prepare_test_buffer): Use it.
12640 2018-07-24 Andreas Schwab <schwab@suse.de>
12643 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
12644 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
12646 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12648 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
12649 Redefine if shadow stack is enabled.
12650 (SYSCALL_ERROR_LABEL): Likewise.
12651 (__vfork): Pop shadow stack and jump back to to caller directly
12652 when shadow stack is in use.
12653 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
12654 Redefine if shadow stack is enabled.
12655 (SYSCALL_ERROR_LABEL): Likewise.
12656 (__vfork): Pop shadow stack and jump back to to caller directly
12657 when shadow stack is in use.
12659 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12661 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
12664 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
12667 2018-07-20 Joseph Myers <joseph@codesourcery.com>
12669 * scripts/build-many-glibcs.py (Context.checkout): Default
12670 binutils version to 2.31 branch.
12672 2018-07-20 Zong Li <zong@andestech.com>
12674 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
12675 URL of gcc's tarball.
12677 2018-07-20 Florian Weimer <fweimer@redhat.com>
12680 * posix/regcomp.c (build_equiv_class): When comparing weights, do
12681 not compare an extra byte after the end of the weights.
12683 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
12685 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
12687 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
12689 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
12690 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
12691 * scripts/check-execstack.awk: Consider `xfail' variable containing a
12692 list of libraries whose stack executability is expected.
12693 * elf/Makefile ($(objpfx)check-execstack.out): Pass
12694 $(check-execstack-xfail) to check-execstack.awk through `xfail'
12696 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
12697 libc.so libpthread.so.
12699 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
12701 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
12703 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
12705 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
12707 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
12709 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12711 * benchtests/scripts/compare_bench.py (__main__): use the argparse
12712 library to improve command line parsing.
12713 (__main__): make schema file as optional parameter (--schema),
12714 defaulting to benchtests/scripts/benchout.schema.json.
12715 (main): move out of the parsing stuff to __main_ and leave it
12716 only as caller of main comparison functions.
12718 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
12720 * NEWS: Add a note for Intel CET status.
12721 * manual/install.texi: Likewise.
12722 * INSTALL: Regenerated.
12724 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
12727 * localedata/locales/oc_FR (mon): Rename to...
12728 (alt_mon): This, then update October (typo fix).
12729 (mon): New content (genitive case, month names preceded by
12733 * localedata/locales/oc_FR (abday): Update all items.
12734 (day): Update Wednesday and Saturday (typo fixes).
12735 (abmon): Update all items, except May.
12736 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
12737 (LC_IDENTIFICATION): Bump the revision number and date.
12738 Keep the "category" entries in alphabetic order.
12739 (LC_ADDRESS): Remove no longer needed comment.
12740 (LC_COLLATE): Use “copy "ca_ES"”.
12741 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
12744 2018-07-18 Joseph Myers <joseph@codesourcery.com>
12746 * grp/tst_fgetgrent.c: Include <unistd.h>.
12747 (main): Use mkstemp instead of tmpnam.
12748 * io/test-utime.c (main): Likewise.
12749 * posix/annexc.c (macrofile): Change to modifiable array.
12750 (main): Remove macrofile here.
12751 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
12753 (check_header): Do not remove macrofile here.
12754 * posix/bug-getopt1.c: Include <stdlib.h>.
12755 (do_test): Use mkstemp instead of tmpnam.
12756 * posix/bug-getopt2.c: Include <stdlib.h>.
12757 (do_test): Use mkstemp instead of tmpnam.
12758 * posix/bug-getopt3.c: Include <stdlib.h>.
12759 (do_test): Use mkstemp instead of tmpnam.
12760 * posix/bug-getopt4.c: Include <stdlib.h>.
12761 (do_test): Use mkstemp instead of tmpnam.
12762 * posix/bug-getopt5.c: Include <stdlib.h>.
12763 (do_test): Use mkstemp instead of tmpnam.
12764 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
12765 (main): Use mkstemp instead of tmpnam.
12766 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
12767 (main): Use mkstemp instead of tmpnam.
12768 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
12769 (main): use mkstemp instead of tmpnam.
12770 * stdlib/isomac.c (macrofile): Change to modifiable array.
12771 (main): Remove macrofile here.
12772 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
12774 (check_header): Do not remove macrofile here.
12776 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12778 * manual/tunables.texi: Document glibc.tune.x86_ibt and
12779 glibc.tune.x86_shstk.
12781 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12783 * NEWS: Mention --enable-cet.
12784 * manual/install.texi: Document --enable-cet.
12785 * INSTALL: Regenerated.
12787 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12789 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
12790 Add _CET_NOTRACK before indirect jump to jump table.
12792 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12794 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
12795 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12798 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12800 * sysdeps/i386/i686/multiarch/strcat-sse2.S
12801 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12804 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12806 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
12807 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12810 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12812 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
12813 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12816 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12818 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
12819 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12821 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
12823 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12825 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
12826 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12829 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12831 * sysdeps/i386/i686/multiarch/memset-sse2.S
12832 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12835 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12837 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
12838 indirect jump to jump table.
12840 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12842 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
12843 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12845 (MEMCPY): Likewise.
12847 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12849 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
12850 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12852 (MEMCPY): Likewise.
12854 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12856 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
12857 _CET_NOTRACK before indirect jump to jump table.
12859 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12861 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
12862 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12865 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12867 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
12868 indirect jump to jump table.
12870 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
12873 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
12874 (LOCALES): Likewise.
12875 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
12876 * localedata/locales/sah_RU: New file.
12877 * localedata/sah_RU.UTF-8.in: New file.
12879 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12881 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
12883 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
12884 _CET_ENDBR to indirect jump targets and adjust jump destination
12886 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
12888 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
12889 _CET_ENDBR to indirect jump targets and adjust jump destination
12891 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
12893 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
12894 _CET_ENDBR to indirect jump targets and adjust jump destination
12897 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12899 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
12902 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12904 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
12906 (_dl_tlsdesc_undefweak): Likewise.
12907 (_dl_tlsdesc_dynamic): Likewise.
12908 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
12909 (_dl_tlsdesc_resolve_rel): Likewise.
12910 (_dl_tlsdesc_resolve_rela): Likewise.
12911 (_dl_tlsdesc_resolve_hold): Likewise.
12912 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
12913 (_dl_tlsdesc_undefweak): Likewise.
12914 (_dl_tlsdesc_dynamic): Likewise.
12915 (_dl_tlsdesc_resolve_rela): Likewise.
12916 (_dl_tlsdesc_resolve_hold): Likewise.
12918 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12920 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
12922 * sysdeps/x86_64/crti.S (_init): Likewise.
12925 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
12928 * localedata/locales/os_RU (mon): Rename to...
12930 (mon): Import from CLDR (genitive case).
12932 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12934 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
12935 cet-tunables.h> when CET is enabled.
12937 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
12940 * configure.ac: Add --enable-cet.
12941 * configure: Regenerated.
12942 * elf/Makefille (all-built-dso): Add a comment.
12943 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
12944 Include <dl-prop.h>.
12945 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
12947 * elf/dl-open.c: Include <dl-prop.h>.
12948 (dl_open_worker): Call _dl_open_check.
12949 * elf/rtld.c: Include <dl-prop.h>.
12950 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
12952 * sysdeps/generic/dl-prop.h: New file.
12953 * sysdeps/i386/dl-cet.c: Likewise.
12954 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
12955 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
12956 * sysdeps/x86/cet-tunables.h: Likewise.
12957 * sysdeps/x86/check-cet.awk: Likewise.
12958 * sysdeps/x86/configure: Likewise.
12959 * sysdeps/x86/configure.ac: Likewise.
12960 * sysdeps/x86/dl-cet.c: Likewise.
12961 * sysdeps/x86/dl-procruntime.c: Likewise.
12962 * sysdeps/x86/dl-prop.h: Likewise.
12963 * sysdeps/x86/libc-start.h: Likewise.
12964 * sysdeps/x86/link_map.h: Likewise.
12965 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
12967 (_dl_runtime_profile): Likewise.
12968 (_dl_runtime_resolve_shstk): New.
12969 (_dl_runtime_profile_shstk): Likewise.
12970 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
12972 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
12973 (CFLAGS-.os): Likewise.
12974 (CFLAGS-.op): Likewise.
12975 (CFLAGS-.oS): Likewise.
12976 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
12978 (tests-special): Add $(objpfx)check-cet.out.
12979 (cet-built-dso): New.
12980 (+$(cet-built-dso:=.note)): Likewise.
12981 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
12982 ($(objpfx)check-cet.out): New.
12983 (generated): Add check-cet.out.
12984 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
12986 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
12987 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
12988 (init_cpu_features): Call get_cet_status to check CET status
12989 and update dl_x86_feature_1 with CET status. Call
12990 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
12991 (set_x86_shstk). Disable and lock CET in libc.a.
12992 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
12993 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
12994 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
12995 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
12996 (_CET_ENDBR): Define if not defined.
12997 (ENTRY): Add _CET_ENDBR.
12998 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
13000 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
13002 (_dl_runtime_profile): Likewise.
13004 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
13007 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
13008 restore r2 on longjmp.
13009 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
13011 Added rules to build test tst-setjmp-bug21895-static.
13012 Added module setjmp-bug21895 and rules to build a shared object from it.
13013 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
13014 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
13016 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
13018 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
13019 * benchtests/bench-strstr.c: Likewise.
13020 * string/memmem.c (FASTSEARCH): Define.
13021 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
13022 Add support for FASTSEARCH.
13023 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
13024 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
13025 (FASTSEARCH): Define.
13026 * string/test-strcasestr.c: Rename __strnlen to strnlen.
13027 * string/test-strstr.c: Likewise.
13029 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
13031 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
13032 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
13034 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
13035 H.J. Lu <hongjiu.lu@intel.com>
13037 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
13038 (__longjmp): Restore shadow stack pointer if shadow stack is
13039 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
13040 isn't defined for __longjmp_cancel.
13041 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
13042 (_setjmp): Save shadow stack pointer if shadow stack is enabled
13043 and SHADOW_STACK_POINTER_OFFSET is defined.
13044 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
13045 (setjmp): Save shadow stack pointer if shadow stack is enabled
13046 and SHADOW_STACK_POINTER_OFFSET is defined.
13047 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
13048 (__sigsetjmp): Save shadow stack pointer if shadow stack is
13049 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13050 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
13052 (____longjmp_chk): Restore shadow stack pointer if shadow stack
13053 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13054 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
13055 Remove jmp_buf-ssp.sym.
13056 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13058 (____longjmp_chk): Restore shadow stack pointer if shadow stack
13059 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13060 * sysdeps/x86/Makefile (gen-as-const-headers): Add
13062 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
13063 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
13064 (__longjmp): Restore shadow stack pointer if shadow stack is
13065 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
13066 isn't defined for __longjmp_cancel.
13067 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
13068 (__sigsetjmp): Save shadow stack pointer if shadow stack is
13069 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13071 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
13074 * nptl/pthread_create.c: Include <tls-setup.h>.
13075 (__pthread_create_2_1): Call tls_setup_tcbhead.
13076 * sysdeps/generic/tls-setup.h: New file.
13077 * sysdeps/x86/nptl/tls-setup.h: Likewise.
13078 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
13079 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
13081 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
13083 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
13084 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
13085 (X86_FEATURE_1_SHSTK): Likewise.
13086 (CET_ENABLED): Likewise.
13087 (IBT_ENABLED): Likewise.
13088 (SHSTK_ENABLED): Likewise.
13090 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
13093 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
13094 (LOCALES): Likewise.
13095 * localedata/dsb_DE.UTF-8.in: New file.
13096 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
13098 2018-07-12 Florian Weimer <fweimer@redhat.com>
13100 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
13101 __mprotect, not mprotect.
13103 2018-07-11 Florian Weimer <fweimer@redhat.com>
13105 * io/Makefile (headers): Add bits/statx.h.
13107 2018-07-10 Mike FABIAN <mfabian@redhat.com>
13109 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
13110 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
13112 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
13113 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
13116 2018-07-10 Florian Weimer <fweimer@redhat.com>
13118 * io/Makefile (routines): Add statx.
13119 (tests-internal): Add tst-statx.
13120 * io/Versions (GLIBC_2.28): Export statx.
13121 * io/bits/statx.h: New file.
13122 * io/sys/stat.h [__USE_GNU]: Include it.
13123 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
13124 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
13126 * io/statx.c: New file.
13127 * io/statx_generic.: Likewise.
13128 * io/tst-statx.: Likewise.
13129 * include/bits/statx.h: Likewise.
13130 * sysdeps/unix/sysv/linux/kernel-features.h
13131 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
13132 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13133 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
13134 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
13136 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13137 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
13138 * sysdeps/unix/sysv/linux/statx.c: New file.
13139 * manual/filesys.texi: Note that statx is undocumented.
13140 * sysdeps/**/libc*.abilist: Update.
13142 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13144 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
13145 a kernel issue which lead to test failure in some cases.
13147 2018-07-10 Florian Weimer <fweimer@redhat.com>
13150 * posix/regexec.c (check_node_accept_bytes): When comparing
13151 weights, do not compare an extra byte after the end of the
13154 2018-07-10 Florian Weimer <fweimer@redhat.com>
13156 * libio/readline.c: Fix copyright year.
13157 * libio/tst-readline.c Likewise.
13158 * nss/tst-nss-files-hosts-getent.c: Likewise.
13160 2018-07-06 Florian Weimer <fweimer@redhat.com>
13163 * nss/nss_files/files-XXX.c (internal_getent): Use
13164 __libc_readline_unlocked. Seek back to the start of the line if
13165 parsing failes with ERANGE.
13166 (get_contents_ret, get_contents): Remove.
13167 * nss/tst-nss-files-hosts-getent.c: New file.
13168 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
13169 (tst-nss-files-hosts-getent): Link with -ldl.
13171 2018-07-06 Florian Weimer <fweimer@redhat.com>
13173 * include/stdio.h (__libc_readline_unlocked): Declare.
13174 (__ftello64, __fseeko64): Declare aliases.
13175 * libio/readline.c: New file.
13176 * libio/tst-readline.c: Likewise.
13177 (routines): Add readline.
13178 (tests-internal): Add tst-readlime.
13179 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
13180 __libc_readline_unlocked.
13181 * libio/fseeko.c (__fseeko): Rename from fseeko.
13182 (fseeko): Add alias.
13183 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
13184 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
13185 (fseeko64): Add alias.
13186 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
13187 * libio/ftello64.c (__ftello64): Rename from ftello64.
13188 (ftello64): Add alias.
13190 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
13192 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
13195 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
13197 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
13198 Use dl_hwcap without masking.
13199 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
13200 Remove HWCAP_CPUID.
13202 2018-07-06 Florian Weimer <fweimer@redhat.com>
13204 * conform/conformtest.pl (checknamespace): Escape literal braces
13205 in regular expressions.
13207 2018-07-06 Amit Pawar <amit.pawar@amd.com>
13209 * sysdeps/x86/cpu-features.c (get_common_indeces):
13210 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
13211 * sysdeps/x86/cpu-features.c (init_cpu_features):
13212 AVX_Fast_Unaligned_Load is disabled for Excavator core.
13214 2018-07-05 Florian Weimer <fweimer@redhat.com>
13216 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
13218 (CFLAGS-elf-init.oS): Likewise.
13220 2018-07-05 Florian Weimer <fweimer@redhat.com>
13221 Carlos O'Donell <carlos@redhat.com>
13223 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
13224 $(no-stack-protector). stack_chk_fail_local.c can be compiled
13225 with stack protector enabled because there is no risk of infinite
13228 2018-07-05 Maciej W. Rozycki <macro@mips.com>
13232 * libc-abis (ABSOLUTE): New ABI.
13233 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
13234 * NEWS: Mention the new ABI.
13236 2018-07-05 Florian Weimer <fweimer@redhat.com>
13239 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
13240 (RENAME_WHITEOUT): Define.
13241 [__USE_GNU] (renameat2): Declare.
13242 * stdio-common/Makefile (routines): Add renameat2.
13243 (tests): Add tst-renameat2.
13244 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
13245 * stdio-common/renameat2.c: New file.
13246 * stdio-common/tst-renameat2.c: Likewise.
13247 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
13248 * manual/filesys.texi (Temporary Files): Note that renameat2 is
13250 * sysdeps/unix/sysv/linux/kernel-features.h
13251 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
13252 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13253 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
13254 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13255 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
13256 * sysdeps/unix/sysv/linux/sh/kernel-features.h
13257 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
13258 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13259 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
13260 * include/stdio.h (__renameat): Add alias for renameat.
13261 * stdio-common/renameat.c (__renameat): Rename from renameat.
13262 Add hidden definition and alias.
13263 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
13264 * sysdeps/mach/hurd/renameat.c: Likewise.
13265 * sysdeps/**/libc*.abilist: Add renameat2.
13267 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13269 * posix/bug-regex33.c: Fix build after regex sync.
13271 2018-07-04 Carlos O'Donell <carlos@redhat.com>
13274 * localedata/tst-langinfo-setlocale.c: New file.
13275 * localedata/tst-langinfo-setlocale-static.c: New file.
13276 * localedata/tst-langinfo-newlocale.c: New file.
13277 * localedata/tst-langinfo-newlocale-static.c: New file.
13278 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
13279 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
13280 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
13281 (tests-static): Remove tst-langinfo-static. Add
13282 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
13283 (tests-special): Remove $(objpfx)tst-langinfo.out,
13284 $(objpfx)tst-langinfo-static.out. Add
13285 $(objpfx)tst-langinfo-setlocale.out,
13286 $(objpfx)tst-langinfo-newlocale.out,
13287 $(objpfx)tst-langinfo-setlocale-static.out,
13288 $(objpfx)tst-langinfo-newlocale-static.out.
13289 ($(objpfx)tst-langinfo.out): Remove.
13290 ($(objpfx)tst-langinfo-static.out): Remove.
13291 ($(objpfx)tst-langinfo-newlocale.out): New target.
13292 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
13293 (test-xfail-tst-langinfo-newlocale-static): Add.
13294 ($(objpfx)tst-langinfo-setlocale.out): New target.
13295 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
13296 * localedata/tst-langinfo.c: Call test_locale.
13297 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
13300 2018-07-04 Florian Weimer <fweimer@redhat.com>
13302 testrun.sh: Implement --tool=strace, --tool=valgrind
13303 * Makefile (testrun-script): Define variable.
13304 (testrun.sh): Use variable.
13305 * manual/install.texi (Tools for Compilation): make 4.0 or later
13307 * configure.ac: Check for make 4.0 or later.
13308 * INSTALL: Regenerate.
13309 * configure: Likewise.
13311 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13317 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
13318 * posix/PCRE.tests: Remove invalid test.
13319 * posix/bug-regex28.c: Fix expected values for used syntax.
13320 * posix/bug-regex37.c: New file.
13321 * posix/bug-regex38.c: Likewise.
13322 * posix/regcomp.c: Sync with gnulib.
13323 * posix/regex.c: Likewise.
13324 * posix/regex.h: Likewise.
13325 * posix/regex_internal.c: Likewise.
13326 * posix/regex_internal.h: Likewise.
13327 * posix/regexec.c: Likewise.
13329 2018-06-26 Mike FABIAN <mfabian@redhat.com>
13332 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
13333 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
13334 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
13335 * localedata/unicode-gen/PropList.txt: likewise.
13336 * localedata/unicode-gen/UnicodeData.txt: likewise.
13337 * localedata/charmaps/UTF-8: Regenerate.
13338 * localedata/locales/i18n_ctype: likewise.
13339 * localedata/locales/tr_TR: likewise.
13340 * localedata/locales/translit_circle: likewise.
13341 * localedata/locales/translit_cjk_compat: likewise.
13342 * localedata/locales/translit_combining: likewise.
13343 * localedata/locales/translit_compat: likewise.
13344 * localedata/locales/translit_font: likewise.
13345 * localedata/locales/translit_fraction: likewise.
13347 2018-07-03 Florian Weimer <fweimer@redhat.com>
13350 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
13351 * stdio-common/tst-printf.sh: Adjust expected output.
13352 * LICENSES: Update.
13354 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13356 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
13359 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13361 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
13362 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
13363 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
13364 * stdio-common/tst-printfsz-islongdouble.c: New file.
13365 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
13366 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
13367 [subdir == stdio-common] (routines): Add ieee128-printf_size.
13368 [subdir == stdio-common] (tests-internal): Add
13369 test-printf-size-ieee128, and test-printf-size-ibm128.
13370 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
13371 (CFLAGS-test-printf-size-ibm128.c): New variables.
13372 [subdir == stdio-common] (tests-special): Add
13373 $(objpfx)test-printf-size-ieee128.out and
13374 $(objpfx)test-printf-size-ibm128.out.
13375 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
13376 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
13377 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
13378 __printf_sizeieee128.
13379 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
13381 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
13383 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
13386 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
13388 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
13389 (exp2f_inline): Likewise.
13390 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
13391 (__math_uflowf): Likewise.
13392 (__math_may_uflowf): Likewise.
13393 (__math_divzerof): Likewise.
13394 (__math_invalidf): Likewise.
13395 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
13396 (__math_oflowf): Likewise.
13397 (__math_uflowf): Likewise.
13398 (__math_may_uflowf): Likewise.
13399 (__math_divzerof): Likewise.
13400 (__math_invalidf): Likewise.
13402 2018-06-29 DJ Delorie <dj@redhat.com>
13403 Carlos O'Donell <carlos@redhat.com>
13406 * include/libc-symbols.h: Comment the freeres framework.
13407 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
13408 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
13409 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
13410 * dlfcn/dlerror.c: Include libc-symbols.h
13411 (__dlerror_main_freeres): New function.
13412 * dlfcn/dlfreeres.c: New file.
13413 * dlfcn/sdlfreeres.c: New file.
13414 * include/dlfcn.h: Declare __dlerror_main_freeres.
13415 * malloc/set-freeres.c: Declare __libdl_freeres, and
13416 __libpthread_freeres.
13417 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
13418 the releavant libraries are loaded.
13419 * malloc/thread-freeres.c: Add comments.
13420 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
13421 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
13422 * nptl/allocatestack.c (__nptl_free_stacks): New function.
13423 (__free_stacks): Rename to...
13424 (free_stacks): ...this. Mark static.
13425 (queue_stack): Call free_stacks.
13426 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
13427 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
13428 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
13429 ptr_freeres element from struct.
13430 (pthread_functions): Remove .ptr_freeres from struct initializer.
13431 [SHARED] (nptl_freeres): Remove.
13432 * nptl/nptlfreeres.c: New file.
13434 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
13435 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
13437 (__free_stacks): Rename to...
13438 (__nptl_stacks_freeres): ...this.
13439 (__shm_directory_freeres): Declare.
13440 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
13441 (__nptl_unwind_freeres): ...this.
13442 * resolv/res-close.c: Add comment.
13443 * resolv/resolv_conf.c: Include libc-symbols.h.
13444 * string/strerror_l.c: Include libc-symbols.h.
13445 * sunrpc/rpc_thread.c: Include libc-symbols.h.
13446 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
13447 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
13448 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
13450 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13452 * stdlib/tst-strfmon_l.c: Add tests for long double.
13454 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
13457 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
13458 * localedata/locales/dsb_DE: New file.
13460 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13463 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
13465 (alt_mon): New entry, import from CLDR (nominative case).
13467 2018-06-29 Sylvain Lesage <severo@rednegra.net>
13470 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
13472 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
13474 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
13475 Use vector registers.
13477 * sysdeps/aarch64/multiarch/memmove_falkor.S
13478 (__memcpy_falkor): Use vector registers.
13480 2018-06-29 Martin Sebor <msebor@redhat.com>
13482 * manual/stdio.texi (Customizing Printf): Mention interaction
13483 with GCC built-ins.
13485 2018-06-29 Maciej W. Rozycki <macro@mips.com>
13488 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
13489 `st_value' is 0 if `st_shndx' is SHN_ABS.
13490 * elf/tst-absolute-zero.c: New file.
13491 * elf/tst-absolute-zero-lib.c: New file.
13492 * elf/tst-absolute-zero-lib.lds: New file.
13493 * elf/Makefile (tests): Add `tst-absolute-zero'.
13494 (modules-names): Add `tst-absolute-zero-lib'.
13495 (LDLIBS-tst-absolute-zero-lib.so): New variable.
13496 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
13497 ($(objpfx)tst-absolute-zero: New dependency.
13499 2018-06-29 Zack Weinberg <zackw@panix.com>
13501 * configure.ac: New command-line option --disable-crypt.
13502 Force --disable-nss-crypt when --disable-crypt is given, with a
13503 warning if it was explicitly enabled.
13504 * configure: Regenerate.
13505 * config.make.in: New boolean substitution variable $(build-crypt).
13506 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
13507 when $(build-crypt).
13508 * manual/install.texi: Document --disable-crypt.
13509 * INSTALL: Regenerate.
13511 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
13512 which is never set.
13513 * conform/Makefile: Only include libcrypt.a in
13514 linknamespace-libs-xsi and linknamespace-libs-XPG4
13515 when $(build-crypt).
13516 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
13517 USE_CRYPT to 1 when $(build-crypt).
13518 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
13519 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
13520 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
13522 2018-06-29 Zack Weinberg <zackw@panix.com>
13524 * crypt/crypt.h, posix/unistd.h: Update comments and
13525 prototypes for crypt and crypt_r.
13527 * manual/crypt.texi (Cryptographic Functions): New initial
13529 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
13530 (Unpredictable Bytes): Improve initial exposition. Clarify error
13531 behavior of getentropy and getrandom.
13532 * manual/examples/genpass.c: Generate a salt using getentropy
13533 instead of the current time. Use hash $5$ (SHA-2-256).
13534 * manual/examples/testpass.c: Demonstrate validation against
13535 hashes generated with three different one-way functions.
13537 * manual/intro.texi: crypt.texi does not need an overview
13540 * manual/nss.texi, manual/memory.texi, manual/socket.texi
13541 * manual/terminal.texi: Consistently refer to "passphrases"
13542 * instead of "passwords", and to the "user database" instead
13543 * of the "password database".
13544 * manual/users.texi: Similarly. Add notes about how actual
13545 passphrase hashes are now stored in the shadow database.
13546 Remove 20-year-old junk todo note.
13548 2018-06-29 Zack Weinberg <zackw@panix.com>
13550 * manual/crypt.texi: Use a normal top-level @node declaration.
13551 Move most of the introductory text to the 'crypt' section.
13552 Move the example programs below the @deftypefun for 'crypt_r'.
13553 Move the 'getpass' section...
13554 * manual/terminal.texi: ...here.
13556 2018-06-29 Zack Weinberg <zackw@panix.com>
13557 Florian Weimer <fweimer@redhat.com>
13559 * posix/unistd.h: Do not declare encrypt.
13560 (_XOPEN_CRYPT): Remove macro definition.
13561 (crypt): Declare only for _USE_MISC.
13562 * stdlib/stdlib.h: Do not declare setkey.
13563 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
13564 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
13566 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
13567 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
13568 into compat symbols. Don't define initial_perm if it's not
13570 * crypt/cert.c: Link explicitly with the expected versions for
13571 setkey and encrypt. If they are not available at all, mark
13572 the test as unsupported.
13574 * sunrpc/des_crypt.c: Unconditionally block linkage with
13575 cbc_crypt and ecb_crypt for new binaries.
13576 * sunrpc/des_soft.c: Unconditionally block linkage with
13577 des_setparity for new binaries.
13579 * manual/crypt.texi: Remove the entire "DES Encryption"
13580 section. Also remove the paragraph talking about FIPS 140-2
13581 from the introduction.
13582 * manual/string.texi (strfry, memfrob): Revise. Recommend use
13583 of libgcrypt for "real" encryption, not DES.
13584 * manual/conf.texi (Constants for Sysconf): Mention that
13585 _XOPEN_CRYPT is no longer impelemented.
13587 * conform/data/unistd.h-data: Remove crypt function declaration.
13589 2018-06-29 Florian Weimer <fweimer@redhat.com>
13592 * malloc/hooks.c: Update comments on restoring of dumped heaps.
13593 (disallow_malloc_check): Remove variable.
13594 (__malloc_check_init): Adjust.
13595 (malloc_set_state): Update comment.
13596 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
13599 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13602 * localedata/locales/ast_ES (mon): Rename to...
13604 (mon): Import from CLDR (genitive case).
13606 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
13607 Jakub Sitnicki <jkbs@redhat.com>
13610 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
13611 on NLM_F_DUMP_INTR.
13613 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
13615 * manual/llio.texi: Remove spurious space.
13617 2018-06-28 Florian Weimer <fweimer@redhat.com>
13620 * time/bits/types/struct_timespec.h: Change header inclusion guard to
13623 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13625 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
13626 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
13627 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
13628 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
13629 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
13630 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
13631 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
13633 2018-06-27 Maciej W. Rozycki <macro@mips.com>
13636 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
13637 Copy and null-terminate entries that are not terminated, in
13638 addition to empty ones.
13640 2018-06-27 Florian Weimer <fweimer@redhat.com>
13643 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
13644 (extend_alloca_account): Remove.
13645 * manual/stdio.texi (Variable Arguments Output): Update comment.
13647 2018-06-27 Joseph Myers <joseph@codesourcery.com>
13649 * nptl/sockperf.c: Remove file.
13651 2018-06-27 Florian Weimer <fweimer@redhat.com>
13654 * elf/dl-deps.c (_dl_map_object_deps): Use struct
13655 scratch_buffer instead of extend_alloca.
13657 2018-06-27 Florian Weimer <fweimer@redhat.com>
13660 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
13661 scratch_buffer instead of extend_alloca. Update comments.
13663 2018-06-27 Florian Weimer <fweimer@redhat.com>
13666 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
13667 instead of extend_alloca.
13669 2018-06-26 Joseph Myers <joseph@codesourcery.com>
13672 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
13673 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
13675 * scripts/test-installation.pl: Put temporary files in build
13676 directory, not /tmp.
13677 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
13678 (CFLAGS-bug4.c): Likewise.
13679 (CFLAGS-bug5.c): Likewise.
13680 (CFLAGS-test-fseek.c): Likewise.
13681 (CFLAGS-test-popen.c): Likewise.
13682 (CFLAGS-test_rdwr.c): Likewise.
13683 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
13685 * stdio-common/bug4.c (main): Likewise.
13686 * stdio-common/bug5.c (main): Likewise.
13687 * stdio-common/test-fseek.c (TESTFILE): Likewise.
13688 * stdio-common/test-popen.c (do_test): Likewise.
13689 * stdio-common/test_rdwr.c (main): Likewise.
13691 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
13693 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
13694 (sem_open): Set sem.newsem.pad to zero for valgrind.
13696 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13699 * NEWS: Mention fcntl64 addition.
13700 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
13701 * login/utmp_file.c: Likewise.
13702 * sysdeps/posix/fdopendir.c: Likewise.
13703 * sysdeps/posix/opendir.c: Likewise.
13704 * sysdeps/unix/pt-fcntl.c: Likewise.
13705 * include/fcntl.h (__libc_fcntl64, __fcntl64,
13706 __fcntl64_nocancel_adjusted): New prototype.
13707 (__fcntl_nocancel_adjusted): Remove prototype.
13708 * io/Makefile (routines): Add fcntl64.
13709 (CFLAGS-fcntl64.c): New rule.
13710 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
13711 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
13712 * io/fcntl.h (fcntl64): Add prototype and redirect if
13713 __USE_FILE_OFFSET64 is defined.
13714 * io/fcntl64.c: New file.
13715 * manual/llio.text: Add a note for which commands fcntl acts a
13716 cancellation point.
13717 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
13718 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
13719 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
13721 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
13722 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
13724 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
13725 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
13726 to __fcntl64_nocancel.
13727 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
13728 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
13729 to __fcntl64_nocancel.
13730 * sysdeps/generic/not-cancel.h: Likewise.
13731 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
13732 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
13733 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
13734 (fcntl64): New symbol.
13735 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13736 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13737 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13740 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
13741 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13742 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13743 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13744 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13745 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
13746 fcntl64): Likewise.
13747 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13748 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
13749 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13750 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13751 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13752 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13753 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13754 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13755 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13760 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13761 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13762 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13764 2018-06-26 Florian Weimer <fweimer@redhat.com>
13766 Run thread shutdown functions in an explicit order.
13767 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
13769 (__libc_thread_freeres): Call thread shutdown functions
13771 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
13772 * include/string.h (__strerror_thread_freeres): Declare.
13773 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
13774 arena_thread_freeres. No longer static. Remove thread shutdown
13776 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
13778 * resolv/res-close.c (__res_thread_freeres): Renamed from
13779 res_thread_freeres. No longer static. Remove thread shutdown
13781 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
13782 * resolv/resolv_conf.c (freeres): Remove incorrect section
13783 attribute and use libc_freeres_fn.
13784 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
13785 strerror_thread_freeres. No longer static. Remove thread
13786 shutdown hook registration.
13787 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
13788 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
13789 shutdown hook registration.
13790 * Makerules (shlib.lds): Do not provide section boundary symbols
13791 for __libc_thread_subfreeres.
13792 * manual/memory.texi (Basic Allocation): Update comment.
13794 2018-06-26 Florian Weimer <fweimer@redhat.com>
13796 Remove always-defined _RPC_THREAD_SAFE_ macro.
13797 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
13798 Do not define _RPC_THREAD_SAFE_.
13799 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
13801 * sunrpc/clnt_perr.c: Likewise.
13802 * sunrpc/clnt_raw.c: Likewise.
13803 * sunrpc/clnt_simp.c: Likewise.
13804 * sunrpc/key_call.c: Likewise.
13805 * sunrpc/rpc_common.c: Likewise.
13806 * sunrpc/rpc_main.c: Likewise.
13807 * sunrpc/rpc_thread.c: Likewise.
13808 * sunrpc/svc.c: Likewise.
13809 * sunrpc/svc_raw.c: Likewise.
13810 * sunrpc/svc_simple.c: Likewise.
13811 * sumrpc/svcauth_des.c: Likewise.
13813 2018-06-26 Florian Weimer <fweimer@redhat.com>
13815 * libio/Makefile (tests-internal): Add tst-vtables,
13816 tst-vtables-interposed.
13817 * libio/tst-vtables.c: New file.
13818 * libio/tst-vtables-common.c: Likewise.
13819 * libio/tst-vtables-interposed.c: Likewise.
13821 2018-06-26 Florian Weimer <fweimer@redhat.com>
13823 * support/support_test_main.c (support_test_main): Only call
13824 setvbuf if not disables.
13825 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
13826 * support/test-driver.h (struct test_config): Add no_setvbuf member.
13828 2018-06-26 Florian Weimer <fweimer@redhat.com>
13831 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
13833 2018-06-25 Florian Weimer <fweimer@redhat.com>
13836 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13837 Use struct scratch_buffer instead of extend_alloca.
13839 2018-06-25 Florian Weimer <fweimer@redhat.com>
13842 * nss/getent.c (initgroups_keys): Use dynarray instead of
13845 2018-06-25 Florian Weimer <fweimer@redhat.com>
13848 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
13849 Use struct scratch_buffer instead of extend_alloca.
13851 2018-06-25 Florian Weimer <fweimer@redhat.com>
13854 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
13855 back to malloc directly, without stack allocations.
13857 2018-06-25 Florian Weimer <fweimer@redhat.com>
13860 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
13863 2018-06-25 Florian Weimer <fweimer@redhat.com>
13866 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
13868 * nscd/hstcache.c (addhstbyX): Likewise.
13869 * nscd/pwdcache.c (addpwbyX): Likewise.
13870 * nscd/servicescache.c (addservbyX): Likewise.
13872 2018-06-25 Florian Weimer <fweimer@redhat.com>
13875 * nscd/connections.c (read_cmdline): New function.
13876 (restart): Use it. Update comment.
13878 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
13881 * localedata/locales/csb_PL (mon): Rename to...
13883 (abmon): Rename to...
13884 (ab_alt_mon): This.
13885 (mon): Add with proper genitive forms, copy from Wikipedia.
13888 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
13891 * localedata/locales/csb_PL (mon): Fix typos:
13892 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
13893 (yesstr): Add, value is "jo".
13894 (nostr): Add, value is "nié".
13896 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13898 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
13899 all log1p and significand functions on m680x0.
13900 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
13901 of s_significand.c..
13902 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
13903 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
13904 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
13905 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
13906 s_log1p.c and include it..
13908 2018-06-21 Vincent Chen <vincentc@andestech.com>
13910 * elf/elf.h (R_NDS32_NONE): New define.
13911 (R_NDS32_32_RELA): Likewise.
13912 (R_NDS32_COPY): Likewise.
13913 (R_NDS32_GLOB_DAT): Likewise.
13914 (R_NDS32_JUMP_SLOT): Likewise.
13915 (R_NDS32_RELATIVE): Likewise.
13916 (R_NDS32_TLS_TPOFF): Likewise.
13917 (R_NDS32_TLS_DESC): Likewise.
13919 2018-06-21 Mark Wielaard <mark@klomp.org>
13921 * elf/elf.h (R_BPF_MAP_FD): Removed.
13922 (R_BPF_64_64, R_BPF_64_32): New.
13924 2018-06-21 Florian Weimer <fweimer@redhat.com>
13927 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
13928 Renamed from libc_feholdsetround_ctx.
13929 (default_libc_feresetround_ctx): Renamed from
13930 libc_feresetround_ctx.
13931 (default_libc_feholdsetround_noex_ctx): Renamed from
13932 libc_feholdsetround_noex_ctx.
13933 (default_libc_feresetround_noex_ctx): Renamed from
13934 libc_feresetround_noex_ctx.
13935 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
13936 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
13937 forwardning to the old implementations under the new names.
13938 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
13939 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
13940 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
13941 (libc_feresetround_ctx): Forward to default implements for i386
13942 and MATH_SET_BOTH_ROUNDING_MODES.
13943 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
13944 Add -DMATH_SET_BOTH_ROUNDING_MODES.
13946 2018-06-20 Joseph Myers <joseph@codesourcery.com>
13948 * string/tst-cmp.c: Include <libc-diag.h>.
13949 (strncmp_max): Disable -Wstringop-overflow= around call to
13951 (strncasecmp_max): Disable -Wstringop-overflow= around call to
13954 * string/bug-strpbrk1.c: Include <libc-diag.h>.
13955 (main): Disable -Wunused-value around call to strpbrk.
13956 * string/bug-strspn1.c: Include <libc-diag.h>.
13957 (main): Disable -Wunused-value around call to strspn.
13959 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13960 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13962 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
13963 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
13965 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13967 * math/Makefile (libm-calls): Move s_significandF to...
13968 (gen-libm-calls): ... here.
13969 * math/s_significand_template.c: New file.
13970 * math/s_significand.c: Removed.
13971 * math/s_significandf.c: Removed.
13972 * math/s_significandl.c: Removed.
13973 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
13974 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
13976 * math/e_exp2_template.c (declare_mgen_finite_alias,
13977 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
13978 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
13979 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
13981 2018-06-20 Florian Weimer <fweimer@redhat.com>
13983 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
13985 2018-06-19 Joseph Myers <joseph@codesourcery.com>
13988 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
13989 floating-point number to strtod functions rather than possibly
13990 negating result of those functions.
13991 * stdio-common/tst-scanf-round.c: New file.
13992 * stdio-common/Makefile (tests): Add tst-scanf-round.
13993 ($(objpfx)tst-scanf-round): Depend on $(libm).
13995 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13997 * sysdeps/mach/hurd/localplt.data: Move to...
13998 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
13999 R_386_GLOB_DAT like on Linux i386.
14001 2018-06-18 Joseph Myers <joseph@codesourcery.com>
14003 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
14004 (SHM_STAT_ANY): New macro.
14005 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
14006 (SHM_STAT_ANY): Likewise.
14007 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
14008 (SHM_STAT_ANY): Likewise.
14009 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
14010 (SHM_STAT_ANY): Likewise.
14011 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
14012 (SHM_STAT_ANY): Likewise.
14013 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
14014 (SHM_STAT_ANY): Likewise.
14015 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
14016 (SHM_STAT_ANY): Likewise.
14017 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
14018 (SHM_STAT_ANY): Likewise.
14019 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
14020 (SHM_STAT_ANY): Likewise.
14021 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
14022 (SHM_STAT_ANY): Likewise.
14023 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
14024 (SHM_STAT_ANY): Likewise.
14025 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
14026 (SHM_STAT_ANY): Likewise.
14028 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
14029 (SEM_STAT_ANY): New macro.
14030 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
14031 (SEM_STAT_ANY): Likewise.
14032 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
14033 (SEM_STAT_ANY): Likewise.
14034 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
14035 (SEM_STAT_ANY): Likewise.
14036 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
14037 (SEM_STAT_ANY): Likewise.
14038 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
14039 (SEM_STAT_ANY): Likewise.
14040 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
14041 (SEM_STAT_ANY): Likewise.
14042 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
14043 (SEM_STAT_ANY): Likewise.
14044 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
14045 (SEM_STAT_ANY): Likewise.
14046 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
14047 (SEM_STAT_ANY): Likewise.
14049 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
14050 (MSG_STAT_ANY): New macro.
14051 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
14052 (MSG_STAT_ANY): Likewise.
14053 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
14054 (MSG_STAT_ANY): Likewise.
14055 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
14056 (MSG_STAT_ANY): Likewise.
14057 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
14058 (MSG_STAT_ANY): Likewise.
14059 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
14060 (MSG_STAT_ANY): Likewise.
14061 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
14062 (MSG_STAT_ANY): Likewise.
14063 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
14064 (MSG_STAT_ANY): Likewise.
14065 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
14066 (MSG_STAT_ANY): Likewise.
14067 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
14068 (MSG_STAT_ANY): Likewise.
14070 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
14071 (MAP_TYPE): Change value to 0x2b.
14073 2018-06-18 Florian Weimer <fweimer@redhat.com>
14076 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
14077 socket with SOCK_CLOEXEC.
14079 2018-06-18 Joseph Myers <joseph@codesourcery.com>
14082 * sysdeps/powerpc/powerpc64/le/Makefile
14083 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
14084 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
14085 (gnulib-tests): Also add $(f128-loader-link) for
14086 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
14088 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
14090 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
14091 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
14093 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
14094 (sendfile64): New strong alias.
14095 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
14096 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
14097 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
14098 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
14100 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
14101 ___pthread_get_cleanup_stack.
14102 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
14103 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
14104 * mach/shortcut.awk: Make syscall stubs include
14105 <mach-shortcuts-hidden.h> and add hidden definition.
14106 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
14107 (__mach_msg): Add hidden prototype.
14108 * mach/msg.c: Include <mach.h>.
14109 (__mach_msg): Add hidden definition.
14110 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
14111 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
14112 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
14113 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
14114 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
14115 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
14116 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
14117 prototype and definition.
14118 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
14119 hidden target for _hurd_self_sigstate.
14121 2018-06-15 Joseph Myers <joseph@codesourcery.com>
14124 * stdlib/tst-strtod-nan-sign-main.c: New file.
14125 * stdlib/tst-strtod-nan-sign.c: Likewise.
14126 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
14127 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
14128 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
14129 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
14130 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
14132 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
14135 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
14138 2018-06-14 Florian Weimer <fweimer@redhat.com>
14141 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
14142 that the result stays within the ISO-8859-1 range.
14143 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
14144 characters are defined in IBM273.
14146 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
14148 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
14149 __mach_task_self): Remove attribute_hidden.
14151 2018-06-14 Joseph Myers <joseph@codesourcery.com>
14153 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
14154 ignore -Wrestrict for one test.
14156 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
14157 Szabolcs Nagy <szabolcs.nagy@arm.com>
14159 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
14161 2018-06-14 Florian Weimer <fweimer@redhat.com>
14163 * scripts/update-abilist.sh: Accept empty list of files to patch.
14165 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
14167 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
14168 test-xfail-check-abi-libmachuser): Add.
14169 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
14170 __libc_read and __libc_write to __read and __write.
14171 * sysdeps/hurd/include/hurd/port.h: New file.
14172 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
14173 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
14174 __thread_switch, __evc_wait): Move declarations to...
14175 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
14177 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
14178 use PLT to call _hurd_self_sigstate.
14180 2018-06-13 Joseph Myers <joseph@codesourcery.com>
14183 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
14184 MAX_EXP as overflowing.
14185 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
14187 (round_str): Output also whether result overflows in each rounding
14189 * stdlib/tst-strtod-round-data: Add more tests.
14190 * stdlib/tst-strtod-round-data.h: Regenerated.
14191 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
14192 (TEST): Handle extra arguments for overflow flags.
14193 (struct test_overflow): New type.
14194 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
14195 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
14196 (test_in_one_mode): Take argument with overflow information.
14197 (do_test): Update calls to test_in_one_mode.
14199 2018-06-12 Carlos O'Donell <carlos@redhat.com>
14201 * elf/dl-load (_dl_dst_substitute): Correct comment.
14202 (_dl_dst_count): Likewise.
14204 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
14205 lll_futex_timed_wait.
14207 2018-06-12 Joseph Myers <joseph@codesourcery.com>
14210 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
14212 * math/test-nan-const.c: New file.
14213 * math/Makefile (tests): Add test-nan-const.
14214 (CFLAGS-test-nan-const.c): New variable.
14216 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
14218 * benchtests/scripts/compare_strings.py (process_results): Add
14219 funcs argument. Compare only functions which are selected.
14220 (main): Check if base function is among selected functions.
14221 Pass selected functions to process_results.
14222 (__main__): Add -f/--functions argument.
14224 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
14225 Hongbo Zhang <hongbo.zhang@linaro.org>
14227 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
14228 __memcpy_falkor for phecda core.
14229 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
14230 __memmove_falkor for phecda core.
14231 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
14232 __memset_falkor for phecda core.
14233 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
14235 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
14236 macro to identify phecda core.
14238 2018-06-12 Carlos O'Donell <carlos@redhat.com>
14239 Andreas Schwab <schwab@suse.de>
14240 Dmitry V. Levin <ldv@altlinux.org>
14241 Florian Weimer <fweimer@redhat.com>
14248 * elf/dl-dst.h: Remove DL_DST_COUNT.
14249 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
14250 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
14251 (is_dst): Comment. Support ELF gABI.
14252 (_dl_dst_count): Comment. Simplify and count DSTs.
14253 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
14254 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
14257 2018-06-12 Zack Weinberg <zackw@panix.com>
14259 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
14260 * sysdeps/unix/sysv/linux/dl-sysdep.c
14261 Include not-cancel.h. Use __close_nocancel instead of __close,
14262 __open64_nocancel instead of __open, __read_nocancel instead of
14263 __libc_read, and __write_nocancel instead of __libc_write.
14265 * csu/check_fds.c (check_one_fd)
14266 * sysdeps/posix/fdopendir.c (__fdopendir)
14267 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
14268 instead of __fcntl and/or __libc_fcntl.
14270 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
14271 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
14272 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
14273 Use __open64_nocancel instead of __open_nocancel.
14275 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
14276 hidden_proto declarations to the end and issue them if either
14277 IS_IN(libc) or IS_IN(rtld).
14278 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
14279 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
14280 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
14281 read_nocancel, waitpid_nocancel, write_nocancel.
14283 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
14284 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
14285 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
14287 * nptl/pt-fcntl.c: New file.
14288 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
14289 (libpthread-routines): Add pt-fcntl.
14290 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
14291 (__libc_fcntl): Remove attribute_hidden.
14292 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
14293 __fcntl_nocancel_adjusted, not fcntl_common.
14294 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
14295 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
14296 to fcntl_nocancel.c.
14297 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
14298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
14299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14300 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
14302 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
14303 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
14304 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
14305 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
14306 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
14307 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
14308 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
14309 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
14310 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
14311 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
14312 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
14313 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
14314 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
14315 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
14316 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
14317 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
14318 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
14319 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
14320 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
14321 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
14323 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
14324 libpthread-routines.
14325 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
14328 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
14329 __libc_read, and __write instead of __libc_write. Define
14330 __open64 in addition to __open.
14332 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
14336 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
14337 to _private_tm[3] and add __glibc_reserved2.
14338 Add _Static_assert of offset of __private_ss == 0x30.
14339 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
14340 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
14342 2018-06-12 Florian Weimer <fweimer@redhat.com>
14344 x86: Make strncmp usable from rtld.
14345 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
14346 __strncmp_ia32 if in libc (and not in rtld).
14347 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
14348 strncmp if not in libc (and not to __strncmp_sse2).
14350 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
14353 * localedata/locales/gd_GB (mon): Rename to...
14355 (mon): Import from CLDR (genitive case).
14356 * localedata/locales/hsb_DE (mon): Rename to...
14358 (mon): Import from CLDR (genitive case).
14359 * localedata/locales/wa_BE (mon): Rename to...
14361 (mon): Add, fill with the proper genitive forms, but CLDR data
14362 is incomplete; completed according to the comments in this file.
14363 (d_t_fmt): Do not use "di" before the month name, no longer needed.
14365 * localedata/locales/wa_BE (country_name): Reword
14366 "Beljike" -> "Beldjike".
14368 2018-06-11 Joseph Myers <joseph@codesourcery.com>
14371 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
14372 cases of non-finite arguments.
14373 * math/libm-test-fma.inc (fma_test_data): Add more tests.
14375 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
14378 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
14380 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14383 * include/unistd.h (__execvpex): New prototype.
14384 * posix/Makefile (tests): Add tst-spawn4.
14385 (tests-internal): Add tst-spawn4-compat.
14386 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
14387 * posix/tst-spawn4-compat.c: New file.
14388 * posix/tst-spawn4.c: Likewise.
14389 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
14390 binaries as shell scripts.
14391 * sysdeps/posix/spawni.c (__spawni): Likewise.
14393 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
14396 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
14397 ($(all-built-dso:=.dynsym): New target.
14398 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
14399 ($(objpfx)check-initfini.out): New target.
14400 (generated): Add check-initfini.out.
14401 * scripts/check-initfini.awk: New file.
14402 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
14404 * sysdeps/alpha/crti.S (_init): Mark as hidden.
14406 * sysdeps/arm/crti.S (_init): Mark as hidden.
14408 * sysdeps/hppa/crti.S (_init): Mark as hidden.
14410 * sysdeps/i386/crti.S (_init): Mark as hidden.
14412 * sysdeps/ia64/crti.S (_init): Mark as hidden.
14414 * sysdeps/m68k/crti.S (_init): Mark as hidden.
14416 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
14418 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
14420 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
14422 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
14424 * sysdeps/nios2/crti.S (_init): Mark as hidden.
14426 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
14428 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
14430 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
14432 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
14434 * sysdeps/sh/crti.S (_init): Mark as hidden.
14436 * sysdeps/sparc/crti.S (_init): Mark as hidden.
14438 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
14441 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14443 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
14444 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
14445 and TF redirection to KFtype and KF only when the default
14446 long double type is not the IEEE 128-bit floating point type.
14448 2018-06-05 Joseph Myers <joseph@codesourcery.com>
14450 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
14452 (HWCAP_USCAT): Likewise.
14453 (HWCAP_ILRCPC): Likewise.
14454 (HWCAP_FLAGM): Likewise.
14455 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
14457 (_dl_aarch64_cap_flags): Add new flag names.
14459 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
14460 (MAP_FIXED_NOREPLACE): New macro.
14461 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
14462 (MAP_FIXED_NOREPLACE): Likewise.
14463 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
14464 (MAP_FIXED_NOREPLACE): Likewise.
14465 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
14466 (MAP_FIXED_NOREPLACE): Likewise.
14467 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
14468 (MAP_FIXED_NOREPLACE): Likewise.
14469 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
14470 (MAP_FIXED_NOREPLACE): Likewise.
14471 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
14472 (MAP_FIXED_NOREPLACE): Likewise.
14473 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
14474 (MAP_FIXED_NOREPLACE): Likewise.
14475 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
14476 (MAP_FIXED_NOREPLACE): Likewise.
14477 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
14478 (MAP_FIXED_NOREPLACE): Likewise.
14479 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
14480 (MAP_FIXED_NOREPLACE): Likewise.
14481 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
14482 (MAP_FIXED_NOREPLACE): Likewise.
14483 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
14484 (MAP_FIXED_NOREPLACE): Likewise.
14485 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
14486 (MAP_FIXED_NOREPLACE): Likewise.
14487 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
14488 (MAP_FIXED_NOREPLACE): Likewise.
14490 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14493 2018-06-04 Joseph Myers <joseph@codesourcery.com>
14495 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
14498 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14500 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
14502 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
14504 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14506 * benchtests/scripts/compare_string.py: (process_results) Catch
14507 exception in non-existent base_func and catch exception in
14508 non-existent attribute.
14509 (parse_file) Catch exception if input file does not exist.
14511 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14513 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
14514 options to avoid diff calculation and omit header, respectively.
14515 (main): process --no-diff and --no-header
14517 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14518 H.J. Lu <hongjiu.lu@intel.com>
14520 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14521 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
14523 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14524 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
14525 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
14526 and __wcsncmp_sse2.
14527 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
14528 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
14529 AVX unaligned load is fast and vzeroupper is preferred.
14530 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
14531 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
14532 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
14533 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
14534 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
14535 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
14536 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
14537 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
14538 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
14539 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
14542 2018-06-01 Florian Weimer <fweimer@redhat.com>
14544 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
14545 configuring with --disable-multi-arch, building with
14546 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
14549 2018-06-01 Florian Weimer <fweimer@redhat.com>
14551 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
14552 results from building with “-march=x86-64 -mtune=generic
14553 -mfpmath=sse” and running on a Haswell-era CPU.
14555 2018-06-01 Joseph Myers <joseph@codesourcery.com>
14558 * soft-fp/sqrttf2.c: Remove file.
14559 * soft-fp/sqrtdf2.c: Move to ....
14560 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
14562 (__sqrtdf2): Make conditional on
14563 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
14565 * soft-fp/sqrtsf2.c: Move to ....
14566 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
14568 (__sqrtsf2): Make conditional on
14569 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
14571 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
14572 (gcc-double-routines): Remove sqrtdf2.
14573 (gcc-quad-routines): Remove sqrttf2.
14574 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
14575 Do not filter out sqrtsf2 and sqrtdf2.
14576 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14577 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
14579 2018-06-01 Florian Weimer <fweimer@redhat.com>
14581 * sysdeps/generic/libcidn.abilist: Remove file.
14583 2018-06-01 Florian Weimer <fweimer@redhat.com>
14586 * libio/strfile.h (struct _IO_str_fields): Rename members to
14587 discourage their use and add comment.
14588 (_IO_STR_DYNAMIC): Remove unused macro.
14589 * libio/strops.c (_IO_str_init_static_internal): Do not use
14590 callback pointers. Call malloc and free.
14591 (_IO_str_overflow): Do not use callback pointers. Call malloc
14593 (enlarge_userbuf): Likewise.
14594 (_IO_str_finish): Call free.
14595 * libio/wstrops.c (_IO_wstr_init_static): Initialize
14596 _allocate_buffer_unused.
14597 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
14599 (enlarge_userbuf): Likewise.
14600 (_IO_wstr_finish): Call free.
14601 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
14602 _allocate_buffer_unused, _free_buffer_unused.
14603 * libio/memstream.c (__open_memstream): Likewise.
14604 * libio/vasprintf.c (_IO_vasprintf): Likewise.
14605 * libio/wmemstream.c (open_wmemstream): Likewise.
14607 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
14609 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
14612 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14614 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
14615 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
14616 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
14618 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
14620 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
14622 2018-05-29 Florian Weimer <fweimer@redhat.com>
14624 * support/Makefile (libsupport-routines): Add
14625 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
14626 xpthread_barrierattr_setpshared.
14627 * support/xpthread_barrierattr_destroy.c: New file.
14628 * support/xpthread_barrierattr_init.c: Likewise.
14629 * support/xpthread_barrierattr_setpshared.c: Likewise.
14631 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
14634 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
14635 _r_debug and update DT_DEBUG for debugger.
14637 2018-05-29 Florian Weimer <fweimer@redhat.com>
14639 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
14640 (tst-strtod5i.out): Likewise.
14642 2018-05-25 Joseph Myers <joseph@codesourcery.com>
14644 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
14645 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
14646 (sparc64-quad-routines): New variable. Moved from ....
14647 [$(subdir) = soft-fp] (sysdep_routines): Add
14648 $(sparc64-quad-routines). Moved from ....
14649 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
14650 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
14651 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
14653 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
14654 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
14655 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
14656 * sysdeps/sparc/sparc64/qp_add.c: ... here.
14657 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
14658 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
14659 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
14660 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
14661 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
14662 * sysdeps/sparc/sparc64/qp_div.c: ... here.
14663 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
14664 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
14665 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
14666 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
14667 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
14668 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
14669 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
14670 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
14671 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
14672 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
14673 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
14674 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
14675 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
14676 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
14677 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
14678 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
14679 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
14680 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
14681 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
14682 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
14683 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
14684 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
14685 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
14686 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
14687 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
14688 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
14689 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
14690 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
14691 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
14692 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
14693 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
14694 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
14695 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
14696 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
14697 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
14698 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
14699 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
14700 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
14701 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
14702 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
14703 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
14704 * sysdeps/sparc/sparc64/qp_util.c: ... here.
14705 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
14706 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
14707 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
14708 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
14709 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
14710 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
14712 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
14713 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
14714 (sparc32-quad-routines): New variable. Moved from ....
14715 [$(subdir) = soft-fp] (sysdep_routines): Add
14716 $(sparc32-quad-routines). Moved from ....
14717 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
14718 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
14720 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
14721 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
14722 * sysdeps/sparc/sparc32/q_add.c: ... here.
14723 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
14724 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
14725 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
14726 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
14727 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
14728 * sysdeps/sparc/sparc32/q_div.c: ... here.
14729 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
14730 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
14731 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
14732 * sysdeps/sparc/sparc32/q_feq.c: ... here.
14733 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
14734 * sysdeps/sparc/sparc32/q_fge.c: ... here.
14735 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
14736 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
14737 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
14738 * sysdeps/sparc/sparc32/q_fle.c: ... here.
14739 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
14740 * sysdeps/sparc/sparc32/q_flt.c: ... here.
14741 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
14742 * sysdeps/sparc/sparc32/q_fne.c: ... here.
14743 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
14744 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
14745 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
14746 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
14747 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
14748 * sysdeps/sparc/sparc32/q_mul.c: ... here.
14749 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
14750 * sysdeps/sparc/sparc32/q_neg.c: ... here.
14751 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
14752 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
14753 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
14754 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
14755 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
14756 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
14757 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
14758 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
14759 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
14760 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
14761 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
14762 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
14763 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
14764 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
14765 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
14766 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
14767 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
14768 * sysdeps/sparc/sparc32/q_sub.c: ... here.
14769 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
14770 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
14771 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
14772 * sysdeps/sparc/sparc32/q_util.c: ... here.
14773 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
14774 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
14775 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
14776 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
14778 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14779 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14781 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
14782 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
14783 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
14784 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
14786 2018-05-24 Joseph Myers <joseph@codesourcery.com>
14788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
14790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14792 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
14793 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
14795 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14798 * math/math.h [C++] (iseqsig): Fix parameter type for the long
14801 2018-05-23 Joseph Myers <joseph@codesourcery.com>
14803 * sysdeps/sh/Implies: Remove sh/soft-fp.
14804 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
14805 * sysdeps/sh/sfp-machine.h: ... here.
14807 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
14809 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14810 (__mempcpy_erms): Skip zero length.
14811 (__memmove_erms): Likewise.
14812 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14813 (__memset_erms): Likewise.
14815 2018-05-23 Joseph Myers <joseph@codesourcery.com>
14817 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
14818 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
14819 Add functions moved from ....
14820 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
14821 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
14822 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
14824 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
14825 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
14826 * sysdeps/alpha/e_sqrtl.c: ... here.
14827 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
14828 * sysdeps/alpha/local-soft-fp.h: ... here.
14829 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
14830 * sysdeps/alpha/ots_add.c: ... here.
14831 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
14832 * sysdeps/alpha/ots_cmp.c: ... here.
14833 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
14834 * sysdeps/alpha/ots_cmpe.c: ... here.
14835 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
14836 * sysdeps/alpha/ots_cvtqux.c: ... here.
14837 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
14838 * sysdeps/alpha/ots_cvtqx.c: ... here.
14839 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
14840 * sysdeps/alpha/ots_cvttx.c: ... here.
14841 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
14842 * sysdeps/alpha/ots_cvtxq.c: ... here.
14843 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
14844 * sysdeps/alpha/ots_cvtxt.c: ... here.
14845 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
14846 * sysdeps/alpha/ots_div.c: ... here.
14847 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
14848 * sysdeps/alpha/ots_mul.c: ... here.
14849 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
14850 * sysdeps/alpha/ots_nintxq.c: ... here.
14851 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
14852 * sysdeps/alpha/ots_sub.c: ... here.
14853 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
14854 * sysdeps/alpha/sfp-machine.h: ... here.
14856 2018-05-23 Florian Weimer <fweimer@redhat.com>
14864 Switch to extern IDNA implementation (libidn2).
14865 * libidn: Remove subdirectory.
14866 * LICENSES: Do not mention licensing conditions for the removed
14868 * config.h.in (HAVE_LIBIDN): Remove.
14869 * include/dlfcn.h (__libc_dlopen): Update comment.
14870 * include/idna.h: Remove file.
14871 * inet/Makefile (routines): Add idna.
14872 (tests-static, tests-internal): Add tst-idna_name_classify.
14873 (LOCALES): Generate locales for tests.
14874 (tst-idna_name_classify.out): Depend on generated locales.
14875 * inet/idna_name_classify.c: New file.
14876 * inet/tst-idna_name_classify.c: Likewise.
14877 * inet/net-internal.h (__idna_to_dns_encoding)
14878 (__idna_from_dns_encoding): Declare.
14879 * inet/net-internal.h (enum idna_name_classification): Define.
14880 (__idna_name_classify): Declare.
14881 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
14882 __idna_from_dns_encoding.
14883 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
14884 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
14885 name as a fallback in case of encoding errors.
14886 (getnameinfo): Use DEPRECATED_NI_IDN.
14887 * inet/idna.c: New file.
14888 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
14889 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
14890 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
14891 (modules-names): Add tst-no-libidn2.
14892 (extra-test-objs): Add tst-no-libidn2.os.
14893 (LDFLAGS-tst-no-libidn2.so): Set soname.
14894 (LOCALES): Set, and generate locales.
14895 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
14896 (tst-resolv-ai_idn-latin1): Likewise.
14897 (tst-resolv-ai_idn-nolibidn2): Likewise.
14898 (tst-resolv-ai_idn.out): Depend on locales.
14899 (tst-resolv-ai_idn-latin1.out): Depend on locales.
14900 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
14902 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
14903 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
14904 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
14905 * resolv/tst-resolv-ai_idn.c: New file.
14906 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
14907 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
14908 * resolv/tst-no-libidn2.c: Likewise.
14909 * support/support_format_addrinfo.c (format_ai_flags): Do not
14910 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
14911 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
14912 (gaih_inet): Call __idna_to_dns_encoding and
14913 __idna_from_dns_encoding, and use the original (punycode) name if
14914 __idna_from_dns_encoding fails due to an encoding error.
14915 (getaddrinfo): Use DEPRECATED_AI_IDN.
14916 * sysdeps/unix/inet/Subdirs (libidn): Remove.
14917 * sysdeps/unix/inet/configure: Remove file.
14918 * sysdeps/unix/inet/configure.ac: Likewise.
14920 2018-05-23 Florian Weimer <fweimer@redhat.com>
14922 Implement allocate_once.
14923 * include/allocate_once.h: New file.
14924 * misc/allocate_once.c: Likewise.
14925 * misc/tst-allocate_once.c: Likewise.
14926 * misc/Makefile (routines): Add allocate_once.
14927 (tests-internal): Add tst-allocate_once.
14928 (generated): Add tst-allocate_once.mtrace,
14929 tst-allocate_once-mem.out.
14930 (tests-special): Add tst-allocate_once-mem.out.
14931 (tst-allocate_once-ENV): Set MALLOC_TRACE.
14932 (tst-allocate_once-mem.out): Call mtrace.
14933 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
14935 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
14938 * string/test-memcpy.c (do_test1): New function.
14939 (test_main): Call it.
14941 2018-05-23 Andreas Schwab <schwab@suse.de>
14945 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
14946 (L(preloop_large)): Save initial destination pointer in %r11 and
14947 use it instead of %rax after the loop.
14948 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
14950 2018-05-22 Joseph Myers <joseph@codesourcery.com>
14952 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
14953 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
14954 -I../soft-fp. Moved from ....
14955 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
14956 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
14957 * sysdeps/aarch64/e_sqrtl.c: ... here.
14958 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
14959 * sysdeps/aarch64/sfp-machine.h: ... here.
14961 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
14962 -Wmaybe-uninitialized around access to fq[0].
14963 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14967 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
14968 aliases for non-libc case of versioned symbols.
14969 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
14970 (llseek): Define as compat symbol if
14971 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
14973 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
14974 Make into a compat symbol, disabled for minimum symbol version
14975 GLIBC_2.28 and later.
14976 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
14978 2018-05-22 Florian Weimer <fweimer@redhat.com>
14980 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
14981 not add -mpreferred-stack-boundary=4.
14982 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
14983 (stack-align-test-flags): Likewise.
14984 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
14986 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
14987 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
14988 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
14989 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
14990 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
14991 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
14992 (CFLAGS-tst-align2.c): Likewise.
14994 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
14996 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
14997 (index_arch_Prefer_FSRM): Likewise.
14998 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
14999 Also check Prefer_FSRM.
15000 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
15001 Also return OPTIMIZE (erms) for Prefer_FSRM.
15003 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
15005 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
15006 (index_cpu_FSRM): Likewise.
15007 (reg_FSRM): Likewise.
15009 2018-05-18 Joseph Myers <joseph@codesourcery.com>
15011 * math/gen-tgmath-tests.py: Import sys.
15012 (Tests.__init__): Initialize macros_seen.
15013 (Tests.add_tests): Add macro to macros_seen. Only generate tests
15014 if requested to do so for this macro.
15015 (Tests.add_all_tests): Take argument for macro for which to
15017 (Tests.check_macro_list): New function.
15018 (main): Handle check-list argument and argument specifying macro
15019 for which to generate tests.
15020 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
15021 [PYTHON] (tgmath3-macro-tests): Likewise.
15022 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
15023 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
15024 not test-tgmath3.c.
15025 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
15026 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
15028 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
15029 [PYTHON] ($(foreach
15030 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
15032 [PYTHON] (tests-special): Add
15033 $(objpfx)test-tgmath3-macro-list.out.
15034 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
15036 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
15037 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
15041 * time/tzset.c (SECSPERDAY): Cast to time_t.
15042 * time/tst-y2039.c: New file.
15043 * time/Makefile (tests): Add tst-y2039.
15045 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
15047 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15048 (PREFETCH_ONE_SET): Remove duplicate line.
15050 2018-05-17 Florian Weimer <fweimer@redhat.com>
15052 * sysdeps/generic/math-type-macros-double.h: Include
15053 <math-nan-payload-double.h> after <libm-alias-double.h>.
15054 * sysdeps/generic/math-type-macros-float.h: Include
15055 <math-nan-payload-float.h> after <libm-alias-float.h>.
15056 * sysdeps/generic/math-type-macros-float128.h: Include
15057 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
15058 * sysdeps/generic/math-type-macros-ldouble.h: Include
15059 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
15061 2018-05-17 Andreas Schwab <schwab@suse.de>
15063 * resolv/res_send.c (__res_context_send): Don't set errno when
15064 returing error after malloc failure.
15066 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
15068 * nptl/allocatestack.c (allocate_stack): Remove the
15069 !__ASSUME_PRIVATE_FUTEX paths.
15070 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
15071 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
15073 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
15074 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
15075 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
15076 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
15077 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
15078 !__ASSUME_PRIVATE_FUTEX path.
15079 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
15080 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
15081 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
15082 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
15083 !__ASSUME_PRIVATE_FUTEX macros.
15084 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
15085 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
15086 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
15087 * sysdeps/unix/sysv/linux/kernel-features.h
15088 (__ASSUME_PRIVATE_FUTEX): Removed.
15090 2018-05-17 Joseph Myers <joseph@codesourcery.com>
15092 * math/Makefile (libm-narrow-fns): Add div.
15093 (libm-test-funcs-narrow): Likewise.
15094 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
15095 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
15096 * math/gen-auto-libm-tests.c (test_functions): Add div.
15097 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
15098 (NARROW_DIV_ROUND_TO_ODD): Likewise.
15099 (NARROW_DIV_TRIVIAL): Likewise.
15100 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
15102 (__ddivl): Likewise.
15103 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
15105 (CFLAGS-nldbl-ddiv.c): New variable.
15106 (CFLAGS-nldbl-fdiv.c): Likewise.
15107 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15109 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
15111 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
15112 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
15113 * math/auto-libm-test-in: Add tests of div.
15114 * math/auto-libm-test-out-narrow-div: New generated file.
15115 * math/libm-test-narrow-div.inc: New file.
15116 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
15117 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
15118 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
15119 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
15120 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
15121 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
15122 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
15123 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
15124 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
15125 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
15126 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
15127 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
15128 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
15129 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
15130 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
15131 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
15132 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
15133 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
15134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15135 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15136 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15137 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15138 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15139 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15140 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15141 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15142 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15143 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15144 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15145 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15146 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15147 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15152 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15153 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15154 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15155 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15156 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15157 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15158 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15159 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15161 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15164 * nscd/nscd-client.h (sendfileall): Remove prototype.
15165 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
15166 (handle_request): Use writeall instead of sendfileall.
15167 * nscd/aicache.c (addhstaiX): Likewise.
15168 * nscd/grpcache.c (cache_addgr): Likewise.
15169 * nscd/hstcache.c (cache_addhst): Likewise.
15170 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15171 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
15172 * nscd/pwdcache.c (cache_addpw): Likewise.
15173 * nscd/servicescache.c (cache_addserv): Likewise.
15174 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
15175 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
15176 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
15179 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
15181 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
15182 Include <string/strncat.c>.
15183 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
15185 (__GI___strncat): New hidden alias.
15187 2018-05-16 Joseph Myers <joseph@codesourcery.com>
15189 * sysdeps/mips/mips32/libm-test-ulps: Update.
15190 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15192 2018-05-16 Florian Weimer <fweimer@redhat.com>
15194 * support/Makefile (libsupport-routines): Add support_quote_blob,
15195 support_test_compare_blob.
15196 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
15197 * support/check.h (TEST_COMPARE_BLOB): Define.
15198 (support_test_compare_blob): Declare.
15199 * support/support.h (support_quote_blob): Declare.
15200 * support/support_quote_blob.c: New file.
15201 * support/support_test_compare_blob.c: Likewise.
15202 * support/tst-support_quote_blob.c: Likewise.
15203 * support/tst-test_compare_blob.c: Likewise.
15205 2018-05-16 Florian Weimer <fweimer@redhat.com>
15207 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
15208 of <strtod_nan_double.h>.
15209 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
15210 instead of SET_MANTISSA.
15211 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
15212 of include <strtod_nan_float.h>.
15213 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
15214 instead of <strtod_nan_ldouble.h>.
15215 * stdlib/strtod_nan_double.h: Move to ...
15216 * sysdeps/generic/math-nan-payload-double.h: ... here.
15217 (FLOAT): Remove definition.
15218 (SET_MANTISSA): Rename to ...
15219 (SET_NAN_PAYLOAD): ... this.
15220 * stdlib/strtod_nan_float.h: Move to ...
15221 * sysdeps/generic/math-nan-payload-float.h: ... here.
15222 (FLOAT): Remove definition.
15223 (SET_MANTISSA): Rename to ...
15224 (SET_NAN_PAYLOAD): ... this.
15225 * sysdeps/generic/math-type-macros-double.h: Include
15226 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
15227 instead of <math-svid-compat.h>.
15228 * sysdeps/generic/math-type-macros-float.h: Include
15229 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
15230 instead of <math-svid-compat.h>.
15231 * sysdeps/generic/math-type-macros-float128.h: Include
15232 <math-nan-payload-float128.h>.
15233 * sysdeps/generic/math-type-macros-ldouble.h: Include
15234 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
15235 instead of <math-svid-compat.h>.
15236 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
15237 check for definition.
15238 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
15239 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
15240 Include <ieee754_float128.h>.
15241 (FLOAT): Remove definition.
15242 (SET_MANTISSA): Rename to ...
15243 (SET_NAN_PAYLOAD): ... this.
15244 * sysdeps/ieee754/float128/strtof128_nan.c: Include
15245 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
15246 Do not include <float128_private.h>.
15247 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
15248 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
15249 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
15250 (FLOAT): Remove definition.
15251 (SET_MANTISSA): Rename to ...
15252 (SET_NAN_PAYLOAD): ... this.
15253 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
15254 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
15255 (FLOAT): Remove definition.
15256 (SET_MANTISSA): Rename to ...
15257 (SET_NAN_PAYLOAD): ... this.
15258 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
15259 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
15260 (FLOAT): Remove definition.
15261 (SET_MANTISSA): Rename to ...
15262 (SET_NAN_PAYLOAD): ... this.
15263 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
15264 of "../stdlib/strtod_nan_double.h".
15265 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
15266 of "../stdlib/strtod_nan_float.h".
15267 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
15268 instead of "../stdlib/strtod_nan_ldouble.h".
15269 * manual/arith.texi (Parsing of Floats): Adjust comment.
15271 2018-05-16 Joseph Myers <joseph@codesourcery.com>
15273 * math/Makefile (libm-narrow-fns): Add mul.
15274 (libm-test-funcs-narrow): Likewise.
15275 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
15276 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
15277 * math/gen-auto-libm-tests.c (test_functions): Add mul.
15278 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
15279 (NARROW_MUL_ROUND_TO_ODD): Likewise.
15280 (NARROW_MUL_TRIVIAL): Likewise.
15281 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
15282 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
15284 (__dmull): Likewise.
15285 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
15287 (CFLAGS-nldbl-dmul.c): New variable.
15288 (CFLAGS-nldbl-fmul.c): Likewise.
15289 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15291 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
15293 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
15294 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
15295 * math/auto-libm-test-in: Add tests of mul.
15296 * math/auto-libm-test-out-narrow-mul: New generated file.
15297 * math/libm-test-narrow-mul.inc: New file.
15298 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
15299 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
15300 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
15301 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
15302 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
15303 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
15304 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
15305 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
15306 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
15307 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
15308 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
15309 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
15310 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
15311 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
15312 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
15313 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
15314 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
15315 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
15316 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15317 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15318 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15319 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15320 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15321 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15322 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15323 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15324 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15325 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15326 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15327 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15328 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15329 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15334 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15335 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15336 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15337 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15338 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15339 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15340 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15341 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15343 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
15345 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
15346 with *%eax in call.
15348 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
15350 * sysdeps/i386/ldsodefs.h: Removed.
15351 * sysdeps/x86_64/ldsodefs.h: Moved to ...
15352 * sysdeps/x86/ldsodefs.h: This.
15353 (La_i86_regs): New.
15354 (La_i86_retval): Likewise.
15355 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
15356 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
15358 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
15360 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
15363 2018-05-13 Alan Modra <amodra@gmail.com>
15365 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
15366 R_PARISC_TLS_DTPOFF32 reloc addend.
15368 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15370 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
15371 * math/math.h: Restrict the prototype definition for the functions
15372 issignaling(_Float128) and iszero(_Float128); and template
15373 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
15374 __HAVE_FLOAT128_UNLIKE_LDBL.
15375 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
15376 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
15377 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
15378 __f128() constants; define the type _Float128 as long double;
15379 and reuse long double in __CFLOAT128.
15381 2018-05-11 Joseph Myers <joseph@codesourcery.com>
15383 * sysdeps/generic/math_private.h: Do not include
15385 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
15387 * math/fromfp.h: Include <math-barriers.h>.
15388 * math/math-narrow.h: Likewise.
15389 * math/s_nextafter.c: Likewise.
15390 * math/s_nexttowardf.c: Likewise.
15391 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
15392 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
15393 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
15394 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
15395 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15396 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15397 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15398 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15399 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15400 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15401 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15402 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15403 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15404 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15405 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
15406 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15407 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15408 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15409 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
15410 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15411 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15412 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15413 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15414 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15415 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15416 * sysdeps/ieee754/k_standardl.c: Likewise.
15417 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15418 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15419 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15420 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
15421 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15422 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15423 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15424 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15425 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15426 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
15427 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15428 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15429 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15430 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15431 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15432 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15433 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
15434 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
15435 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15436 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15437 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
15438 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
15440 2018-05-11 Florian Weimer <fweimer@redhat.com>
15442 Use 64-bit epoch values in the time zone file parser.
15443 * include/time.h (internal_time_t): Define.
15444 (__tzfile_compute): Use it.
15445 * time/tzfile.c (struct leap): Use internal_time_t for epoch
15447 (transitions): Switch to internal_time_t.
15448 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
15450 (__tzfile_compute): Use internal_time_t for timer argument. Check
15451 for truncation before calling __offtime.
15453 2018-05-11 Florian Weimer <fweimer@redhat.com>
15456 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
15457 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
15459 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
15460 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
15461 export without --enable-obsolete-rpc.
15462 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
15463 symbol. This should not have been exported, ever.
15465 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
15468 * localedata/locales/gd_GB (abmon): Fix typo in May:
15469 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
15471 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
15473 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
15474 Use multiple registers to copy data in loop tail.
15476 * sysdeps/aarch64/multiarch/memmove_falkor.S
15477 (__memmove_falkor): Use multiple registers to move data in
15480 2018-05-10 Joseph Myers <joseph@codesourcery.com>
15482 * math/math-underflow.h: New file.
15483 * sysdeps/generic/math_private.h: Do not include <float.h>.
15484 (fabs_tg): Remove macro. Moved to math-underflow.h.
15485 (min_of_type_f): Likewise.
15486 (min_of_type_): Likewise.
15487 (min_of_type_l): Likewise.
15488 (min_of_type_f128): Likewise.
15489 (min_of_type): Likewise.
15490 (math_check_force_underflow): Likewise.
15491 (math_check_force_underflow_nonneg): Likewise.
15492 (math_check_force_underflow_complex): Likewise.
15493 * math/e_exp2_template.c: Include <math-underflow.h>.
15494 * math/k_casinh_template.c: Likewise.
15495 * math/s_catan_template.c: Likewise.
15496 * math/s_catanh_template.c: Likewise.
15497 * math/s_ccosh_template.c: Likewise.
15498 * math/s_cexp_template.c: Likewise.
15499 * math/s_clog10_template.c: Likewise.
15500 * math/s_clog_template.c: Likewise.
15501 * math/s_csin_template.c: Likewise.
15502 * math/s_csinh_template.c: Likewise.
15503 * math/s_csqrt_template.c: Likewise.
15504 * math/s_ctan_template.c: Likewise.
15505 * math/s_ctanh_template.c: Likewise.
15506 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15507 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15508 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15509 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15510 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15511 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15512 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15513 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15514 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15515 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15516 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15517 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15518 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15519 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15520 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15521 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15522 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15523 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15524 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15525 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15526 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15527 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15528 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15529 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15530 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15531 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15532 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15533 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15534 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15535 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15536 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15537 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15538 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15539 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15540 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15541 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15542 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15543 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15544 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15545 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15546 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15547 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15548 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15549 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15550 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15551 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15552 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15553 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15554 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15555 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15556 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15557 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
15558 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15559 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
15560 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15561 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15562 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15563 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15564 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15565 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15566 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15567 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
15568 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15569 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
15570 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15571 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15572 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15573 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
15574 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15575 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15576 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15577 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15578 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
15579 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
15580 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15581 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15582 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15583 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15584 * sysdeps/x86/fpu/powl_helper.c: Likewise.
15585 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
15586 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
15587 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
15588 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
15589 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
15591 2018-05-09 Joseph Myers <joseph@codesourcery.com>
15593 * sysdeps/generic/math-barriers.h: New file.
15594 * sysdeps/generic/math_private.h [!math_opt_barrier]
15595 (math_opt_barrier): Move to math-barriers.h.
15596 [!math_opt_barrier] (math_force_eval): Likewise.
15597 * sysdeps/aarch64/fpu/math-barriers.h: New file.
15598 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
15600 (math_force_eval): Likewise.
15601 * sysdeps/alpha/fpu/math-barriers.h: New file.
15602 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
15604 (math_force_eval): Likewise.
15605 * sysdeps/x86/fpu/math-barriers.h: New file.
15606 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
15608 (math_force_eval): Likewise.
15609 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
15610 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
15611 multiple-include guard for rename.
15612 * sysdeps/powerpc/fpu/math-barriers.h: New file.
15613 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
15615 (math_force_eval): Likewise.
15617 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
15621 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
15623 * stdlib/Makefile (test-bz22786): New test.
15624 * stdlib/test-bz22786.c: New test.
15626 2018-05-09 Joseph Myers <joseph@codesourcery.com>
15628 * include/math-narrow-eval.h: New file. Contents moved from ....
15629 * sysdeps/generic/math_private.h: ... here.
15630 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
15631 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
15632 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
15633 * stdlib/strtod_l.c: Likewise.
15634 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
15635 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
15636 * sysdeps/i386/fpu/s_fdim.c: Likewise.
15637 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15638 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15639 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15640 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15641 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15642 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15643 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
15644 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15645 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
15646 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15647 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
15648 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15649 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15650 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15651 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15652 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15653 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15654 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15655 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15656 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15657 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15658 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
15659 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15660 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
15661 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
15662 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15664 2018-05-08 Andreas Schwab <schwab@suse.de>
15666 * sysdeps/nptl/internaltypes.h: Fix comment.
15668 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
15670 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
15671 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
15674 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
15676 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
15677 of I into loop header.
15678 * benchtests/bench-memmove-walk.c
15679 (test_main): Likewise.
15681 2018-05-07 Alexandre Oliva <oliva@gnu.org>
15684 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
15685 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
15687 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15690 * elf/dl-load.c (open_verify): Fix stack overflow.
15691 * elf/Makefile (tst-big-note): New test.
15692 * elf/tst-big-note-lib.S: New.
15693 * elf/tst-big-note.c: New.
15695 2018-05-04 Joseph Myers <joseph@codesourcery.com>
15697 * scripts/abilist.awk: Ignore absolute symbols.
15698 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
15699 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
15700 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
15701 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
15702 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
15703 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
15704 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15705 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
15706 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
15707 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
15708 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
15709 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
15710 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
15711 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
15712 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
15713 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
15714 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
15715 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
15716 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15717 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
15718 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
15719 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
15720 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
15721 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
15722 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
15723 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
15724 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
15725 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
15726 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15727 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
15728 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
15729 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15730 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
15731 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
15732 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
15733 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
15734 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
15735 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
15736 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
15737 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
15738 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
15739 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15740 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
15741 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
15742 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15743 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
15744 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
15745 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
15746 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
15747 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
15748 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
15749 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
15750 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
15751 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
15752 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15753 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
15754 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
15755 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15756 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
15757 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
15758 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
15759 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
15760 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
15761 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
15762 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
15763 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
15764 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
15765 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15766 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
15767 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
15768 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15769 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
15770 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
15771 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
15772 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
15773 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
15774 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
15775 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
15776 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
15777 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
15778 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15779 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
15780 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
15781 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15782 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
15783 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
15784 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
15785 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
15786 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
15787 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
15788 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
15789 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
15791 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
15792 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15793 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
15794 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
15795 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15796 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
15797 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
15798 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
15799 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
15800 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
15801 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
15802 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
15803 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
15805 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
15806 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15807 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
15808 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
15809 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15810 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
15811 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
15812 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
15813 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
15814 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
15815 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
15816 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
15817 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
15818 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
15819 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15820 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
15821 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
15822 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15823 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
15824 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
15825 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
15826 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
15827 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
15828 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
15829 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15830 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
15831 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
15833 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
15834 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
15835 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
15836 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
15837 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15838 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
15839 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
15840 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
15841 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
15842 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
15843 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
15844 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
15845 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
15846 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
15847 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
15848 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
15849 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
15850 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
15851 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15852 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
15854 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
15855 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
15856 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
15857 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15858 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
15859 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
15860 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
15861 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
15862 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
15863 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
15864 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15865 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
15866 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
15867 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15868 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
15869 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
15870 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
15871 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
15872 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15873 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
15874 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
15875 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15876 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
15877 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
15878 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
15879 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
15880 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
15881 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
15882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
15883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
15885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
15887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
15888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
15889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
15890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
15891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
15893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
15895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
15896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
15898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
15899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
15904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
15905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
15907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
15909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
15911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
15912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
15916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
15917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
15918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
15919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
15923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
15924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
15926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
15928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
15930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
15932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
15933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
15934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
15936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
15938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
15940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
15941 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
15942 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
15944 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
15945 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15946 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
15947 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
15948 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15949 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
15950 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
15951 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
15952 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
15953 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
15954 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
15955 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
15956 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
15957 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
15959 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15960 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
15961 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
15962 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15963 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
15964 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
15965 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
15966 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
15967 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
15968 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
15969 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
15970 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
15972 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15973 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
15974 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
15975 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15976 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
15977 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
15978 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
15979 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
15980 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
15981 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
15982 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
15983 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
15984 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
15985 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15986 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
15987 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
15988 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15989 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
15990 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
15991 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
15992 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
15993 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
15994 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
15995 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
15996 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
15998 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
15999 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16000 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
16001 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
16002 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16003 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
16004 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
16005 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
16006 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
16007 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
16008 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
16009 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
16010 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
16012 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
16013 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16014 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
16015 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
16016 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16017 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
16018 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
16019 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
16020 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
16021 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
16022 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
16023 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
16024 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
16025 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
16026 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16027 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
16028 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
16029 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16030 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
16031 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
16032 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
16033 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
16034 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
16035 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
16036 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
16037 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
16038 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
16039 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
16040 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16041 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
16042 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
16043 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16044 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
16045 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
16046 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
16047 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
16048 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
16049 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
16051 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
16054 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
16055 Use atomic_load_acquire to load __tid.
16057 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
16059 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
16060 Restore the pointer into %rdx, after syscall and use %rdx,
16061 instead of %rsi, to restore context.
16063 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
16065 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
16066 Pop the pointer into %rdx after syscall and use %rdx, instead
16067 of %rsi, to restore context.
16069 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
16071 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
16072 handlers after setjmp.
16073 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
16075 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
16076 <libc-pointer-arith.h>.
16077 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
16078 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
16079 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
16080 _JUMP_BUF_SIGSET_BITS_PER_WORD.
16081 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
16082 * sysdeps/x86/__longjmp_cancel.S: New file.
16083 * sysdeps/x86/longjmp.c: Likewise.
16084 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
16086 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16088 * NEWS: Add ustat.h deprecation entry.
16089 * bits/ustat.h: Remove file.
16090 * misc/sys/ustat.h: Likewise.
16091 * misc/ustat.h: Likewise.
16092 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
16093 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
16094 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
16095 compatibility mode.
16096 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
16097 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
16098 generic Linux implementation.
16100 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16102 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
16103 * math/w_expl_compat.c: Likewise.
16104 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
16106 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
16108 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
16110 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16112 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
16113 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
16114 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
16116 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
16117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16118 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16119 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
16120 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
16123 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16125 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
16127 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
16128 * math/w_asin_template.c: Likewise.
16129 * math/w_atanh_template.c: Likewise.
16131 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16133 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
16134 to powerpc/powerpc64/be for big-endian.
16135 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
16138 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
16139 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
16140 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
16141 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
16142 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
16143 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
16144 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
16145 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
16146 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
16147 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
16148 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
16149 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
16150 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
16151 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
16152 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
16153 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
16154 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
16155 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
16156 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
16157 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
16158 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
16159 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
16160 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
16161 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
16162 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
16163 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
16164 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
16165 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
16166 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
16167 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
16168 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
16169 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
16171 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
16172 adjusted to imply powerpc64 and older processors on powerpc64/be.
16173 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
16174 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
16175 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
16176 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
16177 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
16178 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
16179 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
16180 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
16181 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
16182 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
16183 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
16184 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
16185 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
16186 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
16187 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
16188 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
16189 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
16190 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
16191 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
16192 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
16193 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
16194 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
16195 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
16196 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
16197 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
16198 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
16199 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
16200 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
16201 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
16202 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
16203 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
16205 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
16206 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
16207 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
16208 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
16210 * sysdeps/powerpc/powerpc64/be/Implies: New file.
16211 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
16212 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
16213 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
16215 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
16216 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
16217 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
16218 * sysdeps/powerpc/powerpc64le/configure: Likewise.
16219 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
16220 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
16221 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
16222 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
16223 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
16224 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
16225 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
16227 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
16228 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
16229 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
16230 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
16231 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
16232 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
16233 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
16234 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
16235 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
16236 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
16237 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
16239 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
16240 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
16241 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
16242 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
16243 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
16244 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
16245 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
16246 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
16247 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
16248 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
16249 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
16250 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
16252 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
16253 and adjusted to imply olders processors.
16254 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
16255 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
16256 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
16257 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
16258 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
16259 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
16260 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
16261 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
16262 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
16263 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
16264 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
16266 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
16268 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
16269 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
16271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
16273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
16274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
16276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
16278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
16279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
16280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
16282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
16283 powerpc64 and adjusted.
16284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
16285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
16286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
16289 2018-04-27 Joseph Myers <joseph@codesourcery.com>
16291 * sysdeps/tile: Remove.
16292 * sysdeps/unix/sysv/linux/tile: Likewise.
16293 * README (tilegx-*-linux-gnu): Remove from list of supported
16295 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
16296 contribution of support for generic Linux kernel syscall
16298 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
16299 tilegx configurations.
16300 (Config.install_linux_headers): Do not handle tile.
16301 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
16303 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
16304 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
16305 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
16306 conditional undefine and redefine.
16307 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
16309 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
16310 conditional undefine and redefine.
16312 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
16314 * signal/tst-sigaction.c: New file to test BZ #23069.
16315 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
16317 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16320 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
16321 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
16322 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
16323 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
16325 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16327 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
16328 _DIRENT_MATCHES_DIRENT64 is not defined.
16329 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
16330 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
16332 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
16333 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
16335 2018-04-25 Joseph Myers <joseph@codesourcery.com>
16337 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
16338 version to GCC 8 branch.
16340 2018-04-24 Joseph Myers <joseph@codesourcery.com>
16342 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
16343 (check_no_hidden): Use type of original function when declaring
16346 * sysdeps/unix/sysv/linux/sys/ptrace.h
16347 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
16348 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
16349 (struct __ptrace_seccomp_metadata): New type.
16350 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
16351 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16352 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
16353 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16354 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
16355 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16356 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
16357 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16358 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
16359 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16360 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
16361 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16362 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
16363 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16364 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
16365 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16367 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16369 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
16371 * dirent/versionsort.c (versionsort): Likewise.
16372 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
16373 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
16374 * dirent/versionsort64.c (versionsort64): Likewise.
16375 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
16376 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
16377 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
16378 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
16379 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
16380 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
16381 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
16382 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
16383 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
16384 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
16385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
16386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
16387 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
16388 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
16390 2018-04-23 Joseph Myers <joseph@codesourcery.com>
16392 * elf/elf.h (NT_PPC_PKEY): New macro.
16394 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
16397 * localedata/locales/hr_HR: fix thousands_sep and
16400 2018-04-20 Joseph Myers <joseph@codesourcery.com>
16402 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
16403 (XTABS): Define to TAB3.
16405 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16407 * sysdeps/hppa/fpu/libm-test-ulps: Update.
16409 * dirent/scandir-tail-common.c: New file.
16410 * dirent/scandir-tail.c: Use scandir-tail-common.c.
16411 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
16412 * dirent/scandir.c: Use scandir-tail-common.c.
16413 * dirent/scandirat.c: Likewise.
16414 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
16415 * dirent/scandir64.c (scandir64): Always build and alias to scandir
16416 if _DIRENT_MATCHES_DIRENT64 is defined.
16417 * dirent/scandirat64.c (scandirat64): Likewise.
16418 * include/dirent.h (__scandir_tail): Only define iff
16419 _DIRENT_MATCHES_DIRENT64 is not defined.
16420 (__scandir64_tail): Define regardless.
16421 (__scandirat, scandirat64): Remove libc_hidden_proto.
16422 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
16423 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
16424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
16425 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
16426 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16427 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
16428 * sysdeps/unix/sysv/linux/scandir64.c: New file.
16430 2018-04-20 Joseph Myers <joseph@codesourcery.com>
16432 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
16434 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
16436 (_dl_aarch64_cap_flags): Add asimdfhm.
16438 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
16440 * sysdeps/nios2/libm-test-ulps: Update.
16442 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16444 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
16445 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
16447 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
16449 (_DIRENT_MATCHES_DIRENT64): Undef
16450 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
16451 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
16452 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
16453 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
16454 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
16455 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
16456 use getdents64 syscalls as base.
16457 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
16458 symbol if required.
16459 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
16460 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
16461 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
16462 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
16463 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
16464 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
16465 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
16466 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
16467 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16468 (__get_clockfreq_via_proc_openprom): Use __getdents64.
16469 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
16471 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
16473 * scripts/test_printers_common.py (init_test): Disable lock elision.
16475 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
16477 * math/test-tgmath.c (count_double, count_float,
16478 count_ldouble, count_cdouble, count_cfloat,
16479 count_cldouble): Use volatile int.
16481 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
16483 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
16484 (conformtest-xfail-conds): Add i386-gnu.
16485 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
16487 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
16488 ipc_perm.cuid, ipc_perm.cgid): Likewise.
16489 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
16490 msqid_ds.msg_lrpid): Likewise.
16491 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
16493 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
16494 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
16495 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
16496 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
16498 (struct statvfs64): Likewise.
16499 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
16501 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
16502 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
16503 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
16504 instead of wait_queue.
16505 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
16506 instead of vm_area_struct.
16507 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
16508 struct sched_param definition to it.
16509 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16510 * bits/types/struct_sched_param.h: New file.
16511 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
16512 <bits/types/struct_sched_param.h> instead of <sched.h>.
16513 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
16514 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
16515 generic version but include <bits/pthreadtypes.h> to make struct
16516 sigevent's sigev_notify_attributes field a pthread_attr_t*.
16517 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
16519 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
16520 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
16521 [__USE_XOPEN] (OFDEL): New macro.
16522 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
16523 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
16524 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
16526 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
16527 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
16528 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
16530 * sysdeps/i386/sys/ucontext.h: Likewise.
16531 * sysdeps/m68k/sys/ucontext.h: Likewise.
16532 * sysdeps/mips/sys/ucontext.h: Likewise.
16533 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
16534 * sysdeps/mach/hurd/i386/Makefile
16535 (test-xfail-POSIX/fcntl.h/conform): Add.
16536 (test-xfail-POSIX/signal.h/conform): Add.
16537 (test-xfail-POSIX/semaphore.h/conform): Add.
16538 (test-xfail-POSIX/regex.h/conform): Add.
16539 (test-xfail-POSIX/aio.h/conform): Add.
16540 (test-xfail-POSIX/mqueue.h/conform): Add.
16541 (test-xfail-POSIX/sys/types.h/conform): Add.
16542 (test-xfail-UNIX98/fcntl.h/conform): Add.
16543 (test-xfail-UNIX98/netdb.h/conform): Add.
16544 (test-xfail-UNIX98/signal.h/conform): Add.
16545 (test-xfail-UNIX98/semaphore.h/conform): Add.
16546 (test-xfail-UNIX98/regex.h/conform): Add.
16547 (test-xfail-UNIX98/aio.h/conform): Add.
16548 (test-xfail-UNIX98/ftw.h/conform): Add.
16549 (test-xfail-UNIX98/mqueue.h/conform): Add.
16550 (test-xfail-UNIX98/netinet/in.h/conform): Add.
16551 (test-xfail-UNIX98/sys/wait.h/conform): Add.
16552 (test-xfail-UNIX98/sys/sem.h/conform): Add.
16553 (test-xfail-UNIX98/sys/uio.h/conform): Add.
16554 (test-xfail-UNIX98/sys/socket.h/conform): Add.
16555 (test-xfail-UNIX98/sys/types.h/conform): Add.
16556 (test-xfail-UNIX98/stdlib.h/conform): Add.
16557 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
16558 (test-xfail-POSIX2008/fcntl.h/conform): Add.
16559 (test-xfail-POSIX2008/netdb.h/conform): Add.
16560 (test-xfail-POSIX2008/signal.h/conform): Add.
16561 (test-xfail-POSIX2008/semaphore.h/conform): Add.
16562 (test-xfail-POSIX2008/regex.h/conform): Add.
16563 (test-xfail-POSIX2008/aio.h/conform): Add.
16564 (test-xfail-POSIX2008/mqueue.h/conform): Add.
16565 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
16566 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
16567 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
16568 (test-xfail-POSIX2008/sys/types.h/conform): Add.
16569 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
16570 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
16571 (test-xfail-XOPEN2K/netdb.h/conform): Add.
16572 (test-xfail-XOPEN2K/signal.h/conform): Add.
16573 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
16574 (test-xfail-XOPEN2K/regex.h/conform): Add.
16575 (test-xfail-XOPEN2K/aio.h/conform): Add.
16576 (test-xfail-XOPEN2K/ftw.h/conform): Add.
16577 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
16578 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
16579 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
16580 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
16581 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
16582 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
16583 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
16584 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
16585 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
16586 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
16587 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
16588 (test-xfail-XOPEN2K8/signal.h/conform): Add.
16589 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
16590 (test-xfail-XOPEN2K8/regex.h/conform): Add.
16591 (test-xfail-XOPEN2K8/aio.h/conform): Add.
16592 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
16593 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
16594 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
16595 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
16596 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
16597 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
16598 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
16599 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
16600 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
16601 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
16602 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
16604 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
16605 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
16607 2018-04-18 Joseph Myers <joseph@codesourcery.com>
16609 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
16610 --enable-obsolete for powerpc-linux-gnuspe.
16612 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16614 * conform/data/sys/un.h-data: Allow sun_ prefix.
16615 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
16617 * sysdeps/mach/include/mach.h: Likewise.
16618 * sysdeps/mach/include/mach/mig_support.h: Likewise.
16619 * sysdeps/mach/include/mach_error.h: Likewise.
16621 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16623 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
16624 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
16625 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
16626 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
16628 2018-04-16 Andreas Schwab <schwab@suse.de>
16631 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
16633 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16635 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
16636 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
16638 2018-04-12 DJ Delorie <dj@redhat.com>
16640 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16643 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
16645 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
16646 (struct kernel_sigaction): Use the same definition on 31bit as is used
16649 2018-04-09 Florian Weimer <fweimer@redhat.com>
16652 * resolv/res_send.c (send_dg): Use designated initializers instead
16653 of assignment to zero-initialize other fields of struct mmsghdr.
16655 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16657 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
16658 __READDIR_ALIAS): Undefine after usage.
16659 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
16660 __READDIR_R_ALIAS): Likewise.
16661 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
16662 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
16663 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
16664 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
16665 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
16666 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
16667 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16668 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16669 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
16670 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
16671 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
16672 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
16673 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16674 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
16675 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
16676 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
16677 * sysdeps/unix/sysv/linux/readdir.c: New file.
16678 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
16679 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
16680 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
16682 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
16684 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
16686 * manual/charset.texi (Converting a Character): Fix typo.
16688 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16690 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16692 * sysdeps/arm/libm-test-ulps: Update.
16694 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
16695 as base implementation.
16696 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16697 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16698 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16699 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16700 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16701 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
16702 remove unrequired definitions and update comments.
16703 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
16704 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
16705 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
16706 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
16707 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
16708 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
16709 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
16710 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
16711 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
16712 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
16713 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
16714 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16715 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
16716 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
16717 and RESET_SA_RESTORER hooks.
16719 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
16721 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16723 2018-04-05 Florian Weimer <fweimer@redhat.com>
16725 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
16726 integer overflow, memory leak on error, and indeterminate errno
16727 value. Add a null wide character to terminate the result string.
16728 * manual/charset.texi (Converting a Character): Mention embedded
16729 null bytes in the mbrtowc input string. Explain what happens in
16730 the -2 result case. Do not claim that mbrtowc is simple or
16731 obvious to use. Adjust the description of the code example. Use
16732 @code, not @var, for concrete variables.
16734 2018-04-05 Florian Weimer <fweimer@redhat.com>
16736 * manual/examples/mbstouwcs.c: New file.
16737 * manual/charset.texi (Converting a Character): Include it.
16739 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16741 * include/dirent.h (dirfd): Add hidden proto.
16742 * dirent/dirfd.c (dirfd): Add hidden def.
16743 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
16744 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
16746 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16748 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
16749 sin, cos and sincos to 1 ULP.
16751 2018-04-04 Maciej W. Rozycki <macro@mips.com>
16754 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
16756 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
16757 * elf/tst-absolute-sym.c: New file.
16758 * elf/tst-absolute-sym-lib.c: New file.
16759 * elf/tst-absolute-sym-lib.lds: New file.
16760 * elf/Makefile (tests): Add `tst-absolute-sym'.
16761 (modules-names): Add `tst-absolute-sym-lib'.
16762 (LDLIBS-tst-absolute-sym-lib.so): New variable.
16763 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
16764 ($(objpfx)tst-absolute-sym): New dependency.
16767 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
16769 (SYMBOL_ADDRESS): New macro.
16770 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
16771 SYMBOL_ADDRESS for symbol address calculation.
16772 * elf/dl-runtime.c (_dl_fixup): Likewise.
16773 (_dl_profile_fixup): Likewise.
16774 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
16775 * elf/rtld.c (dl_main): Likewise.
16776 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
16777 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
16778 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
16779 (elf_machine_rela): Likewise.
16780 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
16781 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
16782 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16783 (elf_machine_rela): Likewise.
16784 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
16785 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
16786 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
16787 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
16789 (elf_machine_reloc): Likewise.
16790 (elf_machine_got_rel): Likewise.
16791 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
16792 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
16793 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
16795 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16797 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
16798 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16800 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16802 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16803 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16805 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16807 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
16808 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16810 2018-04-04 Zack Weinberg <zackw@panix.com>
16812 * sysdeps/generic/internal-signals.h: Include signal.h,
16813 sigsetops.h, and stdbool.h.
16814 (__libc_signal_block_all): Actually block all signals.
16815 (__libc_signal_block_app): Likewise.
16816 (__libc_signal_restore_set): Actually restore the signal mask.
16818 2018-04-04 Florian Weimer <fweimer@redhat.com>
16820 inet: Actually build and run tst-deadline.
16821 * inet/Makefile (tests-internal): Add tst-deadline and do not
16822 overwrite the variable.
16823 (tests-static-internal): Remove variable.
16825 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
16828 * bits/uio-ext.h (RWF_APPEND): New.
16829 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
16830 * manual/llio.texi: Document RWF_APPEND.
16831 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
16832 (RWF_SUPPORTED): Add RWF_APPEND.
16834 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16837 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
16838 check for internal nptl signals.
16839 * nptl/sigaction.c (__sigaction): Likewise.
16840 * signal/sigaddset.c (sigaddset): Likewise.
16841 * signal/sigdelset.c (sigdelset): Likewise.
16842 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
16843 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
16845 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
16846 to filter out internal nptl signals.
16847 * signal/tst-sigset.c (do_test): Check ech signal indidually and
16848 also check realtime signals using standard macros.
16849 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
16850 __is_internal_signal, __libc_signal_block_all,
16851 __libc_signal_block_app, __libc_signal_restore_set): New functions.
16852 * sysdeps/nptl/sigfillset.c: Remove file.
16853 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
16854 Change return to bool.
16855 (__clear_internal_signals): Remove SIGTIMER clean since it is
16856 equal to SIGCANEL on Linux.
16857 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
16858 signal set was constructed using standard functions.
16860 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16862 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
16863 ifname is too long.
16864 * hurd/hurdsig.c (interrupted_reply_port_location): Use
16865 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
16866 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
16868 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
16869 * signal/sigaddset.c: Include <sigsetopts.h>.
16870 * signal/sigdelset.c: Likewise.
16872 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16874 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
16876 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
16877 logic as sin and cos.
16879 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16881 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
16882 inputs. Return correct sign.
16883 (do_sincos): Remove small input check before do_sin, let do_sin set
16888 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16890 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
16891 (do_cos_slow): Likewise.
16892 (do_sin_slow): Likewise.
16893 (reduce_and_compute): Likewise.
16898 (sloww1): Likewise.
16899 (sloww2): Likewise.
16901 (bslow1): Likewise.
16902 (bslow2): Likewise.
16903 (cslow2): Likewise.
16905 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16907 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
16908 (do_cos): Remove corp parameter and calculations.
16909 (do_sin): Likewise.
16910 (do_sincos): Remove cor variable.
16911 (__sin): Use do_sincos for huge inputs.
16913 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
16914 (reduce_and_compute_sincos): Remove unused function.
16916 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16918 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
16919 reduce_sincos, improve accuracy to 136 bits.
16920 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
16921 (__sin): Use improved reduction and simplified do_sincos calculation.
16923 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
16925 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16927 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
16928 (do_sincos_2): Likewise.
16929 (__sin): Remove middle range reduction case.
16931 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
16934 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16936 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
16937 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
16940 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
16942 2018-04-03 Joseph Myers <joseph@codesourcery.com>
16944 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16947 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16949 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
16950 Remove definitions.
16951 (opendir_oflags): Use O_DIRECTORY regardless.
16952 (__opendir, __opendirat): Remove need_isdir_precheck usage.
16953 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
16955 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16957 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
16958 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
16960 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
16961 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
16962 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
16963 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
16964 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
16965 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
16967 * htl/Makefile: Bump licence to LGPL 2.1+.
16968 * htl/alloca_cutoff.c: Likewise.
16969 * htl/cthreads-compat.c: Likewise.
16970 * htl/lockfile.c: Likewise.
16971 * htl/pt-alloc.c: Likewise.
16972 * htl/pt-cancel.c: Likewise.
16973 * htl/pt-cleanup.c: Likewise.
16974 * htl/pt-create.c: Likewise.
16975 * htl/pt-dealloc.c: Likewise.
16976 * htl/pt-detach.c: Likewise.
16977 * htl/pt-exit.c: Likewise.
16978 * htl/pt-getattr.c: Likewise.
16979 * htl/pt-initialize.c: Likewise.
16980 * htl/pt-internal.h: Likewise.
16981 * htl/pt-join.c: Likewise.
16982 * htl/pt-self.c: Likewise.
16983 * htl/pt-setcancelstate.c: Likewise.
16984 * htl/pt-setcanceltype.c: Likewise.
16985 * htl/pt-sigmask.c: Likewise.
16986 * htl/pt-spin-inlines.c: Likewise.
16987 * htl/pt-testcancel.c: Likewise.
16988 * htl/pt-yield.c: Likewise.
16989 * htl/tests/test-1.c: Likewise.
16990 * htl/tests/test-10.c: Likewise.
16991 * htl/tests/test-11.c: Likewise.
16992 * htl/tests/test-12.c: Likewise.
16993 * htl/tests/test-13.c: Likewise.
16994 * htl/tests/test-14.c: Likewise.
16995 * htl/tests/test-15.c: Likewise.
16996 * htl/tests/test-16.c: Likewise.
16997 * htl/tests/test-17.c: Likewise.
16998 * htl/tests/test-2.c: Likewise.
16999 * htl/tests/test-3.c: Likewise.
17000 * htl/tests/test-4.c: Likewise.
17001 * htl/tests/test-5.c: Likewise.
17002 * htl/tests/test-6.c: Likewise.
17003 * htl/tests/test-7.c: Likewise.
17004 * htl/tests/test-8.c: Likewise.
17005 * htl/tests/test-9.c: Likewise.
17006 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
17007 * sysdeps/htl/bits/cancelation.h: Likewise.
17008 * sysdeps/htl/bits/pthread-np.h: Likewise.
17009 * sysdeps/htl/bits/pthread.h: Likewise.
17010 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
17011 * sysdeps/htl/bits/semaphore.h: Likewise.
17012 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
17013 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
17014 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
17015 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
17016 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
17017 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
17018 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
17019 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
17020 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
17021 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
17022 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
17023 * sysdeps/htl/old_pt-atfork.c: Likewise.
17024 * sysdeps/htl/pt-atfork.c: Likewise.
17025 * sysdeps/htl/pt-attr-destroy.c: Likewise.
17026 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
17027 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
17028 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
17029 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
17030 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
17031 * sysdeps/htl/pt-attr-getscope.c: Likewise.
17032 * sysdeps/htl/pt-attr-getstack.c: Likewise.
17033 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
17034 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
17035 * sysdeps/htl/pt-attr-init.c: Likewise.
17036 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
17037 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
17038 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
17039 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
17040 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
17041 * sysdeps/htl/pt-attr-setscope.c: Likewise.
17042 * sysdeps/htl/pt-attr-setstack.c: Likewise.
17043 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
17044 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
17045 * sysdeps/htl/pt-attr.c: Likewise.
17046 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
17047 * sysdeps/htl/pt-barrier-init.c: Likewise.
17048 * sysdeps/htl/pt-barrier-wait.c: Likewise.
17049 * sysdeps/htl/pt-barrier.c: Likewise.
17050 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
17051 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
17052 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
17053 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
17054 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
17055 * sysdeps/htl/pt-cond-destroy.c: Likewise.
17056 * sysdeps/htl/pt-cond-init.c: Likewise.
17057 * sysdeps/htl/pt-cond-signal.c: Likewise.
17058 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
17059 * sysdeps/htl/pt-cond-wait.c: Likewise.
17060 * sysdeps/htl/pt-cond.c: Likewise.
17061 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
17062 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
17063 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
17064 * sysdeps/htl/pt-condattr-init.c: Likewise.
17065 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
17066 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
17067 * sysdeps/htl/pt-destroy-specific.c: Likewise.
17068 * sysdeps/htl/pt-equal.c: Likewise.
17069 * sysdeps/htl/pt-getconcurrency.c: Likewise.
17070 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
17071 * sysdeps/htl/pt-getschedparam.c: Likewise.
17072 * sysdeps/htl/pt-getspecific.c: Likewise.
17073 * sysdeps/htl/pt-init-specific.c: Likewise.
17074 * sysdeps/htl/pt-key-create.c: Likewise.
17075 * sysdeps/htl/pt-key-delete.c: Likewise.
17076 * sysdeps/htl/pt-key.h: Likewise.
17077 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
17078 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
17079 * sysdeps/htl/pt-mutex-init.c: Likewise.
17080 * sysdeps/htl/pt-mutex-lock.c: Likewise.
17081 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
17082 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
17083 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
17084 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
17085 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
17086 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
17087 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
17088 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
17089 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
17090 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
17091 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
17092 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
17093 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
17094 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
17095 * sysdeps/htl/pt-mutexattr.c: Likewise.
17096 * sysdeps/htl/pt-once.c: Likewise.
17097 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
17098 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
17099 * sysdeps/htl/pt-rwlock-init.c: Likewise.
17100 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
17101 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
17102 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
17103 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
17104 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
17105 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
17106 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
17107 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
17108 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
17109 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
17110 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
17111 * sysdeps/htl/pt-setconcurrency.c: Likewise.
17112 * sysdeps/htl/pt-setschedparam.c: Likewise.
17113 * sysdeps/htl/pt-setschedprio.c: Likewise.
17114 * sysdeps/htl/pt-setspecific.c: Likewise.
17115 * sysdeps/htl/pt-spin.c: Likewise.
17116 * sysdeps/htl/pt-startup.c: Likewise.
17117 * sysdeps/htl/pthread.h: Likewise.
17118 * sysdeps/htl/sem-close.c: Likewise.
17119 * sysdeps/htl/sem-destroy.c: Likewise.
17120 * sysdeps/htl/sem-getvalue.c: Likewise.
17121 * sysdeps/htl/sem-init.c: Likewise.
17122 * sysdeps/htl/sem-open.c: Likewise.
17123 * sysdeps/htl/sem-post.c: Likewise.
17124 * sysdeps/htl/sem-timedwait.c: Likewise.
17125 * sysdeps/htl/sem-trywait.c: Likewise.
17126 * sysdeps/htl/sem-unlink.c: Likewise.
17127 * sysdeps/htl/sem-wait.c: Likewise.
17128 * sysdeps/hurd/htl/pt-kill.c: Likewise.
17129 * sysdeps/i386/htl/pt-machdep.h: Likewise.
17130 * sysdeps/mach/htl/pt-block.c: Likewise.
17131 * sysdeps/mach/htl/pt-spin.c: Likewise.
17132 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
17133 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
17134 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
17135 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
17136 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
17137 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
17138 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
17139 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
17140 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
17141 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
17142 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
17143 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
17144 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
17145 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
17146 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
17147 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
17148 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
17149 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
17150 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
17151 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
17152 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
17153 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
17154 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
17155 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
17156 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
17157 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
17158 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
17159 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
17160 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
17161 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
17162 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
17163 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
17164 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
17165 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
17166 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
17167 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
17168 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
17169 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
17170 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
17171 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
17172 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
17173 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
17174 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
17176 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
17177 * README: Remove the mention of out-of-tree patches needed for
17180 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
17181 (UTIME_NOW, UTIME_OMIT): Define macros.
17183 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
17184 instead of pthread_detach.
17185 (__cthread_fork): Call __pthread_create instead of pthread_create.
17186 (__cthread_keycreate): Call __pthread_key_create instead of
17187 pthread_key_create.
17188 (__cthread_getspecific): Call __pthread_getspecific instead of
17189 pthread_getspecific.
17190 (__cthread_setspecific): Call __pthread_setspecific instead of
17191 pthread_setspecific.
17192 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
17193 __pthread_mutex_unlock instead of pthread_mutex_lock and
17194 pthread_mutex_unlock.
17195 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
17196 ___pthread_get_cleanup_stack.
17197 (__pthread_get_cleanup_stack): New strong alias.
17198 * htl/pt-create.c: Include <pthreadP.h>.
17199 (entry_point): Call __pthread_exit instead of pthread_exit.
17200 (pthread_create): Rename to __pthread_create.
17201 (pthread_create): New strong alias.
17202 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
17203 (pthread_detach): New strong alias.
17204 (__pthread_detach): Call __pthread_cond_broadcast instead of
17205 pthread_cond_broadcast.
17206 * htl/pt-exit.c: Include <pthreadP.h>.
17207 (__pthread_exit): Call __pthread_setcancelstate and
17208 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
17209 __pthread_get_cleanup_stack.
17210 * htl/pt-testcancel.c: Include <pthreadP.h>.
17211 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
17212 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
17213 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
17214 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
17215 pthread_attr_getstacksize.
17216 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
17217 Rename to __pthread_attr_getstackaddr.
17218 (pthread_attr_getstackaddr): New strong alias.
17219 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
17220 Rename to __pthread_attr_getstacksize.
17221 (pthread_attr_getstacksize): New strong alias.
17222 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
17223 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
17224 (pthread_attr_setstack): New strong alias.
17225 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
17226 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
17227 pthread_attr_getstacksize, pthread_attr_setstacksize and
17228 pthread_attr_setstackaddr.
17229 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
17230 Rename to __pthread_attr_setstackaddr.
17231 (pthread_attr_setstackaddr): New strong alias.
17232 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
17233 Rename to __pthread_attr_setstacksize.
17234 (pthread_attr_setstacksize): New strong alias.
17235 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
17236 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
17238 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
17239 (__pthread_key_create): New hidden def.
17240 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
17241 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
17242 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
17243 __pthread_exit, __pthread_key_create, __pthread_getspecific,
17244 __pthread_setspecific, __pthread_setcancelstate,
17245 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
17246 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
17247 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
17249 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
17250 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
17251 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
17252 (pthread_attr_setstackaddr): New strong alias.
17253 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
17254 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
17255 (pthread_attr_setstacksize): New strong alias.
17256 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
17257 (call_exit): Call __pthread_exit instead of pthread_exit.
17258 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
17259 (_pthread_mutex_init): New hidden definition.
17260 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
17261 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
17262 instead of pthread_attr_init and pthread_attr_setstack.
17264 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
17265 __vm_deallocate instead of vm_allocate and vm_deallocate.
17266 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
17268 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
17270 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
17272 * hurd/siginfo.c: Include <libioP.h>.
17273 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
17274 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
17276 * mach/devstream.c: Include <libioP.h>.
17277 (dealloc_ref): Call __mach_port_deallocate instead of
17278 mach_port_deallocate.
17279 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
17280 Call __mach_port_deallocate instead of mach_port_deallocate.
17281 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
17283 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
17285 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
17286 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
17287 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
17289 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
17291 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
17292 instead of sysconf.
17293 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
17294 __clock_gettime instead of clock_gettime.
17295 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
17296 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
17297 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
17298 * sysdeps/unix/bsd/stty.c (stty): Likewise.
17299 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
17301 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
17302 __clock_gettime and __nanosleep instead of clock_gettime and
17304 * hurd/catch-signal.c (hurd_catch_signal): Rename to
17305 __hurd_catch_signal.
17306 (hurd_catch_signal): New strong alias.
17307 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
17308 __hurd_catch_signal instead of hurd_catch_signal.
17309 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
17310 * hurd/hurdexec.c (_hurd_init): Add hidden def.
17311 * hurd/hurdinit.c (_hurd_init): Add hidden def.
17312 * hurd/hurdsig.c: Include <mach/mig_support.h>.
17313 (_hurd_thread_sigstate): Add hidden def.
17314 (_hurd_internal_post_signal): Use __mutex_unlock instead of
17316 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
17317 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
17318 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
17319 __hurd_file_name_path_lookup.
17320 (hurd_file_name_path_lookup): New strong alias.
17321 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
17322 hurd_file_name_path_lookup.
17323 * mach/errstring.c (mach_error_type): Add hidden def.
17324 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
17325 * mach/mutex-init.c (__mutex_init): Add hidden def.
17326 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
17327 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
17328 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
17329 * sysdeps/mach/hurd/getcwd.c
17330 (_hurd_canonicalize_directory_name_internal): Rename to
17331 __hurd_canonicalize_directory_name_internal.
17332 (_hurd_canonicalize_directory_name_internal): New strong alias.
17333 (__canonicalize_directory_name_internal, __getcwd): Call
17334 __hurd_canonicalize_directory_name_internal instead of
17335 _hurd_canonicalize_directory_name_internal.
17336 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
17337 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
17339 * sysdeps/hurd/include/hurd.h: New file.
17340 * sysdeps/hurd/include/hurd/fd.h: New file.
17341 * sysdeps/hurd/include/hurd/signal.h: New file.
17342 * sysdeps/mach/include/lock-intern.h: New file.
17343 * sysdeps/mach/include/mach.h: New file.
17344 * sysdeps/mach/include/mach/mig_support.h: New file.
17345 * sysdeps/mach/include/mach_error.h: New file.
17346 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
17348 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
17349 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
17350 _HEADER_H_HIDDEN_DEF macro.
17351 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
17352 _hurd_fd_error_signal): Add hidden prototype.
17353 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
17355 * libio/iolibio.h (_IO_puts): New hidden prototype.
17356 * libio/ioputs.c (_IO_puts): New hidden def.
17357 * sysdeps/mach/hurd/localplt.data: New file.
17359 2018-04-02 Agustina Arzille <avarzille@riseup.net>
17360 Amos Jeffries <squid3@treenet.co.nz>
17361 David Michael <fedora.dm0@gmail.com>
17362 Marco Gerards <marco@gnu.org>
17363 Marcus Brinkmann <marcus@gnu.org>
17364 Neal H. Walfield <neal@gnu.org>
17365 Pino Toscano <toscano.pino@tiscali.it>
17366 Richard Braun <rbraun@sceen.net>
17367 Roland McGrath <roland@gnu.org>
17368 Samuel Thibault <samuel.thibault@ens-lyon.org>
17369 Thomas DiModica <ricinwich@yahoo.com>
17370 Thomas Schwinge <tschwinge@gnu.org>
17372 * htl: New directory.
17373 * sysdeps/htl: New directory.
17374 * sysdeps/hurd/htl: New directory.
17375 * sysdeps/i386/htl: New directory.
17376 * sysdeps/mach/htl: New directory.
17377 * sysdeps/mach/hurd/htl: New directory.
17378 * sysdeps/mach/hurd/i386/htl: New directory.
17379 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
17380 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
17381 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
17383 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17385 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
17386 signals in thread created for runing timers.
17388 2018-04-01 Florian Weimer <fweimer@redhat.com>
17390 * support/support_format_addrinfo.c (support_format_addrinfo):
17391 Include unknown error number in formatted result.
17393 2018-03-29 Florian Weimer <fweimer@redhat.com>
17395 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
17398 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17400 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
17401 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
17402 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
17403 (__ASSUME_CLONE_BACKWARDS): Define.
17405 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
17408 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
17409 early when linux sentinel value is set.
17411 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17413 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
17415 2018-03-27 Andreas Schwab <schwab@suse.de>
17418 * resolv/res_send.c (__res_context_send): Return ENOMEM if
17419 allocation of private copy of nsaddr_list fails.
17421 2018-03-26 Joseph Myers <joseph@codesourcery.com>
17424 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
17425 * sysdeps/unix/sysv/linux/umount.c: ... here.
17426 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
17427 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
17428 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
17429 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
17430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
17431 * sysdeps/unix/sysv/linux/umount.S: Likewise.
17432 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
17434 2018-03-26 Andreas Schwab <schwab@suse.de>
17436 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
17437 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
17438 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
17439 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
17440 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
17441 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
17442 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
17443 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
17444 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
17445 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
17446 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
17447 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
17448 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
17449 (R_RISCV_NUM): Define.
17451 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
17453 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
17454 TLS declaration of errno.
17455 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
17457 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
17458 (ARCH_SETUP_TLS): Likewise.
17459 * sysdeps/mach/hurd/libc-start.h: New file copied from
17460 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
17461 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
17462 instead of __libc_setup_tls.
17463 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
17464 __libc_setup_tls before initializing libpthread and running _hurd_init
17465 which starts the signal thread.
17466 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
17468 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17470 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
17473 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
17474 after it is defined.
17476 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
17477 Max Horn <max@quendi.de>
17481 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
17483 * string/test-memmove.c (do_test2): New testcase.
17485 2018-03-22 Joseph Myers <joseph@codesourcery.com>
17487 * sysdeps/generic/frame.h: Remove file.
17488 * sysdeps/arm/frame.h: Likewise.
17489 * sysdeps/hppa/frame.h: Likewise.
17490 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
17492 (GET_FRAME): Likewise.
17493 (GET_STACK): Likewise.
17494 (CALL_SIGHANDLER): Likewise.
17495 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
17497 (GET_FRAME): Likewise.
17498 (GET_STACK): Likewise.
17499 (CALL_SIGHANDLER): Likewise.
17500 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
17501 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17502 (GET_FRAME): Likewise.
17503 (GET_STACK): Likewise.
17504 (CALL_SIGHANDLER): Likewise.
17505 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
17506 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17507 (GET_FRAME): Likewise.
17508 (GET_STACK): Likewise.
17509 (ADVANCE_STACK_FRAME): Likewise.
17510 (CALL_SIGHANDLER): Likewise.
17511 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
17512 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17513 (GET_FRAME): Likewise.
17514 (GET_STACK): Likewise.
17515 (CALL_SIGHANDLER): Likewise.
17516 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
17517 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17518 (GET_FRAME): Likewise.
17519 (GET_STACK): Likewise.
17520 (CALL_SIGHANDLER): Likewise.
17521 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
17522 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17523 (GET_FRAME): Likewise.
17524 (GET_STACK): Likewise.
17525 (CALL_SIGHANDLER): Likewise.
17526 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
17527 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17528 (GET_FRAME): Likewise.
17529 (GET_STACK): Likewise.
17530 (CALL_SIGHANDLER): Likewise.
17531 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
17532 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17533 (GET_FRAME): Likewise.
17534 (GET_STACK): Likewise.
17535 (CALL_SIGHANDLER): Likewise.
17536 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
17537 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17538 (GET_FRAME): Likewise.
17539 (GET_STACK): Likewise.
17540 (CALL_SIGHANDLER): Likewise.
17541 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
17542 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17543 (GET_FRAME): Likewise.
17544 (GET_STACK): Likewise.
17545 (CALL_SIGHANDLER): Likewise.
17546 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
17547 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17548 (GET_FRAME): Likewise.
17549 (GET_STACK): Likewise.
17550 (CALL_SIGHANDLER): Likewise.
17551 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
17552 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17553 (GET_FRAME): Likewise.
17554 (GET_STACK): Likewise.
17555 (CALL_SIGHANDLER): Likewise.
17556 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
17557 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17558 (FIRST_FRAME_POINTER): Likewise.
17559 (ADVANCE_STACK_FRAME): Likewise.
17560 (GET_STACK): Likewise.
17561 (GET_FRAME): Likewise.
17562 (CALL_SIGHANDLER): Likewise.
17563 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
17564 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17565 (ADVANCE_STACK_FRAME): Likewise.
17566 (GET_STACK): Likewise.
17567 (GET_FRAME): Likewise.
17568 (CALL_SIGHANDLER): Likewise.
17569 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
17570 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17571 (GET_FRAME): Likewise.
17572 (GET_STACK): Likewise.
17573 (CALL_SIGHANDLER): Likewise.
17574 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
17575 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17576 (GET_FRAME): Likewise.
17577 (GET_STACK): Likewise.
17578 (CALL_SIGHANDLER): Likewise.
17580 2018-03-21 Joseph Myers <joseph@codesourcery.com>
17582 * sysdeps/x86_64/backtrace.c: Move to ....
17583 * debug/backtrace.c: ... here.
17584 * sysdeps/aarch64/backtrace.c: Remove file.
17585 * sysdeps/alpha/backtrace.c: Likewise.
17586 * sysdeps/hppa/backtrace.c: Likewise.
17587 * sysdeps/ia64/backtrace.c: Likewise.
17588 * sysdeps/mips/backtrace.c: Likewise.
17589 * sysdeps/nios2/backtrace.c: Likewise.
17590 * sysdeps/riscv/backtrace.c: Likewise.
17591 * sysdeps/sh/backtrace.c: Likewise.
17592 * sysdeps/tile/backtrace.c: Likewise.
17594 2018-03-20 Joseph Myers <joseph@codesourcery.com>
17597 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
17600 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
17603 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
17604 possibly overflowing computations.
17606 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
17608 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
17609 values from Linux-specific section now that it is in the GNU section.
17610 * sysdeps/gnu/errlist.c: Regenerate.
17612 2018-03-20 Joseph Myers <joseph@codesourcery.com>
17614 * math/Makefile (libm-narrow-fns): Add sub.
17615 (libm-test-funcs-narrow): Likewise.
17616 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
17617 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
17618 * math/gen-auto-libm-tests.c (test_functions): Add sub.
17619 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
17620 (NARROW_SUB_ROUND_TO_ODD): Likewise.
17621 (NARROW_SUB_TRIVIAL): Likewise.
17622 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
17624 (__dsubl): Likewise.
17625 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
17627 (CFLAGS-nldbl-dsub.c): New variable.
17628 (CFLAGS-nldbl-fsub.c): Likewise.
17629 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17631 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
17633 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
17634 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
17635 * math/auto-libm-test-in: Add tests of sub.
17636 * math/auto-libm-test-out-narrow-sub: New generated file.
17637 * math/libm-test-narrow-sub.inc: New file.
17638 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
17639 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
17640 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
17641 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
17642 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
17643 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
17644 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
17645 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
17646 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
17647 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
17648 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
17649 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
17650 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
17651 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
17652 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
17653 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
17654 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
17655 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
17656 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17657 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17658 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17659 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17660 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17661 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17662 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17663 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17664 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17665 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17666 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17667 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17668 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17669 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17674 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17675 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17676 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17677 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17678 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17679 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17680 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
17681 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
17682 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17683 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17685 2018-03-19 Joseph Myers <joseph@codesourcery.com>
17688 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
17690 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
17692 * benchtests/bench-timing.h (attribute_hidden): Undefine.
17694 2018-03-18 Richard Braun <rbraun@sceen.net>
17696 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
17699 2018-03-18 Agustina Arzille <avarzille@riseup.net>
17701 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
17702 (__libc_cleanup_fct): Define function.
17703 (__libc_cleanup_region_start, __libc_cleanup_region_end,
17704 __libc_cleanup_end): Rewrite implementation using
17705 __attribute__ ((__cleanup__)).
17706 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
17707 * hurd/Makefile (routines): Add hurdlock.
17708 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
17710 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
17711 * hurd/hurdpid.c: Include <lowlevellock.h>
17712 (_S_msg_proc_newids): Use lll_wait to synchronize.
17713 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
17714 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
17715 * mach/Makefile (lock-headers): Remove machine-lock.h.
17716 * mach/lock-intern.h: Include <lowlevellock.h> instead of
17718 (__spin_lock_t): New type.
17719 (__SPIN_LOCK_INITIALIZER): New macro.
17720 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
17721 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
17722 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
17723 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
17724 (__mutex_init): Initialize with lll.
17725 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
17726 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
17728 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17729 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
17730 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
17731 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
17732 (__setpgid): Use lll for synchronization.
17733 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
17734 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
17735 instead of <cthreads.h>.
17736 (_IO_lock_inexpensive): New macro
17737 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
17738 (__libc_lock_self0): New declaration.
17739 (__libc_lock_owner_self): New macro.
17740 (__libc_key_t): Remove type.
17741 (_LIBC_LOCK_INITIALIZER): New macro.
17742 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
17743 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
17744 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
17745 __libc_lock_define_initialized_recursive,
17746 __rtld_lock_define_initialized_recursive,
17747 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
17748 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
17749 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
17750 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
17751 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
17752 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
17753 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
17755 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
17756 * hurd/hurdlock.c: New file.
17757 * hurd/hurdlock.h: New file.
17758 * mach/lowlevellock.h: New file
17760 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
17762 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
17763 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
17764 when opening a symlink with O_NOFOLLOW.
17765 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
17766 path when flags contains O_NOFOLLOW.
17767 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
17768 if flags contains O_DIRECTORY and the result is a directory.
17769 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
17770 oneself when the pointer given in D is nul (as set by ext2fs).
17771 * sysdeps/mach/hurd/mlockall.c: New file.
17772 * sysdeps/mach/hurd/munlockall.c: New file.
17774 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
17776 * hurd/hurdsig.c: Include <pthread.h>.
17777 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
17778 get the signal thread stack layout.
17779 * hurd/Makefile (headers): Remove threadvar.h.
17780 (inline-headers): Remove threadvar.h.
17781 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
17782 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
17783 __hurd_threadvar_max, __hurd_errno_location.
17784 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
17785 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
17786 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
17787 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
17788 unless TLS is not initialized yet, in which case we do not need a
17789 critical section yet anyway.
17790 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
17792 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
17794 (__hurd_threadvar_index): Remove enum.
17795 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
17796 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
17798 (__hurd_reply_port0): New variable declaration.
17799 (__hurd_local_reply_port): New macro.
17800 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
17801 (interrupted_reply_port_location): Add thread_t parameter. Use it
17802 with THREAD_TCB to access thread-local variables.
17803 (_hurdsig_abort_rpcs): Pass ss->thread to
17804 interrupted_reply_port_location.
17805 (_hurd_internal_post_signal): Likewise.
17806 (_hurdsig_init): Use presence of cthread_fork instead of
17807 __hurd_threadvar_stack_mask to start signal thread by hand.
17808 Remove signal thread threadvar initialization.
17809 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
17810 * hurd/sigunwind.c: Include <hurd/threadvar.h>
17811 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
17813 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
17815 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
17816 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
17817 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
17818 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
17819 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
17820 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
17821 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
17823 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
17824 <hurd/threadvar.h>.
17825 [IS_IN(rtld)] (rtld_errno): New variable.
17826 [IS_IN(rtld)] (__errno_location): New weak function.
17827 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
17828 * sysdeps/mach/hurd/errno.c: Remove file.
17829 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
17830 (__fork): Remove THREADVAR_SPACE macro and its use.
17831 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
17833 (init): Do not initialize threadvar.
17834 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
17836 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
17837 __hurd_local_reply_port instead of threadvar.
17838 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
17839 _hurd_sigstate fields.
17840 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
17841 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
17842 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
17843 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
17844 instead of threadvar.
17845 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
17846 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
17847 (use_threadvar, global_reply_port): Remove variables.
17848 (__hurd_reply_port0): New variable.
17849 (__mig_get_reply_port): Use __hurd_local_reply_port and
17850 __hurd_reply_port0 instead of threadvar.
17851 (__mig_dealloc_reply_port): Likewise.
17852 (__mig_init): Do not initialize threadvar.
17853 * sysdeps/mach/hurd/profil.c: Fix comment.
17854 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
17855 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
17856 cthread_keycreate, cthread_getspecific, cthread_setspecific to
17857 __cthread_fork, __cthread_detach, __pthread_getattr_np,
17858 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
17859 __cthread_setspecific.
17860 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
17861 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
17862 __cthread_t instead of cthread_fork, cthread_detach,
17863 pthread_getattr_np, pthread_attr_getstack.
17864 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
17865 __cthread_keycreate.
17866 (cthread_getspecific): Rename to __cthread_getspecific.
17867 (cthread_setspecific): Rename to __cthread_setspecific.
17868 (__libc_getspecific): Use __cthread_getspecific instead of
17869 cthread_getspecific.
17870 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
17871 __cthread_keycreate instead of cthread_keycreate.
17872 (__libc_setspecific): Use __cthread_setspecific instead of
17873 cthread_setspecific.
17874 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
17876 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
17877 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
17878 testing whether it is defined.
17880 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17882 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
17884 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
17885 * sysdeps/mach/i386/thread_state.h
17886 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
17888 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
17890 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
17892 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
17893 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
17895 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
17897 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
17898 descriptor instead of creating a new one.
17899 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
17901 * mach/setup-thread.c: Include <ldsodefs.h>.
17902 (__mach_setup_thread): Call _dl_allocate_tls, pass
17903 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
17904 MACHINE_THREAD_STATE_FLAVOR, before getting
17905 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
17906 MACHINE_THREAD_STATE_FLAVOR with the result.
17907 * hurd/hurdfault.c (_hurdsig_fault_init): Call
17908 MACHINE_THREAD_STATE_FIX_NEW.
17909 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
17910 too. Add original thread parameter.
17912 2018-03-16 Joseph Myers <joseph@codesourcery.com>
17914 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
17915 Remove inline function.
17917 * sysdeps/i386/fpu/libm-test-ulps: Update.
17918 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
17920 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
17922 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
17925 2018-03-15 Joseph Myers <joseph@codesourcery.com>
17927 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
17928 (__sincos_code): Remove define and undefine.
17929 [__FAST_MATH__] (__sincos): Remove inline function.
17930 [__FAST_MATH__] (__sincosf): Remove inline function.
17931 [__FAST_MATH__] (__sincosl): Remove inline function.
17932 (__atan2l): Remove inline functions.
17933 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
17934 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
17936 (floor): Remove inline function.
17938 [__FAST_MATH__] (__ldexp_code): Remove macro.
17939 [__FAST_MATH__] (ldexp): Remove inline function.
17940 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
17941 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
17942 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
17943 [__USE_ISOC99] (__lrint_code): Remove macro.
17944 [__USE_ISOC99] (__llrint_code): Likewise.
17945 [__USE_ISOC99] (lrintf): Remove inline function.
17946 [__USE_ISOC99] (lrint): Likewise.
17947 [__USE_ISOC99] (lrintl): Likewise.
17948 [__USE_ISOC99] (llrint): Likewise.
17949 [__USE_ISOC99] (llrintf): Likewise.
17950 [__USE_ISOC99] (llrintl): Likewise.
17952 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17954 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
17955 (__ieee754_sqrtf): Remove.
17956 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
17957 (__ieee754_sqrtf): Remove.
17958 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
17959 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
17960 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
17961 (__ieee754_sqrtf): Remove.
17962 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
17963 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
17966 (__ieee754_sqrt): Remove.
17967 (__ieee754_sqrtf): Remove.
17968 (__ieee754_sqrtl): Remove.
17969 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
17970 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
17971 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
17972 (__ieee754_sqrtf): Remove.
17973 (__ieee754_sqrtl): Remove.
17975 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17977 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
17978 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
17979 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
17980 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
17981 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
17982 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17983 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17984 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17986 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
17987 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
17988 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
17989 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
17990 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
17991 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
17992 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
17993 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
17994 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
17995 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
17996 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
17997 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
17998 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
17999 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
18000 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
18001 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18002 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18003 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
18004 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
18005 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
18006 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
18007 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18008 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
18009 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
18010 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
18011 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
18012 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18013 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18014 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
18015 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
18016 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
18017 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
18018 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
18019 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
18020 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18021 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18022 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
18023 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
18024 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
18025 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
18027 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18029 * include/math.h (sqrt): Declare with asm redirect.
18032 (sqrtf128): Likewise.
18033 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
18034 nonlib and libnldbl with -fmath-errno.
18035 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
18036 * math/w_sqrt_template.c: Likewise.
18037 * math/w_sqrtf_compat.c: Likewise.
18038 * math/w_sqrtl_compat.c: Likewise.
18039 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
18040 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
18041 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
18044 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18046 * benchtests/Makefile: Define _ISOMAC.
18047 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
18048 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
18049 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
18050 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
18051 * benchtests/bench-timing.h: Define attribute_hidden.
18053 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
18055 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
18058 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
18061 * localedata/locales/cs_CZ (mon): Rename to...
18063 (mon): Import from CLDR (genitive case).
18065 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
18068 * localedata/locales/el_CY (abmon): Rename to...
18069 (ab_alt_mon): This.
18070 (abmon): Import from CLDR (abbreviated genitive case).
18071 * localedata/locales/el_GR (abmon): Rename to...
18072 (ab_alt_mon): This.
18073 (abmon): Import from CLDR (abbreviated genitive case).
18075 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
18078 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
18080 2018-03-15 Robert Buj <robert.buj@gmail.com>
18083 * localedata/locales/ca_ES (abmon): Rename to...
18084 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
18085 (mon): Rename to...
18087 (abmon): Import from CLDR (genitive case, month names preceded by
18090 (abday): Synchronize with CLDR.
18091 (d_t_fmt): Likewise.
18095 (LC_TIME): Improve indentation.
18096 (LC_TELEPHONE): Likewise.
18097 (LC_NAME): Likewise.
18098 (LC_ADDRESS): Likewise.
18100 2018-03-14 Joseph Myers <joseph@codesourcery.com>
18102 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
18103 (lrintf): Remove definitions used only with old GCC.
18104 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
18105 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
18106 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
18107 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
18108 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
18109 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
18110 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
18111 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
18112 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
18113 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
18114 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
18115 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
18116 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
18117 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
18118 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
18119 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
18120 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
18121 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
18122 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
18123 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
18124 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
18125 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
18126 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
18127 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
18128 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
18129 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
18130 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
18131 [__FAST_MATH__] (__M_SQRT2): Remove macro.
18133 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
18135 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
18136 instruction to unbreak builds with binutils 2.26 and older.
18138 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
18140 * sysdeps/aarch64/strncmp.S (count): New macro.
18141 (strncmp): Store misaligned length in SRC1 in COUNT.
18142 (mutual_align): Adjust.
18143 (misaligned8): Load dword at a time when it is safe.
18145 2018-03-12 Zack Weinberg <zackw@panix.com>
18149 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
18150 if the _IO_EOF_SEEN bit is already set; update commentary.
18151 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
18152 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
18154 * support/support_openpty.c, support/tty.h: New files.
18155 * support/Makefile (libsupport-routines): Add support_openpty.
18157 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
18159 * libio/Makefile (tests): Add tst-fgetc-after-eof.
18160 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
18162 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
18164 * po/pt_BR.po: Update translations.
18166 2018-03-12 David Michael <fedora.dm0@gmail.com>
18168 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
18169 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
18170 get a port to the startup server.
18172 2018-03-11 Zack Weinberg <zackw@panix.com>
18174 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
18175 before nldbl-compat.h.
18177 2018-03-10 Zack Weinberg <zackw@panix.com>
18179 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
18180 math.h or math_private.h.
18182 * sysdeps/alpha/fpu/s_isnan.c
18183 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
18184 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
18185 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
18186 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
18187 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
18188 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
18189 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
18190 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
18191 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
18192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
18193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
18194 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
18195 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
18196 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
18197 Include math_private.h.
18199 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
18200 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
18201 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
18202 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
18203 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
18204 * sysdeps/powerpc/power7/fpu/s_logb.c:
18205 Include math.h and math_private.h.
18207 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
18208 uses of $at in .set noat / .set at.
18210 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
18212 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
18213 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
18214 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
18215 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
18218 2018-03-09 Florian Weimer <fweimer@redhat.com>
18220 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
18223 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
18226 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
18227 Add nop before __startcontext, add explaining comments.
18229 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18232 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
18234 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
18235 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
18236 Do not build hardware transactional code for __SPE__.
18237 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
18238 (__lll_trylock_elision): Likewise.
18239 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
18240 (__lll_unlock_elision): Likewise.
18242 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
18243 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
18244 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
18245 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
18246 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
18247 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
18248 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
18249 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
18250 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
18251 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
18252 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
18253 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
18254 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
18255 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
18256 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
18257 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
18258 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
18259 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
18260 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
18261 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
18262 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
18263 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18264 (__ASSUME_CLONE_BACKWARDS): Define.
18265 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
18266 __clone2 if __NR_clone2 is defined.
18267 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18268 (__ASSUME_CLONE_BACKWARDS): Likewise.
18269 * sysdeps/unix/sysv/linux/i386/kernel-features.h
18270 (__ASSUME_CLONE_BACKWARDS): Likewise.
18271 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18272 (__ASSUME_CLONE2): Likewise.
18273 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18274 (__ASSUME_CLONE_BACKWARDS3): Likewise.
18275 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
18276 variants and the define architecture can use.
18277 (__ASSUME_CLONE_DEFAULT): Define as default.
18278 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18279 (__ASSUME_CLONE_BACKWARDS): Likewise.
18280 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18281 (__ASSUME_CLONE_BACKWARDS): Likewise.
18282 * sysdeps/unix/sysv/linux/s390/kernel-features.h
18283 (__ASSUME_CLONE_BACKWARDS2): Likewise.
18285 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
18287 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
18289 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
18292 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
18293 (do_test_limit): Likewise.
18295 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
18296 for every implementation.
18297 (do_test): Likewise.
18299 * benchtests/bench-strncmp.c: Convert output to json.
18301 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18303 * io/futimens.c: Add missing start-of-file descriptive comment.
18304 * io/utime.c: Likewise.
18305 * misc/futimesat.c: Likewise.
18306 * misc/utimes.c: Likewise.
18307 * sysdeps/mach/hurd/futimesat.c: Likewise.
18308 * sysdeps/mach/hurd/utimes.c: Likewise.
18309 * sysdeps/posix/utime.c: Likewise.
18310 * sysdeps/posix/utimes.c: Likewise.
18311 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
18312 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
18313 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
18314 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
18316 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18318 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
18320 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
18321 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
18322 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
18323 (__futimens): Move implementation to...
18324 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
18325 utime_tvalue_from_tspec): ... new helper functions.
18326 (hurd_futimens): New function.
18327 * sysdeps/mach/hurd/futimesat.c: New file.
18328 * sysdeps/mach/hurd/utimensat.c: New file.
18330 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
18332 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
18333 UTIME_OMIT): New macros.
18334 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
18335 before reverting to converting time spec to time value and calling
18337 * sysdeps/mach/hurd/utime-helper.c: New file.
18338 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
18339 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
18340 reverting to utime_tvalue_from_tval and __file_utimes.
18341 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
18342 (__lutimes): Just call hurd_futimens after lookup.
18343 * sysdeps/mach/hurd/utimes.c: Likewise.
18345 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18347 * bits/sigaction.h: Add include guard.
18348 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
18349 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
18350 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
18351 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
18352 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
18353 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
18354 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
18355 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
18356 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
18358 2018-03-05 Joseph Myers <joseph@codesourcery.com>
18360 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
18361 -Wmaybe-uninitialized for -Os.
18362 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
18365 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18367 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
18368 __INO_T_MATCHES_INO64_T is defined.
18369 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
18370 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
18372 * dirent/alphasort64.c: Likewise.
18373 * dirent/scandir.c: Likewise.
18374 * dirent/scandir64-tail.c: Likewise.
18375 * dirent/scandir64.c: Likewise.
18376 * dirent/scandirat.c: Likewise.
18377 * dirent/scandirat64.c: Likewise.
18378 * dirent/versionsort.c: Likewise.
18379 * dirent/versionsort64.c: Likewise.
18380 * include/dirent.h: Likewise.
18382 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
18383 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
18384 for socketpair endpoint.
18385 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
18386 WRITE_BUFFER_SIZE as buffer size for sending socket.
18387 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
18388 issue on system where send is implemented with sendto syscall.
18389 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
18390 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
18391 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
18392 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
18395 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
18396 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
18397 sa_restorer for vDSO case.
18398 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
18400 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18402 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
18403 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
18404 * hurd/hurd/ioctl.h: Include <mach/port.h>
18405 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
18406 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
18407 <mach/mach_types.h> and <mach/message.h>.
18408 (headers): Move mach/param.h to bits/mach/param.h.
18409 * sysdeps/mach/i386/mach/param.h: Move file to ...
18410 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
18411 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
18413 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
18414 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
18415 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
18416 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
18417 trivial, for C++ conformity.
18418 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
18419 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
18420 Process mig output through $(migheadersed).
18421 * hurd/Makefile (migheadersed): Define variable.
18422 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
18423 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
18425 * hurd/hurd.h: Include <bits/types/sigset_t.h>
18426 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
18427 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
18428 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
18429 <bits/types/sigset_t.h>.
18430 [!defined __USE_GNU]: Do not #error out.
18431 (struct hurd_sigstate): Use _NSIG instead of NSIG.
18432 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
18433 Include <stddef.h> and <bits/types/sigset_t.h>
18434 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
18435 instead of sighandler_t.
18436 * stdlib/errno.h (error_t): Move definition to...
18437 * bits/types/error_t.h: ... new header.
18438 * stdlib/Makefile (headers): Add bits/types/error_t.h.
18439 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
18440 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
18441 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
18442 * hurd/hurd.h: Include <bits/types/error_t.h>
18443 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
18444 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
18445 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
18446 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
18447 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
18448 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
18449 * sysdeps/mach/hurd/futimens.c: New file.
18451 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
18454 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
18455 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
18456 * nscd/gai.c (__nss_hosts_database): Readd definition.
18457 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
18458 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
18459 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
18461 2018-03-02 Joseph Myers <joseph@codesourcery.com>
18463 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
18464 (ifunc_one): Likewise.
18466 2018-03-01 DJ Delorie <dj@delorie.com>
18469 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
18472 2018-03-01 Maciej W. Rozycki <macro@mips.com>
18474 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
18475 `match_pid' parameter.
18476 (td_ta_thr_iter): Update accordingly.
18478 2018-03-01 Florian Weimer <fweimer@redhat.com>
18480 * nptl/Makefile (install-lib-ldscripts): Remove.
18481 (install): Remove rule.
18482 ($(inst_libdir)/libpthread.so): Likewise.
18484 2018-03-01 Mike FABIAN <mfabian@redhat.com>
18487 * localedata/locales/an_ES: update month and day names,
18488 improve d_fmt, improve postal_fmt, add country_post,
18491 2018-03-01 Mike FABIAN <mfabian@redhat.com>
18493 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
18494 Ukrainian instead of Bulgarian.
18496 2018-03-01 Florian Weimer <fweimer@redhat.com>
18498 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
18501 2018-03-01 Florian Weimer <fweimer@redhat.com>
18503 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
18504 * nptl/Makefile (routines): Add pthread_atfork.
18505 (static-only-routines): Set to pthread_atfork.
18506 (libpthread-routines): Remove pthread_atfork.
18507 (libpthread-static-only-routines): Remove.
18508 (install): Update comment.
18509 (libpthread.so): Do not install libpthread_nonshared.a.
18510 (tests): Do not link with libpthread_nonshared.a.
18511 (generated): Remove libpthread_nonshared.a.
18512 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
18513 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
18514 with libpthread_nonshared.a.
18516 2018-02-28 Joseph Myers <joseph@codesourcery.com>
18519 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
18520 (libc_feholdexcept_setroundf128): New macro.
18521 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
18524 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
18526 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
18527 * include/inttypes.h: New file.
18529 2018-02-27 Joseph Myers <joseph@codesourcery.com>
18531 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
18532 -Os in two more places.
18534 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18536 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
18537 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
18538 be sorted correctly at the moment because of a bug.
18540 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18542 [BZ #22550] - es_ES locale (and other es_* locales): collation should
18543 treat ñ as a primary different character, sync the collation
18544 for Spanish with CLDR.
18545 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
18546 * localedata/Makefile: Add new test files.
18547 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
18548 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
18550 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
18551 * localedata/am_ET.UTF-8.in: New test file.
18552 * localedata/az_AZ.UTF-8.in: Likewise.
18553 * localedata/be_BY.UTF-8.in: Likewise.
18554 * localedata/ber_DZ.UTF-8.in: Likewise.
18555 * localedata/ber_MA.UTF-8.in: Likewise.
18556 * localedata/bg_BG.UTF-8.in: Likewise.
18557 * localedata/br_FR.UTF-8.in: Likewise.
18558 * localedata/cmn_TW.UTF-8.in: Likewise.
18559 * localedata/crh_UA.UTF-8.in: Likewise.
18560 * localedata/csb_PL.UTF-8.in: Likewise.
18561 * localedata/cv_RU.UTF-8.in: Likewise.
18562 * localedata/cy_GB.UTF-8.in: Likewise.
18563 * localedata/dz_BT.UTF-8.in: Likewise.
18564 * localedata/eo.UTF-8.in: Likewise.
18565 * localedata/es_ES.UTF-8.in: Likewise.
18566 * localedata/fa_IR.UTF-8.in: Likewise.
18567 * localedata/fi_FI.UTF-8.in: Likewise.
18568 * localedata/fil_PH.UTF-8.in: Likewise.
18569 * localedata/fur_IT.UTF-8.in: Likewise.
18570 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
18571 * localedata/ha_NG.UTF-8.in: Likewise.
18572 * localedata/ig_NG.UTF-8.in: Likewise.
18573 * localedata/ik_CA.UTF-8.in: Likewise.
18574 * localedata/kk_KZ.UTF-8.in: Likewise.
18575 * localedata/ku_TR.UTF-8.in: Likewise.
18576 * localedata/ky_KG.UTF-8.in: Likewise.
18577 * localedata/ln_CD.UTF-8.in: Likewise.
18578 * localedata/mi_NZ.UTF-8.in: Likewise.
18579 * localedata/ml_IN.UTF-8.in: Likewise.
18580 * localedata/mn_MN.UTF-8.in: Likewise.
18581 * localedata/mr_IN.UTF-8.in: Likewise.
18582 * localedata/mt_MT.UTF-8.in: Likewise.
18583 * localedata/nb_NO.UTF-8.in: Likewise.
18584 * localedata/om_KE.UTF-8.in: Likewise.
18585 * localedata/os_RU.UTF-8.in: Likewise.
18586 * localedata/ps_AF.UTF-8.in: Likewise.
18587 * localedata/ro_RO.UTF-8.in: Likewise.
18588 * localedata/ru_RU.UTF-8.in: Likewise.
18589 * localedata/sc_IT.UTF-8.in: Likewise.
18590 * localedata/se_NO.UTF-8.in: Likewise.
18591 * localedata/sq_AL.UTF-8.in: Likewise.
18592 * localedata/sv_SE.UTF-8.in: Likewise.
18593 * localedata/szl_PL.UTF-8.in: Likewise.
18594 * localedata/tg_TJ.UTF-8.in: Likewise.
18595 * localedata/tk_TM.UTF-8.in: Likewise.
18596 * localedata/tt_RU.UTF-8.in: Likewise.
18597 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
18598 * localedata/ug_CN.UTF-8.in: Likewise.
18599 * localedata/uz_UZ.UTF-8.in: Likewise.
18600 * localedata/vi_VN.UTF-8.in: Likewise.
18601 * localedata/yi_US.UTF-8.in: Likewise.
18602 * localedata/yo_NG.UTF-8.in: Likewise.
18603 * localedata/zh_CN.UTF-8.in: Likewise.
18604 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
18605 file and fix bugs in the collation.
18606 * localedata/locales/az_AZ: Likewise.
18607 * localedata/locales/be_BY: Likewise.
18608 * localedata/locales/ber_DZ: Likewise.
18609 * localedata/locales/ber_MA: Likewise.
18610 * localedata/locales/bg_BG: Likewise.
18611 * localedata/locales/br_FR: Likewise.
18612 * localedata/locales/br_FR@euro: Likewise.
18613 * localedata/locales/ca_ES: Likewise.
18614 * localedata/locales/cns11643_stroke: Likewise.
18615 * localedata/locales/crh_UA: Likewise.
18616 * localedata/locales/cs_CZ: Likewise.
18617 * localedata/locales/csb_PL: Likewise.
18618 * localedata/locales/cv_RU: Likewise.
18619 * localedata/locales/cy_GB: Likewise.
18620 * localedata/locales/da_DK: Likewise.
18621 * localedata/locales/dz_BT: Likewise.
18622 * localedata/locales/en_CA: Likewise.
18623 * localedata/locales/eo: Likewise.
18624 * localedata/locales/es_CU: Likewise.
18625 * localedata/locales/es_EC: Likewise.
18626 * localedata/locales/es_ES: Likewise.
18627 * localedata/locales/es_US: Likewise.
18628 * localedata/locales/et_EE: Likewise.
18629 * localedata/locales/fa_IR: Likewise.
18630 * localedata/locales/fi_FI: Likewise.
18631 * localedata/locales/fil_PH: Likewise.
18632 * localedata/locales/fur_IT: Likewise.
18633 * localedata/locales/gez_ER@abegede: Likewise.
18634 * localedata/locales/ha_NG: Likewise.
18635 * localedata/locales/hr_HR: Likewise.
18636 * localedata/locales/hsb_DE: Likewise.
18637 * localedata/locales/hu_HU: Likewise.
18638 * localedata/locales/ig_NG: Likewise.
18639 * localedata/locales/ik_CA: Likewise.
18640 * localedata/locales/is_IS: Likewise.
18641 * localedata/locales/iso14651_t1_pinyin: Likewise.
18642 * localedata/locales/kk_KZ: Likewise.
18643 * localedata/locales/ku_TR: Likewise.
18644 * localedata/locales/ky_KG: Likewise.
18645 * localedata/locales/ln_CD: Likewise.
18646 * localedata/locales/lt_LT: Likewise.
18647 * localedata/locales/lv_LV: Likewise.
18648 * localedata/locales/mi_NZ: Likewise.
18649 * localedata/locales/ml_IN: Likewise.
18650 * localedata/locales/mn_MN: Likewise.
18651 * localedata/locales/mr_IN: Likewise.
18652 * localedata/locales/mt_MT: Likewise.
18653 * localedata/locales/nb_NO: Likewise.
18654 * localedata/locales/om_KE: Likewise.
18655 * localedata/locales/os_RU: Likewise.
18656 * localedata/locales/pl_PL: Likewise.
18657 * localedata/locales/ps_AF: Likewise.
18658 * localedata/locales/ro_RO: Likewise.
18659 * localedata/locales/ru_RU: Likewise.
18660 * localedata/locales/ru_UA: Likewise.
18661 * localedata/locales/sc_IT: Likewise.
18662 * localedata/locales/se_NO: Likewise.
18663 * localedata/locales/si_LK: Likewise.
18664 * localedata/locales/sq_AL: Likewise.
18665 * localedata/locales/sv_FI: Likewise.
18666 * localedata/locales/sv_FI@euro: Likewise.
18667 * localedata/locales/sv_SE: Likewise.
18668 * localedata/locales/szl_PL: Likewise.
18669 * localedata/locales/tg_TJ: Likewise.
18670 * localedata/locales/ti_ER: Likewise.
18671 * localedata/locales/tk_TM: Likewise.
18672 * localedata/locales/tl_PH: Likewise.
18673 * localedata/locales/tr_TR: Likewise.
18674 * localedata/locales/tt_RU: Likewise.
18675 * localedata/locales/tt_RU@iqtelif: Likewise.
18676 * localedata/locales/ug_CN: Likewise.
18677 * localedata/locales/uk_UA: Likewise.
18678 * localedata/locales/uz_UZ: Likewise.
18679 * localedata/locales/uz_UZ@cyrillic: Likewise.
18680 * localedata/locales/vi_VN: Likewise.
18681 * localedata/locales/yi_US: Likewise.
18682 * localedata/locales/yo_NG: Likewise.
18684 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18686 * gen-locales.mk: Make test files which contain @ modifiers in their
18688 * localedata/gen-locale.sh: Likewise.
18690 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18692 * posix/tst-fnmatch.input: Fix results for range expressions
18694 * posix/tst-regexloc.c: Do not use a range expression for
18695 de_DE.ISO-8859-1 locale.
18697 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18699 * posix/bug-regex5.c: Fix test case because with the new
18700 iso14651_t1_common file, the da_DK locale now has 6 collating elements
18701 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
18704 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18706 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
18707 downloaded from ISO, the collation order of @-. and space has changed.
18708 Therefore, this test file needed to be adapted.
18709 * localedata/fr_CA.UTF-8.in: Likewise.
18710 * localedata/fr_FR.UTF-8.in: Likewise.
18711 * localedata/uk_UA.UTF-8.in: Likewise.
18713 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18715 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
18716 order of ȥ in the new iso14651_t1_common file.
18717 * localedata/pl_PL.UTF-8.in: Likewise.
18719 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18721 * localedata/locales/iso14651_t1_common: Add sections for various
18722 scripts to the iso14651_t1_common file.
18724 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18726 * localedata/locales/iso14651_t1_common: Use the code point of a
18727 character in the fourth collation level instead of IGNORE for all
18728 entries which have IGNORE on all 4 levels.
18730 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18732 * localedata/locales/iso14651_t1_common: Add some convenient collation
18733 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
18734 rules similar to those in CLDR.
18736 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18738 * localedata/locales/iso14651_t1_common: The new version of this
18739 file downloaded from ISO contained several syntax errors which
18740 are fixed by this patch.
18742 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18744 * localedata/locales/iso14651_t1_common: replace all <U.....>
18745 with <U000.....> because glibc understands only 4 digit or 8 digit
18747 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18749 * localedata/locales/iso14651_t1_common: Necessary changes
18750 to make the file downloaded from ISO usable by glibc.
18752 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18755 * localedata/locales/iso14651_t1_common: Update file to
18756 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
18758 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18760 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
18761 of <nptl/pthreadP.h>
18762 (thread_attr_compare): Move function to...
18763 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
18764 * sysdeps/nptl/timer_routines.h: ... new header.
18765 * sysdeps/mach/hurd/gai_misc.h: New file.
18767 2018-02-26 Joseph Myers <joseph@codesourcery.com>
18769 * string/strcoll_l.c: Include <libc-diag.h>.
18770 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
18771 declarations of seq1 and seq2.
18774 * stdlib/atoi.c (atoi): Use libc_hidden_def.
18775 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
18777 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
18781 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
18782 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
18783 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
18784 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
18785 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
18786 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
18788 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18790 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
18791 macros used in __ptrace_request.
18793 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
18796 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
18798 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
18799 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
18800 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
18803 2018-02-23 Joseph Myers <joseph@codesourcery.com>
18806 * ctype/ctype.c (tolower): Use libc_hidden_def.
18807 (toupper): Likewise.
18808 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
18809 [!_ISOMAC] (toupper): Likewise.
18811 2018-02-23 Mike FABIAN <mfabian@redhat.com>
18813 * localedata/Makefile: Remove --quiet argument when
18816 2018-02-23 Mike FABIAN <mfabian@redhat.com>
18819 * localedata/locales/pt_BR (LC_TIME): use / instead of -
18821 * localedata/locales/pt_PT (LC_TIME): likewise
18823 2018-02-23 Mike FABIAN <mfabian@redhat.com>
18826 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
18827 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
18828 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
18830 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18832 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18834 * nptl/Makefile (routines): Remove unregister-atfork.
18835 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
18836 (fork_handler_alloc): Remove function.
18837 (fork_handlers, fork_handler_init): New variables.
18838 (__fork_lock): Rename to atfork_lock.
18839 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
18840 to use a dynamic array to add/remove atfork handlers.
18841 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
18842 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
18843 Remove declaration.
18844 (fork_handler): Remove next, refcntr, and need_signal member.
18845 (__run_fork_handler_type): New enum.
18846 (__run_fork_handlers): New prototype.
18847 * nptl/register-atfork.c: Remove file.
18848 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
18850 * sysdeps/nptl/nptl-signals.h: Move to ...
18851 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
18853 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
18854 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
18855 unnecessary check for SIGTIMER.
18856 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
18857 remove unnecessary removal of SIGTIMER.
18858 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
18859 include-signals.h rename.
18860 * nptl/pthreadP.h: Likewise.
18861 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
18862 __is_internal_signal instead of __nptl_is_internal_signal.
18864 2018-02-22 Andrew Waterman <andrew@sifive.com>
18867 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
18868 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
18869 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
18870 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
18872 2018-02-22 DJ Delorie <dj@delorie.com>
18874 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
18876 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
18878 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
18879 do_misaligned, not misaligned8.
18881 2018-02-22 Steve Ellcey <sellcey@cavium.com>
18883 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
18884 Add memcpy_thunderx2.
18885 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
18887 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
18888 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
18889 and IS_THUNDERX2PA checks.
18890 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
18891 Use macro to set name appropriately.
18892 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
18893 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
18894 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
18896 (IS_THUNDERX2): New macro.
18898 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
18900 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18902 2018-02-21 Zack Weinberg <zackw@panix.com>
18904 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
18905 Define here, unconditionally.
18906 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
18907 * libio/libioP.h: Remove #if 0 blocks.
18908 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
18909 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
18910 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
18912 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
18913 Assume weak_alias is always defined.
18915 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
18916 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
18917 Remove #if 0 and #ifdef TODO blocks.
18918 Assume text_set_element is always defined.
18920 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
18921 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
18922 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
18924 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
18925 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
18926 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
18927 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
18928 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
18929 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
18930 Reformat bit flags for _flags field to make occupancy clearer.
18932 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
18933 Keep definitions consistent with those in libio/libio.h.
18935 * libio/libio.h (_IO_file_flags): Remove macro.
18936 All uses changed to _flags.
18938 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
18939 (__HAVE_COLUMN, _IO_BE): Don't define.
18940 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
18941 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
18942 * libio/libioP.h (EOF): Don't define.
18943 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
18944 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
18945 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
18946 testing _IO_UNIFIED_JUMPTABLES.
18948 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
18949 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
18950 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
18951 (_IO_size_t): Delete; all uses changed to size_t.
18952 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
18953 (_IO_off_t): Delete; all uses changed to off_t.
18954 (_IO_off64_t): Delete; all uses changed to off64_t.
18955 (_IO_pid_t): Delete; all uses changed to pid_t.
18956 (_IO_uid_t): Delete; all uses changed to uid_t.
18957 (_IO_wint_t): Delete; all uses changed to wint_t.
18958 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
18959 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
18960 (_IO_cookie_io_functions_t): Delete; all uses changed to
18961 cookie_io_functions_t.
18962 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
18963 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
18964 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
18965 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
18967 * libio/iofopncook.c: Remove unnecessary forward declarations.
18968 * libio/iolibio.h: Correct outdated commentary.
18969 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
18970 * stdio-common/fxprintf.c (__fxprintf_nocancel):
18971 Remove unnecessary casts.
18972 * stdio-common/getline.c: Use _IO_getdelim directly.
18973 Don't redefine ssize_t.
18974 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
18975 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
18976 Remove outdated comments.
18977 * stdio-common/vfscanf.c: Don't redefine va_list.
18979 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
18980 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
18981 Remove preprocessor conditionals on _LIBC and __USE_GNU,
18982 which are always true, and __cplusplus, which is always false.
18984 2018-02-21 Joseph Myers <joseph@codesourcery.com>
18988 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
18989 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
18990 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
18991 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
18993 [!_ISOMAC] (putc_unlocked): Likewise.
18994 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
18995 define inline if [__USE_EXTERN_INLINES].
18996 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
19001 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
19002 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
19003 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
19004 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
19005 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
19007 * time/tzfile.c (__tzfile_read): Likewise.
19009 2018-02-21 Mike FABIAN <mfabian@redhat.com>
19012 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
19014 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
19016 * io/fcntl.h: Fix a typo in a comment.
19018 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
19021 * include/features.h: Add _ISOC11_SOURCE to test for whether to
19022 define _DEFAULT_SOURCE.
19023 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
19025 2018-02-21 Florian Weimer <fweimer@redhat.com>
19028 * elf/cache.c (save_cache): Call fsync on temporary file before
19030 (save_aux_cache): Call fdatasync on temporary file before renaming
19033 2018-02-21 Florian Weimer <fweimer@redhat.com>
19036 * include/caller.h: Remove file.
19037 * elf/dl-caller.c: Likewise.
19038 * elf/Makefile (dl-routines): Remove dl-caller.
19039 (shared-only-routines): Do not add dl-caller.
19040 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
19042 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
19044 (dl_open_worker): Do not call __check_caller.
19045 (_dl_open): Do not set caller_dl_open member.
19046 * elf/rtld.c (_rtld_global_ro): Do not initialize
19047 _dl_check_caller member.
19048 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
19049 _dl_check_caller member.
19050 (_dl_check_caller): Remove declaration.
19051 * sysdeps/unix/sysv/linux/dl-execstack.c
19052 (_dl_make_stack_executable): Do not call __check_caller.
19054 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
19056 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
19057 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
19059 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
19061 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
19064 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
19067 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
19068 of 199606L, 200112L, and 200809L.
19069 (_XOPEN_SOURCE): Document special values of 600 and 700.
19070 (_ISOC11_SOURCE): Document macro.
19071 (_ATFILE_SOURCE): Likewise.
19072 (_FORTIFY_SOURCE): Likewise.
19074 2018-02-19 Joseph Myers <joseph@codesourcery.com>
19078 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
19079 and define as weak alias of __ferror_unlocked. Use
19081 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
19083 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
19084 function if [__USE_EXTERN_INLINES].
19085 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
19088 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
19091 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
19093 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
19096 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
19097 the GLIBC_2.1 version.
19099 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
19102 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
19103 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
19104 intl/tst-gettext-de.po from po/de.po by removing the
19105 POT-Creation-Date line.
19106 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
19108 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
19111 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
19113 * mach/Makefile (headers): Add mach/param.h.
19114 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
19115 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
19116 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
19117 (__ptsname_r): Move implementation to...
19118 (__ptsname_internal): ... new function. Add filling the STP
19121 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
19123 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
19126 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
19128 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
19131 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
19133 * nptl/Makefile (tst-mutex8-ENV): Delete.
19134 * nptl/tst-mutex8.c (check_type):
19135 Add runtime check if mutex will be elided.
19137 2018-02-15 Joseph Myers <joseph@codesourcery.com>
19141 * manual/install.texi (Configuring and compiling): Describe
19142 passing CC and CFLAGS on configure command line, not as
19143 environment variables. Use @code markup on those variables.
19144 Specify what options go in CC and what go in CFLAGS. Note the
19145 requirement to compile with optimization.
19146 * INSTALL: Regenerated.
19149 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
19150 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
19151 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
19152 __sigprocmask instead of sigprocmask.
19153 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
19155 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
19156 __sigsetjmp and sigprocmask.
19159 * include/argz.h (argz_next): Use libc_hidden_proto.
19160 (__argz_next): Likewise.
19161 * string-argz-next.c (__argz_next): Use libc_hidden_def.
19162 (argz_next): Use libc_hidden_weak.
19165 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
19167 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
19171 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
19173 * libio/iofputs.c (fputs): Use libc_hidden_weak.
19177 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
19178 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
19179 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
19180 (__feof_unlocked): New declaration, and inline function if
19181 [__USE_EXTERN_INLINES].
19182 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
19183 instead of feof_unlocked.
19184 * intl/localealias.c [_LIBC] (FEOF): Likewise.
19185 * nss/nsswitch.c (nss_parse_file): Likewise.
19186 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
19188 * time/getdate.c (__getdate_r): Likewise.
19189 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
19190 Define as macro to call __feof_unlocked.
19192 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
19194 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
19196 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
19198 * math/Makefile: Remove mpexp.c and mplog.c
19199 * sysdeps/i386/fpu/mpexp.c: Delete file.
19200 * sysdeps/i386/fpu/mplog.c: Likewise.
19201 * sysdeps/ia64/fpu/mpexp.c: Likewise.
19202 * sysdeps/ia64/fpu/mplog.c: Likewise.
19203 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
19204 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
19205 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
19206 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19207 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
19208 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
19209 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
19210 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
19211 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
19212 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
19213 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
19214 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
19215 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
19216 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
19217 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
19218 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
19220 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
19222 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19224 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19226 * sysdeps/sh/libm-test-ulps: Update.
19228 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19230 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
19233 2018-02-12 Zack Weinberg <zackw@panix.com>
19236 * posix/sys/types.h: Don't include sys/sysmacros.h.
19237 * misc/sys/sysmacros.h: Remove the conditional deprecation
19238 warnings for the macros defined by this header.
19240 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19242 * manual/probes.texi: Remove slowexp probes.
19243 * math/Makefile: Remove slowexp.
19244 * sysdeps/generic/math_private.h (__slowexp): Remove.
19245 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
19246 document error bounds.
19247 * sysdeps/i386/fpu/slowexp.c: Remove.
19248 * sysdeps/ia64/fpu/slowexp.c: Remove.
19249 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
19250 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
19251 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
19252 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
19253 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
19254 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
19255 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
19256 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
19257 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
19258 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
19259 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
19261 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
19264 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
19265 * benchtests/pow-inputs: Update comment for slow path cases.
19266 * manual/probes.texi (slowpow_p10): Delete removed probe.
19267 (slowpow_p10): Likewise.
19268 * math/Makefile: Remove halfulp.c and slowpow.c.
19269 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
19270 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
19271 (__halfulp): Remove.
19272 (__slowpow): Remove.
19273 * sysdeps/i386/fpu/halfulp.c: Delete file.
19274 * sysdeps/i386/fpu/slowpow.c: Likewise.
19275 * sysdeps/ia64/fpu/halfulp.c: Likewise.
19276 * sysdeps/ia64/fpu/slowpow.c: Likewise.
19277 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
19278 improve comments and add error analysis.
19279 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
19280 (power1): Remove function:
19281 (log1): Remove error argument, add error analysis.
19282 (my_log2): Remove function.
19283 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
19284 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19285 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
19286 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
19287 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
19288 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
19289 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
19290 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
19291 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
19292 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
19293 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
19294 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
19295 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
19296 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
19298 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
19300 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
19301 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
19303 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
19306 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
19307 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
19308 and PTRACE_SETHBPREGS.
19310 2018-02-10 Zack Weinberg <zackw@panix.com>
19313 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
19315 * malloc/tst-malloc-stats-cancellation.c: New test case.
19316 * malloc/Makefile: Add new test case.
19318 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
19320 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
19322 2018-02-10 Joseph Myers <joseph@codesourcery.com>
19324 * math/Makefile (libm-narrow-fns): Add add.
19325 (libm-test-funcs-narrow): Likewise.
19326 * math/Versions (GLIBC_2.28): Add narrowing add functions.
19327 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
19328 * math/gen-auto-libm-tests.c (test_functions): Add add.
19329 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
19330 (NARROW_ADD_ROUND_TO_ODD): Likewise.
19331 (NARROW_ADD_TRIVIAL): Likewise.
19332 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
19334 (__daddl): Likewise.
19335 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
19337 (CFLAGS-nldbl-dadd.c): New variable.
19338 (CFLAGS-nldbl-fadd.c): Likewise.
19339 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
19341 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
19343 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
19344 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
19345 * math/auto-libm-test-in: Add tests of add.
19346 * math/auto-libm-test-out-narrow-add: New generated file.
19347 * math/libm-test-narrow-add.inc: New file.
19348 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
19349 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
19350 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
19351 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
19352 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
19353 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
19354 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
19355 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
19356 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
19357 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
19358 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
19359 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
19360 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
19361 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
19362 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
19363 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
19364 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
19365 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
19366 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19367 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
19368 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19369 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19370 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19371 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19372 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19373 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19374 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19375 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19376 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19377 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19378 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19379 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
19382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19384 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19385 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19386 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19387 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19388 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19389 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19390 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
19391 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
19392 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19393 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19395 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
19396 (f128-pairs): New variable.
19397 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
19398 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
19400 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
19401 Also make tests add $(f128-loader-link) to gnulib-tests.
19403 2018-02-09 DJ Delorie <dj@redhat.com>
19406 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
19407 64-bit ELF type for 64-bit ELF objects.
19409 2018-02-09 Joseph Myers <joseph@codesourcery.com>
19411 * math/libm-test-driver.c (snan_tests_arg): New variable.
19412 * math/libm-test-support.h (snan_tests_arg): New declaration.
19413 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
19415 * math/Makefile (test-type-pairs): New variable.
19416 (test-type-pairs-f64xf128-yes): Likewise.
19417 (tests): Add test-narrow-macros.
19418 (libm-test-funcs-narrow): New variable.
19419 (libm-test-c-narrow): Likewise.
19420 (generated): Add $(libm-test-c-narrow).
19421 (libm-tests-base-narrow): New variable.
19422 (libm-tests-narrow): Likewise.
19423 (libm-tests): Add $(libm-tests-narrow).
19424 (libm-tests-for-type): Handle $(libm-tests-narrow).
19425 (libm-test-c-narrow-obj): New variable.
19426 ($(libm-test-c-narrow-obj)): New rule.
19427 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
19428 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
19429 $(o-iterator) to set dependencies and CFLAGS.
19430 * math/gen-auto-libm-tests.c: Document use for narrowing
19432 (output_for_one_input_case): Take argument NARROW.
19433 (generate_output): Likewise. Update call to
19434 output_for_one_input_case.
19435 (main): Take --narrow option. Update call to generate_output.
19436 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
19437 (apply_lit): Update call to _apply_lit.
19438 (apply_arglit): New function.
19439 (parse_args): Handle "a" arguments.
19440 (parse_auto_input): Handle format names using ":".
19441 * math/README.libm-test: Document "a" parameter type.
19442 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
19443 (ARG_TYPE_TRUE_MIN): Likewise.
19444 (ARG_TYPE_MAX): Likwise.
19445 (ARG_MIN_EXP): Likewise.
19446 (ARG_MAX_EXP): Likewise.
19447 (ARG_MANT_DIG): Likewise.
19448 (TEST_COND_arg_ibm128): Likewise.
19449 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
19450 (TEST_COND_arg_fmt): New macro.
19451 (init_max_error): Update prototype.
19452 * math/libm-test-support.c (test_ibm128): New variable.
19453 (init_max_error): Take argument testing_ibm128 and set test_ibm128
19454 instead of using [TEST_COND_ibm128] conditional.
19455 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
19456 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
19457 [TEST_NARROW] (TEST_MSG): New definition.
19458 (arg_plus_zero): New macro.
19459 (arg_minus_zero): Likewise.
19460 (arg_plus_infty): Likewise.
19461 (arg_minus_infty): Likewise.
19462 (arg_qnan_value_pl): Likewise.
19463 (arg_qnan_value): Likewise.
19464 (arg_snan_value_pl): Likewise.
19465 (arg_snan_value): Likewise.
19466 (arg_max_value): Likewise.
19467 (arg_min_value): Likewise.
19468 (arg_min_subnorm_value): Likewise.
19469 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
19470 (RUN_TEST_LOOP_aa_f): New macro.
19471 (TEST_SUFF): New macro.
19472 (TEST_SUFF_STR): Likewise.
19473 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
19474 (TEST_COND_any_ibm128): New macro.
19475 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
19476 this_func. Update call to init_max_error.
19477 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
19478 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
19479 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
19480 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
19481 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
19482 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
19483 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
19484 * math/test-math-scalar.h (TEST_NARROW): Likewise.
19485 * math/test-math-vector.h (TEST_NARROW): Likewise.
19486 * math/test-arg-double.h: New file.
19487 * math/test-arg-float128.h: Likewise.
19488 * math/test-arg-float32x.h: Likewise.
19489 * math/test-arg-float64.h: Likewise.
19490 * math/test-arg-float64x.h: Likewise.
19491 * math/test-arg-ldouble.h: Likewise.
19492 * math/test-math-narrow.h: Likewise.
19493 * math/test-narrow-macros.c: Likewise.
19494 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
19495 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
19496 test-narrow-macros-ldbl-64.
19497 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
19499 * math/bits/mathcalls-narrow.h: New file.
19500 * include/bits/mathcalls-narrow.h: Likewise.
19501 * math/math-narrow.h: Likewise.
19502 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
19503 (__MATHCALL_NARROW_ARGS_2): Likewise.
19504 (__MATHCALL_NARROW_ARGS_3): Likewise.
19505 (__MATHCALL_NARROW_NORMAL): Likewise.
19506 (__MATHCALL_NARROW_REDIR): Likewise.
19507 (__MATHCALL_NARROW): Likewise.
19508 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
19509 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
19511 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
19512 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
19513 (libm-narrow-fns): New variable.
19514 (libm-narrow-types-basic): Likewise.
19515 (libm-narrow-types-ldouble-yes): Likewise.
19516 (libm-narrow-types-float128-yes): Likewise.
19517 (libm-narrow-types-float128-alias-yes): Likewise.
19518 (libm-narrow-types): Likewise.
19519 (libm-routines): Add narrowing functions.
19520 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
19521 (libc_feholdexcept_setroundf128): New macro.
19522 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
19523 * sysdeps/ieee754/float128/float128_private.h: Include
19524 <math/math-narrow.h>.
19525 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
19526 Undefine and redefine.
19527 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
19528 (libm_alias_float_ldouble): Undefine and redefine.
19529 (libm_alias_double_ldouble): Likewise.
19531 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
19533 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
19535 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
19538 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
19540 * manual/creature.texi: Convert references to gcc.info to gcc.
19541 * manual/stdio.texi: Likewise.
19542 * manual/string.texi: Likewise.
19544 2018-02-07 Joseph Myers <joseph@codesourcery.com>
19547 * posix/bits/types.h (__int_least8_t): New typedef.
19548 (__uint_least8_t): Likewise.
19549 (__int_least16_t): Likewise.
19550 (__uint_least16_t): Likewise.
19551 (__int_least32_t): Likewise.
19552 (__uint_least32_t): Likewise.
19553 (__int_least64_t): Likewise.
19554 (__uint_least64_t): Likewise.
19555 * sysdeps/generic/stdint.h (int_least8_t): Define using
19557 (int_least16_t): Define using __int_least16_t.
19558 (int_least32_t): Define using __int_least32_t.
19559 (int_least64_t): Define using __int_least64_t.
19560 (uint_least8_t): Define using __uint_least8_t.
19561 (uint_least16_t): Define using __uint_least16_t.
19562 (uint_least32_t): Define using __uint_least32_t.
19563 (uint_least64_t): Define using __uint_least64_t.
19564 * wcsmbs/uchar.h: Include <bits/types.h>.
19565 (char16_t): Define using __uint_least16_t conditional only on
19567 (char32_t): Define using __uint_least32_t conditional only on
19569 * wcsmbs/test-char-types.c: New file.
19570 * wcsmbs/Makefile (tests): Add test-char-types.
19572 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
19575 2018-02-07 Zack Weinberg <zackw@panix.com>
19577 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
19578 Delete all contents except for definitions of _G_HAVE_MMAP and
19579 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
19580 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
19581 sysdeps/unix/sysv/linux/_G_config.h. Make same content
19584 * libio/libio.h: Don't include bits/_G_config.h here.
19585 Include stddef.h with __need_wchar_t defined. Include
19586 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
19587 Define _IO_iconv_t here, directly.
19588 Don't define _IO_HAVE_ST_BLKSIZE.
19589 * libio/libioP.h: Include _G_config.h here. Move include of
19590 shlib-compat.h up with rest of includes. Simplify conditionals
19591 controlling definition of _IO_JUMPS_OFFSET.
19593 * csu/init.c: Remove always-true #if around entire file.
19594 Don't include stdio.h. Set _IO_stdin_used to hardwired
19595 constant 0x20001, and update commentary.
19596 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
19597 Replace all uses of _G_va_list with __gnuc_va_list.
19598 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
19599 instead of #if _IO_HAVE_ST_BLKSIZE.
19600 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
19601 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
19604 * libio/bits/libio.h: Move back to libio/libio.h and adjust
19605 multiple-include guard to match.
19606 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
19608 Remove preprocessor conditionals that are always true and/or
19609 redundant to other preprocessor conditionals in the same nest.
19610 Include shlib-compat.h unconditionally.
19611 Error out if _LIBC is not defined, or if _ISOMAC is defined,
19612 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
19613 defined after including stdio.h.
19614 Use __BEGIN_DECLS/__END_DECLS.
19616 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
19617 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
19618 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
19620 2018-02-07 Zack Weinberg <zackw@panix.com>
19622 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
19623 New single-type headers split from _G_config.h.
19624 * libio/bits/types/cookie_io_functions_t.h
19625 * libio/bits/types/struct_FILE.h
19626 New single-type headers split from libio.h.
19628 * libio/Makefile: Install the above new headers. Don't install
19629 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
19631 * libio/_G_config.h, libio/libio.h: Delete file.
19633 * libio/bits/libio.h: Remove improper-inclusion guard.
19634 Include stdio.h and don't repeat anything that it does.
19635 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
19636 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
19637 __io_read_fn as cookie_read_function_t,
19638 __io_write_fn as cookie_write_function_t,
19639 __io_seek_fn as cookie_seek_function_t,
19640 __io_close_fn as cookie_close_function_t,
19641 and _IO_cookie_io_functions_t as cookie_io_functions_t.
19642 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
19643 here, in the "compatibility defines" section. Remove an #if 0
19644 block. Use the "body" macros from bits/types/struct_FILE.h to
19645 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
19646 and _IO_ferror_unlocked.
19647 Move prototypes of __uflow and __overflow...
19649 * libio/stdio.h: ...here. Don't include bits/libio.h.
19650 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
19651 directly from stdarg.h. Include bits/types/__fpos_t.h,
19652 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
19653 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
19654 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
19655 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
19656 cookie_io_functions_t, not _IO_cookie_io_functions_t;
19657 __ssize_t, not _IO_ssize_t. Unconditionally define
19658 BUFSIZ as 8192 and EOF as (-1).
19660 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
19661 macros from bits/types/struct_FILE.h instead of _IO_* macros
19662 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
19663 instead of _IO_ssize_t.
19664 * libio/bits/stdio2.h: Similarly.
19666 * libio/iolibio.h: Add multiple-include guard.
19667 Include bits/libio.h after stdio.h.
19668 * libio/libioP.h: Add multiple-include guard.
19669 Include stdio.h and bits/libio.h before iolibio.h.
19671 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
19672 * include/bits/types/cookie_io_functions_t.h
19673 * include/bits/types/struct_FILE.h: New wrappers.
19675 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
19676 Get definitions of _G_fpos_t and _G_fpos64_t from
19677 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
19678 respectively. Remove improper-inclusion guards.
19680 * conform/data/stdio.h-data: Update expectations of va_list.
19681 * scripts/check-installed-headers.sh: Remove special case for
19682 libio.h and _G_config.h.
19684 2018-02-07 Joseph Myers <joseph@codesourcery.com>
19688 * include/sys/sysmacros.h [!_ISOMAC]
19689 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
19690 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
19691 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
19692 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
19694 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
19695 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
19697 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
19698 Undefine and redefine to add use __gnu_dev_ prefix.
19699 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
19701 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
19702 and define as hidden inline function.
19703 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
19705 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
19707 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
19708 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
19709 (gnu_dev_minor): Likewise.
19710 (gnu_dev_makedev): Likewise.
19711 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
19713 * posix/wordexp.c (exec_comm_child): Likewise.
19714 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
19715 instead of minor and __gnu_dev_major instead of major.
19716 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
19717 __gnu_dev_major instead of major.
19718 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
19719 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
19720 instead of gnu_dev_minor.
19721 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
19722 (SLAVE_P): Likewise.
19723 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
19724 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
19728 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
19730 * locale/weightwc.h (findidx): Likewise.
19732 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
19734 * manual/probes.texi (slowlog): Delete documentation of removed probe.
19735 (slowlog_inexact): Likewise
19736 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
19737 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
19739 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
19742 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
19743 missing second underscore to parameter name.
19745 2018-02-06 Joseph Myers <joseph@codesourcery.com>
19751 * bits/byteswap.h: Update file comment. Do not include
19752 <bits/byteswap-16.h>.
19753 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
19755 (__bswap_16): Define as inline function.
19756 (__bswap_constant_32): Reformat definition.
19757 (__bswap_32): Always define as inline function, not macro, using
19758 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
19759 otherwise __bswap_constant_32.
19760 (__bswap_constant_64): Reformat definition. Do not use
19761 __extension__ here.
19762 (__bswap_64): Always define as inline function, not macro. Use
19763 __extension__ on function definition. Use __builtin_bswap64 if
19764 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
19765 * string/test-endian-file-scope.c: New file.
19766 * string/test-endian-sign-conversion.c: Likewise.
19767 * string/Makefile (headers): Remove bits/byteswap-16.h.
19768 (tests): Add test-endian-file-scope and
19769 test-endian-sign-conversion.
19770 (CFLAGS-test-endian-sign-conversion.c): New variable.
19771 * bits/byteswap-16.h: Remove file.
19772 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
19773 * sysdeps/ia64/bits/byteswap.h: Likewise.
19774 * sysdeps/m68k/bits/byteswap.h: Likewise.
19775 * sysdeps/s390/bits/byteswap-16.h: Likewise.
19776 * sysdeps/s390/bits/byteswap.h: Likewise.
19777 * sysdeps/tile/bits/byteswap.h: Likewise.
19778 * sysdeps/x86/bits/byteswap-16.h: Likewise.
19779 * sysdeps/x86/bits/byteswap.h: Likewise.
19782 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
19783 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
19784 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
19785 199901L] (__restrict): Define to restrict.
19788 * string/testcopy.c: Include <support/support.h>. Do not include
19789 <malloc.h>. Use <support/test-driver.c>.
19790 (main): Rename to do_test. Make static. Use xmalloc instead of
19794 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
19795 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
19796 (SSIZE_MAX): Define to INT_MAX.
19797 * posix/test-ssize-max.c: New file.
19798 * posix/Makefile (tests): Add test-ssize-max.
19801 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
19802 <support/support.h>. Do not include <malloc.h>.
19803 (query_auxv): Use xmalloc instead of malloc.
19806 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
19807 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
19810 2018-02-06 Florian Weimer <fweimer@redhat.com>
19813 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19814 Use scratch_buffer instead of extend_alloca.
19816 2018-02-06 Zack Weinberg <zackw@panix.com>
19818 * libio/stdio.h: Don't define getc or putc as macros.
19819 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
19820 not _IO_getc and _IO_putc.
19822 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
19823 * stdio-common/tstgetln.c: Don't redefine ssize_t.
19825 2018-02-06 Joseph Myers <joseph@codesourcery.com>
19827 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
19828 (TCP_FASTOPEN_NO_COOKIE): Likewise.
19830 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
19833 * elf/elf.h (NT_PRFPREG): New macro.
19834 (NT_S390_VXRS_LOW): Likewise.
19835 (NT_S390_VXRS_HIGH): Likewise.
19836 (NT_S390_GS_CB): Likewise.
19837 (NT_S390_GS_BC): Likewise.
19838 (NT_S390_RI_CB): Likewise.
19840 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
19841 (MAP_SYNC): New macro.
19842 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
19844 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
19845 (MAP_SYNC): Likewise.
19846 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
19847 (MAP_SYNC): Likewise.
19848 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
19849 (MAP_SYNC): Likewise.
19850 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
19851 (MAP_SYNC): Likewise.
19852 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
19853 (MAP_SYNC): Likewise.
19854 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
19855 (MAP_SYNC): Likewise.
19856 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
19858 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
19861 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
19862 (MAP_SHARED_VALIDATE): New macro.
19863 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
19864 (MAP_SHARED_VALIDATE): Likewise.
19866 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19868 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
19869 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
19870 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
19872 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19874 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
19875 (DT_NUM): Updated to 35.
19877 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19879 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
19880 __builtin_expect with __glibc_likely and __glibc_unlikely.
19881 (elf_machine_rela): Likewise.
19882 (elf_machine_lazy_rel): Likewise.
19884 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19886 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
19887 __builtin_expect with __glibc_likely and __glibc_unlikely.
19888 (elf_machine_lazy_rel): Likewise.
19890 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19893 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
19895 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
19897 2018-02-05 Andreas Schwab <schwab@suse.de>
19900 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
19903 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
19905 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
19906 not check against PTHREAD_STACK_MIN.
19908 2018-02-02 Sean McKean <smckean83@gmail.com>
19911 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
19913 2018-02-02 Florian Weimer <fweimer@redhat.com>
19916 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
19917 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
19918 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
19919 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
19920 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
19921 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
19922 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
19923 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
19924 * manual/llio.texi (Scatter-Gather): Mention offset -1.
19925 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
19926 * misc/tst-preadvwritev2.c (do_test): Call it.
19927 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
19929 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
19931 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
19933 * benchtests/bench-memcmp.c: Print json instead of plain text.
19935 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
19938 2018-02-01 Joseph Myers <joseph@codesourcery.com>
19940 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
19942 (s390_sthyi): New syscall.
19944 * sysdeps/generic/ldbl-classify-compat.h: New file.
19945 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
19946 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
19947 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
19948 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
19949 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
19950 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
19951 * sysdeps/ieee754/dbl-64/s_finite.c: Include
19952 <ldbl-classify-compat.h>.
19953 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19954 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
19955 <ldbl-classify-compat.h>.
19956 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19957 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
19958 <ldbl-classify-compat.h>.
19959 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19960 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
19961 <ldbl-classify-compat.h>.
19962 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19963 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
19964 <ldbl-classify-compat.h>.
19965 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19966 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
19967 <ldbl-classify-compat.h>.
19968 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19969 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
19970 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
19971 * sysdeps/m68k/coldfire/math_private.h: Remove file.
19972 * sysdeps/microblaze/math_private.h: Likewise.
19973 * sysdeps/nios2/math_private.h: Likewise.
19974 * sysdeps/sh/math_private.h: Likewise.
19976 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
19977 * sysdeps/m68k/coldfire/math_private.h: ... here.
19978 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
19979 * sysdeps/tile/math_private.h: Likewise.
19980 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
19982 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
19985 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
19987 (libc_fetestexcept): Likewise.
19988 (libc_feupdateenv_test): Likewise.
19989 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
19990 (libc_fetestexcept): Likewise.
19991 (libc_feupdateenv_test): Likewise.
19992 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
19993 (libc_fetestexcept): Likewise.
19994 (libc_feupdateenv_test): Likewise.
19995 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
19996 (libc_fetestexcept): Likewise.
19997 (libc_feupdateenv_test): Likewise.
19999 * sysdeps/generic/math_private.h
20000 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
20001 New inline function.
20002 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
20005 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
20006 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
20007 * sysdeps/generic/math_private.h
20008 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
20010 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
20012 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
20014 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
20016 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
20018 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
20020 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
20021 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
20022 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
20023 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
20024 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
20025 (__fegetenv): Likewise.
20026 (fesetenv): Likewise.
20027 (__fesetenv): Likewise.
20028 (feupdateenv): Likewise.
20029 (__feupdateenv): Likewise.
20030 (fegetround): Likewise.
20031 (__fegetround): Likewise.
20032 (fesetround): Likewise.
20033 (__fesetround): Likewise.
20035 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
20036 (feraiseexcept): New macro.
20037 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
20038 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
20040 (__feraiseexcept): Likewise.
20041 (feclearexcept): Likewise.
20042 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
20043 (__feraiseexcept): Likewise.
20044 (feclearexcept): Likewise.
20045 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
20046 (__feraiseexcept): Likewise.
20047 (feclearexcept): Likewise.
20048 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
20049 (__feraiseexcept): Likewise.
20050 (feclearexcept): Likewise.
20051 (fetestexcept): Likewise.
20053 * sysdeps/m68k/coldfire/math-tests.h: New file.
20055 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
20056 * sysdeps/m68k/bits/fenv.h: ... here.
20057 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
20059 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
20061 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
20063 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
20065 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
20067 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
20069 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
20070 (__FE_UNDEFINED): New enum constant.
20071 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
20073 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
20075 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
20077 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
20078 to match generic bits/fenv.h.
20079 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
20082 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
20084 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
20085 * soft-fp/half.h (union _FP_UNION_H): Likewise.
20086 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
20087 * soft-fp/single.h (union _FP_UNION_S): Likewise.
20089 2018-02-01 Carlos O'Donell <carlos@redhat.com>
20090 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
20091 Joseph Myers <joseph@codesourcery.com>
20094 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
20095 (__log1p): Disable -Wmaybe-uninitialized for -Os around
20096 computation using c.
20097 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
20098 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
20099 computation using c.
20101 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
20103 * version.h (RELEASE): Set to "development".
20104 (VERSION): Set to "2.27.9000".
20105 * NEWS (2.28): New section.
20107 * version.h (RELEASE): Set to "stable".
20108 (VERSION): Set to "2.27".
20109 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
20111 * NEWS: Add the list of bugs fixed in 2.27.
20113 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20115 * stdlib/test-atexit-race-common.c (do_test): Check stack size
20116 against PTHREAD_STACK_MIN.
20118 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
20120 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
20122 (Rafal Luzynski, Andreas Schwab): Update.
20124 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
20127 * NEWS: List the languages which actually use the alternative
20128 months feature in this release. Also explain that "alt_mon" and
20129 "ab_alt_mon" are optional.
20131 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
20134 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
20136 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
20138 * manual/install.texi (Tools for Compilation): Update the newest
20139 versions of gcc, binutils, texinfo, gawk, bison, and sed.
20140 * INSTALL: Regenerated.
20142 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20144 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
20145 instead of __builtin_expect.
20147 2018-01-30 Florian Weimer <fweimer@redhat.com>
20149 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
20151 * nss/tst-nss-getpwent.c (do_test): Likewise.
20153 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
20156 * localedata/locales/hr_HR (mon): Rename to...
20158 (mon): Import from CLDR (genitive case).
20159 (d_t_fmt): Update the comment.
20161 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
20163 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
20164 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
20165 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
20167 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
20169 * mach/Versions: Fix version when __mach_host_self_ was added.
20170 * hurd/Versions: Fix version when _hurd_exec_paths was added.
20171 * sysdeps/mach/hurd/i386/ld.abilist: New file.
20172 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
20173 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
20174 * sysdeps/mach/hurd/i386/libc.abilist: New file.
20175 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
20176 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
20177 * sysdeps/mach/hurd/i386/libm.abilist: New file.
20178 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
20179 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
20180 * sysdeps/mach/hurd/i386/librt.abilist: New file.
20181 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
20182 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
20183 || to respect codestyle.
20184 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
20185 (do_test_bz20181): Rename accordingly.
20186 * malloc/malloc.c: Include <assert.h>.
20187 (assert): Do not define.
20188 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
20189 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
20190 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
20191 * sysdeps/mach/hurd/hp-timing.h: New file.
20192 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
20194 2018-01-29 Darius Rad <darius@bluespec.com>
20196 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
20198 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
20200 * sysdeps/init_array/crti.S (.section .init_array): Add
20201 PREINIT_FUNCTION when defined.
20202 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
20203 * config.h.in: Regenerate.
20204 * manual/platform.texi: Add RISC-V documenation for
20205 __riscv_flush_icache.
20206 * sysdeps/riscv/__longjmp.S: New file.
20207 * sysdeps/riscv/backtrace.c: Likewise.
20208 * sysdeps/riscv/bits/endian.h: Likewise.
20209 * sysdeps/riscv/bits/setjmp.h: Likewise.
20210 * sysdeps/riscv/bits/wordsize.h: Likewise.
20211 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
20212 * sysdeps/riscv/bsd-setjmp.c: Likewise.
20213 * sysdeps/riscv/dl-trampoline.S: Likewise.
20214 * sysdeps/riscv/gccframe.h: Likewise.
20215 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
20216 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
20217 * sysdeps/riscv/machine-gmon.h: Likewise.
20218 * sysdeps/riscv/memusage.h: Likewise.
20219 * sysdeps/riscv/setjmp.S: Likewise.
20220 * sysdeps/riscv/sys/asm.h: Likewise.
20221 * sysdeps/riscv/tls-macros.h: Likewise.
20222 * sysdeps/riscv/dl-tls.h: New file.
20223 * sysdeps/riscv/libc-tls.c: Likewise.
20224 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
20225 * sysdeps/riscv/nptl/tls.h: Likewise.
20226 * sysdeps/riscv/stackinfo.h: Likewise.
20227 * sysdeps/riscv/bits/fenv.h: New file.
20228 * sysdeps/riscv/e_sqrtl.c: Likewise.
20229 * sysdeps/riscv/fpu_control.h: Likewise.
20230 * sysdeps/riscv/math-tests.h: Likewise.
20231 * sysdeps/riscv/nofpu/Implies: Likewise.
20232 * sysdeps/riscv/sfp-machine.h: Likewise.
20233 * sysdeps/riscv/tininess.h: Likewise.
20234 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
20235 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
20236 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
20237 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
20238 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
20239 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
20240 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
20241 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
20242 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
20243 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
20244 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
20245 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
20246 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
20247 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
20248 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
20249 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
20250 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
20251 * sysdeps/riscv/rvd/s_finite.c: Likewise.
20252 * sysdeps/riscv/rvd/s_fma.c: Likewise.
20253 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
20254 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
20255 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
20256 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
20257 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
20258 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
20259 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
20260 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
20261 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
20262 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
20263 * sysdeps/riscv/rvf/fegetround.c: Likewise.
20264 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
20265 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
20266 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
20267 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
20268 * sysdeps/riscv/rvf/fesetround.c: Likewise.
20269 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
20270 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
20271 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
20272 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
20273 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
20274 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
20275 * sysdeps/riscv/rvf/math_private.h: Likewise.
20276 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
20277 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
20278 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
20279 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
20280 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
20281 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
20282 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
20283 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
20284 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
20285 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
20286 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
20287 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
20288 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
20289 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
20290 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
20291 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
20292 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
20293 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
20294 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
20295 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
20296 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
20297 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
20298 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
20299 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
20300 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
20301 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
20302 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
20303 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
20304 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
20305 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
20306 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
20307 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
20308 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
20309 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
20310 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
20311 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
20312 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
20313 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
20314 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
20315 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
20316 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
20317 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
20318 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
20319 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
20320 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
20321 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
20322 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
20323 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
20324 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
20325 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
20326 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
20327 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
20328 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
20329 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
20330 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
20331 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
20332 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
20333 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
20334 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
20335 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
20336 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
20337 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
20338 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
20339 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
20340 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
20341 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
20342 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
20343 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
20344 * sysdeps/riscv/Implies: New file.
20345 * sysdeps/riscv/Makefile: Likewise.
20346 * sysdeps/riscv/configure: Likewise.
20347 * sysdeps/riscv/configure.ac: Likewise.
20348 * sysdeps/riscv/nptl/Makefile: Likewise.
20349 * sysdeps/riscv/preconfigure: Likewise.
20350 * sysdeps/riscv/rv64/Implies-after: Likewise.
20351 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
20352 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
20353 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
20354 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
20355 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
20356 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
20357 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
20358 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
20359 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
20360 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
20361 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
20362 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
20363 (Config): Likewise.
20365 2018-01-29 Florian Weimer <fweimer@redhat.com>
20368 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
20369 libnsl_hidden_proto.
20370 * include/rpcsvc/yp.h (yp_xdrall): Declare with
20371 libnsl_hidden_proto.
20372 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
20373 * nis/Makefile (libnsl-routines): Add nss-default only for
20374 build-obsolete-nsl.
20375 * nis/nis_defaults.c (__nis_default_ttl): Add
20376 libnsl_hidden_nolink_def.
20377 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
20379 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
20380 * nis/ypclnt.c (yp_maplist): Likewise.
20382 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
20384 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20385 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
20387 2018-01-29 Joseph Myers <joseph@codesourcery.com>
20389 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
20390 clean -dxfq for git updates when replacing sources.
20392 * scripts/build-many-glibcs.py (Config.build_gcc): Use
20393 --disable-libcilkrts unconditionally, not just for the final GCC
20396 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
20399 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20402 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
20405 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20408 * localedata/locales/be_BY (mon): Rename to...
20409 (alt_mon): This, then synchronize with CLDR (nominative case).
20410 (abmon): Rename to...
20411 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
20412 (mon): Import from CLDR (genitive case).
20414 * localedata/locales/be_BY@latin (mon): Rename to...
20416 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
20418 * localedata/locales/be_BY@latin (lang_name): Reworded to
20419 "biełaruskaja mova".
20421 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20424 * localedata/locales/el_CY (mon): Renamed to...
20426 (mon): Import from CLDR (genitive case).
20427 * localedata/locales/el_GR: Likewise.
20429 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20432 * localedata/locales/ru_RU (mon): Rename to...
20434 (abmon): Rename to...
20435 (ab_alt_mon): This.
20436 (mon): Import from CLDR (genitive case).
20437 (abmon): Copy from the old content except the 5th month which is
20438 now in the genitive case, even when abbreviated.
20439 * localedata/locales/ru_UA: Likewise.
20440 * time/tst-strptime.c (day_tests): Add an actual example of
20441 a difference between %b and %Ob in Russian.
20443 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
20445 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
20446 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
20448 * resolv/res-close.c: Include <stdlib.h>.
20449 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
20450 <sys/wait.h>, <time.h>, <sys/uio.h>.
20451 (NOT_CANCEL_H): Add inclusion guard.
20452 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
20453 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
20454 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
20456 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
20457 vm_address_t * to ElfW(Addr) * for dl_main parameter.
20458 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
20460 * sysdeps/pthread/timer_create.c (timer_create): Do not use
20461 timer_ptr2id to cast struct timer_node * to void *.
20462 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
20463 --disable-libcilkrts to gcc configure.
20464 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
20465 and make them the default for now.
20466 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
20467 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
20468 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
20469 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
20470 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
20472 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
20473 __task_terminate would ever return successfully.
20474 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
20476 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
20477 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
20478 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
20479 critical section to make code simpler and avoid warning.
20480 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
20481 critical section to make code simpler and avoid warning.
20482 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
20483 const char * instead of char *.
20484 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
20485 __hurd_file_name_split, hurd_file_name_split,
20486 __hurd_directory_name_split, hurd_directory_name_split,
20487 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
20488 hurd_file_name_path_lookup): Make lookup function parameter take a
20489 const char *name instead of char *name.
20490 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
20491 __hurd_directory_name_split): Likewise.
20492 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
20493 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
20494 * sysdeps/mach/hurd/check_native.c: New file.
20495 * sysdeps/mach/hurd/check_pf.c: New file.
20496 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
20497 (__freeifaddrs): Define macro to freeifaddrs.
20498 * sysdeps/mach/hurd/libhurduser.abilist: New file.
20499 * sysdeps/mach/libmachuser.abilist: New file.
20500 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
20501 (do_test_bz20181): Rename accordingly.
20502 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
20503 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
20505 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
20506 version only if __USE_EXTERN_INLINES is defined.
20507 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
20508 __hurd_sockfail): Likewise.
20509 (_hurd_fd_get): Always declare functions, and provide inline versions
20510 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
20511 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
20512 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
20513 _hurd_port_set): Always declare functions, and provide inline versions
20514 only if __USE_EXTERN_INLINES and _LIBC are defined and
20516 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
20517 _hurd_critical_section_unlock): Likewise.
20518 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
20519 * __hurd_threadvar_location): Likewise.
20520 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
20521 _hurd_userlink_clear): Likewise.
20522 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
20523 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
20524 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
20525 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
20526 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
20527 __spin_lock_locked): Likewise.
20528 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
20529 __spin_lock_locked): Likewise.
20530 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
20531 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
20532 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
20533 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
20534 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
20535 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
20536 _POSIX_NO_TRUNC): Define to 0.
20537 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
20538 check size against PTHREAD_STACK_MIN.
20539 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
20540 IS_IN(libpthread)]: Include <sigsetops.h>.
20541 * mach/Makefile (user-interfaces): Add mach/gnumach.
20542 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
20543 * sysdeps/mach/configure (mach_interface_list): Regenerate.
20544 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
20545 instead of invalid -1.
20546 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
20547 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
20548 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
20551 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
20553 * hurd/fcntl-internal.h: New file.
20555 2018-01-27 James Clarke <jrtc27@jrtc27.com>
20557 * sysdeps/hppa/fpu/libm-test-ulps: Update.
20559 * sysdeps/alpha/fpu/libm-test-ulps: Update.
20561 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
20564 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
20565 Build only shared objects.
20567 2018-01-26 Carlos O'Donell <carlos@redhat.com>
20569 * README: Update for hppa.
20571 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20573 * sysdeps/sparc/fpu/libm-test-ulps: Update
20574 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
20576 2018-01-26 Carlos O'Donell <carlos@redhat.com>
20580 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20583 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20584 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
20585 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20586 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
20589 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20592 * bits/types/__cancel_jmp_buf_tag.h: New file.
20593 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
20594 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
20595 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
20596 * nptl/Makefile (headers): Add
20597 bits/types/__cancel_jmp_buf_tag.h.
20598 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
20599 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
20600 * sysdeps/nptl/pthread.h: Include
20601 <bits/types/__cancel_jmp_buf_tag.h>.
20602 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
20604 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
20606 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
20609 * localedata/locales/uk_UA (mon): Renamed to...
20611 (alt_digits): "0" removed and then renamed to...
20613 (date_fmt): Definition changed not to use the alternative
20616 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
20618 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
20619 FLAG_RISCV_FLOAT_ABI_DOUBLE.
20620 * elf/elf.h (EF_RISCV_RVC): New define.
20621 (EF_RISCV_FLOAT_ABI): Likewise.
20622 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
20623 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
20624 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
20625 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
20626 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
20628 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
20630 2018-01-25 Andreas Schwab <schwab@suse.de>
20632 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
20634 * sysdeps/gnu/configure: Regenerate.
20635 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
20636 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
20638 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
20639 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
20640 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
20641 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
20642 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
20644 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
20646 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
20647 URL, and run autoconf, make it the default for now.
20649 2018-01-24 Joseph Myers <joseph@codesourcery.com>
20651 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20652 soft-float ColdFire configuration.
20654 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
20655 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
20656 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
20658 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
20661 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
20663 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
20665 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
20668 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
20669 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
20670 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
20673 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
20676 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
20677 Rename to __reserved and add comment.
20678 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
20679 Rename to __reserved.
20681 2018-01-24 Joseph Myers <joseph@codesourcery.com>
20683 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20684 i686-gnu configurations.
20685 (Context.run_builds): Include mig, gnumach and hurd in components
20687 (Context.checkout): Add mig, gnumach and hurd to components.
20688 (Context.checkout_tar): Add URL mappings for mig, gnumach and
20690 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
20691 (Config.build): Install gnumach headers, build mig and install
20692 hurd headers for 'gnu' OS.
20693 (Config.install_gnumach_headers): New function.
20694 (Config.install_hurd_headers): Likewise.
20695 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
20696 when building for 'gnu' OS.
20698 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
20700 * manual/tunables.texi (Hardware Capability Tunables): Fix
20703 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
20705 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
20706 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
20707 (ALTMON_11, ALTMON_12): Improve documentation.
20708 * manual/time.texi (strftime): Likewise.
20710 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20713 * localedata/locales/pl_PL: Alternative month names added,
20714 primary month names are genitive now.
20715 * time/tst-strptime.c (day_tests): Actually use a genitive case
20716 of a month name in Polish language.
20718 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20721 * manual/locale.texi: Document ALTMON_1..12 constants for
20722 nl_langinfo. Specify when to use ALTMON instead of MON.
20723 * manual/time.texi (strftime, strptime): Document GNU extension
20724 permitting O modifier with %B and %b. Specify when to use
20727 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20730 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
20731 names, define them as the same as abbreviated month names explicitly.
20732 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
20733 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
20734 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
20735 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
20736 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
20737 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
20738 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
20739 _NL_WABALTMON_12): New enum constants.
20740 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
20741 wab_alt_mon, and ab_alt_mon_defined members.
20742 (time_output): Output ab_alt_mon and wab_alt_mon members.
20743 (time_read): Read them, initialize them as copies of abmon and wabmon
20744 respectively if they are missing, initialize ab_alt_mon_defined.
20745 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
20746 * locale/programs/locfile-kw.h: Regenerate.
20747 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
20748 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
20750 * time/strftime_l.c (a_altmonth, aam_len): New macros.
20751 [!COMPILE_WIDE] (ABALTMON_1): New macro.
20752 (__strftime_internal): Handle %Ob and %Oh formats.
20753 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
20754 (__strptime_internal): Handle %Ob and %Oh formats.
20755 * time/tst-strptime.c (day_tests): Add more tests to parse different
20756 forms of month names including the new %Ob format specifier.
20758 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20761 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
20762 define them as the same as primary full month names explicitly.
20763 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
20764 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
20765 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
20766 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
20767 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
20768 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
20769 _NL_WALTMON_12): New enum constants.
20770 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
20771 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
20773 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
20774 walt_mon, and alt_mon_defined members.
20775 (time_output): Output alt_mon and walt_mon members.
20776 (time_read): Read them, initialize them as copies of mon and wmon
20777 respectively if they are missing, initialize alt_mon_defined.
20778 * locale/programs/locfile-kw.gperf (alt_mon): Define.
20779 * locale/programs/locfile-kw.h: Regenerate.
20780 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
20781 * localedata/tst-langinfo.c (map): Add tests for the new constants
20782 ALTMON_1 .. ALTMON_12.
20783 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
20785 * time/strftime_l.c (f_altmonth): New macro.
20786 (__strftime_internal): Handle %OB format.
20787 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
20788 (__strptime_internal): Handle %OB format.
20789 * time/tst-strptime.c (day_tests): Add tests to parse different forms
20790 of month names including the new %OB format specifier.
20792 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20795 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
20796 from ABORT_TRANSACTION.
20797 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
20798 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
20799 ABORT_TRANSACTION_IMPL): Likewise.
20800 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
20801 Linux code, but remove the code that aborts transactions.
20803 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
20805 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
20807 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
20809 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
20810 in date: "2004-14-09" should be "2004-09-14".
20811 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
20812 "2003-15-09" should be "2003-09-15".
20814 2018-01-18 Arjun Shankar <arjun@redhat.com>
20820 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
20822 (_int_memalign): check for integer overflow before calling
20824 * malloc/tst-malloc-too-large.c: New test.
20825 * malloc/Makefile: Add tst-malloc-too-large.
20827 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
20829 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
20830 in date: "2017-24-07" should be "2017-07-24".
20831 * localedata/locales/mai_IN: Likewise.
20832 * localedata/locales/mai_NP: Likewise.
20834 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
20836 * po/ru.po: Update translations.
20838 2018-01-17 Joseph Myers <joseph@codesourcery.com>
20841 * sysdeps/hppa/backtrace.c: New file.
20843 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
20846 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
20847 align La_x86_64_retval to VEC_SIZE.
20849 2018-01-16 Joseph Myers <joseph@codesourcery.com>
20851 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
20852 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
20854 2018-01-16 Florian Weimer <fweimer@redhat.com>
20856 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
20857 Move tst-thread-exit-clobber ...
20858 [$(CXX)] (tests-unsupported): ... to here.
20860 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
20862 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
20863 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
20864 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
20865 (_dl_aarch64_cap_flags): Update.
20866 (_DL_HWCAP_COUNT): Update.
20868 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
20870 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
20871 (_DL_HWCAP_LAST): Remove.
20872 (_DL_HWCAP_COUNT): Move to ...
20873 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
20874 (_DL_HWCAP_COUNT): ... here.
20876 2018-01-16 Florian Weimer <fweimer@redhat.com>
20878 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
20879 mode with GNU extensions.
20881 2018-01-15 Alan Hayward <alan.hayward@arm.com>
20883 * elf/elf.h (NT_ARM_SVE): Define.
20885 2018-01-15 Florian Weimer <fweimer@redhat.com>
20888 * nptl/tst-minstack-throw.cc: New file.
20889 * nptl/Makefile (tests): Add tst-minstack-throw.
20890 (LDLIBS-tst-minstack-throw): Link with libstdc++.
20891 [!CXX] (tests-unsupported): Add tst-minstack-throw.
20893 2018-01-15 Joseph Myers <joseph@codesourcery.com>
20895 * scripts/build-many-glibcs.py (Context.checkout): Default
20896 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
20899 2018-01-13 Carlos O'Donell <carlos@redhat.com>
20902 * elf/elf.h (DF_1_STUB): Define.
20903 (DF_1_PIE): Define.
20905 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20908 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
20909 Do not add 0.5 to integer or out-of-range arguments.
20911 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
20913 * po/bg.po: Update translations.
20914 * po/cs.po: Likewise.
20915 * po/de.po: Likewise.
20916 * po/ko.po: Likewise.
20917 * po/pl.po: Likewise.
20918 * po/sv.po: Likewise.
20919 * po/uk.po: Likewise.
20920 * po/vi.po: Likewise.
20922 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
20924 * aarch64/start.S (_start): Use __wrap_main.
20925 (__wrap_main): New local symbol.
20927 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
20931 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
20932 generic_getcwd if the path returned by getcwd syscall is not absolute.
20933 * io/tst-getcwd-abspath.c: New test.
20934 * io/Makefile (tests): Add tst-getcwd-abspath.
20936 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
20938 * malloc/malloc.c (malloc_consolidate): Add size check.
20940 2018-01-12 Florian Weimer <fweimer@redhat.com>
20942 * support/write_message.c (write_message): Preserve errno.
20943 * support/check.c (print_failure): Likewise.
20944 * support/support_test_verify_impl.c (support_test_verify_impl):
20946 * support/support_test_compare_failure.c
20947 (support_test_compare_failure): Likewise.
20949 2018-01-12 Florian Weimer <fweimer@redhat.com>
20952 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
20953 Prevent installation of libnsl.so.
20954 (libnsl-inhibit-o): Do not build (or install) static libraries.
20956 2018-01-12 Egmont Koblinger <egmont@gmail.com>
20959 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
20960 before the day number which may produce a double space.
20961 (date_fmt): Likewise.
20963 2018-01-12 Joseph Myers <joseph@codesourcery.com>
20965 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
20966 instead of fegetenv.
20968 2018-01-11 Joseph Myers <joseph@codesourcery.com>
20971 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
20972 comment to say exceptions are discarded.
20973 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
20975 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
20978 2018-01-11 Florian Weimer <fweimer@redhat.com>
20980 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
20983 2018-01-11 Florian Weimer <fweimer@redhat.com>
20986 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
20987 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
20989 2018-01-10 Joseph Myers <joseph@codesourcery.com>
20992 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
20993 negative arguments in test for NaN or infinity argument.
20995 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
20997 * po/libc.pot: Regenerate.
20999 2018-01-10 Florian Weimer <fweimer@redhat.com>
21002 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
21003 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
21005 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21007 * hurd/hurd/fd.h: Include <fcntl.h>
21008 (__hurd_at_flags): New function.
21009 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
21010 with call to __hurd_at_flags.
21011 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
21012 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
21014 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
21015 (__access_noerrno): Use __faccessat_common instead of access_common.
21016 (__access): Likewise.
21017 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
21018 with a call to __faccessat.
21019 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
21020 (__faccessat_common): ... this. Move implementation of __access into it when
21021 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
21022 reauthenticate_cwdir_at helper to implement AT mechanism.
21023 (__faccessat_noerrno): New function, just calls __faccessat_common.
21024 (__faccessat): New function, just calls __faccessat_common.
21025 (faccessat): Define weak alias.
21027 2018-01-10 Joseph Myers <joseph@codesourcery.com>
21030 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21031 (CFLAGS-s_fmaxmagl.c): New variable.
21032 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
21035 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
21036 long int for arguments of possibly overflowing addition or
21038 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
21040 2018-01-09 Joseph Myers <joseph@codesourcery.com>
21043 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21044 (CFLAGS-e_remainderl.c): New variable.
21047 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
21049 (CFLAGS-s_cacoshl.c): Likewise.
21050 (CFLAGS-s_casinhl.c): Likewise.
21051 (CFLAGS-s_catanl.c): Likewise.
21052 (CFLAGS-s_catanhl.c): Likewise.
21053 (CFLAGS-s_cexpl.c): Likewise.
21054 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
21055 (CFLAGS-s_csinhl.c): Likewise.
21056 (CFLAGS-s_clogl.c): Likewise.
21057 (CFLAGS-s_clog10l.c): Likewise.
21058 (CFLAGS-s_csinl.c): Likewise.
21059 (CFLAGS-s_csqrtl.c): Likewise.
21061 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
21062 2017-01-09 Svante Signell <svante.signell@gmail.com>
21064 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
21065 (_hurd_exec_paths): New function.
21066 * hurd/hurd.h (_hurd_exec): Deprecate function.
21067 (_hurd_exec_paths): Declare function.
21068 * hurd/Versions: Export _hurd_exec_paths.
21069 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
21070 (__execve): Use __getcwd to build absolute path, and use
21071 _hurd_exec_paths instead of _hurd_exec.
21072 * sysdeps/mach/hurd/spawni.c: Likewise.
21073 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
21076 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
21078 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
21079 test instead of failing in case of ENOENT returned by posix_openpt.
21081 2018-01-08 Florian Weimer <fweimer@redhat.com>
21083 resolv: Support binary labels in test framework.
21084 * support/resolv_test.c (struct to_be_freed): Remove.
21085 (struct compressed_name): New.
21086 (allocate_compressed_name, ascii_tolower)
21087 (compare_compressed_name): New functions.
21088 (struct resolv_response_builder): Update type of
21089 compression_offsets for use with tsearch. Rempve to_be_freed.
21090 (response_push_pointer_to_free): Remove function.
21091 (resolv_response_add_name): Rewrite using struct compressed_name
21092 and tsearch instead of hsearch_r.
21093 (response_builder_allocate): Remove initialization of
21094 compression_offsets.
21095 (response_builder_free): Update for removal of to_be_freed. Use
21096 tdestroy instead of hdestroy_r.
21097 * resolv/Makefile (tests): Add tst-resolv-binary.
21098 (tst-resolv-binary): Link with -lresolv -lpthread.
21100 2018-01-08 Florian Weimer <fweimer@redhat.com>
21102 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
21103 time. Pass positive flag instead of negative flag to
21104 support_test_compare_failure.
21105 (support_test_compare_failure): Change negative parameter to
21107 * support/support_test_compare_failure.c (report)
21108 (support_test_compare_failure): Likewise.
21109 * support/tst-test_compare.c (return_ssize_t, return_int): New.
21110 (do_test): Check int/size_t, ssize_t/size_t comparisons.
21112 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
21115 * nptl/descr.h (stackblock, stackblock_size): Update comments.
21116 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
21117 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
21119 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
21121 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
21123 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21124 Add s_sincosf-sse2 and s_sincosf-fma.
21125 (CFLAGS-s_sincosf-fma.c): New.
21126 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
21127 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
21128 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
21129 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
21130 __sincosf is defined.
21132 2018-01-08 Florian Weimer <fweimer@redhat.com>
21134 * nptl/tst-thread-exit-clobber.cc: New file.
21135 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
21137 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
21138 (tests): Add tst-thread-exit-clobber.
21139 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
21141 2018-01-08 Florian Weimer <fweimer@redhat.com>
21143 * support/check.h (support_static_assert): Define.
21144 (TEST_COMPARE): Use it.
21146 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
21148 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
21149 [!__RLIM_T_MATCHES_RLIM64_T]
21150 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
21151 __getrlimit64. Add libc_hidden_weak.
21153 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
21155 * elf/elf.h (R_RISCV_NONE): New define.
21156 (R_RISCV_32): Likewise.
21157 (R_RISCV_64): Likewise.
21158 (R_RISCV_RELATIVE): Likewise.
21159 (R_RISCV_COPY): Likewise.
21160 (R_RISCV_JUMP_SLOT): Likewise.
21161 (R_RISCV_TLS_DTPMOD32): Likewise.
21162 (R_RISCV_TLS_DTPMOD64): Likewise.
21163 (R_RISCV_TLS_DTPREL32): Likewise.
21164 (R_RISCV_TLS_DTPREL64): Likewise.
21165 (R_RISCV_TLS_TPREL32): Likewise.
21166 (R_RISCV_TLS_TPREL64): Likewise.
21167 * Makerules (make-link-multidir): Make directories before linking into
21169 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
21171 (VDSO_HASH_LINUX_4_15): Likewise.
21172 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
21173 in subdirectories of lib.
21174 * nptl/Makefile (/librt.so): Always depend on
21175 "$(shared-thread-library)".
21177 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21179 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
21180 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
21181 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
21183 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
21184 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
21186 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
21187 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
21188 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
21189 * sysdeps/gnu/glob-lstat-compat.c: New file.
21190 * sysdeps/gnu/glob64-lstat-compat.c: New file.
21191 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
21193 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21195 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
21196 Reserve 16 chars to reloc_addr before calling _itoa_word.
21198 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
21201 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
21202 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
21204 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
21205 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
21207 * resource/tst-getrlimit.c: Add copyright header.
21209 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
21210 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21212 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
21213 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
21214 Define __GI_getrlimit64 as weak alias of __getrlimit64.
21215 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
21217 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
21218 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
21219 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
21220 RLIM64_INFINITY): Fix values to match the kernel ones.
21221 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
21222 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
21223 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
21224 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
21225 getrlimit64@@GLIBC_2_27.
21226 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
21228 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
21229 getrlimit, setrlimit, getrlimit64 and setrlimit64.
21230 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
21231 setrlimit, getrlimit64 and setrlimit64.
21233 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
21236 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
21237 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
21239 2018-01-04 Joseph Myers <joseph@codesourcery.com>
21241 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
21242 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
21243 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
21245 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21249 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
21250 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
21254 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
21255 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
21256 * sysdeps/alpha/fpu/s_floor.c: Likewise.
21257 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
21259 2018-01-04 Florian Weimer <fweimer@redhat.com>
21262 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
21263 Align the stack before calling exit.
21264 * stdlib/tst-makecontext-align.c: New file.
21265 * stdlib/Makefile (tests): Add tst-makecontext-align.
21267 2018-01-04 Florian Weimer <fweimer@redhat.com>
21269 Add support for calling dlvsym from libc.so.
21270 * include/dlfcn.h (__libc_dlvsym): Declare.
21271 * elf/Makefile (tests-static-internal): Add
21272 tst-libc_dlvsym-static.
21273 (tests-internal): Add tst-libc_dlvsym.
21274 (modules-names): Add tst-libc_dlvsym-dso.
21275 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
21276 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
21277 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
21278 object tst-libc_dlvsym-dso.so needs to be built before running
21280 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
21281 * elf/Versions: Export __libc_dlvsym.
21282 * elf/dl-libc.c (struct do_dlvsym_args): New.
21283 (do_dlvsym, __libc_dlvsym): New functions.
21284 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
21285 (_dl_open_hook2): New variable.
21286 (__libc_register_dl_open_hook): Set it.
21287 * elf/tst-libc_dlvsym-dso.c: New file.
21288 * elf/tst-libc_dlvsym-static.c: Likewise.
21289 * elf/tst-libc_dlvsym.c: Likewise.
21290 * elf/tst-libc_dlvsym.h: Likewise.
21292 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
21294 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
21295 include <sys/mount.h>.
21297 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
21299 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
21300 Add __NO_MATH_ERRNO__ check.
21302 2018-01-02 Joseph Myers <joseph@codesourcery.com>
21304 * sysdeps/mips/mips32/libm-test-ulps: Update.
21305 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21307 2018-01-02 Florian Weimer <fweimer@redhat.com>
21309 * misc/tst-pselect.c: Add copyright header.
21311 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
21313 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
21315 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
21317 (settrlimit): Rename into setrlimit.
21318 (__sttrlimit): Rename into __setrlimit.
21320 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
21321 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
21322 never defined in that case.
21324 2018-01-02 Joseph Myers <joseph@codesourcery.com>
21326 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
21328 * sysdeps/arm/libm-test-ulps: Update.
21330 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
21331 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
21333 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21335 * NEWS: Add cosf and sincosf to list of optimized functions.
21337 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
21340 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
21341 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
21342 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
21343 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
21345 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
21348 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
21350 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
21351 making a copy of it.
21353 2018-01-01 Joseph Myers <joseph@codesourcery.com>
21355 * manual/texinfo.tex: Update to version 2017-12-26.21 with
21356 trailing whitespace removed.
21357 * scripts/config.guess: Update to version 2018-01-01.
21358 * scripts/config.sub: Update to version 2018-01-01.
21359 * scripts/move-if-change: Update from gnulib.
21361 * NEWS: Update copyright dates.
21362 * catgets/gencat.c (print_version): Likewise.
21363 * csu/version.c (banner): Likewise.
21364 * debug/catchsegv.sh: Likewise.
21365 * debug/pcprofiledump.c (print_version): Likewise.
21366 * debug/xtrace.sh (do_version): Likewise.
21367 * elf/ldconfig.c (print_version): Likewise.
21368 * elf/ldd.bash.in: Likewise.
21369 * elf/pldd.c (print_version): Likewise.
21370 * elf/sotruss.sh: Likewise.
21371 * elf/sprof.c (print_version): Likewise.
21372 * iconv/iconv_prog.c (print_version): Likewise.
21373 * iconv/iconvconfig.c (print_version): Likewise.
21374 * locale/programs/locale.c (print_version): Likewise.
21375 * locale/programs/localedef.c (print_version): Likewise.
21376 * login/programs/pt_chown.c (print_version): Likewise.
21377 * malloc/memusage.sh (do_version): Likewise.
21378 * malloc/memusagestat.c (print_version): Likewise.
21379 * malloc/mtrace.pl: Likewise.
21380 * manual/libc.texinfo: Likewise.
21381 * nptl/version.c (banner): Likewise.
21382 * nscd/nscd.c (print_version): Likewise.
21383 * nss/getent.c (print_version): Likewise.
21384 * nss/makedb.c (print_version): Likewise.
21385 * posix/getconf.c (main): Likewise.
21386 * scripts/test-installation.pl: Likewise.
21387 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
21389 * All files with FSF copyright notices: Update copyright dates
21390 using scripts/update-copyrights.
21391 * locale/programs/charmap-kw.h: Regenerated.
21392 * locale/programs/locfile-kw.h: Likewise.
21394 2017-12-31 Zack Weinberg <zackw@panix.com>
21396 * libio/bits/libio-ldbl.h: Correct check for improper
21397 inclusion. Add own multiple include guard.
21399 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
21400 Dmitry V. Levin <ldv@altlinux.org>
21404 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
21405 string token expansion. Check for NULL pointer or empty string possibly
21406 returned by expand_dynamic_string_token.
21407 (decompose_rpath): Check for empty path after dynamic string
21410 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
21413 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
21415 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
21416 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
21417 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
21418 and PTRACE_SYSCALL.
21419 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
21420 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21421 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21422 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21423 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21424 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
21426 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
21427 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
21428 __ptrace_peeksiginfo_flags, ptrace): Move to ...
21429 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
21430 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21431 bits/ptrace-shared.h.
21432 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
21433 <bits/ptrace-shared.h>.
21434 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
21435 __ptrace_peeksiginfo_flags, ptrace): Remove.
21436 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21437 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21438 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21439 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21440 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
21442 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
21445 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
21446 end of the loop. Improve comments.
21448 2017-12-29 Zack Weinberg <zackw@panix.com>
21451 * manual/errno.texi (Checking for Errors): Explicitly say that errno
21452 might be set on success.
21454 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
21457 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
21458 is unchanged on success.
21460 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
21462 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
21464 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
21465 expand_dynamic_string_token): Likewise.
21466 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
21469 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
21472 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
21473 is set and name contains ':', and all code depending on these checks.
21475 2017-12-24 Zack Weinberg <zackw@panix.com>
21477 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
21478 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
21480 * libio/libio.h: Rename the original version of this file to
21481 libio/bits/libio.h. Error out if not included by stdio.h or the
21483 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
21484 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
21485 if not included by bits/libio.h or the stub _G_config.h.
21486 * sysdeps/unix/sysv/linux/_G_config.h: Move to
21487 sysdeps/unix/sysv/linux/bits. Error out if not included by
21488 bits/libio.h or the stub _G_config.h.
21489 * libio/stdio.h: Include bits/libio.h, not libio.h.
21490 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
21491 well as libio.h and _G_config.h.
21493 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
21494 * libio/strfile.h, stdio-common/vfscanf.c
21495 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
21496 Include stdio.h, not _G_config.h nor libio.h.
21497 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
21498 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
21500 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
21502 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
21505 * stdlib/getrandom.c (getrandom): Fix comment.
21506 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
21508 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
21511 * manual/arith.texi (strtoul): Fix a typo.
21514 * manual/arith.texi (finite): Fix the description of the return
21517 2017-12-22 Eric Blake <ebb9@byu.net>
21519 Avoid gcc warnings on cygwin
21520 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
21521 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
21522 Avoid unused variable.
21524 2017-12-22 Florian Weimer <fweimer@redhat.com>
21526 * io/Makefile (routines): Add copy_file_range.
21527 (tests): Add tst-copy_file_range.
21528 (tests-static, tests-internal): Add tst-copy_file_range-compat.
21529 * io/Versions (GLIBC_2.27): Export copy_file_range.
21530 * io/copy_file_range-compat.c: New file.
21531 * io/copy_file_range.c: Likewise.
21532 * io/tst-copy_file_range-compat.c: Likewise.
21533 * io/tst-copy_file_range.c: Likewise.
21534 * manual/llio.texi (Copying File Data): New section.
21535 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
21536 * support/Makefile (libsupport-routines): Add support-xfstat,
21537 xftruncate, xlseek.
21538 * support/support-xfstat.c: New file.
21539 * support/xftruncate.c: Likewise.
21540 * support/xlseek.c: Likewise.
21541 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
21542 * sysdeps/unix/sysv/linux/**.abilist: Update.
21543 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
21545 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
21547 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21548 disable-multi-arch variant to aarch64-linux-gnu.
21550 2017-12-20 Joseph Myers <joseph@codesourcery.com>
21552 * manual/texinfo.tex: Update to version 2017-12-18.20 with
21553 trailing whitespace removed.
21554 * scripts/config.guess: Update to version 2017-12-17.
21555 * scripts/config.sub: Update to version 2017-11-23.
21556 * scripts/install-sh: Update to version 2017-09-23.17.
21557 * scripts/move-if-change: Update to version 2017-09-13 06:45.
21559 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21561 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
21562 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
21563 * sysdeps/tile/_mcount.S (__mcount): Likewise.
21564 * sysdeps/tile/crti.S (_init, _fini): Likewise.
21565 * sysdeps/tile/crtn.S: Likewise.
21566 * sysdeps/tile/dl-start.S (_start): Likewise.
21567 * sysdeps/tile/dl-trampoline.S: Likewise.
21568 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
21569 * sysdeps/tile/start.S (_start): Likewise.
21570 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
21571 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
21572 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
21573 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
21574 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
21575 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
21576 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
21578 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
21580 * sysdeps/tile/preconfigure: Remove tilegx folder.
21581 * sysdeps/tile/tilegx/Implies: Move definitions to ...
21582 * sysdeps/tile/Implies: ... here.
21583 * sysdeps/tile/tilegx/Makefile: Move rules to ...
21584 * sysdeps/tile/Makefile: ... here.
21585 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
21586 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
21587 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
21588 * sysdeps/tile/bits/wordsize.h: ... here.
21589 * sysdeps/tile/tilegx/*: Move to ...
21590 * sysdeps/tile/*: ... here.
21591 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
21592 * sysdeps/tile/tilegx32/Implies: ... here.
21593 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
21594 * sysdeps/tile/tilegx64/Implies: ... here.
21595 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
21597 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
21598 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
21599 * sysdeps/unix/sysv/linux/tile/*: ... here.
21600 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
21601 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
21602 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
21603 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
21605 * README: Remove tilepro-*-linux-gnu from supported architecture.
21606 * scripts/build-many-glibcs.py: Likewise.
21607 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
21608 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
21609 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
21610 elf_machine_matches_host, elf_machine_dynamic,
21611 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
21612 howto, elf_machine_rela): Likewise.
21613 * sysdeps/tile/dl-start.S (_start): Likewise.
21614 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
21615 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
21616 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
21617 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
21618 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
21619 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
21621 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
21622 * sysdeps/tile/preconfigure: Likewise.
21623 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
21624 POINTER_CHK_GUARD): Likewise.
21625 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
21626 * sysdeps/tile/start.S (_start): Likewise.
21627 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
21629 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
21630 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
21632 * sysdeps/unix/sysv/linux/tile/bits/environments.h
21633 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
21634 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
21636 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
21637 * sysdeps/tile/tilepro/Implies: Remove file.
21638 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
21639 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
21640 * sysdeps/tile/tilepro/memchr.c: Likewise.
21641 * sysdeps/tile/tilepro/memcpy.S: Likewise.
21642 * sysdeps/tile/tilepro/memset.c: Likewise.
21643 * sysdeps/tile/tilepro/memusage.h: Likewise.
21644 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
21645 * sysdeps/tile/tilepro/strchr.c: Likewise.
21646 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
21647 * sysdeps/tile/tilepro/strlen.c: Likewise.
21648 * sysdeps/tile/tilepro/strrchr.c: Likewise.
21649 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
21650 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
21651 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
21652 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
21653 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
21654 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
21656 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
21657 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21658 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
21659 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
21660 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21661 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
21662 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
21663 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
21664 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
21665 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
21666 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
21667 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
21668 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
21669 tilepro mention in comment.
21671 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
21672 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
21673 * nptl/pthread_join_common.c: New file: common function used on
21674 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
21675 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
21676 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
21677 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
21678 (cleanup): Move definition to pthread_join_common.c.
21679 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
21680 Remove superflous checks.
21681 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
21684 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
21686 * sysdeps/aarch64/libm-test-ulps: Update.
21688 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21690 * sysdeps/aarch64/memset.S (MEMSET): Define.
21692 2017-12-20 Florian Weimer <fweimer@redhat.com>
21695 nptl: Provide full implementation of pthread_self in libc.so.
21696 * nptl/Makefile (routines): Add pthread_self.
21697 (libpthread-routines): Replace pthread_self with
21698 compat-pthread_self.
21699 * nptl/forward.c (pthread_self): Remove.
21700 * nptl/nptl-init.c (pthread_functions): Do not initialize
21702 * nptl/pthread_self.c (pthread_self): Remove weak alias.
21703 * nptl/compat-pthread_self.c: New file.
21704 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
21705 Remove ptr_pthread_self.
21707 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
21709 * posix/regcomp.c: Fix spelling in comments.
21710 * posix/regex.h: Likewise.
21711 * posix/regex_internal.c: Likewise.
21712 * posix/regexec.c: Likewise.
21714 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
21717 * math/Makefile [C++] (tests): Add test for iseqsig.
21718 * math/math.h [C++] (iseqsig): New implementation, which does
21719 not rely on __MATH_TG/__builtin_types_compatible_p.
21720 * math/test-math-iseqsig.cc: New file.
21721 * sysdeps/powerpc/powerpc64le/Makefile
21722 (CFLAGS-test-math-iseqsig.cc): New variable.
21724 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
21726 * elf/dl-load.c (is_trusted_path): Remove.
21727 (fillin_rpath): Remove check_trusted argument and its use,
21728 all callers changed.
21730 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21733 * Makeconfig (link-pie-before-libc): Replace -pie with
21734 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
21735 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
21736 (tst-dlopen-aout-no-pie): New.
21737 (LDFLAGS-tst-prelink): Removed.
21738 (tst-prelink-no-pie): New.
21739 (LDFLAGS-tst-main1): Removed.
21740 (tst-main1-no-pie): New.
21741 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
21742 (tst-gmon-no-pie): New.
21744 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21746 * manual/install.texi: Document that --enable-static-pie
21748 * INSTALL: Regenerated.
21750 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
21753 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
21756 2017-12-19 Joseph Myers <joseph@codesourcery.com>
21760 2017-12-19 Joseph Myers <joseph@codesourcery.com>
21762 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21764 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21766 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
21767 <errno.h>. Include "eexp.tbl".
21768 (half): New constant.
21770 (__ieee754_exp): Rewrite.
21771 (__slowexp): Remove prototype.
21772 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
21773 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
21774 * sysdeps/i386/fpu/slowexp.c: Likewise.
21775 * sysdeps/ia64/fpu/slowexp.c: Likewise.
21776 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
21777 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
21778 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
21779 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21780 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
21781 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
21783 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
21784 (CPPFLAGS-slowexp.c): Remove variable.
21785 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21786 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
21787 (CFLAGS-slowexp-fma.c): Remove variable.
21788 (CFLAGS-slowexp-fma4.c): Likewise.
21789 (CFLAGS-slowexp-avx.c): Likewise.
21790 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
21792 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
21793 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
21794 * math/Makefile (type-double-routines): Remove slowexp.
21795 * manual/probes.texi (slowexp_p6): Remove.
21796 (slowexp_p32): Likewise.
21798 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21800 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
21803 * lib/glob.c (glob): Do not pass NULL to mempcpy.
21805 2017-12-19 Joseph Myers <joseph@codesourcery.com>
21807 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21809 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21811 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
21812 <errno.h>. Include "eexp.tbl".
21813 (half): New constant.
21815 (__ieee754_exp): Rewrite.
21816 (__slowexp): Remove prototype.
21817 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
21818 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
21819 * sysdeps/i386/fpu/slowexp.c: Likewise.
21820 * sysdeps/ia64/fpu/slowexp.c: Likewise.
21821 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
21822 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
21823 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
21824 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21825 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
21826 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
21828 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
21829 (CPPFLAGS-slowexp.c): Remove variable.
21830 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21831 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
21832 (CFLAGS-slowexp-fma.c): Remove variable.
21833 (CFLAGS-slowexp-fma4.c): Likewise.
21834 (CFLAGS-slowexp-avx.c): Likewise.
21835 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
21837 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
21838 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
21839 * math/Makefile (type-double-routines): Remove slowexp.
21840 * manual/probes.texi (slowexp_p6): Remove.
21841 (slowexp_p32): Likewise.
21843 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21844 James Clarke <jrtc27@jrtc27.com>
21847 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
21850 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21853 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
21856 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21859 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
21860 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
21861 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
21862 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
21865 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21868 * bits/types/__cancel_jmp_buf_tag.h: New file.
21869 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
21870 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
21871 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
21872 * nptl/Makefile (headers): Add
21873 bits/types/__cancel_jmp_buf_tag.h.
21874 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
21875 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
21876 * sysdeps/nptl/pthread.h: Include
21877 <bits/types/__cancel_jmp_buf_tag.h>.
21878 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
21880 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
21882 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
21884 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21885 --enable-static-pie variants to x86_64, x32 and i686.
21887 2017-12-19 Joseph Myers <joseph@codesourcery.com>
21890 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
21891 argument for attrubutes. All callers changed.
21892 (__inline_mathop1): Likewise. All callers changed.
21893 (__inline_mathop): Likewise. All callers changed.
21894 [__USE_MISC] (scalbn): Use __inline_forward instead of
21895 __inline_forward_c.
21896 [__USE_ISOC99] (scalbln): Likewise.
21897 [__USE_ISOC99] (nearbyint): Likewise.
21898 [__USE_ISOC99] (lrint): Likewise.
21899 [__USE_MISC] (scalbnf): Likewise.
21900 [__USE_ISOC99] (scalblnf): Likewise.
21901 [__USE_ISOC99] (nearbyintf): Likewise.
21902 [__USE_ISOC99] (lrintf): Likewise.
21903 [__USE_MISC] (scalbnl): Likewise.
21904 [__USE_ISOC99] (scalblnl): Likewise.
21905 [__USE_ISOC99] (nearbyintl): Likewise.
21906 [__USE_ISOC99] (lrintl): Likewise.
21907 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
21908 __inline_mathop and __m81_defun changed.
21910 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
21911 CPU or FPU for ARM hard-float configurations.
21913 2017-12-18 Joseph Myers <joseph@codesourcery.com>
21915 * nptl/tst-attr3.c: Include <libc-diag.h>.
21916 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
21918 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
21920 * string/tester.c (test_strncat): Also disable -Warray-bounds
21921 warnings for two tests.
21923 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
21926 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
21927 $(cc-pie-default) == yes.
21928 * config.make.in (cc-pie-default): New.
21929 * configure.ac (libc_cv_pie_default): Renamed to ...
21930 (libc_cv_cc_pie_default): This.
21931 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
21932 * configure: Regenerated.
21934 2017-12-18 Florian Weimer <fweimer@redhat.com>
21937 ld.so: Harden dl-libc/libdl hooks.
21938 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
21939 (rtld_active): New function.
21940 * dlfcn/dladdr.c (__dladdr): Call it.
21941 * dlfcn/dladdr1.c (__dladdr1): Likewise.
21942 * dlfcn/dlclose.c (__dlcose): Likewise.
21943 * dlfcn/dlerror.c (__dlerror): Likewise.
21944 * dlfcn/dlinfo.c (__dlinfo): Likewise.
21945 * dlfcn/dlmopen.c (__dlmopen): Likewise.
21946 * dlfcn/dlopen.c (__dlopen): Likewise.
21947 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
21948 * dlfcn/dlsym.c (__dlsym): Likewise.
21949 * dlfcn/dlvsym.c (__dlvsym): Likewise.
21950 * libio/vtables.c (_IO_vtable_check): Likewise.
21951 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
21952 (__libc_dlclose): Likewise.
21953 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
21956 2017-12-18 Joseph Myers <joseph@codesourcery.com>
21959 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
21960 buffers for readlink input and output.
21962 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
21965 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
21966 inhibit_stack_protector.
21969 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
21970 inhibit_stack_protector.
21972 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
21975 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
21976 code and invocation.
21978 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
21980 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
21982 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
21985 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
21987 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21989 * sysdeps/s390/fpu/libm-test-ulps: Update.
21991 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21993 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21995 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21997 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
21998 constants to s_sincosf.h file.
21999 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22000 * sysdeps/ieee754/flt-32/s_sincosf.c: New
22002 * sysdeps/ieee754/flt-32/s_sincosf.h:
22005 2017-12-12 Carlos O'Donell <carlos@redhat.com>
22008 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
22011 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
22014 * INSTALL: Regenerated.
22015 * Makeconfig (real-static-start-installed-name): New.
22016 (pic-default): Updated for --enable-static-pie.
22017 (pie-default): New for --enable-static-pie.
22018 (default-pie-ldflag): Likewise.
22019 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
22020 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
22021 Replace $(static-start-installed-name) with
22022 $(real-static-start-installed-name).
22023 (+prectorT): Updated for --enable-static-pie.
22024 (+postctorT): Likewise.
22025 (CFLAGS-.o): Add $(pie-default).
22026 (CFLAGS-.op): Likewise.
22027 * NEWS: Mention --enable-static-pie.
22028 * config.h.in (ENABLE_STATIC_PIE): New.
22029 * configure.ac (--enable-static-pie): New configure option.
22030 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
22031 (have-static-pie): Likewise.
22032 Enable static PIE if linker supports --no-dynamic-linker.
22033 (ENABLE_STATIC_PIE): New AC_DEFINE.
22034 (enable-static-pie): New LIBC_CONFIG_VAR.
22035 * configure: Regenerated.
22036 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
22037 gr$(start-installed-name) for --enable-static-pie.
22038 (extra-objs): Likewise.
22039 (install-lib): Likewise.
22040 (extra-objs): Add static-reloc.o and static-reloc.os
22041 ($(objpfx)$(start-installed-name)): Also depend on
22042 $(objpfx)static-reloc.o.
22043 ($(objpfx)r$(start-installed-name)): New.
22044 ($(objpfx)g$(start-installed-name)): Also depend on
22045 $(objpfx)static-reloc.os.
22046 ($(objpfx)gr$(start-installed-name)): New.
22047 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
22049 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
22051 * csu/static-reloc.c: New file.
22052 * elf/Makefile (routines): Add dl-reloc-static-pie.
22053 (elide-routines.os): Likewise.
22054 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
22055 (tst-tls1-static-non-pie-no-pie): New.
22056 * elf/dl-reloc-static-pie.c: New file.
22057 * elf/dl-support.c (_dl_get_dl_main_map): New function.
22058 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
22059 STATIC_PIE_BOOTSTRAP.
22060 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
22061 * gmon/Makefile (tests): Add tst-gmon-static-pie.
22062 (tests-static): Likewise.
22063 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
22064 (tst-gmon-static-no-pie): New.
22065 (CFLAGS-tst-gmon-static-pie.c): Likewise.
22066 (CRT-tst-gmon-static-pie): Likewise.
22067 (tst-gmon-static-pie-ENV): Likewise.
22068 (tests-special): Likewise.
22069 ($(objpfx)tst-gmon-static-pie.out): Likewise.
22070 (clean-tst-gmon-static-pie-data): Likewise.
22071 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
22072 * gmon/tst-gmon-static-pie.c: New file.
22073 * manual/install.texi: Document --enable-static-pie.
22074 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
22075 (_dl_get_dl_main_map): Likewise.
22076 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
22077 * sysdeps/x86_64/configure.ac: Likewise.
22078 * sysdeps/i386/configure: Regenerated.
22079 * sysdeps/x86_64/configure: Likewise.
22080 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
22081 (ASFLAGS-.op): Likewise.
22083 2017-12-15 Joseph Myers <joseph@codesourcery.com>
22085 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
22086 * posix/tst-mmap-offset.c (fname): Use /tmp.
22087 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
22089 2017-12-15 Steve Ellcey <sellcey@cavium.com>
22091 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
22093 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
22095 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
22098 2017-12-15 Joseph Myers <joseph@codesourcery.com>
22100 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
22101 --with-float=hard for arm-linux-gnueabihf configurations.
22104 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
22105 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
22106 ($(mo-installed)): Use $(objpfx)%.mo.
22107 (realclean): Remove rule.
22109 * po/Makefile (linguas): Remove rule and dependencies.
22110 (linguas.mo): Likewise.
22111 (.PHONY): Do not depend on linguas and linguas.mo.
22112 (podir): Remove variable.
22113 (pofiles): Likewise.
22114 [$(pofiles)] (%.po): Remove rule.
22116 * sysdeps/sparc/sparc32/Makefile
22117 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
22118 start-of-line whitespace in argument of echo.
22119 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
22120 with whitespace. Generate __wrap_.udiv alias.
22121 * sysdeps/sparc/sparc32/rem.S: Regenerated.
22122 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
22123 * sysdeps/sparc/sparc32/udiv.S: Likewise.
22124 * sysdeps/sparc/sparc32/urem.S: Likewise.
22126 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22128 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
22129 for aligned inputs.
22131 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
22133 * benchtests/bench-strcmp.c: Print output in JSON format.
22135 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
22137 2017-12-14 Florian Weimer <fweimer@redhat.com>
22141 * elf/dl-load.c (_dl_init_paths): Compute number of components in
22142 the expanded path string.
22144 2017-12-14 Florian Weimer <fweimer@redhat.com>
22148 * elf/dl-load.c (system_dirs): Update comment.
22149 (nsystem_dirs_len): Use array_length.
22150 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
22152 2017-12-14 Florian Weimer <fweimer@redhat.com>
22154 Simplify compiling most of support/ outside of glibc.
22155 * support/check_addrinfo.c: Include <string.h>.
22156 * support/check_dns_packet.c: Likewise.
22157 * support/check_hostent.c: Likewise.
22158 * support/support_can_chroot.c: Include <support/xunistd.h>.
22159 * support/support_format_addrinfo.c: Include <stdlib.h>
22160 * support/support_format_dns_packet.c: Include <stdbool.h>.
22161 * support/support_format_hostent.c: Include <stdlib.h>.
22162 * support/support_format_netent.c: Likewise.
22163 * support/support_write_string.c: Include <support/xunistd.h>.
22164 * support/xdlfcn.c: Include <stddef.h>.
22166 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
22168 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
22170 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22171 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22173 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22174 (sysdeps_routines): Add memset-niagara7.
22175 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
22177 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
22179 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
22180 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
22181 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
22182 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
22183 Add niagara7 option.
22184 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
22187 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22188 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
22189 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
22191 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
22193 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
22194 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
22195 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
22196 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
22197 and __memmove_niagara7.
22198 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
22199 Add niagara7 option.
22200 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
22201 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
22202 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
22203 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
22204 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
22206 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
22208 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
22209 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
22210 * sysdeps/sparc/sparc64/memmove.S: Likewise.
22211 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
22213 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
22214 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
22215 _dl_sparc_cap_flags array.
22216 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
22218 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
22220 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
22221 time whenever possible.
22223 2017-12-12 Carlos O'Donell <carlos@redhat.com>
22225 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
22226 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
22228 2017-12-12 Joseph Myers <joseph@codesourcery.com>
22230 * soft-fp/fmadf4.c: Move to ....
22231 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
22232 * soft-fp/fmasf4.c: Move to ....
22233 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
22234 * soft-fp/fmatf4.c: Move to ....
22235 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
22236 * sysdeps/ieee754/soft-fp/Makefile: New file.
22237 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
22238 * sysdeps/arm/preconfigure: Regenerated.
22239 * sysdeps/arm/nofpu/Implies: New file.
22240 * sysdeps/arm/s_fma.c: Remove file.
22241 * sysdeps/arm/s_fmaf.c: Likewise.
22242 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
22243 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
22244 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
22245 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
22246 * sysdeps/microblaze/s_fma.c: Remove file.
22247 * sysdeps/microblaze/s_fmaf.c: Likewise.
22248 * sysdeps/mips/mips32/nofpu/Implies: New file.
22249 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
22250 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
22251 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
22252 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
22253 * sysdeps/mips/ieee754/s_fma.c: Remove file.
22254 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
22255 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
22257 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
22258 * sysdeps/nios2/s_fma.c: Remove file.
22259 * sysdeps/nios2/s_fmaf.c: Likewise.
22260 * sysdeps/sh/nofpu/Implies: New file.
22261 * sysdeps/sh/s_fma.c: Remove file.
22262 * sysdeps/sh/s_fmaf.c: Likewise.
22263 * sysdeps/tile/Implies: Add ieee754/soft-fp.
22264 * sysdeps/tile/s_fma.c: Remove file.
22265 * sysdeps/tile/s_fmaf.c: Likewise.
22267 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
22269 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22270 Add s_cosf-sse2 and s_cosf-fma.
22271 (CFLAGS-s_cosf-fma.c): New.
22272 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
22273 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
22274 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
22276 2017-12-12 Steve Ellcey <sellcey@cavium.com>
22278 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
22280 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22282 * libio/Makefile (tests): Add tst-bz22415.
22283 (tst-bz22415-ENV): New rule.
22284 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
22285 (tests-special): Add tst-bz22415-mem.out.
22286 ($(objpfx)tst-bz22415-mem.out): New rule.
22287 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
22288 in case of a successful seek operation.
22289 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22290 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
22291 buffer is required.
22292 * libio/tst-bz22415.c: New test.
22294 * sysdeps/ia64/fpu/libm-test-ulps: Update.
22296 2017-12-12 James Clarke <jrtc27@jrtc27.com>
22298 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
22299 __IPC_64 to 0 to avoid IPC_64 being set.
22301 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
22304 * math/bits/mathcalls.h (nextafter): Remove const.
22305 (nexttoward): Likewise.
22307 2017-12-12 Joseph Myers <joseph@codesourcery.com>
22309 * configure.ac (--with-fp): Remove configure option.
22310 (with_fp_cond): New variable.
22311 (libc_cv_with_fp): New configure test. Use this variable instead
22313 * configure: Regenerated.
22314 * config.make.in (with-fp): Use @libc_cv_with_fp@.
22315 * manual/install.texi (Configuring and compiling): Remove
22317 * INSTALL: Regenerated.
22318 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
22319 * sysdeps/mips/preconfigure (with_fp_cond): Define.
22320 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
22321 * sysdeps/sh/preconfigure (with_fp_cond): Define.
22322 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
22323 use --without-fp to configure glibc.
22325 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
22327 * manual/locale.texi (nl_langinfo): Fix a typo.
22329 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
22332 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
22334 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
22336 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
22337 (CFLAGS-argp-parse.c): Likewise.
22338 (CFLAGS-argp-fmtstream.c): Likewise.
22339 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
22340 (CPPFLAGS-sha512-crypt.c): Likewise.
22341 (CPPFLAGS-md5-crypt.c): Likewise.
22342 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
22343 (CFLAGS-stack_chk_fail_local.c): Likewise.
22344 (CFLAGS-backtrace.c): Likewise.
22345 (CFLAGS-sprintf_chk.c): Likewise.
22346 (CFLAGS-snprintf_chk.c): Likewise.
22347 (CFLAGS-vsprintf_chk.c): Likewise.
22348 (CFLAGS-vsnprintf_chk.c): Likewise.
22349 (CFLAGS-asprintf_chk.c): Likewise.
22350 (CFLAGS-vasprintf_chk.c): Likewise.
22351 (CFLAGS-obprintf_chk.c): Likewise.
22352 (CFLAGS-dprintf_chk.c): Likewise.
22353 (CFLAGS-vdprintf_chk.c): Likewise.
22354 (CFLAGS-printf_chk.c): Likewise.
22355 (CFLAGS-fprintf_chk.c): Likewise.
22356 (CFLAGS-vprintf_chk.c): Likewise.
22357 (CFLAGS-vfprintf_chk.c): Likewise.
22358 (CFLAGS-gets_chk.c): Likewise.
22359 (CFLAGS-fgets_chk.c): Likewise.
22360 (CFLAGS-fgets_u_chk.c): Likewise.
22361 (CFLAGS-fread_chk.c): Likewise.
22362 (CFLAGS-fread_u_chk.c): Likewise.
22363 (CFLAGS-swprintf_chk.c): Likewise.
22364 (CFLAGS-vswprintf_chk.c): Likewise.
22365 (CFLAGS-wprintf_chk.c): Likewise.
22366 (CFLAGS-fwprintf_chk.c): Likewise.
22367 (CFLAGS-vwprintf_chk.c): Likewise.
22368 (CFLAGS-vfwprintf_chk.c): Likewise.
22369 (CFLAGS-fgetws_chk.c): Likewise.
22370 (CFLAGS-fgetws_u_chk.c): Likewise.
22371 (CFLAGS-read_chk.c): Likewise.
22372 (CFLAGS-pread_chk.c): Likewise.
22373 (CFLAGS-pread64_chk.c): Likewise.
22374 (CFLAGS-recv_chk.c): Likewise.
22375 (CFLAGS-recvfrom_chk.c): Likewise.
22376 (CFLAGS-tst-longjmp_chk.c): Likewise.
22377 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
22378 (CFLAGS-tst-longjmp_chk2.c): Likewise.
22379 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
22380 (CFLAGS-tst-longjmp_chk3.c): Likewise.
22381 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
22382 (CFLAGS-tst-chk1.c): Likewise.
22383 (CFLAGS-tst-chk2.c): Likewise.
22384 (CFLAGS-tst-chk3.c): Likewise.
22385 (CFLAGS-tst-chk4.cc): Likewise.
22386 (CFLAGS-tst-chk5.cc): Likewise.
22387 (CFLAGS-tst-chk6.cc): Likewise.
22388 (CFLAGS-tst-lfschk1.c): Likewise.
22389 (CFLAGS-tst-lfschk2.c): Likewise.
22390 (CFLAGS-tst-lfschk3.c): Likewise.
22391 (CFLAGS-tst-lfschk4.cc): Likewise.
22392 (CFLAGS-tst-lfschk5.cc): Likewise.
22393 (CFLAGS-tst-lfschk6.cc): Likewise.
22394 (CFLAGS-tst-ssp-1.c): Likewise.
22395 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
22396 (CFLAGS-scandir64.c): Likewise.
22397 (CFLAGS-scandir-tail.c): Likewise.
22398 (CFLAGS-scandir64-tail.c): Likewise.
22399 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
22400 (CFLAGS-dl-tunables.c): Likewise.
22401 (CFLAGS-dl-runtime.c): Likewise.
22402 (CFLAGS-dl-lookup.c): Likewise.
22403 (CFLAGS-dl-iterate-phdr.c): Likewise.
22404 (CFLAGS-vismain.c): Likewise.
22405 (CFLAGS-tst-linkall-static.c): Likewise.
22406 (CFLAGS-tst-linkall-static.c): Likewise.
22407 (CPPFLAGS-dl-load.c): Likewise.
22408 (CFLAGS-ldconfig.c): Likewise.
22409 (CFLAGS-dl-cache.c): Likewise.
22410 (CFLAGS-cache.c): Likewise.
22411 (CFLAGS-rtld.c): Likewise.
22412 (CFLAGS-multiload.c): Likewise.
22413 (CFLAGS-filtmod1.c): Likewise.
22414 (CFLAGS-tst-align.c): Likewise.
22415 (CFLAGS-tst-align2.c): Likewise.
22416 (CFLAGS-tst-alignmod.c): Likewise.
22417 (CFLAGS-tst-alignmod2.c): Likewise.
22418 (CPPFLAGS-tst-execstack.c): Likewise.
22419 (CFLAGS-tst-ptrguard1-static.c): Likewise.
22420 (CFLAGS-tst-latepthreadmod.c): Likewise.
22421 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
22422 (CFLAGS-getgrnam_r.c): Likewise.
22423 (CFLAGS-getgrent_r.c): Likewise.
22424 (CFLAGS-getgrent.c): Likewise.
22425 (CFLAGS-fgetgrent.c): Likewise.
22426 (CFLAGS-fgetgrent_r.c): Likewise.
22427 (CFLAGS-putgrent.c): Likewise.
22428 (CFLAGS-initgroups.c): Likewise.
22429 (CFLAGS-getgrgid.c): Likewise.
22430 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
22431 (CFLAGS-getsgent.c): Likewise.
22432 (CFLAGS-fgetsgent.c): Likewise.
22433 (CFLAGS-fgetsgent_r.c): Likewise.
22434 (CFLAGS-putsgent.c): Likewise.
22435 (CFLAGS-getsgnam.c): Likewise.
22436 (CFLAGS-getsgnam_r.c): Likewise.
22437 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
22438 (CFLAGS-iconv_charmap.c): Likewise.
22439 (CFLAGS-dummy-repertoire.c): Likewise.
22440 (CFLAGS-charmap.c): Likewise.
22441 (CFLAGS-linereader.c): Likewise.
22442 (CFLAGS-simple-hash.c): Likewise.
22443 (CFLAGS-gconv_conf.c): Likewise.
22444 (CFLAGS-iconvconfig.c): Likewise.
22445 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
22446 (CFLAGS-gethstbyad.c): Likewise.
22447 (CFLAGS-gethstbynm_r.c): Likewise.
22448 (CFLAGS-gethstbynm.c): Likewise.
22449 (CFLAGS-gethstbynm2_r.c): Likewise.
22450 (CFLAGS-gethstbynm2.c): Likewise.
22451 (CFLAGS-gethstent_r.c): Likewise.
22452 (CFLAGS-gethstent.c): Likewise.
22453 (CFLAGS-rcmd.c): Likewise.
22454 (CFLAGS-getnetbynm_r.c): Likewise.
22455 (CFLAGS-getnetbynm.c): Likewise.
22456 (CFLAGS-getnetbyad_r.c): Likewise.
22457 (CFLAGS-getnetbyad.c): Likewise.
22458 (CFLAGS-getnetent_r.c): Likewise.
22459 (CFLAGS-getnetent.c): Likewise.
22460 (CFLAGS-getaliasent_r.c): Likewise.
22461 (CFLAGS-getaliasent.c): Likewise.
22462 (CFLAGS-getrpcent_r.c): Likewise.
22463 (CFLAGS-getrpcent.c): Likewise.
22464 (CFLAGS-getservent_r.c): Likewise.
22465 (CFLAGS-getservent.c): Likewise.
22466 (CFLAGS-getprtent_r.c): Likewise.
22467 (CFLAGS-getprtent.c): Likewise.
22468 (CFLAGS-either_ntoh.c): Likewise.
22469 (CFLAGS-either_hton.c): Likewise.
22470 (CFLAGS-getnetgrent.c): Likewise.
22471 (CFLAGS-getnetgrent_r.c): Likewise.
22472 (CFLAGS-tst-checks-posix.c): Likewise.
22473 (CFLAGS-tst-sockaddr.c): Likewise.
22474 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
22475 (CFLAGS-tst-translit.c): Likewise.
22476 (CFLAGS-tst-gettext2.c): Likewise.
22477 (CFLAGS-tst-codeset.c): Likewise.
22478 (CFLAGS-tst-gettext3.c): Likewise.
22479 (CFLAGS-tst-gettext4.c): Likewise.
22480 (CFLAGS-tst-gettext5.c): Likewise.
22481 (CFLAGS-tst-gettext6.c): Likewise.
22482 * io/Makefile (CFLAGS-open.c): Likewise.
22483 (CFLAGS-open64.c): Likewise.
22484 (CFLAGS-creat.c): Likewise.
22485 (CFLAGS-creat64.c): Likewise.
22486 (CFLAGS-fcntl.c): Likewise.
22487 (CFLAGS-poll.c): Likewise.
22488 (CFLAGS-ppoll.c): Likewise.
22489 (CFLAGS-lockf.c): Likewise.
22490 (CFLAGS-statfs.c): Likewise.
22491 (CFLAGS-fstatfs.c): Likewise.
22492 (CFLAGS-statvfs.c): Likewise.
22493 (CFLAGS-fstatvfs.c): Likewise.
22494 (CFLAGS-fts.c): Likewise.
22495 (CFLAGS-fts64.c): Likewise.
22496 (CFLAGS-ftw.c): Likewise.
22497 (CFLAGS-ftw64.c): Likewise.
22498 (CFLAGS-lockf.c): Likewise.
22499 (CFLAGS-posix_fallocate.c): Likewise.
22500 (CFLAGS-posix_fallocate64.c): Likewise.
22501 (CFLAGS-fallocate.c): Likewise.
22502 (CFLAGS-fallocate64.c): Likewise.
22503 (CFLAGS-read.c): Likewise.
22504 (CFLAGS-write.c): Likewise.
22505 (CFLAGS-test-stat.c): Likewise.
22506 (CFLAGS-test-lfs.c): Likewise.
22507 * libio/Makefile (CFLAGS-fileops.c): Likewise.
22508 (CFLAGS-fputc.c): Likewise.
22509 (CFLAGS-fputwc.c): Likewise.
22510 (CFLAGS-freopen64.c): Likewise.
22511 (CFLAGS-freopen.c): Likewise.
22512 (CFLAGS-fseek.c): Likewise.
22513 (CFLAGS-fseeko64.c): Likewise.
22514 (CFLAGS-fseeko.c): Likewise.
22515 (CFLAGS-ftello64.c): Likewise.
22516 (CFLAGS-ftello.c): Likewise.
22517 (CFLAGS-fwide.c): Likewise.
22518 (CFLAGS-genops.c): Likewise.
22519 (CFLAGS-getc.c): Likewise.
22520 (CFLAGS-getchar.c): Likewise.
22521 (CFLAGS-getwc.c): Likewise.
22522 (CFLAGS-getwchar.c): Likewise.
22523 (CFLAGS-iofclose.c): Likewise.
22524 (CFLAGS-iofflush.c): Likewise.
22525 (CFLAGS-iofgetpos64.c): Likewise.
22526 (CFLAGS-iofgetpos.c): Likewise.
22527 (CFLAGS-iofgets.c): Likewise.
22528 (CFLAGS-iofgetws.c): Likewise.
22529 (CFLAGS-iofputs.c): Likewise.
22530 (CFLAGS-iofputws.c): Likewise.
22531 (CFLAGS-iofread.c): Likewise.
22532 (CFLAGS-iofsetpos64.c): Likewise.
22533 (CFLAGS-iofsetpos.c): Likewise.
22534 (CFLAGS-ioftell.c): Likewise.
22535 (CFLAGS-iofwrite.c): Likewise.
22536 (CFLAGS-iogetdelim.c): Likewise.
22537 (CFLAGS-iogetline.c): Likewise.
22538 (CFLAGS-iogets.c): Likewise.
22539 (CFLAGS-iogetwline.c): Likewise.
22540 (CFLAGS-ioputs.c): Likewise.
22541 (CFLAGS-ioseekoff.c): Likewise.
22542 (CFLAGS-ioseekpos.c): Likewise.
22543 (CFLAGS-iosetbuffer.c): Likewise.
22544 (CFLAGS-iosetvbuf.c): Likewise.
22545 (CFLAGS-ioungetc.c): Likewise.
22546 (CFLAGS-ioungetwc.c): Likewise.
22547 (CFLAGS-oldfileops.c): Likewise.
22548 (CFLAGS-oldiofclose.c): Likewise.
22549 (CFLAGS-oldiofgetpos64.c): Likewise.
22550 (CFLAGS-oldiofgetpos.c): Likewise.
22551 (CFLAGS-oldiofsetpos64.c): Likewise.
22552 (CFLAGS-oldiofsetpos.c): Likewise.
22553 (CFLAGS-peekc.c): Likewise.
22554 (CFLAGS-putc.c): Likewise.
22555 (CFLAGS-putchar.c): Likewise.
22556 (CFLAGS-putwc.c): Likewise.
22557 (CFLAGS-putwchar.c): Likewise.
22558 (CFLAGS-rewind.c): Likewise.
22559 (CFLAGS-wfileops.c): Likewise.
22560 (CFLAGS-wgenops.c): Likewise.
22561 (CFLAGS-oldiofopen.c): Likewise.
22562 (CFLAGS-iofopen.c): Likewise.
22563 (CFLAGS-iofopen64.c): Likewise.
22564 (CFLAGS-oldtmpfile.c): Likewise.
22565 (CFLAGS-tst_putwc.c): Likewise.
22566 * locale/Makefile (CFLAGS-md5.c): Likewise.
22567 (CFLAGS-charmap.c): Likewise.
22568 (CFLAGS-locfile.c): Likewise.
22569 (CFLAGS-charmap-dir.c): Likewise.
22570 * login/Makefile (CFLAGS-grantpt.c): Likewise.
22571 (CFLAGS-getpt.c): Likewise.
22572 (CFLAGS-pt_chown.c): Likewise.
22573 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
22574 (CFLAGS-obstack.c): Likewise.
22575 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
22576 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
22577 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
22578 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
22579 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
22580 (CFLAGS-test-tgmath.c): Likewise.
22581 (CFLAGS-test-tgmath2.c): Likewise.
22582 (CFLAGS-test-tgmath-ret.c): Likewise.
22583 (CFLAGS-test-powl.c): Likewise.
22584 (CFLAGS-test-snan.c): Likewise.
22585 (CFLAGS-test-signgam-finite.c): Likewise.
22586 (CFLAGS-test-signgam-finite-c99.c): Likewise.
22587 (CFLAGS-test-signgam-finite-c11.c): Likewise.
22588 (CFLAGS-test-signgam-uchar.c): Likewise.
22589 (CFLAGS-test-signgam-uchar-init.c): Likewise.
22590 (CFLAGS-test-signgam-uchar-static.c): Likewise.
22591 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
22592 (CFLAGS-test-signgam-uint.c): Likewise.
22593 (CFLAGS-test-signgam-uint-init.c): Likewise.
22594 (CFLAGS-test-signgam-uint-static.c): Likewise.
22595 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
22596 (CFLAGS-test-signgam-ullong.c): Likewise.
22597 (CFLAGS-test-signgam-ullong-init.c): Likewise.
22598 (CFLAGS-test-signgam-ullong-static.c): Likewise.
22599 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
22600 (CFLAGS-test-math-cxx11.cc): Likewise.
22601 (CFLAGS-test-math-isinff.cc): Likewise.
22602 (CFLAGS-test-math-iszero.cc): Likewise.
22603 (CFLAGS-test-math-issignaling.cc): Likewise.
22604 (CFLAGS-test-math-iscanonical.cc): Likewise.
22605 (CFLAGS-test-iszero-excess-precision.c): Likewise.
22606 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
22607 (CFLAGS-test-flt-eval-method.c): Likewise.
22608 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
22609 (CFLAGS-test-finite-macros.c): Likewise.
22610 * misc/Makefile (CFLAGS-select.c): Likewise.
22611 (CFLAGS-tsearch.c): Likewise.
22612 (CFLAGS-lsearch.c): Likewise.
22613 (CFLAGS-pselect.c): Likewise.
22614 (CFLAGS-readv.c): Likewise.
22615 (CFLAGS-writev.c): Likewise.
22616 (CFLAGS-preadv.c): Likewise.
22617 (CFLAGS-preadv64.c): Likewise.
22618 (CFLAGS-pwritev.c): Likewise.
22619 (CFLAGS-pwritev64.c): Likewise.
22620 (CFLAGS-preadv2.c): Likewise.
22621 (CFLAGS-preadv64v2.c): Likewise.
22622 (CFLAGS-pwritev2.c): Likewise.
22623 (CFLAGS-pwritev64v2.c): Likewise.
22624 (CFLAGS-usleep.c): Likewise.
22625 (CFLAGS-syslog.c): Likewise.
22626 (CFLAGS-error.c): Likewise.
22627 (CFLAGS-getpass.c): Likewise.
22628 (CFLAGS-mkstemp.c): Likewise.
22629 (CFLAGS-mkstemp64.c): Likewise.
22630 (CFLAGS-getsysstats.c): Likewise.
22631 (CFLAGS-getusershell.c): Likewise.
22632 (CFLAGS-err.c): Likewise.
22633 (CFLAGS-tst-tsearch.c): Likewise.
22634 (CFLAGS-msync.c): Likewise.
22635 (CFLAGS-fdatasync.c): Likewise.
22636 (CFLAGS-fsync.c): Likewise.
22637 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
22638 (CFLAGS-unwind.c): Likewise.
22639 (CFLAGS-unwind-forcedunwind.c): Likewise.
22640 (CFLAGS-pthread_cancel.c): Likewise.
22641 (CFLAGS-pthread_setcancelstate.c): Likewise.
22642 (CFLAGS-pthread_setcanceltype.c): Likewise.
22643 (CFLAGS-cancellation.c): Likewise.
22644 (CFLAGS-libc-cancellation.c): Likewise.
22645 (CFLAGS-pthread_exit.c): Likewise.
22646 (CFLAGS-forward.c): Likewise.
22647 (CFLAGS-pthread_testcancel.c): Likewise.
22648 (CFLAGS-pthread_join.c): Likewise.
22649 (CFLAGS-pthread_timedjoin.c): Likewise.
22650 (CFLAGS-pthread_once.c): Likewise.
22651 (CFLAGS-pthread_cond_wait.c): Likewise.
22652 (CFLAGS-sem_wait.c): Likewise.
22653 (CFLAGS-sem_timedwait.c): Likewise.
22654 (CFLAGS-fcntl.c): Likewise.
22655 (CFLAGS-lockf.c): Likewise.
22656 (CFLAGS-pread.c): Likewise.
22657 (CFLAGS-pread64.c): Likewise.
22658 (CFLAGS-pwrite.c): Likewise.
22659 (CFLAGS-pwrite64.c): Likewise.
22660 (CFLAGS-wait.c): Likewise.
22661 (CFLAGS-waitpid.c): Likewise.
22662 (CFLAGS-sigwait.c): Likewise.
22663 (CFLAGS-msgrcv.c): Likewise.
22664 (CFLAGS-msgsnd.c): Likewise.
22665 (CFLAGS-tcdrain.c): Likewise.
22666 (CFLAGS-open.c): Likewise.
22667 (CFLAGS-open64.c): Likewise.
22668 (CFLAGS-pause.c): Likewise.
22669 (CFLAGS-recv.c): Likewise.
22670 (CFLAGS-send.c): Likewise.
22671 (CFLAGS-accept.c): Likewise.
22672 (CFLAGS-sendto.c): Likewise.
22673 (CFLAGS-connect.c): Likewise.
22674 (CFLAGS-recvfrom.c): Likewise.
22675 (CFLAGS-recvmsg.c): Likewise.
22676 (CFLAGS-sendmsg.c): Likewise.
22677 (CFLAGS-close.c): Likewise.
22678 (CFLAGS-read.c): Likewise.
22679 (CFLAGS-write.c): Likewise.
22680 (CFLAGS-nanosleep.c): Likewise.
22681 (CFLAGS-sigsuspend.c): Likewise.
22682 (CFLAGS-msync.c): Likewise.
22683 (CFLAGS-fdatasync.c): Likewise.
22684 (CFLAGS-fsync.c): Likewise.
22685 (CFLAGS-pt-system.c): Likewise.
22686 (CFLAGS-tst-cleanup2.c): Likewise.
22687 (CFLAGS-tst-cleanupx2.c): Likewise.
22688 (CFLAGS-flockfile.c): Likewise.
22689 (CFLAGS-ftrylockfile.c): Likewise.
22690 (CFLAGS-funlockfile.c): Likewise.
22691 (CFLAGS-tst-initializers1.c): Likewise.
22692 (CFLAGS-tst-initializers1-c89.c): Likewise.
22693 (CFLAGS-tst-initializers1-c99.c): Likewise.
22694 (CFLAGS-tst-initializers1-c11.c): Likewise.
22695 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
22696 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
22697 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
22698 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
22699 (CFLAGS-nscd_getgr_r.c): Likewise.
22700 (CFLAGS-nscd_gethst_r.c): Likewise.
22701 (CFLAGS-nscd_getai.c): Likewise.
22702 (CFLAGS-nscd_initgroups.c): Likewise.
22703 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
22704 (CFLAGS-pause.c): Likewise.
22705 (CFLAGS-pread.c): Likewise.
22706 (CFLAGS-pread64.c): Likewise.
22707 (CFLAGS-pwrite.c): Likewise.
22708 (CFLAGS-pwrite64.c): Likewise.
22709 (CFLAGS-sleep.c): Likewise.
22710 (CFLAGS-wait.c): Likewise.
22711 (CFLAGS-waitid.c): Likewise.
22712 (CFLAGS-waitpid.c): Likewise.
22713 (CFLAGS-getopt.c): Likewise.
22714 (CFLAGS-wordexp.c): Likewise.
22715 (CFLAGS-sysconf.c): Likewise.
22716 (CFLAGS-pathconf.c): Likewise.
22717 (CFLAGS-fpathconf.c): Likewise.
22718 (CFLAGS-spawn.c): Likewise.
22719 (CFLAGS-spawnp.c): Likewise.
22720 (CFLAGS-spawni.c): Likewise.
22721 (CFLAGS-glob.c): Likewise.
22722 (CFLAGS-glob64.c): Likewise.
22723 (CFLAGS-getconf.c): Likewise.
22724 (CFLAGS-nanosleep.c): Likewise.
22725 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
22726 (CFLAGS-getpwent.c): Likewise.
22727 (CFLAGS-getpw.c): Likewise.
22728 (CFLAGS-fgetpwent_r.c): Likewise.
22729 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
22730 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
22731 (CFLAGS-mq_timedreceive.c): Likewise.
22732 (CFLAGS-mq_timedsend.c): Likewise.
22733 (CFLAGS-clock_nanosleep.c): Likewise.
22734 (CFLAGS-librt-cancellation.c): Likewise.
22735 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
22736 (CFLAGS-getspent.c): Likewise.
22737 (CFLAGS-fgetspent.c): Likewise.
22738 (CFLAGS-fgetspent_r.c): Likewise.
22739 (CFLAGS-putspent.c): Likewise.
22740 (CFLAGS-getspnam.c): Likewise.
22741 (CFLAGS-getspnam_r.c): Likewise.
22742 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
22743 (CFLAGS-sigsuspend.c): Likewise.
22744 (CFLAGS-sigtimedwait.c): Likewise.
22745 (CFLAGS-sigwait.c): Likewise.
22746 (CFLAGS-sigwaitinfo.c): Likewise.
22747 (CFLAGS-sigreturn.c): Likewise.
22748 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
22749 (CFLAGS-vfwprintf.c): Likewise.
22750 (CFLAGS-tmpfile.c): Likewise.
22751 (CFLAGS-tmpfile64.c): Likewise.
22752 (CFLAGS-tempname.c): Likewise.
22753 (CFLAGS-psignal.c): Likewise.
22754 (CFLAGS-vprintf.c): Likewise.
22755 (CFLAGS-cuserid.c): Likewise.
22756 (CFLAGS-errlist.c): Likewise.
22757 (CFLAGS-siglist.c): Likewise.
22758 (CFLAGS-scanf15.c): Likewise.
22759 (CFLAGS-scanf17.c): Likewise.
22760 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
22761 (CFLAGS-msort.c): Likewise.
22762 (CFLAGS-qsort.c): Likewise.
22763 (CFLAGS-system.c): Likewise.
22764 (CFLAGS-fmtmsg.c): Likewise.
22765 (CFLAGS-strfmon.c): Likewise.
22766 (CFLAGS-strfmon_l.c): Likewise.
22767 (CFLAGS-strfromd.c): Likewise.
22768 (CFLAGS-strfromf.c): Likewise.
22769 (CFLAGS-strfroml.c): Likewise.
22770 (CFLAGS-tst-bsearch.c): Likewise.
22771 (CFLAGS-tst-qsort.c): Likewise.
22772 (CFLAGS-tst-makecontext2.c): Likewise.
22773 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
22774 (CFLAGS-xnlm_prot.c): Likewise.
22775 (CFLAGS-xrstat.c): Likewise.
22776 (CFLAGS-xyppasswd.c): Likewise.
22777 (CFLAGS-xklm_prot.c): Likewise.
22778 (CFLAGS-xrex.c): Likewise.
22779 (CFLAGS-xsm_inter.c): Likewise.
22780 (CFLAGS-xmount.c): Likewise.
22781 (CFLAGS-xrusers.c): Likewise.
22782 (CFLAGS-xspray.c): Likewise.
22783 (CFLAGS-xnfs_prot.c): Likewise.
22784 (CFLAGS-xrquota.c): Likewise.
22785 (CFLAGS-xkey_prot.c): Likewise.
22786 (CFLAGS-auth_unix.c): Likewise.
22787 (CFLAGS-key_call.c): Likewise.
22788 (CFLAGS-pmap_rmt.c): Likewise.
22789 (CFLAGS-clnt_perr.c): Likewise.
22790 (CFLAGS-openchild.c): Likewise.
22791 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
22792 (CFLAGS-msgsnd.c): Likewise.
22793 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
22794 * time/Makefile (CFLAGS-tzfile.c): Likewise.
22795 (CFLAGS-tzset.c): Likewise.
22796 (CFLAGS-getdate.c): Likewise.
22797 (CFLAGS-test_time.c): Likewise.
22798 (CPPFLAGS-tst-tzname.c): Likewise.
22799 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
22800 (CFLAGS-zic.c): Likewise.
22801 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
22802 (CFLAGS-wcswidth.c): Likewise.
22803 (CFLAGS-wcstol.c): Likewise.
22804 (CFLAGS-wcstoul.c): Likewise.
22805 (CFLAGS-wcstoll.c): Likewise.
22806 (CFLAGS-wcstoull.c): Likewise.
22807 (CFLAGS-wcstod.c): Likewise.
22808 (CFLAGS-wcstold.c): Likewise.
22809 (CFLAGS-wcstof128.c): Likewise.
22810 (CFLAGS-wcstof.c): Likewise.
22811 (CFLAGS-wcstol_l.c): Likewise.
22812 (CFLAGS-wcstoul_l.c): Likewise.
22813 (CFLAGS-wcstoll_l.c): Likewise.
22814 (CFLAGS-wcstoull_l.c): Likewise.
22815 (CFLAGS-wcstod_l.c): Likewise.
22816 (CFLAGS-wcstold_l.c): Likewise.
22817 (CFLAGS-wcstof128_l.c): Likewise.
22818 (CFLAGS-wcstof_l.c): Likewise.
22819 (CPPFLAGS-tst-wchar-h.c): Likewise.
22820 (CPPFLAGS-wcstold_l.c): Likewise.
22822 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
22824 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
22826 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22827 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22829 * manual/tunables.texi (Hardware Capability Tunables): Document
22830 glibc.tune.cached_memopt.
22831 * sysdeps/powerpc/cpu-features.c: New file.
22832 * sysdeps/powerpc/cpu-features.h: New file.
22833 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
22834 _dl_powerpc_cpu_features.
22835 * sysdeps/powerpc/dl-tunables.list: New file.
22836 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
22837 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
22838 (INIT_ARCH): Initialize use_aligned_memopt.
22839 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
22840 IS_IN(rtld))]: Restrict dl_platform_init availability and
22841 initialize CPU features used by tunables.
22842 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
22843 Add memcpy-power8-cached.
22844 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
22845 __memcpy_power8_cached.
22846 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
22847 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
22850 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
22852 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
22853 (CFLAGS-noinl-tester.c): Likewise.
22854 (CFLAGS-tst-strlen.c): Likewise.
22855 (CFLAGS-stratcliff.c): Likewise.
22856 (CFLAGS-test-ffs.c): Likewise.
22857 (CFLAGS-tst-inlcall.c): Likewise.
22858 (CFLAGS-tst-xbzero-opt.c): Likewise.
22859 (CFLAGS-memcpy.c): Likewise.
22860 (CFLAGS-wordcopy.c): Likewise.
22862 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22864 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
22865 Store r15 on stack and add cfi rule.
22866 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
22869 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
22872 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
22875 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
22877 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22878 Add s_sinf-sse2 and s_sinf-fma.
22879 (CFLAGS-s_sinf-fma.c): New.
22880 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
22881 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
22882 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
22884 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
22886 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
22888 2017-12-07 Joseph Myers <joseph@codesourcery.com>
22891 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
22892 part of result to imaginary part of argument if it is zero and the
22893 real part of the argument is not finite.
22894 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
22895 of result to real part of argument if it is zero and the imaginary
22896 part of the argument is not finite.
22898 2017-12-07 Mike FABIAN <mfabian@redhat.com>
22901 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
22902 and to the list of locales to be built for testing.
22903 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
22904 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
22905 and build the collation rules upon that.
22907 2017-12-07 Joseph Myers <joseph@codesourcery.com>
22909 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
22910 * manual/math.texi (Mathematics): Document support for _Float32.
22911 * math/Makefile (test-types): Add float32.
22912 * math/Versions (GLIBC_2.27): Add _Float32 functions.
22913 * stdlib/Versions (GLIBC_2.27): Likewise.
22914 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22915 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22916 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22917 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22918 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22919 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
22920 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22921 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
22922 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22923 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22924 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22925 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22926 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22927 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
22928 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22929 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
22930 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22931 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
22932 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22933 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
22934 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
22935 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
22937 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22938 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22939 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22940 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
22941 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
22942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
22944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
22946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
22948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
22955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
22959 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22960 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22961 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22962 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22963 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
22964 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22965 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22966 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22967 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22968 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22969 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
22971 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22977 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22978 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22979 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22980 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22981 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22982 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22983 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22984 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22986 2017-12-06 Joseph Myers <joseph@codesourcery.com>
22988 * stdlib/strtof.c: Include <bits/floatn.h>
22989 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
22990 and later undefine as macro. Define as weak alias if
22992 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
22993 and later undefine as macro. Define as weak alias if
22995 * stdlib/strtof_l.c: Include <bits/floatn.h>
22996 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
22997 and later undefine as macro. Define as weak alias if
22999 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
23000 and later undefine as macro. Define as weak alias if
23003 * stdlib/strfromf.c: Include <bits/floatn.h>.
23004 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
23005 and later undefine as macro and define as weak alias.
23007 * math/test-float32.h: New file.
23009 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
23010 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
23011 (libm_alias_float_other_r): Create f32 alias.
23012 (libm_alias_float_r): Use semicolon before call to
23013 libm_alias_float_other_r.
23015 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
23016 second argument to libm_alias_float_other.
23017 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
23018 second argument to libm_alias_float_other.
23019 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
23020 argument to libm_alias_float_other.
23023 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
23024 real part of result for argument 0 + i * NaN.
23025 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
23026 results for tests of 0 + i * NaN.
23028 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23030 * sysdeps/alpha/fpu/libm-test-ulps: Update.
23032 2017-12-06 David S. Miller <davem@davemloft.net>
23034 * sysdeps/sparc/fpu/libm-test-ulps: Update
23035 exp_{downward,towardzero,upward} ulps.
23037 2017-12-06 Joseph Myers <joseph@codesourcery.com>
23039 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
23042 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
23044 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
23046 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
23048 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
23051 2017-12-06 Mike FABIAN <mfabian@redhat.com>
23054 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
23055 and to the list of locales to be built for testing.
23056 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
23057 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
23058 and build the collation rules upon that.
23060 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23062 * NEWS: Add sinf to list of optimized functions.
23064 2017-12-06 Joseph Myers <joseph@codesourcery.com>
23066 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
23067 (__HAVE_FLOAT32X): Likewise.
23068 * manual/math.texi (Mathematics): Document support for _Float64
23070 * math/Makefile (test-types): Add float64 and float32x.
23071 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
23073 * stdlib/Versions (GLIBC_2.27): Likewise.
23074 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23075 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23076 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23077 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23078 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23079 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
23080 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
23081 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
23082 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
23083 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23084 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23085 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23086 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23087 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
23088 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
23089 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
23090 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
23091 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
23092 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
23093 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
23094 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
23095 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
23097 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23098 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23099 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23100 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
23101 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
23102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
23104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
23106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
23108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
23114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
23118 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23119 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23120 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23121 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23122 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
23123 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
23124 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23125 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23126 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23127 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23128 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
23130 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23132 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
23134 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23136 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23137 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23138 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23139 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23140 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23141 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23142 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23143 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23145 2017-12-05 Joseph Myers <joseph@codesourcery.com>
23147 * bits/floatn-common.h: Include <bits/long-double.h>.
23148 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
23149 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
23150 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
23151 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
23152 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
23153 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
23154 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23155 (__builtin_huge_valf64): Use __builtin_huge_vall.
23156 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23157 (__builtin_inff64): Use __builtin_infl.
23158 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23159 (__builtin_nanf64): Use __builtin_nanl.
23160 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23161 (__builtin_nansf64): Use __builtin_nansl.
23163 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
23164 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
23165 Carlos O'Donnell <carlos@redhat.com>
23167 * elf/dl-tunables.list: Add elision parameters.
23168 * manual/tunables.texi: Add entries about elision tunable.
23169 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
23170 Add callback functions to dynamically enable/disable elision.
23171 Add multiple callbacks functions to set elision parameters.
23172 Deleted __libc_enable_secure check.
23173 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
23174 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
23175 * configure: Regenerated.
23176 * configure.ac: Option enable_lock_elision was deleted.
23177 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
23178 * config.make.in: Remove references to enable_lock_elision.
23179 * manual/install.texi: Elision configure option was removed.
23180 * INSTALL: Regenerated to remove enable_lock_elision.
23182 Disable elision so it can verify error case for destroying a mutex.
23183 * sysdeps/powerpc/nptl/elide.h:
23184 Cleanup ENABLE_LOCK_ELISION check.
23185 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
23186 * sysdeps/s390/configure: Regenerated.
23187 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
23188 * nptl/tst-mutex8.c:
23189 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
23190 * sysdeps/powerpc/powerpc32/sysdep.h:
23191 Deleted all ENABLE_LOCK_ELISION checks.
23192 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
23193 * sysdeps/powerpc/sysdep.h: Likewise.
23194 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
23195 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
23196 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
23197 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
23198 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23199 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
23200 enable-lock-elision.
23202 2017-12-05 Joseph Myers <joseph@codesourcery.com>
23204 * stdlib/strtod.c: Include <bits/floatn.h>.
23205 (BUILD_DOUBLE): New macro.
23206 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23207 (strtof64): Define and later undefine as macro. Define as weak
23208 alias if [!USE_WIDE_CHAR].
23209 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23210 (wcstof64): Define and later undefine as macro. Define as weak
23211 alias if [USE_WIDE_CHAR].
23212 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23213 (strtof32x): Define and later undefine as macro. Define as weak
23214 alias if [!USE_WIDE_CHAR].
23215 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23216 (wcstof32x): Define and later undefine as macro. Define as weak
23217 alias if [USE_WIDE_CHAR].
23218 * stdlib/strtod_l.c: Include <bits/floatn.h>.
23219 (BUILD_DOUBLE): New macro.
23220 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23221 (strtof64_l): Define and later undefine as macro. Define as weak
23222 alias if [!USE_WIDE_CHAR].
23223 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23224 (wcstof64_l): Define and later undefine as macro. Define as weak
23225 alias if [USE_WIDE_CHAR].
23226 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23227 (strtof32x_l): Define and later undefine as macro. Define as weak
23228 alias if [!USE_WIDE_CHAR].
23229 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23230 (wcstof32x_l): Define and later undefine as macro. Define as weak
23231 alias if [USE_WIDE_CHAR].
23233 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23235 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
23236 (reduced): Use ones as double instead of integer.
23238 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
23240 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
23242 2017-12-05 Joseph Myers <joseph@codesourcery.com>
23244 * stdlib/strfromd.c: Include <bits/floatn.h>.
23245 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
23246 and later undefine as macro and define as weak alias.
23247 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
23250 * math/test-float32x.h: New file.
23251 * math/test-float64.h: Likewise.
23253 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
23254 (libm_alias_double_other_r_f64): New macro.
23255 (libm_alias_double_other_r_f32x): Likewise.
23256 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
23257 libm_alias_double_other_r_f32x.
23258 (libm_alias_double_r): Use semicolon before call to
23259 libm_alias_double_other_r.
23260 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
23262 (libm_alias_double_other_r_f64): New macro.
23263 (libm_alias_double_other_r_f32x): Likewise.
23264 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
23265 libm_alias_double_other_r_f32x.
23267 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
23269 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
23271 (SINF_FUNC): Likewise. Replace floor with simple casts.
23273 2017-12-05 Mike FABIAN <mfabian@redhat.com>
23276 * localedata/Makefile: Add et_EE.UTF-8 to test-input
23277 and to the list of locales to be built for testing.
23278 * localedata/et_EE.UTF-8.in: New file for testing the collation.
23279 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
23280 and build the collation rules upon that.
23282 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
23284 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
23285 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
23286 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
23287 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
23288 instead of __insn__xxx.
23289 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
23290 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
23291 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
23292 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
23293 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
23294 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
23296 2017-12-05 Florian Weimer <fweimer@redhat.com>
23298 Linux: Implement interfaces for memory protection keys
23299 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
23301 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
23302 * support/xunistd.h (xsysconf): Declare.
23303 * support/xraise.c: New file.
23304 * support/xsigaction.c: Likewise.
23305 * support/xsignal.c: Likewise.
23306 * support/xsysconf.c: Likewise.
23307 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
23308 pkey_set, pkey_get, pkey_mprotect.
23309 [misc] (tests): Add tst-pkey.
23310 (tst-pkey): Link with -lpthread.
23311 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
23312 pkey_free, pkey_set, pkey_get, pkey_mprotect.
23313 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
23314 (PKEY_DISABLE_WRITE): Define.
23315 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
23317 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
23318 (SEGV_PKUERR): Add.
23319 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
23320 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
23321 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
23322 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
23324 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
23325 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
23326 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
23327 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
23328 * sysdeps/unix/sysv/linux/**.abilist: Update.
23330 2017-12-05 Florian Weimer <fweimer@redhat.com>
23332 * support/tst-test_compare.c (subprocess): Use long long instead
23333 of long argument for consistent type width across 32-bit and
23334 64-bit architectures.
23335 (do_test): Adjust expected output.
23337 2017-12-05 Joseph Myers <joseph@codesourcery.com>
23339 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
23340 (cosf): Define using libm_alias_float.
23341 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
23342 (fabsf): Define using libm_alias_float.
23343 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
23344 (fmaf): Define using libm_alias_float.
23345 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
23346 (rintf): Define using libm_alias_float.
23347 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
23348 (sinf): Define using libm_alias_float.
23349 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
23350 <libm-alias-float.h>.
23351 (modff): Define using libm_alias_float.
23352 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
23353 <libm-alias-float.h>.
23354 (logbf): Define using libm_alias_float.
23355 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
23356 <libm-alias-float.h>.
23357 (ceilf): Define using libm_alias_float.
23358 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
23359 <libm-alias-float.h>.
23360 (copysignf): Define using libm_alias_float.
23361 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
23362 <libm-alias-float.h>.
23363 (floorf): Define using libm_alias_float.
23364 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
23365 <libm-alias-float.h>.
23366 (llrintf): Define using libm_alias_float.
23367 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
23368 <libm-alias-float.h>.
23369 (llroundf): Define using libm_alias_float.
23370 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
23371 <libm-alias-float.h>.
23372 (lrintf): Define using libm_alias_float.
23373 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
23374 <libm-alias-float.h>.
23375 (lroundf): Define using libm_alias_float.
23376 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
23377 <libm-alias-float.h>.
23378 (nearbyintf): Define using libm_alias_float.
23379 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
23380 <libm-alias-float.h>.
23381 (rintf): Define using libm_alias_float.
23382 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
23383 <libm-alias-float.h>.
23384 (roundf): Define using libm_alias_float.
23385 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
23386 <libm-alias-float.h>.
23387 (truncf): Define using libm_alias_float.
23388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
23389 Include <libm-alias-float.h>.
23390 (ceilf): Define using libm_alias_float.
23391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
23392 Include <libm-alias-float.h>.
23393 (copysignf): Define using libm_alias_float.
23394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
23395 Include <libm-alias-float.h>.
23396 (floorf): Define using libm_alias_float.
23397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
23398 Include <libm-alias-float.h>.
23399 (llrintf): Define using libm_alias_float.
23400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
23401 Include <libm-alias-float.h>.
23402 (llroundf): Define using libm_alias_float.
23403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
23404 Include <libm-alias-float.h>.
23405 (logbf): Define using libm_alias_float.
23406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
23407 Include <libm-alias-float.h>.
23408 (lrintf): Define using libm_alias_float.
23409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
23410 Include <libm-alias-float.h>.
23411 (lroundf): Define using libm_alias_float.
23412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
23413 Include <libm-alias-float.h>.
23414 (modff): Define using libm_alias_float.
23415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
23416 Include <libm-alias-float.h>.
23417 (roundf): Define using libm_alias_float.
23418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
23419 Include <libm-alias-float.h>.
23420 (truncf): Define using libm_alias_float.
23421 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
23422 <libm-alias-float.h>.
23423 (llrintf): Define using libm_alias_float.
23424 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
23425 <libm-alias-float.h>.
23426 (llroundf): Define using libm_alias_float.
23427 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
23428 <libm-alias-float.h>.
23429 (ceilf): Define using libm_alias_float.
23430 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
23431 <libm-alias-float.h>.
23432 (floorf): Define using libm_alias_float.
23433 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
23434 <libm-alias-float.h>.
23435 (llroundf): Define using libm_alias_float.
23436 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
23437 <libm-alias-float.h>.
23438 (lroundf): Define using libm_alias_float.
23439 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
23440 <libm-alias-float.h>.
23441 (roundf): Define using libm_alias_float.
23442 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
23443 <libm-alias-float.h>.
23444 (truncf): Define using libm_alias_float.
23445 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
23446 <libm-alias-float.h>.
23447 (copysignf): Define using libm_alias_float.
23448 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
23449 <libm-alias-float.h>.
23450 (llrintf): Define using libm_alias_float.
23451 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
23452 <libm-alias-float.h>.
23453 (llroundf): Define using libm_alias_float.
23454 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
23455 <libm-alias-float.h>.
23456 (lrintf): Define using libm_alias_float.
23457 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
23458 <libm-alias-float.h>.
23459 (lroundf): Define using libm_alias_float.
23460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
23461 <libm-alias-float.h>.
23462 (ceilf): Define using libm_alias_float.
23463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
23464 <libm-alias-float.h>.
23465 (copysignf): Define using libm_alias_float.
23466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
23467 <libm-alias-float.h>.
23468 (cosf): Define using libm_alias_float.
23469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
23470 <libm-alias-float.h>.
23471 (floorf): Define using libm_alias_float.
23472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
23473 <libm-alias-float.h>.
23474 (llrintf): Define using libm_alias_float.
23475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
23476 <libm-alias-float.h>.
23477 (llroundf): Define using libm_alias_float.
23478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
23479 <libm-alias-float.h>.
23480 (logbf): Define using libm_alias_float.
23481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
23482 <libm-alias-float.h>.
23483 (modff): Define using libm_alias_float.
23484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
23485 <libm-alias-float.h>.
23486 (roundf): Define using libm_alias_float.
23487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
23488 <libm-alias-float.h>.
23489 (sinf): Define using libm_alias_float.
23490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
23491 <libm-alias-float.h>.
23492 (truncf): Define using libm_alias_float.
23493 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
23494 <libm-alias-float.h>.
23495 (ceilf): Define using libm_alias_float.
23496 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
23497 <libm-alias-float.h>.
23498 (copysignf): Define using libm_alias_float.
23499 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
23500 <libm-alias-float.h>.
23501 (floorf): Define using libm_alias_float.
23502 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
23503 <libm-alias-float.h>.
23504 (llrintf): Define using libm_alias_float.
23505 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
23506 <libm-alias-float.h>.
23507 (llroundf): Define using libm_alias_float.
23508 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
23509 <libm-alias-float.h>.
23510 (nearbyintf): Define using libm_alias_float.
23511 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
23512 <libm-alias-float.h>.
23513 (rintf): Define using libm_alias_float.
23514 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
23515 <libm-alias-float.h>.
23516 (roundf): Define using libm_alias_float.
23517 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
23518 <libm-alias-float.h>.
23519 (truncf): Define using libm_alias_float.
23520 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
23521 <libm-alias-float.h>.
23522 (ceilf): Define using libm_alias_float.
23523 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
23524 <libm-alias-float.h>.
23525 (floorf): Define using libm_alias_float.
23526 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
23527 <libm-alias-float.h>.
23528 (llroundf): Define using libm_alias_float.
23529 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
23530 <libm-alias-float.h>.
23531 (roundf): Define using libm_alias_float.
23532 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
23533 <libm-alias-float.h>.
23534 (truncf): Define using libm_alias_float.
23535 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
23536 <libm-alias-float.h>.
23537 (copysignf): Define using libm_alias_float.
23538 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
23539 <libm-alias-float.h>.
23540 (llrintf): Define using libm_alias_float.
23541 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
23542 <libm-alias-float.h>.
23543 (llroundf): Define using libm_alias_float.
23544 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
23545 <libm-alias-float.h>.
23546 (cosf): Define using libm_alias_float.
23547 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
23548 <libm-alias-float.h>.
23549 (llrintf): Define using libm_alias_float.
23550 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
23551 <libm-alias-float.h>.
23552 (llroundf): Define using libm_alias_float.
23553 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
23554 <libm-alias-float.h>.
23555 (sinf): Define using libm_alias_float.
23557 2017-12-04 Florian Weimer <fweimer@redhat.com>
23559 * support/check.h (TEST_COMPARE): Define.
23560 (support_test_compare_failure): Declare.
23561 * support/Makefile (libsupport-routines): Add
23562 support_test_compare_failure.
23563 (tests): Add tst-test_compare.
23564 * support /support_test_compare_failure.c: New file.
23565 * support/tst-test_compare.c: Likewise.
23567 2017-12-04 Mike FABIAN <mfabian@redhat.com>
23570 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
23571 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
23572 available, this rewrite of the collation rules does reproduce
23573 the test file in the same order.
23575 2017-12-04 Mike FABIAN <mfabian@redhat.com>
23578 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
23579 digraphs in the month and day names. Using single code points for
23580 digraphs is deprecated. While there are dedicated Unicode
23581 codepoints, for the digraphs, these are included for backwards
23582 compatibility and modern texts use a sequence of Basic Latin
23583 characters. See: https://www.unicode.org/faq/ligature_digraph.html
23584 This makes the month and day names agree exactly with CLDR now,
23585 CLDR does not use the single code points for the digraphs either.
23587 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
23589 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
23591 2017-12-04 Joseph Myers <joseph@codesourcery.com>
23593 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
23596 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
23598 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
23599 Define only for libc.so.
23601 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
23603 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23604 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
23605 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
23606 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
23607 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23609 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23612 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
23614 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
23617 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
23618 PREINIT_FUNCTION_WEAK is nonzero.
23619 (gmon_initializer): New function. Put procedure label for it in
23620 .init_array section.
23621 (_init): Don't call PREINIT_FUNCTION.
23622 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
23623 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
23624 value when map argument is null.
23626 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
23627 depi instruction from PIC pc-relative sequence.
23628 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
23629 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
23630 (elf_machine_load_address): Likewise.
23631 (elf_machine_runtime_setup): Likewise.
23633 2017-12-02 Joseph Myers <joseph@codesourcery.com>
23635 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
23636 <libm-alias-double.h>.
23637 (logb): Define using libm_alias_double.
23638 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
23639 <libm-alias-double.h>.
23640 (copysign): Define using libm_alias_double.
23641 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
23642 <libm-alias-double.h>.
23643 (llrint): Define using libm_alias_double.
23644 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
23645 <libm-alias-double.h>.
23646 (llround): Define using libm_alias_double.
23647 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
23648 <libm-alias-double.h>.
23649 (lrint): Define using libm_alias_double.
23650 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
23651 <libm-alias-double.h>.
23652 (lround): Define using libm_alias_double.
23653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
23654 Include <libm-alias-double.h>.
23655 (copysign): Define using libm_alias_double.
23656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
23657 Include <libm-alias-double.h>.
23658 (llrint): Define using libm_alias_double.
23659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
23660 Include <libm-alias-double.h>.
23661 (llround): Define using libm_alias_double.
23662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
23663 <libm-alias-double.h>.
23664 (logb): Define using libm_alias_double.
23665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
23666 Include <libm-alias-double.h>.
23667 (lrint): Define using libm_alias_double.
23668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
23669 Include <libm-alias-double.h>.
23670 (lround): Define using libm_alias_double.
23671 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
23672 <libm-alias-double.h>.
23673 (llrint): Define using libm_alias_double.
23674 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
23675 <libm-alias-double.h>.
23676 (llround): Define using libm_alias_double.
23677 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
23678 <libm-alias-double.h>.
23679 (llround): Define using libm_alias_double.
23680 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
23681 <libm-alias-double.h>.
23682 (lround): Define using libm_alias_double.
23683 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
23684 <libm-alias-double.h>.
23685 (copysign): Define using libm_alias_double.
23686 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
23687 <libm-alias-double.h>.
23688 (llrint): Define using libm_alias_double.
23689 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
23690 <libm-alias-double.h>.
23691 (llround): Define using libm_alias_double.
23692 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
23693 <libm-alias-double.h>.
23694 (lrint): Define using libm_alias_double.
23695 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
23696 <libm-alias-double.h>.
23697 (lround): Define using libm_alias_double.
23698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
23699 <libm-alias-double.h>.
23700 (copysign): Define using libm_alias_double.
23701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
23702 <libm-alias-double.h>.
23703 (llrint): Define using libm_alias_double.
23705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
23706 <libm-alias-double.h>.
23707 (llround): Define using libm_alias_double.
23708 (lround): Likewise.
23709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
23710 <libm-alias-double.h>.
23711 (logb): Define using libm_alias_double.
23712 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
23713 <libm-alias-double.h>.
23714 (copysign): Define using libm_alias_double.
23715 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
23716 <libm-alias-double.h>.
23717 (llrint): Define using libm_alias_double.
23719 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
23720 <libm-alias-double.h>.
23721 (llround): Define using libm_alias_double.
23722 (lround): Likewise.
23723 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
23724 <libm-alias-double.h>.
23725 (llround): Define using libm_alias_double.
23726 (lround): Likewise.
23727 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
23728 <libm-alias-double.h>.
23729 (copysign): Define using libm_alias_double.
23730 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
23731 <libm-alias-double.h>.
23732 (llrint): Define using libm_alias_double.
23734 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
23735 <libm-alias-double.h>.
23736 (llround): Define using libm_alias_double.
23737 (lround): Likewise.
23738 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
23739 <libm-alias-double.h>.
23740 (llrint): Define using libm_alias_double.
23742 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
23743 <libm-alias-double.h>.
23744 (llround): Define using libm_alias_double.
23745 (lround): Likewise.
23747 2017-12-01 Joseph Myers <joseph@codesourcery.com>
23749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
23750 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
23751 compat symbol based on llround.
23753 * sysdeps/powerpc/power7/fpu/s_logb.c
23754 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
23755 symbol based on __logb, not on logb.
23756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
23757 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
23758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
23759 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
23761 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
23762 (rint): Define using libm_alias_double.
23763 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
23764 <libm-alias-double.h>.
23765 (modf): Define using libm_alias_double.
23766 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
23767 <libm-alias-double.h>.
23768 (ceil): Define using libm_alias_double.
23769 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
23770 <libm-alias-double.h>.
23771 (floor): Define using libm_alias_double.
23772 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
23773 <libm-alias-double.h>.
23774 (nearbyint): Define using libm_alias_double.
23775 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
23776 <libm-alias-double.h>.
23777 (rint): Define using libm_alias_double.
23778 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
23779 <libm-alias-double.h>.
23780 (round): Define using libm_alias_double.
23781 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
23782 <libm-alias-double.h>.
23783 (trunc): Define using libm_alias_double.
23784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
23785 <libm-alias-double.h>.
23786 (ceil): Define using libm_alias_double.
23787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
23788 Include <libm-alias-double.h>.
23789 (floor): Define using libm_alias_double.
23790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
23791 <libm-alias-double.h>.
23792 (modf): Define using libm_alias_double.
23793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
23794 Include <libm-alias-double.h>.
23795 (round): Define using libm_alias_double.
23796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
23797 Include <libm-alias-double.h>.
23798 (trunc): Define using libm_alias_double.
23799 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
23800 <libm-alias-double.h>.
23801 (ceil): Define using libm_alias_double.
23802 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
23803 <libm-alias-double.h>.
23804 (floor): Define using libm_alias_double.
23805 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
23806 <libm-alias-double.h>.
23807 (round): Define using libm_alias_double.
23808 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
23809 <libm-alias-double.h>.
23810 (trunc): Define using libm_alias_double.
23811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
23812 <libm-alias-double.h>.
23813 (ceil): Define using libm_alias_double.
23814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
23815 <libm-alias-double.h>.
23816 (floor): Define using libm_alias_double.
23817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
23818 <libm-alias-double.h>.
23819 (modf): Define using libm_alias_double.
23820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
23821 <libm-alias-double.h>.
23822 (round): Define using libm_alias_double.
23823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
23824 <libm-alias-double.h>.
23825 (trunc): Define using libm_alias_double.
23826 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
23827 <libm-alias-double.h>.
23828 (ceil): Define using libm_alias_double.
23829 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
23830 <libm-alias-double.h>.
23831 (floor): Define using libm_alias_double.
23832 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
23833 <libm-alias-double.h>.
23834 (nearbyint): Define using libm_alias_double.
23835 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
23836 <libm-alias-double.h>.
23837 (rint): Define using libm_alias_double.
23838 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
23839 <libm-alias-double.h>.
23840 (round): Define using libm_alias_double.
23841 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
23842 <libm-alias-double.h>.
23843 (trunc): Define using libm_alias_double.
23844 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
23845 <libm-alias-double.h>.
23846 (ceil): Define using libm_alias_double.
23847 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
23848 <libm-alias-double.h>.
23849 (floor): Define using libm_alias_double.
23850 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
23851 <libm-alias-double.h>.
23852 (round): Define using libm_alias_double.
23853 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
23854 <libm-alias-double.h>.
23855 (trunc): Define using libm_alias_double.
23857 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
23858 (fabs): Define using libm_alias_double.
23859 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
23860 (fma): Define using libm_alias_double.
23861 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
23862 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
23863 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
23864 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
23866 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23868 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
23870 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
23871 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
23872 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
23874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
23875 due redirect macro.
23877 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
23879 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
23881 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23883 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
23884 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
23885 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
23886 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
23888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23889 (libm-sysdep_routines): Add s_nearbyintf-generic and
23890 s_nearbyint-generic.
23891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
23893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
23894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
23896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
23898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
23900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
23903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23904 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
23905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
23907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
23908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
23910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
23911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
23912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23915 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
23916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
23918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
23919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
23921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
23922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
23923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
23925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23926 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
23927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
23929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
23930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
23932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
23933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
23934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23937 (sysdep_calls): New rule.
23938 (sysdep_routines): Use sysdep_calls as base.
23939 (libm-sysdep_routines): Add generic rule for symbols shared with
23940 libc. Add s_copysign-generic and s_copysign-generic objects.
23941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
23943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
23944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
23946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
23947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
23948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
23950 2017-12-01 Mike FABIAN <mfabian@redhat.com>
23953 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
23954 the list of locales to be built for testing.
23955 * localedata/is_IS.UTF-8.in: New file.
23956 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
23959 2017-12-01 Joseph Myers <joseph@codesourcery.com>
23961 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
23962 <libm-alias-float.h>.
23963 (fabsf): Define using libm_alias_float.
23965 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
23967 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
23969 2017-11-30 Joseph Myers <joseph@codesourcery.com>
23971 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
23972 <libm-alias-float.h>.
23973 (fabsf): Define using libm_alias_float.
23974 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
23975 <libm-alias-float.h>.
23976 (lrintf): Define using libm_alias_float.
23977 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
23978 <libm-alias-float.h>.
23979 (rintf): Define using libm_alias_float.
23981 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
23982 <libm-alias-double.h>.
23983 (fabs): Define using libm_alias_double.
23984 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
23985 <libm-alias-double.h>.
23986 (lrint): Define using libm_alias_double.
23987 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
23988 <libm-alias-double.h>.
23989 (rint): Define using libm_alias_double.
23991 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
23992 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
23993 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
23994 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
23995 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
23996 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
23997 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
23998 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
23999 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
24000 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
24001 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
24002 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
24003 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
24004 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
24005 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
24006 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
24007 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
24008 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
24010 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
24011 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
24012 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
24014 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
24015 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
24016 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
24018 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
24019 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
24020 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
24021 s_expm1_template.c.
24022 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
24023 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
24024 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
24026 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
24027 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
24028 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
24029 s_floor_template.c.
24030 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
24031 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
24032 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
24033 s_frexp_template.c.
24034 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
24035 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
24036 s_lrint_template.c.
24037 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
24038 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
24039 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
24041 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
24042 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
24043 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
24044 s_nearbyint_template.c.
24045 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
24046 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
24047 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
24048 s_remquo_template.c.
24049 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
24050 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
24051 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
24053 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
24054 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
24055 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
24057 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
24058 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
24059 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
24060 s_sincos_template.c.
24061 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
24062 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
24063 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
24065 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
24066 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
24067 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
24069 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
24070 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
24071 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
24072 s_trunc_template.c.
24073 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
24074 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
24075 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
24076 s_atan.c instead of including s_atan.c.
24077 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
24078 s_atanf.c instead of including s_atanf.c.
24079 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
24080 s_atanl.c instead of including s_atanl.c.
24081 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
24082 instead of s_atan.c.
24083 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
24084 instead of s_atanf.c.
24085 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
24086 instead of s_atanl.c.
24088 * scripts/update-copyrights: Do not handle intl/plural.c
24091 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
24094 * configure.ac (BISON): Require to be present.
24095 * configure: Regenerated.
24096 * intl/Makefile (generated): Add plural.c.
24097 [$(BISON) != no]: Make code unconditional.
24098 (plural.c): Change rule to $(objpfx)plural.c.
24099 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
24100 * intl/plural.c: Remove.
24101 * manual/install.texi (Tools for Compilation): Document bison as
24103 * INSTALL: Regenerated.
24105 2017-11-30 Joseph Myers <joseph@codesourcery.com>
24107 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
24108 <libm-alias-double.h>.
24109 (llrint): Define using libm_alias_double.
24110 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
24111 <libm-alias-float.h>.
24112 (llrintf): Define using libm_alias_float.
24113 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
24114 <libm-alias-ldouble.h>.
24115 (llrintl): Define using libm_alias_ldouble.
24117 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
24118 declare_mgen_alias instead of weak_alias.
24119 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
24120 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
24121 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
24123 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24125 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24127 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
24128 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
24129 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
24131 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24132 Add submul_1-generic.
24133 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
24134 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
24135 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
24137 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24138 Add addmul_1-generic.
24139 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
24140 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
24141 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
24143 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24145 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
24146 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
24147 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
24149 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24151 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
24152 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
24153 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
24155 2017-11-30 Mike FABIAN <mfabian@redhat.com>
24157 According to CLDR, collation rules for Serbian and Bosnian
24158 should be the same as for Croatian.
24161 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
24162 and to the list of locales to be built for testing.
24163 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
24164 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
24165 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
24166 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
24168 2017-11-30 Mike FABIAN <mfabian@redhat.com>
24170 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
24171 to make test case pass.
24172 * localedata/hr_HR.UTF-8.in: Add more test strings.
24174 2017-11-30 Mike FABIAN <mfabian@redhat.com>
24176 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
24178 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
24180 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
24181 the list of locales to built for testing.
24182 * localedata/hr_HR.UTF-8.in: New file.
24184 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
24187 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
24189 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
24190 CLDR (except use ligatures for the digraphs, CLDR does not use
24191 the ligatures), add first_workday, some fixes in the date and time
24193 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
24195 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
24196 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
24197 Add int_p_cs_precedes and int_n_cs_precedes.
24198 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
24199 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
24201 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
24202 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
24204 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
24205 and lang_lib. Change postal_fmt.
24207 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
24209 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
24211 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
24212 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
24213 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
24214 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
24215 * sysdeps/generic/setjmpP.h: New file.
24216 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
24217 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
24218 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
24219 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
24220 Add jmp_buf-ssp.sym.
24221 (tests): Add tst-saved_mask-1.
24223 2017-11-30 Arjun Shankar <arjun@redhat.com>
24227 * malloc/malloc.c (__libc_malloc): Use checked_request2size
24228 instead of request2size.
24230 2017-11-30 Joseph Myers <joseph@codesourcery.com>
24232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
24233 (__lllrint): Remove alias.
24234 (lllrint): Likewise.
24235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
24236 (__lllrintf): Likewise.
24237 (lllrintf): Likewise.
24239 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
24240 <libm-alias-float.h>.
24241 (copysignf): Define using libm_alias_float.
24242 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
24243 <libm-alias-float.h>.
24244 (fabsf): Define using libm_alias_float.
24245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24246 Include <libm-alias-float.h>.
24247 (copysignf): Define using libm_alias_float.
24248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
24249 <libm-alias-float.h>.
24250 (fabsf): Define using libm_alias_float.
24251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
24252 <libm-alias-float.h>.
24253 (fdimf): Define using libm_alias_float.
24254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
24255 <libm-alias-float.h>.
24256 (fmaf): Define using libm_alias_float.
24257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
24258 <libm-alias-float.h>.
24259 (llrintf): Define using libm_alias_float.
24260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
24261 Include <libm-alias-float.h>.
24262 (nearbyintf): Define using libm_alias_float.
24263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
24264 <libm-alias-float.h>.
24265 (rintf): Define using libm_alias_float.
24266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
24267 <libm-alias-float.h>.
24268 (llrintf): Define using libm_alias_float.
24269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
24270 <libm-alias-float.h>.
24271 (lrintf): Define using libm_alias_float.
24272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
24273 <libm-alias-float.h>.
24274 (nearbyintf): Define using libm_alias_float.
24275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
24276 <libm-alias-float.h>.
24277 (rintf): Define using libm_alias_float.
24278 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
24279 <libm-alias-float.h>.
24280 (ceilf): Define using libm_alias_float.
24281 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
24282 <libm-alias-float.h>.
24283 (floorf): Define using libm_alias_float.
24284 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
24285 <libm-alias-float.h>.
24286 (fmaf): Define using libm_alias_float.
24287 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
24288 <libm-alias-float.h>.
24289 (lrintf): Define using libm_alias_float.
24290 (llrintf): Likewise.
24291 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
24292 <libm-alias-float.h>.
24293 (nearbyintf): Define using libm_alias_float.
24294 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
24295 <libm-alias-float.h>.
24296 (rintf): Define using libm_alias_float.
24297 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
24298 <libm-alias-float.h>.
24299 (truncf): Define using libm_alias_float.
24300 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
24301 <libm-alias-float.h>.
24302 (copysignf): Define using libm_alias_float.
24303 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
24304 <libm-alias-float.h>.
24305 (fabsf): Define using libm_alias_float.
24306 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
24307 <libm-alias-float.h>.
24308 (lrintf): Define using libm_alias_float.
24309 (llrintf): Likewise.
24310 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
24311 <libm-alias-float.h>.
24312 (nearbyintf): Define using libm_alias_float.
24313 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
24314 <libm-alias-float.h>.
24315 (rintf): Define using libm_alias_float.
24317 2017-11-29 Joseph Myers <joseph@codesourcery.com>
24319 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
24320 <libm-alias-double.h>.
24321 (copysign): Define using libm_alias_double.
24322 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
24323 <libm-alias-double.h>.
24324 (fabs): Define using libm_alias_double.
24325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24326 Include <libm-alias-double.h>.
24327 (copysign): Define using libm_alias_double.
24328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
24329 <libm-alias-double.h>.
24330 (fabs): Define using libm_alias_double.
24331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
24332 <libm-alias-double.h>.
24333 (fdim): Define using libm_alias_double.
24334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
24335 <libm-alias-double.h>.
24336 (fma): Define using libm_alias_double.
24337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
24338 <libm-alias-double.h>.
24339 (llrint): Define using libm_alias_double.
24340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
24341 Include <libm-alias-double.h>.
24342 (nearbyint): Define using libm_alias_double.
24343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
24344 <libm-alias-double.h>.
24345 (rint): Define using libm_alias_double.
24346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
24347 <libm-alias-double.h>.
24348 (fabs): Define using libm_alias_double.
24349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
24350 <libm-alias-double.h>.
24351 (llrint): Define using libm_alias_double.
24352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
24353 <libm-alias-double.h>.
24354 (nearbyint): Define using libm_alias_double.
24355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
24356 <libm-alias-double.h>.
24357 (rint): Define using libm_alias_double.
24358 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
24359 <libm-alias-double.h>.
24360 (ceil): Define using libm_alias_double.
24361 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
24362 <libm-alias-double.h>.
24363 (floor): Define using libm_alias_double.
24364 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
24365 <libm-alias-double.h>.
24366 (fma): Define using libm_alias_double.
24367 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
24368 <libm-alias-double.h>.
24369 (lrint): Define using libm_alias_double.
24370 (llrint): Likewise.
24371 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
24372 <libm-alias-double.h>.
24373 (nearbyint): Define using libm_alias_double.
24374 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
24375 <libm-alias-double.h>.
24376 (rint): Define using libm_alias_double.
24377 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
24378 <libm-alias-double.h>.
24379 (trunc): Define using libm_alias_double.
24380 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
24381 <libm-alias-double.h>.
24382 (copysign): Define using libm_alias_double.
24383 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
24384 <libm-alias-double.h>.
24385 (fabs): Define using libm_alias_double.
24386 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
24387 <libm-alias-double.h>.
24388 (lrint): Define using libm_alias_double.
24389 (llrint): Likewise.
24390 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
24391 <libm-alias-double.h>.
24392 (nearbyint): Define using libm_alias_double.
24393 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
24394 <libm-alias-double.h>.
24395 (rint): Define using libm_alias_double.
24398 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
24400 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24402 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
24403 SPARC --disable-multi-arch glibc variants.
24405 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
24406 <libm-alias-float.h>.
24407 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24409 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
24410 <libm-alias-float.h>.
24411 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24413 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
24414 <libm-alias-float.h>.
24415 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24417 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
24418 <libm-alias-float.h>.
24419 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24421 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
24422 <libm-alias-float.h>.
24423 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24425 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
24426 <libm-alias-float.h>.
24427 (ceilf): Define using libm_alias_float.
24428 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
24429 <libm-alias-float.h>.
24430 (floorf): Define using libm_alias_float.
24431 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
24432 <libm-alias-float.h>.
24433 (fmaf): Define using libm_alias_float.
24434 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
24435 <libm-alias-float.h>.
24436 (nearbyintf): Define using libm_alias_float.
24437 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
24438 <libm-alias-float.h>.
24439 (rintf): Define using libm_alias_float.
24440 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
24441 <libm-alias-float.h>.
24442 (truncf): Define using libm_alias_float.
24443 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
24444 (copysignf): Define using libm_alias_float.
24445 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
24446 (cosf): Define using libm_alias_float.
24447 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
24448 (fabsf): Define using libm_alias_float.
24449 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
24450 (fmaxf): Define using libm_alias_float.
24451 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
24452 (fminf): Define using libm_alias_float.
24453 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
24454 (llrintf): Define using libm_alias_float.
24455 [!__ILP32__] (lrintf): Likewise.
24456 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
24457 (sincosf): Define using libm_alias_float.
24458 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
24459 (sinf): Define using libm_alias_float.
24460 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
24461 (lrintf): Define using libm_alias_float.
24463 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
24464 <libm-alias-double.h>.
24465 (atan): Define using libm_alias_double.
24466 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
24467 <libm-alias-double.h>.
24468 (ceil): Define using libm_alias_double.
24469 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
24470 <libm-alias-double.h>.
24471 (floor): Define using libm_alias_double.
24472 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
24473 <libm-alias-double.h>.
24474 (fma): Define using libm_alias_double.
24475 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
24476 <libm-alias-double.h>.
24477 (nearbyint): Define using libm_alias_double.
24478 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
24479 <libm-alias-double.h>.
24480 (rint): Define using libm_alias_double.
24481 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
24482 <libm-alias-double.h>.
24483 (sin): Define using libm_alias_double.
24485 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
24486 <libm-alias-double.h>.
24487 (tan): Define using libm_alias_double.
24488 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
24489 <libm-alias-double.h>.
24490 (trunc): Define using libm_alias_double.
24491 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
24492 (copysign): Define using libm_alias_double.
24493 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
24494 (fabs): Define using libm_alias_double.
24495 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
24496 (fmax): Define using libm_alias_double.
24497 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
24498 (fmin): Define using libm_alias_double.
24499 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
24500 (llrint): Define using libm_alias_double.
24501 [!__ILP32__] (lrint): Likewise.
24502 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
24503 (lrint): Define using libm_alias_double.
24505 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24507 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
24508 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
24510 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
24511 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
24512 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
24513 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
24514 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
24515 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24517 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
24518 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
24520 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
24521 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
24522 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
24523 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
24524 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
24525 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24527 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
24528 (libm-sysdep_routines): Add s_nearbyint-generic and
24529 s_nearbyintf-generic objects.
24530 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
24531 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
24532 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
24533 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
24534 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
24535 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
24537 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
24538 Add s_finitef-generic and s_finite-generic objects.
24539 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
24540 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
24541 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
24542 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
24543 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
24544 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
24546 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
24547 Add s_isinff-generic and s_isinf-generic objects.
24548 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
24549 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
24550 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
24551 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
24552 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
24553 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24555 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
24556 Add s_isnanf-generic and s_isnan-generic objects.
24557 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
24558 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
24559 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
24560 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
24561 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
24562 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24564 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
24566 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
24568 (sysdep_routines): Use sysdep_calls as base.
24569 (libm-sysdep_routines): Add generic rule for symbols shared with
24570 libc. Add s_signbit-generic and s_signbitf-generic objects.
24571 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
24572 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
24573 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
24574 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
24575 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
24576 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24578 2017-11-29 Joseph Myers <joseph@codesourcery.com>
24580 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
24581 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
24582 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
24583 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
24584 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
24585 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
24586 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
24587 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
24588 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
24589 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
24590 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
24591 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
24592 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
24593 libm_alias_float_r.
24594 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
24595 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
24597 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
24598 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
24599 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
24600 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
24601 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
24602 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
24603 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
24604 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
24605 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
24606 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
24608 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
24610 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
24611 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
24612 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
24613 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
24614 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
24615 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
24616 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
24617 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
24618 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
24619 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
24620 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
24621 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
24622 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
24623 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
24624 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
24625 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
24626 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
24627 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
24628 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
24630 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
24631 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
24632 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
24633 * sysdeps/ia64/fpu/w_lgammaf_main.c
24634 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
24635 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
24637 2017-11-28 Mike FABIAN <mfabian@redhat.com>
24638 Alexandre Oliva <aoliva@redhat.com>
24641 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
24642 * localedata/fr_CA.UTF-8.in: New file with test data for backward
24644 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
24646 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
24647 * localedata/locales/de_DE (LC_COLLATE): Likewise.
24648 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
24649 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
24650 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
24651 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
24652 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
24653 instead of “ifdef DIACRIT_BACKWARD”.
24655 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24657 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
24658 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
24659 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
24660 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
24661 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
24662 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
24663 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
24664 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
24665 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
24666 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
24667 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
24668 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
24669 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
24670 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
24671 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
24672 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
24673 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
24674 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
24675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24676 ($(have-as-vis3) == yes): Remove conditional.
24677 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
24679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
24681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
24683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
24685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
24687 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
24688 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
24689 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
24690 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
24691 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
24692 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
24693 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
24694 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
24696 2017-11-29 Joseph Myers <joseph@codesourcery.com>
24698 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
24699 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
24700 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
24701 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
24702 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
24703 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
24704 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
24705 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
24706 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
24707 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
24708 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
24709 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
24710 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
24711 libm_alias_double_r.
24712 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
24714 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
24715 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
24716 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
24717 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
24718 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
24719 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
24720 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
24721 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
24722 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
24723 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
24724 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
24726 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
24728 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
24729 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
24730 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
24731 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
24732 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
24733 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
24734 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
24735 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
24736 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
24737 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
24738 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
24739 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
24740 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
24741 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
24742 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
24743 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
24744 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
24745 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
24747 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
24748 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
24749 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
24750 * sysdeps/ia64/fpu/w_lgamma_main.c
24751 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
24752 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
24754 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
24756 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
24757 address of $global$ into %dp register earlier. Use pc-relative
24758 instruction sequence for PIC case.
24760 2017-11-28 Joseph Myers <joseph@codesourcery.com>
24762 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
24763 (asinhf): Define using libm_alias_float.
24764 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
24765 (atanf): Define using libm_alias_float.
24766 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
24767 (cbrtf): Define using libm_alias_float.
24768 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
24769 (ceilf): Define using libm_alias_float.
24770 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
24771 (copysignf): Define using libm_alias_float.
24772 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
24773 (expm1f): Define using libm_alias_float.
24774 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
24775 (fabsf): Define using libm_alias_float.
24776 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
24777 (floorf): Define using libm_alias_float.
24778 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
24779 (fmaxf): Define using libm_alias_float.
24780 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
24781 (fminf): Define using libm_alias_float.
24782 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
24783 (frexpf): Define using libm_alias_float.
24784 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
24785 (llrintf): Define using libm_alias_float.
24786 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
24787 (logbf): Define using libm_alias_float.
24788 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
24789 (lrintf): Define using libm_alias_float.
24790 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
24791 (nearbyintf): Define using libm_alias_float.
24792 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
24793 (remquof): Define using libm_alias_float.
24794 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
24795 (rintf): Define using libm_alias_float.
24796 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
24797 (truncf): Define using libm_alias_float.
24798 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
24799 <libm-alias-float.h>.
24800 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24802 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
24803 <libm-alias-float.h>.
24804 (expf): Define using libm_alias_float, or libm_alias_float_other
24806 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
24807 <libm-alias-float.h>.
24808 (log2f): Define using libm_alias_float, or libm_alias_float_other
24810 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
24811 <libm-alias-float.h>.
24812 (logf): Define using libm_alias_float, or libm_alias_float_other
24814 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
24815 <libm-alias-float.h>.
24816 (powf): Define using libm_alias_float, or libm_alias_float_other
24818 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
24819 <libm-alias-float.h>.
24820 (cosf): Define using libm_alias_float.
24821 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
24822 <libm-alias-float.h>.
24823 (sincosf): Define using libm_alias_float.
24824 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
24825 <libm-alias-float.h>.
24826 (sinf): Define using libm_alias_float.
24827 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
24828 (fmaxf): Define using libm_alias_float.
24829 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
24830 (fminf): Define using libm_alias_float.
24831 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
24832 <libm-alias-float.h>.
24833 (fmaf): Define using libm_alias_float.
24835 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
24836 (asinh): Define using libm_alias_double.
24837 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
24838 (atan): Define using libm_alias_double.
24839 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
24840 (cbrt): Define using libm_alias_double.
24841 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
24842 (ceil): Define using libm_alias_double.
24843 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
24844 (copysign): Define using libm_alias_double.
24845 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
24846 (expm1): Define using libm_alias_double.
24847 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
24848 (fabs): Define using libm_alias_double.
24849 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
24850 (fdim): Define using libm_alias_double.
24851 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
24852 (floor): Define using libm_alias_double.
24853 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
24854 (fmax): Define using libm_alias_double.
24855 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
24856 (fmin): Define using libm_alias_double.
24857 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
24858 (frexp): Define using libm_alias_double.
24859 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
24860 (llrint): Define using libm_alias_double.
24861 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
24862 (logb): Define using libm_alias_double.
24863 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
24864 (lrint): Define using libm_alias_double.
24865 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
24866 (nearbyint): Define using libm_alias_double.
24867 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
24868 (remquo): Define using libm_alias_double.
24869 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
24870 (rint): Define using libm_alias_double.
24871 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
24872 (trunc): Define using libm_alias_double.
24873 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
24874 (fmax): Define using libm_alias_double.
24875 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
24876 (fmin): Define using libm_alias_double.
24877 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
24878 (fma): Define using libm_alias_double.
24880 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
24883 * elf/dl-hwcaps.c (ROUND): Removed.
24884 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
24885 and ELF_NOTE_NEXT_OFFSET.
24886 * elf/dl-load.c (ROUND): Removed.
24887 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
24888 * elf/readelflib.c (ROUND): Removed.
24889 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
24890 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
24891 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
24892 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
24894 2017-11-28 Joseph Myers <joseph@codesourcery.com>
24896 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
24897 [!__fmaf] (fmaf): Define using libm_alias_float.
24899 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
24900 [!__fma] (fma): Define using libm_alias_double.
24901 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
24903 2017-11-28 Mike FABIAN <mfabian@redhat.com>
24906 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
24907 and implement the collation rules for cs from CLDR on top of that.
24908 * Makefile: Add cs_CZ.UTF-8 to test-input.
24909 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
24911 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
24913 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
24915 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
24916 Icarus Sparry <icarus.w.sparry@intel.com>
24918 * benchtests/Makefile:Add BENCHSET to allow subsets of
24919 benchmarks to be run.
24920 * benchtests/README: Add documentation for: Running subsets of
24923 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
24925 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
24926 range of tests names.
24928 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
24929 result from property and remove "max", min" and "mean" from
24930 required properties based on benchtests/bench-skeleton.c.
24932 2017-11-28 Florian Weimer <fweimer@redhat.com>
24935 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
24936 due to Internet requirement.
24937 * posix/Makefile (tests): Remove tst-getaddrinfo4,
24939 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
24941 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24943 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24944 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
24945 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
24946 (sysdep_routines): Add memset-ultra1.
24947 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
24949 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
24950 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
24951 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
24952 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
24953 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
24954 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
24955 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
24956 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24958 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
24960 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
24961 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
24962 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
24963 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
24964 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
24965 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
24966 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
24968 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24969 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
24970 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
24971 (sysdep_routines): Add memcpy-ultra1.
24972 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
24973 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
24975 2017-11-28 Joseph Myers <joseph@codesourcery.com>
24977 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
24978 (cfloat_versions): Take function argument without trailing 'f'.
24979 Call libm_alias_float_other.
24980 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
24981 * sysdeps/alpha/fpu/cargf.c: Likewise.
24982 * sysdeps/alpha/fpu/cimagf.c: Likewise.
24983 * sysdeps/alpha/fpu/conjf.c: Likewise.
24984 * sysdeps/alpha/fpu/crealf.c: Likewise.
24985 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
24986 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
24987 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
24988 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
24989 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
24990 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
24991 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
24992 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
24993 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
24994 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
24995 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
24996 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
24997 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
24998 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
24999 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
25000 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
25001 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
25002 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
25003 (clog10f): Use libm_alias_float_other.
25004 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
25005 (ceilf): Define using libm_alias_float.
25006 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
25007 (copysignf): Define using libm_alias_float.
25008 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
25009 (fabsf): Define using libm_alias_float.
25010 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
25011 (floorf): Define using libm_alias_float.
25012 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
25013 (fmaxf): Define using libm_alias_float.
25014 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
25015 (fminf): Define using libm_alias_float.
25016 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
25017 (lrintf): Define using libm_alias_float.
25018 (llrintf): Likewise.
25019 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
25020 (lroundf): Define using libm_alias_float.
25021 (llroundf): Likewise.
25022 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
25023 (rintf): Define using libm_alias_float.
25024 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
25025 (truncf): Define using libm_alias_float.
25027 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
25028 (ceilf): Define using libm_alias_float.
25029 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
25030 (floorf): Define using libm_alias_float.
25031 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
25032 (fmaf): Define using libm_alias_float.
25033 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
25034 (fmaxf): Define using libm_alias_float.
25035 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
25036 (fminf): Define using libm_alias_float.
25037 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
25038 (llrintf): Define using libm_alias_float.
25039 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
25040 (llroundf): Define using libm_alias_float.
25041 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
25042 (lrintf): Define using libm_alias_float.
25043 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
25044 (lroundf): Define using libm_alias_float.
25045 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
25046 <libm-alias-float.h>.
25047 (nearbyintf): Define using libm_alias_float.
25048 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
25049 (rintf): Define using libm_alias_float.
25050 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
25051 (roundf): Define using libm_alias_float.
25052 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
25053 (truncf): Define using libm_alias_float.
25055 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
25056 (ceil): Define using libm_alias_double.
25057 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
25058 (copysign): Define using libm_alias_double.
25059 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
25060 (fabs): Define using libm_alias_double.
25061 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
25062 (floor): Define using libm_alias_double.
25063 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
25064 (fmax): Define using libm_alias_double.
25065 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
25066 (fmin): Define using libm_alias_double.
25067 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
25068 (lrint): Define using libm_alias_double.
25069 (llrint): Likewise.
25070 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
25071 (lround): Define using libm_alias_double.
25072 (llround): Likewise.
25073 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
25074 (rint): Define using libm_alias_double.
25075 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
25076 (trunc): Define using libm_alias_double.
25078 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
25079 (libm_alias_double_r): Add semicolon after weak_alias call.
25081 2017-11-27 Joseph Myers <joseph@codesourcery.com>
25083 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
25084 (ceil): Define using libm_alias_double.
25085 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
25086 (floor): Define using libm_alias_double.
25087 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
25088 (fma): Define using libm_alias_double.
25089 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
25090 (fmax): Define using libm_alias_double.
25091 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
25092 (fmin): Define using libm_alias_double.
25093 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
25094 (llrint): Define using libm_alias_double.
25095 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
25096 (llround): Define using libm_alias_double.
25097 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
25098 (lrint): Define using libm_alias_double.
25099 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
25100 (lround): Define using libm_alias_double.
25101 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
25102 (nearbyint): Define using libm_alias_double.
25103 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
25104 (rint): Define using libm_alias_double.
25105 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
25106 (round): Define using libm_alias_double.
25107 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
25108 (trunc): Define using libm_alias_double.
25110 2017-11-27 Florian Weimer <fweimer@redhat.com>
25112 * sysdeps/unix/sysv/linux/mlock2.c: New file.
25113 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
25114 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
25115 (tests): Add tst-mlock2.
25116 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
25117 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
25118 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
25119 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
25120 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
25121 for mlock. Document mlock2.
25123 2017-11-27 Joseph Myers <joseph@codesourcery.com>
25125 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
25126 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
25128 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
25130 * sysdeps/x86/Makeconfig: New file.
25131 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
25132 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25133 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
25134 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25135 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25136 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25137 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
25139 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25140 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25141 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25142 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25143 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25144 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25145 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25146 * manual/math.texi (Mathematics): Document support for _Float64x.
25147 * math/Versions (GLIBC_2.27): Add _Float64x functions.
25148 * stdlib/Versions (GLIBC_2.27): Likewise.
25149 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25150 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25151 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25152 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25153 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25154 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25155 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25156 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25157 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25158 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25159 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25160 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25165 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25166 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25167 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25168 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25169 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25170 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25171 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25172 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25173 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25174 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25175 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25176 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25177 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25178 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25180 2017-11-27 Andreas Schwab <schwab@suse.de>
25182 * elf/Makefile (dl-routines): Add dl-sort-maps.
25183 * elf/dl-sort-maps.c: New file.
25184 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
25185 (_dl_sort_maps): Declare.
25186 * elf/dl-fini.c (_dl_sort_fini): Remove.
25187 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
25188 * elf/dl-close.c (_dl_close_worker): Likewise.
25189 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
25191 * elf/dl-open.c (dl_open_worker): Likewise.
25193 2017-11-24 Joseph Myers <joseph@codesourcery.com>
25195 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
25196 using libm_alias_float128.
25197 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
25199 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
25201 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
25202 (setpayloadsigf128): Likewise.
25203 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
25205 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
25208 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
25209 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
25210 -mfloat128 to CFLAGS.
25212 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
25214 (CFLAGS-libm-test-support-float64x.c): New variable.
25215 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
25216 $(f128-loader-link) to gnulib-tests.
25218 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
25219 (libm_alias_float128_other_r): If
25220 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
25222 (libm_alias_float128_r): Add semicolon after weak_alias call.
25223 * sysdeps/generic/libm-alias-ldouble.h
25224 (libm_alias_ldouble_other_r_f128): New macro.
25225 (libm_alias_ldouble_other_r_f64x): Likewise.
25226 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
25227 and libm_alias_ldouble_other_r_f64x.
25228 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
25229 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
25230 (libm_alias_ldouble_other_r_f128): New macro.
25231 (libm_alias_ldouble_other_r_f64x): Likewise.
25232 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
25233 and libm_alias_ldouble_other_r_f64x.
25235 * stdlib/strfroml.c: Always include <stdlib.h>.
25236 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
25237 undefine as macro and define as weak alias.
25238 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
25239 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
25241 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
25242 Define and later undefine as macro and define as weak alias.
25244 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
25245 Define and later undefine as macro. Define as weak alias if
25247 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
25248 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25249 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
25250 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
25251 Define and later undefine as macro. Define as weak alias if
25253 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
25254 Define and later undefine as macro. Define as weak alias if
25256 * sysdeps/ieee754/float128/strtof128_l.c
25257 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
25258 Define and later undefine as macro. Define as weak alias if
25260 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
25261 Define and later undefine as macro. Define as weak alias if
25263 * sysdeps/ieee754/ldbl-128/strtold_l.c
25264 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
25265 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25266 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
25267 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25268 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
25269 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
25270 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25271 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
25272 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25273 * sysdeps/ieee754/ldbl-96/strtold_l.c
25274 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
25275 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25276 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
25277 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25279 * math/test-float64x.h: New file.
25280 * math/Makefile (type-float64x-yes): New variable.
25281 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
25283 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
25284 function-like macro.
25285 (min_of_type_): Likewise.
25286 (min_of_type_l): Likewise.
25287 (min_of_type_f128): Likewise.
25288 (min_of_type): Pass () as last argument of __MATH_TG.
25290 * stdlib/tst-strtod-round-skeleton.c
25291 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
25294 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
25295 for combinations of long double with _Float64 and _Float64x.
25297 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
25298 (__DECL_SIMD_cosf32): Likewise.
25299 (__DECL_SIMD_cosf64): Likewise.
25300 (__DECL_SIMD_cosf32x): Likewise.
25301 (__DECL_SIMD_cosf64x): Likewise.
25302 (__DECL_SIMD_cosf128x): Likewise.
25303 (__DECL_SIMD_sinf16): Likewise.
25304 (__DECL_SIMD_sinf32): Likewise.
25305 (__DECL_SIMD_sinf64): Likewise.
25306 (__DECL_SIMD_sinf32x): Likewise.
25307 (__DECL_SIMD_sinf64x): Likewise.
25308 (__DECL_SIMD_sinf128x): Likewise.
25309 (__DECL_SIMD_sincosf16): Likewise.
25310 (__DECL_SIMD_sincosf32): Likewise.
25311 (__DECL_SIMD_sincosf64): Likewise.
25312 (__DECL_SIMD_sincosf32x): Likewise.
25313 (__DECL_SIMD_sincosf64x): Likewise.
25314 (__DECL_SIMD_sincosf128x): Likewise.
25315 (__DECL_SIMD_logf16): Likewise.
25316 (__DECL_SIMD_logf32): Likewise.
25317 (__DECL_SIMD_logf64): Likewise.
25318 (__DECL_SIMD_logf32x): Likewise.
25319 (__DECL_SIMD_logf64x): Likewise.
25320 (__DECL_SIMD_logf128x): Likewise.
25321 (__DECL_SIMD_expf16): Likewise.
25322 (__DECL_SIMD_expf32): Likewise.
25323 (__DECL_SIMD_expf64): Likewise.
25324 (__DECL_SIMD_expf32x): Likewise.
25325 (__DECL_SIMD_expf64x): Likewise.
25326 (__DECL_SIMD_expf128x): Likewise.
25327 (__DECL_SIMD_powf16): Likewise.
25328 (__DECL_SIMD_powf32): Likewise.
25329 (__DECL_SIMD_powf64): Likewise.
25330 (__DECL_SIMD_powf32x): Likewise.
25331 (__DECL_SIMD_powf64x): Likewise.
25332 (__DECL_SIMD_powf128x): Likewise.
25334 * stdlib/Versions (libc): Move entries for wcstof128 and
25335 wcstof128_l to ....
25336 * wcsmbs/Versions (libc): ... here.
25337 Include <float128-abi.h>.
25339 2017-11-24 Florian Weimer <fweimer@redhat.com>
25341 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25342 bits/mman-shared.h.
25343 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
25344 <bits/mman-shared.h>.
25345 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
25347 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
25348 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
25349 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
25350 <bits/mman-shared.h>.
25352 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25355 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
25356 posix_memalign/free.
25357 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
25359 2017-11-22 Mike FABIAN <mfabian@redhat.com>
25362 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
25363 and implement the collation rules for pl from CLDR on top of that.
25364 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
25365 of locales to be built for testing.
25366 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
25368 2017-11-23 Joseph Myers <joseph@codesourcery.com>
25370 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
25371 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
25372 libm_alias_ldouble_other.
25373 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
25374 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
25375 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
25376 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
25377 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
25378 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
25379 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
25380 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
25381 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
25382 libm_alias_ldouble_r.
25383 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
25384 libm_alias_ldouble_other.
25385 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
25386 (log10l): Likewise.
25387 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
25388 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
25389 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
25390 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
25391 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
25392 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
25393 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
25394 (atan2l): Likewise.
25395 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
25396 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
25397 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
25398 libm_alias_ldouble.
25399 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
25401 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
25402 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
25403 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
25405 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
25406 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
25407 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
25408 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
25409 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
25410 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
25411 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
25412 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
25413 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
25414 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
25415 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
25416 libm_alias_ldouble.
25417 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
25418 libm_alias_ldouble_other.
25419 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
25420 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
25421 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
25422 libm_alias_ldouble.
25423 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
25424 libm_alias_ldouble_other.
25425 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
25426 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
25427 * sysdeps/ia64/fpu/w_lgammal_main.c
25428 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
25429 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
25431 2017-11-23 Florian Weimer <fweimer@redhat.com>
25433 * malloc/malloc.c (tcache_thread_shutdown): Rename from
25434 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
25435 alike. Remove freeres marker.
25436 * malloc/arena.c (arena_thread_freeres): Call
25437 tcache_thread_shutdown.
25439 2017-11-23 Florian Weimer <fweimer@redhat.com>
25442 Export nscd hash function as __nss_hash.
25443 * include/nss.h (__nss_hash): Declare.
25444 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
25446 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
25447 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
25449 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
25450 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
25451 * nss/Makefiles (routines): Add nss_hash.
25452 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
25453 * nss/nss_hash.c: Rename from nis/nis_hash.c.
25454 (__nss_hash): Rename from __nis_hash. Define hidden alias.
25455 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
25457 2017-11-23 Florian Weimer <fweimer@redhat.com>
25460 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
25461 Return error code, not -1.
25462 * signal/tst-sigwait-eintr.c: New file.
25463 * signal/Makefile (tests): Add tst-sigwait-eintr.
25465 2017-11-23 Florian Weimer <fweimer@redhat.com>
25467 Linux: Add memfd_create system call wrapper
25468 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
25470 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
25471 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
25472 [__USE_GNU] (memfd_create): Declare.
25473 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
25474 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
25475 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
25476 * sysdeps/unix/sysv/linux/**.abilist: Update.
25477 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
25479 2017-11-22 Joseph Myers <joseph@codesourcery.com>
25481 * localedata/gen-locale.sh: Fix typo in variable name.
25483 * resolv/res_debug.c (p_secstodate): Condition definition on
25484 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
25485 directly as __p_secstodate, and as a compat symbol. Do not use
25486 libresolv_hidden_def.
25487 * resolv/resolv.h (p_secstodate): Remove macro and function
25489 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
25490 using p_secstodate.
25491 * include/resolv.h (__p_secstodate): Do not use
25492 libresolv_hidden_proto.
25493 * resolv/Makefile (tests): Move tst-p_secstodate to ....
25494 (tests-internal): ... here.
25495 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
25496 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
25497 and declare and use __p_secstodate and use compat_symbol_reference
25499 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
25500 implementation returning 77.
25503 * resolv/res_debug.c: Include <libc-diag.h>.
25504 (p_secstodate): Assert time_t at least as wide as u_long. On
25505 overflow, use integer seconds since the epoch as output, or use
25506 "<overflow>" as output and set errno to EOVERFLOW if integer
25507 seconds since the epoch would be 14 or more characters.
25508 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
25510 * resolv/tst-p_secstodate.c: New file.
25511 * resolv/Makefile (tests): Add tst-p_secstodate.
25512 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
25514 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
25515 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
25516 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
25518 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
25520 * posix/regcomp.c (init_word_char): Add comments.
25522 2017-11-22 Joseph Myers <joseph@codesourcery.com>
25525 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
25526 strlen to compute length of ut_user and set trailing NUL byte of
25529 2017-11-21 Mike FABIAN <mfabian@redhat.com>
25532 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
25533 using “copy "iso14651_t1"” and then implementing the
25534 collation rules for lv from CLDR on top of that.
25535 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
25536 of locales to be built for testing.
25537 * lv_LV.UTF-8.in: New file with test data to test the Latvian
25540 2017-11-21 Joseph Myers <joseph@codesourcery.com>
25542 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
25543 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
25544 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
25545 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
25546 [__USE_MISC] (MADV_HWPOISON): New macro.
25547 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
25549 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25551 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
25552 -Wmissing-braces on GCC 4.9.
25554 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
25556 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
25557 * sysdeps/s390/s390-32/start.S (_start): Likewise
25558 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
25559 (thread_start): Likewise.
25560 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
25561 (thread_start): Likewise.
25562 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
25563 (__makecontext_ret): Likewise.
25564 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
25565 (__makecontext_ret): Likewise.
25567 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
25569 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
25570 __wcschrnul): Remove attribute_hidden.
25572 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
25574 regex: don't assume uint64_t or uint32_t
25575 This avoids -Werror=overflow errors for 32-bit systems in
25576 the 64-bit case. Problem reported by Joseph Myers in:
25577 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
25578 Also, when this code is used in Gnulib it ports to platforms
25579 that lack uint64_t and uint32_t. The C standard doesn't guarantee
25580 them, and on some 32-bit compilers there is no uint64_t.
25581 Problem reported by Gianluigi Tiesi in:
25582 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
25583 * posix/regcomp.c (init_word_char): Don't assume that the types
25584 uint64_t and uint32_t exist. Adapted from Gnulib patch
25585 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
25586 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
25588 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
25590 * sysdeps/aarch64/memset-reg.h: New file.
25591 * sysdeps/aarch64/memset.S: Use it.
25592 (__memset): Rename to MEMSET macro.
25593 [ZVA_MACRO]: Use zva_macro.
25594 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
25595 Add memset_generic and memset_falkor.
25596 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
25597 (__libc_ifunc_impl_list): Add memset ifuncs.
25598 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
25599 local variable zva_size.
25600 * sysdeps/aarch64/multiarch/memset.c: New file.
25601 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
25602 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
25603 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
25604 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
25605 (DCZID_DZP_MASK): New macro.
25606 (DCZID_BS_MASK): Likewise.
25607 (init_cpu_features): Read and set zva_size.
25608 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
25609 (struct cpu_features): New member zva_size.
25611 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
25612 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
25613 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
25615 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
25616 backwards. Fix timing computation.
25617 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
25618 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
25619 on memset by N at a time. Fix timing computation.
25621 2017-11-20 Florian Weimer <fweimer@redhat.com>
25623 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
25624 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
25626 2017-11-19 Florian Weimer <fweimer@redhat.com>
25628 manual: Document mprotect
25629 * manual/memory.texi (Memory Protection): New section.
25630 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
25631 documentation of PROT_* flags and reference the Memory Protection
25634 2017-11-19 Florian Weimer <fweimer@redhat.com>
25636 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
25637 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
25638 (Scatter-Gather): ... to here. Remove misleading comment.
25640 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
25642 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
25645 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
25646 when /proc/<pid>/setgroups does not exist.
25648 2017-11-18 Florian Weimer <fweimer@redhat.com>
25650 * sysdeps/unix/sysv/linux/tst-ttyname.c
25651 (become_root_in_mount_ns): Remove.
25652 (do_in_chroot_1): Call support_enter_mount_namespace.
25653 (do_in_chroot_2): Likewise.
25654 (do_test): Call support_become_root early.
25656 2017-11-18 Florian Weimer <fweimer@redhat.com>
25658 * support/namespace.h (support_enter_mount_namespace): Declare.
25659 * support/support_enter_mount_namespace.c: New file.
25660 * support/Makefile (libsupport-routines): Add
25661 support_enter_mount_namespace.
25663 2017-11-18 Florian Weimer <fweimer@redhat.com>
25665 * support/temp_file.c (support_create_temp_directory): Use
25666 test_dir and do not rely on the presence of the XXXXXX suffix.
25667 * support/temp_file.h (support_create_temp_directory): Update
25669 * support/tst-xreadlink.c (do_test): Adjust.
25670 * support/support_chroot.c (support_chroot_create): Likewise.
25672 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25674 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
25676 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
25679 2017-11-17 Joseph Myers <joseph@codesourcery.com>
25681 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
25682 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
25683 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
25684 (ceill): Define using libm_alias_ldouble.
25685 * sysdeps/x86_64/fpu/s_copysignl.S: Include
25686 <libm-alias-ldouble.h>.
25687 (copysignl): Define using libm_alias_ldouble.
25688 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
25689 (fabsl): Define using libm_alias_ldouble.
25690 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
25691 (floorl): Define using libm_alias_ldouble.
25692 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25693 (fmaxl): Define using libm_alias_ldouble.
25694 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25695 (fminl): Define using libm_alias_ldouble.
25696 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
25697 (llrintl): Define using libm_alias_ldouble.
25698 (lrintl): Likewise.
25699 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
25700 <libm-alias-ldouble.h>.
25701 (nearbyintl): Define using libm_alias_ldouble.
25702 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
25703 (truncl): Define using libm_alias_ldouble.
25704 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
25705 <libm-alias-ldouble.h>.
25706 (lrintl): Define using libm_alias_ldouble.
25708 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
25709 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
25710 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
25711 (asinhl): Define using libm_alias_ldouble.
25712 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
25713 (atanl): Define using libm_alias_ldouble.
25714 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
25715 (cbrtl): Define using libm_alias_ldouble.
25716 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
25717 (ceill): Define using libm_alias_ldouble.
25718 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
25719 (copysignl): Define using libm_alias_ldouble.
25720 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
25721 (fabsl): Define using libm_alias_ldouble.
25722 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
25723 (floorl): Define using libm_alias_ldouble.
25724 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25725 (fmaxl): Define using libm_alias_ldouble.
25726 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25727 (fminl): Define using libm_alias_ldouble.
25728 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
25729 (frexpl): Define using libm_alias_ldouble.
25730 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
25731 (llrintl): Define using libm_alias_ldouble.
25732 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
25733 (logbl): Define using libm_alias_ldouble.
25734 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
25735 (lrintl): Define using libm_alias_ldouble.
25736 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
25737 (nearbyintl): Define using libm_alias_ldouble.
25738 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
25739 (nextafterl): Define using libm_alias_ldouble.
25740 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
25741 (remquol): Define using libm_alias_ldouble.
25742 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
25743 (rintl): Define using libm_alias_ldouble.
25744 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
25745 (truncl): Define using libm_alias_ldouble.
25746 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25747 (fmaxl): Define using libm_alias_ldouble.
25748 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25749 (fminl): Define using libm_alias_ldouble.
25751 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
25752 to C syntax instead of availability and properties of types.
25753 * bits/floatn.h [!__ASSEMBLER]: Likewise.
25754 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
25755 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
25756 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
25757 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
25758 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
25760 2017-11-17 Florian Weimer <fweimer@redhat.com>
25762 support_become_root: Enable file creation in namespaces.
25763 * support/support_become_root.c (setup_mapping): New function.
25764 (support_become_root): Call it.
25766 2017-11-17 Joseph Myers <joseph@codesourcery.com>
25768 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
25771 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25773 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
25774 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
25776 2017-11-16 Joseph Myers <joseph@codesourcery.com>
25778 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
25780 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
25783 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
25785 * INSTALL: Fix botched up regeneration.
25787 * NEWS: Update sourceare link to https.
25788 * configure.ac: Likewise.
25789 * crypt/md5test-giant.c: Likewise.
25790 * dlfcn/bug-atexit1.c: Likewise.
25791 * dlfcn/bug-atexit2.c: Likewise.
25792 * localedata/README: Likewise.
25793 * malloc/tst-mallocfork.c: Likewise.
25794 * manual/install.texi: Likewise.
25795 * nptl/tst-pthread-getattr.c: Likewise.
25796 * stdio-common/tst-fgets.c: Likewise.
25797 * stdio-common/tst-fwrite.c: Likewise.
25798 * sunrpc/Makefile: Likewise.
25799 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
25800 * wcsmbs/tst-mbrtowc2.c: Likewise.
25801 * configure: Regenerate.
25802 * INSTALL: Regenerate.
25804 2017-11-15 Martin Sebor <msebor@redhat.com>
25806 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
25807 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
25808 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
25810 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
25813 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
25814 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
25817 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
25818 Defer is_pty check until end of the function.
25819 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25822 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
25823 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
25824 (ttyname): Likewise.
25825 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
25826 (__ttyname_r): Likewise.
25828 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
25831 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
25833 * manual/terminal.texi (Is It a Terminal):
25834 Mention ENODEV for ttyname and ttyname_r.
25836 2017-11-15 Joseph Myers <joseph@codesourcery.com>
25838 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
25839 constant and macro.
25841 * sysdeps/unix/sysv/linux/bits/mman-linux.h
25842 [__USE_MISC] (MADV_WIPEONFORK): New macro.
25843 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
25844 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
25845 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
25846 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
25848 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25850 * signal/sigrelse.c (sigrelse): Optimize implementation.
25852 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
25853 (__sigpause): Rely on __sigsuspend to implement single thread
25854 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
25856 2017-11-15 Joseph Myers <joseph@codesourcery.com>
25858 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
25859 kernel version to 4.14.
25861 2017-11-15 Steve Ellcey <sellcey@cavium.com>
25864 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
25865 Check if ifname is too long.
25867 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
25869 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
25871 2017-11-15 Mike FABIAN <mfabian@redhat.com>
25873 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
25874 was accidentally lost.
25876 2017-11-15 Mike FABIAN <mfabian@redhat.com>
25878 * localedata/locales/az_IR: Add standard copyright header.
25880 2017-11-15 Florian Weimer <fweimer@redhat.com>
25883 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
25884 not just the top one. Output a new "subheaps" statistic.
25886 2017-11-15 Florian Weimer <fweimer@redhat.com>
25889 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
25890 under the per-arena lock.
25891 * malloc/Makefile (tests): Add tst-malloc_info.
25892 (tst-malloc_info): Link with libpthread.
25893 * malloc/tst-malloc_info.c: New file.
25895 2017-11-15 Joseph Myers <joseph@codesourcery.com>
25898 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
25899 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
25900 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
25901 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
25902 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
25903 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
25904 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
25905 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
25906 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
25907 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
25908 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
25909 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
25910 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
25911 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
25912 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
25913 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
25914 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
25915 (__floating_type): Likewise.
25916 (__real_integer_type): Likewise.
25917 (__complex_integer_type): Likewise.
25918 (__expr_is_real): Likewise.
25919 (__tgmath_real_type_sub): Likewise.
25920 (__tgmath_real_type): Likewise.
25921 (__tgmath_complex_type_sub): Likewise.
25922 (__tgmath_complex_type): Likewise.
25923 (__TGMATH_F128): Likewise.
25924 (__TGMATH_CF128): Likewise.
25925 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
25927 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
25928 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
25930 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
25932 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
25933 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
25934 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
25935 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
25937 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
25938 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
25940 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
25941 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
25942 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
25944 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
25945 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
25946 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
25950 2017-11-14 Joseph Myers <joseph@codesourcery.com>
25952 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
25953 for stpncpy calls for GCC 8.
25954 (test_strncat): Disable -Wstringop-truncation warning for strncat
25955 calls for GCC 8. Disable -Wstringop-overflow= warning for one
25956 strncat call for GCC 7.
25957 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
25959 (test_memcmp): Use memcpy instead of strncpy for calls not copying
25962 * string/bug-strncat1.c: Include <libc-diag.h>.
25963 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
25965 2017-11-13 Claude Paroz <claude@2xlibre.net>
25968 * localedata/locales/aa_DJ: Improved readibility by replacing
25969 <Uxxxx> sequences in the ASCII printable range by their ASCII
25970 character equivalents.
25971 * localedata/locales/aa_ER: Likewise.
25972 * localedata/locales/aa_ER@saaho: Likewise.
25973 * localedata/locales/aa_ET: Likewise.
25974 * localedata/locales/af_ZA: Likewise.
25975 * localedata/locales/agr_PE: Likewise.
25976 * localedata/locales/ak_GH: Likewise.
25977 * localedata/locales/am_ET: Likewise.
25978 * localedata/locales/anp_IN: Likewise.
25979 * localedata/locales/ar_AE: Likewise.
25980 * localedata/locales/ar_BH: Likewise.
25981 * localedata/locales/ar_DZ: Likewise.
25982 * localedata/locales/ar_EG: Likewise.
25983 * localedata/locales/ar_IN: Likewise.
25984 * localedata/locales/ar_IQ: Likewise.
25985 * localedata/locales/ar_JO: Likewise.
25986 * localedata/locales/ar_KW: Likewise.
25987 * localedata/locales/ar_LB: Likewise.
25988 * localedata/locales/ar_LY: Likewise.
25989 * localedata/locales/ar_MA: Likewise.
25990 * localedata/locales/ar_OM: Likewise.
25991 * localedata/locales/ar_QA: Likewise.
25992 * localedata/locales/ar_SA: Likewise.
25993 * localedata/locales/ar_SD: Likewise.
25994 * localedata/locales/ar_SS: Likewise.
25995 * localedata/locales/ar_SY: Likewise.
25996 * localedata/locales/ar_TN: Likewise.
25997 * localedata/locales/ar_YE: Likewise.
25998 * localedata/locales/as_IN: Likewise.
25999 * localedata/locales/ast_ES: Likewise.
26000 * localedata/locales/ayc_PE: Likewise.
26001 * localedata/locales/az_AZ: Likewise.
26002 * localedata/locales/az_IR: Likewise.
26003 * localedata/locales/be_BY: Likewise.
26004 * localedata/locales/be_BY@latin: Likewise.
26005 * localedata/locales/bem_ZM: Likewise.
26006 * localedata/locales/ber_DZ: Likewise.
26007 * localedata/locales/ber_MA: Likewise.
26008 * localedata/locales/bg_BG: Likewise.
26009 * localedata/locales/bhb_IN: Likewise.
26010 * localedata/locales/bho_IN: Likewise.
26011 * localedata/locales/bi_VU: Likewise.
26012 * localedata/locales/bn_BD: Likewise.
26013 * localedata/locales/bn_IN: Likewise.
26014 * localedata/locales/bo_CN: Likewise.
26015 * localedata/locales/bo_IN: Likewise.
26016 * localedata/locales/br_FR: Likewise.
26017 * localedata/locales/brx_IN: Likewise.
26018 * localedata/locales/bs_BA: Likewise.
26019 * localedata/locales/byn_ER: Likewise.
26020 * localedata/locales/ca_AD: Likewise.
26021 * localedata/locales/ca_ES: Likewise.
26022 * localedata/locales/ca_FR: Likewise.
26023 * localedata/locales/ca_IT: Likewise.
26024 * localedata/locales/ce_RU: Likewise.
26025 * localedata/locales/chr_US: Likewise.
26026 * localedata/locales/cmn_TW: Likewise.
26027 * localedata/locales/crh_UA: Likewise.
26028 * localedata/locales/cs_CZ: Likewise.
26029 * localedata/locales/csb_PL: Likewise.
26030 * localedata/locales/cv_RU: Likewise.
26031 * localedata/locales/cy_GB: Likewise.
26032 * localedata/locales/da_DK: Likewise.
26033 * localedata/locales/de_AT: Likewise.
26034 * localedata/locales/de_BE: Likewise.
26035 * localedata/locales/de_CH: Likewise.
26036 * localedata/locales/de_DE: Likewise.
26037 * localedata/locales/de_IT: Likewise.
26038 * localedata/locales/de_LI: Likewise.
26039 * localedata/locales/de_LU: Likewise.
26040 * localedata/locales/doi_IN: Likewise.
26041 * localedata/locales/dv_MV: Likewise.
26042 * localedata/locales/dz_BT: Likewise.
26043 * localedata/locales/el_CY: Likewise.
26044 * localedata/locales/el_GR: Likewise.
26045 * localedata/locales/en_AG: Likewise.
26046 * localedata/locales/en_AU: Likewise.
26047 * localedata/locales/en_BW: Likewise.
26048 * localedata/locales/en_CA: Likewise.
26049 * localedata/locales/en_DK: Likewise.
26050 * localedata/locales/en_GB: Likewise.
26051 * localedata/locales/en_HK: Likewise.
26052 * localedata/locales/en_IE: Likewise.
26053 * localedata/locales/en_IL: Likewise.
26054 * localedata/locales/en_IN: Likewise.
26055 * localedata/locales/en_NG: Likewise.
26056 * localedata/locales/en_NZ: Likewise.
26057 * localedata/locales/en_PH: Likewise.
26058 * localedata/locales/en_SG: Likewise.
26059 * localedata/locales/en_US: Likewise.
26060 * localedata/locales/en_ZA: Likewise.
26061 * localedata/locales/en_ZM: Likewise.
26062 * localedata/locales/en_ZW: Likewise.
26063 * localedata/locales/eo: Likewise.
26064 * localedata/locales/es_AR: Likewise.
26065 * localedata/locales/es_BO: Likewise.
26066 * localedata/locales/es_CL: Likewise.
26067 * localedata/locales/es_CO: Likewise.
26068 * localedata/locales/es_CR: Likewise.
26069 * localedata/locales/es_CU: Likewise.
26070 * localedata/locales/es_DO: Likewise.
26071 * localedata/locales/es_EC: Likewise.
26072 * localedata/locales/es_ES: Likewise.
26073 * localedata/locales/es_GT: Likewise.
26074 * localedata/locales/es_HN: Likewise.
26075 * localedata/locales/es_MX: Likewise.
26076 * localedata/locales/es_NI: Likewise.
26077 * localedata/locales/es_PA: Likewise.
26078 * localedata/locales/es_PE: Likewise.
26079 * localedata/locales/es_PR: Likewise.
26080 * localedata/locales/es_PY: Likewise.
26081 * localedata/locales/es_SV: Likewise.
26082 * localedata/locales/es_US: Likewise.
26083 * localedata/locales/es_UY: Likewise.
26084 * localedata/locales/es_VE: Likewise.
26085 * localedata/locales/et_EE: Likewise.
26086 * localedata/locales/eu_ES: Likewise.
26087 * localedata/locales/eu_ES@euro: Likewise.
26088 * localedata/locales/fa_IR: Likewise.
26089 * localedata/locales/ff_SN: Likewise.
26090 * localedata/locales/fi_FI: Likewise.
26091 * localedata/locales/fil_PH: Likewise.
26092 * localedata/locales/fo_FO: Likewise.
26093 * localedata/locales/fr_BE: Likewise.
26094 * localedata/locales/fr_CA: Likewise.
26095 * localedata/locales/fr_CH: Likewise.
26096 * localedata/locales/fr_FR: Likewise.
26097 * localedata/locales/fr_LU: Likewise.
26098 * localedata/locales/fur_IT: Likewise.
26099 * localedata/locales/fy_DE: Likewise.
26100 * localedata/locales/fy_NL: Likewise.
26101 * localedata/locales/ga_IE: Likewise.
26102 * localedata/locales/gd_GB: Likewise.
26103 * localedata/locales/gez_ER: Likewise.
26104 * localedata/locales/gez_ET: Likewise.
26105 * localedata/locales/gl_ES: Likewise.
26106 * localedata/locales/gu_IN: Likewise.
26107 * localedata/locales/gv_GB: Likewise.
26108 * localedata/locales/ha_NG: Likewise.
26109 * localedata/locales/hak_TW: Likewise.
26110 * localedata/locales/he_IL: Likewise.
26111 * localedata/locales/hi_IN: Likewise.
26112 * localedata/locales/hif_FJ: Likewise.
26113 * localedata/locales/hne_IN: Likewise.
26114 * localedata/locales/hr_HR: Likewise.
26115 * localedata/locales/hsb_DE: Likewise.
26116 * localedata/locales/ht_HT: Likewise.
26117 * localedata/locales/hu_HU: Likewise.
26118 * localedata/locales/hy_AM: Likewise.
26119 * localedata/locales/i18n: Likewise.
26120 * localedata/locales/ia_FR: Likewise.
26121 * localedata/locales/id_ID: Likewise.
26122 * localedata/locales/ig_NG: Likewise.
26123 * localedata/locales/ik_CA: Likewise.
26124 * localedata/locales/is_IS: Likewise.
26125 * localedata/locales/it_CH: Likewise.
26126 * localedata/locales/it_IT: Likewise.
26127 * localedata/locales/iu_CA: Likewise.
26128 * localedata/locales/ja_JP: Likewise.
26129 * localedata/locales/ka_GE: Likewise.
26130 * localedata/locales/kk_KZ: Likewise.
26131 * localedata/locales/kl_GL: Likewise.
26132 * localedata/locales/kn_IN: Likewise.
26133 * localedata/locales/ko_KR: Likewise.
26134 * localedata/locales/kok_IN: Likewise.
26135 * localedata/locales/ks_IN: Likewise.
26136 * localedata/locales/ks_IN@devanagari: Likewise.
26137 * localedata/locales/ku_TR: Likewise.
26138 * localedata/locales/kw_GB: Likewise.
26139 * localedata/locales/ky_KG: Likewise.
26140 * localedata/locales/lb_LU: Likewise.
26141 * localedata/locales/lg_UG: Likewise.
26142 * localedata/locales/li_BE: Likewise.
26143 * localedata/locales/li_NL: Likewise.
26144 * localedata/locales/lij_IT: Likewise.
26145 * localedata/locales/ln_CD: Likewise.
26146 * localedata/locales/lo_LA: Likewise.
26147 * localedata/locales/lt_LT: Likewise.
26148 * localedata/locales/lv_LV: Likewise.
26149 * localedata/locales/lzh_TW: Likewise.
26150 * localedata/locales/mag_IN: Likewise.
26151 * localedata/locales/mai_IN: Likewise.
26152 * localedata/locales/mg_MG: Likewise.
26153 * localedata/locales/mhr_RU: Likewise.
26154 * localedata/locales/mi_NZ: Likewise.
26155 * localedata/locales/mk_MK: Likewise.
26156 * localedata/locales/ml_IN: Likewise.
26157 * localedata/locales/mn_MN: Likewise.
26158 * localedata/locales/mni_IN: Likewise.
26159 * localedata/locales/mr_IN: Likewise.
26160 * localedata/locales/ms_MY: Likewise.
26161 * localedata/locales/mt_MT: Likewise.
26162 * localedata/locales/my_MM: Likewise.
26163 * localedata/locales/nan_TW: Likewise.
26164 * localedata/locales/nan_TW@latin: Likewise.
26165 * localedata/locales/nb_NO: Likewise.
26166 * localedata/locales/nds_DE: Likewise.
26167 * localedata/locales/nds_NL: Likewise.
26168 * localedata/locales/ne_NP: Likewise.
26169 * localedata/locales/nhn_MX: Likewise.
26170 * localedata/locales/niu_NU: Likewise.
26171 * localedata/locales/niu_NZ: Likewise.
26172 * localedata/locales/nl_AW: Likewise.
26173 * localedata/locales/nl_BE: Likewise.
26174 * localedata/locales/nl_NL: Likewise.
26175 * localedata/locales/nn_NO: Likewise.
26176 * localedata/locales/nr_ZA: Likewise.
26177 * localedata/locales/nso_ZA: Likewise.
26178 * localedata/locales/oc_FR: Likewise.
26179 * localedata/locales/om_ET: Likewise.
26180 * localedata/locales/om_KE: Likewise.
26181 * localedata/locales/or_IN: Likewise.
26182 * localedata/locales/os_RU: Likewise.
26183 * localedata/locales/pa_IN: Likewise.
26184 * localedata/locales/pa_PK: Likewise.
26185 * localedata/locales/pap_AW: Likewise.
26186 * localedata/locales/pap_CW: Likewise.
26187 * localedata/locales/pl_PL: Likewise.
26188 * localedata/locales/ps_AF: Likewise.
26189 * localedata/locales/pt_BR: Likewise.
26190 * localedata/locales/pt_PT: Likewise.
26191 * localedata/locales/quz_PE: Likewise.
26192 * localedata/locales/raj_IN: Likewise.
26193 * localedata/locales/ro_RO: Likewise.
26194 * localedata/locales/ru_RU: Likewise.
26195 * localedata/locales/ru_UA: Likewise.
26196 * localedata/locales/rw_RW: Likewise.
26197 * localedata/locales/sa_IN: Likewise.
26198 * localedata/locales/sat_IN: Likewise.
26199 * localedata/locales/sc_IT: Likewise.
26200 * localedata/locales/sd_IN: Likewise.
26201 * localedata/locales/sd_IN@devanagari: Likewise.
26202 * localedata/locales/se_NO: Likewise.
26203 * localedata/locales/sgs_LT: Likewise.
26204 * localedata/locales/shs_CA: Likewise.
26205 * localedata/locales/si_LK: Likewise.
26206 * localedata/locales/sid_ET: Likewise.
26207 * localedata/locales/sk_SK: Likewise.
26208 * localedata/locales/sl_SI: Likewise.
26209 * localedata/locales/sm_WS: Likewise.
26210 * localedata/locales/so_DJ: Likewise.
26211 * localedata/locales/so_ET: Likewise.
26212 * localedata/locales/so_KE: Likewise.
26213 * localedata/locales/so_SO: Likewise.
26214 * localedata/locales/sq_AL: Likewise.
26215 * localedata/locales/sq_MK: Likewise.
26216 * localedata/locales/sr_ME: Likewise.
26217 * localedata/locales/sr_RS: Likewise.
26218 * localedata/locales/sr_RS@latin: Likewise.
26219 * localedata/locales/ss_ZA: Likewise.
26220 * localedata/locales/st_ZA: Likewise.
26221 * localedata/locales/sv_FI: Likewise.
26222 * localedata/locales/sv_SE: Likewise.
26223 * localedata/locales/sw_KE: Likewise.
26224 * localedata/locales/sw_TZ: Likewise.
26225 * localedata/locales/szl_PL: Likewise.
26226 * localedata/locales/ta_IN: Likewise.
26227 * localedata/locales/ta_LK: Likewise.
26228 * localedata/locales/tcy_IN: Likewise.
26229 * localedata/locales/te_IN: Likewise.
26230 * localedata/locales/tg_TJ: Likewise.
26231 * localedata/locales/th_TH: Likewise.
26232 * localedata/locales/the_NP: Likewise.
26233 * localedata/locales/ti_ER: Likewise.
26234 * localedata/locales/ti_ET: Likewise.
26235 * localedata/locales/tig_ER: Likewise.
26236 * localedata/locales/tk_TM: Likewise.
26237 * localedata/locales/tl_PH: Likewise.
26238 * localedata/locales/tn_ZA: Likewise.
26239 * localedata/locales/to_TO: Likewise.
26240 * localedata/locales/tpi_PG: Likewise.
26241 * localedata/locales/tr_CY: Likewise.
26242 * localedata/locales/tr_TR: Likewise.
26243 * localedata/locales/ts_ZA: Likewise.
26244 * localedata/locales/tt_RU: Likewise.
26245 * localedata/locales/tt_RU@iqtelif: Likewise.
26246 * localedata/locales/ug_CN: Likewise.
26247 * localedata/locales/uk_UA: Likewise.
26248 * localedata/locales/unm_US: Likewise.
26249 * localedata/locales/ur_IN: Likewise.
26250 * localedata/locales/ur_PK: Likewise.
26251 * localedata/locales/uz_UZ: Likewise.
26252 * localedata/locales/uz_UZ@cyrillic: Likewise.
26253 * localedata/locales/ve_ZA: Likewise.
26254 * localedata/locales/vi_VN: Likewise.
26255 * localedata/locales/wa_BE: Likewise.
26256 * localedata/locales/wae_CH: Likewise.
26257 * localedata/locales/wal_ET: Likewise.
26258 * localedata/locales/wo_SN: Likewise.
26259 * localedata/locales/xh_ZA: Likewise.
26260 * localedata/locales/yi_US: Likewise.
26261 * localedata/locales/yo_NG: Likewise.
26262 * localedata/locales/yue_HK: Likewise.
26263 * localedata/locales/yuw_PG: Likewise.
26264 * localedata/locales/zh_CN: Likewise.
26265 * localedata/locales/zh_HK: Likewise.
26266 * localedata/locales/zh_SG: Likewise.
26267 * localedata/locales/zh_TW: Likewise.
26268 * localedata/locales/zu_ZA: Likewise.
26270 2017-11-13 Florian Weimer <fweimer@redhat.com>
26272 * support/next_to_fault.h, support/next_to_fault.c: New files.
26273 * support/Makefile (libsupport-routines): Add next_to_fault.
26274 * resolv/tst-inet_pton.c (struct next_to_fault)
26275 (next_to_fault_allocate, next_to_fault_free): Remove.
26276 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
26278 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
26280 * elf/dl-support.c: Include <dl-procruntime.c>.
26281 * include/link.h: Include <link_map.h>.
26282 * sysdeps/generic/dl-procruntime.c: New file.
26283 * sysdeps/generic/link_map.h: Likewise.
26284 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
26285 the writable ld.so namespace.
26287 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
26289 timezone: pacify GCC -Wstringop-truncation
26290 Problem reported by Martin Sebor in:
26291 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
26292 * timezone/zic.c (writezone): Use memcpy, not strncpy.
26294 2017-11-12 Florian Weimer <fweimer@redhat.com>
26296 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
26298 (tests): Add tst-xreadlink.
26299 * support/support.h (xstrndup): Declare.
26300 * support/xunistd.h (xunlink, xreadlink): Declare.
26301 * support/temp_file.h (support_create_temp_directory): Declare.
26302 * support/temp_file.c (support_create_temp_directory): New function.
26303 * support/support_chroot.c (support_chroot_create): Use it.
26304 * support/xreadlink.c: New file.
26305 * support/xstrndup.c: Likewise.
26306 * support/xunlink.c: Likewise.
26307 * support/tst-xreadlink.c: Likewise.
26309 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
26311 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
26313 2017-11-11 Florian Weimer <fweimer@redhat.com>
26317 * resolv/res_comp.c (printable_string, binary_hnok)
26318 (binary_leading_dash): New functions.
26319 (res_hnok): Reimplement using these functions and ns_name_pton.
26320 (res_ownok): Likewise.
26321 (res_mailok): Reimplement using printable_string, ns_name_pton and
26323 (res_dnok): Reimplement using printable_string and ns_name_pton.
26324 * resolv/tst-res_hnok.c (tests): Add additional tests.
26325 (LETTERDIGITS, PRINTABLE): Define.
26326 (do_test): Adjust one_char results.
26328 2017-11-11 Florian Weimer <fweimer@redhat.com>
26331 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
26332 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
26334 2017-11-11 Florian Weimer <fweimer@redhat.com>
26336 * resolv/tst-ns_name_pton.c: New file.
26337 * resolv/Makefile (tests): Add tst-ns_name_pton.
26338 (tst-ns_name_pton): Link against libresolv.
26340 2017-11-11 Florian Weimer <fweimer@redhat.com>
26342 * resolv/tst-res_hnok.c: New file.
26343 * resolv/Makefile (tests): Add tst-res_hnok.
26344 (tst-res_hnok): Link against libresolv.
26346 2017-11-11 Florian Weimer <fweimer@redhat.com>
26348 * resolv/tst-resolv-network.c: Use test framework instead explicit
26351 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
26353 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
26354 <jmp_buf-macros.h>.
26355 [!_ISOMAC] (STR_HELPER): New.
26356 [!_ISOMAC] (STR): Likewise.
26357 [!_ISOMAC] (TEST_SIZE): Likewise.
26358 [!_ISOMAC] (TEST_ALIGN): Likewise.
26359 [!_ISOMAC] (TEST_OFFSET): Likewise.
26360 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
26361 field offsets of jmp_buf as well as sigjmp_buf.
26362 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
26363 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
26364 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
26365 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
26366 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
26367 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
26368 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
26369 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
26370 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
26371 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
26373 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
26375 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
26376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
26378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
26380 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
26381 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
26382 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
26383 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
26384 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
26385 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
26387 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
26389 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
26390 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
26391 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
26393 2017-11-07 Joseph Myers <joseph@codesourcery.com>
26396 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26397 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
26398 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26399 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
26400 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26401 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
26402 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26403 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
26404 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26405 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
26406 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26407 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
26408 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26409 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
26410 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26411 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
26412 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26413 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
26414 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26415 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
26416 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26417 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
26418 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26419 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
26420 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26421 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
26422 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26423 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
26424 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26425 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
26426 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26427 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
26428 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26429 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
26430 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26431 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
26432 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26433 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
26434 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26435 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
26436 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26437 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
26438 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26439 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
26440 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26441 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
26442 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26443 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
26444 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26445 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
26446 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26447 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
26448 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26449 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
26450 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26451 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
26452 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26453 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
26454 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26455 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
26456 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26457 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
26458 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26459 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
26460 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26461 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
26462 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26463 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
26464 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26465 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
26466 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26467 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
26468 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26469 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
26470 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26471 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
26472 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26473 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
26474 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26475 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
26476 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26477 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
26478 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26479 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
26480 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26481 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
26482 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26483 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
26485 * stdlib/tst-strtod.h (F16): New macro.
26491 (IF_FLOAT16): Likewise.
26492 (IF_FLOAT32): Likewise.
26493 (IF_FLOAT64): Likewise.
26494 (IF_FLOAT32X): Likewise.
26495 (IF_FLOAT64X): Likewise.
26496 (IF_FLOAT128X): Likewise.
26497 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
26498 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
26499 (STRTOD_TEST_FOREACH): Likewise.
26500 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
26501 (CHOOSE_f64): Likewise.
26502 (CHOOSE_f32x): Likewise.
26503 (CHOOSE_f64x): Likewise.
26505 2017-11-07 Andreas Schwab <schwab@suse.de>
26507 * nptl/Makefile (tests-internal): Remove tst-typesizes.
26509 2017-11-07 Mike FABIAN <mfabian@redhat.com>
26512 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
26514 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
26517 2017-11-07 Claude Paroz <claude@2xlibre.net>
26520 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
26522 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
26524 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
26527 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26530 * nptl/allocatestack.c (allocate_stack): Check if
26531 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
26532 __PTHREAD_MUTEX_HAVE_PREV is defined.
26533 * nptl/descr.h (pthread): Likewise.
26534 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26536 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
26537 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
26538 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
26539 * sysdeps/nptl/bits/thread-shared-types.h
26540 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
26542 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
26543 of __WORDSIZE for internal layout.
26544 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
26545 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
26546 instead of __WORDSIZE whether to use an union for __spins and __list
26548 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
26550 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
26551 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
26553 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
26554 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26556 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
26557 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26559 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
26560 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26562 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
26563 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26565 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
26566 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26568 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
26569 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26571 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
26572 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26574 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
26575 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26577 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
26578 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26580 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
26581 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26583 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
26584 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26586 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
26587 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26589 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
26590 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26592 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
26593 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26596 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
26598 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
26599 checks for expected input type size.
26600 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
26601 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
26603 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
26604 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
26605 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
26606 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
26607 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
26608 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
26609 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
26610 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
26611 superflous runtime assert check.
26612 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
26614 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
26616 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
26618 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
26620 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
26622 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
26624 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
26625 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
26626 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
26628 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
26630 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
26632 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
26634 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
26636 * nptl/pthread_attr_setinheritsched.c
26637 (__pthread_attr_setinheritsched): Likewise.
26638 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
26640 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
26642 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
26643 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
26644 __old_pthread_attr_setstack): Likewise.
26645 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
26647 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
26649 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
26651 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
26652 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
26654 * nptl/tst-typesizes.c: Remove file.
26656 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
26657 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
26658 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
26659 checks for internal pthread_mutex_t offsets.
26660 * sysdeps/aarch64/nptl/pthread-offsets.h
26661 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
26662 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
26663 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
26664 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
26665 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
26666 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
26667 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
26668 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
26669 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
26670 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
26671 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
26672 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
26673 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
26674 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
26675 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
26676 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
26677 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
26678 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
26680 2017-11-07 Florian Weimer <fweimer@redhat.com>
26682 * bits/mman-linux.h: Move ...
26683 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
26685 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
26688 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26690 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
26691 Redefine STRNLEN as __strnlen_power8.
26693 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26695 * signal/sighold.c (sighold): Optimize implementation.
26697 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
26698 __NR_rt_sigqueueinfo.
26700 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
26702 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
26703 assume __NR_rt_sigtimedwait.
26704 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
26705 and add LIBC_CANCEL_HANDLED for cancellation marking.
26706 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
26708 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
26709 (sysdeps_routines): Add memchr_noneon.
26710 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
26711 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
26712 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
26713 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
26714 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
26715 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
26716 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
26718 * sysdeps/arm/arm-ifunc.h: New file.
26719 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
26720 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
26721 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
26722 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
26723 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
26724 (__memcpy_neon): Avoid create hidden alias.
26725 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
26726 (__memcpy_vfp): Likewise.
26727 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
26728 (sysdep_routines): Add memcpy_arm.
26729 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
26731 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
26734 * Makerules (make-link-multidir): New.
26735 * config.make.in (multidir): New.
26736 * configure.ac (libc_cv_multidir): New. AC_SUBST.
26737 * configure: Regenerated.
26738 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
26739 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
26740 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
26743 2017-11-06 Joseph Myers <joseph@codesourcery.com>
26746 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
26747 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
26749 2017-11-04 Mike FABIAN <mfabian@redhat.com>
26751 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
26754 2017-11-04 Florian Weimer <fweimer@redhat.com>
26756 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
26758 2017-11-03 Joseph Myers <joseph@codesourcery.com>
26760 * math/math.h [__HAVE_DISTINCT_FLOAT16
26761 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
26762 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
26763 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
26764 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
26765 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
26766 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
26767 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
26768 (__MATH_TG_F32): New macro.
26769 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
26770 (__MATH_TG_F64X): Likewise.
26771 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
26772 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
26774 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
26776 * po/de.po: Update translations.
26777 * po/ru.po: Likewise.
26779 2017-11-03 Florian Weimer <fweimer@redhat.com>
26781 * manual/filesys.texi (Hard Links): Document linkat.
26783 2017-11-03 Joseph Myers <joseph@codesourcery.com>
26785 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
26786 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
26787 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
26788 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
26789 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
26790 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
26791 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
26792 the same as _Float128.
26793 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
26794 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
26795 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
26798 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
26800 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
26802 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
26804 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26805 (strtof32x): Likewise.
26806 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26807 (strtof64x): Likewise.
26808 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26809 (strtof128x): Likewise.
26810 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26811 (strfromf16): Likewise.
26812 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26813 (strfromf32): Likewise.
26814 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26815 (strfromf64): Likewise.
26816 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26817 (strfromf32x): Likewise.
26818 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26819 (strfromf64x): Likewise.
26820 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26821 (strfromf128x): Likewise.
26822 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
26823 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
26824 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
26825 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
26826 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
26827 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
26829 2017-11-03 Richard Henderson <rth@twiddle.net>
26831 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
26833 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26835 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
26837 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26839 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
26840 DT_TLSDESC_GOT initialization.
26841 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
26842 (_dl_tlsdesc_resolve_hold): Likewise.
26843 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
26844 (_dl_tlsdesc_resolve_hold): Likewise.
26845 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
26846 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
26848 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26850 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
26852 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26855 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
26856 non-lazily for R_ARM_TLS_DESC.
26858 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26861 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
26862 R_ARM_TLS_DESC case.
26863 (elf_machine_lazy_rel): Remove the prelink check.
26865 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26867 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
26868 DT_TLSDESC_GOT initialization.
26869 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
26870 (_dl_tlsdesc_resolve_rela): Likewise.
26871 (_dl_tlsdesc_resolve_hold): Likewise.
26872 (_dl_tlsdesc_undefweak): Remove ldar.
26873 (_dl_tlsdesc_dynamic): Likewise.
26874 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
26875 (_dl_tlsdesc_resolve_rela): Likewise.
26876 (_dl_tlsdesc_resolve_hold): Likewise.
26877 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
26878 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
26879 (_dl_tlsdesc_resolve_rela): Likewise.
26880 (_dl_tlsdesc_resolve_hold): Likewise.
26882 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26884 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
26885 binding and initialization non-lazily for R_AARCH64_TLSDESC.
26887 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26889 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
26890 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
26892 2017-11-02 Joseph Myers <joseph@codesourcery.com>
26894 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
26896 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
26897 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
26898 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
26899 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
26900 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
26901 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
26902 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
26903 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
26904 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
26905 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
26906 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
26908 2017-11-02 Mike FABIAN <mfabian@redhat.com>
26911 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
26912 * localedata/locales/tpi_PG: Add standard header.
26914 2017-11-02 Florian Weimer <fweimer@redhat.com>
26916 test-errno-linux: quotactl can fail with EPERM in containers.
26917 * sysdeps/unix/sysv/linux/test-errno-linux.c
26918 (LIST, LIST_FORWARD): New macros.
26919 (check_error_in_list): New function.
26920 (test_wrp_rv): Accept list of permitted error codes.
26921 (test_wrp_rv2): Remove.
26922 (test_wrp): Call test_wrp_rv with list of error codes.
26923 (test_wrp2): Accept list of error codes.
26924 (do_test): Adjust. Allow EPERM for quotactl.
26926 2017-11-02 Florian Weimer <fweimer@redhat.com>
26928 * stdio-common/bug16.c (do_test): Use array_length.
26929 * stdio-common/errlist.c (_sys_nerr): Likewise.
26930 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
26931 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
26932 * stdio-common/psiginfo.c (psiginfo): Use array_length.
26933 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
26934 (do_test): Use array_length.
26935 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
26936 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
26937 * stdio-common/tst-printf-round.c (do_test): Likewise.
26938 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
26939 (CHECK): Use array_length.
26940 * stdio-common/tstdiomisc.c (t3, F): Likewise.
26941 * stdio-common/tstscanf.c (main): Likewise.
26942 * stdio-common/vfprintf.c (process_string_arg): Likewise.
26944 2017-11-02 Florian Weimer <fweimer@redhat.com>
26946 Add array_length and array_end macros.
26947 * include/array_length.h: New file.
26949 2017-11-02 Florian Weimer <fweimer@redhat.com>
26952 * posix/tst-glob-tilde.c (do_noescape): New variable.
26953 (one_test): Process it.
26954 (do_test): Set do_noescape. Add unescaping test case.
26956 2017-11-01 Joseph Myers <joseph@codesourcery.com>
26959 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
26960 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
26961 with appropriate macros defined and undefined.
26962 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
26963 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26964 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
26965 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26966 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
26967 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26968 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
26969 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26970 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
26971 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26974 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
26975 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
26976 that for long double. Do not condition define and undefine of
26977 _Mdouble_complex_ on [__CFLOAT128].
26979 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
26981 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
26982 of <sysdeps/generic/sysdep.h>.
26983 (ALIGNARG): Removed.
26984 (ASM_SIZE_DIRECTIVE): Likewise.
26987 (ENTRY_CHK): Likewise.
26988 (END_CHK): Likewise.
26989 (syscall_error): Likewise.
26990 (mcount): Likewise.
26991 (PSEUDO_END): Likewise.
26993 (atom_text_section): Likewise.
26994 * sysdeps/x86/sysdep.h: New file.
26995 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
26996 of <sysdeps/generic/sysdep.h>.
26997 (ALIGNARG): Removed.
26998 (ASM_SIZE_DIRECTIVE): Likewise.
27001 (ENTRY_CHK): Likewise.
27002 (END_CHK): Likewise.
27003 (syscall_error): Likewise.
27004 (mcount): Likewise.
27005 (PSEUDO_END): Likewise.
27007 (atom_text_section): Likewise.
27009 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
27011 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
27012 category of LC_CTYPE set to "i18n:2012".
27013 * localedata/locales/i18n_ctype: Regenerate.
27015 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
27017 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
27018 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
27019 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
27020 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
27022 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
27023 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
27024 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
27025 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
27027 2017-10-31 Joseph Myers <joseph@codesourcery.com>
27030 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
27032 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
27034 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
27036 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27037 (CMPLXF32X): Likewise.
27038 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27039 (CMPLXF64X): Likewise.
27040 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27041 (CMPLXF128X): Likewise.
27044 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
27045 (__MATH_EVAL_FMT2): Define to add 0.0f.
27047 2017-10-31 Alan Modra <amodra@gmail.com>
27049 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
27051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
27052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
27053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
27054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
27055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
27056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
27057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
27058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
27059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
27060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
27061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
27062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
27063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
27064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
27065 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
27066 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
27067 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
27068 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
27069 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
27070 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
27071 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
27072 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
27073 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
27074 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
27075 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
27076 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
27077 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
27078 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
27079 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
27080 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
27081 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
27082 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
27083 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
27084 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
27085 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
27086 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
27087 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
27088 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
27089 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
27090 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
27091 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
27092 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
27093 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
27094 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
27095 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
27096 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
27097 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
27098 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
27099 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
27100 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
27101 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
27102 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
27103 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
27104 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
27105 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
27106 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
27107 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
27108 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
27109 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
27110 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
27111 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
27112 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
27113 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
27114 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
27115 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
27116 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
27117 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
27118 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
27119 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
27121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
27122 include sysdep.h and math_ldbl_opt.h.
27124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
27125 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
27126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
27127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
27128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
27129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
27130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
27131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
27132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
27133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
27134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
27135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
27136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
27137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
27138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
27139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
27140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
27141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
27142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
27143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
27144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
27145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
27146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
27147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
27148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
27149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
27151 2017-10-31 Alan Modra <amodra@gmail.com>
27153 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
27154 string/strncase_l.c, not string/strncase.c.
27155 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
27156 (libc_hidden_def): Redefine.
27158 2017-10-31 Alan Modra <amodra@gmail.com>
27160 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
27161 (__STRCMP, STRCMP, __strcasecmp_l): Define.
27162 (__strcasecmp): Don't define.
27164 2017-10-31 Alan Modra <amodra@gmail.com>
27166 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
27168 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
27169 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
27170 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
27172 2017-10-31 Alan Modra <amodra@gmail.com>
27174 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
27177 2017-10-31 Alan Modra <amodra@gmail.com>
27179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
27180 Redefine only when SHARED.
27182 2017-10-30 Joseph Myers <joseph@codesourcery.com>
27184 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
27185 Include <bits/math-finite.h> with appropriate macros defined and
27187 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
27188 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
27189 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
27190 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
27191 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
27193 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
27194 [!_Mlong_double_] (_Mlong_double_): Likewise.
27195 [!_Mfloat16_] (_Mfloat16_): Likewise.
27196 [!_Mfloat32_] (_Mfloat32_): Likewise.
27197 [!_Mfloat64_] (_Mfloat64_): Likewise.
27198 [!_Mfloat128_] (_Mfloat128_): Likewise.
27199 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
27200 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
27201 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
27202 (_Mdouble_): Define without indirection through those macros.
27203 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
27204 [!_Mfloat128_] (_Mfloat128_): Likewise.
27205 [_Mlong_double_] (_Mlong_double_): Likewise.
27206 (_Mdouble_): Define without indirection through those macros.
27207 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
27208 not add -D_Mlong_double_=double.
27209 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
27210 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
27212 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
27214 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
27216 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
27218 * sysdeps/x86/libc-start.c: Reformat.
27220 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
27223 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
27224 (1): Renamed to ...
27227 (L(Src2)): Likewise.
27228 (L(1)): Renamed to ...
27231 2017-10-30 Joseph Myers <joseph@codesourcery.com>
27233 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
27234 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
27235 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
27236 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
27237 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
27238 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
27239 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
27240 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
27241 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
27242 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
27243 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
27244 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
27245 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
27246 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
27247 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
27248 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
27249 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
27250 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
27251 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
27252 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
27253 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
27254 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
27255 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
27256 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
27257 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
27258 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
27259 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
27260 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
27261 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
27262 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
27263 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
27264 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
27265 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
27266 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
27267 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
27268 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
27269 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
27270 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
27271 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
27272 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
27273 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
27274 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
27275 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
27276 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
27277 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
27278 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
27279 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
27280 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
27281 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
27282 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
27283 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
27284 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
27285 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
27286 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
27287 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
27288 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
27289 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
27290 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
27291 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
27292 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
27293 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
27294 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
27295 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
27296 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
27297 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
27298 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
27300 2017-10-30 Florian Weimer <fweimer@redhat.com>
27302 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
27304 * io/tst-mkdirat.c (do_test): Likewise.
27305 * io/tst-mkfifoat.c (do_test): Likewise.
27306 * io/tst-mknodat.c (do_test): Likewise.
27307 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
27308 * locale/programs/locale.c (select_dirs): Likewise.
27309 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
27310 * posix/bug-glob2.c (my_readdir): Likewise.
27311 * posix/tst-dir.c (main): Likewise.
27312 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
27313 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
27315 2017-10-30 Florian Weimer <fweimer@redhat.com>
27317 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
27320 2017-10-30 Florian Weimer <fweimer@redhat.com>
27322 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
27323 Convert to support/test-driver.c.
27324 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
27325 New macro parameters.
27326 (PRINTF): Remove macro. Use test_verbose conditionals instead.
27327 * posix/tst-gnuglob.c: New file.
27328 * posix/tst-gnuglob64.c: Likewise.
27329 * posix/Makefile (tests): Add tst-gnuglob64.
27331 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
27334 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
27335 and use a better translation for March in “mon”.
27336 * localedata/locales/csb_PL: Use more ASCII to improve the
27337 readability of the source.
27339 2017-10-30 Mike FABIAN <mfabian@redhat.com>
27342 * localedata/locales/km_KH: Use ASCII as much
27343 as possible for better readability of the source and
27344 remove useless comments.
27345 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
27346 was commented out and apparently wrong anyway because it was
27347 using Lao characters. If Buddhist era should be used
27348 for km_KH, a native speaker should write the correct formaat
27350 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
27351 (According to CLDR, the first weekday for Cambodia is Sunday).
27352 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
27353 (These were using Lao characters which must be wrong. If we get
27354 the correct data from a native speaker, we could add it back, until
27355 then it is better not to have name_mr and name_mrs at all than
27358 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
27360 * locale/loadlocale.c: Correct size of
27361 _nl_value_type_LC_<category> arrays.
27363 2017-10-27 Joseph Myers <joseph@codesourcery.com>
27365 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
27366 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
27367 with appropriate macros defined and undefined.
27368 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
27369 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
27370 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
27371 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
27372 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
27374 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
27376 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
27379 2017-10-27 Mike FABIAN <mfabian@redhat.com>
27381 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
27382 with lowercase letters to make it agree with CLDR.
27384 2017-10-27 Mike FABIAN <mfabian@redhat.com>
27387 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
27388 first letters of yesstr and nostr in yesexpr and noexpr,
27389 not for the full words.
27390 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
27391 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
27392 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
27393 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
27394 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
27395 first letters of yesstr and nostr in yesexpr and noexpr,
27396 until now only English was matched in yesexpr and noexpr.
27397 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
27398 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
27399 fil but not for tl. As tl and fil are very similar, using fil
27400 is probably better than using English.
27402 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
27405 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
27406 in yesstr and nostr.
27408 2017-10-26 Joseph Myers <joseph@codesourcery.com>
27410 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
27411 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
27412 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
27414 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
27416 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
27418 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
27420 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27421 (SNANF128X): Likewise.
27423 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
27424 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
27425 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27426 (HUGE_VAL_F32): Likewise.
27427 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27428 (HUGE_VAL_F64): Likewise.
27429 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27430 (HUGE_VAL_F32X): Likewise.
27431 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27432 (HUGE_VAL_F64X): Likewise.
27433 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27434 (HUGE_VAL_F128X): Likewise.
27436 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
27438 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
27439 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
27440 for the br_FR locale.
27442 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
27445 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
27447 2017-10-25 Carlos O'Donell <carlos@redhat.com>
27449 * locale/programs/record-status.h: Define globals, and function
27450 prototypes. Move function bodies...
27451 * locale/programs/record-status.c: ... to here. New file.
27452 * iconv/Makefile (iconv_prog-modules): Add record-status.
27453 * locale/Makefile (lib-modules): Likewise.
27454 * iconv/iconv_prog.c: Remove verbose.
27455 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
27456 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
27457 record a warning about ASCII compatibility.
27458 * locale/programs/ld-monetary.c (monetary_finish): If
27459 warn_int_curr_symbol is true then record a warning about the symbol
27460 not being in our ISO 4217 list.
27461 * locale/programs/locale.c: Include record-status.h. Remove verbose.
27462 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
27463 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
27464 (OPT_NO_WARN): Define.
27465 (OPT_WARN): Define.
27466 (options): Add entry for --no-warnings, and --warnings.
27467 (set_warnings): New function to enable/disable warnings.
27468 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
27469 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
27470 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
27471 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
27472 Pass flags to generate_locale.
27473 (generate_locale): Accept new flag argument and pass it to localedef
27475 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
27476 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
27478 * localedata/Makefile (test-input-data): Use full file name.
27479 * localedata/da_DK.in: Rename to...
27480 * localedata/da_DK.ISO-8859-1.in: ...this.
27481 * localedata/de_DE.in: Rename to...
27482 * localedata/de_DE.ISO-8859-1.in: ...this.
27483 * localedata/en_US.in: Rename to...
27484 * localedata/en_US.ISO-8859-1.in: ...this.
27485 * localedata/fr_FR.in: Rename to...
27486 * localedata/fr_FR.UTF-8.in: ... this.
27487 * localedata/hr_HR.in: Rename to...
27488 * localedata/hr_HR.ISO-8859-2.in: ...this.
27489 * localedata/hu_HU.in: Rename to...
27490 * localedata/hu_HU.UTF-8.in: ...this.
27491 * localedata/si_LK.in: Rename to...
27492 * localedata/si_LK.UTF-8.in: ...this.
27493 * localedata/sv_SE.in: Rename to...
27494 * localedata/sv_SE.ISO-8859-1.in: ...this.
27495 * localedata/tr_TR.in: Rename to...
27496 * localedata/tr_TR.UTF-8.in: ...this.
27497 * localedata/uk_UA.in: Rename to...
27498 * localedata/uk_UA.UTF-8.in: ...this.
27499 * localedata/sort-test.sh: Test file is locale name with the
27502 * localedata/unicode-gen/Makefile (check_i18n): Rename to
27503 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
27505 * localedata/locales/i18n_ctype: Regenerate.
27506 * localedata/locales/tr_TR: Likewise.
27507 * localedata/locales/translit_circle: Likewise.
27508 * localedata/locales/translit_cjk_compat: Likewise.
27509 * localedata/locales/translit_combining: Likewise.
27510 * localedata/locales/translit_compat: Likewise.
27511 * localedata/locales/translit_font: Likewise.
27512 * localedata/locales/translit_fraction: Likewise.
27514 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27516 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
27517 lxvd2x/stxvd2x with lvx/stvx.
27518 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
27520 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
27522 * include/alloc_buffer.h: Replace "if if " with "if " in
27524 * sysdeps/mips/memcpy.S: Likkewise.
27525 * sysdeps/mips/memset.S: Likewise.
27526 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
27528 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
27530 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
27533 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27536 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
27537 yesexpr and noexpr.
27538 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
27539 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
27540 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
27541 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
27542 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
27543 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
27544 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
27546 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27548 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
27549 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
27550 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
27551 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
27552 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
27553 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
27554 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
27555 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
27556 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
27557 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
27558 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
27559 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
27561 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27563 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
27564 as possible for better readability of the source.
27565 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
27566 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
27567 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
27568 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
27569 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
27570 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
27571 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
27572 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
27573 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
27574 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
27575 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
27576 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
27577 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
27578 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
27579 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
27580 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
27581 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
27582 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
27583 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
27584 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
27585 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
27586 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
27587 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
27588 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
27589 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
27590 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
27591 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
27592 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
27593 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
27594 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
27595 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
27596 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
27597 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
27598 * localedata/locales/en_US (LC_MESSAGES): Likewise.
27599 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
27600 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
27601 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
27602 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
27603 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
27604 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
27605 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
27606 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
27607 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
27608 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
27609 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
27610 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
27611 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
27612 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
27613 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
27614 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
27615 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
27616 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
27617 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
27618 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
27619 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
27620 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
27621 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
27622 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
27623 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
27624 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
27625 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
27626 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
27627 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
27628 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
27629 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
27630 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
27631 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
27632 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
27633 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
27634 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
27635 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
27636 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
27637 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
27638 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
27639 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
27640 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
27641 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
27642 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
27643 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
27644 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
27645 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
27646 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
27647 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
27648 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
27649 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
27650 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
27651 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
27652 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
27653 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
27654 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
27655 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
27656 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
27657 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
27658 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
27659 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
27660 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
27661 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
27662 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
27663 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
27664 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
27665 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
27666 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
27667 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
27668 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
27669 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
27670 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
27671 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
27672 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
27673 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
27674 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
27675 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
27676 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
27677 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
27678 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
27679 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
27680 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
27681 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
27682 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
27683 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
27684 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
27685 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
27686 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
27687 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
27688 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
27689 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
27690 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
27691 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
27692 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
27693 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
27694 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
27695 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
27696 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
27697 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
27698 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
27699 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
27700 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
27701 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
27702 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
27703 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
27704 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
27705 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
27706 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
27707 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
27708 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
27709 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
27710 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
27711 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
27712 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
27713 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
27714 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
27715 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
27716 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
27717 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
27718 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
27719 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
27720 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
27721 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
27722 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
27723 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
27724 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
27725 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
27726 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
27727 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
27728 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
27729 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
27730 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
27731 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
27732 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
27733 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
27734 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
27735 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
27736 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
27737 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
27738 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
27740 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27742 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
27743 (Use first letters of yesstr and nostr correctly instead of using
27746 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27748 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
27749 (Use first letters of yesstr and nostr correctly).
27751 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27753 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
27754 also check for the first characters of yesstr and nostr.
27755 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
27756 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
27758 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27760 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
27761 also check for Chinese characters.
27763 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27765 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
27766 match also for the contents of yesstr and nostr. As the first letter
27767 of yesstr and nostr is equal, checking only for the first letter
27770 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27772 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
27773 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
27775 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27777 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
27778 of main contributor.
27780 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27782 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
27783 instead of using English.
27785 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27787 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
27788 by including the first letters of nostr and yesexpr in the regexp.
27789 Also make it more readable by using ASCII where possible.
27791 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27793 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
27794 the first letter of nostr in the regexp. It agrees with CLDR now.
27795 Also make it more readable by using ASCII where possible.
27797 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27799 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
27800 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
27801 these strings contain a U+17D6 (which somewhat looks like a colon)
27802 instead of a real colon to separate the full words for “yes”
27803 and “no” from the single letter responses.
27805 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27807 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
27808 it agree with CLDR (include the first letter of yesstr).
27809 Also make it more readable by using ASCII where possible.
27811 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27813 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
27814 and improve yesexpr and noexpr. The yesstr and nostr apparently
27815 came from CLDR. And CLDR has a bug there: these strings contain
27816 a U+0903 (which looks like a colon) instead of a real colon
27817 to separate the full words for “yes” and “no” from the single
27820 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27822 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
27823 letters of the full yesstr and nostr in yesexpr and noexpr.
27825 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27827 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
27828 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
27829 * localedata/locales/an_ES: Make source more readable by using ASCII
27832 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27835 * localedata/locales/yuw_PG: New file.
27836 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
27837 * locale/iso-639.def: Add Yau (Uruwa).
27839 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
27841 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
27843 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
27845 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
27846 (__libc_realloc): Likewise.
27847 (_mid_memalign): Likewise.
27848 (__libc_calloc): Likewise.
27850 2017-10-23 Mike FABIAN <mfabian@redhat.com>
27852 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
27853 by adding the generic +1 and -0 as in all other locales.
27854 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
27855 day names and make it more readable by using ASCII where possible.
27857 2017-10-24 Joseph Myers <joseph@codesourcery.com>
27859 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
27860 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
27862 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27864 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
27865 WNOHANG in waitpid call.
27867 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
27869 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
27870 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
27872 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
27873 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
27874 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
27875 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
27876 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
27877 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
27878 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
27879 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
27882 2017-10-23 Michael Collison <michael.collison@arm.com>
27884 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
27885 with __builtin_sqrt.
27886 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
27887 with __builtin_sqrtf.
27888 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
27889 with __builtin_ceil.
27890 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
27891 with __builtin_ceilf.
27892 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
27893 with __builtin_floor.
27894 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
27895 with __builtin_floorf.
27896 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
27897 with __builtin_fma.
27898 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
27899 with __builtin_fmaf.
27900 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
27901 with __builtin_fmax.
27902 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
27903 with __builtin_fmaxf.
27904 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
27905 with __builtin_fmin.
27906 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
27907 with __builtin_fminf.
27908 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
27909 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
27910 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
27911 with builtin_rint and conversion to int.
27912 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
27913 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
27914 with builtin_llround.
27915 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
27916 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
27917 with builtin_rint and conversion to long int.
27918 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
27919 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
27920 with builtin_lround.
27921 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
27922 with builtin_lroundf.
27923 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
27924 statements with __builtin_nearbyint.
27925 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
27926 statements with __builtin_nearbyintf.
27927 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
27928 with __builtin_rint.
27929 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
27930 with __builtin_rintf.
27931 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
27932 with __builtin_round.
27933 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
27934 with __builtin_roundf.
27935 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
27936 with __builtin_trunc.
27937 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
27938 with __builtin_truncf.
27939 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
27940 and s_l[l]round[f].c too.
27942 2017-10-23 Alan Modra <amodra@gmail.com>
27944 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
27945 Adjust stack after restoring regs. Add missing LR cfi_restore.
27947 2017-10-23 Alan Modra <amodra@gmail.com>
27949 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
27950 Move LR save and frame setup/teardown and LR restore to
27951 immediately around memset call. Provide cfi.
27953 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27955 * sysdeps/i386/fpu/e_powf.S: Removed.
27956 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
27957 * sysdeps/i386/fpu/w_powf.c: Likewise.
27958 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
27959 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27960 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27962 (CFLAGS-e_powf-sse2.c): New.
27963 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
27964 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
27966 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27968 * sysdeps/i386/fpu/e_log2f.S: Removed.
27969 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
27970 * sysdeps/i386/fpu/w_log2f.c: Likewise.
27971 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
27972 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27973 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27975 (CFLAGS-e_log2f-sse2.c): New.
27976 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
27977 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
27979 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27981 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27983 (CFLAGS-e_powf-fma.c): New.
27984 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
27985 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
27987 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27989 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27991 (CFLAGS-e_log2f-fma.c): New.
27992 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
27993 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
27995 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27997 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27999 (CFLAGS-e_logf-fma.c): New.
28000 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
28001 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
28003 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28005 * sysdeps/i386/fpu/e_logf.S: Removed.
28006 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
28007 * sysdeps/i386/fpu/w_logf.c: Likewise.
28008 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
28009 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
28010 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28011 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28013 (CFLAGS-e_logf-sse2.c): New.
28014 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
28015 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
28017 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28019 * sysdeps/i386/fpu/e_exp2f.S: Removed.
28020 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
28021 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
28022 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28023 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28025 (CFLAGS-e_exp2f-sse2.c): New.
28026 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
28027 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
28029 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28031 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28033 (CFLAGS-e_exp2f-fma.c): New.
28034 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
28035 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
28037 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28039 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
28040 * sysdeps/i386/fpu/e_expf.S: Likewise.
28041 * sysdeps/i386/fpu/math_errf.c: Likewise.
28042 * sysdeps/i386/fpu/w_expf.c: Likewise.
28043 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
28044 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28045 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
28046 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
28047 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28048 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28049 Remove e_expf-ia32.
28050 (CFLAGS-e_expf-sse2.c): New.
28051 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
28052 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
28054 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28056 * sysdeps/x86_64/fpu/e_expf.S: Removed.
28057 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
28058 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
28059 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
28061 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
28063 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
28064 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
28066 (__redirect_expf): This.
28067 (SYMBOL_NAME): Changed to expf.
28068 (__ieee754_expf): Renamed to ...
28070 (__GI___expf): This.
28071 (__ieee754_expf): Add strong_alias.
28072 (__expf_finite): Likewise.
28074 Include <sysdeps/ieee754/flt-32/e_expf.c>.
28076 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
28079 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
28082 2017-10-21 Florian Weimer <fweimer@redhat.com>
28084 * posix/Makefile (tests): Add tst-glob-tilde.
28085 (tests-special): Add tst-glob-tilde-mem.out
28086 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
28087 (tst-glob-tilde-mem.out): Add mtrace check.
28088 * posix/tst-glob-tilde.c: New file.
28090 2017-10-20 Joseph Myers <joseph@codesourcery.com>
28092 * bits/floatn-common.h: New file.
28093 * math/Makefile (headers): Add bits/floatn-common.h.
28094 * bits/floatn.h: Include <bits/floatn-common.h>.
28095 * sysdeps/ia64/bits/floatn.h: Likewise.
28096 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
28097 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
28098 * sysdeps/powerpc/bits/floatn.h: Likewise.
28099 * sysdeps/x86/bits/floatn.h: Likewise.
28101 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28103 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
28104 indicates whether compiler emits an warning for alias for
28105 functions with incompatible types.
28108 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
28109 the auxiliary process is terminated by a signal before calling _exit
28112 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
28115 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
28117 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
28118 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
28119 and bit_arch_XSAVEC_Usable if needed.
28120 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
28121 and bit_arch_Use_dl_runtime_resolve_opt.
28122 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
28124 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
28125 (bit_arch_Prefer_No_AVX512): Updated.
28126 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
28127 (bit_arch_XSAVEC_Usable): New.
28128 (STATE_SAVE_OFFSET): Likewise.
28129 (STATE_SAVE_MASK): Likewise.
28130 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
28131 (cpu_features): Add xsave_state_size and xsave_state_full_size.
28132 (index_arch_Use_dl_runtime_resolve_opt): Removed.
28133 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
28134 (index_arch_XSAVEC_Usable): New.
28135 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
28136 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
28137 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
28139 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
28140 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
28141 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
28142 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
28143 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
28144 _dl_runtime_resolve_xsavec.
28145 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
28147 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
28148 instead of VEC_SIZE.
28149 (REGISTER_SAVE_BND0): Removed.
28150 (REGISTER_SAVE_BND1): Likewise.
28151 (REGISTER_SAVE_BND3): Likewise.
28152 (REGISTER_SAVE_RAX): Always defined to 0.
28154 (_dl_runtime_resolve_avx): Likewise.
28155 (_dl_runtime_resolve_avx_slow): Likewise.
28156 (_dl_runtime_resolve_avx_opt): Likewise.
28157 (_dl_runtime_resolve_avx512): Likewise.
28158 (_dl_runtime_resolve_avx512_opt): Likewise.
28159 (_dl_runtime_resolve_sse): Likewise.
28160 (_dl_runtime_resolve_sse_vex): Likewise.
28162 (_dl_runtime_resolve_fxsave): Likewise.
28163 (USE_XSAVE): Likewise.
28164 (_dl_runtime_resolve_xsave): Likewise.
28165 (USE_XSAVEC): Likewise.
28166 (_dl_runtime_resolve_xsavec): Likewise.
28167 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
28169 (_dl_runtime_resolve_avx512_opt): Likewise.
28170 (_dl_runtime_resolve_avx): Likewise.
28171 (_dl_runtime_resolve_avx_opt): Likewise.
28172 (_dl_runtime_resolve_sse): Likewise.
28173 (_dl_runtime_resolve_sse_vex): Likewise.
28174 (_dl_runtime_resolve_fxsave): New.
28175 (_dl_runtime_resolve_xsave): Likewise.
28176 (_dl_runtime_resolve_xsavec): Likewise.
28178 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
28182 * posix/glob.c (__glob): Fix one-byte overflow.
28184 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
28186 * malloc/malloc.c (sysdep-cancel.h): Add include.
28188 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
28190 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
28192 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
28194 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
28195 (tests): Remove $(objpfx)ga_test depdendency.
28196 * resolv/ga_test.c: Remove file.
28198 2017-10-20 Mike FABIAN <mfabian@redhat.com>
28201 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
28202 * localedata/locales/kab_DZ: New file.
28204 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
28206 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
28207 _dl_relocate_static_pie instead of _dl_start to compute load
28208 address in static PIE.
28210 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
28212 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
28214 2017-10-20 Mike FABIAN <mfabian@redhat.com>
28217 * localedata/SUPPORTED: Add shn_MM/UTF-8.
28218 * localedata/locales/shn_MM: New file.
28220 2017-10-20 Florian Weimer <fweimer@redhat.com>
28223 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
28224 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
28225 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
28226 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
28227 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
28228 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
28230 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
28232 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28234 2017-10-19 Joseph Myers <joseph@codesourcery.com>
28236 * sysdeps/mips/ieee754/bits/floatn.h: New file.
28239 * sysdeps/mips/bits/long-double.h: Move to ....
28240 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
28242 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
28244 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
28246 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
28247 H.J. Lu <hongjiu.lu@intel.com>
28250 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
28251 GLRO(dl_platform) to NULL.
28252 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
28253 (modules-names): Add tst-platformmod-1 and
28254 x86_64/tst-platformmod-2.
28255 (CFLAGS-tst-platform-1.c): New.
28256 (CFLAGS-tst-platformmod-1.c): Likewise.
28257 (CFLAGS-tst-platformmod-2.c): Likewise.
28258 (LDFLAGS-tst-platformmod-2.so): Likewise.
28259 ($(objpfx)tst-platform-1): Likewise.
28260 ($(objpfx)tst-platform-1.out): Likewise.
28261 (tst-platform-1-ENV): Likewise.
28262 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
28263 * sysdeps/x86_64/tst-platform-1.c: New file.
28264 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
28265 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
28267 2017-10-19 Mike FABIAN <mfabian@redhat.com>
28270 * locale/iso-639.def: Add Karbi.
28271 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
28272 * localedata/locales/mjw_IN: New file.
28274 2017-10-18 Joseph Myers <joseph@codesourcery.com>
28276 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
28277 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
28278 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
28279 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
28280 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
28281 (libm_alias_ldouble_other_r): Also create _Float128 alias.
28282 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
28284 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
28285 (libm_alias_ldouble_other_r): Also create _Float128 alias.
28286 * manual/math.texi (Mathematics): Document additional architecture
28287 support for _Float128.
28288 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
28289 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
28290 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
28291 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28292 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28293 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
28294 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
28295 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
28296 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28297 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
28298 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28299 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
28300 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28301 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
28302 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28304 2017-10-18 Renlin Li <renlin.li@arm.com>
28306 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
28307 _DYNAMIC symbol to calculate load address.
28309 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
28311 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
28312 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
28314 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
28315 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
28317 2017-10-18 Mike FABIAN <mfabian@redhat.com>
28320 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
28321 and improve readability by using more ASCII.
28322 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
28323 and improve readability by using more ASCII.
28325 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
28327 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
28328 not all targets support atomics on bool.
28330 2017-10-17 Joseph Myers <joseph@codesourcery.com>
28332 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
28333 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
28335 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
28336 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
28337 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
28338 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
28339 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
28340 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
28342 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28344 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
28347 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
28350 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
28351 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
28352 (do_check_remalloced_chunk): Fix build bug.
28353 (do_check_malloc_state): Add assert that checks arena->top.
28354 (malloc_consolidate): Remove initialization.
28355 (int_mallinfo): Remove call to malloc_consolidate.
28356 (__libc_mallopt): Clarify why malloc_consolidate is needed.
28358 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
28360 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
28361 (have_fastchunks): Remove.
28362 (clear_fastchunks): Remove.
28363 (set_fastchunks): Remove.
28364 (malloc_state): Add have_fastchunks.
28365 (malloc_init_state): Use have_fastchunks.
28366 (do_check_malloc_state): Remove incorrect invariant checks.
28367 (_int_malloc): Use have_fastchunks.
28368 (_int_free): Likewise.
28369 (malloc_consolidate): Likewise.
28371 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
28373 * malloc/malloc.c (tcache_put): Inline.
28374 (tcache_get): Inline.
28376 2017-10-17 Jordi Mallach <jordi@gnu.org>
28378 Aurelien Jarno <aurelien@aurel32.net>
28380 * localedata/locales/ca_ES@valencia: New file.
28381 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
28383 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
28386 * math/math.h: Let signbit use the builtin in C++ mode with gcc
28389 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28391 * scripts/build-many-glibcs.py (Context.add_all_configs):
28392 Add arm-linux-gnueabihf multiarch extra_glibcs.
28394 * sysdeps/generic/ifunc-init.h: New file.
28395 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
28397 2017-10-17 Mike FABIAN <mfabian@redhat.com>
28400 * localedata/locales/el_GR: Set n_cs_precedes to 0.
28401 * localedata/locales/el_CY: copy "el_GR" because it is identical.
28402 * stdlib/tst-strfmon_l.c: adapt test case.
28404 2017-10-16 Joseph Myers <joseph@codesourcery.com>
28406 * sysdeps/generic/float128-abi.h: New file.
28407 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
28408 non-__prefixed symbols to ....
28409 * math/Versions: ... here. Include <float128-abi.h>.
28410 * stdlib/Versions ... and here. Include <float128-abi.h>
28412 2017-10-16 Florian Weimer <fweimer@redhat.com>
28414 * version.h (VERSION): Switch to ".9000" as the development
28417 2017-10-16 Florian Weimer <fweimer@redhat.com>
28420 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
28421 compat_symbol_reference to access non-default version.
28423 2017-10-16 Florian Weimer <fweimer@redhat.com>
28425 * malloc/Makefile (others-extras): Set to mcheck-init.o.
28427 2017-10-16 Carlos O'Donell <carlos@redhat.com>
28429 * include/shlib-compat.h (compat_symbol_reference): Update
28432 2017-10-16 Joseph Myers <joseph@codesourcery.com>
28434 * math/Makefile (test-types): Add
28435 $(type-float128-$(float128-alias-fcts)).
28436 * math/test-float128.h (TYPE_STR): Define conditional on
28437 [FLT128_MANT_DIG == LDBL_MANT_DIG].
28438 (ULP_IDX): Likewise.
28439 (ULP_I_IDX): Likewise.
28441 * stdlib/strtold.c: Include <bits/floatn.h>
28442 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
28443 and later undefine as macro. Define as weak alias if
28445 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
28446 and later undefine as macro. Define as weak alias if
28448 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
28449 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
28450 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
28451 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
28452 Define and later undefine as macro. Define as weak alias if
28454 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
28456 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
28457 Define and later undefine as macro. Define as weak alias if
28459 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
28460 Define and later undefine as macro. Define as weak alias if
28463 2017-10-15 Carlos O'Donell <carlos@redhat.com>
28465 * localedata/collate-test.c (allocate_arrays): Don't use \n in
28466 record_verbose messages.
28468 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
28471 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
28472 to silence -O3 -Wall warning with GCC 7.
28474 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
28476 * Makeconfig (+link-static-before-libc): Use the first of
28477 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
28478 * gmon/Makefile (tests): Add tst-gmon-static.
28479 (tests-static): Likewise.
28480 (CFLAGS-tst-gmon-static.c): New.
28481 (CRT-tst-gmon-static): Likewise.
28482 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
28483 (tst-gmon-static-ENV): Likewise.
28484 (tests-special): Likewise.
28485 ($(objpfx)tst-gmon-static.out): Likewise.
28486 (clean-tst-gmon-static-data): Likewise.
28487 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
28488 * gmon/tst-gmon-static-gprof.sh: New file.
28489 * gmon/tst-gmon-static.c: Likewise.
28491 2017-10-13 Carlos O'Donell <carlos@redhat.com>
28494 * locale/programs/linereader.c (get_string): Don't warn on
28495 non-symbolic character.
28498 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
28502 * locale/programs/record-status.h: New file
28503 * locale/programs/locale.c: Add comment.
28504 * locale/programs/charmap-dir.c: Don't include error.h.
28505 (charmap_opendir): Use record_error.
28506 * locale/programs/charmap.c: Don't include error.h.
28507 (charmap_read): Use record_error, and record_warning.
28508 (parse_charmap): Likewise.
28509 * locale/programs/ld-address.c: Don't include error.h.
28510 (address_finish): Use record_error, and record_warning.
28511 * locale/programs/ld-collate.c: Don't include error.h.
28512 (collate_finish): Use record_error, and record_error_at_line.
28513 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
28514 (ctype_class_new): Likewise.
28515 (ctype_map_new): Likewise.
28516 (set_one_default): Likewise.
28517 (set_class_defaults): Likewise.
28518 (translit_flatten): Likewise.
28519 (allocate_arrays): Use record_error, and record_verbose.
28520 * locale/programs/ld-identification.c: Don't include error.h.
28521 (indentation_finish): Use record_error and record_warning.
28522 * locale/programs/ld-measurement.c: Don't include error.h.
28523 (measurement_finish): Use record_error.
28524 * locale/programs/ld-messages.c
28525 (message_finish): Likewise.
28526 * locale/programs/ld-monetary.c
28527 (monetary_finish): Likewise.
28528 * locale/programs/ld-name.c (name_finish): Use record_error
28529 and record_warning.
28530 * locale/programs/ld-numeric.c
28531 (numeric_finish): Use record_error.
28532 * locale/programs/ld-paper.c: Don't include error.h.
28533 (paper_finish): Use record_error.
28534 * locale/programs/ld-telephone.c: Don't include error.h.
28535 (telephone_finish): Use record_error.
28536 * locale/programs/ld-time.c (time_finish): Likewise.
28537 * locale/programs/linereader.h (lr_error): Make inline func.
28538 * locale/programs/localedef.c: Define recorded_warning_count,
28539 and recorded_error_count.
28540 (main): Use record_error. Use recorded_error_count and
28541 recorded_warning_count to issue correct error returns.
28542 (add_to_readlist): Use record_error.
28543 (find_locale): Likewise.
28544 (load_locale): Likewise.
28545 * locale/programs/localedef.h: Remove be_quiet
28546 and WITH_CUR_LOCALE.
28547 * locale/programs/locarchive.c (compare_from_file): Use
28549 * locale/programs/locfile.c (write_locale_data): Use
28551 * locale/programs/repertoire.c: Dont include error.h.
28552 (repertoire_complain): Use record_error.
28553 * localedata/tst-fmon.sh: Expect failures from localedef.
28554 * localedata/tst-locale.sh: Likewise.
28555 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
28557 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
28558 (REPORTS): Likewise.
28560 (i18n): Rename to...
28561 (i18n_ctype): ...this.
28562 (i18n-report): Rename to...
28563 (i18n_ctype-report): ...this.
28564 * localedata/locales/i18n_ctype: Regenerate.
28565 * localedata/locales/i18n: copy i18n_ctype.
28567 2017-10-13 Joseph Myers <joseph@codesourcery.com>
28569 * stdlib/strfroml.c: Include <bits/floatn.h>.
28570 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
28571 Define before include of <stdlib.h> and undefine afterwards, then
28572 define as weak alias.
28574 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
28575 Undefine and restore default definition. Use
28576 libm_alias_ldouble_other.
28578 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
28581 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
28584 2017-10-13 James Clarke <jrtc27@jrtc27.com>
28586 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28587 Assign sym_map to be map for local symbols, as TLS relocations
28588 use sym_map to determine whether the symbol is defined and to
28589 extract the TLS information.
28590 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28591 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28593 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28596 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
28597 (math_force_eval): Add powerpc version.
28600 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
28602 (do_test): Likewise.
28603 * stdio-common/tst-printf.sh: Likewise.
28604 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
28605 ifdef clause in order to set the carry bit right. Replace r0 by
28606 0 without changing the behavior.
28608 2017-10-13 Joseph Myers <joseph@codesourcery.com>
28610 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
28611 <libm-alias-ldouble.h>.
28612 (fabsl): Define using libm_alias_ldouble.
28613 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
28614 <libm-alias-ldouble.h>.
28615 (fabsl): Define using libm_alias_ldouble.
28617 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
28618 Remove conditional code.
28620 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
28621 Rename to __clog10_internal_l.
28622 (__clog10_internal_l): Define aliases using
28623 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
28626 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28628 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
28629 * benchtests/sincosf-inputs: New file.
28630 * benchtests/cosf-inputs: New file.
28631 * benchtests/sinf-inputs: New file.
28633 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
28635 * posix/tst-spawn.c (do_test): Wait for both children.
28637 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
28640 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
28641 tests-pie): Add tst-gmon-pie.
28642 (CFLAGS-tst-gmon-pie.c): New.
28643 (CRT-tst-gmon-pie): Likewise.
28644 (tst-gmon-pie-ENV): Likewise.
28645 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
28646 ($(objpfx)tst-gmon-pie.out): Likewise.
28647 (clean-tst-gmon-pie-data): Likewise.
28648 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
28649 * gmon/gmon.c [PIC]: Include <link.h>.
28650 [PIC] (callback): New function.
28651 (write_hist): Add an argument for load address. Subtract load
28653 (write_call_graph): Likewise.
28654 (write_gmon): Call __dl_iterate_phdr to get load address, pass
28655 it to write_hist and write_call_graph.
28656 * gmon/tst-gmon-pie.c: New file.
28658 2017-10-11 Joseph Myers <joseph@codesourcery.com>
28660 * math/Makefile (test-types-basic): New variable.
28661 (test-types): Likewise.
28662 (libm-test-support): Use $(test-types) instead of $(types).
28663 (libm-tests-base-normal): Likewise.
28664 (libm-tests-base-finite): Likewise.
28665 (libm-tests-base-inline): Likewise.
28666 (generated): Likewise.
28667 ($(objpfx)libm-test-support-$(t).c): Likewise.
28668 (libm-tests-for-type iterator): Likewise.
28669 (libm-test-support iterator): Likewise.
28670 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
28671 (ulp_idx): Use ULP_IDX.
28672 * math/test-ldouble.h: Include <float.h>.
28673 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
28674 (ULP_IDX): New macro.
28675 (ULP_I_IDX): Likewise.
28676 * math/test-double.h (ULP_IDX): Likewise.
28677 (ULP_I_IDX): Likewise.
28678 * math/test-float.h (ULP_IDX): Likewise.
28679 (ULP_I_IDX): Likewise.
28680 * math/test-float128.h (ULP_IDX): Likewise.
28681 (ULP_I_IDX): Likewise.
28683 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28685 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
28686 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28687 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28688 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
28689 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28690 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
28691 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
28692 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28693 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28694 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28695 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
28696 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28697 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28698 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28699 (SINGLE_THREAD_BY_GLOBAL): Define.
28700 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28702 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28704 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28706 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28708 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
28709 (SINGLE_THREAD_BY_GLOBAL): Likewise.
28710 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28713 2017-10-11 Andreas Schwab <schwab@suse.de>
28715 * nis/Makefile (aux): Remove.
28716 * nscd/Makefile (aux): Add nscd_hash.
28717 (nscd-modules): Likewise.
28718 ($(objpfx)nscd): Don't depend on libnsl.
28719 * nscd/nscd_hash.c: New file.
28720 * nscd/nscd_hash.h: Likewise.
28721 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
28722 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
28723 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
28724 instead of <nis/rpcsvc/nis.h>.
28725 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
28727 2017-10-11 Florian Weimer <fweimer@redhat.com>
28730 Avoid large NSS buffers with many addresses, aliases.
28731 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
28732 using dynarrays and struct alloc_buffer.
28733 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
28734 (tst-nss-files-hosts-multi): Link with -ldl.
28735 * nss/tst-nss-files-hosts-multi.c: New file.
28737 2017-10-11 Florian Weimer <fweimer@redhat.com>
28740 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
28741 scratch_buffer. Eliminate gotos.
28743 2017-10-11 Joseph Myers <joseph@codesourcery.com>
28745 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
28746 libm_alias_ldouble_other.
28747 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
28748 undefine and redefine.
28749 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
28750 (exp10l): Do not define here.
28751 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
28752 (weak_alias): Undefine and redefine.
28753 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
28754 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
28755 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
28756 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
28758 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
28759 [!__fma] (fma): Define using libm_alias_double.
28760 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
28761 [!__fmaf] (fmaf): Define using libm_alias_float.
28762 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
28763 (fmal): Define using libm_alias_ldouble.
28765 2017-10-10 Joseph Myers <joseph@codesourcery.com>
28767 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
28769 (libm_alias_double_other): Likewise.
28770 (libm_alias_double_r): Use libm_alias_double_other_r.
28771 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
28773 (libm_alias_float_other): Likewise.
28774 (libm_alias_float_r): Use libm_alias_float_other_r.
28775 * sysdeps/generic/libm-alias-float128.h
28776 (libm_alias_float128_other_r): New macro.
28777 (libm_alias_float128_other): Likewise.
28778 (libm_alias_float128_r): Use libm_alias_float128_other_r.
28779 * sysdeps/generic/libm-alias-ldouble.h
28780 (libm_alias_ldouble_other_r): New macro.
28781 (libm_alias_ldouble_other): Likewise.
28782 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
28783 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
28784 (libm_alias_double_other_r): New macro.
28785 (libm_alias_double_other): Likewise.
28786 (libm_alias_double_r): Use libm_alias_double_other_r.
28787 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
28788 (libm_alias_ldouble_other_r): New macro.
28789 (libm_alias_ldouble_other): Likewise.
28790 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
28791 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
28792 [!USE_AS_COMPAT]: Use libm_alias_double_other.
28793 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
28794 [!USE_AS_COMPAT]: Use libm_alias_float_other.
28795 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
28796 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
28797 * math/w_exp2f.c: Use libm_alias_float_other.
28798 * math/w_expf.c: Likewise.
28799 * math/w_log2f.c: Likewise.
28800 * math/w_logf.c: Likewise.
28801 * math/w_powf.c: Likewise.
28802 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
28803 [!__exp2f]: Use libm_alias_float_other.
28804 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
28805 [!__expf]: Use libm_alias_float_other.
28806 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
28807 [!__log2f]: Use libm_alias_float_other.
28808 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
28809 [!__logf]: Use libm_alias_float_other.
28810 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
28811 [!__powf]: Use libm_alias_float_other.
28813 2017-10-10 Florian Weimer <fweimer@redhat.com>
28815 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
28817 (_nss_files_gethostbyname3_r): Call it.
28819 2017-10-09 Joseph Myers <joseph@codesourcery.com>
28821 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
28822 error. Remove default definition of declare_mgen_alias.
28823 [!declare_mgen_alias_r]: Likewise.
28824 * sysdeps/generic/math-type-macros-double.h
28825 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
28826 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
28827 (declare_mgen_alias_r): Likewise.
28828 * sysdeps/generic/math-type-macros-float128.h
28829 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
28830 * sysdeps/generic/math-type-macros-ldouble.h
28831 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
28832 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
28834 (declare_mgen_alias_r_s): Likewise.
28835 (declare_mgen_alias_r): Likewise.
28836 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
28837 (lgamma_r): Define using libm_alias_double_r.
28838 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
28839 (lgammaf_r): Define using libm_alias_float_r.
28840 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
28841 (lgammal_r): Define using libm_alias_ldouble_r.
28842 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
28843 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
28845 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28847 * lib/glob.c (__glob_pattern_type): Remove now-spurious
28848 extern declaration.
28850 2017-10-09 Joseph Myers <joseph@codesourcery.com>
28852 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
28854 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
28857 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
28858 [__cplusplus >= 201103] (__USE_ISOC99): Define.
28859 * math/Makefile (test-math-cxx11): New test.
28860 * math/test-math-cxx11.cc: New file.
28862 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
28864 * login/openpty.c (openpty): Close slave pty file descriptor on error.
28866 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
28867 call to allocate the slave pty file descriptor.
28869 2017-10-06 Joseph Myers <joseph@codesourcery.com>
28871 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
28872 [!__fma] (fma): Define using libm_alias_double.
28873 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
28874 [!__fma] (fma): Define using libm_alias_double.
28876 * sysdeps/ieee754/float128/float128_private.h: Include
28877 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
28878 (libm_alias_ldouble_r): Undefine and redefine.
28879 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
28880 <libm-alias-ldouble.h>.
28881 (asinhl): Define using libm_alias_ldouble.
28882 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
28883 <libm-alias-ldouble.h>.
28884 (atanl): Define using libm_alias_ldouble.
28885 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
28886 <libm-alias-ldouble.h>.
28887 (cbrtl): Define using libm_alias_ldouble.
28888 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
28889 <libm-alias-ldouble.h>.
28890 (ceill): Define using libm_alias_ldouble.
28891 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
28892 <libm-alias-ldouble.h>.
28893 (copysignl): Define using libm_alias_ldouble.
28894 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
28895 <libm-alias-ldouble.h>.
28896 (cosl): Define using libm_alias_ldouble.
28897 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
28898 <libm-alias-ldouble.h>.
28899 (erfl): Define using libm_alias_ldouble.
28901 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
28902 <libm-alias-ldouble.h>.
28903 (expm1l): Define using libm_alias_ldouble.
28904 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
28905 <libm-alias-ldouble.h>.
28906 (fabsl): Define using libm_alias_ldouble.
28907 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
28908 <libm-alias-ldouble.h>.
28909 (floorl): Define using libm_alias_ldouble.
28910 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
28911 <libm-alias-ldouble.h>.
28912 (fmal): Define using libm_alias_ldouble.
28913 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
28914 <libm-alias-ldouble.h>.
28915 (frexpl): Define using libm_alias_ldouble.
28916 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
28917 libm_alias_ldouble.
28918 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
28919 <libm-alias-ldouble.h>.
28920 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
28921 libm_alias_ldouble.
28922 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
28923 <libm-alias-ldouble.h>.
28924 (getpayloadl): Define using libm_alias_ldouble.
28925 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
28926 <libm-alias-ldouble.h>.
28927 (llrintl): Define using libm_alias_ldouble.
28928 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
28929 <libm-alias-ldouble.h>.
28930 (llroundl): Define using libm_alias_ldouble.
28931 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
28932 <libm-alias-ldouble.h>.
28933 (logbl): Define using libm_alias_ldouble.
28934 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
28935 <libm-alias-ldouble.h>.
28936 (lrintl): Define using libm_alias_ldouble.
28937 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
28938 <libm-alias-ldouble.h>.
28939 (lroundl): Define using libm_alias_ldouble.
28940 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
28941 <libm-alias-ldouble.h>.
28942 (modfl): Define using libm_alias_ldouble.
28943 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
28944 <libm-alias-ldouble.h>.
28945 (nearbyintl): Define using libm_alias_ldouble.
28946 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
28947 <libm-alias-ldouble.h>.
28948 (nextafterl): Define using libm_alias_ldouble.
28949 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
28950 <libm-alias-ldouble.h>.
28951 (nextupl): Define using libm_alias_ldouble.
28952 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
28953 <libm-alias-ldouble.h>.
28954 (remquol): Define using libm_alias_ldouble.
28955 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
28956 <libm-alias-ldouble.h>.
28957 (rintl): Define using libm_alias_ldouble.
28958 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
28959 <libm-alias-ldouble.h>.
28960 (roundevenl): Define using libm_alias_ldouble.
28961 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
28962 <libm-alias-ldouble.h>.
28963 (roundl): Define using libm_alias_ldouble.
28964 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
28965 using libm_alias_ldouble.
28966 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
28967 <libm-alias-ldouble.h>.
28968 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
28969 Define using libm_alias_ldouble.
28970 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
28971 <libm-alias-ldouble.h>.
28972 (sincosl): Define using libm_alias_ldouble.
28973 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
28974 <libm-alias-ldouble.h>.
28975 (sinl): Define using libm_alias_ldouble.
28976 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
28977 <libm-alias-ldouble.h>.
28978 (tanhl): Define using libm_alias_ldouble.
28979 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
28980 <libm-alias-ldouble.h>.
28981 (tanl): Define using libm_alias_ldouble.
28982 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
28983 <libm-alias-ldouble.h>.
28984 (totalorderl): Define using libm_alias_ldouble.
28985 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
28986 <libm-alias-ldouble.h>.
28987 (totalordermagl): Define using libm_alias_ldouble.
28988 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
28989 <libm-alias-ldouble.h>.
28990 (truncl): Define using libm_alias_ldouble.
28991 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
28992 libm_alias_ldouble.
28993 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
28994 libm_alias_ldouble.
28995 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
28996 <libm-alias-ldouble.h>.
28997 (weak_alias): Do not undefine and redefine.
28998 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28999 (copysignl): Define with long_double_symbol only if [IS_IN
29001 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
29002 <libm-alias-ldouble.h>.
29003 (weak_alias): Do not undefine and redefine.
29004 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
29005 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
29006 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
29007 <libm-alias-ldouble.h>.
29008 (weak_alias): Do not undefine and redefine.
29009 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
29010 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
29011 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
29012 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
29013 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
29014 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
29015 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
29016 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
29017 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
29018 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
29019 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
29020 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
29021 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
29022 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
29023 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
29024 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
29025 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
29026 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
29027 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
29028 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
29029 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
29030 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
29031 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
29032 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
29033 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
29034 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
29036 2017-10-06 Carlos O'Donell <carlos@redhat.com>
29039 * malloc/malloc.c (tcache_shutting_down): Use bool type.
29040 (tcache_thread_freeres): Set tcache_shutting_down before
29041 freeing the tcache.
29042 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
29043 * malloc/tst-malloc-tcache-leak.c: New file.
29045 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29047 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
29048 back to powerpc32 file.
29049 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
29050 (memrchr): Add __memrchr_power8 to ifunc list.
29051 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
29052 extra bytes for unaligned inputs.
29054 2017-10-06 Joseph Myers <joseph@codesourcery.com>
29056 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
29057 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
29058 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
29059 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
29060 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
29062 2017-10-05 Joseph Myers <joseph@codesourcery.com>
29064 * sysdeps/arm/libm-test-ulps: Update.
29066 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
29067 <libm-alias-ldouble.h>.
29068 (asinhl): Define using libm_alias_ldouble.
29069 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
29070 <libm-alias-ldouble.h>.
29071 (cbrtl): Define using libm_alias_ldouble.
29072 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
29073 <libm-alias-ldouble.h>.
29074 (copysignl): Define using libm_alias_ldouble.
29075 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
29076 <libm-alias-ldouble.h>.
29077 (cosl): Define using libm_alias_ldouble.
29078 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
29079 <libm-alias-ldouble.h>.
29080 (erfl): Define using libm_alias_ldouble.
29082 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
29083 <libm-alias-ldouble.h>.
29084 (fmal): Define using libm_alias_ldouble.
29085 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
29086 <libm-alias-ldouble.h>.
29087 (frexpl): Define using libm_alias_ldouble.
29088 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
29089 libm_alias_ldouble.
29090 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
29091 <libm-alias-ldouble.h>.
29092 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
29093 libm_alias_ldouble.
29094 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
29095 <libm-alias-ldouble.h>.
29096 (getpayloadl): Define using libm_alias_ldouble.
29097 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
29098 <libm-alias-ldouble.h>.
29099 (llrintl): Define using libm_alias_ldouble.
29100 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
29101 <libm-alias-ldouble.h>.
29102 (llroundl): Define using libm_alias_ldouble.
29103 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
29104 <libm-alias-ldouble.h>.
29105 (lrintl): Define using libm_alias_ldouble.
29106 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
29107 <libm-alias-ldouble.h>.
29108 (lroundl): Define using libm_alias_ldouble.
29109 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
29110 <libm-alias-ldouble.h>.
29111 (modfl): Define using libm_alias_ldouble.
29112 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
29113 <libm-alias-ldouble.h>.
29114 (nextupl): Define using libm_alias_ldouble.
29115 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
29116 <libm-alias-ldouble.h>.
29117 (remquol): Define using libm_alias_ldouble.
29118 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
29119 <libm-alias-ldouble.h>.
29120 (roundevenl): Define using libm_alias_ldouble.
29121 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
29122 <libm-alias-ldouble.h>.
29123 (roundl): Define using libm_alias_ldouble.
29124 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
29125 using libm_alias_ldouble.
29126 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
29127 <libm-alias-ldouble.h>.
29128 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
29129 <libm-alias-ldouble.h>.
29130 (setpayloadsigl): Define using libm_alias_ldouble.
29131 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
29132 <libm-alias-ldouble.h>.
29133 (sincosl): Define using libm_alias_ldouble.
29134 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
29135 <libm-alias-ldouble.h>.
29136 (sinl): Define using libm_alias_ldouble.
29137 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
29138 <libm-alias-ldouble.h>.
29139 (tanhl): Define using libm_alias_ldouble.
29140 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
29141 <libm-alias-ldouble.h>.
29142 (tanl): Define using libm_alias_ldouble.
29143 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
29144 <libm-alias-ldouble.h>.
29145 (totalorderl): Define using libm_alias_ldouble.
29146 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
29147 <libm-alias-ldouble.h>.
29148 (totalordermagl): Define using libm_alias_ldouble.
29149 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
29150 libm_alias_ldouble.
29151 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
29152 libm_alias_ldouble.
29154 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
29156 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
29158 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
29159 (__libc_ifunc_impl_list): Likewise.
29160 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
29161 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
29163 * benchtests/bench-memmove-walk.c: New file.
29164 * benchtests/Makefile (string-benchset): Add it.
29166 * benchtests/bench-memset-walk.c: New file.
29167 * benchtests/Makefile (string-benchset): Add it.
29169 * benchtests/bench-memcpy-walk.c: New file.
29170 * benchtests/Makefile (string-benchset): Add it.
29172 2017-10-05 Florian Weimer <fweimer@redhat.com>
29174 nscd: Eliminate compilation time dependency in the build output.
29175 * nscd/nscd_stat.c (STATDATA_VERSION)
29176 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
29177 (STATDATA_VERSION_FULL): New macro definitions.
29178 (compilation): Remove.
29179 (struct statdata): Adjust version member.
29180 (send_stats): Set version from STATDATA_VERSION_FULL.
29181 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
29183 2017-10-05 Joseph Myers <joseph@codesourcery.com>
29185 * configure.ac (--enable-add-ons): Remove option.
29186 (machine): Do not mention add-ons in comment.
29187 (LIBC_PRECONFIGURE): Likewise.
29188 (add_ons): Remove variable and sanity checks and logic to locate
29190 (add_ons_automatic): Remove variable.
29191 (configured_add_ons): Likewise.
29192 (add_ons_sfx): Likewise.
29193 (add_ons_pfx): Likewise.
29194 (add_on_subdirs): Likewise.
29195 (sysnames_add_ons): Likewise. Remove loop over add-ons and
29196 consideration of add-ons in Implies handling.
29197 (sysdeps_add_ons): Likewise.
29198 * configure: Regenerated.
29199 * libidn/configure.ac: Remove.
29200 * libidn/configure: Likewise.
29201 * sysdeps/unix/inet/configure.ac: New file.
29202 * sysdeps/unix/inet/configure: New generated file.
29203 * sysdeps/unix/inet/Subdirs: Add libidn.
29204 * Makeconfig (sysdeps-srcdirs): Remove variable.
29205 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
29206 ($(common-objpfx)config.status): Do not depend on add-on files.
29207 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
29209 (all-subdirs): Do not include $(add-on-subdirs).
29210 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
29211 * config.make.in (add-ons): Remove variable.
29212 (add-on-subdirs): Likewise.
29213 (sysdeps-add-ons): Likewise.
29214 * manual/Makefile (add-chapters): Remove.
29215 ($(objpfx)texis): Do not depend on $(add-chapters).
29216 (nonexamples): Do not handle $(add-chapters).
29217 (examples): Do not handle $(add-ons).
29218 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
29220 * manual/install.texi (Installation): Do not mention add-ons.
29221 (--enable-add-ons): Do not document configure option.
29222 * INSTALL: Regenerated.
29223 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
29224 * manual/maint.texi (Hierarchy Conventions): Do not mention
29226 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
29228 * scripts/gen-sorted.awk: Do not handle Subdirs files from
29230 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
29231 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
29233 2017-10-05 Andreas Schwab <schwab@suse.de>
29236 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
29237 (_IO_flush_all_lockp): Always lock list_all_lock.
29238 (_IO_flush_all_linebuffered): Likewise.
29239 (_IO_unbuffer_all): Likewise.
29241 2017-10-05 Florian Weimer <fweimer@redhat.com>
29244 Do not flush stdio streams on abort.
29245 * stdlib/abort.c (fflush): Remove macro definition.
29246 (abort): Remove stages related to stdio flushing.
29248 2017-10-05 Florian Weimer <fweimer@redhat.com>
29250 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
29252 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
29254 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
29256 2017-10-05 Florian Weimer <fweimer@redhat.com>
29258 * support/support_format_hostent.c (support_format_hostent): Add
29259 more error information for NETDB_INTERNAL.
29261 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29263 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
29264 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
29265 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
29266 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
29267 AC_DEFINE if multi-arch is enabled.
29268 * sysdeps/i386/configure: Regenerated.
29270 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29272 * Makeconfig (+link-static-before-libc): Use
29273 $(DEFAULT-LDFLAGS-$(@F)).
29274 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
29275 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
29276 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
29278 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29280 * elf/Makefile (tests): Add tst-main1.
29281 (modules-names): Add tst-main1mod.
29282 ($(objpfx)tst-main1): New.
29283 (CRT-tst-main1): Likewise.
29284 (LDFLAGS-tst-main1): Likewise.
29285 (LDLIBS-tst-main1): Likewise.
29286 (tst-main1mod.so-no-z-defs): Likewise.
29287 * elf/tst-main1.c: New file.
29288 * elf/tst-main1mod.c: Likewise.
29290 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29292 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
29294 2017-10-04 Joseph Myers <joseph@codesourcery.com>
29296 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
29297 (fma): Define using libm_alias_double.
29298 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
29299 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
29301 (fmal): Do not define as compat symbol here.
29302 * sysdeps/alpha/fpu/s_fma.c: New file.
29304 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
29306 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
29308 2017-10-04 Joseph Myers <joseph@codesourcery.com>
29311 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
29313 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
29315 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
29316 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
29317 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
29318 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
29319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
29320 Include <math_ldbl_opt.h>
29321 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
29323 (compat_symbol): Undefine and redefine.
29324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
29326 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
29327 (compat_symbol): Undefine and redefine.
29328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
29329 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
29330 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
29331 GLIBC_2_1 for libm.
29332 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
29333 GLIBC_2.0 copysignl symbol.
29334 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
29335 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
29337 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
29339 2017-10-04 Florian Weimer <fweimer@redhat.com>
29341 * scripts/check-local-headers.sh: Ignore nspr4 header file
29342 directory in addition to nspr.
29344 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
29347 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
29348 * configure: Regenerate.
29349 * crypt/Makefile (nss-cpp-flags): New variable.
29350 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
29351 (CPPFLAGS-md5-crypt.c): Use it.
29352 * scripts/check-local-headers.sh: Ignore nspr header file
29355 2017-10-04 Andreas Schwab <schwab@suse.de>
29357 * nis/Makefile (services): Remove compat.
29358 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
29359 ($(objpfx)libnss_compat.so): Remove rule.
29360 * nis/Versions (libnss_compat): Remove.
29361 * nss/Makefile (services): Add compat.
29362 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
29363 * nss/Versions (libnss_compat): Define.
29364 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
29365 Don't include <rpc/types.h>. Replace bool_t by bool.
29366 * nss/nss_compat/compat-initgroups.c: Likewise.
29367 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
29368 instead of <rpcsrv/ypclnt.h>.
29369 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
29370 yp_get_default_domain.
29371 * nss/nss_compat/compat-pwd.c: Likewise.
29372 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
29373 yp_get_default_domain.
29374 * nss/nss_compat/nisdomain.c: New file.
29375 * nss/nss_compat/nisdomain.h: Likewise.
29377 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
29380 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
29381 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29383 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
29386 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
29387 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
29389 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29391 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
29392 "movl main@GOTOFF(%ebx), %eax".
29394 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29396 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
29397 allow undefined _DYNAMIC in PIE libc.a.
29398 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
29401 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29403 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
29406 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29408 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
29411 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29413 * math/test-math-iscanonical.cc (error): Replace bool with int.
29415 2017-10-03 Joseph Myers <joseph@codesourcery.com>
29417 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
29418 (modf): Define using libm_alias_double, only if [!__modf].
29419 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
29420 <libm-alias-double.h>.
29421 (modf): Define using libm_alias_double, only if [!__modf].
29422 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
29423 compat symbol here.
29424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
29425 (weak_alias): Do not undefine and redefine.
29426 (strong_alias): Likewise.
29427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
29428 (weak_alias): Likewise.
29429 (strong_alias): Likewise.
29431 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
29432 (logb): Define using libm_alias_double, only if [!__logb].
29433 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
29434 <libm-alias-double.h>.
29435 (logb): Define using libm_alias_double, only if [!__logb].
29436 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
29437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
29438 (weak_alias): Do not undefine and redefine.
29439 (strong_alias): Likewise.
29440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
29441 (weak_alias): Likewise.
29442 (strong_alias): Likewise.
29444 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29446 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
29447 Check SHARED instead PIC.
29449 2017-10-03 Joseph Myers <joseph@codesourcery.com>
29451 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
29452 [!__fmaf] (fmaf): Define using libm_alias_float.
29454 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
29455 (frexp): Define using libm_alias_double.
29456 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
29457 <libm-alias-double.h>.
29458 (frexp): Define using libm_alias_double.
29459 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
29460 compat symbol here.
29462 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29465 * math/math.h: Trivial fix for unbalanced parentheses in comment.
29466 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
29467 (CFLAGS-test-math-iscanonical.cc): New variable.
29468 * math/test-math-iscanonical.cc: New file.
29469 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
29470 Provide a C++ implementation based on function overloading,
29471 rather than using __MATH_TG, which uses C-only builtins.
29472 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
29474 * sysdeps/powerpc/powerpc64le/Makefile
29475 (CFLAGS-test-math-iscanonical.cc): New variable.
29477 2017-10-03 Joseph Myers <joseph@codesourcery.com>
29479 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
29480 (ceil): Define using libm_alias_double.
29481 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
29482 (floor): Define using libm_alias_double.
29483 * sysdeps/ieee754/dbl-64/s_llround.c: Include
29484 <libm-alias-double.h>.
29485 (llround): Define using libm_alias_double.
29486 * sysdeps/ieee754/dbl-64/s_lround.c: Include
29487 <libm-alias-double.h>.
29488 (lround): Define using libm_alias_double.
29489 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
29490 <libm-alias-double.h>.
29491 (nearbyint): Define using libm_alias_double.
29492 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
29493 <libm-alias-double.h>.
29494 (remquo): Define using libm_alias_double.
29495 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
29496 (rint): Define using libm_alias_double.
29497 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
29498 (round): Define using libm_alias_double.
29499 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
29500 (trunc): Define using libm_alias_double.
29501 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
29502 <libm-alias-double.h>.
29503 (ceil): Define using libm_alias_double.
29504 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
29505 <libm-alias-double.h>.
29506 (floor): Define using libm_alias_double.
29507 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
29508 <libm-alias-double.h>.
29509 (llround): Define using libm_alias_double.
29510 [_LP64] (lround): Likewise.
29511 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
29512 <libm-alias-double.h>.
29513 [!_LP64] (lround): Define using libm_alias_double.
29514 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
29515 <libm-alias-double.h>.
29516 (nearbyint): Define using libm_alias_double.
29517 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
29518 <libm-alias-double.h>.
29519 (remquo): Define using libm_alias_double.
29520 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
29521 <libm-alias-double.h>.
29522 (rint): Define using libm_alias_double.
29523 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
29524 <libm-alias-double.h>.
29525 (round): Define using libm_alias_double.
29526 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
29527 <libm-alias-double.h>.
29528 (trunc): Define using libm_alias_double.
29529 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
29530 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
29531 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
29532 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
29533 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
29534 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
29535 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
29536 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
29537 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
29539 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29541 * math/w_remainder.c: New file.
29542 * math/w_remainderf.c: New file.
29543 * math/w_remainderl.c: New file.
29545 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29547 * elf/rtld.c (BOOTSTRAP_MAP): New.
29548 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
29549 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
29551 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
29553 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
29556 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
29558 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
29559 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
29560 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
29561 rtld_hidden_data_ver): Define to empty.
29562 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
29563 __assert_perror_fail): Likewise.
29564 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29565 (__rewinddir): Likewise.
29566 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29567 (__profile_frequency): Likewise.
29568 * include/setjmp.h (__sigsetjmp): Likewise.
29569 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
29570 __libc_sigaction): Likewise.
29571 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
29572 not set hidden attribute.
29573 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
29574 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
29575 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
29576 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
29577 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
29578 __fxstatat64): Likewise.
29579 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29580 (__uname): Likewise.
29581 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29582 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
29583 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
29584 (NO_RTLD_HIDDEN): Set.
29585 * sysdeps/mach/hurd/configure: Refresh.
29586 * config.h.in: Refresh.
29588 2017-10-02 Joseph Myers <joseph@codesourcery.com>
29590 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
29591 (atan): Define using libm_alias_double.
29592 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
29593 (tan): Define using libm_alias_double.
29594 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
29595 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
29597 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
29598 define as weak alias of __atan. Do not define any aliases if
29600 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
29601 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
29602 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
29603 as weak alias of __tan. Do not define any aliases if [__tan].
29604 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
29605 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
29606 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
29608 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
29609 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
29610 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
29611 and define as weak alias of __atan.
29612 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
29614 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
29615 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
29616 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
29617 define as weak alias of __tan.
29619 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29621 * math/w_lgamma.c: New file.
29622 * math/w_lgammaf.c: New file.
29623 * math/w_lgammal.c: New file.
29625 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29627 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
29628 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
29629 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
29630 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
29631 * sysdeps/ieee754/flt-32/w_logf.c: New file.
29632 * sysdeps/ieee754/flt-32/w_powf.c: New file.
29633 * sysdeps/i386/fpu/w_log2f.c: New file.
29634 * sysdeps/i386/fpu/w_logf.c: New file.
29635 * sysdeps/i386/fpu/w_powf.c: New file.
29636 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
29637 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
29638 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
29640 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29641 H.J. Lu <hongjiu.lu@intel.com>
29643 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
29644 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
29645 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
29646 * sysdeps/ieee754/flt-32/w_expf.c: New file.
29647 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
29649 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
29650 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
29651 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
29652 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
29653 * sysdeps/i386/fpu/w_exp2f.c: New file.
29654 * sysdeps/i386/fpu/w_expf.c: New file.
29655 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
29656 * sysdeps/x86_64/fpu/w_expf.c: New file.
29658 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29660 * math/Versions (logf): New libm symbol at GLIBC_2.27.
29663 * math/w_log2f.c: New file.
29664 * math/w_logf.c: New file.
29665 * math/w_powf.c: New file.
29666 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
29667 * math/w_logf_compat.c (__logf_compat): Likewise.
29668 * math/w_powf_compat.c (__powf_compat): Likewise.
29669 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
29670 * sysdeps/ia64/fpu/e_logf.S: Likewise.
29671 * sysdeps/ia64/fpu/e_powf.S: Likewise.
29672 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
29673 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29674 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
29675 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
29676 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
29677 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
29678 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
29679 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
29680 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
29681 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
29682 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29683 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
29684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
29686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
29690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
29692 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29693 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29694 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
29695 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29696 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29697 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
29699 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
29701 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
29702 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
29703 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
29705 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29707 * sysdeps/powerpc/powerpc64/multiarch/Makefile
29708 (sysdep_routines): Add memrchr_power8.
29709 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29710 (memrchr): Add __memrchr_power8 to list of memrchr functions.
29711 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
29713 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
29714 (memrchr): Add __memrchr_power8 to ifunc list.
29715 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
29717 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29720 * sysdeps/unix/sysv/linux/posix_fadvise64.c
29721 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
29723 * sysdeps/unix/sysv/linux/posix_fallocate64.c
29724 (__posix_fallocate64_l64): Likewise.
29726 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29729 * sysdeps/unix/sysv/linux/sched_setaffinity.c
29730 (__sched_setaffinity_new): Add libc_hidden_proto and
29733 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29736 * include/glob.h (__glob64): Add libc_hidden_proto.
29737 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
29740 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29743 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
29746 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29749 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
29751 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29754 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
29757 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29760 * csu/version.c (__libc_print_version): Add attribute_hidden.
29762 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29765 * include/libc-internal.h (__init_misc): Add attribute_hidden.
29767 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29770 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
29772 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29775 * nscd/nscd_helper.c (__nis_hash): New prototype.
29777 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29780 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
29781 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
29783 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
29784 * termios/tcgetattr.c (__tcgetattr): Likewise.
29786 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29789 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
29790 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
29791 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
29792 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
29793 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
29795 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29798 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
29800 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29803 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
29804 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
29806 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29809 * intl/hash-string.h (__hash_string): Add attribute_hidden.
29811 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29814 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
29815 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
29817 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29820 * include/ifreq.h: New file.
29821 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
29822 (__ifreq): Likewise.
29823 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
29824 (__ifreq): Likewise.
29826 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29829 * include/idna.h: New file.
29830 * inet/getnameinfo.c: Include <idna.h> instead of
29832 (__idna_to_unicode_lzlz): Removed.
29833 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
29835 (__idna_to_ascii_lz): Removed.
29836 (__idna_to_unicode_lzlz): Likewise.
29838 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29841 * include/plural-exp.h: New file.
29842 * intl/plural-exp.c: Include <plural-exp.h> instead of
29845 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29848 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
29849 "getsourcefilter.h".
29850 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
29851 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
29852 "getsourcefilter.h".
29853 (__get_sol): Removed.
29855 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29858 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
29860 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
29862 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29865 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
29868 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29871 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
29873 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29876 * include/search.h (__tdestroy): Add libc_hidden_proto.
29877 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
29879 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29882 * include/assert.h (__assert_fail_base): Add attribute_hidden.
29884 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29887 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
29890 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29893 * include/signal.h (__kill): Add libc_hidden_proto.
29894 (__sigblock): Likewise.
29895 (__sigprocmask): Likewise.
29896 (__sigaltstack): Likewise.
29897 * signal/kill.c (__kill): Add libc_hidden_def.
29898 * signal/sigblock.c (__sigblock): Likewise.
29899 * signal/sigprocmask.c (__sigprocmask): Likewise.
29900 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
29901 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
29902 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
29903 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
29904 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
29906 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
29908 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
29909 (__sigprocmask): Likewise.
29910 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
29912 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
29913 (__sigprocmask): Likewise.
29914 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
29917 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29920 * include/string.h (__strsep): Add libc_hidden_proto.
29921 * string/strsep.c (__strsep): Add libc_hidden_def.
29923 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29926 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
29928 (__spawni): Likewise.
29930 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29933 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
29934 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
29937 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29940 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
29942 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29945 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
29946 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
29947 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
29948 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
29949 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
29951 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
29952 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
29954 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29957 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
29958 (__dcigettext): Likewise.
29960 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29963 * include/sys/sysinfo.h (__get_nprocs_conf): Add
29965 (__get_nprocs): Likewise.
29966 (__get_phys_pages): Likewise.
29967 (__get_avphys_pages): Likewise.
29968 (__get_child_max): Add attribute_hidden.
29969 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
29970 (__get_nprocs): Likewise.
29971 (__get_phys_pages): Likewise.
29972 (__get_avphys_pages): Likewise.
29973 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
29975 (__get_nprocs): Likewise.
29976 (__get_phys_pages): Likewise.
29977 (__get_avphys_pages): Likewise.
29978 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
29980 (__get_nprocs_conf): Likewise.
29981 (__get_phys_pages): Likewise.
29982 (__get_avphys_pages): Likewise.
29984 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29987 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
29989 (__netlink_close): Likewise.
29990 (__netlink_free_handle): Likewise.
29991 (__netlink_request): Likewise.
29993 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29996 * include/rpc/rpc.h (__rpc_thread_variables): Add
29998 (__rpc_thread_svc_cleanup): Likewise.
29999 (__rpc_thread_clnt_cleanup): Likewise.
30000 (__rpc_thread_key_cleanup): Likewise.
30002 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30005 * include/sys/uio.h (__readv): Add libc_hidden_proto.
30006 (__writev): Likewise.
30007 * misc/readv.c (__readv): Add libc_hidden_def.
30008 * misc/writev.c (__writev): Likewise.
30009 * sysdeps/posix/readv.c (__readv): Likewise.
30010 * sysdeps/posix/writev.c (__writev): Likewise.
30011 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
30012 (__readv): Likewise.
30013 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
30014 (__writev): Likewise.
30016 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30019 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
30020 (__regcomp): Add libc_hidden_proto.
30021 (__regexec): Likewise.
30022 (__regfree): Likewise.
30023 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
30024 (__regfree): Likewise.
30025 * posix/regexec.c (__regexec): Likewise.
30027 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30030 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
30031 (__getutent): Likewise.
30032 (__getutid): Likewise.
30033 (__getutline): Likewise.
30034 (__pututline): Likewise.
30035 (__getutent_r): Likewise.
30036 (__getutid_r): Likewise.
30037 (__getutline_r): Likewise.
30038 (__utmpname): Add attribute_hidden.
30039 (__setutent): Likewise.
30040 (__endutent): Likewise.
30041 * login/getutent.c (__getutent): Add libc_hidden_def.
30042 * login/getutent_r.c (__getutent_r): Likewise.
30043 (__pututline): Likewise.
30044 * login/getutid.c (__getutid): Likewise.
30045 * login/getutid_r.c (__getutid_r): Likewise.
30046 * login/getutline.c (__getutline): Likewise.
30047 * login/getutline_r.c (__getutline_r): Likewise.
30048 * login/updwtmp.c (__updwtmp): Likewise.
30050 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30053 * include/dirent.h (__opendir): Always add attribute_hidden.
30054 (__fdopendir): Likewise.
30055 (__closedir): Likewise.
30056 (__readdir): Likewise.
30057 (__readdir64): Add libc_hidden_proto.
30058 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
30059 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
30060 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
30061 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
30064 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30067 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
30068 * include/netdb.h (__gethostbyaddr_r): Likewise.
30069 (__gethostbyname_r): Likewise.
30070 (__gethostbyname2_r): Likewise.
30071 (__getnetbyaddr_r): Likewise.
30072 (__getnetbyname_r): Likewise.
30073 (__getservbyname_r): Likewise.
30074 (__getservbyport_r): Likewise.
30075 (__getprotobyname_r): Likewise.
30076 (__getprotobynumber_r): Likewise.
30077 (__getnetgrent_r): Likewise.
30078 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
30079 (__getrpcbynumber_r): Likewise.
30080 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
30082 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30085 * include/stdio.h (__fcloseall): Add attribute_hidden.
30086 (__getline): Likewise.
30087 (__path_search): Likewise.
30088 (__gen_tempname): Likewise.
30089 (__libc_message): Likewise.
30090 (__flockfile): Likewise.
30091 (__funlockfile): Likewise.
30092 (__fxprintf): Likewise.
30093 (__fxprintf_nocancel): Likewise.
30095 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30098 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
30099 (__sgetsgent_r): Likewise.
30101 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30104 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
30105 (__statfs64): Likewise.
30106 (__fstatfs64): Likewise.
30107 * include/sys/statvfs.h (__statvfs64): Likewise.
30108 (__fstatvfs64): Likewise.
30109 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
30110 (__statfs_filesize_max): Likewise.
30111 (__statfs_symlinks): Likewise.
30112 (__statfs_chown_restricted): Likewise.
30114 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30117 * include/time.h (__tzstring): Add attribute_hidden.
30118 (__tzfile_read): Likewise.
30119 (__tzfile_compute): Likewise.
30120 (__tzfile_default): Likewise.
30121 (__tzset_parse_tz): Likewise.
30122 (__offtime): Likewise.
30123 (__asctime_r): Likewise.
30124 (__tzset): Likewise.
30125 (__tz_convert): Likewise.
30126 (__getdate_r): Likewise.
30127 (__getclktck): Likewise.
30129 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30132 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
30133 (__nscd_unmap): Likewise.
30134 (__nscd_cache_search): Likewise.
30135 (__nscd_get_nl_timestamp): Likewise.
30136 (__nscd_getpwnam_r): Likewise.
30137 (__nscd_getpwuid_r): Likewise.
30138 (__nscd_getgrnam_r): Likewise.
30139 (__nscd_getgrgid_r): Likewise.
30140 (__nscd_gethostbyname_r): Likewise.
30141 (__nscd_gethostbyname2_r): Likewise.
30142 (__nscd_gethostbyaddr_r): Likewise.
30143 (__nscd_getai): Likewise.
30144 (__nscd_getgrouplist): Likewise.
30145 (__nscd_getservbyname_r): Likewise.
30146 (__nscd_getservbyport_r): Likewise.
30147 (__nscd_innetgr): Likewise.
30148 (__nscd_setnetgrent): Likewise.
30150 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30153 * include/gmp.h: Declare internal functions only if _ISOMAC is
30155 (__mpn_extract_double): Add attribute_hidden.
30156 (__mpn_extract_long_double): Likewise.
30157 (__mpn_extract_float128): Likewise.
30158 (__mpn_construct_float): Likewise.
30159 (__mpn_construct_double): Likewise.
30160 (__mpn_construct_long_double): Likewise.
30161 (__mpn_construct_float128): Likewise.
30162 (mpn_add_1): Likewise.
30163 (mpn_addmul_1): Likewise.
30164 (mpn_add_n): Likewise.
30165 (mpn_cmp): Likewise.
30166 (mpn_divrem): Likewise.
30167 (mpn_lshift): Likewise.
30168 (mpn_mul): Likewise.
30169 (mpn_mul_1): Likewise.
30170 (mpn_rshift): Likewise.
30171 (mpn_sub_1): Likewise.
30172 (mpn_submul_1): Likewise.
30173 (mpn_sub_n): Likewise.
30175 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30178 * include/wchar.h (__wcsnlen): Add attribute_hidden.
30179 (__wcscat): Likewise.
30180 (__btowc): Likewise.
30181 (__wcrtomb): Likewise.
30182 (__mbsrtowcs): Likewise.
30183 (__wcsrtombs): Likewise.
30184 (__mbsnrtowcs): Likewise.
30185 (__wcsnrtombs): Likewise.
30186 (__wcsncpy): Likewise.
30187 (__wcpncpy): Likewise.
30188 (__wmemcpy): Likewise.
30189 (__wmempcpy): Likewise.
30190 (__wmemmove): Likewise.
30191 (__wcschrnul): Likewise.
30192 (__vfwscanf): Likewise.
30193 (__vswprintf): Likewise.
30194 (__fwprintf): Likewise.
30195 (__vfwprintf): Likewise.
30197 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30200 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
30201 (__getgrgid_r): Likewise.
30202 (__getgrnam_r): Likewise.
30203 * include/pwd.h (__getpwuid_r): Likewise.
30204 (__getpwnam_r): Likewise.
30205 (__fgetpwent_r): Likewise.
30206 * include/shadow.h (__getspnam_r): Likewise.
30207 (__sgetspent_r): Likewise.
30208 (__fgetspent_r): Likewise.
30210 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30213 * include/unistd.h (__access): Add attribute_hidden.
30214 (__lseek64): Likewise.
30215 (__libc_pread64): Likewise.
30216 (__pipe2): Likewise.
30217 (__sleep): Likewise.
30218 (__chdir): Likewise.
30219 (__fchdir): Likewise.
30220 (__getcwd): Likewise.
30221 (__rmdir): Likewise.
30222 (__execvpe): Likewise.
30223 (__execve): Likewise.
30224 (__setsid): Likewise.
30225 (__getuid): Likewise.
30226 (__geteuid): Likewise.
30227 (__getgid): Likewise.
30228 (__getegid): Likewise.
30229 (__getgroups): Likewise.
30230 (__group_member): Likewise.
30231 (__ttyname_r): Likewise.
30232 (__isatty): Likewise.
30233 (__readlink): Likewise.
30234 (__unlink): Likewise.
30235 (__gethostname): Likewise.
30236 (__profil): Likewise.
30237 (__getdtablesize): Likewise.
30239 (__ftruncate): Likewise.
30240 (__ftruncate64): Likewise.
30242 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30245 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
30246 * argp/argp-fs-xinl.c: Likewise.
30247 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
30248 * argp/argp-parse.c: Include <argp.h>.
30249 * argp/argp-xinl.c: Likewise.
30250 * include/argp-fmtstream.h: New file.
30251 * include/argp.h (__argp_error): Add attribute_hidden.
30252 (__argp_failure): Likewise.
30253 (__argp_input): Likewise.
30254 (__argp_state_help): Likewise.
30256 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30259 * include/wchar.h (____wcstof_l_internal): New prototype.
30260 (____wcstod_l_internal): Likewise.
30261 (____wcstold_l_internal): Likewise.
30262 (____wcstol_l_internal): Likewise.
30263 (____wcstoul_l_internal): Likewise.
30264 (____wcstoll_l_internal): Likewise.
30265 (____wcstoull_l_internal): Likewise.
30266 (____wcstof128_l_internal): Likewise.
30267 * sysdeps/ieee754/float128/wcstof128.c
30268 (____wcstof128_l_internal): Removed.
30269 * sysdeps/ieee754/float128/wcstof128_l.c
30270 (____wcstof128_l_internal): Likewise.
30271 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
30272 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
30273 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
30274 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
30275 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
30276 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
30277 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
30278 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
30279 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
30280 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
30282 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30285 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
30286 instead of <sys/statvfs.h>.
30287 (__internal_statvfs): Removed.
30288 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
30289 instead of <sys/statvfs.h>.
30290 (__internal_statvfs64): Removed.
30291 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
30292 "internal_statvfs.h" instead of <sys/statvfs.h>.
30293 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
30294 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
30295 instead of <sys/statvfs.h>.
30296 (__internal_statvfs): Removed.
30297 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
30298 instead of <sys/statvfs.h>.
30299 (__internal_statvfs64): Removed.
30301 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30304 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
30305 (__gconv_close): Likewise.
30306 (__gconv): Likewise.
30307 (__gconv_find_transform): Likewise.
30308 (__gconv_lookup_cache): Likewise.
30309 (__gconv_compare_alias_cache): Likewise.
30310 (__gconv_load_cache): Likewise.
30311 (__gconv_get_path): Likewise.
30312 (__gconv_close_transform): Likewise.
30313 (__gconv_release_cache): Likewise.
30314 (__gconv_find_shlib): Likewise.
30315 (__gconv_release_shlib): Likewise.
30316 (__gconv_get_builtin_trans): Likewise.
30317 (__gconv_compare_alias): Likewise.
30318 * include/dlfcn.h (_dlerror_run): Likewise.
30319 * include/stdio.h (__fortify_fail_abort): Likewise.
30320 * include/time.h (__tz_compute): Likewise.
30321 (__strptime_internal): Likewise.
30322 * intl/gettextP.h (_nl_find_domain): Likewise.
30323 (_nl_load_domain): Likewise.
30324 (_nl_find_msg): Likewise.
30325 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
30326 (EXTRACT_PLURAL_EXPRESSION): Likewise.
30327 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
30328 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
30329 (__gai_find_request): Likewise.
30330 (__gai_remove_request): Likewise.
30331 (__gai_notify): Likewise.
30332 (__gai_notify_only): Likewise.
30333 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
30334 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
30335 (_dl_non_dynamic_init): Likewise.
30336 (_dl_aux_init): Likewise.
30337 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
30338 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
30340 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
30341 (__wcsmbs_clone_conv): Likewise.
30342 (__wcsmbs_named_conv): Likewise.
30344 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30347 * include/stdlib.h (__random): Add attribute_hidden.
30348 (__random_r): Likewise.
30349 (__srandom_r): Likewise.
30350 (__initstate_r): Likewise.
30351 (__setstate_r): Likewise.
30352 (__erand48_r): Likewise.
30353 (__nrand48_r): Likewise.
30354 (__jrand48_r): Likewise.
30355 (__srand48_r): Likewise.
30356 (__seed48_r): Likewise.
30357 (__lcong48_r): Likewise.
30358 (__drand48_iterate): Likewise.
30359 (__setenv): Likewise.
30360 (__unsetenv): Likewise.
30361 (__clearenv): Likewise.
30362 (__ptsname_r): Likewise.
30363 (__posix_openpt): Likewise.
30364 (__add_to_environ): Likewise.
30365 (__realpath): Add libc_hidden_proto.
30366 (__ecvt_r): Likewise.
30367 (__fcvt_r): Likewise.
30368 (__qecvt_r): Likewise.
30369 (__qfcvt_r): Likewise.
30370 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
30371 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
30373 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30376 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
30377 * include/time.h (__mktime_internal): Likewise.
30378 * libio/iolibio.h (__fopen_internal): Likewise.
30380 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
30382 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
30384 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
30385 Correct offset used to restore PIC register.
30387 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
30390 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
30391 code to load address of __getcontext_ret when generating PIC code.
30393 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
30395 * elf/Makefile (tests-static-internal): Add
30396 tst-tls1-static-non-pie.
30397 (LDFLAGS-tst-tls1-static-non-pie): New.
30398 * elf/tst-tls1-static-non-pie.c: New file.
30400 2017-09-29 Joseph Myers <joseph@codesourcery.com>
30402 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
30403 (asinh): Define using libm_alias_double.
30404 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
30405 (cbrt): Define using libm_alias_double.
30406 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
30407 <libm-alias-double.h>.
30408 (copysign): Define using libm_alias_double.
30409 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
30410 (erf): Define using libm_alias_double.
30412 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
30413 (expm1): Define using libm_alias_double.
30414 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
30415 (fabs): Define using libm_alias_double.
30416 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
30418 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
30419 <libm-alias-double.h>.
30420 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
30422 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
30423 <libm-alias-double.h>.
30424 (getpayload): Define using libm_alias_double.
30425 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
30426 <libm-alias-double.h>.
30427 (llrint): Define using libm_alias_double.
30428 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
30429 (lrint): Define using libm_alias_double.
30430 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
30431 <libm-alias-double.h>.
30432 (nextup): Define using libm_alias_double.
30433 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
30434 <libm-alias-double.h>.
30435 (roundeven): Define using libm_alias_double.
30436 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
30438 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
30439 <libm-alias-double.h>.
30440 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
30441 using libm_alias_double.
30442 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
30443 (cos): Define using libm_alias_double.
30445 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
30446 <libm-alias-double.h>.
30447 (sincos): Define using libm_alias_double.
30448 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
30449 (tanh): Define using libm_alias_double.
30450 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
30451 <libm-alias-double.h>.
30452 (totalorder): Define using libm_alias_double.
30453 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
30454 <libm-alias-double.h>.
30455 (totalordermag): Define using libm_alias_double.
30456 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
30458 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
30460 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
30461 <libm-alias-double.h>.
30462 (getpayload): Define using libm_alias_double.
30463 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
30464 <libm-alias-double.h>.
30465 (roundeven): Define using libm_alias_double.
30466 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
30467 <libm-alias-double.h>.
30468 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
30469 <libm-alias-double.h>.
30470 (totalorder): Define using libm_alias_double.
30471 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
30472 <libm-alias-double.h>.
30473 (totalordermag): Define using libm_alias_double.
30474 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
30475 libc compat symbol here.
30476 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
30477 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
30478 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
30479 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
30480 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
30481 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
30482 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
30483 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
30484 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
30485 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
30487 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
30489 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
30490 _dl_relocate_static_pie instead of _dl_start to compute load
30491 address in static PIE. Return 0 if _DYNAMIC is undefined for
30494 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
30496 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
30497 _DYNAMIC is undefined for static executable.
30499 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
30501 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
30503 2017-09-29 Joseph Myers <joseph@codesourcery.com>
30505 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30507 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
30509 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
30510 (__ieee754_lgamma_r): Use fabs rather than __fabs.
30511 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
30512 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
30513 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
30514 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
30515 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
30516 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
30517 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
30518 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
30519 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
30520 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
30521 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
30522 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
30523 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
30524 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
30525 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
30527 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
30529 * math/bits/cmathcalls.h (cimag): Remove inline.
30530 (creal): Remove inline.
30531 (conj): Remove inline.
30533 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30535 * math/Makefile (type-float-routines): Add e_powf_log2_data.
30536 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
30537 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
30538 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
30539 (issignalingf_inline): Likewise.
30540 (POWF_LOG2_TABLE_BITS): Likewise.
30541 (POWF_LOG2_POLY_ORDER): Likewise.
30542 (POWF_SCALE_BITS): Likewise.
30543 (POWF_SCALE): Likewise.
30544 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
30545 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
30546 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
30548 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30550 * math/Makefile (type-float-routines): Add e_log2f_data.
30551 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
30552 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
30553 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
30554 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
30555 * sysdeps/i386/fpu/e_log2f_data.c: New file.
30556 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
30557 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
30559 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30561 * math/Makefile (type-float-routines): Add e_logf_data.
30562 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
30563 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
30564 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
30565 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
30566 * sysdeps/i386/fpu/e_logf_data.c: New file.
30567 * sysdeps/ia64/fpu/e_logf_data.c: New file.
30568 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
30570 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
30572 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
30573 undefined _DYNAMIC in PIE libc.a.
30574 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
30577 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
30579 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
30580 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
30581 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
30582 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
30583 (__signbit): Remove.
30584 (__signbitl): Remove.
30585 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
30586 (__signbit): Remove.
30587 (__signbitl): Remove.
30588 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
30589 (__signbit): Remove.
30590 (__signbitl): Remove.
30591 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
30592 (__signbit): Remove.
30593 (__signbitl): Remove.
30594 * sysdeps/tile/bits/mathinline.h: Delete file.
30595 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
30596 (__signbit): Remove.
30597 (__signbitl): Remove.
30599 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
30601 * math/math.h: Improve handling of C99 isgreater macros.
30602 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
30603 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
30604 * sysdeps/powerpc/bits/mathinline.h: Likewise.
30605 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30606 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
30608 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
30610 * sysdeps/aarch64/libm-test-ulps: Update.
30612 2017-09-28 Joseph Myers <joseph@codesourcery.com>
30615 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30616 math_opt_barrier on argument when doing arithmetic on it.
30617 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
30618 Likewise. Use math_force_eval not math_opt_barrier after
30620 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
30621 math_opt_barrier on argument when doing arithmetic on it.
30622 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
30625 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
30627 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
30629 (__freeifaddrs): Likewise.
30631 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
30633 * include/dirent.h (__dirfd): New declaration.
30634 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
30636 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
30637 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
30638 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
30639 * include/unistd.h (__revoke): New declaration.
30640 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
30642 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
30643 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
30645 * include/dirent.h (__seekdir): New declaration.
30646 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
30647 redefine as weak alias.
30648 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
30650 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
30651 and use libc_hidden_def on them.
30652 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
30654 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
30655 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
30656 instead of getifaddrs and freeifaddrs.
30658 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
30661 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
30662 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
30663 (__dso_handle): Remove declaration.
30664 * dlfcn/tstatexit.c (__dso_handle): Removed.
30665 (main): Don't check __dso_handle.
30666 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
30667 (main): Don't check __dso_handle.
30668 * include/dso_handle.h: New file.
30669 * malloc/mtrace.c: Include <dso_handle.h>.
30670 (mtrace): Pass __dso_handle directly.
30671 * nptl/pthread_atfork.c: Include <dso_handle.h>.
30672 (__dso_handle): Remove declaration.
30673 (__pthread_atfork): Pass __dso_handle directly.
30674 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
30675 (__dso_handle): Removed.
30676 * posix/wordexp-test.c: Include <dso_handle.h>.
30677 (__dso_handle): Remove declaration.
30678 (__app_register_atfork): Pass __dso_handle directly.
30679 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
30680 (__dso_handle): Remove declaration.
30681 (at_quick_exit): Pass __dso_handle directly.
30682 * stdlib/atexit.c: Include <dso_handle.h>.
30683 (__dso_handle): Remove declaration.
30684 (atexit): Pass __dso_handle directly.
30685 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
30686 (__dso_handle): Removed.
30688 2017-09-26 Joseph Myers <joseph@codesourcery.com>
30690 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
30693 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
30695 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
30696 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
30697 values to correct default value for given type.
30699 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
30702 * elf/Makefile (tests): Add tst-debug1.
30703 ($(objpfx)tst-debug1): New.
30704 ($(objpfx)tst-debug1.out): Likewise.
30705 ($(objpfx)tst-debug1mod1.so): Likewise.
30706 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
30707 with p_filesz == 0.
30708 * elf/tst-debug1.c: New file.
30710 2017-09-26 Joseph Myers <joseph@codesourcery.com>
30712 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
30713 Define using __ifunc.
30715 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30717 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
30720 2017-09-26 Joseph Myers <joseph@codesourcery.com>
30723 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
30725 2017-09-26 Florian Weimer <fweimer@redhat.com>
30727 * resolv/Makefile (tests-internal): Fix typo in comment.
30729 2017-09-26 Florian Weimer <fweimer@redhat.com>
30731 * resolv/nss_dns/dns-host.c: Fix typo in comment.
30733 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30735 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
30736 Use an union instead of a max_align_t array for __space,
30737 so that __space is the same size on all platforms.
30738 * malloc/scratch_buffer_grow_preserve.c
30739 (__libc_scratch_buffer_grow_preserve): Likewise.
30742 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
30744 * posix/Makefile (routines): Add glob-lstat-compat and
30745 glob64-lstat-compat.
30746 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
30747 * posix/glob-lstat-compat.c: New file.
30748 * posix/glob64-lstat-compat.c: Likewise.
30749 * posix/tst-glob_lstat_compat.c: Likewise.
30750 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
30751 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
30752 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
30753 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
30755 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
30756 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
30757 * posix/glob.c (glob_lstat): New function.
30758 (glob): Rename to __glob and add versioned symbol to 2.27.
30759 (glob_in_dir): Use glob_lstat.
30760 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
30761 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
30762 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
30764 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
30765 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
30766 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
30767 gl_lstat on glob call.
30768 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
30769 and glob64 symbols.
30770 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
30771 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
30772 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
30773 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
30774 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
30775 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
30776 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
30777 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
30778 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
30779 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
30780 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
30781 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
30782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
30784 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
30785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
30786 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
30787 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
30788 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
30789 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
30790 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
30791 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
30792 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
30793 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
30794 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
30795 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
30797 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
30799 * configure.ac (AS): Require binutils 2.25 or later.
30800 * configure: Regenerated.
30802 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
30805 * stdlib/test-atexit-race-common.c (do_test): Minimize required
30808 2017-09-25 DJ Delorie <dj@redhat.com>
30811 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
30814 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
30816 * sysdeps/ieee754/dbl-64/sincos32.h
30817 [SINCCOS32_H]: Remove define.
30818 [SINCOS32_H]: Define.
30820 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30822 * math/Versions (expf): New libm symbol at GLIBC_2.27.
30824 * math/w_exp2f.c: New file.
30825 * math/w_expf.c: New file.
30826 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
30827 * math/w_expf_compat.c (__expf_compat): Likewise.
30828 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
30829 * sysdeps/ia64/fpu/e_expf.S: Likewise.
30830 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
30831 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
30832 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
30833 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
30834 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
30835 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
30836 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
30837 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
30838 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
30839 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
30840 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
30841 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
30842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
30844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
30846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
30848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
30850 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
30851 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
30852 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
30853 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
30854 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
30855 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
30857 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
30859 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
30860 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
30861 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
30863 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30865 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
30866 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
30867 (roundtoint, converttoint): Likewise.
30868 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
30869 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
30870 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
30871 * sysdeps/ieee754/flt-32/math_config.h: New file.
30872 * sysdeps/ieee754/flt-32/math_errf.c: New file.
30873 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
30874 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
30875 * sysdeps/i386/fpu/math_errf.c: New file.
30876 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
30877 * sysdeps/ia64/fpu/math_errf.c: New file.
30878 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
30879 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
30881 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
30883 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
30884 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
30885 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
30886 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
30887 to make sure that these symbols are defined.
30888 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
30890 (__need_NULL): Do not define.
30891 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
30893 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
30894 CMGROUP_MAX, cmsgcred): Do not define.
30895 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
30897 * bits/socket.h: Likewise.
30898 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
30899 __gettimeofday instead of gettimeofday.
30900 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
30901 instead of settimeofday.
30903 2017-09-22 Joseph Myers <joseph@codesourcery.com>
30905 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
30906 (asinhf): Define using libm_alias_float.
30907 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
30908 (atanf): Define using libm_alias_float.
30909 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
30910 (cbrtf): Define using libm_alias_float.
30911 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
30912 (ceilf): Define using libm_alias_float.
30913 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
30914 <libm-alias-float.h>.
30915 (copysignf): Define using libm_alias_float.
30916 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
30917 (cosf): Define using libm_alias_float.
30918 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
30919 (erff): Define using libm_alias_float.
30921 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
30922 (expm1f): Define using libm_alias_float.
30923 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
30924 (fabsf): Define using libm_alias_float.
30925 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
30926 (floorf): Define using libm_alias_float.
30927 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
30928 (frexpf): Define using libm_alias_float.
30929 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
30931 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
30932 <libm-alias-float.h>.
30933 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
30935 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
30936 <libm-alias-float.h>.
30937 (getpayloadf): Define using libm_alias_float.
30938 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
30939 <libm-alias-float.h>.
30940 (llrintf): Define using libm_alias_float.
30941 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
30942 <libm-alias-float.h>.
30943 (llroundf): Define using libm_alias_float.
30944 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
30945 (logbf): Define using libm_alias_float.
30946 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
30947 (lrintf): Define using libm_alias_float.
30948 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
30949 (lroundf): Define using libm_alias_float.
30950 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
30951 (modff): Define using libm_alias_float.
30952 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
30953 <libm-alias-float.h>.
30954 (nearbyintf): Define using libm_alias_float.
30955 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
30956 <libm-alias-float.h>.
30957 (nextafterf): Define using libm_alias_float.
30958 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
30959 <libm-alias-float.h>.
30960 (nextupf): Define using libm_alias_float.
30961 * sysdeps/ieee754/flt-32/s_remquof.c: Include
30962 <libm-alias-float.h>.
30963 (remquof): Define using libm_alias_float.
30964 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
30965 (rintf): Define using libm_alias_float.
30966 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
30967 <libm-alias-float.h>.
30968 (roundevenf): Define using libm_alias_float.
30969 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
30970 (roundf): Define using libm_alias_float.
30971 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
30972 using libm_alias_float.
30973 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
30974 <libm-alias-float.h>.
30975 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
30976 Define using libm_alias_float.
30977 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
30978 <libm-alias-float.h>.
30979 (sincosf): Define using libm_alias_float.
30980 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
30981 (sinf): Define using libm_alias_float.
30982 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
30983 (tanf): Define using libm_alias_float.
30984 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
30985 (tanhf): Define using libm_alias_float.
30986 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
30987 <libm-alias-float.h>.
30988 (totalorderf): Define using libm_alias_float.
30989 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
30990 <libm-alias-float.h>.
30991 (totalordermagf): Define using libm_alias_float.
30992 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
30993 (truncf): Define using libm_alias_float.
30994 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
30996 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
30999 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31002 math/math.h: Let fpclassify use the builtin in C++ mode, even
31003 when optimazing for size.
31005 2017-09-22 Joseph Myers <joseph@codesourcery.com>
31007 * csu/Makefile (generated): Do not add version-info.h.
31008 (before-compile): Likewise.
31009 (all-Banner-files): Remove variable.
31010 ($(objpfx)version-info.h): Remove rule.
31011 * csu/version.c (banner): Do not include "version-info.h".
31012 * libidn/Banner: Remove.
31013 * manual/contrib.texi (Simon Josefsson): New entry.
31015 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31017 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31018 Remove conditionals on LDBL_MANT_DIG.
31019 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
31020 (__ieee754_lgammal_r): Likewise.
31022 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31024 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
31026 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
31027 _Float128 and L(). Replace _Float128 with long double and L(x)
31028 with xL, throughout the file.
31029 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
31030 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
31031 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
31032 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
31034 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31036 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
31037 sysdeps/ieee754/ldbl-128ibm.
31038 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
31039 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
31040 of including it. Keep _Float128 and L() intact. These will be
31041 reviewed by a separate patch.
31042 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
31043 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
31044 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
31045 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
31047 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
31050 (__finitef128): Define to __redirect___finitef128.
31051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
31052 (__isinff128): Define to __redirect___isinff128.
31053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
31054 (__isnanf128): Define to __redirect___isnanf128.
31056 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31058 * sysdeps/powerpc/powerpc64le/Makefile
31059 (CFLAGS-tst-strtod-nan-locale.c): New variable.
31060 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
31062 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
31063 Carlos O'Donell <carlos@redhat.com>
31066 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
31067 * stdlib/test-dlclose-exit-race.c: New file.
31068 * stdlib/test-dlclose-exit-race-helper.c: New file.
31069 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
31071 2017-09-21 Joseph Myers <joseph@codesourcery.com>
31073 * crypt/Banner: Remove file.
31074 * nptl/Banner: Likewise.
31075 * resolv/Banner: Likewise.
31076 * soft-fp/Banner: Likewise.
31077 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
31078 ($(objpfx)version.d): Remove dependency on banner.h.
31079 ($(objpfx)version.os): Likewise.
31080 * nptl/version.c (banner): Do not include banner.h.
31081 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
31082 Jelinek and BIND code.
31084 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
31085 Carlos O'Donell <carlos@redhat.com>
31087 * support/xdlfcn.h: New file.
31088 * support/xdlfcn.c: New file.
31089 * support/Makefile (libsupport-routines): Add xdlfcn.
31090 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
31092 2017-09-20 Joseph Myers <joseph@codesourcery.com>
31095 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31096 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
31097 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
31098 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
31099 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
31100 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
31101 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
31102 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
31104 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
31105 Ricky Zhou <rickyz@google.com>
31106 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
31109 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
31111 (__new_exitfn): Fail registration when we finished at_exit processing.
31112 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
31113 * stdlib/on_exit.c (__on_exit): Likewise.
31114 * stdlib/exit.c (__exit_funcs_done): New variable.
31115 (__run_exit_handlers): Use __exit_funcs_lock.
31116 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
31118 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
31119 (test-cxa_atexit-race, test-on_exit-race): New tests.
31120 * stdlib/test-atexit-race-common.c: New file.
31121 * stdlib/test-atexit-race.c: New file.
31122 * stdlib/test-at_quick_exit-race.c: New file.
31123 * stdlib/test-cxa_atexit-race.c: New file.
31124 * stdlib/test-on_exit-race.c: New file.
31126 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
31128 * benchtests/Makefile: Add exp2f and log2f benchmarks.
31129 * benchtests/exp2f-inputs: Copy of expf-inputs.
31130 * benchtests/log2f-inputs: Copy of logf-inputs.
31132 2017-09-19 Joseph Myers <joseph@codesourcery.com>
31134 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
31135 Explicitly take address of first element of array arguments in
31136 call to INLINE_SYSCALL.
31138 2017-09-19 Andreas Schwab <schwab@suse.de>
31141 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
31143 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
31145 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
31146 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
31147 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31148 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
31149 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31150 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
31151 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31152 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
31153 * posix/Makefile (tests): Add tst-fexecve.
31154 * posix/tst-fexecve.c: New file.
31156 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
31158 * benchtests/Makefile: Add logf benchmark.
31159 * benchtests/logf-inputs: Add reduced trace from wrf_r.
31161 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
31163 * benchtests/Makefile: Add expf benchmark.
31164 * benchtests/expf-inputs: Add reduced trace from wrf_r.
31166 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
31168 * csu/Makefile: Add -funwind-tables to libc-start.c.
31169 * debug/Makefile: Add -funwind-tables to backtrace.c.
31170 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
31171 * sysdeps/arm/Makefile: Likewise.
31172 * sysdeps/i386/Makefile: Likewise.
31173 * sysdeps/m68k/Makefile: Likewise.
31174 * sysdeps/mips/Makefile: Likewise.
31175 * sysdeps/nios2/Makefile: Likewise.
31176 * sysdeps/sh/Makefile: Likewise.
31177 * sysdeps/sparc/Makefile: Likewise.
31179 2017-09-19 Joseph Myers <joseph@codesourcery.com>
31181 * benchtests/Makefile (bench-math): Add trunc and truncf.
31182 (CFLAGS-bench-trunc.c): New variable.
31183 (CFLAGS-bench-truncf.c): Likewise.
31184 * benchtests/trunc-inputs: New file.
31185 * benchtests/truncf-inputs: Likewise.
31187 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31189 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
31191 2017-09-18 Joseph Myers <joseph@codesourcery.com>
31193 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
31194 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
31196 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
31197 (exp10l): Define as weak alias.
31198 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
31199 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
31201 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
31202 (remainderl): Define as weak alias.
31204 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
31205 (fmal): Define using libm_alias_ldouble.
31206 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
31207 (acoshl): Define using libm_alias_ldouble.
31208 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
31209 (acosl): Define using libm_alias_ldouble.
31210 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
31211 (asinl): Define using libm_alias_ldouble.
31212 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
31213 (atan2l): Define using libm_alias_ldouble.
31214 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
31215 (atanhl): Define using libm_alias_ldouble.
31216 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
31217 (coshl): Define using libm_alias_ldouble.
31218 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
31219 (exp10l): Define using libm_alias_ldouble.
31220 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
31221 (exp2l): Define using libm_alias_ldouble.
31222 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
31223 (expl): Define using libm_alias_ldouble.
31224 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
31225 (fmodl): Define using libm_alias_ldouble.
31226 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
31227 (hypotl): Define using libm_alias_ldouble.
31228 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
31229 (j0l): Define using libm_alias_ldouble.
31231 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
31232 (j1l): Define using libm_alias_ldouble.
31234 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
31235 (jnl): Define using libm_alias_ldouble.
31237 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
31238 (log10l): Define using libm_alias_ldouble.
31239 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
31240 (log2l): Define using libm_alias_ldouble.
31241 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
31242 (logl): Define using libm_alias_ldouble.
31243 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
31244 (powl): Define using libm_alias_ldouble.
31245 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
31246 (remainderl): Define using libm_alias_ldouble.
31247 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
31248 (sinhl): Define using libm_alias_ldouble.
31249 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
31250 (sqrtl): Define using libm_alias_ldouble.
31251 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
31252 (tgammal): Define using libm_alias_ldouble.
31253 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
31254 (exp10l): Do not use long_double_symbol here.
31255 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
31256 [LIBM_SVID_COMPAT] (remainderl): Likewise.
31257 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
31258 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
31259 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
31260 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
31261 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
31262 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
31263 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
31264 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
31265 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
31266 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
31267 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
31268 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
31269 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
31270 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
31271 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
31272 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
31273 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
31274 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
31275 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
31276 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
31278 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
31280 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
31281 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
31283 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
31285 * io/read.c (read): Add libc_hidden_weak.
31286 * sysdeps/mach/hurd/read.c (read): Likewise.
31287 * io/write.c (write): Likewise.
31288 * sysdeps/mach/hurd/write.c (write): Likewise.
31289 * io/pread64.c (__pread64): Likewise.
31290 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
31291 * posix/pread64.c (__pread64): Add libc_hidden_def.
31293 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
31295 * benchtests/scripts/compare_strings.py: New option -g.
31296 (draw_graph): Print a message that a graph is being generated.
31297 (process_results): Generate graph only if -g is passed.
31298 (main): Process option -g.
31300 * benchtests/scripts/compare_strings.py (process_results):
31301 Better spacing for output.
31303 * benchtests/scripts/compare_strings.py: Use argparse.
31304 * benchtests/README: Document existence of compare_strings.py.
31306 2017-09-15 Joseph Myers <joseph@codesourcery.com>
31308 * math/s_fma.c: Include <libm-alias-double.h>.
31309 (fma): Define using libm_alias_double.
31310 * math/s_nextafter.c: Include <libm-alias-double.h>.
31311 (nextafter): Define using libm_alias_double.
31312 * math/w_acos_compat.c: Include <libm-alias-double.h>.
31313 (acos): Define using libm_alias_double.
31314 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
31315 (aocsh): Define using libm_alias_double.
31316 * math/w_asin_compat.c: Include <libm-alias-double.h>.
31317 (asin): Define using libm_alias_double.
31318 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
31319 (atan2): Define using libm_alias_double.
31320 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
31321 (atanh): Define using libm_alias_double.
31322 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
31323 (cosh): Define using libm_alias_double.
31324 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
31325 (exp10): Define using libm_alias_double.
31326 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
31327 (exp2): Define using libm_alias_double.
31328 * math/w_exp_compat.c: Include <libm-alias-double.h>.
31329 (exp): Define using libm_alias_double.
31330 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
31331 (fmod): Define using libm_alias_double.
31332 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
31333 (hypot): Define using libm_alias_double.
31334 * math/w_j0_compat.c: Include <libm-alias-double.h>.
31335 (j0): Define using libm_alias_double.
31337 * math/w_j1_compat.c: Include <libm-alias-double.h>.
31338 (j1): Define using libm_alias_double.
31340 * math/w_jn_compat.c: Include <libm-alias-double.h>.
31341 (jn): Define using libm_alias_double.
31343 * math/w_log10_compat.c: Include <libm-alias-double.h>.
31344 (log10): Define using libm_alias_double.
31345 * math/w_log2_compat.c: Include <libm-alias-double.h>.
31346 (log2): Define using libm_alias_double.
31347 * math/w_log_compat.c: Include <libm-alias-double.h>.
31348 (log): Define using libm_alias_double.
31349 * math/w_pow_compat.c: Include <libm-alias-double.h>.
31350 (pow): Define using libm_alias_double.
31351 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
31352 (remainder): Define using libm_alias_double.
31353 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
31354 (sinh): Define using libm_alias_double.
31355 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
31356 (sqrt): Define using libm_alias_double.
31357 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
31358 (tgamma): Define using libm_alias_double.
31359 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
31360 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
31361 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
31362 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
31363 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
31364 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
31365 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
31366 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
31367 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
31368 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
31369 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
31370 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
31371 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
31372 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
31373 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
31374 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
31375 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
31376 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
31377 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
31378 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
31379 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
31380 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
31381 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
31382 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
31383 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
31385 * math/e_acoshl.c: Remove.
31386 * math/e_acosl.c: Likewise.
31387 * math/e_asinl.c: Likewise.
31388 * math/e_atan2l.c: Likewise.
31389 * math/e_atanhl.c: Likewise.
31390 * math/e_coshl.c: Likewise.
31391 * math/e_expl.c: Likewise.
31392 * math/e_fmodl.c: Likewise.
31393 * math/e_gammal_r.c: Likewise.
31394 * math/e_hypotl.c: Likewise.
31395 * math/e_j0l.c: Likewise.
31396 * math/e_j1l.c: Likewise.
31397 * math/e_jnl.c: Likewise.
31398 * math/e_lgammal_r.c: Likewise.
31399 * math/e_log10l.c: Likewise.
31400 * math/e_log2l.c: Likewise.
31401 * math/e_logl.c: Likewise.
31402 * math/e_powl.c: Likewise.
31403 * math/e_rem_pio2l.c: Likewise.
31404 * math/e_sinhl.c: Likewise.
31405 * math/e_sqrtf128.c: Likewise.
31406 * math/e_sqrtl.c: Likewise.
31407 * math/k_cosl.c: Likewise.
31408 * math/k_sinl.c: Likewise.
31409 * math/k_tanl.c: Likewise.
31410 * math/s_asinhl.c: Likewise.
31411 * math/s_atanl.c: Likewise.
31412 * math/s_cbrtl.c: Likewise.
31413 * math/s_erfl.c: Likewise.
31414 * math/s_expm1l.c: Likewise.
31415 * math/s_log1pl.c: Likewise.
31416 * math/s_tanhl.c: Likewise.
31418 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31421 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
31422 [$(subdir) = math] (sysdep_calls): New variable. Has the
31423 previous contents of sysdep_routines, but re-sorted..
31424 [$(subdir) = math] (sysdep_routines): Re-use the contents from
31426 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
31427 defined in sysdep_calls and replace by the respective m_* names.
31428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
31429 (compat_symbol): Undefine to avoid duplicated compat symbols in
31432 2017-09-15 Joseph Myers <joseph@codesourcery.com>
31434 * math/s_fmaf.c: Include <libm-alias-float.h>.
31435 (fmaf): Define using libm_alias_float.
31436 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
31437 (acosf): Define using libm_alias_float.
31438 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
31439 (acoshf): Define using libm_alias_float.
31440 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
31441 (asinf): Define using libm_alias_float.
31442 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
31443 (atan2f): Define using libm_alias_float.
31444 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
31445 (atanhf): Define using libm_alias_float.
31446 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
31447 (coshf): Define using libm_alias_float.
31448 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
31449 (exp10f): Define using libm_alias_float.
31450 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
31451 (fmodf): Define using libm_alias_float.
31452 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
31453 (hypotf): Define using libm_alias_float.
31454 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
31455 (j0f): Define using libm_alias_float.
31457 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
31458 (j1f): Define using libm_alias_float.
31460 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
31461 (jnf): Define using libm_alias_float.
31463 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
31464 (log10f): Define using libm_alias_float.
31465 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
31466 (log2f): Define using libm_alias_float.
31467 * math/w_logf_compat.c: Include <libm-alias-float.h>.
31468 (logf): Define using libm_alias_float.
31469 * math/w_powf_compat.c: Include <libm-alias-float.h>.
31470 (powf): Define using libm_alias_float.
31471 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
31472 (remainderf): Define using libm_alias_float.
31473 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
31474 (sinhf): Define using libm_alias_float.
31475 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
31476 (sqrtf): Define using libm_alias_float.
31477 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
31478 (tgammaf): Define using libm_alias_float.
31480 2017-09-14 Joseph Myers <joseph@codesourcery.com>
31482 * include/math.h (roundeven): Change hidden_proto call to
31484 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
31486 [NO_LONG_DOUBLE] (__j0l): New strong alias.
31487 (y0): Rename to __y0 and define as weak alias.
31488 [NO_LONG_DOUBLE] (__y0l): New strong alias.
31489 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
31491 (y0f): Rename to __y0f and define as weak alias.
31492 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
31494 [NO_LONG_DOUBLE] (__j1l): New strong alias.
31495 (y1): Rename to __y1 and define as weak alias.
31496 [NO_LONG_DOUBLE] (__y1l): New strong alias.
31497 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
31499 (y1f): Rename to __y1f and define as weak alias.
31500 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
31502 [NO_LONG_DOUBLE] (__jnl): New strong alias.
31503 (yn): Rename to __yn and define as weak alias.
31504 [NO_LONG_DOUBLE] (__ynl): New strong alias.
31505 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
31507 (ynf): Rename to __ynf and define as weak alias.
31508 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
31509 (fromfp): Define as weak alias.
31510 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
31511 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
31512 (fromfpx): Define as weak alias.
31513 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
31514 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
31515 __getpayload and define as weak alias.
31516 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
31517 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
31518 __roundeven and define as weak alias.
31519 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
31520 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
31522 (setpayload): Define as weak alias.
31523 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
31524 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
31526 (setpayloadsig): Define as weak alias.
31527 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
31528 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
31529 __totalorder and define as weak alias.
31530 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
31531 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
31532 to __totalordermag and define as weak alias.
31533 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
31534 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
31535 (ufromfp): Define as weak alias.
31536 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
31537 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
31539 (ufromfpx): Define as weak alias.
31540 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
31541 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
31542 Rename to __getpayload and define as weak alias.
31543 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
31544 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
31545 Rename to __roundeven and define as weak alias.
31546 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
31547 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
31548 Rename to __totalorder and define as weak alias.
31549 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
31550 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
31551 (totalordermag): Rename to __totalordermag and define as weak
31553 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
31554 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
31556 (__roundevenl): Likewise.
31557 (__totalorderl): Likewise.
31558 (__totalordermagl): Likewise
31559 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
31561 (fromfpf128): Define as weak alias.
31562 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
31564 (fromfpxf128): Define as weak alias.
31565 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
31567 (setpayloadf128): Define as weak alias.
31568 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
31569 __setpayloadsigf128.
31570 (setpayloadsigf128): Define as weak alias.
31571 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
31573 (ufromfpf128): Define as weak alias.
31574 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
31576 (ufromfpxf128): Define as weak alias.
31577 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
31578 (fromfpf): Define as weak alias.
31579 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
31581 (fromfpxf): Define as weak alias.
31582 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
31583 __getpayloadf and define as weak alias.
31584 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
31585 __roundevenf and define as weak alias.
31586 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
31588 (setpayloadf): Define as weak alias.
31589 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
31591 (setpayloadsigf): Define as weak alias.
31592 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
31593 __totalorderf and define as weak alias.
31594 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
31595 Rename to __totalordermagf and define as weak alias.
31596 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
31598 (ufromfpf): Define as weak alias.
31599 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
31601 (ufromfpxf): Define as weak alias.
31602 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
31604 (fromfpl): Define as weak alias.
31605 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
31607 (fromfpxl): Define as weak alias.
31608 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
31609 to __getpayloadl and define as weak alias.
31610 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
31611 __roundevenl and define as weak alias.
31612 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
31614 (setpayloadl): Define as weak alias.
31615 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
31617 (setpayloadsigl): Define as weak alias.
31618 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
31619 to __totalorderl and define as weak alias.
31620 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
31621 Rename to __totalordermagl and define as weak alias.
31622 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
31624 (ufromfpl): Define as weak alias.
31625 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
31627 (ufromfpxl): Define as weak alias.
31628 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
31630 (fromfpl): Define as weak alias.
31631 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
31633 (fromfpxl): Define as weak alias.
31634 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
31635 Rename to __getpayloadl and define as weak alias.
31636 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
31637 to __roundevenl and define as weak alias. Call __roundeven
31638 instead of roundeven.
31639 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
31641 (setpayloadl): Define as weak alias.
31642 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
31644 (setpayloadsigl): Define as weak alias.
31645 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
31646 Rename to __totalorderl and define as weak alias.
31647 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
31648 Rename to __totalordermagl and define as weak alias.
31649 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
31651 (ufromfpl): Define as weak alias.
31652 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
31654 (ufromfpxl): Define as weak alias.
31655 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
31657 (fromfpl): Define as weak alias.
31658 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
31660 (fromfpxl): Define as weak alias.
31661 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
31662 __getpayloadl and define as weak alias.
31663 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
31664 __roundevenl and define as weak alias.
31665 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
31667 (setpayloadl): Define as weak alias.
31668 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
31670 (setpayloadsigl): Define as weak alias.
31671 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
31672 __totalorderl and define as weak alias.
31673 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
31674 Rename to __totalordermagl and define as weak alias.
31675 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
31677 (ufromfpl): Define as weak alias.
31678 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
31680 (ufromfpxl): Define as weak alias.
31682 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
31684 * benchtests/bench-string.h (realloc_bufs): New function.
31685 (test_init): Call it.
31686 * benchtests/bench-memset-large.c (do_test): Likewise.
31687 * benchtests/bench-memset.c (do_test): Likewise.
31689 * benchtests/bench-memset-large.c: Print output in JSON
31691 * benchtests/bench-memset.c: Likewise.
31693 2017-09-14 Mike FABIAN <mfabian@redhat.com>
31696 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
31697 * iconvdata/Makefile: Add IBM858.
31698 * iconvdata/gconv-modules: Likewise.
31699 * iconvdata/tst-tables.sh: Likewise.
31700 * iconvdata/ibm858.c: New file.
31701 * localedata/charmaps/IBM858: Likewise.
31703 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
31706 * locales/niu_NZ (LC_TIME): copy "niu_NU".
31707 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
31709 2017-09-14 Mike FABIAN <mfabian@redhat.com>
31712 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
31713 and add tel_int_fmt.
31715 2017-09-14 Joseph Myers <joseph@codesourcery.com>
31717 * sysdeps/generic/libm-alias-float128.h: New file.
31718 * sysdeps/generic/math-type-macros-float128.h: Include
31719 <libm-alias-float128.h>.
31720 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
31722 2017-09-13 Joseph Myers <joseph@codesourcery.com>
31724 * sysdeps/generic/libm-alias-ldouble.h: New file.
31725 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
31726 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
31727 * sysdeps/generic/math-type-macros-ldouble.h: Include
31728 <libm-alias-ldouble.h>.
31729 [!declare_mgen_alias] (declare_mgen_alias): Define to use
31730 libm_alias_ldouble.
31732 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
31734 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
31735 * math/w_exp_compat.c: ... here.
31736 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
31737 * math/w_expf_compat.c: ... here.
31738 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
31739 * math/w_expl_compat.c: ... here.
31740 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
31741 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
31742 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
31743 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
31745 2017-09-13 Joseph Myers <joseph@codesourcery.com>
31747 * math/w_scalbln_template.c (strong_alias): Do not undefine and
31749 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
31751 (ldexpl): Only define as compat symbol for libc, not libm.
31752 (scalbnl): Define as compat symbol for libc here.
31753 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
31754 define for [IS_IN (libc)].
31755 (__ldexpl_2): Remove alias.
31756 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
31757 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
31758 name in long_double_symbol call.
31759 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
31760 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
31761 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
31762 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
31763 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
31765 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
31766 Define as compat symbol.
31768 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31770 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
31771 * sysdeps/unix/sysv/linux/alpha/Makefile
31772 [$(subdir) = csu] (sysdep_routines): Remove rule.
31774 2017-09-13 Joseph Myers <joseph@codesourcery.com>
31776 * sysdeps/generic/libm-alias-double.h: New file.
31777 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
31778 * sysdeps/generic/math-type-macros-double.h: Include
31779 <libm-alias-double.h>.
31780 [declare_mgen_alias] (declare_mgen_alias): Define to use
31782 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
31783 (M_LIBM_NEED_COMPAT): Remove macro.
31784 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
31785 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
31786 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
31788 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31789 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31790 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31791 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31792 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31793 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31794 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31795 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31796 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31797 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31798 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31799 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31800 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31801 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31802 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31803 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31804 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31805 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31806 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31807 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31808 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31809 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31810 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31811 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31812 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31813 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31814 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31815 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
31816 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
31818 (declare_mgen_alias): New macro.
31819 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
31820 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
31821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
31822 (M_LIBM_NEED_COMPAT): Remove macro.
31823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
31824 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
31825 <first-versions.h>.
31826 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
31827 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
31829 2017-09-12 Joseph Myers <joseph@codesourcery.com>
31831 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
31832 (declare_mgen_alias_2): Remove.
31833 * sysdeps/generic/math-type-macros-double.h
31834 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
31836 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
31838 (ldexp): Define with declare_mgen_alias.
31839 (scalbn): Likewise.
31841 2017-09-12 Steve Ellcey <sellcey@cavium.com>
31843 * grp/initgroups.c: Include config.h.
31844 (DEFAULT_CONFIG): New macro.
31845 (internal_getgrouplist): Use DEFAULT_CONFIG.
31846 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31847 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
31848 (DEFAULT_DEFCONFIG): New macro.
31849 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
31850 * nss/grp-lookup.c: Include config.h
31851 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
31852 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
31853 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
31854 * manual/nss.texi: Update default values section.
31856 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
31859 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
31861 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
31862 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
31863 Handle MathVec_Prefer_No_AVX512.
31864 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
31865 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
31868 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
31870 * posix/sched_primax.c (__sched_get_priority_max): Add
31872 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
31873 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
31874 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
31875 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
31876 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
31877 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
31878 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
31879 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
31882 2017-09-11 Joseph Myers <joseph@codesourcery.com>
31884 * sysdeps/generic/libm-alias-float.h: New file.
31885 * sysdeps/generic/math-type-macros-float.h: Include
31886 <libm-alias-float.h>.
31887 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
31889 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
31892 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
31893 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
31894 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
31895 (HWCAP_IMPORTANT): Likewise.
31896 (HWCAP_X86_64): New enum.
31897 (HWCAP_X86_AVX512_1): Updated.
31898 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
31899 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
31900 (modules-names): Add x86_64/tst-x86_64mod-1.
31901 (LDFLAGS-tst-x86_64mod-1.so): New.
31902 ($(objpfx)tst-x86_64-1): Likewise.
31903 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
31904 (tst-x86_64-1-clean): Likewise.
31905 * sysdeps/x86_64/tst-x86_64-1.c: New file.
31906 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
31908 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
31910 * po/sv.po: Update translations.
31911 * po/fr.po: Likewise.
31913 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31915 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
31917 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
31919 * elf/rtld-Rules: Fix $(error) use.
31921 2017-09-09 Mike FABIAN <mfabian@redhat.com>
31924 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
31925 * locale/iso-639.def: Change “Bengali” to “Bangla”.
31926 * localedata/locales/bn_BD: “Bengali” was still used in some
31927 comments. Change it to “Bangla”.
31929 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
31931 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
31933 2017-09-08 Steve Ellcey <sellcey@cavium.com>
31935 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
31936 thunderx2t99p1 to list of cpu names.
31937 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
31938 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
31940 2017-09-08 Steve Ellcey <sellcey@cavium.com>
31942 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
31943 Use strcmp instead of tunable_is_name.
31945 2017-09-08 Joseph Myers <joseph@codesourcery.com>
31947 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
31948 (F_GET_RW_HINT): New macro.
31949 [__USE_GNU] (F_SET_RW_HINT): Likewise.
31950 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
31951 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
31952 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
31953 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
31954 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
31955 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
31956 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
31957 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
31959 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
31960 (F_ADD_SEALS): New macro.
31961 [__USE_GNU] (F_GET_SEALS): Likewise.
31962 [__USE_GNU] (F_SEAL_SEAL): Likewise.
31963 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
31964 [__USE_GNU] (F_SEAL_GROW): Likewise.
31965 [__USE_GNU] (F_SEAL_WRITE): Likewise.
31967 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31969 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
31970 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
31971 * posix/glob_internal.h (__glob_pattern_type):
31972 * posix/glob.c (glob):
31973 * posix/glob_pattern_p.c (__glob_pattern_p):
31976 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
31977 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31978 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
31979 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
31980 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
31981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
31982 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
31983 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
31984 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
31985 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31986 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
31987 * sysdeps/wordsize-64/glob.c: Likewise.
31988 * sysdeps/wordsize-64/glob64.c: Likewise.
31989 * sysdeps/wordsize-64/globfree.c: Likewise.
31990 * sysdeps/wordsize-64/globfree64.c: Likewise.
31991 * sysdeps/unix/sysv/linux/glob.c: New file.
31992 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
31993 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
31994 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
31995 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
31996 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
31997 adds !GLOB_NO_OLD_VERSION as an extra condition.
31998 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
31999 using relative path instead of absolute one.
32000 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
32001 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32002 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32003 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
32004 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
32005 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
32008 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
32009 (glob): Use the same scratch buffer for both getlogin_r and
32010 getpwnam_r. Don’t require preallocation of the login name. This
32011 simplifies storage allocation, and corrects the handling of
32015 * posix/glob.c (glob): Port recent patches to platforms
32016 lacking getpwnam_r.
32017 (glob): Fix longstanding misuse of errno after getpwnam_r, which
32018 returns an error number rather than setting errno.
32020 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
32021 instead of GCC extension.
32022 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
32023 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
32024 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
32028 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
32029 * posix/bug-glob1.c: Remove file.
32030 * posix/tst-glob_symlinks.c: New file.
32031 * posix/glob.c (__lstat64): New macro.
32032 (is_dir): New function.
32033 (glob, glob_in_dir): Match symlinks even if they are dangling.
32034 (link_stat, link_exists_p): Remove. All uses removed.
32038 * posix/glob.c (struct readdir_result): Remove skip_entry member.
32039 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
32044 * posix/Makefile (routines): Add globfree, globfree64, and
32046 * posix/flexmember.h: New file.
32047 * posix/glob_internal.h: Likewise.
32048 * posix/glob_pattern_p.c: Likewise.
32049 * posix/globfree.c: Likewise.
32050 * posix/globfree64.c: Likewise.
32051 * sysdeps/gnu/globfree64.c: Likewise.
32052 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
32053 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
32054 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
32055 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
32056 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
32057 * sysdeps/wordsize-64/globfree.c: Likewise.
32058 * sysdeps/wordsize-64/globfree64.c: Likewise.
32059 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
32060 [NDEBUG): Remove comments.
32061 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
32062 (dirent_type): New type. Use uint_fast8_t not
32063 uint8_t, as C99 does not require uint8_t.
32064 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
32065 (struct readdir_result): Use dirent_type. Do not define skip_entry
32066 unless it is needed; this saves a byte on platforms lacking d_ino.
32067 (readdir_result_type, readdir_result_skip_entry):
32068 New functions, replacing ...
32069 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
32070 these functions, which were removed. This makes the callers
32071 easier to read. All callers changed.
32072 (D_INO_TO_RESULT): Now empty if there is no d_ino.
32073 (size_add_wrapv, glob_use_alloca): New static functions.
32074 (glob, glob_in_dir): Check for size_t overflow in several places,
32075 and fix some size_t checks that were not quite right.
32076 Remove old code using SHELL since Bash no longer
32078 (glob, prefix_array): Separate MS code better.
32079 (glob_in_dir): Remove old Amiga and VMS code.
32080 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
32082 (glob_in_dir): Do not rely on undefined behavior in accessing
32083 struct members beyond their bounds. Use a flexible array member
32085 (link_stat): Rename from link_exists2_p and return -1/0 instead of
32086 0/1. Caller changed.
32087 (glob): Fix memory leaks.
32088 * posix/glob64 (globfree64): Move to separate file.
32089 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
32090 (globfree64): Remove hidden alias.
32091 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
32093 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
32095 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
32097 Move compat code to separate file.
32098 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
32101 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
32103 * resolv/tst-resolv-qtypes.c (domain): Changed to
32104 "const char domain[] =".
32106 2017-09-07 Joseph Myers <joseph@codesourcery.com>
32108 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
32111 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
32112 (TCP_MD5SIG_EXT): Likewise.
32113 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
32114 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
32115 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
32117 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
32119 2017-09-07 Mike FABIAN <mfabian@redhat.com>
32121 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
32123 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
32126 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
32128 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
32130 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
32131 before assuming that the file is empty. Avoid testing buffer content
32134 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32137 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
32139 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
32141 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
32143 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
32145 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
32147 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
32149 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
32152 2017-09-06 Florian Weimer <fweimer@redhat.com>
32154 * malloc/dynarray_emplace_enlarge.c
32155 (__libc_dynarray_emplace_enlarge): Add missing else.
32157 2017-09-06 Florian Weimer <fweimer@redhat.com>
32160 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
32161 case of failure to obtain the global conf object.
32163 2017-09-06 Florian Weimer <fweimer@redhat.com>
32166 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
32167 dynarray allocation failure.
32169 2017-09-06 Florian Weimer <fweimer@redhat.com>
32171 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
32172 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
32173 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
32175 (response): Call them. Add 'p', '6' flag processing.
32176 (test_reverse): New function.
32177 (test_get2_any): Call it.
32178 (test_no_inet6): Add 'p' test.
32179 (test_inet6): Likewise.
32181 2017-09-06 Florian Weimer <fweimer@redhat.com>
32183 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
32184 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
32186 (test_gai): Adjust query names. Add additional tests.
32187 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
32188 test_get2. Adjust query names. Add additional tests.
32189 (test_no_inet6): New function, extracted from threadfunc.
32190 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
32191 Add additional tests.
32193 2017-09-06 Mike FABIAN <mfabian@redhat.com>
32196 * localedata/unicode-gen/utf8_gen.py: Set the width for
32197 characters with Prepended_Concatenation_Mark property to 1
32198 * localedata/charmaps/UTF-8: Updated using the improved script.
32200 2017-09-06 Mike FABIAN <mfabian@redhat.com>
32203 * localedata/unicode-gen/utf8_gen.py: Improve the script to
32204 use the range notation for all ranges of neighbouring characters
32205 with the same width.
32207 2017-09-05 Joseph Myers <joseph@codesourcery.com>
32209 * sysdeps/generic/math-type-macros-double.h: Include
32210 <math-svid-compat.h>.
32211 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
32212 * sysdeps/generic/math-type-macros-float.h: Include
32213 <math-svid-compat.h>.
32214 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
32215 * sysdeps/generic/math-type-macros-ldouble.h: Include
32216 <math-svid-compat.h>.
32217 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
32218 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
32220 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
32221 * math/w_acosf_compat.c: Likewise.
32222 * math/w_acosh_compat.c: Likewise.
32223 * math/w_acoshf_compat.c: Likewise.
32224 * math/w_acoshl_compat.c: Likewise.
32225 * math/w_acosl_compat.c: Likewise.
32226 * math/w_asin_compat.c: Likewise.
32227 * math/w_asinf_compat.c: Likewise.
32228 * math/w_asinl_compat.c: Likewise.
32229 * math/w_atan2_compat.c: Likewise.
32230 * math/w_atan2f_compat.c: Likewise.
32231 * math/w_atan2l_compat.c: Likewise.
32232 * math/w_atanh_compat.c: Likewise.
32233 * math/w_atanhf_compat.c: Likewise.
32234 * math/w_atanhl_compat.c: Likewise.
32235 * math/w_cosh_compat.c: Likewise.
32236 * math/w_coshf_compat.c: Likewise.
32237 * math/w_coshl_compat.c: Likewise.
32238 * math/w_exp10_compat.c: Likewise.
32239 * math/w_exp10f_compat.c: Likewise.
32240 * math/w_exp10l_compat.c: Likewise.
32241 * math/w_exp2_compat.c: Likewise.
32242 * math/w_exp2f_compat.c: Likewise.
32243 * math/w_exp2l_compat.c: Likewise.
32244 * math/w_fmod_compat.c: Likewise.
32245 * math/w_fmodf_compat.c: Likewise.
32246 * math/w_fmodl_compat.c: Likewise.
32247 * math/w_hypot_compat.c: Likewise.
32248 * math/w_hypotf_compat.c: Likewise.
32249 * math/w_hypotl_compat.c: Likewise.
32250 * math/w_j0_compat.c: Likewise.
32251 * math/w_j0f_compat.c: Likewise.
32252 * math/w_j0l_compat.c: Likewise.
32253 * math/w_j1_compat.c: Likewise.
32254 * math/w_j1f_compat.c: Likewise.
32255 * math/w_j1l_compat.c: Likewise.
32256 * math/w_jn_compat.c: Likewise.
32257 * math/w_jnf_compat.c: Likewise.
32258 * math/w_jnl_compat.c: Likewise.
32259 * math/w_lgamma_r_compat.c: Likewise.
32260 * math/w_lgammaf_r_compat.c: Likewise.
32261 * math/w_lgammal_r_compat.c: Likewise.
32262 * math/w_log10_compat.c: Likewise.
32263 * math/w_log10f_compat.c: Likewise.
32264 * math/w_log10l_compat.c: Likewise.
32265 * math/w_log2_compat.c: Likewise.
32266 * math/w_log2f_compat.c: Likewise.
32267 * math/w_log2l_compat.c: Likewise.
32268 * math/w_log_compat.c: Likewise.
32269 * math/w_logf_compat.c: Likewise.
32270 * math/w_logl_compat.c: Likewise.
32271 * math/w_pow_compat.c: Likewise.
32272 * math/w_powf_compat.c: Likewise.
32273 * math/w_powl_compat.c: Likewise.
32274 * math/w_remainder_compat.c: Likewise.
32275 * math/w_remainderf_compat.c: Likewise.
32276 * math/w_remainderl_compat.c: Likewise.
32277 * math/w_sinh_compat.c: Likewise.
32278 * math/w_sinhf_compat.c: Likewise.
32279 * math/w_sinhl_compat.c: Likewise.
32280 * math/w_sqrt_compat.c: Likewise.
32281 * math/w_sqrtf_compat.c: Likewise.
32282 * math/w_sqrtl_compat.c: Likewise.
32283 * math/w_tgamma_compat.c: Likewise.
32284 * math/w_tgammaf_compat.c: Likewise.
32285 * math/w_tgammal_compat.c: Likewise.
32286 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
32287 [LIBM_SVID_COMPAT].
32288 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
32289 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
32290 [LIBM_SVID_COMPAT].
32291 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
32292 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
32293 [LIBM_SVID_COMPAT].
32294 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
32295 * sysdeps/i386/fpu/w_sqrt.c: New file.
32296 * sysdeps/ia64/fpu/w_acos.c: Likewise.
32297 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
32298 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
32299 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
32300 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
32301 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
32302 * sysdeps/ia64/fpu/w_asin.c: Likewise.
32303 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
32304 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
32305 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
32306 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
32307 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
32308 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
32309 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
32310 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
32311 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
32312 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
32313 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
32314 * sysdeps/ia64/fpu/w_exp.c: Likewise.
32315 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
32316 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
32317 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
32318 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
32319 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
32320 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
32321 * sysdeps/ia64/fpu/w_expf.c: Likewise.
32322 * sysdeps/ia64/fpu/w_expl.c: Likewise.
32323 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
32324 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
32325 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
32326 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
32327 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
32328 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
32329 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
32330 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
32331 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
32332 * sysdeps/ia64/fpu/w_log.c: Likewise.
32333 * sysdeps/ia64/fpu/w_log10.c: Likewise.
32334 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
32335 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
32336 * sysdeps/ia64/fpu/w_log2.c: Likewise.
32337 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
32338 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
32339 * sysdeps/ia64/fpu/w_logf.c: Likewise.
32340 * sysdeps/ia64/fpu/w_logl.c: Likewise.
32341 * sysdeps/ia64/fpu/w_pow.c: Likewise.
32342 * sysdeps/ia64/fpu/w_powf.c: Likewise.
32343 * sysdeps/ia64/fpu/w_powl.c: Likewise.
32344 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
32345 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
32346 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
32347 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
32348 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
32349 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
32350 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
32351 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
32352 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
32353 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
32354 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
32355 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
32356 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
32357 [LIBM_SVID_COMPAT].
32358 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
32359 * sysdeps/ieee754/k_standard.c: Likewise.
32360 * sysdeps/ieee754/k_standardf.c: Likewise.
32361 * sysdeps/ieee754/k_standardl.c: Likewise.
32362 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
32363 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
32364 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
32365 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
32366 long_double_symbol call on [LIBM_SVID_COMPAT].
32367 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
32368 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
32369 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
32370 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
32371 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
32372 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
32373 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
32374 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
32375 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
32376 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
32377 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
32378 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
32379 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
32380 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
32381 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
32382 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
32383 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
32384 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
32385 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
32386 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
32387 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
32388 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
32390 2017-09-05 Steve Ellcey <sellcey@cavium.com>
32392 * include/shlib-compat.h (TEST_COMPAT): New Macro.
32393 * malloc/tst-mallocstate.c: Convert from test-skeleton
32394 to test-driver. Ifdef code using TEST_COMPAT macro.
32395 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
32396 * math/test-matherr.c: Likewise.
32398 2017-09-05 Joseph Myers <joseph@codesourcery.com>
32401 * debug/pcprofiledump.c (main): Use byte-swapped mask when
32402 comparing word with byte-swapped constant.
32404 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
32407 * locale/iso-639.def: add Miskito.
32408 * localedata/SUPPORTED: Add miq_NI/UTF-8.
32409 * localedata/locales/miq_NI: New file.
32411 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
32414 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
32415 (__mkdir): Likewise.
32416 * io/chmod.c (__chmod): Add libc_hidden_def.
32417 * io/mkdir.c (__mkdir): Likewise.
32418 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
32419 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
32420 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
32421 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
32423 2017-09-04 Joseph Myers <joseph@codesourcery.com>
32425 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
32429 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
32430 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
32432 2017-09-04 Florian Weimer <fweimer@redhat.com>
32434 * math/math.h: Issue warning if log is defined.
32436 2017-09-04 Joseph Myers <joseph@codesourcery.com>
32438 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
32439 kernel version to 4.13.
32441 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
32443 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
32444 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
32446 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
32447 just <bits/types.h>.
32448 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
32449 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
32450 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
32451 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
32452 * misc/preadv2.c: Include <errno.h>.
32453 * misc/preadv64v2.c: Include <errno.h>.
32454 * misc/pwritev2.c: Include <errno.h>.
32455 * misc/pwritev64v2.c: Include <errno.h>.
32456 * sysdeps/posix/preadv2.c: Include <errno.h>.
32457 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
32458 Fix <unistd.h> inclusion.
32459 * sysdeps/posix/pwritev2.c: Include <errno.h>.
32460 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
32461 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
32462 __strtoul_internal): New functions.
32463 * sysdeps/posix/pause.c: Include <sigsetops.h>.
32464 * sysdeps/posix/system.c: Include <sigsetops.h>.
32465 * sysdeps/mach/hurd/i386/Makefile
32466 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
32467 [$(subdir) = csu] (sysdep-only-routines): Likewise.
32468 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
32469 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
32470 __feraiseexcept_renamed to feraiseexcept instead of
32471 __GI_feraiseexcept.
32472 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
32473 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
32474 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
32475 RWF_NOWAIT): Define to 0 if undefined already.
32476 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
32478 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
32479 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
32481 2017-09-01 Joseph Myers <joseph@codesourcery.com>
32483 * manual/math.texi (pow10): Do not document.
32484 (pow10f): Likewise.
32485 (pow10l): Likewise.
32486 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
32487 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
32488 * math/libm-test-exp10.inc (pow10_test): Remove.
32489 (do_test): Do not call pow10.
32490 * math/w_exp10_compat.c (pow10): Make into compat symbol.
32491 [NO_LONG_DOUBLE] (pow10l): Likewise.
32492 * math/w_exp10f_compat.c (pow10f): Likewise.
32493 * math/w_exp10l_compat.c (pow10l): Likewise.
32494 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
32495 (pow10): Make into compat symbol.
32496 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
32497 (pow10f): Make into compat symbol.
32498 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
32499 (pow10l): Make into compat symbol.
32500 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
32502 (CFLAGS-nldbl-pow10.c): Remove variable..
32503 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
32504 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
32505 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
32506 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
32507 Undefine and redefine.
32508 (pow10l): Make into compat symbol.
32509 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
32510 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
32511 * sysdeps/arm/libm-test-ulps: Likewise.
32512 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
32513 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
32514 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
32515 * sysdeps/microblaze/libm-test-ulps: Likewise.
32516 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
32517 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32518 * sysdeps/nios2/libm-test-ulps: Likewise.
32519 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32520 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
32521 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32522 * sysdeps/sh/libm-test-ulps: Likewise.
32523 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32524 * sysdeps/tile/libm-test-ulps: Likewise.
32525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32527 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
32529 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
32531 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
32533 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
32534 "../ChangeLog.old/ChangeLog.8".
32535 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
32536 "../ChangeLog.old/ChangeLog.14".
32538 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
32540 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
32543 2017-09-01 Joseph Myers <joseph@codesourcery.com>
32545 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
32547 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
32549 * csu/version.c (banner): Remove "by Roland McGrath et al.".
32550 * nptl/Banner: Remove "by Ulrich Drepper et al.".
32552 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
32554 * stdlib/tst-atexit-common.c (do_test): Test support for at least
32555 32 atexit handlers.
32557 2017-09-01 Zack Weinberg <zackw@panix.com>
32559 * math/math.h (HUGE_VAL): Improve commentary.
32561 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32562 Andreas Schwab <schwab@suse.de>
32565 * include/stdio.h (__gen_tempfd): New function.
32566 * stdio-common/Makefile (routines): Add gentempfd.
32567 * stdio-common/gentempfd.c: New file.
32568 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
32569 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
32570 unnamed file first.
32572 2017-09-01 Florian Weimer <fweimer@redhat.com>
32576 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
32577 result to determine success or failure, not the errno value.
32578 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
32579 (tst-nss-files-hosts-erange): Link with -ldl.
32580 * nss/tst-nss-files-hosts-erange.c: New file.
32581 * nss/tst-resolv-basic.c (response): Handle nodata.example.
32582 (do_test): Add NO_DATA tests.
32583 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
32584 (do_test): Call it.
32586 2017-09-01 Florian Weimer <fweimer@redhat.com>
32589 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
32590 coming from gethostbyname2_r.
32592 2017-09-01 Florian Weimer <fweimer@redhat.com>
32594 * support/namespace.h (struct support_chroot_configuration): Add
32596 (struct support_chroot): Add path_hosts, path_host_conf.
32597 * support/support_chroot.c (write_file): New function.
32598 (support_chroot_create): Call it to process /etc/resolv.conf,
32599 /etc/hosts, /etc/host.conf.
32600 (support_chroot_free): Update.
32602 2017-09-01 Florian Weimer <fweimer@redhat.com>
32604 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
32605 status indicates it is set.
32607 2017-09-01 Florian Weimer <fweimer@redhat.com>
32610 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
32611 function lookup failures more reliable.
32613 2017-09-01 Florian Weimer <fweimer@redhat.com>
32615 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
32616 (getcanonname): Likewise.
32617 (gaih_inet): Likewise.
32619 2017-09-01 Florian Weimer <fweimer@redhat.com>
32621 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
32622 (getcanonname): Likewise.
32623 (gaih_inet): Likewise.
32625 2017-08-31 Steve Ellcey <sellcey@cavium.com>
32626 Richard Henderson <rth@twiddle.net>
32628 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
32629 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
32630 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
32631 (IREG_SIZE, OREG_SIZE): New macros.
32632 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
32633 (IREG_SIZE, OREG_SIZE): New macros.
32634 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
32635 (IREG_SIZE): New macro.
32636 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
32637 (IREG_SIZE): New macro.
32638 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
32640 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
32641 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
32642 (__CONCATX): Handle exceptions correctly on large values that may
32644 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
32645 Initialize if not already set.
32646 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
32648 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32650 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
32651 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
32653 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
32655 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
32657 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
32659 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
32661 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
32663 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
32665 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
32666 (NO_CANCELLATION): Likewise.
32667 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
32669 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
32671 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
32673 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
32674 (NO_CANCELLATION): Likewise.
32675 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
32676 (NO_CANCELLATION): Likewise.
32677 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
32679 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
32681 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
32683 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
32685 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
32687 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
32688 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
32690 2017-08-31 Steve Ellcey <sellcey@cavium.com>
32692 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
32695 2017-08-31 Florian Weimer <fweimer@redhat.com>
32697 * include/libc-symbols.h (internal_function): Remove.
32699 2017-08-31 Florian Weimer <fweimer@redhat.com>
32701 * stdlib/fmtmsg.c (internal_addseverity): Remove
32704 2017-08-31 Florian Weimer <fweimer@redhat.com>
32706 * stdio-common/printf_fp.c (group_number): Remove
32708 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
32710 2017-08-31 Florian Weimer <fweimer@redhat.com>
32712 * posix/fnmatch.c (internal_function): Remove definition.
32713 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
32714 * posix/regcomp.c (peek_token, init_word_char)
32715 (duplicate_node_closure, fetch_token, peek_token)
32716 (peek_token_bracket, build_range_exp, build_collating_symbol):
32718 * posix/regex_internal.c (re_string_construct_common)
32719 (create_ci_newstate, create_cd_newstate, re_string_allocate)
32720 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
32721 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
32722 (re_string_translate_buffer, re_string_reconstruct)
32723 (re_string_peek_byte_case, re_string_fetch_byte_case)
32724 (re_string_destruct, re_string_context_at, re_node_set_alloc)
32725 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
32726 (re_node_set_add_intersect, re_node_set_init_union)
32727 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
32728 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
32729 (re_dfa_add_node, calc_state_hash, re_acquire_state)
32730 (re_acquire_state_context): Likewise.
32731 * posix/regex_internal.h (internal_function): Remove definition.
32732 (re_string_realloc_buffers, build_wcs_buffer)
32733 (build_wcs_upper_buffer, build_upper_buffer)
32734 (re_string_translate_buffer, re_string_context_at)
32735 (re_string_char_size_at, re_string_wchar_at)
32736 (re_string_elem_size_at): Likewise.
32737 * posix/regexec.c (match_ctx_init, match_ctx_clean)
32738 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
32739 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
32740 (re_search_internal, re_search_2_stub, re_search_stub)
32741 (re_copy_regs, prune_impossible_nodes, check_matching)
32742 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
32743 (free_fail_stack_return, sift_states_iter_mb)
32744 (sift_states_backward, build_sifted_states)
32745 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
32746 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
32747 (check_subexp_limits, sift_states_bkref, merge_state_array)
32748 (find_recover_state, transit_state, merge_state_with_log)
32749 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
32750 (transit_state_mb, transit_state_bkref, get_subexp)
32751 (get_subexp_sub, find_subexp_node, check_arrival)
32752 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
32753 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
32754 (check_node_accept_bytes, find_collation_sequence_value)
32755 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
32756 (acquire_init_state_context, check_halt_node_context)
32757 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
32758 (sub_epsilon_src_nodes): Likewise.
32759 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
32760 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
32761 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
32762 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
32763 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
32764 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
32765 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
32766 * sysdeps/posix/ttyname.c (getttyname): Likewise.
32767 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
32768 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
32769 (PREADV): Likewise.
32770 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
32771 (PREADV): Likewise.
32772 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
32773 (PWRITEV): Likewise.
32774 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
32775 (PWRITEV): Likewise.
32776 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
32777 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
32779 2017-08-31 Florian Weimer <fweimer@redhat.com>
32781 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
32782 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
32783 Remove internal_function.
32784 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
32785 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
32786 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
32787 (__deallocate_stack, __libc_pthread_init)
32788 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
32789 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
32790 (__libc_disable_asynccancel, __librt_disable_asynccancel):
32792 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
32793 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
32794 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
32796 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
32797 (__pthread_mutex_unlock_usercnt): Likewise.
32799 2017-08-31 Florian Weimer <fweimer@redhat.com>
32801 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
32802 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
32803 (fts_safe_changedir): Remove internal_function.
32804 * io/ftw.c (internal_function): Remove definition.
32805 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
32807 2017-08-31 Florian Weimer <fweimer@redhat.com>
32809 * inet/deadline.c (__deadline_current_time)
32810 (__deadline_from_timeval, __deadline_to_ms): Remove
32812 * inet/getnameinfo.c (nrl_domainname): Likewise.
32813 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
32814 * inet/inet6_option.c (add_pad): Likewise.
32815 * inet/net-internal.h (__deadline_current_time)
32816 (__deadline_from_timeval, __deadline_to_ms): Likewise.
32817 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
32818 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
32819 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
32821 2017-08-31 Joseph Myers <joseph@codesourcery.com>
32823 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
32824 include <bits/nan.h>.
32825 * math/Makefile (headers): Remove bits/nan.h.
32826 * bits/nan.h: Remove.
32827 * sysdeps/ieee754/bits/nan.h: Likewise.
32828 * sysdeps/mips/bits/nan.h: Likewise.
32830 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
32831 not include <bits/inf.h>.
32832 * math/Makefile (headers): Remove bits/inf.h.
32833 * bits/inf.h: Remove.
32834 * sysdeps/ieee754/bits/inf.h: Likewise.
32836 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
32837 bits/huge_vall.h or bits/huge_val_flt128.h.
32838 (HUGE_VAL): Define directly here.
32839 [__USE_ISOC99] (HUGE_VALF): Likewise.
32840 [__USE_ISOC99] (HUGE_VALL): Likewise.
32841 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32842 (HUGE_VAL_F128): Likewise.
32843 * math/Makefile (headers): Remove bits/huge_val.h,
32844 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
32845 * bits/huge_val.h: Remove.
32846 * bits/huge_val_flt128.h: Likewise.
32847 * bits/huge_valf.h: Likewise.
32848 * bits/huge_vall.h: Likewise.
32849 * sysdeps/ia64/bits/huge_vall.h: Likewise.
32850 * sysdeps/ieee754/bits/huge_val.h: Likewise.
32851 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
32852 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
32853 * sysdeps/sh/bits/huge_val.h: Likewise.
32854 * sysdeps/sparc/bits/huge_vall.h: Likewise.
32855 * sysdeps/x86/bits/huge_vall.h: Likewise.
32857 2017-08-31 Florian Weimer <fweimer@redhat.com>
32859 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
32861 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
32863 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
32864 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
32865 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
32866 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
32867 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32868 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
32869 * elf/dl-libc.c (dlerror_run): Likewise.
32870 * elf/dl-load.c (add_name_to_object, decompose_rpath)
32871 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
32872 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
32873 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
32875 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
32876 (_dl_higher_prime_number, _dl_strtoul): Likewise.
32877 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
32878 * elf/dl-profile.c (_dl_start_profile): Likewise.
32879 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
32880 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
32882 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
32883 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
32884 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
32885 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
32886 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
32887 (_dl_allocate_tls_storage): Likewise.
32888 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
32889 (_dl_check_all_versions): Likewise.
32890 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
32891 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
32892 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
32893 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
32894 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
32895 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
32896 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
32897 internal_function from __dl_start.
32898 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
32899 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
32900 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
32901 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
32902 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
32903 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
32904 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
32905 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
32906 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
32907 (_dl_next_ld_env_entry, _dl_important_hwcaps)
32908 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
32909 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
32910 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
32911 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
32912 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
32914 (struct rtld_global_ro): Remove internal_function from the
32915 _dl_lookup_symbol_x member.
32916 (_dl_symbol_value): Remove. No longer defined anywhere.
32917 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
32919 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
32920 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
32921 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
32922 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
32923 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
32924 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
32925 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
32926 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
32927 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
32928 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
32929 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
32930 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
32932 2017-08-31 Florian Weimer <fweimer@redhat.com>
32934 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
32935 Remove internal_function.
32936 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
32938 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
32941 2017-08-31 Florian Weimer <fweimer@redhat.com>
32943 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
32944 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
32945 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
32947 2017-08-31 Florian Weimer <fweimer@redhat.com>
32949 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
32950 (__gai_enqueue_request): Remove internal_function.
32951 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
32952 (__gai_remove_request, __gai_notify, __gai_notify_only)
32953 (__gai_sigqueue): Likewise.
32954 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
32955 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
32956 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
32957 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32960 2017-08-31 Florian Weimer <fweimer@redhat.com>
32962 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
32963 * include/dirent.h (__opendirat, __getdents, __getdents64)
32964 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
32965 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
32966 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32967 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
32969 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
32971 2017-08-31 Florian Weimer <fweimer@redhat.com>
32973 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
32975 (GETCWD_RETURN_TYPE): Likewise.
32977 2017-08-31 Florian Weimer <fweimer@redhat.com>
32979 * include/time.h (__tz_compute, __strptime_internal): Remove
32981 * time/strptime_l.c (__strptime_internal): Likewise.
32982 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
32984 2017-08-31 Florian Weimer <fweimer@redhat.com>
32986 * iconv/gconv.c (__gconv): Remove internal_function.
32987 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
32988 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
32989 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
32990 (__gconv_release_cache): Likewise.
32991 * iconv/gconv_close.c (__gconv_close): Likewise.
32992 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
32993 (read_conf_file, __gconv_get_path): Likewise.
32994 * iconv/gconv_db.c (derivation_lookup, add_derivation)
32995 (__gconv_release_step, gen_steps, increment_counter)
32996 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
32997 (__gconv_close_transform, free_modules_db): Likewise.
32998 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
33000 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
33001 (__gconv_find_transform, __gconv_lookup_cache)
33002 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
33003 (__gconv_close_transform, __gconv_release_cache)
33004 (__gconv_loaded_object, __gconv_release_shlib)
33005 (__gconv_compare_alias): Likewise.
33006 * iconv/gconv_open.c (__gconv_open): Likewise.
33007 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
33008 * iconv/iconvconfig.c (add_module): Likewise.
33009 * intl/dcigettext.c (plural_lookup, guess_category_value)
33010 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
33011 * intl/eval-plural.h (plural_eval): Likewise.
33012 * intl/finddomain.c (_nl_find_domain): Likewise.
33013 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
33014 (_nl_load_domain, _nl_find_msg): Likewise.
33015 (internal_function): Remove definition.
33016 * intl/loadinfo.h (internal_function): Likewise.
33017 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
33019 * intl/localealias.c (internal_function): Remove definition.
33020 (read_alias_file): Remove internal_function.
33021 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
33022 * intl/plural-exp.h (internal_function): Remove definition.
33023 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
33025 * intl/plural.c: Regenerate.
33026 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
33027 * locale/coll-lookup.c (__collidx_table_lookup)
33028 (__collseq_table_lookup): Likewise.
33029 * locale/coll-lookup.h (__collidx_table_lookup)
33030 (__collseq_table_lookup): Likewise.
33031 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
33032 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33033 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
33034 (_nl_unload_locale): Likewise.
33035 * locale/localeinfo.h (struct __locale_data): Remove
33036 internal_function from cleanup member.
33037 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
33038 (_nl_remove_locale, _nl_load_locale_from_archive)
33039 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
33040 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
33041 (_nl_cleanup_time): Remove internal_function.
33042 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
33043 (_nl_parse_alt_digit): Likewise.
33044 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
33045 (_nl_select_era_entry): Likewise.
33046 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
33047 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
33048 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
33049 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
33050 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
33052 2017-08-31 Florian Weimer <fweimer@redhat.com>
33054 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
33055 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
33056 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
33057 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
33059 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
33060 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
33061 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
33062 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
33064 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
33066 2017-08-31 Florian Weimer <fweimer@redhat.com>
33068 * misc/getttyent.c (skip, value): Remove internal_function.
33069 * misc/syslog.c (openlog_internal): Likewise.
33070 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
33072 2017-08-31 Florian Weimer <fweimer@redhat.com>
33074 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
33075 (__nss_rewrite_field): Remove internal_function.
33076 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33077 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
33078 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33079 * nss/nsswitch.c (nss_parse_file, nss_getline)
33080 (nss_parse_service_list, nss_new_service): Likewise.
33081 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
33082 * nss/valid_field.c (__nss_valid_field): Likewise.
33083 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
33085 2017-08-31 Florian Weimer <fweimer@redhat.com>
33087 * malloc/arena.c (__malloc_fork_lock_parent)
33088 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
33089 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
33090 internal_function from defintions.
33091 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
33092 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
33093 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
33094 internal_function from declarations.
33095 * malloc/malloc.c (internal_function): Do not define.
33096 (mem2mem_check): Remove internal_function from declaration.
33097 (munmap_chunk, mremap_chunk): Remove internal_function.
33098 * malloc/mtrace.c (tr_where): Likewise.
33100 2017-08-31 Florian Weimer <fweimer@redhat.com>
33102 * include/rpc/pmap_clnt.h (__get_socket): Remove
33104 * sunrpc/auth_des.c (synchronize): Likewise.
33105 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
33106 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
33107 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
33108 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
33109 (key_call): Likewise.
33110 * sunrpc/pm_getport.c (__get_socket): Likewise.
33111 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
33112 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
33113 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
33114 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
33115 (invalidate): Likewise.
33116 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
33117 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
33118 (set_input_fragment, get_input_bytes): Likewise.
33120 2017-08-31 Florian Weimer <fweimer@redhat.com>
33122 * malloc/malloc.c (_int_free): Remove locked variable and related
33125 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
33128 * Makerules (build-module-helper-objlist): Filter out
33129 $(elf-objpfx)sofini.os.
33130 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
33133 2017-08-31 Florian Weimer <fweimer@redhat.com>
33135 * libio/fcloseall.c: Assume weak_alias is defined.
33136 * libio/feof.c: Likewise.
33137 * libio/fileno.c: Likewise.
33138 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
33139 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
33141 (_IO_file_open): Call __open directly.
33142 (_IO_new_file_sync): Assume ESPIPE is defined.
33143 (_IO_file_seekoff_maybe_mmap): Call __read directly.
33144 (_IO_new_file_write): Call __write directly.
33145 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
33146 * libio/ftello64.c (__ftello64): Assume EIO is defined.
33147 * libio/genops.c: Assume _LIBC is defined.
33148 (save_for_backup): Remove internal_function.
33149 * libio/getc.c: Assume weak_alias is defined.
33150 * libio/getwc.c: Likewise.
33151 * libio/iofclose.c: Assume _LIBC is defined.
33152 * libio/iofdopen.c: Likewise.
33153 (_IO_fcntl): Remove macro definition.
33154 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
33155 Call __fcntl directly.
33156 * libio/iofflush.c: Assume weak_alias is defined.
33157 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
33159 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
33160 * libio/iofgets.c: Likewise.
33161 * libio/iofopen.c: Assume _LIBC is defined.
33162 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
33163 * libio/iofputs.c: Assume weak_alias is defined.
33164 * libio/iofread.c: Likewise.
33165 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
33166 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
33167 * libio/ioftell.c: Assume weak_alias is defined.
33168 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
33169 * libio/iofwide.c: Assume _LIBC is defined.
33170 (_IO_fwide): Drop SHARED conditional because it is implied by
33172 * libio/iofwrite.c: Assume weak_alias is defined.
33173 * libio/iogetdelim.c: Likewise.
33174 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
33175 * libio/iogetwline.c (wmemcpy): Remove macro definition.
33176 (_IO_getwline): Call __wmemcpy directly.
33177 * libio/iopopen.c: Assume _LIBC is defined.
33178 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
33179 (_IO_close): Remove macro definitions.
33180 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
33182 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
33184 * libio/ioputs.c: Assume weak_alias is defined.
33185 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
33186 * libio/iosetbuffer.c: Assume weak_alias is defined.
33187 * libio/iosetvbuf.c: Likewise.
33188 * libio/ioungetc.c: Likewise.
33189 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
33190 libc_hidden_def, libc_hidden_weak, NULL are defined.
33191 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
33192 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
33194 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
33196 (_IO_old_file_init_internal): Drop SHARED conditional because it
33197 is implied by SHLIB_COMPAT.
33198 (_IO_old_file_fopen): Call __open directly.
33199 (_IO_old_file_sync): Assume ESPIPE is defined.
33200 (_IO_old_file_write): Call __write directly.
33201 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
33202 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
33203 Call __fcntl directly.
33204 * libio/oldiofgetpos.c: Assume weak_alias is defined.
33205 (_IO_old_fgetpos): Assume EIO is defined.
33206 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
33207 (_IO_old_fgetpos64): Assume EIO is defined.
33208 * libio/oldiofsetpos.c: Assume weak_alias is defined.
33209 (_IO_old_fsetpos): Assume EIO is defined.
33210 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
33211 (_IO_old_fsetpos64): Assume EIO is defined.
33212 * libio/oldiopopen.c: Assume _LIBC is defined.
33213 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
33214 (_IO_close): Remove macro definitions.
33215 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
33217 (_IO_old_proc_close): Call __close, __waitpid directly.
33218 * libio/put.c: Assume weak_alias is defined.
33219 * libio/stdfiles.c: Assume _LIBC is defined.
33220 * libio/stdio.c: Likewise.
33221 * libio/wfileops.c: Likewise.
33222 (_IO_wfile_sync): Assume ESPIPE is defined.
33223 * libio/wgenops.c: Assume _LIBC is defined.
33224 (save_for_wbackup): Remove internal_function.
33226 2017-08-31 Florian Weimer <fweimer@redhat.com>
33228 * malloc/malloc.c (top_check): Change return type to void. Remove
33230 * malloc/hooks.c (top_check): Likewise.
33231 (malloc_check, realloc_check, memalign_check): Adjust.
33233 2017-08-30 Joseph Myers <joseph@codesourcery.com>
33236 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
33237 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
33238 sigcontext and namespace requirements.
33239 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
33240 * sysdeps/m68k/sys/ucontext.h: Likewise.
33241 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
33242 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
33243 <bits/sigcontext.h>.
33244 (__ctx): Define earlier.
33245 (mcontext_t): Define structure contents rather than using struct
33247 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
33248 __glibc_reserved1 instead of __reserved.
33249 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
33250 <bits/sigcontext.h>.
33251 (__ctx): Define earlier.
33252 (mcontext_t): Define structure contents rather than using struct
33254 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
33255 mcontext_t instead of struct sigcontext.
33256 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
33257 <bits/sigcontext.h>.
33258 (__ctx): Define earlier.
33259 (mcontext_t): Define structure contents rather than using struct
33261 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
33262 <bits/sigcontext.h>.
33263 (__ctx): Define earlier.
33264 (mcontext_t): Define structure contents rather than using struct
33266 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
33267 mcontext_t instead of struct sigcontext.
33268 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
33269 mcontext_t instead of struct sigcontext.
33270 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
33271 <bits/sigcontext.h>.
33272 (__ctx): New macro.
33273 (struct __ia64_fpreg_mcontext): New type.
33274 (mcontext_t): Define structure contents rather than using struct
33276 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
33277 (uc_sigmask): Define using __ctx.
33278 (uc_stack): Likewise.
33279 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
33280 <bits/sigcontext.h>.
33281 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33282 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
33283 <bits/sigcontext.h>.
33284 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
33285 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
33286 <bits/sigcontext.h>.
33287 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
33288 <bits/sigcontext.h>.
33289 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
33290 <bits/sigcontext.h>.
33291 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
33292 <bits/sigcontext.h>.
33293 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
33294 <bits/sigcontext.h>.
33295 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
33296 <bits/sigcontext.h>.
33297 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
33298 <bits/sigcontext.h>.
33299 (__ctx): Define earlier.
33300 (mcontext_t): Define structure contents rather than using struct
33302 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
33303 <bits/sigcontext.h>. Include <bits/types.h>.
33304 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
33305 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
33306 (test-xfail-XPG42/ucontext.h/conform): Likewise.
33307 (test-xfail-UNIX98/signal.h/conform): Likewise.
33308 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
33309 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
33310 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
33311 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
33312 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
33313 (test-xfail-POSIX2008/signal.h/conform): Likewise.
33314 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
33315 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
33316 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
33318 2017-08-30 Florian Weimer <fweimer@redhat.com>
33320 * malloc/dynarray_emplace_enlarge.c
33321 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
33322 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
33323 * malloc/tst-dynarray.c (test_long_overflow): New function.
33324 (do_test): Call it.
33326 2017-08-30 Florian Weimer <fweimer@redhat.com>
33328 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
33329 (set_arena_corrupt): Remove definitions.
33330 (mtrim): Do not check for corrupt arena.
33331 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
33334 2017-08-30 Florian Weimer <fweimer@redhat.com>
33337 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
33339 (ptmalloc_init): Do not set or use check_action.
33340 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
33341 call to malloc_printerr. Remove return statement.
33342 (free_check): Likewise. Remove arena unlock.
33343 (top_check): Update comment. Adjust call to malloc_printerr.
33344 Remove heap repair code.
33345 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
33346 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
33347 (sysmalloc): Adjust call to malloc_printerr.
33348 (munmap_chunk, __libc_realloc): Likewise. Remove return
33350 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
33351 Remove errout label and corresponding gotos.
33352 (_int_free): Likewise. Remove arena unlock.
33353 (do_set_mallopt_check): Do not set check_action.
33354 (malloc_printerr): Adjust parameter list. Do not mark arena as
33356 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
33358 * manual/probes.texi (Memory Allocation Probes): Remove
33359 memory_mallopt_check_action.
33361 2017-08-30 Steve Ellcey <sellcey@cavium.com>
33363 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
33364 Use pointer to uint64_t instead of long int for sp.
33366 2017-08-30 Florian Weimer <fweimer@redhat.com>
33369 * malloc/malloc.c (malloc_printerr): Always terminate the process,
33370 without printing a backtrace. Do not leak any information in the
33372 * manual/memory.texi (Heap Consistency Checking): Update.
33373 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
33375 2017-08-30 Florian Weimer <fweimer@redhat.com>
33377 Do not scale NPTL tests with available number of CPUs.
33378 * nptl/tst-cond16.c (count): Set to constant value of 8.
33379 * nptl/tst-cond18.c (count): Likewise.
33381 2017-08-29 Joseph Myers <joseph@codesourcery.com>
33384 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
33385 Define to take a second argument that is a macro that
33386 concatentates a suffix, not the suffix itself.
33387 (__CONCAT_d): New macro.
33388 (__CONCAT_f): Likewise.
33389 (__CONCAT_l): Likewise.
33391 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
33393 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
33396 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33397 Aurelien Jarno <aurelien@aurel32.net>
33398 Maciej W. Rozycki <macro@imgtec.com>
33401 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
33402 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
33403 `mips16-syscall6' and `mips16-syscall7'.
33404 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
33405 (CFLAGS-mips16-syscall7.c): Remove.
33406 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
33407 Remove `__mips16_syscall5', `__mips16_syscall6' and
33408 `__mips16_syscall7'.
33409 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
33410 (__mips16_syscall0): Rename `__mips16_syscall_return' to
33411 `__mips_syscall_return'.
33412 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
33413 (__mips16_syscall1): Likewise.
33414 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
33415 (__mips16_syscall2): Likewise.
33416 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
33417 (__mips16_syscall3): Likewise.
33418 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
33419 (__mips16_syscall4): Likewise.
33420 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
33422 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
33424 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
33426 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
33427 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
33428 `__mips16_syscall5'. Remove prototype.
33429 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
33430 `__mips16_syscall6'. Remove prototype.
33431 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
33432 `__mips16_syscall7'. Remove prototype.
33433 (__nomips16, __mips16_syscall_return): Move to...
33434 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
33435 (__nomips16, __mips_syscall_return): ... here.
33436 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
33437 `__mips16_syscall_return' to `__mips_syscall_return'.
33438 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
33439 `internal_syscall##nr'.
33440 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
33441 `internal_syscall##nr'.
33442 (FORCE_FRAME_POINTER): Remove.
33443 (__mips_syscall5): New prototype.
33444 (internal_syscall5): Rewrite to call `__mips_syscall5'.
33445 (__mips_syscall6): New prototype.
33446 (internal_syscall6): Rewrite to call `__mips_syscall6'.
33447 (__mips_syscall7): New prototype.
33448 (internal_syscall7): Rewrite to call `__mips_syscall7'.
33449 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
33450 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
33451 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
33452 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
33453 (sysdep_routines): Add libc-do-syscall.
33454 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
33455 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
33457 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33460 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
33461 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
33462 (advise_stack_range): New function.
33463 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
33464 stack non required to advise_stack_range at allocatestack.c
33466 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
33468 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
33470 2017-08-29 Florian Weimer <fweimer@redhat.com>
33473 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
33474 __end_fct. Mangle __end_fct after setting it to NULL.
33475 * iconv/Makefile (tests): Add tst-gconv-init-failure.
33476 (modules-names, modules-names-tests): Add
33477 tst-gconv-init-failure-mod.
33478 (gconv-modules): New target.
33479 (tst-gconv-init-failure-mod.so): Link against libsupport.
33480 (tst-gconv-init-failure): Depend on gconv-modules,
33481 tst-gconv-init-failure-mod.so.
33482 * iconv/tst-gconv-init-failure-mod.c: New file.
33483 * iconv/tst-gconv-init-failure.c: Likewise.
33484 * iconv/test-gconv-modules: Likewise.
33486 2017-08-29 Florian Weimer <fweimer@redhat.com>
33489 * iconv/gconv_db.c (free_derivation): Remove redundant
33491 (gen_steps): Unconditionally mangle __btowc_fct after
33493 (increment_counter): Likewise. Do not call init_fct for internal
33496 2017-08-29 Joseph Myers <joseph@codesourcery.com>
33499 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
33500 (_MSUF_): Remove macro.
33501 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
33503 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
33504 (__REDIRFROM_X): New macro.
33505 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
33507 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
33508 (__REDIRTO_X): Likewise.
33509 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
33511 (__MATH_REDIRCALL_2): Likewise.
33512 (__MATH_REDIRCALL_INTERNAL): Likewise.
33513 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
33514 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
33515 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
33516 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
33517 * math/test-finite-macros.c: New file.
33518 * math/Makefile (tests): Add test-finite-macros.
33519 (CFLAGS-test-finite-macros.c): New variable.
33521 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
33522 Jeff Law <law@redhat.com>
33525 Mangle NULL pointers in iconv/gconv.
33526 * iconv/gconv_cache.c (find_module): Demangle init_fct before
33527 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
33528 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
33529 is non-NULL before demangling the end_fct. Check for NULL
33530 end_fct after demangling.
33531 (__gconv_release_step): Demangle the end_fct before checking
33532 it for NULL. Remove assert on __shlibc_handle != NULL.
33533 (gen_steps): Don't check btowc_fct for NULL before mangling.
33534 Demangle init_fct before checking for NULL.
33535 (increment_counter): Likewise.
33536 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
33537 end_fct for NULL before mangling.
33538 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
33541 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
33544 * locale/iso-639.def: add Morisyen.
33546 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33549 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
33550 (iszero): New C++ implementation that does not use
33551 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
33552 signaling nans are enabled, since __builtin_types_compatible_p
33553 is a C-only feature.
33554 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
33555 defined, include ieee754_float128.h for access to the union and
33556 member ieee854_float128.ieee.
33557 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
33558 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
33559 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
33560 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
33561 options of test-math-zero on powerpc64le.
33563 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
33565 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
33566 Change double to float.
33568 2017-08-28 Joseph Myers <joseph@codesourcery.com>
33570 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
33572 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
33573 conditional code; define contents only for [LIBM_SVID_COMPAT].
33575 2017-08-28 Florian Weimer <fweimer@redhat.com>
33577 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
33578 (abi-lp64_be-options): Remove.
33579 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
33580 (abi-hard-options): Likewise.
33581 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
33582 (abi-o32_hard-options, abi-o32_soft_2008-options)
33583 (abi-o32_hard_2008-options, abi-n32_soft-options)
33584 (abi-n32_hard-options, abi-n32_soft_2008-options)
33585 (abi-n32_hard_2008-options, abi-n64_soft-options)
33586 (abi-n64_hard-options, abi-n64_soft_2008-options)
33587 (abi-n64_hard_2008-options): Likewise.
33588 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
33589 (abi-64-v1-options, abi-64-v2-options): Likewise.
33590 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
33591 (abi-64-options): Likewise.
33592 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
33593 (abi-64-options): Likewise.
33594 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
33595 (abi-64-options): Likewise.
33596 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
33597 (abi-64-options, abi-x32-options): Likewise.
33599 2017-08-28 Florian Weimer <fweimer@redhat.com>
33601 Store supported list of SYS_* system calls in the source tree.
33602 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
33603 (bits/syscall.h): Generate from list file.
33604 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
33605 [$(subdir) = misc] (tests): Add tst-syscall-list.
33606 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
33607 [$(subdir) = misc] (tst-syscall-list-macros.list)
33608 [$(subdir) = misc] (tst-syscall-list-nr.list)
33609 (tst-syscall-list-sys.list): Helper targets for new
33610 tst-syscall-list test.
33611 [$(subdir) = misc] (tst-syscall-list.out): Run test script
33612 tst-syscall-list.sh.
33613 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
33614 target. Do not include bits/syscall.d.
33615 [$(subdir) = misc] (generated): Do not update.
33616 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
33617 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
33618 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
33619 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
33621 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
33623 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
33624 (tst-cxa_atexit, tst-on_exit): Likewise.
33625 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
33626 tst-cxa_atexit, and tst-on_exit.
33627 * stdlib/tst-atexit-common.c: New file.
33628 * stdlib/tst-atexit.c: New file.
33629 * stdlib/tst-at_quick_exit.c: New file.
33630 * stdlib/tst-cxa_atexit.c: New file.
33631 * stdlib/tst-on_exit.c: New file.
33633 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
33635 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
33636 * mach/stack_chk_fail_local.c: New file.
33637 * hurd/stack_chk_fail_local.c: New file.
33638 * mach/Machrules ($(interface-library)-routines): Add
33639 stack_chk_fail_local.
33640 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
33641 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
33642 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
33643 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
33644 * hurd/Makefile (CFLAGS-hurdstartup.o,
33645 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
33647 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
33649 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
33650 (index_cpu_*, index_arch_*): Removed.
33652 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
33654 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
33655 Use uint64_t instead of unsigned long.
33657 2017-08-25 Joseph Myers <joseph@codesourcery.com>
33659 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
33660 [__HAVE_DISTINCT_FLOAT128].
33662 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
33663 of <bits/math-finite.h>.
33664 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
33665 inclusion of <bits/math-finite.h>.
33666 * math/bits/math-finite.h (__REDIRTO_X): Do not define
33667 conditionally on [__MATH_DECLARING_LDOUBLE && defined
33668 __NO_LONG_DOUBLE_MATH].
33669 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
33670 (__MATH_REDIRCALL_2): Likewise.
33671 (__MATH_REDIRCALL_INTERNAL): Likewise.
33672 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
33673 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
33674 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
33676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
33678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
33680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
33682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
33684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
33686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
33688 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
33689 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
33690 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
33691 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
33692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
33693 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
33694 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
33695 w_sqrtf_compat-ppc32.
33697 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33699 * math/math.h [defined __cplusplus] (issignaling): In the long
33700 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
33701 is not defined. Call __issignaling, otherwise.
33703 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33705 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
33706 syscall definitions and replace __builtin_expect with __glibc_likely.
33707 * sysdeps/unix/syscall-template.S: Update comment about cancellable
33709 (SYSCALL_CANCELLABLE): Removedefinition
33710 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
33712 (PSEUDO_END): Likewise.
33713 [IS_IN (libpthread)] (CENABLE): Likewise.
33714 [IS_IN (libpthread)] (CDISABLE): Likewise.
33715 [IS_IN (libc)] (CENABLE): Likewise.
33716 [IS_IN (libc)] (CENABLE): Likewise.
33717 [IS_IN (librt)] (CDISABLE): Likewise.
33718 [IS_IN (librt)] (CDISABLE): Likewise.
33719 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33720 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
33722 (PSEUDO_END): Likewise.
33723 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
33724 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
33725 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
33726 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
33727 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
33728 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
33729 (CENABLE): Likewise.
33730 (CDISABLE): Likewise.
33731 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33732 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
33734 (PSEUDO_END): Likewise.
33735 [IS_IN (libpthread)] (CENABLE): Likewise.
33736 [IS_IN (libpthread)] (CDISABLE): Likewise.
33737 [IS_IN (libc)] (CENABLE): Likewise.
33738 [IS_IN (libc)] (CENABLE): Likewise.
33739 [IS_IN (librt)] (CDISABLE): Likewise.
33740 [IS_IN (librt)] (CDISABLE): Likewise.
33741 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33742 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
33744 (PSEUDO_END): Likewise.
33745 [IS_IN (libpthread)] (CENABLE): Likewise.
33746 [IS_IN (libpthread)] (CDISABLE): Likewise.
33747 [IS_IN (libc)] (CENABLE): Likewise.
33748 [IS_IN (libc)] (CENABLE): Likewise.
33749 [IS_IN (librt)] (CDISABLE): Likewise.
33750 [IS_IN (librt)] (CDISABLE): Likewise.
33751 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33752 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
33754 (PSEUDO_END): Likewise.
33755 [IS_IN (libpthread)] (CENABLE): Likewise.
33756 [IS_IN (libpthread)] (CDISABLE): Likewise.
33757 [IS_IN (libc)] (CENABLE): Likewise.
33758 [IS_IN (libc)] (CENABLE): Likewise.
33759 [IS_IN (librt)] (CDISABLE): Likewise.
33760 [IS_IN (librt)] (CDISABLE): Likewise.
33761 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33762 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
33764 (PSEUDO_END): Likewise.
33765 [IS_IN (libpthread)] (CENABLE): Likewise.
33766 [IS_IN (libpthread)] (CDISABLE): Likewise.
33767 [IS_IN (libc)] (CENABLE): Likewise.
33768 [IS_IN (libc)] (CENABLE): Likewise.
33769 [IS_IN (librt)] (CDISABLE): Likewise.
33770 [IS_IN (librt)] (CDISABLE): Likewise.
33771 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33772 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
33774 (PSEUDO_END): Likewise.
33775 [IS_IN (libpthread)] (CENABLE): Likewise.
33776 [IS_IN (libpthread)] (CDISABLE): Likewise.
33777 [IS_IN (libc)] (CENABLE): Likewise.
33778 [IS_IN (libc)] (CENABLE): Likewise.
33779 [IS_IN (librt)] (CDISABLE): Likewise.
33780 [IS_IN (librt)] (CDISABLE): Likewise.
33781 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33782 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
33784 (PSEUDO_END): Likewise.
33785 [IS_IN (libpthread)] (CENABLE): Likewise.
33786 [IS_IN (libpthread)] (CDISABLE): Likewise.
33787 [IS_IN (libc)] (CENABLE): Likewise.
33788 [IS_IN (libc)] (CENABLE): Likewise.
33789 [IS_IN (librt)] (CDISABLE): Likewise.
33790 [IS_IN (librt)] (CDISABLE): Likewise.
33791 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33792 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
33794 (PSEUDO_END): Likewise.
33795 [IS_IN (libpthread)] (CENABLE): Likewise.
33796 [IS_IN (libpthread)] (CDISABLE): Likewise.
33797 [IS_IN (libc)] (CENABLE): Likewise.
33798 [IS_IN (libc)] (CENABLE): Likewise.
33799 [IS_IN (librt)] (CDISABLE): Likewise.
33800 [IS_IN (librt)] (CDISABLE): Likewise.
33801 (SINGLE_THREAD_P): Likewise.
33802 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
33804 (PSEUDO_END): Likewise.
33805 [IS_IN (libpthread)] (CENABLE): Likewise.
33806 [IS_IN (libpthread)] (CDISABLE): Likewise.
33807 [IS_IN (libc)] (CENABLE): Likewise.
33808 [IS_IN (libc)] (CENABLE): Likewise.
33809 [IS_IN (librt)] (CDISABLE): Likewise.
33810 [IS_IN (librt)] (CDISABLE): Likewise.
33811 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33812 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
33814 (PSEUDO_END): Likewise.
33815 [IS_IN (libpthread)] (CENABLE): Likewise.
33816 [IS_IN (libpthread)] (CDISABLE): Likewise.
33817 [IS_IN (libc)] (CENABLE): Likewise.
33818 [IS_IN (libc)] (CENABLE): Likewise.
33819 [IS_IN (librt)] (CDISABLE): Likewise.
33820 [IS_IN (librt)] (CDISABLE): Likewise.
33821 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33822 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
33823 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
33824 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
33825 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
33827 (PSEUDO_END): Likewise.
33828 [IS_IN (libpthread)] (CENABLE): Likewise.
33829 [IS_IN (libpthread)] (CDISABLE): Likewise.
33830 [IS_IN (libc)] (CENABLE): Likewise.
33831 [IS_IN (libc)] (CENABLE): Likewise.
33832 [IS_IN (librt)] (CDISABLE): Likewise.
33833 [IS_IN (librt)] (CDISABLE): Likewise.
33834 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33835 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
33837 (PSEUDO_END): Likewise.
33838 [IS_IN (libpthread)] (CENABLE): Likewise.
33839 [IS_IN (libpthread)] (CDISABLE): Likewise.
33840 [IS_IN (libc)] (CENABLE): Likewise.
33841 [IS_IN (libc)] (CENABLE): Likewise.
33842 [IS_IN (librt)] (CDISABLE): Likewise.
33843 [IS_IN (librt)] (CDISABLE): Likewise.
33844 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33845 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
33847 (PSEUDO_END): Likewise.
33848 [IS_IN (libpthread)] (CENABLE): Likewise.
33849 [IS_IN (libpthread)] (CDISABLE): Likewise.
33850 [IS_IN (libc)] (CENABLE): Likewise.
33851 [IS_IN (libc)] (CENABLE): Likewise.
33852 [IS_IN (librt)] (CDISABLE): Likewise.
33853 [IS_IN (librt)] (CDISABLE): Likewise.
33854 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33855 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
33856 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33857 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
33858 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
33860 (PSEUDO_END): Likewise.
33861 [IS_IN (libpthread)] (CENABLE): Likewise.
33862 [IS_IN (libpthread)] (CDISABLE): Likewise.
33863 [IS_IN (libc)] (CENABLE): Likewise.
33864 [IS_IN (libc)] (CENABLE): Likewise.
33865 [IS_IN (librt)] (CDISABLE): Likewise.
33866 [IS_IN (librt)] (CDISABLE): Likewise.
33867 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33868 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
33870 (PSEUDO_END): Likewise.
33871 [IS_IN (libpthread)] (CENABLE): Likewise.
33872 [IS_IN (libpthread)] (CDISABLE): Likewise.
33873 [IS_IN (libc)] (CENABLE): Likewise.
33874 [IS_IN (libc)] (CENABLE): Likewise.
33875 [IS_IN (librt)] (CDISABLE): Likewise.
33876 [IS_IN (librt)] (CDISABLE): Likewise.
33877 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33879 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
33881 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
33883 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
33885 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33887 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
33890 * string/stratcliff.c (do_test): Declare size, nchars, inner,
33891 middle and outer with size_t instead of int. Repleace %d and
33892 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
33893 "MAX (outer, nchars - 64)" to support unsigned outer and
33894 nchars. Also exit loop when outer == 0.
33896 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33898 * include/fcntl.h (__fcntl_nocancel): Remove definition.
33899 * include/signal.h (__sigsuspend_nocancel): Likewise.
33900 * include/time.h (__nanosleep_nocancel): Likewise.
33901 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
33902 * login/utmp_file.c: Include non cancellable syscall header.
33903 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
33906 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
33908 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
33909 .byte sequences with AVX512F instructions.
33910 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
33911 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
33912 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
33913 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
33915 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
33918 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
33919 Steve Ellcey <sellcey@cavium.com>
33921 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
33922 Use PTR_REG macro in cmp instruction.
33924 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33926 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
33927 Change the return type of the ifunc resolver to match the return
33928 type of the target function.
33930 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33932 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
33933 (preadv64): Likewise.
33934 (pwrite64(: Likewise.
33935 (pwritev64): Likewise.
33937 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
33938 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
33939 (LOAD_ARGS_0): Likewise.
33940 (LOAD_ARGS_1): Likewise.
33941 (LOAD_ARGS_2): Likewise.
33942 (LOAD_ARGS_3): Likewise.
33943 (LOAD_ARGS_4): Likewise.
33944 (LOAD_ARGS_5): Likewise.
33945 (LOAD_ARGS_6): Likewise.
33946 (LOAD_REGS_0): Likewise.
33947 (LOAD_REGS_1): Likewise.
33948 (LOAD_REGS_2): Likewise.
33949 (LOAD_REGS_3): Likewise.
33950 (LOAD_REGS_4): Likewise.
33951 (LOAD_REGS_5): Likewise.
33952 (LOAD_REGS_6): Likewise.
33953 (ASM_ARGS_0): Likewise.
33954 (ASM_ARGS_1): Likewise.
33955 (ASM_ARGS_2): Likewise.
33956 (ASM_ARGS_3): Likewise.
33957 (ASM_ARGS_4): Likewise.
33958 (ASM_ARGS_5): Likewise.
33959 (ASM_ARGS_6): Likewise.
33960 (LOAD_ARGS_TYPES_1): Likewise.
33961 (LOAD_ARGS_TYPES_2): Likewise.
33962 (LOAD_ARGS_TYPES_3): Likewise.
33963 (LOAD_ARGS_TYPES_4): Likewise.
33964 (LOAD_ARGS_TYPES_5): Likewise.
33965 (LOAD_ARGS_TYPES_6): Likewise.
33966 (LOAD_REGS_TYPES_1): Likewise.
33967 (LOAD_REGS_TYPES_2): Likewise.
33968 (LOAD_REGS_TYPES_3): Likewise.
33969 (LOAD_REGS_TYPES_4): Likewise.
33970 (LOAD_REGS_TYPES_5): Likewise.
33971 (LOAD_REGS_TYPES_6): Likewise.
33972 (TYPEFY): New define.
33973 (ARGIFY): Likewise.
33974 (internal_syscall0): Likewise.
33975 (internal_syscall1): Likewise.
33976 (internal_syscall2): Likewise.
33977 (internal_syscall3): Likewise.
33978 (internal_syscall4): Likewise.
33979 (internal_syscall5): Likewise.
33980 (internal_syscall6): Likewise.
33981 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
33982 (INTERNAL_SYSCALL_NCS): Remove define.
33983 (internal_syscall1): Add define.
33985 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33987 * math/w_remainder_compat.c: Remove duplicate inclusion of
33988 math-svid-compat.h.
33989 * math/w_remainderf_compat.c: Likewise.
33990 * math/w_remainderl_compat.c: Likewise.
33992 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33994 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33996 2017-08-22 Joseph Myers <joseph@codesourcery.com>
33999 * math/tgmath.h (__floating_type): Simplify definitions.
34000 (__real_integer_type): New macro.
34001 (__complex_integer_type): Likewise.
34002 (__expr_is_real): Likewise.
34003 (__tgmath_real_type_sub): Update comment to describe handling of
34005 (__tgmath_complex_type_sub): New macro.
34006 (__tgmath_complex_type): Likewise.
34007 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34008 (__TGMATH_CF128): Use __expr_is_real.
34009 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
34011 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34012 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
34013 * math/gen-tgmath-tests.py (Type.create_type): Create complex
34016 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34018 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
34020 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
34022 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
34025 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
34026 nanosleep_not_cancel with __nanosleep_nocancel.
34027 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
34028 (__nanosleep_nocancel): New macro.
34029 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
34031 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
34033 (__nanosleep_nocancel): New prototype.
34035 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
34036 pause_not_cancel with __pause_nocancel.
34037 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
34038 (__pause_nocancel): New macro.
34039 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
34041 (__pause_nocancel): New prototype.
34042 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
34044 2017-08-22 Martin Sebor <msebor@redhat.com>
34046 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
34047 to return a pointer to the same type as the target function.
34049 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
34053 * include/printf.h (__printf_fphex): Add attribute_hidden.
34054 (__guess_grouping): New prototype.
34055 * stdio-common/printf_fp.c (__guess_grouping): Removed.
34056 * stdio-common/reg-printf.c (__register_printf_specifier): Add
34057 libc_hidden_proto and libc_hidden_def.
34058 * stdlib/strfmon_l.c (__guess_grouping): Removed.
34059 (__vstrfmon_l): Remove the third argument passed to
34062 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34064 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
34065 definition for issignaling that does not rely on __MATH_TG,
34066 since __MATH_TG uses __builtin_types_compatible_p, which is only
34067 available in C mode.
34068 (CFLAGS-test-math-issignaling.cc): New variable.
34069 * math/Makefile [CXX] (tests): Add test-math-issignaling.
34070 * math/test-math-issignaling.cc: New test for C++ implementation
34071 of type-generic issignaling.
34072 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
34073 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
34074 options of test-math-issignaling on powerpc64le.
34076 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
34078 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
34080 (hidden_proto): Likewise.
34081 (hidden_tls_proto): Likewise.
34082 (__hidden_proto): Likewise.
34084 2017-08-22 Florian Weimer <fweimer@redhat.com>
34086 math: Statically link tests of internal functionality.
34087 * math/Makefile (tests): Remove atest-exp, atest-sincos,
34089 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
34090 (gmp-objs): Remove assignment.
34091 (atest-exp, atest-sincos, atest-exp2): Remove targets.
34093 2017-08-22 Joseph Myers <joseph@codesourcery.com>
34096 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
34098 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
34100 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
34103 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
34104 variable definitions above inclusion of ../Rules.
34106 2017-08-21 Joseph Myers <joseph@codesourcery.com>
34108 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
34109 case calling __builtin_unreachable.
34111 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34113 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
34114 __waitpid_nocancel.
34115 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
34116 (__waitpid_nocancel): New macro.
34117 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
34119 (__waitpid_nocancel): Replace macro with a function.
34120 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
34123 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
34125 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
34126 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
34128 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
34129 __writev_nocancel_nostatus.
34130 (write_call_graph): Likewise.
34131 (write_bb_counts): Likewise.
34132 * resolv/herror.c (herror): Likewise.
34133 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
34135 (__writev_nocancel_nostatus): New macro.
34136 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
34138 (__writev_nocancel_nostatus): New function.
34140 2017-08-21 Joseph Myers <joseph@codesourcery.com>
34143 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34145 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
34147 (hidden_proto): Likewise.
34148 (hidden_tls_proto): Likewise.
34149 (__hidden_proto): Likewise.
34152 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
34153 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
34154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
34156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
34158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
34160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
34162 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
34163 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
34164 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
34165 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
34166 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
34167 GLIBC_2.0 sqrtl symbol.
34169 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
34170 [__USE_MISC] (_LIB_VERSION): Likewise.
34171 [__USE_MISC] (struct exception): Likewise.
34172 [__USE_MISC] (matherr): Likewise.
34173 [__USE_MISC] (DOMAIN): Likewise.
34174 [__USE_MISC] (SING): Likewise.
34175 [__USE_MISC] (OVERFLOW): Likewise.
34176 [__USE_MISC] (UNDERFLOW): Likewise.
34177 [__USE_MISC] (TLOSS): Likewise.
34178 [__USE_MISC] (PLOSS): Likewise.
34179 [__USE_MISC] (HUGE): Likewise.
34180 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
34181 * math/math-svid-compat.h: New file.
34182 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
34184 * include/math.h [!_ISOMAC] (__matherr): Remove.
34185 * manual/arith.texi (FP Exceptions): Do not document matherr.
34186 * math/Makefile (tests): Change test-matherr to test-matherr-3.
34187 (tests-internal): New variable.
34188 (install-lib): Do not add libieee.a.
34189 (non-lib.a): Likewise.
34190 (extra-objs): Do not add libieee.a and ieee-math.o.
34191 (CPPFLAGS-s_lib_version.c): Remove variable.
34192 ($(objpfx)libieee.a): Remove rule.
34193 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
34194 * math/ieee-math.c: Remove.
34195 * math/libm-test-support.c (matherr): Remove.
34196 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
34197 and license notices. Include <math-svid-compat.h> and
34199 (matherr): Undefine as macro. Use compat_symbol_reference.
34200 (_LIB_VERSION): Likewise.
34201 * math/test-matherr-2.c: New file.
34202 * math/test-matherr-3.c: Likewise.
34203 * sysdeps/generic/math_private.h (__kernel_standard): Remove
34205 (__kernel_standard_f): Likewise.
34206 (__kernel_standard_l): Likewise.
34207 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
34208 <math_private.h>. Include <math-svid-compat.h>.
34209 (_LIB_VERSION): Undefine as macro.
34210 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
34211 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
34212 [LIBM_SVID_COMPAT], use compat_symbol.
34213 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
34214 <math_private.h>. Include <math-svid-compat.h>.
34215 (matherr): Undefine as macro.
34216 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
34218 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
34219 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
34220 compat_symbol_reference.
34221 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
34222 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
34223 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
34224 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
34225 (MATHERR_D): Remove declaration.
34226 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
34227 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
34228 [LIBM_BUILD] (pmatherrf): Likewise.
34229 [LIBM_BUILD] (pmatherr): Likewise.
34230 [LIBM_BUILD] (pmatherrl): Likewise.
34231 (DOMAIN): Likewise.
34233 (OVERFLOW): Likewise.
34234 (UNDERFLOW): Likewise.
34237 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
34238 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
34240 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
34241 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
34243 * math/lgamma-compat.h: Include <math-svid-compat.h>.
34244 * math/w_acos_compat.c: Likewise.
34245 * math/w_acosf_compat.c: Likewise.
34246 * math/w_acosh_compat.c: Likewise.
34247 * math/w_acoshf_compat.c: Likewise.
34248 * math/w_acoshl_compat.c: Likewise.
34249 * math/w_acosl_compat.c: Likewise.
34250 * math/w_asin_compat.c: Likewise.
34251 * math/w_asinf_compat.c: Likewise.
34252 * math/w_asinl_compat.c: Likewise.
34253 * math/w_atan2_compat.c: Likewise.
34254 * math/w_atan2f_compat.c: Likewise.
34255 * math/w_atan2l_compat.c: Likewise.
34256 * math/w_atanh_compat.c: Likewise.
34257 * math/w_atanhf_compat.c: Likewise.
34258 * math/w_atanhl_compat.c: Likewise.
34259 * math/w_cosh_compat.c: Likewise.
34260 * math/w_coshf_compat.c: Likewise.
34261 * math/w_coshl_compat.c: Likewise.
34262 * math/w_exp10_compat.c: Likewise.
34263 * math/w_exp10f_compat.c: Likewise.
34264 * math/w_exp10l_compat.c: Likewise.
34265 * math/w_exp2_compat.c: Likewise.
34266 * math/w_exp2f_compat.c: Likewise.
34267 * math/w_exp2l_compat.c: Likewise.
34268 * math/w_fmod_compat.c: Likewise.
34269 * math/w_fmodf_compat.c: Likewise.
34270 * math/w_fmodl_compat.c: Likewise.
34271 * math/w_hypot_compat.c: Likewise.
34272 * math/w_hypotf_compat.c: Likewise.
34273 * math/w_hypotl_compat.c: Likewise.
34274 * math/w_j0_compat.c: Likewise.
34275 * math/w_j0f_compat.c: Likewise.
34276 * math/w_j0l_compat.c: Likewise.
34277 * math/w_j1_compat.c: Likewise.
34278 * math/w_j1f_compat.c: Likewise.
34279 * math/w_j1l_compat.c: Likewise.
34280 * math/w_jn_compat.c: Likewise.
34281 * math/w_jnf_compat.c: Likewise.
34282 * math/w_jnl_compat.c: Likewise.
34283 * math/w_lgamma_main.c: Likewise.
34284 * math/w_lgamma_r_compat.c: Likewise.
34285 * math/w_lgammaf_main.c: Likewise.
34286 * math/w_lgammaf_r_compat.c: Likewise.
34287 * math/w_lgammal_main.c: Likewise.
34288 * math/w_lgammal_r_compat.c: Likewise.
34289 * math/w_log10_compat.c: Likewise.
34290 * math/w_log10f_compat.c: Likewise.
34291 * math/w_log10l_compat.c: Likewise.
34292 * math/w_log2_compat.c: Likewise.
34293 * math/w_log2f_compat.c: Likewise.
34294 * math/w_log2l_compat.c: Likewise.
34295 * math/w_log_compat.c: Likewise.
34296 * math/w_logf_compat.c: Likewise.
34297 * math/w_logl_compat.c: Likewise.
34298 * math/w_pow_compat.c: Likewise.
34299 * math/w_powf_compat.c: Likewise.
34300 * math/w_powl_compat.c: Likewise.
34301 * math/w_remainder_compat.c: Likewise.
34302 * math/w_remainderf_compat.c: Likewise.
34303 * math/w_remainderl_compat.c: Likewise.
34304 * math/w_scalb_compat.c: Likewise.
34305 * math/w_scalbf_compat.c: Likewise.
34306 * math/w_scalbl_compat.c: Likewise.
34307 * math/w_sinh_compat.c: Likewise.
34308 * math/w_sinhf_compat.c: Likewise.
34309 * math/w_sinhl_compat.c: Likewise.
34310 * math/w_sqrt_compat.c: Likewise.
34311 * math/w_sqrtf_compat.c: Likewise.
34312 * math/w_sqrtl_compat.c: Likewise.
34313 * math/w_tgamma_compat.c: Likewise.
34314 * math/w_tgammaf_compat.c: Likewise.
34315 * math/w_tgammal_compat.c: Likewise.
34316 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
34317 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
34318 * sysdeps/ieee754/k_standard.c: Likewise.
34319 * sysdeps/ieee754/k_standardf.c: Likewise.
34320 * sysdeps/ieee754/k_standardl.c: Likewise.
34321 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
34322 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
34323 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
34324 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
34325 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
34326 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
34327 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
34328 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
34329 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
34330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
34332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
34334 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
34335 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
34336 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
34337 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
34339 2017-08-21 Florian Weimer <fweimer@redhat.com>
34342 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
34343 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
34344 Move before inclusion of ../Rules.
34346 2017-08-21 Florian Weimer <fweimer@redhat.com>
34349 * assert/assert.h (assert): Use static_cast (bool) for C++.
34350 Use the ternary operator in the warning branch for GNU C.
34351 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
34352 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
34353 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
34354 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
34355 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
34357 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34360 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34361 (__syscall_clock_gettime): Add attribute_hidden.
34362 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
34363 (__start_context): Likewise.
34365 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34367 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
34369 (hidden_proto): Likewise.
34370 (hidden_tls_proto): Likewise.
34371 (__hidden_proto): Likewise.
34373 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34375 * include/libc-symbols.h (attribute_hidden): Enable hidden
34376 visibility in libc.a compiled with PIE.
34378 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34381 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
34382 Add attribute_hidden.
34384 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34387 * Makerules (all-nonlib): Add $(others-extras).
34388 * catgets/Makefile (others-extras): New.
34389 * elf/Makefile (others-extras): Likewise.
34390 * nss/Makefile (others-extras): Likewise.
34392 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34395 * csu/libc-start.c (__libc_multiple_libcs): Removed.
34396 * elf/dl-open.c: Include <libc-internal.h>.
34397 (__libc_multiple_libcs): Removed.
34398 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
34400 * include/libc-internal.h (__libc_multiple_libcs): New.
34401 * misc/sbrk.c: Include <libc-internal.h>.
34402 (__libc_multiple_libcs): Removed.
34404 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34407 * grp/initgroups.c (__nss_group_database): Removed.
34408 (__nss_initgroups_database): Likewise.
34409 * nscd/gai.c (__nss_hosts_database): Likewise.
34410 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
34411 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
34412 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
34413 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
34414 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
34415 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
34417 * nss/nsswitch.c (__nss_database_custom): Define only if
34418 USE_NSCD is defined.
34419 (__nss_configure_lookup): Use __nss_database_custom only if
34420 USE_NSCD is defined.
34421 * nss/nsswitch.h (__nss_database_custom): Declare only if
34422 USE_NSCD is defined. Add attribute_hidden.
34423 (__nss_setent): Add attribute_hidden.
34424 (__nss_endent): Likewise.
34425 (__nss_getent_r): Likewise.
34426 (__nss_getent): Likewise.
34427 (DEFINE_DATABASE): Declare __nss_##arg##_database.
34429 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34432 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
34433 libc_hidden_proto and libc_hidden_def.
34435 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34438 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
34439 Add libc_hidden_proto.
34440 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
34441 Add libc_hidden_def.
34443 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34446 * gmon/Makefile (routines): Remove bb_init_func and
34448 (elide-routines.os): Removed.
34449 * gmon/bb_exit_func.c: Likewise.
34450 * gmon/bb_init_func.c: Likewise.
34451 * include/sys/gmon.h (__bb): Likewise.
34452 (__bb_init_func): Likewise.
34453 (__bb_exit_func): Likewise.
34454 * sysdeps/alpha/bb_init_func.S: Likewise.
34456 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34458 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
34459 * include/setjmp.h (____longjmp_chk): Here. Add
34462 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
34465 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
34467 (__strspn_sse2): Likewise.
34469 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34471 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
34472 (close_not_cancel_no_status): Likewise.
34473 (__close_nocancel): New macro.
34474 (__close_nocancel_nostatus): Likewise.
34475 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
34477 (close_not_cancel): Likewise.
34478 (close_not_cancel_no_status): Likewise.
34479 (__close_nocancel): New prototype.
34480 (__close_nocancel_nostatus): New function.
34481 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
34482 * catgets/open_catalog.c (__open_catalog): Replace
34483 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
34484 * gmon/gmon.c (write_gmon): Likewise.
34485 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
34486 * intl/loadmsgcat.c (close): Likewise.
34487 * io/ftw.c (open_dir_stream): Likewise.
34488 (ftw_startup): Likewise.
34489 * libio/fileops.c (_IO_file_open): Likewise.
34490 (_IO_file_close_mmap): Likewise.
34491 (_IO_file_close): Likewise.
34492 * libio/iopopen.c (_IO_dup2): Likewise.
34493 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34494 * locale/loadlocale.c (_nl_load_locale): Likewise.
34495 * login/utmp_file.c (pututline_file): Likewise.
34496 (endutent_file): Likewise.
34497 * misc/daemon.c (daemon): Likewise.
34498 * nscd/nscd_getai.c (__nscd_getai): Likewise.
34499 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34500 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
34501 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
34502 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34503 * nscd/nscd_helper.c (open_socket): Likewise.
34504 (__nscd_open_socket): Likewise.
34505 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
34506 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
34507 (__nscd_innetgr): Likewise.
34508 * nss/nss_db/db-open.c (internal_setent): Likewise.
34509 * resolv/res-close.c (__res_iclose): Likewise.
34510 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
34511 * sysdeps/posix/closedir.c (__closedir): Likewise.
34512 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
34513 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
34514 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
34515 (opendir_tail): Likewise.
34516 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
34517 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
34518 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
34519 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
34520 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
34521 (gethostid): Likewise.
34522 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
34523 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34525 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34526 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
34527 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
34528 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
34530 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
34531 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
34532 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
34534 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
34535 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
34537 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
34539 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
34540 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
34541 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
34544 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
34545 (openat_not_cancel_3): Likewise.
34546 (openat64_not_cancel_3): Likewise).
34547 (openat_not_cancel_3): Likewise).
34548 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
34550 (openat_not_cancel_3): Likewise.
34551 (openat64_not_cancel): Likewise.
34552 (openat64_not_cancel_3): Likewise.
34553 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
34554 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
34555 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
34556 __open{64}_nocancel.
34557 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
34558 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
34559 * sysdeps/posix/opendir.c (__opendirat): Likewise.
34561 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
34564 * include/argz.h (__argz_create_sep): New function prototype.
34565 (__argz_append): Likewise.
34566 (__argz_add): Likewise.
34567 (__argz_add_sep): Likewise.
34568 (__argz_delete): Likewise.
34569 (__argz_insert): Likewise.
34570 (__argz_replace): Likewise.
34571 * string/argz.h (__argz_create_sep): Removed.
34572 (__argz_append): Likewise.
34573 (__argz_add): Likewise.
34574 (__argz_add_sep): Likewise.
34575 (__argz_delete): Likewise.
34576 (__argz_insert): Likewise.
34577 (__argz_replace): Likewise.
34579 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
34581 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
34582 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
34583 (GNU_PROPERTY_STACK_SIZE): Likewie.
34584 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
34585 (GNU_PROPERTY_LOPROC): Likewise.
34586 (GNU_PROPERTY_HIPROC): Likewise.
34587 (GNU_PROPERTY_LOUSER): Likewise.
34588 (GNU_PROPERTY_HIUSER): Likewise.
34589 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
34590 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
34591 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
34592 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
34593 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
34594 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
34595 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
34596 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
34597 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
34598 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
34599 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
34600 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
34601 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
34602 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
34603 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
34604 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
34605 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
34606 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
34607 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
34608 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
34609 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
34610 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
34611 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
34613 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34615 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
34618 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34621 * math/math.h (isinf): Check if in C or C++ mode before using
34622 __builtin_types_compatible_p, since this is a C mode feature.
34624 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34626 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
34627 (__write_nocancel): New macro.
34628 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
34629 Rewrite as a function prototype.
34630 (write_not_cancel): Remove macro.
34631 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
34632 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
34633 (write_gmon): Likewise.
34634 * libio/fileops.c (_IO_new_file_write): Likewise.
34635 * login/utmp_file.c (pututline_file): Likewise.
34636 (updwtmp_file): Likewise.
34637 * stdio-common/psiginfo.c (psiginfo): Likewise.
34638 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
34639 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
34640 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34642 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
34645 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
34646 (__read_nocancel): New macro.
34647 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
34649 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
34651 (__read_nocancel): New prototype.
34652 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
34653 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
34654 with __read_nocancel.
34655 * intl/loadmsgcat.c (read): Likewise.
34656 * libio/fileops.c (_IO_file_read): Likewise.
34657 * locale/loadlocale.c (_nl_load_locale): Likewise.
34658 * login/utmp_file.c (getutent_r_file): Likewise.
34659 (internal_getut_r): Likewise.
34660 (getutline_r_file): Likewise.
34661 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
34662 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
34663 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
34664 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34666 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
34667 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
34668 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
34670 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34672 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
34674 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
34676 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
34678 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
34681 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
34682 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
34685 2017-08-17 DJ Delorie <dj@redhat.com>
34687 * bug17079.c: Update to new test harness.
34688 * test-digits-dots.c: Likewise.
34689 * test-netdb.c: Likewise.
34690 * tst-field.c: Likewise.
34691 * tst-nss-getpwent.c: Likewise.
34692 * tst-nss-static.c: Likewise.
34693 * tst-nss-test1.c: Likewise.
34694 * tst-nss-test2.c: Likewise.
34695 * tst-nss-test3.c: Likewise.
34696 * tst-nss-test4.c: Likewise.
34697 * tst-nss-test5.c: Likewise.
34699 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34701 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
34702 (open_not_cancel_2): Likewise.
34703 (open_nocancel): New macro.
34704 (open64_nocancel): Likewise.
34705 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
34706 (open_not_cancel_2): Likewise.
34707 (__open_nocancel): New prototype.
34708 (__open64_nocancel): Likewise.
34709 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
34711 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
34712 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
34713 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
34714 with __open_nocancel.
34715 * csu/check_fds.c (check_one_fd): Likewise.
34716 * gmon/gmon.c (write_gmon): Likewise.
34717 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
34718 * intl/loadmsgcat.c (open): Likewise.
34719 * libio/fileops.c (_IO_file_open): Likewise.
34720 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34721 * locale/loadlocale.c (_nl_load_locale): Likewise.
34722 * login/utmp_file.c (setutent_file): Likewise.
34723 * misc/daemon.c (daemon): Likewise.
34724 * nss/nss_db/db-open.c (internal_setent): Likewise.
34725 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
34726 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
34727 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
34728 (__opendir): Likewise.
34729 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
34730 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
34731 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
34732 (gethostid): Likewise.
34733 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
34734 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34736 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34737 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
34738 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
34739 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
34741 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34743 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
34745 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
34747 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
34749 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
34751 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
34752 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
34754 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
34756 * benchtests/bench-skeleton.c (main): Add support for
34757 latency benchmarking.
34758 * benchtests/scripts/bench.py: Add support for latency benchmarking.
34760 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
34762 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
34763 the startup object.
34765 2017-08-17 Florian Weimer <fweimer@redhat.com>
34767 * include/sys/socket.h (__opensock): Remove internal_function.
34768 * socket/opensock.c (__opensock): Likewise.
34769 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
34771 2017-08-16 Joseph Myers <joseph@codesourcery.com>
34774 * signal/bits/types/__sigval_t.h: New file.
34775 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
34776 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
34777 and define sigval_t using __sigval_t.
34778 * include/bits/types/__sigval_t.h: New file.
34779 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
34780 instead of <bits/types/__sigval_t.h>.
34781 (struct sigevent): Use __sigval_t instead of sigval_t.
34782 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
34783 instead of <bits/types/__sigval_t.h>.
34784 (siginfo_t): Use __sigval_t instead of sigval_t.
34785 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
34786 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
34787 (struct sigevent): Use __sigval_t instead of sigval_t.
34788 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
34789 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
34790 (siginfo_t): Use __sigval_t instead of sigval_t.
34791 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
34793 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
34795 * NEWS: Remove "[Add new features here]" for 2.27.
34797 2017-08-16 Joseph Myers <joseph@codesourcery.com>
34799 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
34802 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
34804 * NEWS: Mention x86-64 FMA optimization.
34806 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
34809 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34811 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
34812 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
34813 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
34815 2017-08-16 Andreas Schwab <schwab@suse.de>
34819 * elf/ldd.bash.in: Never run file directly.
34821 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
34824 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
34825 (L(SP_INF_0)): Likewise.
34827 2017-08-15 Florian Weimer <fweimer@redhat.com>
34829 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
34832 2017-08-15 Florian Weimer <fweimer@redhat.com>
34834 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
34835 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
34836 BROKEN_THREAD_SIGNALS code.
34837 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
34838 request_list): Remove caller_pid member used for
34839 BROKEN_THREAD_SIGNALS.
34840 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
34841 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
34842 Remove BROKEN_THREAD_SIGNALS support.
34843 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
34844 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
34846 2017-08-15 Florian Weimer <fweimer@redhat.com>
34848 * gmon/Makefile (tests): Add tst-gmon.
34849 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
34851 (tests-special): Add tst-gmon-prof.out.
34852 (tst-gmon.out): Depend on clean-tst-gmon-data.
34853 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
34854 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
34855 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
34857 * aclocal.m4 (GPROF): Set and substitute.
34858 * config.amke.in (GPROF): Set.
34859 * configure: Regenerate.
34861 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
34863 * elf/elf.h A (NT_PPC_TAR): New macro.
34864 (NT_PPC_PPR): Likewise.
34865 (NT_PPC_DSCR): Likewise.
34866 (NT_PPC_EBB): Likewise.
34867 (NT_PPC_PMU): Likewise.
34868 (NT_PPC_TM_CGPR): Likewise.
34869 (NT_PPC_TM_CFPR): Likewise.
34870 (NT_PPC_TM_CVMX): Likewise.
34871 (NT_PPC_TM_CVSX): Likewise.
34872 (NT_PPC_TM_SPR): Likewise.
34873 (NT_PPC_TM_CTAR): Likewise.
34874 (NT_PPC_TM_CPPR): Likewise.
34875 (NT_PPC_TM_CDSCR): Likewise.
34877 2017-08-15 Florian Weimer <fweimer@redhat.com>
34879 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
34880 regparm (2) instead of internal_function.
34881 (_MCOUNT_DECL): Adjust.
34883 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
34885 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
34886 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
34888 2017-08-14 Joseph Myers <joseph@codesourcery.com>
34890 * conform/data/sys/wait.h-data (si_value): Do not expect for
34893 2017-08-14 Florian Weimer <fweimer@redhat.com>
34896 NSS: Create stubs for accidentally exported lookup functions.
34897 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
34898 Remove declaration.
34899 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
34900 (ether_hostton): Call __nss_ethers_lookup2 instead.
34901 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
34902 (ether_ntohost): Call __nss_ethers_lookup2 instead.
34903 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
34904 (setup): Call __nss_netgroup_lookup2 instead.
34905 * nss/Makefile (routines): Add compat-lookup.
34906 * nss/Versions (GLIBC_2.27): Add symbol version.
34907 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
34908 (DB_COMPAT_FCT): Remove.
34909 * nss/compat-lookup.c: New file.
34910 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
34911 from databases.def.
34912 * nss/service-lookup.c (NO_COMPAT): Remove definition.
34913 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
34914 (netname2user): Call __nss_publickey_lookup2 instead.
34915 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
34916 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
34919 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34920 Sergei Trofimovich <slyfox@inbox.ru>
34923 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
34924 Rename to MMAP2_PAGE_UNIT.
34925 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
34926 __OFF_T_MATCHES_OFF64_T is not defined.
34927 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
34929 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
34930 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
34932 2017-08-14 Florian Weimer <fweimer@redhat.com>
34934 i386: Do not set internal_function.
34935 * config.h.in (USE_REGPARMS, internal_function): Remove.
34936 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
34937 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
34939 2017-08-14 Florian Weimer <fweimer@redhat.com>
34941 * elf/dl-init.c (_dl_init): Remove internal_function.
34942 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
34943 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
34945 2017-08-14 Florian Weimer <fweimer@redhat.com>
34947 * elf/rtld.c (_dl_start): Remove internal_function.
34948 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
34951 2017-08-14 Florian Weimer <fweimer@redhat.com>
34953 * elf/dl-fini.c (_dl_fini): Remove internal_function
34954 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
34956 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
34958 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
34959 (bit_cpu_SHSTK): Likewise.
34960 (index_cpu_IBT): Likewise.
34961 (index_cpu_SHSTK): Likewise.
34962 (reg_IBT): Likewise.
34963 (reg_SHSTK): Likewise.
34964 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
34965 Handle index_cpu_IBT and index_cpu_SHSTK.
34967 2017-08-14 Mike FABIAN <mfabian@redhat.com>
34970 * po/fr.po: Fix spelling mistake.
34972 2017-08-13 Florian Weimer <fweimer@redhat.com>
34974 * elf/dl-addr.c (_dl_addr): Remove internal_function.
34975 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
34976 (_dl_catch_error, _dl_receive_error): Likewise.
34977 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
34978 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
34979 (_dl_deallocate_tls): Likewise.
34980 * include/dlfcn.h (_dl_addr): Likewise.
34981 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
34982 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
34983 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
34986 2017-08-13 Florian Weimer <fweimer@redhat.com>
34988 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
34989 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
34991 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
34993 2017-08-13 Florian Weimer <fweimer@redhat.com>
34995 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
34997 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
34998 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
34999 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
35000 internal_function from _dl_make_stack_executable_hook member.
35001 (_dl_make_stack_executable): Remove internal_function.
35002 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
35004 * sysdeps/unix/sysv/linux/dl-execstack.c
35005 (_dl_make_stack_executable): Likewise.
35007 2017-08-13 Florian Weimer <fweimer@redhat.com>
35009 * sysdeps/unix/sysv/linux/netlinkaccess.h
35010 (__netlink_assert_response): Remove internal_function.
35011 * sysdeps/unix/sysv/linux/netlink_assert_response.c
35012 (__netlink_assert_response): Likewise.
35014 2017-08-13 Florian Weimer <fweimer@redhat.com>
35016 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
35018 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
35020 2017-08-13 Florian Weimer <fweimer@redhat.com>
35022 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
35024 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
35025 * inet/netgroup.h (__internal_setnetgrent)
35026 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
35027 * inet/getnetgrent_r.c (__internal_setnetgrent)
35028 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
35029 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
35030 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
35031 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
35032 * nss/nsswitch.h (db_lookup_function): Likewise.
35034 2017-08-13 Florian Weimer <fweimer@redhat.com>
35036 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
35037 Remove internal_function.
35038 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
35039 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
35040 message argument on the stack.
35041 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
35044 2017-08-12 Mike FABIAN <mfabian@redhat.com>
35046 Adapt test case data to the changes in the thousands
35050 * localedata/tst-langinfo.sh: Adapt test case data.
35051 * stdlib/tst-strfmon_l.c: Likewise.
35052 * stdlib/tst-strtod4.c: Likewise.
35053 * stdlib/tst-strtod5i.c: Likewise.
35055 2017-08-11 Florian Weimer <fweimer@redhat.com>
35058 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
35059 Suppress pedantic warning resulting from statement expression.
35060 (__ASSERT_FUNCTION): Add missing __extension__.
35062 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
35064 * benchtests/bench-memmove-large.c: Print output in JSON
35066 * benchtests/bench-memmove.c: Likewise.
35068 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
35069 * benchtests/bench-memchr.c (do_one_test): Likewise.
35070 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
35071 * benchtests/bench-memcpy.c (do_one_test): Likewise.
35072 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
35073 * benchtests/bench-memmove.c (do_one_test): Likewise.
35074 * benchtests/bench-memset-large.c (do_one_test): Likewise.
35075 * benchtests/bench-memset.c (do_one_test): Likewise.
35076 * benchtests/bench-string.h (test_init): Remove memsets.
35078 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
35081 (Computing the Width of an Integer Data Type): Rename section to
35082 "Width of an Integer Type". Remove inaccurate statement regarding
35083 lack of C language facilities for determining width of integer
35084 types, and reorder content to improve flow and context of
35087 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
35089 * lang.texi (va_copy): Change standard from ISO to C99.
35090 (__va_copy): Add standard and header annotation.
35091 Update description for clarity of origins and current use.
35093 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35096 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
35097 xssqrtqp requires operands to be in Vector Registers
35098 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
35099 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
35100 (__ieee754_sqrtf128): Likewise.
35102 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
35104 * sysdeps/aarch64/memcmp.S (memcmp):
35105 Rewrite of optimized memcmp.
35107 2017-08-10 Florian Weimer <fweimer@redhat.com>
35109 Introduce ld.so exceptions.
35110 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
35111 (_dl_exception_create, _dl_exception_create_format)
35112 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
35113 (_dl_catch_exception): Declare.
35114 (_dl_catch_error): Update comment.
35115 * elf/dl-error-skeleton.c (struct catch): Replace objname,
35116 errstring, malloced members with exception member.
35117 (_dl_out_of_memory): Remove.
35118 (fatal_error): New function, extracted from _dl_signal_error.
35119 (_dl_signal_exception, _dl_signal_cexception): New functions.
35120 (_dl_signal_error): Call _dl_exception_create to allocate an
35122 (_dl_catch_exception): New function, based on _dl_catch_error.
35123 (_dl_catch_error): Implement using _dl_catch_exception.
35124 * elf/dl-exception.c: New file.
35125 * elf/Makefile (dl-routines): Add dl-exception.
35126 (elide-routines.os): Likewise.
35127 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
35128 _dl_exception_create_format, _dl_exception_free.
35129 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
35130 _dl_signal_exception.
35131 * elf/dl-lookup.c (make_string): Remove.
35132 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
35133 _dl_signal_cexception, _dl_exception_free.
35134 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
35135 _dl_signal_exception.
35136 * elf/dl-sym.c (do_sym): Likewise.
35137 * elf/dl-version.c (make_string): Remove.
35138 (match_symbol): Use _dl_exception_create_format,
35139 _dl_signal_cexception, _dl_exception_free.
35140 (_dl_check_map_versions): Likewise.
35141 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
35142 _dl_catch_exception.
35143 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
35144 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
35145 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
35146 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
35147 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
35148 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
35149 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
35150 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
35152 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
35153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
35155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
35157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
35159 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
35160 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
35161 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
35163 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
35165 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
35167 2017-08-10 Florian Weimer <fweimer@redhat.com>
35169 * inet/net-internal.h (__inet6_scopeid_pton): Remove
35170 attribute_hidden, internal_function.
35171 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
35174 2017-08-10 Florian Weimer <fweimer@redhat.com>
35176 * malloc/malloc.c (get_max_fast): Reimplement as an inline
35177 function which calls __builtin_unreachable.
35179 2017-08-10 Mike FABIAN <mfabian@redhat.com>
35181 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
35182 Indian monetary formatting
35183 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
35186 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
35188 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
35189 Fix typo in comment.
35192 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
35193 PTRACE_SEIZE_DEVEL): Remove.
35194 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
35195 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35196 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35197 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35198 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35200 2017-08-09 Joseph Myers <joseph@codesourcery.com>
35202 * posix/bits/types.h (__qaddr_t): Remove.
35205 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
35206 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35208 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
35209 (ucontext_t): Use __ctx with uc_flags.
35210 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
35211 (__ctxt): Likewise.
35212 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35214 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
35215 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35217 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
35218 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35220 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
35222 (ucontext_t): Use __ctx with uc_flags.
35223 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
35224 (ucontext_t): Use __ctx with uc_flags.
35225 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
35226 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
35227 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
35228 (ucontext_t): Use __ctx with uc_flags.
35229 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
35230 undefine further down.
35231 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35233 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
35234 undefine further down.
35235 (ucontext_t): Use __ctx with uc_flags.
35236 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
35237 undefine further down.
35238 (ucontext_t): Use __ctx with uc_flags.
35239 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
35240 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
35241 Rename uc_pad to __glibc_reserved1.
35242 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
35243 undefine further down.
35244 (ucontext_t): Use __ctx with uc_flags.
35245 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
35247 (ucontext_t): Use __ctx with uc_flags.
35248 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
35249 __ctx with uc_flags.
35250 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
35251 (ucontext_t): Use __ctx with uc_flags.
35252 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
35253 __ctx with uc_flags.
35255 2017-08-09 Florian Weimer <fweimer@redhat.com>
35258 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
35259 before early return.
35261 2017-08-09 Andreas Schwab <schwab@suse.de>
35264 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
35268 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
35269 tst-compat-forwarder.
35270 (modules-names): Add tst-compat-forwarder-mod.
35271 ($(objpfx)tst-compat-forwarder): Depend on
35272 $(objpfx)tst-compat-forwarder-mod.so.
35273 * nptl/tst-compat-forwarder.c: New file.
35274 * nptl/tst-compat-forwarder-mod.c: New file.
35276 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
35278 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
35281 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
35282 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
35284 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
35286 (__libc_ifunc_impl_list): Add __memcpy_falkor.
35287 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
35288 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
35289 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
35291 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
35294 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35297 * manual/setjmp.texi (getcontex): Document uc_stack value
35298 compatibility differences.
35300 2017-08-08 Joseph Myers <joseph@codesourcery.com>
35302 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
35303 (old_malloc_hook): Likewise.
35304 (old_memalign_hook): Likewise.
35305 (old_realloc_hook): Likewise.
35306 (struct hdr): Likewise.
35308 (freehook): Likewise.
35309 (mallochook): Likewise.
35310 (memalignhook): Likewise.
35311 (reallochook): Likewise.
35312 (mprobe): Likewise.
35313 * malloc/mtrace.c (mallwatch): Likewise.
35314 (tr_old_free_hook): Likewise.
35315 (tr_old_malloc_hook): Likewise.
35316 (tr_old_realloc_hook): Likewise.
35317 (tr_old_memalign_hook): Likewise.
35318 (tr_where): Likewise.
35319 (lock_and_info): Likewise.
35320 (tr_freehook): Likewise.
35321 (tr_mallochook): Likewise.
35322 (tr_reallochook): Likewise.
35323 (tr_memalignhook): Likewise.
35324 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
35325 * misc/mmap.c (__mmap): Likewise.
35326 * misc/mmap64.c (__mmap64): Likewise.
35327 * misc/mprotect.c (__mprotect): Likewise.
35328 * misc/msync.c (msync): Likewise.
35329 * misc/munmap.c (__munmap): Likewise.
35330 * posix/posix_madvise.c (posix_madvise): Likewise.
35331 * socket/send.c (__send): Likewise.
35332 * socket/sendto.c (__sendto): Likewise.
35333 * socket/setsockopt.c (__setsockopt): Likewise.
35334 * string/memcmp.c (__ptr_t): Remove macro.
35335 (MEMCMP): Use void * instead of ptr_t.
35336 * string/memrchr.c (__ptr_t): Remove macro.
35337 (__memrchr): Use void * instead of ptr_t.
35338 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
35339 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
35340 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
35341 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
35342 * sysdeps/mach/msync.c (msync): Likewise.
35343 * sysdeps/mach/munmap.c (__munmap): Likewise.
35344 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
35346 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
35347 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
35348 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
35349 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
35350 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
35351 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
35352 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
35353 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
35355 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
35356 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
35357 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
35358 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
35359 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
35360 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
35361 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
35362 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
35363 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
35365 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
35366 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
35367 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
35368 (MEMCMP): Use void * instead of ptr_t.
35369 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
35370 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
35372 2017-08-08 Florian Weimer <fweimer@redhat.com>
35374 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
35377 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
35380 * csu/libc-tls.c: Include <startup.h> first.
35381 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
35382 * elf/dl-tunables.c: Include <startup.h> first.
35383 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
35384 * sysdeps/generic/startup.h: New file.
35385 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
35386 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
35387 (I386_USE_SYSENTER): New. Defined to 0.
35389 2017-08-08 Andreas Schwab <schwab@suse.de>
35392 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
35393 * nptl/pt-system.c (system): Likewise.
35395 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35398 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
35400 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
35401 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
35402 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
35403 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
35404 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
35405 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
35406 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
35408 2017-08-07 Joseph Myers <joseph@codesourcery.com>
35411 * bits/sigaction.h (struct sigaction): Define sa_handler and
35412 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
35413 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35414 [__USE_XOPEN_EXTENDED].
35415 (SA_RESTART): Likewise.
35416 (SA_NODEFER): Likewise.
35417 (SA_RESETHAND): Likewise.
35418 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
35419 (struct sigaction): Define sa_handler and sa_sigaction using union
35420 also for [__USE_XOPEN_EXTENDED].
35421 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35422 [__USE_XOPEN_EXTENDED].
35423 (SA_RESTART): Likewise.
35424 (SA_NODEFER): Likewise.
35425 (SA_RESETHAND): Likewise.
35426 * sysdeps/unix/sysv/linux/bits/sigaction.h
35427 (struct sigaction): Define sa_handler and sa_sigaction using union
35428 also for [__USE_XOPEN_EXTENDED].
35429 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35430 [__USE_XOPEN_EXTENDED].
35431 (SA_RESTART): Likewise.
35432 (SA_NODEFER): Likewise.
35433 (SA_RESETHAND): Likewise.
35434 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
35435 (struct sigaction): Define sa_handler and sa_sigaction using union
35436 also for [__USE_XOPEN_EXTENDED].
35437 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35438 [__USE_XOPEN_EXTENDED].
35439 (SA_RESTART): Likewise.
35440 (SA_NODEFER): Likewise.
35441 (SA_RESETHAND): Likewise.
35442 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
35443 (struct sigaction): Define sa_handler and sa_sigaction using union
35444 also for [__USE_XOPEN_EXTENDED].
35445 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35446 [__USE_XOPEN_EXTENDED].
35447 (SA_RESTART): Likewise.
35448 (SA_NODEFER): Likewise.
35449 (SA_RESETHAND): Likewise.
35450 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
35451 (struct sigaction): Define sa_handler and sa_sigaction using union
35452 also for [__USE_XOPEN_EXTENDED].
35453 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35454 [__USE_XOPEN_EXTENDED].
35455 (SA_RESTART): Likewise.
35456 (SA_NODEFER): Likewise.
35457 (SA_RESETHAND): Likewise.
35458 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
35459 (struct sigaction): Define sa_handler and sa_sigaction using union
35460 also for [__USE_XOPEN_EXTENDED].
35461 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35462 [__USE_XOPEN_EXTENDED].
35463 (SA_RESTART): Likewise.
35464 (SA_NODEFER): Likewise.
35465 (SA_RESETHAND): Likewise.
35466 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
35467 (struct sigaction): Define sa_handler and sa_sigaction using union
35468 also for [__USE_XOPEN_EXTENDED].
35469 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35470 [__USE_XOPEN_EXTENDED].
35471 (SA_RESTART): Likewise.
35472 (SA_NODEFER): Likewise. Define directly rather than as alias.
35473 (SA_RESETHAND): Likewise.
35474 (SA_INTERRUPT): Define only for [__USE_MISC].
35475 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
35476 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
35478 (SA_STACK): Define only for [__USE_MISC].
35479 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
35480 (struct sigaction): Define sa_handler and sa_sigaction using union
35481 also for [__USE_XOPEN_EXTENDED].
35482 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35483 [__USE_XOPEN_EXTENDED].
35484 (SA_RESTART): Likewise.
35485 (SA_NODEFER): Likewise.
35486 (SA_RESETHAND): Likewise.
35487 (SA_NOPTRACE): Define only for [__USE_MISC].
35489 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
35490 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
35491 (struct catalog_info): Likewise.
35492 * inet/htontest.c (lo): Likewise.
35494 * inet/inet_lnaof.c (inet_lnaof): Likewise.
35495 * inet/inet_net.c (inet_network): Likewise.
35496 * inet/inet_netof.c (inet_netof): Likewise.
35497 * inet/rcmd.c (__ivaliduser): Likewise.
35498 (iruserok): Likewise.
35499 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
35500 * locale/programs/locale-spec.c (locale_special): Likewise.
35501 * nis/nis_findserv.c (struct findserv_req): Likewise.
35502 (__nis_findfastest_with_timeout): Likewise.
35503 * nss/test-netdb.c (test_network): Likewise.
35504 * resolv/inet_neta.c (inet_neta): Likewise.
35505 * resolv/ns_date.c (ns_datetosecs): Likewise.
35506 (SECS_PER_DAY): Likewise.
35507 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
35509 * resolv/res_comp.c (__putlong): Likewise.
35510 (__putshort): Likewise.
35511 (_getlong): Likewise.
35512 (_getshort): Likewise.
35513 * resolv/res_debug.c (p_time): Likewise.
35514 (precsize_ntoa): Likewise.
35515 (precsize_aton): Likewise.
35516 (latlon2ul): Likewise.
35517 (loc_aton): Likewise.
35518 (loc_ntoa): Likewise.
35519 * resolv/res_hconf.c (struct netaddr): Likewise.
35520 (_res_hconf_reorder_addrs): Likewise.
35521 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
35522 (clnttcp_control): Likewise.
35523 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
35524 (clntudp_control): Likewise.
35525 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
35526 (clntunix_control): Likewise.
35527 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
35528 * sunrpc/rpc/auth.h (union des_block): Likewise.
35529 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
35530 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
35531 (xdrrec_create): Likewise.
35532 (xdrrec_endofrecord): Likewise.
35533 (flush_out): Likewise.
35534 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
35535 (xdrstdio_putlong): Likewise.
35536 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
35539 * misc/sys/cdefs.h (__long_double_t): Remove.
35540 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
35541 instead of __long_double_t,
35542 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
35544 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
35546 * benchtests/scripts/compare_strings.py: Avoid display error when
35547 running on a text terminal.
35549 * benchtests/scripts/compare_strings.py (main): Add an
35550 optional -base option.
35551 (process_results): New argument base_func.
35553 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
35555 * benchtests/bench-memcpy-large.c (test_name): Likewise.
35556 * benchtests/bench-memcpy-random.c (test_name): Likewise.
35558 2017-08-07 Andreas Schwab <schwab@suse.de>
35560 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
35561 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
35562 * intl/Makefile ($(objpfx)tst-gettext.out)
35563 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
35564 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
35565 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
35566 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
35567 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
35568 * posix/Makefile ($(objpfx)globtest.out)
35569 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
35570 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
35571 ($(objpfx)tst-printf.out): Likewise.
35572 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
35573 ($(objpfx)tst-setcontext3.out): Likewise.
35575 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
35577 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35578 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
35579 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
35580 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
35581 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
35583 (CFLAGS-doasin-fma.c): New.
35584 (CFLAGS-dosincos-fma.c): Likewise.
35585 (CFLAGS-e_asin-fma.c): Likewise.
35586 (CFLAGS-e_atan2-fma.c): Likewise.
35587 (CFLAGS-e_exp-fma.c): Likewise.
35588 (CFLAGS-e_log-fma.c): Likewise.
35589 (CFLAGS-e_pow-fma.c): Likewise.
35590 (CFLAGS-halfulp-fma.c): Likewise.
35591 (CFLAGS-mpa-fma.c): Likewise.
35592 (CFLAGS-mpatan-fma.c): Likewise.
35593 (CFLAGS-mpatan2-fma.c): Likewise.
35594 (CFLAGS-mpexp-fma.c): Likewise.
35595 (CFLAGS-mplog-fma.c): Likewise.
35596 (CFLAGS-mpsqrt-fma.c): Likewise.
35597 (CFLAGS-mptan-fma.c): Likewise.
35598 (CFLAGS-s_atan-fma.c): Likewise.
35599 (CFLAGS-sincos32-fma.c): Likewise.
35600 (CFLAGS-slowexp-fma.c): Likewise.
35601 (CFLAGS-slowpow-fma.c): Likewise.
35602 (CFLAGS-s_sin-fma.c): Likewise.
35603 (CFLAGS-s_tan-fma.c): Likewise.
35604 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
35605 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
35606 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
35607 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
35608 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
35609 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
35610 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
35611 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
35612 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
35613 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
35614 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
35615 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
35616 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
35617 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
35618 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
35619 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
35620 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
35621 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
35622 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
35623 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
35624 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
35625 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
35626 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
35627 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
35628 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
35629 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35630 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35631 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
35632 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35633 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35634 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35636 2017-08-04 Joseph Myers <joseph@codesourcery.com>
35638 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
35639 (min_of_type_f): New macro.
35640 (min_of_type_): Likewise.
35641 (min_of_type_l): Likewise.
35642 (min_of_type_f128): Likewise.
35643 (min_of_type): Define using __MATH_TG and taking an expression
35645 (math_check_force_underflow): Pass expression instead of type to
35647 (math_check_force_underflow_nonneg): Likewise.
35649 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35651 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
35652 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
35653 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
35655 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35657 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35658 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
35659 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
35660 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
35661 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
35662 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
35663 memcpy_chk-nonshared, mempcpy_chk-nonshared,
35664 memmove_chk-nonshared and memset_chk-nonshared
35665 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
35666 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
35667 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
35668 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
35669 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
35670 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
35671 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
35672 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
35673 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
35674 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
35675 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
35676 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
35677 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
35678 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
35679 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
35680 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
35681 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
35682 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
35683 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
35684 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
35685 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
35686 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
35687 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
35688 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
35689 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
35690 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
35691 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
35692 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
35693 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
35694 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
35695 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
35696 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
35697 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
35698 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
35699 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
35700 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
35701 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
35702 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
35703 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
35704 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
35705 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
35706 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
35707 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
35708 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
35709 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
35710 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
35711 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
35712 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
35713 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
35714 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
35715 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
35716 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
35717 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
35718 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
35719 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
35720 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
35721 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
35722 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
35723 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
35724 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
35725 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
35726 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
35727 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
35728 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
35729 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
35730 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
35731 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
35732 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
35733 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
35734 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
35735 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
35736 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35737 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35738 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35739 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35740 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35741 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35742 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35743 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35744 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35745 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35746 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35747 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35748 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35749 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35750 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35751 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35752 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35753 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35754 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35755 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35756 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35757 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35758 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35759 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35760 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35761 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35762 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35763 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35764 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35765 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35766 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35767 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35768 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35769 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35770 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35771 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35772 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35774 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35776 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
35777 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
35778 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
35779 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
35780 svml_d_log2_core-sse2, svml_d_log4_core-sse,
35781 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
35782 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
35783 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
35784 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
35785 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
35786 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
35787 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
35788 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
35789 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
35790 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
35791 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
35792 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
35793 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
35794 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
35795 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
35796 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
35797 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
35798 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
35799 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
35800 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
35801 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
35802 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
35803 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
35804 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
35805 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
35806 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
35807 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
35808 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
35809 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
35810 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
35811 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
35812 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
35813 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
35814 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
35815 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
35816 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
35817 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
35818 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
35819 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
35820 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
35821 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
35822 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
35823 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
35824 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
35825 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
35826 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
35827 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
35828 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
35829 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
35830 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
35831 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
35832 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
35833 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
35834 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
35836 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
35837 Don't include <sysdep.h> nor <init-arch.h>.
35838 (_ZGVbN2v_cos): Removed.
35839 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
35841 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
35842 Don't include <sysdep.h> nor <init-arch.h>.
35843 (_ZGVdN4v_cos): Removed.
35844 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
35846 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
35847 Don't include <sysdep.h> nor <init-arch.h>.
35848 (_ZGVeN8v_cos): Removed.
35849 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
35851 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
35852 Don't include <sysdep.h> nor <init-arch.h>.
35853 (_ZGVbN2v_exp): Removed.
35854 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
35856 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
35857 Don't include <sysdep.h> nor <init-arch.h>.
35858 (_ZGVdN4v_exp): Removed.
35859 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
35861 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
35862 Don't include <sysdep.h> nor <init-arch.h>.
35863 (_ZGVeN8v_exp): Removed.
35864 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
35866 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
35867 Don't include <sysdep.h> nor <init-arch.h>.
35868 (_ZGVbN2v_log): Removed.
35869 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
35871 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
35872 Don't include <sysdep.h> nor <init-arch.h>.
35873 (_ZGVdN4v_log): Removed.
35874 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
35876 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
35877 Don't include <sysdep.h> nor <init-arch.h>.
35878 (_ZGVeN8v_log): Removed.
35879 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
35881 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
35882 Don't include <sysdep.h> nor <init-arch.h>.
35883 (_ZGVbN2vv_pow): Removed.
35884 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
35886 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
35887 Don't include <sysdep.h> nor <init-arch.h>.
35888 (_ZGVdN4vv_pow): Removed.
35889 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
35891 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
35892 Don't include <sysdep.h> nor <init-arch.h>.
35893 (_ZGVeN8vv_pow): Removed.
35894 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
35896 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
35897 Don't include <sysdep.h> nor <init-arch.h>.
35898 (_ZGVbN2v_sin): Removed.
35899 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
35901 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
35902 Don't include <sysdep.h> nor <init-arch.h>.
35903 (_ZGVbN4v_sin): Removed.
35904 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
35906 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
35907 Don't include <sysdep.h> nor <init-arch.h>.
35908 (_ZGVbN8v_sin): Removed.
35909 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
35911 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
35912 Don't include <sysdep.h> nor <init-arch.h>.
35913 (_ZGVbN2vvv_sincos): Removed.
35914 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
35916 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
35917 Don't include <sysdep.h> nor <init-arch.h>.
35918 (_ZGVdN4vvv_sincos): Removed.
35919 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
35921 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
35922 Don't include <sysdep.h> nor <init-arch.h>.
35923 (_ZGVeN8vvv_sincos): Removed.
35924 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
35926 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
35927 Don't include <sysdep.h> nor <init-arch.h>.
35928 (_ZGVeN16v_cosf): Removed.
35929 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
35931 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
35932 Don't include <sysdep.h> nor <init-arch.h>.
35933 (_ZGVbN4v_cosf): Removed.
35934 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
35936 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
35937 Don't include <sysdep.h> nor <init-arch.h>.
35938 (_ZGVdN8v_cosf): Removed.
35939 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
35941 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
35942 Don't include <sysdep.h> nor <init-arch.h>.
35943 (_ZGVeN16v_expf): Removed.
35944 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
35946 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
35947 Don't include <sysdep.h> nor <init-arch.h>.
35948 (_ZGVbN4v_expf): Removed.
35949 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
35951 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
35952 Don't include <sysdep.h> nor <init-arch.h>.
35953 (_ZGVdN8v_expf): Removed.
35954 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
35956 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
35957 Don't include <sysdep.h> nor <init-arch.h>.
35958 (_ZGVeN16v_logf): Removed.
35959 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
35961 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
35962 Don't include <sysdep.h> nor <init-arch.h>.
35963 (_ZGVbN4v_logf): Removed.
35964 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
35966 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
35967 Don't include <sysdep.h> nor <init-arch.h>.
35968 (_ZGVdN8v_logf): Removed.
35969 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
35971 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
35972 Don't include <sysdep.h> nor <init-arch.h>.
35973 (_ZGVeN16vv_powf): Removed.
35974 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
35976 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
35977 Don't include <sysdep.h> nor <init-arch.h>.
35978 (_ZGVbN4vv_powf): Removed.
35979 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
35981 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
35982 Don't include <sysdep.h> nor <init-arch.h>.
35983 (_ZGVdN8vv_powf): Removed.
35984 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
35986 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
35987 Don't include <sysdep.h> nor <init-arch.h>.
35988 (_ZGVeN16vvv_sincosf): Removed.
35989 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
35991 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
35992 Don't include <sysdep.h> nor <init-arch.h>.
35993 (_ZGVbN4vvv_sincosf): Removed.
35994 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
35996 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
35997 Don't include <sysdep.h> nor <init-arch.h>.
35998 (_ZGVdN8vvv_sincosf): Removed.
35999 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
36001 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
36002 Don't include <sysdep.h> nor <init-arch.h>.
36003 (_ZGVeN16v_sinf): Removed.
36004 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
36006 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
36007 Don't include <sysdep.h> nor <init-arch.h>.
36008 (_ZGVbN4v_sinf): Removed.
36009 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
36011 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
36012 Don't include <sysdep.h> nor <init-arch.h>.
36013 (_ZGVdN8v_sinf): Removed.
36015 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36017 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36018 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
36019 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
36020 s_rint-sse4_1 and s_rintf-sse4_1.
36021 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
36022 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
36023 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
36024 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
36025 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
36026 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
36027 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
36028 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
36029 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
36030 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
36031 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
36032 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36034 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
36035 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
36036 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36037 (__ceilf): Removed.
36038 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
36039 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
36040 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36041 (__floor): Removed.
36042 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
36043 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
36044 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36045 (__floorf): Removed.
36046 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
36047 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
36048 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36049 (__nearbyint): Removed.
36050 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
36051 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
36052 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36053 (__nearbyintf): Removed.
36054 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
36055 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
36056 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36058 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
36059 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
36060 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36061 (__rintf): Removed.
36063 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36065 * sysdeps/i386/start.S (_start): Check Check PIC instead of
36066 SHARED. Avoid dynamic relocation against main in static PIE.
36068 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36071 * elf/Makefile (CFLAGS-tst-prelink.c): New.
36072 (LDFLAGS-tst-prelink): Likewise.
36074 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36076 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
36077 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
36078 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
36079 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
36080 (INTERNAL_SYSCALL_NCS): Likewise.
36081 (LOADARGS_1): Likewise.
36082 (LOADARGS_5): Likewise.
36083 (RESTOREARGS_1): Likewise.
36084 (RESTOREARGS_5): Likewise.
36086 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36088 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
36089 (MEMPCPY_SYMBOL): Likewise.
36090 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
36091 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
36092 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
36094 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36095 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
36097 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
36098 (__hidden_ver1): Don't use in libc.a.
36099 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
36100 (__mempcpy): Don't create a weak alias in libc.a.
36101 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
36103 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
36104 (__hidden_ver1): Don't use in libc.a.
36106 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36108 * config.make.in (have-insert): New.
36109 * configure.ac (libc_cv_insert): New. Set to yes if linker
36110 supports INSERT in linker script.
36111 (AC_SUBST(libc_cv_insert): New.
36112 * configure: Regenerated.
36113 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
36114 if $(have-insert) == yes.
36116 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36118 * elf/Makefile (tests): Add vismain only if
36119 $(have-protected-data) == yes.
36120 (tests-pie): Likewise.
36122 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36125 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
36126 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
36128 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36131 * sysdeps/i386/i586/memset.S
36132 (__memset_zero_constant_len_parameter): Removed.
36133 * sysdeps/i386/i686/memset.S
36134 (__memset_zero_constant_len_parameter): Likewise.
36135 * sysdeps/i386/i686/multiarch/memset_chk.S
36136 (__memset_zero_constant_len_parameter): Likewise.
36137 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
36140 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
36142 * stdlib/getentropy.c (getentropy): Change return type to int.
36144 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
36146 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
36148 2017-08-03 Joseph Myers <joseph@codesourcery.com>
36150 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
36152 * math/s_nexttowardf.c (__nexttowardf): Likewise.
36153 * sysdeps/generic/math_private.h (ieee_double_shape_type):
36155 (ieee_float_shape_type): Likewise.
36156 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
36157 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
36158 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
36159 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36160 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
36161 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
36162 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
36163 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
36164 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
36166 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
36167 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
36168 (__ieee754_yn): Likewise.
36169 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
36170 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
36171 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
36173 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
36174 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
36175 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
36176 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
36177 (__erfc): Likewise.
36178 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
36179 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
36180 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
36181 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
36182 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
36183 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
36185 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
36186 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
36187 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
36188 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
36189 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
36190 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
36191 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
36192 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
36193 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
36194 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
36195 (__issignaling): Likewise.
36196 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
36197 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
36198 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
36200 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
36201 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
36202 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
36203 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
36205 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
36207 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
36208 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
36209 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
36210 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
36211 (__erfcf): Likewise.
36212 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
36213 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
36214 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
36215 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
36217 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
36218 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
36220 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
36221 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
36222 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
36223 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
36224 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
36225 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
36226 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
36227 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
36229 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
36231 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
36233 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
36234 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
36236 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
36238 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
36239 (__ieee754_ynl): Likewise.
36240 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
36241 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
36243 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
36245 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
36246 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
36247 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36249 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
36250 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
36251 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
36252 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
36253 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
36254 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
36255 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
36256 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
36258 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
36259 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
36260 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
36262 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
36263 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
36264 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
36265 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
36266 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
36267 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
36269 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
36271 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36273 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36275 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
36276 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
36277 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36278 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
36279 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
36280 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
36281 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
36283 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
36285 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
36286 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
36288 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
36289 (__ieee754_remainderl): Likewise.
36290 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36291 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36292 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
36293 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
36295 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
36296 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36298 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
36299 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
36300 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
36301 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
36302 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
36303 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
36305 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
36306 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
36307 (__ieee754_y0l): Likewise.
36310 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36311 (__ieee754_y1l): Likewise.
36314 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
36315 (__ieee754_ynl): Likewise.
36316 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
36317 (__ieee754_lgammal_r): Likewise.
36318 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
36320 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
36321 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
36322 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
36323 (__erfcl): Likewise.
36324 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
36325 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
36327 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
36328 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
36329 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
36330 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
36331 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
36332 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36333 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36335 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
36336 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
36337 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
36338 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
36339 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36341 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
36342 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
36344 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
36345 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
36346 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
36347 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
36348 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
36350 2017-08-03 Florian Weimer <fweimer@redhat.com>
36353 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
36354 on memory allocation failure.
36356 2017-08-03 Alan Modra <amodra@gmail.com>
36358 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
36359 tst-tlsopt-powerpc.c with function name change and no test harness.
36360 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
36361 Call tls_get_addr_opt_test.
36362 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
36363 (modules-names): Add mod-tlsopt-powerpc.
36364 (mod-tlsopt-powerpc.so-no-z-defs): Define.
36365 (tst-tlsopt-powerpc): Depend on .so.
36366 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
36367 define. Expand use in TLS_GD and TLS_LD.
36369 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
36371 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
36373 * sysdeps/posix/shm_open.c: Include <pthread.h>.
36375 2017-08-02 Joseph Myers <joseph@codesourcery.com>
36378 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
36379 comparing size with that of double.
36380 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
36381 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
36382 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
36383 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
36384 (__TGMATH_BINARY_REAL_IMAG): Likewise.
36385 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
36386 unsigned __int128 types.
36388 2017-08-02 Steve Ellcey <sellcey@cavium.com>
36390 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
36391 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
36392 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
36393 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
36394 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
36396 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
36398 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
36400 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
36402 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
36404 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
36405 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36406 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36407 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36408 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36409 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36410 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36412 2017-08-02 Joseph Myers <joseph@codesourcery.com>
36415 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
36416 bit-field expressions passed to sizeof or typeof.
36417 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
36418 (__TGMATH_F128): Likewise.
36419 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
36420 (__TGMATH_CF128): Likewise.
36421 (__TGMATH_UNARY_REAL_ONLY): Likewise.
36422 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
36423 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
36424 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
36425 (__TGMATH_BINARY_REAL_ONLY): Likewise.
36426 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
36427 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
36428 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
36429 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
36430 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
36431 (__TGMATH_UNARY_REAL_IMAG): Likewise.
36432 (__TGMATH_UNARY_IMAG): Likewise.
36433 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
36434 (__TGMATH_BINARY_REAL_IMAG): Likewise.
36435 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
36437 (define_vars_for_type): Handle bit_field type specially.
36438 (Tests.__init__): Declare structure with bit-field element.
36440 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
36443 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
36444 (MEMCPY_CHK): Define only if SHARED is defined.
36445 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
36447 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
36450 See ChangeLog.18 for earlier changes.